[gtk2] Lower gobject-introspection reqs
Bastien Nocera
hadess at fedoraproject.org
Mon Sep 20 14:04:52 UTC 2010
commit 96caf6ab5b8f4163fe3c6417e5a7efa3e9cb63f2
Author: Bastien Nocera <hadess at hadess.net>
Date: Mon Sep 20 15:04:48 2010 +0100
Lower gobject-introspection reqs
0001-Fix-dynamic-module-check.patch | 37 -----------------------------------
gtk2.spec | 6 +++++
lower-gi-deps.patch | 34 ++++++++++++++++++++++++++++++++
3 files changed, 40 insertions(+), 37 deletions(-)
---
diff --git a/gtk2.spec b/gtk2.spec
index ce237b2..b19aa3e 100644
--- a/gtk2.spec
+++ b/gtk2.spec
@@ -33,6 +33,8 @@ Patch0: gtk-lib64.patch
Patch1: system-python.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=583273
Patch2: icon-padding.patch
+# http://git.gnome.org/browse/gtk+/commit/?h=gtk-2-22&id=62c2b4f529334b57323287c8bd04022eaf963ce6
+Patch3: lower-gi-deps.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=599617
Patch4: fresh-tooltips.patch
# https://bugzilla.gnome.org/show_bug.cgi?id=599618
@@ -153,12 +155,16 @@ This package contains developer documentation for the GTK+ widget toolkit.
%patch0 -p1 -b .lib64
%patch1 -p1 -b .system-python
%patch2 -p1 -b .icon-padding
+%patch3 -p1 -b .lower-gi-deps
%patch4 -p1 -b .fresh-tooltips
%patch8 -p1 -b .tooltip-positioning
#%patch14 -p1 -b .landscape-pdf-print
%patch15 -p1 -b .window-dragging
%build
+# For the gobject-introspection patch
+rm -f configure
+
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \
--with-xinput=xfree \
diff --git a/lower-gi-deps.patch b/lower-gi-deps.patch
new file mode 100644
index 0000000..8adb28f
--- /dev/null
+++ b/lower-gi-deps.patch
@@ -0,0 +1,34 @@
+From 62c2b4f529334b57323287c8bd04022eaf963ce6 Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters at verbum.org>
+Date: Wed, 15 Sep 2010 19:13:05 +0000
+Subject: introspection: Only use 0.9.3 API
+
+---
+diff --git a/configure.in b/configure.in
+index 63331c4..bf109d9 100644
+--- a/configure.in
++++ b/configure.in
+@@ -1565,7 +1565,7 @@ fi
+ # GObject introspection
+ ##################################################
+
+-GOBJECT_INTROSPECTION_CHECK([0.9.5])
++GOBJECT_INTROSPECTION_CHECK([0.9.3])
+
+ ##################################################
+ # Checks for gtk-doc and docbook-tools
+diff --git a/gdk/Makefile.am b/gdk/Makefile.am
+index c8b2102..06de1a4 100644
+--- a/gdk/Makefile.am
++++ b/gdk/Makefile.am
+@@ -238,7 +238,7 @@ x11_introspection_files = \
+ x11/gdkx.h
+
+ GdkX11-2.0.gir: $(gdktargetlib) Gdk-2.0.gir Makefile
+-GdkX11_2_0_gir_SCANNERFLAGS = --warn-all --identifier-prefix=Gdk --symbol-prefix=gdk
++GdkX11_2_0_gir_SCANNERFLAGS = --warn-all --strip-prefix=Gdk
+ GdkX11_2_0_gir_INCLUDES = Gio-2.0 Gdk-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0
+ GdkX11_2_0_gir_LIBS = $(gdktargetlib)
+ GdkX11_2_0_gir_FILES = $(x11_introspection_files)
+--
+cgit v0.8.3.1
More information about the scm-commits
mailing list