[PC-BSD Commits] r3298 - in pbibuild/modules/foobillard: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Tue Jan 20 11:46:31 PST 2009


Author: kris
Date: 2009-01-20 11:46:30 -0800 (Tue, 20 Jan 2009)
New Revision: 3298

Modified:
   pbibuild/modules/foobillard/overlay-dir/PBI.FirstRun.sh
   pbibuild/modules/foobillard/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/foobillard/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/foobillard/pbi.conf
Log:

Added foobillard, 100% self-contained now




Modified: pbibuild/modules/foobillard/overlay-dir/PBI.FirstRun.sh
===================================================================
--- pbibuild/modules/foobillard/overlay-dir/PBI.FirstRun.sh	2009-01-20 19:07:20 UTC (rev 3297)
+++ pbibuild/modules/foobillard/overlay-dir/PBI.FirstRun.sh	2009-01-20 19:46:30 UTC (rev 3298)
@@ -16,42 +16,3 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 
-
-if [ -e "/usr/local/bin/foobillard" ]
-then
-    # Looks like FF is installed, ask if they want to remove the old one
-    ls -al /usr/local/bin/foobillard | grep Programs 2>/dev/null
-    if [ "$?" = "0" ]
-    then
-      kdialog --yesno "FooBillard is already installed, do you wish to uninstall it?" 
-      if [ "$?" = "0" ]
-      then
-        FF="`ls -al /usr/local/bin/foobillard | cut -d '>' -f 2 | cut -d "/" -f 3`"
-        echo $FF | grep FooBillard 2>/dev/null
-        if [ "$?" = "0" ]
-        then
-          PBIdelete -remove ${FF}
-        else
-          kdialog --sorry "FooBillard could not be automatically removed... Please remove it in Add / Remove Programs and try again."
-          return 2
-        fi
-      else
-        kdialog --sorry "FooBillard is already installed, it must be uninstalled before loading this PBI"
-        return 2
-      fi
-      
-    else
-      # Could not find a link to PBI folder
-      kdialog --sorry "FooBillard is already installed, it must be uninstalled before loading this PBI"
-      return 2
-    fi
-fi 
-#3D APPLICATION: 3D ACC IS NEEDED
-
-glxinfo | grep "direct rendering:" | grep " Yes" 2>/dev/null
-if [ "$?" != "0" ]
-then
-   kdialog --msgbox "Your system does not appear to have hardware 3D
-support enabled. This application requires 3D acceleration to function
-properly."
-fi
\ No newline at end of file

Modified: pbibuild/modules/foobillard/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/foobillard/overlay-dir/PBI.RemoveScript.sh	2009-01-20 19:07:20 UTC (rev 3297)
+++ pbibuild/modules/foobillard/overlay-dir/PBI.RemoveScript.sh	2009-01-20 19:46:30 UTC (rev 3298)
@@ -6,9 +6,6 @@
 # ${2} is the username of person performing the deletion.
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
-rm -fR /usr/local/bin/foobillard
-rm -fR /usr/local/man/man6/foobillard.6.gz
-rm -fR /usr/local/share/foobillard
 
 if [ ! -z "$DISPLAY" ]
 then

Modified: pbibuild/modules/foobillard/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/foobillard/overlay-dir/PBI.SetupScript.sh	2009-01-20 19:07:20 UTC (rev 3297)
+++ pbibuild/modules/foobillard/overlay-dir/PBI.SetupScript.sh	2009-01-20 19:46:30 UTC (rev 3298)
@@ -14,8 +14,13 @@
 # echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
-ln -s /Programs/${PROGDIR}/.sbin/foobillard /usr/local/bin/foobillard
-ln -s /Programs/${PROGDIR}/man/man6/foobillard.6.gz /usr/local/man/man6/foobillard.6.gz
-ln -s /Programs/${PROGDIR}/share/foobillard /usr/local/share/foobillard
 
-echo "LAUNCHCLOSE: /usr/local/bin/foobillard"
+# Check which font config we want to link to
+if [ -d "/PCBSD/local/etc/fonts" ]
+then
+  ln -s /PCBSD/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+else
+  ln -s /usr/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+fi
+
+echo "LAUNCHCLOSE: /Programs/bin/foobillard"

Modified: pbibuild/modules/foobillard/pbi.conf
===================================================================
--- pbibuild/modules/foobillard/pbi.conf	2009-01-20 19:07:20 UTC (rev 3297)
+++ pbibuild/modules/foobillard/pbi.conf	2009-01-20 19:46:30 UTC (rev 3298)
@@ -32,6 +32,6 @@
 
 # Build Key - Change this to anything else to trigger a rebuild 
 #           - The rebuild will take place even if port is still the same ver
-BUILDKEY="02"
+BUILDKEY="01"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list