2.12.0
This commit is contained in:
parent
667df4adb4
commit
dbd262edbf
@ -1 +1 @@
|
|||||||
gtk+-2.11.6.tar.bz2
|
gtk+-2.12.0.tar.bz2
|
||||||
|
34
gtk2.spec
34
gtk2.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
%define glib2_base_version 2.13.7
|
%define glib2_base_version 2.13.7
|
||||||
%define glib2_version %{glib2_base_version}-1
|
%define glib2_version %{glib2_base_version}-1
|
||||||
%define pango_base_version 1.15.3
|
%define pango_base_version 1.17.3
|
||||||
%define pango_version %{pango_base_version}-1
|
%define pango_version %{pango_base_version}-1
|
||||||
%define atk_base_version 1.9.0
|
%define atk_base_version 1.9.0
|
||||||
%define atk_version %{atk_base_version}-1
|
%define atk_version %{atk_base_version}-1
|
||||||
@ -10,13 +10,13 @@
|
|||||||
%define cairo_version %{cairo_base_version}-1
|
%define cairo_version %{cairo_base_version}-1
|
||||||
%define libpng_version 2:1.2.2-16
|
%define libpng_version 2:1.2.2-16
|
||||||
|
|
||||||
%define base_version 2.11.6
|
%define base_version 2.12.0
|
||||||
%define bin_version 2.10.0
|
%define bin_version 2.10.0
|
||||||
|
|
||||||
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
|
||||||
Name: gtk2
|
Name: gtk2
|
||||||
Version: %{base_version}
|
Version: %{base_version}
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://download.gnome.org/sources/gtk+/2.11/gtk+-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/gtk+/2.11/gtk+-%{version}.tar.bz2
|
||||||
@ -27,19 +27,11 @@ Source2: update-gtk-immodules
|
|||||||
Patch0: gtk+-2.4.1-lib64.patch
|
Patch0: gtk+-2.4.1-lib64.patch
|
||||||
# Fedora patch
|
# Fedora patch
|
||||||
Patch1: gtk+-2.11.1-set-invisible-char-to-bullet.patch
|
Patch1: gtk+-2.11.1-set-invisible-char-to-bullet.patch
|
||||||
# use fam for recent-files
|
|
||||||
#Patch2: gtk+-2.10.3-fam.patch
|
|
||||||
# fixed in upstream svn
|
|
||||||
Patch3: cups-authstring.patch
|
|
||||||
# fixed in upstream svn
|
|
||||||
Patch4: silence-icon-cache-validator.patch
|
|
||||||
# fixed in upstream svn
|
|
||||||
Patch5: systray-tooltips.patch
|
|
||||||
# fixed in upstream svn
|
|
||||||
Patch6: tooltip-compat.patch
|
|
||||||
# a workaround for some brokenness in the flash plugin
|
# a workaround for some brokenness in the flash plugin
|
||||||
# see http://bugzilla.gnome.org/show_bug.cgi?id=463773
|
# see http://bugzilla.gnome.org/show_bug.cgi?id=463773
|
||||||
Patch7: workaround.patch
|
Patch2: workaround.patch
|
||||||
|
# fixed in upstream svn
|
||||||
|
Patch3: novalidate.patch
|
||||||
|
|
||||||
BuildRequires: atk-devel >= %{atk_version}
|
BuildRequires: atk-devel >= %{atk_version}
|
||||||
BuildRequires: pango-devel >= %{pango_version}
|
BuildRequires: pango-devel >= %{pango_version}
|
||||||
@ -125,12 +117,8 @@ docs for the GTK+ widget toolkit.
|
|||||||
|
|
||||||
%patch0 -p1 -b .lib64
|
%patch0 -p1 -b .lib64
|
||||||
%patch1 -p1 -b .set-invisible-char-to-bullet
|
%patch1 -p1 -b .set-invisible-char-to-bullet
|
||||||
#%patch2 -p1 -b .fam
|
%patch2 -p1 -b .workaround
|
||||||
%patch3 -p0 -b .authstring
|
%patch3 -p1 -b .novalidate
|
||||||
%patch4 -p1 -b .silence
|
|
||||||
%patch5 -p1 -b .tooltips
|
|
||||||
%patch6 -p1 -b .tooltip-compat
|
|
||||||
%patch7 -p1 -b .workaround
|
|
||||||
|
|
||||||
for i in config.guess config.sub ; do
|
for i in config.guess config.sub ; do
|
||||||
test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
|
test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
|
||||||
@ -139,8 +127,7 @@ done
|
|||||||
%build
|
%build
|
||||||
libtoolize --force
|
libtoolize --force
|
||||||
|
|
||||||
# Patch2 modifies gdk/Makefile.am
|
# Patch0 modifies gdk-pixbuf/Makefile.am
|
||||||
# Patch3 modifies gdk-pixbuf/Makefile.am
|
|
||||||
aclocal-1.7
|
aclocal-1.7
|
||||||
automake-1.7
|
automake-1.7
|
||||||
autoconf
|
autoconf
|
||||||
@ -314,6 +301,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/gtk-2.0
|
%{_datadir}/gtk-2.0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 14 2007 Matthias Clasen <mclasen@redhat.com> - 2.12.0-1
|
||||||
|
- Update to 2.12.0
|
||||||
|
|
||||||
* Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.11.6-9
|
* Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> - 2.11.6-9
|
||||||
- Add a workaround for the flash plugin
|
- Add a workaround for the flash plugin
|
||||||
|
|
||||||
|
28
novalidate.patch
Normal file
28
novalidate.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
diff -up gtk+-2.12.0/gtk/gtkiconcache.c.novalidate gtk+-2.12.0/gtk/gtkiconcache.c
|
||||||
|
--- gtk+-2.12.0/gtk/gtkiconcache.c.novalidate 2007-09-14 01:13:49.000000000 -0400
|
||||||
|
+++ gtk+-2.12.0/gtk/gtkiconcache.c 2007-09-14 01:13:59.000000000 -0400
|
||||||
|
@@ -127,14 +127,19 @@ _gtk_icon_cache_new_for_path (const gcha
|
||||||
|
info.n_directories = 0;
|
||||||
|
info.flags = CHECK_OFFSETS|CHECK_STRINGS;
|
||||||
|
|
||||||
|
- if (!_gtk_icon_cache_validate (&info))
|
||||||
|
+#ifdef G_ENABLE_DEBUG
|
||||||
|
+ if (gtk_debug_flags & GTK_DEBUG_ICONTHEME)
|
||||||
|
{
|
||||||
|
- g_mapped_file_free (map);
|
||||||
|
- g_warning ("Icon cache '%s' is invalid\n", cache_filename);
|
||||||
|
+ if (!_gtk_icon_cache_validate (&info))
|
||||||
|
+ {
|
||||||
|
+ g_mapped_file_free (map);
|
||||||
|
+ g_warning ("Icon cache '%s' is invalid\n", cache_filename);
|
||||||
|
|
||||||
|
- goto done;
|
||||||
|
+ goto done;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
GTK_NOTE (ICONTHEME, g_print ("found cache for %s\n", path));
|
||||||
|
|
||||||
|
cache = g_new0 (GtkIconCache, 1);
|
Loading…
Reference in New Issue
Block a user