r35096 - in /desktop/unstable/gnome-games/debian: changelog patches/01_swell-foop-setgid.patch patches/series

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Mon May 21 05:28:36 UTC 2012


Author: biebl
Date: Mon May 21 05:28:35 2012
New Revision: 35096

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35096
Log:
debian/patches/01_swell-foop-setgid.patch: Make sure swell-foop is
installed with the correct setgid bits set so it can write to the scores
files.

Added:
    desktop/unstable/gnome-games/debian/patches/01_swell-foop-setgid.patch
Modified:
    desktop/unstable/gnome-games/debian/changelog
    desktop/unstable/gnome-games/debian/patches/series

Modified: desktop/unstable/gnome-games/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/changelog?rev=35096&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-games/debian/changelog [utf-8] Mon May 21 05:28:35 2012
@@ -11,6 +11,9 @@
 
   [ Michael Biebl ]
   * Drop obsolete --disable-gnuchess configure switch.
+  * debian/patches/01_swell-foop-setgid.patch: Make sure swell-foop is
+    installed with the correct setgid bits set so it can write to the scores
+    files.
 
  -- Michael Biebl <biebl at debian.org>  Mon, 21 May 2012 01:02:59 +0200
 

Added: desktop/unstable/gnome-games/debian/patches/01_swell-foop-setgid.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/patches/01_swell-foop-setgid.patch?rev=35096&op=file
==============================================================================
--- desktop/unstable/gnome-games/debian/patches/01_swell-foop-setgid.patch (added)
+++ desktop/unstable/gnome-games/debian/patches/01_swell-foop-setgid.patch [utf-8] Mon May 21 05:28:35 2012
@@ -1,0 +1,17 @@
+Description: Install swell-foop setgid so it can write scores files
+Author: Michael Biebl <biebl at debian.org>
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=676456
+Index: gnome-games-3.4.2/swell-foop/src/Makefile.am
+===================================================================
+--- gnome-games-3.4.2.orig/swell-foop/src/Makefile.am	2012-05-15 06:37:50.000000000 +0200
++++ gnome-games-3.4.2/swell-foop/src/Makefile.am	2012-05-21 03:55:08.259007508 +0200
+@@ -32,4 +32,9 @@
+ 	$(CLUTTER_GTK_LIBS)	\
+ 	$(INTLLIBS)
+ 
++install-exec-hook:
++	-if test "$(setgid)" = "true"; then \
++	  chgrp $(scores_group) $(DESTDIR)$(bindir)/swell-foop && chmod 2555 $(DESTDIR)$(bindir)/swell-foop ;\
++	fi
++
+ -include $(top_srcdir)/git.mk

Modified: desktop/unstable/gnome-games/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/patches/series?rev=35096&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/patches/series [utf-8] (original)
+++ desktop/unstable/gnome-games/debian/patches/series [utf-8] Mon May 21 05:28:35 2012
@@ -1,1 +1,2 @@
+01_swell-foop-setgid.patch
 91_fix-gnuchess6-compatibility.patch




More information about the pkg-gnome-commits mailing list