[PC-BSD Commits] r3278 - in pbibuild/modules/gambas: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Fri Jan 16 12:19:29 PST 2009


Author: kris
Date: 2009-01-16 12:19:29 -0800 (Fri, 16 Jan 2009)
New Revision: 3278

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

Updated gambas to be 100% self-contained, even though the port looks broken at the moment



Modified: pbibuild/modules/gambas/copy-files
===================================================================
--- pbibuild/modules/gambas/copy-files	2009-01-16 18:13:26 UTC (rev 3277)
+++ pbibuild/modules/gambas/copy-files	2009-01-16 20:19:29 UTC (rev 3278)
@@ -7,3 +7,12 @@
 /usr/local/lib/gambas lib/
 /usr/local/share/examples/gambas share/examples/
 /usr/local/share/gambas share/
+/usr/local/share/apps share/
+/usr/local/share/config.kcfg share/config.kcfg
+/usr/local/share/config share/config
+/usr/local/share/services share/services
+/usr/local/share/servicetypes share/servicetypes
+/usr/local/share/mime share/mime
+/usr/local/share/mimelnk share/mimelnk
+/usr/local/libexec/gam* libexec/
+

Modified: pbibuild/modules/gambas/overlay-dir/PBI.FirstRun.sh
===================================================================
--- pbibuild/modules/gambas/overlay-dir/PBI.FirstRun.sh	2009-01-16 18:13:26 UTC (rev 3277)
+++ pbibuild/modules/gambas/overlay-dir/PBI.FirstRun.sh	2009-01-16 20:19:29 UTC (rev 3278)
@@ -15,33 +15,3 @@
 # echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
-
-if [ -e "/usr/local/bin/gambas" ]
-then
-    # Looks like FF is installed, ask if they want to remove the old one
-    ls -al /usr/local/bin/gambas | grep Programs 2>/dev/null
-    if [ "$?" = "0" ]
-    then
-      kdialog --yesno "Gambas is already installed, do you wish to uninstall it?" 
-      if [ "$?" = "0" ]
-      then
-        FF="`ls -al /usr/local/bin/gambas | cut -d '>' -f 2 | cut -d "/" -f 3`"
-        echo $FF | grep Gambas 2>/dev/null
-        if [ "$?" = "0" ]
-        then
-          PBIdelete -remove ${FF}
-        else
-          kdialog --sorry "Gambas could not be automatically removed... Please remove it in Add / Remove Programs and try again."
-          return 2
-        fi
-      else
-        kdialog --sorry "Gambas 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 "Gambas is already installed, it must be uninstalled before loading this PBI"
-      return 2
-    fi
-fi 

Modified: pbibuild/modules/gambas/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/gambas/overlay-dir/PBI.RemoveScript.sh	2009-01-16 18:13:26 UTC (rev 3277)
+++ pbibuild/modules/gambas/overlay-dir/PBI.RemoveScript.sh	2009-01-16 20:19:29 UTC (rev 3278)
@@ -7,16 +7,6 @@
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
 
-rm -fR /usr/local/bin/gambas
-rm -fR /usr/local/bin/gambas-database-manager
-rm -fR /usr/local/bin/gba
-rm -fR /usr/local/bin/gbc
-rm -fR /usr/local/bin/gbi
-rm -fR /usr/local/bin/gbx
-rm -fR /usr/local/lib/gambas
-rm -fR /usr/local/share/examples/gambas
-rm -fR /usr/local/share/gambas
-
 if [ ! -z "$DISPLAY" ]
 then
  # Ask if we want to remove the user profiles

Modified: pbibuild/modules/gambas/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/gambas/overlay-dir/PBI.SetupScript.sh	2009-01-16 18:13:26 UTC (rev 3277)
+++ pbibuild/modules/gambas/overlay-dir/PBI.SetupScript.sh	2009-01-16 20:19:29 UTC (rev 3278)
@@ -15,12 +15,4 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 
-ln -s /Programs/${PROGDIR}/bin/gba /usr/local/bin/gba
-ln -s /Programs/${PROGDIR}/bin/gbc /usr/local/bin/gbc
-ln -s /Programs/${PROGDIR}/bin/gbi /usr/local/bin/gbi
-ln -s /Programs/${PROGDIR}/bin/gbx /usr/local/bin/gbx
-ln -s /Programs/${PROGDIR}/lib/gambas /usr/local/lib/gambas
-ln -s /Programs/${PROGDIR}/.sbin/gambas /usr/local/bin/gambas
-ln -s /Programs/${PROGDIR}/.sbin/gambas-database-manager /usr/local/bin/gambas-database-manager
-
-echo "LAUNCHCLOSE: /Programs/${PROGDIR}/.sbin/gambas"
\ No newline at end of file
+echo "LAUNCHCLOSE: /Programs/bin/gambas"

Modified: pbibuild/modules/gambas/pbi.conf
===================================================================
--- pbibuild/modules/gambas/pbi.conf	2009-01-16 18:13:26 UTC (rev 3277)
+++ pbibuild/modules/gambas/pbi.conf	2009-01-16 20:19:29 UTC (rev 3278)
@@ -32,7 +32,7 @@
 
 # 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="25"
+BUILDKEY="01"
 
 # Don't build this PBI on certian processors (i386 / amd64)
 ARCHIGNORE="amd64" ; export ARCHIGNORE



More information about the Commits mailing list