[PC-BSD Commits] r4612 - in pbibuild/modules/games/brainworkshop: . kmenu-dir overlay-dir

svn at pcbsd.org svn at pcbsd.org
Thu Oct 8 12:37:15 PDT 2009


Author: kris
Date: 2009-10-08 12:37:15 -0700 (Thu, 08 Oct 2009)
New Revision: 4612

Added:
   pbibuild/modules/games/brainworkshop/overlay-dir/brain.png
Modified:
   pbibuild/modules/games/brainworkshop/build.sh
   pbibuild/modules/games/brainworkshop/copy-files
   pbibuild/modules/games/brainworkshop/kmenu-dir/brainworkshop
   pbibuild/modules/games/brainworkshop/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/games/brainworkshop/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/games/brainworkshop/pbi.conf
Log:

Updated brainworkshop, now builds, with right icon and such, still doesn't work though, pyglet is
broken, trying to load invalid library names, probably something in the port



Modified: pbibuild/modules/games/brainworkshop/build.sh
===================================================================
--- pbibuild/modules/games/brainworkshop/build.sh	2009-10-08 19:02:55 UTC (rev 4611)
+++ pbibuild/modules/games/brainworkshop/build.sh	2009-10-08 19:37:15 UTC (rev 4612)
@@ -9,13 +9,8 @@
 #   PORTVER = Version number of the port we used to build
 ##############################################################################
 
-# Save the right version number in the deluge.sh
-sed -e "s,CHANGEME,BrainWorkshop${PORTVER},g" ${PBIDIR}/bin/brainworkshop.sh > /tmp/brainworkshop.sh
-mv /tmp/brainworkshop.sh ${PBIDIR}/bin/brainworkshop.sh
-chmod 755 ${PBIDIR}/bin/brainworkshop.sh
-
-sed 's|/usr/local/bin|/Programs/BrainWorkshop${PORTVER}/bin|g' ${PBIDIR}/bin/brainworkshop >/tmp/brainworkshop
+sed 's|/usr/bin/env python|/Programs/BrainWorkshop${PORTVER}/bin/python|g' ${PBIDIR}/bin/brainworkshop >/tmp/brainworkshop
 mv /tmp/brainworkshop ${PBIDIR}/bin/brainworkshop
 chmod 755 ${PBIDIR}/bin/brainworkshop
 
-rm -rf ${PBIDIR}/etc/fonts
\ No newline at end of file
+rm -rf ${PBIDIR}/etc/fonts

Modified: pbibuild/modules/games/brainworkshop/copy-files
===================================================================
--- pbibuild/modules/games/brainworkshop/copy-files	2009-10-08 19:02:55 UTC (rev 4611)
+++ pbibuild/modules/games/brainworkshop/copy-files	2009-10-08 19:37:15 UTC (rev 4612)
@@ -10,4 +10,4 @@
 /usr/local/lib/libc* autolibs/
 /usr/local/lib/libx* autolibs/
 /usr/local/etc ./
-/usr/local/lib/python2.5 autolibs/
\ No newline at end of file
+/usr/local/lib/*python* autolibs/

Modified: pbibuild/modules/games/brainworkshop/kmenu-dir/brainworkshop
===================================================================
--- pbibuild/modules/games/brainworkshop/kmenu-dir/brainworkshop	2009-10-08 19:02:55 UTC (rev 4611)
+++ pbibuild/modules/games/brainworkshop/kmenu-dir/brainworkshop	2009-10-08 19:37:15 UTC (rev 4612)
@@ -1,5 +1,5 @@
-ExePath: bin/brainworkshop.sh
-ExeIcon: share/pixmaps/brainworkshop.png
+ExePath: bin/brainworkshop
+ExeIcon: brain.png
 ExeDescr: Brain Workshop
 ExeNoDesktop: 0
 ExeNoMenu: 0

Modified: pbibuild/modules/games/brainworkshop/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/games/brainworkshop/overlay-dir/PBI.RemoveScript.sh	2009-10-08 19:02:55 UTC (rev 4611)
+++ pbibuild/modules/games/brainworkshop/overlay-dir/PBI.RemoveScript.sh	2009-10-08 19:37:15 UTC (rev 4612)
@@ -6,20 +6,3 @@
 # ${2} is the username of person performing the deletion.
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
-if [ ! -z "$DISPLAY" ]
-then
- # Ask if we want to remove the user profiles
- kdialog --yesno "Do you want to remove Brain Workshop user settings?" --title "Remove user settings"
- if [ "$?" = "0" ]
- then
-  cd /home
-  for i in `ls`
-  do
-   if [ -e "/home/${i}/.brainworkshop" ]
-   then
-    rm -rf /home/${i}/.brainworkshop
-   fi
-  done
- fi
-fi
-

Modified: pbibuild/modules/games/brainworkshop/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/games/brainworkshop/overlay-dir/PBI.SetupScript.sh	2009-10-08 19:02:55 UTC (rev 4611)
+++ pbibuild/modules/games/brainworkshop/overlay-dir/PBI.SetupScript.sh	2009-10-08 19:37:15 UTC (rev 4612)
@@ -24,4 +24,4 @@
 fi
 
 
-echo "LAUNCHCLOSE: /Programs/bin/brainworkshop.sh"
+echo "LAUNCHCLOSE: /Programs/bin/brainworkshop"


Property changes on: pbibuild/modules/games/brainworkshop/overlay-dir/brain.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: pbibuild/modules/games/brainworkshop/pbi.conf
===================================================================
--- pbibuild/modules/games/brainworkshop/pbi.conf	2009-10-08 19:02:55 UTC (rev 4611)
+++ pbibuild/modules/games/brainworkshop/pbi.conf	2009-10-08 19:37:15 UTC (rev 4612)
@@ -13,7 +13,7 @@
 PROGAUTHOR="Paul Hoskinson"
 
 # Default Icon (Relative to overlay-dir)
-PROGICON="share/pixmaps/brainworkshop.png"
+PROGICON="brain.png"
 
 # Port we want to build
 PBIPORT="/usr/ports/games/brainworkshop"
@@ -34,4 +34,8 @@
 #           - The rebuild will take place even if port is still the same ver
 BUILDKEY="01"
 
+PBIAUTOPOPULATE_PORTS="/usr/ports/lang/python26
+/usr/ports/graphics/py-pyglet"
+export PBIAUTOPOPULATE_PORTS
+
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list