summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-board/xscrabble/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-board/xscrabble/files')
-rw-r--r--games-board/xscrabble/files/xscrabble-2.10-build.patch13
-rw-r--r--games-board/xscrabble/files/xscrabble-2.10-path-fixes.patch35
2 files changed, 48 insertions, 0 deletions
diff --git a/games-board/xscrabble/files/xscrabble-2.10-build.patch b/games-board/xscrabble/files/xscrabble-2.10-build.patch
new file mode 100644
index 000000000000..7d5214c7db34
--- /dev/null
+++ b/games-board/xscrabble/files/xscrabble-2.10-build.patch
@@ -0,0 +1,13 @@
+respect compiler, ldflags and cflags
+
+--- build
++++ build
+@@ -36,7 +36,7 @@
+ #define RULES_FILE \"$LIBDIR/en/scrabble_rules\"
+ " > src/config.h
+ xmkmf -a
+- make
++ make CC="${CC}" CCOPTIONS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
+ echo "
+ Now, type './build install' to install programs in $BINDIR
+ "
diff --git a/games-board/xscrabble/files/xscrabble-2.10-path-fixes.patch b/games-board/xscrabble/files/xscrabble-2.10-path-fixes.patch
new file mode 100644
index 000000000000..27a18689b1ed
--- /dev/null
+++ b/games-board/xscrabble/files/xscrabble-2.10-path-fixes.patch
@@ -0,0 +1,35 @@
+--- build
++++ build
+@@ -1,9 +1,10 @@
+ #!/bin/sh
+
+ # Install defaults
+-APPDEFAULTS=/usr/lib/X11/app-defaults
+-BINDIR=/usr/games/bin
+-LIBDIR=/usr/games/lib/scrabble
++APPDEFAULTS=$DESTDIR/usr/$LIBDIR/X11/app-defaults
++REAL_APPDEFAULTS=/usr/$LIBDIR/X11/app-defaults
++BINDIR=$DESTDIR/usr/games/bin
++LIBDIR=$DESTDIR/usr/share/games/xscrabble
+
+ # Version (don't modify without knowing!!)
+ MAJOR=2
+@@ -53,6 +54,7 @@
+
+ if test "$1" = "install" ; then
+ mkdirhier $BINDIR
++ mkdir -p $APPDEFAULTS
+ echo "mkdirhier $BINDIR"
+ install -c -s src/xscrab $BINDIR
+ echo "install -c -s src/xscrab $BINDIR"
+@@ -90,8 +92,8 @@
+ echo "mv -f xscrabble_$2/app-defaults/XScrabble_$2 $APPDEFAULTS"
+ rm -f $APPDEFAULTS/XScrabble
+ echo "rm -f $APPDEFAULTS/XScrabble"
+- ln -fs $APPDEFAULTS/XScrabble_$2 $APPDEFAULTS/XScrabble
+- echo "ln -fs $APPDEFAULTS/XScrabble_$2 $APPDEFAULTS/XScrabble"
++ ln -fs $REAL_APPDEFAULTS/XScrabble_$2 $APPDEFAULTS/XScrabble
++ echo "ln -fs $REAL_APPDEFAULTS/XScrabble_$2 $APPDEFAULTS/XScrabble"
+ chmod a+rwx $LIBDIR/$2
+ chmod a+rw $LIBDIR/$2/scrabble_scores
+ rm -rf xscrabble_$2