[packages/netsurf] - fixed build with gdk-pixbuf 2.31.x - libglade no longer needed

qboosh qboosh at pld-linux.org
Tue Dec 2 21:57:23 CET 2014


commit 5a1b122086675119d1a89ff7052585261457b97b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Dec 2 21:57:30 2014 +0100

    - fixed build with gdk-pixbuf 2.31.x
    - libglade no longer needed

 netsurf.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/netsurf.spec b/netsurf.spec
index cb5c343..4a42066 100644
--- a/netsurf.spec
+++ b/netsurf.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without	gstreamer	# GStreamer-based video support
-%bcond_without	js		# Javascript
+%bcond_without	js		# JavaScript support
 %bcond_with	pdf		# PDF export and GTK+ printing support via libharu [needs update?]
 %bcond_without	webp		# WebP image support
 #
@@ -27,7 +27,6 @@ BuildRequires:	gtk+2-devel >= 2.0
 %{?with_js:BuildRequires:	js185-devel}
 BuildRequires:	libCSS-devel >= 0.4.0
 BuildRequires:	libdom-devel >= 0.1.1
-BuildRequires:	libglade2-devel
 %{?with_pdf:BuildRequires:	libharu-devel}
 BuildRequires:	libhubbub-devel >= 0.3.0
 BuildRequires:	libjpeg-devel
@@ -155,6 +154,8 @@ EOF
 # GStreamer 0.10 uses now deprecated glib mutex APIs
 %{__sed} -i -e '/-DG_DISABLE_DEPRECATED/d' gtk/Makefile.target
 %endif
+# gdk-pixbuf 2.31 deprecates GdkPixdata
+%{__sed} -i -e '/-DGDK_PIXBUF_DISABLE_DEPRECATED/d' gtk/Makefile.target
 
 %build
 export CC="%{__cc}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/netsurf.git/commitdiff/5a1b122086675119d1a89ff7052585261457b97b



More information about the pld-cvs-commit mailing list