summaryrefslogtreecommitdiffstats
path: root/package/libgtk2/libgtk2-reduce-dependencies.patch
diff options
context:
space:
mode:
authorSpenser Gilliland <spenser@gillilanding.com>2013-06-07 13:18:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-08 22:49:42 +0200
commit4b3d949b8af240bda451b0a4e57d60153188c2e4 (patch)
treebe1e17f0f3e4eadfea0291182bf89dc754c10cb1 /package/libgtk2/libgtk2-reduce-dependencies.patch
parent003a000d629fcd06b759e0c3528fe7697a942708 (diff)
downloadbuildroot-novena-4b3d949b8af240bda451b0a4e57d60153188c2e4.tar.gz
buildroot-novena-4b3d949b8af240bda451b0a4e57d60153188c2e4.zip
libgtk2: bump to version 2.24.18 and drop DirectFB
* Drop DirectFB support from libgtk2 * bump libgtk2 to version 2.24.18 [Peter: fixup patch whitespace changes] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libgtk2/libgtk2-reduce-dependencies.patch')
-rw-r--r--package/libgtk2/libgtk2-reduce-dependencies.patch36
1 files changed, 18 insertions, 18 deletions
diff --git a/package/libgtk2/libgtk2-reduce-dependencies.patch b/package/libgtk2/libgtk2-reduce-dependencies.patch
index 5bb9db9a0..3250cae4b 100644
--- a/package/libgtk2/libgtk2-reduce-dependencies.patch
+++ b/package/libgtk2/libgtk2-reduce-dependencies.patch
@@ -3,16 +3,17 @@ dependencies on graphic backends such as X.org or DirectFB. Gtk does
not fully build in this mode, but it builds sufficiently to build the
host tools that are needed to build the target Gtk.
+Changes:
+ Ported to 2.24.18
+
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
- configure.in | 34 +++++++++++++++++++++++++++-------
- 1 file changed, 27 insertions(+), 7 deletions(-)
-
-Index: b/configure.in
+Index: libgtk2-2.24.18/configure.ac
===================================================================
---- a/configure.in
-+++ b/configure.in
-@@ -259,12 +259,12 @@
+--- libgtk2-2.24.18.orig/configure.ac 2013-05-13 07:02:44.000000000 -0500
++++ libgtk2-2.24.18/configure.ac 2013-05-27 02:12:09.947030335 -0500
+@@ -258,12 +258,12 @@
gdktarget=x11
fi
@@ -27,7 +28,7 @@ Index: b/configure.in
*) AC_MSG_ERROR([Invalid target for GDK: use x11, quartz, directfb or win32.]);;
esac
-@@ -374,11 +374,15 @@
+@@ -372,11 +373,15 @@
## annoying to construct
PKG_CHECK_MODULES(BASE_DEPENDENCIES,
[glib-2.0 >= glib_required_version dnl
@@ -46,7 +47,7 @@ Index: b/configure.in
## In addition to checking that cairo is present, we also need to
## check that the correct cairo backend is there. E.g. if the GDK
## target is win32 we need the cairo-win32 backend and so on.
-@@ -389,8 +393,11 @@
+@@ -387,8 +392,11 @@
if test "x$cairo_backend" = "xx11"; then
cairo_backend=xlib
fi
@@ -60,7 +61,7 @@ Index: b/configure.in
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
-@@ -1281,6 +1288,7 @@
+@@ -1279,6 +1287,7 @@
AM_CONDITIONAL(USE_DIRECTFB, false)
fi
@@ -68,7 +69,7 @@ Index: b/configure.in
# Check for Pango flags
-@@ -1326,6 +1334,8 @@
+@@ -1324,6 +1333,8 @@
GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend"
fi
@@ -77,16 +78,15 @@ Index: b/configure.in
GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES` $MATH_LIB"
GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PACKAGES` $GDK_EXTRA_CFLAGS"
#
-@@ -1344,6 +1354,8 @@
+@@ -1341,6 +1352,7 @@
+ AC_SUBST(GDK_DEP_LIBS)
AC_SUBST(GDK_DEP_CFLAGS)
-
+if test "x$gdktarget" != "xnone"; then
-+
+
########################################
# Check for Accessibility Toolkit flags
- ########################################
-@@ -1374,6 +1386,10 @@
+@@ -1372,6 +1384,10 @@
fi
GTK_PACKAGES="atk cairo gdk-pixbuf-2.0 gio-2.0"
@@ -97,7 +97,7 @@ Index: b/configure.in
if test "x$gdktarget" = "xx11"; then
GTK_PACKAGES="$GTK_PACKAGES pangoft2"
fi
-@@ -1529,6 +1545,8 @@
+@@ -1533,6 +1549,8 @@
gtk_save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS $GDK_DEP_CFLAGS"
@@ -106,7 +106,7 @@ Index: b/configure.in
AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([
*** Can't find cairo-pdf.h. You must build Cairo with the pdf
*** backend enabled.]))
-@@ -1543,6 +1561,8 @@
+@@ -1547,6 +1565,8 @@
*** svg backend enabled.]))
fi