[Lunar-commits] <moonbase> gtk+-2: remove XID collision warning

Paul Bredbury brebs at lunar-linux.org
Sun Sep 27 06:42:13 CEST 2009


commit e92c49fad2c62e53497fdbec0edb55cb876929b1
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sun Sep 27 11:42:13 2009 +0700

    gtk+-2: remove XID collision warning
    
    The warning just spams the logs.
    
    http://bbs.archlinux.org/viewtopic.php?id=76527
---
 graphics/gtk+-2/BUILD   |    3 +++
 graphics/gtk+-2/DETAILS |    5 ++++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/graphics/gtk+-2/BUILD b/graphics/gtk+-2/BUILD
index 1058b15..ceb4f11 100644
--- a/graphics/gtk+-2/BUILD
+++ b/graphics/gtk+-2/BUILD
@@ -10,6 +10,9 @@
     patch_it $SOURCE2 0
   fi &&
 
+  # Quieten the "XID collision, trouble ahead" useless, spammy warning
+  patch_it $SOURCE3 1 &&
+
   if [ "$USE_XINPUT" == "y" ]; then
     # XInput support is needed for Wacom tablets to work in GIMP
     OPTS+=" --with-xinput=yes --enable-debug=no"
diff --git a/graphics/gtk+-2/DETAILS b/graphics/gtk+-2/DETAILS
index 73ad038..1b2dc99 100644
--- a/graphics/gtk+-2/DETAILS
+++ b/graphics/gtk+-2/DETAILS
@@ -3,15 +3,18 @@
            MAJOR=2.16
           SOURCE=$MODULE.$VERSION.tar.bz2
          SOURCE2=gtk\+-2-2.16.5-jpeg7.patch.bz2
+         SOURCE3=gtk\+-2.16.6-quiet-xid-collision-warning.patch.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE.$VERSION
    SOURCE_URL[0]=$GNOME_URL/sources/gtk+/$MAJOR
    SOURCE_URL[1]=ftp://ftp.gtk.org/pub/gtk/v$MAJOR
      SOURCE2_URL=$PATCH_URL
+     SOURCE3_URL=$PATCH_URL
       SOURCE_VFY=sha1:f69cb48311d60664bac7cf68351c175c7a214ae6
      SOURCE2_VFY=sha1:6981a977ea91d6dce32f444ad3b097e2ad43302b
+     SOURCE3_VFY=sha1:00d7688f8dbca9543ac54a53b217242aa926c1ed
         WEB_SITE=http://www.gtk.org/
          ENTERED=20020313
-         UPDATED=20090829
+         UPDATED=20090924
            SHORT="A multi-platform toolkit for creating GUIs"
 
 cat << EOF


More information about the Lunar-commits mailing list