[SM-Commit] GIT changes to master games grimoire by Eric Sandall (6a9aa926c6fe8e058cf29c6ee65895743ca0e392)

Eric Sandall scm at sourcemage.org
Wed Mar 9 18:14:31 EST 2011


GIT changes to master games grimoire by Eric Sandall <sandalle at sourcemage.org>:

 games-utils/gtkevemon/DETAILS   |    1 +
 games-utils/gtkevemon/HISTORY   |    6 ++++++
 games-utils/gtkevemon/INSTALL   |    3 +++
 games-utils/gtkevemon/PRE_BUILD |    1 +
 games-utils/pyfa/HISTORY        |    4 ++++
 games-utils/pyfa/INSTALL        |    8 +++-----
 games-utils/pyfa/PRE_BUILD      |    2 ++
 7 files changed, 20 insertions(+), 5 deletions(-)

New commits:
commit 6a9aa926c6fe8e058cf29c6ee65895743ca0e392
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    pyfa: Move '&&' before comment...

commit 66f879e779e71465a1add6c1dc58109c5f2e0346
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    pyfa: downloadData.py is no more, remove

commit 9971edd2a75a9a3ec659a37e5478963e53bcd59c
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    pyfa: Setup permissions in PRE_BUILD before copying

commit 1a431831946d74add47df03b53fa39c841721920
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    gtkevemon: Copy permissions as well
    PATCHLEVEL++
    Set permissions on binary
    Fix /usr/games perms after install (somehow /usr/games keeps getting
    set to root:root when this spell is cast (related to castfs), even when
    nothing I saw in the Makefiles changes perms, just uses `cp`)

diff --git a/games-utils/gtkevemon/DETAILS b/games-utils/gtkevemon/DETAILS
index 1c7678c..9a1d3d4 100755
--- a/games-utils/gtkevemon/DETAILS
+++ b/games-utils/gtkevemon/DETAILS
@@ -4,6 +4,7 @@
       SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
    SOURCE_URL[0]=http://gtkevemon.battleclinic.com/releases/$SOURCE
+      PATCHLEVEL=1
       LICENSE[0]=GPL
         WEB_SITE=http://gtkevemon.battleclinic.com/
          ENTERED=20100324
diff --git a/games-utils/gtkevemon/HISTORY b/games-utils/gtkevemon/HISTORY
index ee2e96f..ea23f4b 100644
--- a/games-utils/gtkevemon/HISTORY
+++ b/games-utils/gtkevemon/HISTORY
@@ -1,3 +1,9 @@
+2011-03-09 Eric Sandall <sandalle at sourcemage.org>
+	* DETAILS: PATCHLEVEL++
+	* PRE_BUILD: Copy permissions as well
+	* INSTALL: Set permissions on binary
+	  Fix /usr/games perms after install
+
 2010-06-06 Eric Sandall <sandalle at sourcemage.org>
 	* DETAILS: Updated to 1.8
 	  Use $SOURCE in SOURCE_URL
diff --git a/games-utils/gtkevemon/INSTALL b/games-utils/gtkevemon/INSTALL
new file mode 100755
index 0000000..7b5e251
--- /dev/null
+++ b/games-utils/gtkevemon/INSTALL
@@ -0,0 +1,3 @@
+chgrp games "${SOURCE_DIRECTORY}"/src/gtkevemon &&
+default_install &&
+chgrp games "${INSTALL_ROOT}"/usr/games
diff --git a/games-utils/gtkevemon/PRE_BUILD b/games-utils/gtkevemon/PRE_BUILD
index f2e0103..7027651 100755
--- a/games-utils/gtkevemon/PRE_BUILD
+++ b/games-utils/gtkevemon/PRE_BUILD
@@ -1,2 +1,3 @@
 default_pre_build &&
 sed -i "s:/usr/local/bin:$INSTALL_ROOT/usr/games:" $SOURCE_DIRECTORY/Makefile
+sed -i 's:cp :&-a :' $SOURCE_DIRECTORY/Makefile
diff --git a/games-utils/pyfa/HISTORY b/games-utils/pyfa/HISTORY
index db0ac9e..7f3a2e5 100644
--- a/games-utils/pyfa/HISTORY
+++ b/games-utils/pyfa/HISTORY
@@ -1,5 +1,9 @@
 2011-03-09 Eric Sandall <sandalle at sourcemage.org>
 	* DETAILS: Updated to 0.9
+	* PRE_BUILD: Setup permissions here, before copying
+	* INSTALL: Remove permission modifications of files (moved)
+	  downloadData.py is no more, remove
+	  Move '&&' before comment...
 
 2010-05-17 Eric Sandall <sandalle at sourcemage.org>
 	* DETAILS: PATCHLEVEL++
diff --git a/games-utils/pyfa/INSTALL b/games-utils/pyfa/INSTALL
index 9fc588e..6e5b162 100755
--- a/games-utils/pyfa/INSTALL
+++ b/games-utils/pyfa/INSTALL
@@ -1,15 +1,13 @@
 local I_DIR="$INSTALL_ROOT/usr/share/games/$SPELL" &&
 mkdir -p "$I_DIR" &&
-for i in gui model buildNeededIcons.py downloadData.py launch.py pyfa.ico
+
+for i in gui model buildNeededIcons.py launch.py pyfa.ico
 do
   cp -arv "$SOURCE_DIRECTORY/$i" "$I_DIR"
 done &&
 
 ln -sf "$TRACK_ROOT/usr/share/games/pyfa/launch.py" "$INSTALL_ROOT/usr/games/pyfa" &&
-ln -sf "$TRACK_ROOT/usr/share/games/pyfa/downloadData.py" \
-  "$INSTALL_ROOT/usr/games/pyfa-downloadData" &&
-chgrp -R games "$I_DIR" &&
-chgrp games "$INSTALL_ROOT/usr/games" # Always makes it root:root using castfs without this &&
+chgrp games "$INSTALL_ROOT/usr/games" && # Always makes it root:root using castfs without this
 
 # Create Desktop file
 cat << EOF > $INSTALL_ROOT/usr/share/applications/$SPELL.desktop
diff --git a/games-utils/pyfa/PRE_BUILD b/games-utils/pyfa/PRE_BUILD
new file mode 100755
index 0000000..a1cd27b
--- /dev/null
+++ b/games-utils/pyfa/PRE_BUILD
@@ -0,0 +1,2 @@
+default_pre_build &&
+chgrp -R games "$SOURCE_DIRECTORY/"



More information about the SM-Commit mailing list