pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/gtk2 Add patch recommended in release announcement:
details: https://anonhg.NetBSD.org/pkgsrc/rev/aeef797ff2a9
branches: trunk
changeset: 533392:aeef797ff2a9
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Sep 18 10:44:56 2007 +0000
description:
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:
x11/gtk2/Makefile | 3 ++-
x11/gtk2/distinfo | 3 ++-
x11/gtk2/patches/patch-ab | 33 +++++++++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 2 deletions(-)
diffs (64 lines):
diff -r 0e8aa7cedac1 -r aeef797ff2a9 x11/gtk2/Makefile
--- a/x11/gtk2/Makefile Tue Sep 18 08:35:13 2007 +0000
+++ b/x11/gtk2/Makefile Tue Sep 18 10:44:56 2007 +0000
@@ -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 -r 0e8aa7cedac1 -r aeef797ff2a9 x11/gtk2/distinfo
--- a/x11/gtk2/distinfo Tue Sep 18 08:35:13 2007 +0000
+++ b/x11/gtk2/distinfo Tue Sep 18 10:44:56 2007 +0000
@@ -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 -r 0e8aa7cedac1 -r aeef797ff2a9 x11/gtk2/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk2/patches/patch-ab Tue Sep 18 10:44:56 2007 +0000
@@ -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));
+
Home |
Main Index |
Thread Index |
Old Index