summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-01-25 23:17:53 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-01-25 23:17:53 +0000
commit2aa8f7c98a2e4f5b9126c921cf80c0bd876dcfda (patch)
tree81ad0aaf52636ab86ca4fba0614584c62c47d1ba /packages
parentfd7f27e1212608279290541e83641be2b051e1ac (diff)
gtk+-2.6.10: make it build against recent glib's
Diffstat (limited to 'packages')
-rw-r--r--packages/gtk+/gtk+_2.6.10.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/gtk+/gtk+_2.6.10.bb b/packages/gtk+/gtk+_2.6.10.bb
index 171c712fc0..8230515f3b 100644
--- a/packages/gtk+/gtk+_2.6.10.bb
+++ b/packages/gtk+/gtk+_2.6.10.bb
@@ -5,7 +5,7 @@ SECTION = "libs"
LICENSE = "LGPL"
PRIORITY = "optional"
DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt"
-PR = "r4"
+PR = "r5"
SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
file://help.patch;patch=1 \
@@ -53,6 +53,13 @@ EXTRA_OECONF = "--without-libtiff --disable-xkb --disable-glibtest --enable-disp
LIBV = "2.4.0"
+do_configure_prepend() {
+ for i in `find . -name "Makefile.am"`
+ do
+ sed -e -i s,-DG_DISABLE_DEPRECATED,-DSED_ROCKS_DUDES, $i
+ done
+}
+
do_stage () {
oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}