From 14e9ba57bd0b6b0bf16e4cfc77819289e65da754 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Jan 04 2010 15:15:19 +0000 Subject: - Install missing Gdk-2.0.gir --- diff --git a/gtk2-2.19.3-install-Gdk-2.0.gir.patch b/gtk2-2.19.3-install-Gdk-2.0.gir.patch new file mode 100644 index 0000000..27d3530 --- /dev/null +++ b/gtk2-2.19.3-install-Gdk-2.0.gir.patch @@ -0,0 +1,22 @@ +From cdb13d233eb5bc223dd980f120c54f17dea30398 Mon Sep 17 00:00:00 2001 +From: Johan Dahlin +Date: Thu, 31 Dec 2009 00:48:50 +0000 +Subject: Make sure Gdk-2.0.gir is installed + +Fixes a variable name typo +--- +diff --git a/gdk/Makefile.am b/gdk/Makefile.am +index 7dfc193..e1cd8c7 100644 +--- a/gdk/Makefile.am ++++ b/gdk/Makefile.am +@@ -211,7 +211,7 @@ girdir = $(datadir)/gir-1.0 + dist_gir_DATA = $(INTROSPECTION_GIRS) + + typelibsdir = $(INTROSPECTION_TYPELIBDIR) +-typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) ++typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) + + CLEANFILES += $(dist_gir_DATA) $(typelibs_DATA) + endif +-- +cgit v0.8.3.1 diff --git a/gtk2.spec b/gtk2.spec index 14bed72..5f8dca9 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -4,13 +4,14 @@ %define glib2_version %{glib2_base_version}-1 %define pango_base_version 1.20.0 %define pango_version %{pango_base_version}-1 -%define atk_base_version 1.29.2 -%define atk_version %{atk_base_version}-1 +%define atk_base_version 1.29.4 +%define atk_version %{atk_base_version}-2 %define cairo_base_version 1.6.0 %define cairo_version %{cairo_base_version}-1 %define libpng_version 2:1.2.2-16 %define xrandr_version 1.2.99.4-2 %define gobject_introspection_version 0.6.7 +%define gir_repository_version 0.6.5-5 %define base_version 2.19.2 %define bin_version 2.10.0 @@ -18,10 +19,10 @@ Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Name: gtk2 Version: %{base_version} -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries -Source: http://download.gnome.org/sources/gtk+/2.18/gtk+-%{version}.tar.bz2 +Source: http://download.gnome.org/sources/gtk+/2.19/gtk+-%{version}.tar.bz2 Source1: update-gdk-pixbuf-loaders Source2: update-gtk-immodules Source3: im-cedilla.conf @@ -41,6 +42,8 @@ Patch11: gtk2-remove-connecting-reason.patch #Patch14: gtk2-landscape-pdf-print.patch # https://bugzilla.gnome.org/show_bug.cgi?id=600992 Patch15: filesystemref.patch +# from upstream +Patch16: gtk2-2.19.3-install-Gdk-2.0.gir.patch BuildRequires: atk-devel >= %{atk_version} BuildRequires: pango-devel >= %{pango_version} @@ -63,7 +66,7 @@ BuildRequires: libXinerama-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version} -BuildRequires: gir-repository-devel +BuildRequires: gir-repository-devel >= %{gir_repository_version} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -161,8 +164,17 @@ This package contains developer documentation for the GTK+ widget toolkit. %patch11 -p1 -b .remove-connecting-reason #%patch14 -p1 -b .landscape-pdf-print %patch15 -p1 -b .filesystemref +%patch16 -p1 -b .gdk-gir %build + +# needed for Patch16, remove it when rebasing to 2.19.3 +gtkdocize || : +libtoolize --force || : +aclocal || : +autoheader || : +automake || : +autoconf || : %configure --with-xinput=xfree \ --enable-debug \ --disable-gtk-doc \ @@ -391,6 +403,9 @@ fi %changelog +* Mon Jan 4 2010 Tomas Bzatek - 2.19.2-2 +- Install missing Gdk-2.0.gir + * Mon Dec 21 2009 Matthias Clasen - 2.19.2-1 - Update to 2.19.2