summaryrefslogtreecommitdiff
path: root/x11/gtk2
diff options
context:
space:
mode:
authorwiz <wiz>2007-09-18 10:44:56 +0000
committerwiz <wiz>2007-09-18 10:44:56 +0000
commit83a56cbfcc9e6c8e44d9c32684fd54869e0e9b49 (patch)
treeb8d425a96069466d5da3abbafd80c6b6b0bd596b /x11/gtk2
parent815bb1a57d3c3a394e405a21506a11ec3d7d4650 (diff)
downloadpkgsrc-83a56cbfcc9e6c8e44d9c32684fd54869e0e9b49.tar.gz
Add patch recommended in release announcement:
GtkIconCache now runs _gtk_icon_cache_validate() for every cache loaded. This causes a big chunk of each icon cache file to be paged in; this makes apps slow at startup when it is likely that other apps have caused the icon caches to be paged out. Bump PKGREVISION.
Diffstat (limited to 'x11/gtk2')
-rw-r--r--x11/gtk2/Makefile3
-rw-r--r--x11/gtk2/distinfo3
-rw-r--r--x11/gtk2/patches/patch-ab33
3 files changed, 37 insertions, 2 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile
index ae06c49b85a..2176db7da73 100644
--- a/x11/gtk2/Makefile
+++ b/x11/gtk2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.144 2007/09/16 19:53:26 wiz Exp $
+# $NetBSD: Makefile,v 1.145 2007/09/18 10:44:56 wiz Exp $
DISTNAME= gtk+-2.12.0
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.12/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.12/ \
diff --git a/x11/gtk2/distinfo b/x11/gtk2/distinfo
index 01bbc089ec5..963fdae4fd3 100644
--- a/x11/gtk2/distinfo
+++ b/x11/gtk2/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.89 2007/09/17 04:42:25 obache Exp $
+$NetBSD: distinfo,v 1.90 2007/09/18 10:44:56 wiz Exp $
SHA1 (gtk+-2.12.0.tar.bz2) = f5ecbf73a789a8880a6b2e15279267bb113980e2
RMD160 (gtk+-2.12.0.tar.bz2) = 226c8f38eb7895d63f81feb60152db1ca3599628
Size (gtk+-2.12.0.tar.bz2) = 15732170 bytes
SHA1 (patch-aa) = 507f43c8257607c3ddb194015cc67c5b166a5047
+SHA1 (patch-ab) = f3c18aae126b4c7cb240b31af8ddf41226266a79
SHA1 (patch-ad) = f38270c343961be2892d8f2b2f89a67d21f0dc15
SHA1 (patch-ai) = 203d7e91ef7c8cdaa7660ed3a0d500876c537d44
diff --git a/x11/gtk2/patches/patch-ab b/x11/gtk2/patches/patch-ab
new file mode 100644
index 00000000000..acec918d41f
--- /dev/null
+++ b/x11/gtk2/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.18 2007/09/18 10:44:57 wiz Exp $
+
+http://bugzilla.gnome.org/show_bug.cgi?id=476342
+
+From upstream SVN:
+ Revision 18823 - (view) (annotate) - [select for diffs]
+ Modified Fri Sep 14 02:11:01 2007 UTC (4 days, 6 hours ago) by matthiasc
+ File length: 13336 byte(s)
+ Diff to previous 17898
+
+ Turn off icon cache validation by default
+
+--- gtk/gtkiconcache.c.orig 2007-09-13 20:35:41.000000000 +0000
++++ gtk/gtkiconcache.c
+@@ -127,6 +127,9 @@ _gtk_icon_cache_new_for_path (const gcha
+ info.n_directories = 0;
+ info.flags = CHECK_OFFSETS|CHECK_STRINGS;
+
++#ifdef G_ENABLE_DEBUG
++ if (gtk_debug_flags & GTK_DEBUG_ICONTHEME)
++ {
+ if (!_gtk_icon_cache_validate (&info))
+ {
+ g_mapped_file_free (map);
+@@ -134,6 +137,8 @@ _gtk_icon_cache_new_for_path (const gcha
+
+ goto done;
+ }
++ }
++#endif
+
+ GTK_NOTE (ICONTHEME, g_print ("found cache for %s\n", path));
+