Don't run lightsoff as setgid games; gtk does not like this.

Remove uneeded patches.
This commit is contained in:
ajacoutot 2012-07-08 10:05:05 +00:00
parent d207555654
commit 13f0f28612
11 changed files with 8 additions and 155 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.61 2012/07/08 08:17:08 jasper Exp $
# $OpenBSD: Makefile,v 1.62 2012/07/08 10:05:05 ajacoutot Exp $
COMMENT= collection of games for the GNOME desktop
GNOME_PROJECT= gnome-games
GNOME_VERSION= 3.4.2
REVISION= 0
SHARED_LIBS += games-support-gi 1.0 # 0.0
@ -45,9 +46,10 @@ MODGNOME_TOOLS= goi yelp
MODGNOME_DESKTOP_FILE= Yes
MODGNOME_ICON_CACHE= Yes
MODPY_ADJ_FILES+= gnome-sudoku/src/gnome-sudoku
MODPY_ADJ_FILES= gnome-sudoku/src/gnome-sudoku
CONFIGURE_ARGS+= --with-scores-group="games"
CONFIGURE_ARGS= --with-scores-user=root \
--with-scores-group="games"
REGRESS_IS_INTERACTIVE= x11

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-gnibbles_Makefile_in,v 1.10 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnibbles/Makefile.in.orig Sun Jul 8 00:34:55 2012
+++ gnibbles/Makefile.in Sun Jul 8 00:38:11 2012
@@ -655,8 +655,6 @@ install-data-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
done
-include $(top_srcdir)/git.mk

View File

@ -1,20 +0,0 @@
$OpenBSD: patch-gnobots2_data_Makefile_in,v 1.1 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnobots2/data/Makefile.in.orig Sun Jul 8 00:35:03 2012
+++ gnobots2/data/Makefile.in Sun Jul 8 00:38:07 2012
@@ -906,9 +906,9 @@ install-data-local:
fname1=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2.scores; \
fname2=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-safe.scores; \
fname3=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-super-safe.scores; \
- touch $$fname1; chmod 664 $$fname1; chown $(scores_user):$(scores_group) $$fname1; \
- touch $$fname2; chmod 664 $$fname2; chown $(scores_user):$(scores_group) $$fname2; \
- touch $$fname3; chmod 664 $$fname3; chown $(scores_user):$(scores_group) $$fname3; \
+ touch $$fname1; \
+ touch $$fname2; \
+ touch $$fname3; \
done
-include $(top_srcdir)/git.mk

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-gnomine_Makefile_in,v 1.10 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnomine/Makefile.in.orig Sun Jul 8 00:35:09 2012
+++ gnomine/Makefile.in Sun Jul 8 00:37:56 2012
@@ -657,8 +657,6 @@ install-data-local:
-if [ -f $(DESTDIR)$(scoredir)/gnomine.Biiiig.scores -a ! -f $(DESTDIR)$(scoredir)/gnomine.Large.scores ]; then mv -f $(DESTDIR)$(scoredir)/gnomine.Biiiig.scores $(DESTDIR)$(scoredir)/gnomine.Large.scores ; fi
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
done
-include $(top_srcdir)/git.mk

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-gnotravex_Makefile_in,v 1.10 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnotravex/Makefile.in.orig Sun Jul 8 00:35:12 2012
+++ gnotravex/Makefile.in Sun Jul 8 00:37:53 2012
@@ -655,8 +655,6 @@ install-scorefiles-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnotravex."$$i"x"$$i".scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnotravex."$$i"x"$$i".scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnotravex."$$i"x"$$i".scores; \
done
install-data-local: install-scorefiles-local

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-gnotski_Makefile_in,v 1.10 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnotski/Makefile.in.orig Sun Jul 8 00:35:14 2012
+++ gnotski/Makefile.in Sun Jul 8 00:37:50 2012
@@ -655,8 +655,6 @@ install-data-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
done
-include $(top_srcdir)/git.mk

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-gtali_Makefile_in,v 1.10 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gtali/Makefile.in.orig Sun Jul 8 00:35:16 2012
+++ gtali/Makefile.in Sun Jul 8 00:37:46 2012
@@ -654,11 +654,7 @@ install-data-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-if test -e $(DESTDIR)$(scoredir)/gtali.scores ; then mv $(DESTDIR)$(scoredir)/gtali.scores $(DESTDIR)$(scoredir)/gtali.Regular.scores ; fi
-touch $(DESTDIR)$(scoredir)/gtali.Regular.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gtali.Regular.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gtali.Regular.scores
-touch $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gtali.Colors.scores
-include $(top_srcdir)/git.mk

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-mahjongg_data_Makefile_in,v 1.1 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- mahjongg/data/Makefile.in.orig Sun Jul 8 00:35:18 2012
+++ mahjongg/data/Makefile.in Sun Jul 8 00:36:42 2012
@@ -832,8 +832,6 @@ install-scorefiles-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in easy difficult confounding pyramid tictactoe cloud dragon bridges ziggurat; do \
touch $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
done
install-data-local: install-scorefiles-local

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-quadrapassel_Makefile_in,v 1.5 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- quadrapassel/Makefile.in.orig Sun Jul 8 00:35:21 2012
+++ quadrapassel/Makefile.in Sun Jul 8 00:36:36 2012
@@ -653,8 +653,6 @@ uninstall-am:
install-data-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-touch $(DESTDIR)$(scoredir)/quadrapassel.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/quadrapassel.scores
- -chmod 664 $(DESTDIR)$(scoredir)/quadrapassel.scores
-include $(top_srcdir)/git.mk

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-swell-foop_data_Makefile_in,v 1.1 2012/07/08 08:17:08 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- swell-foop/data/Makefile.in.orig Sun Jul 8 00:35:23 2012
+++ swell-foop/data/Makefile.in Sun Jul 8 00:36:13 2012
@@ -758,8 +758,6 @@ install-scorefiles-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in small normal large; do \
touch $(DESTDIR)$(scoredir)/swell-foop.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/swell-foop.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/swell-foop.$$i.scores; \
done
install-data-local: install-scorefiles-local

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.21 2012/07/08 08:17:08 jasper Exp $
@comment $OpenBSD: PLIST,v 1.22 2012/07/08 10:05:05 ajacoutot Exp $
@bin bin/glchess
@mode g+s
@group games
@ -14,7 +14,9 @@ bin/gnome-sudoku
@bin bin/gnotski
@bin bin/gtali
@bin bin/iagno
@mode
@bin bin/lightsoff
@mode g+s
@bin bin/mahjongg
@bin bin/quadrapassel
@bin bin/swell-foop