[PC-BSD Commits] r3215 - in pbibuild/modules/bygfoot: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Fri Jan 9 10:23:37 PST 2009


Author: kris
Date: 2009-01-09 10:23:37 -0800 (Fri, 09 Jan 2009)
New Revision: 3215

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

Bygfoot is now 100% self-contained and works great!



Modified: pbibuild/modules/bygfoot/build.sh
===================================================================
--- pbibuild/modules/bygfoot/build.sh	2009-01-09 15:49:10 UTC (rev 3214)
+++ pbibuild/modules/bygfoot/build.sh	2009-01-09 18:23:37 UTC (rev 3215)
@@ -8,17 +8,3 @@
 # MODULEDIR = The location of the module directory for this PBI
 #   PORTVER = Version number of the port we used to build
 ##############################################################################
-
-# Get all the various language files and copy them to the PBI
-LANGFILE="bygfoot.mo"
-mkdir ${PBIDIR}/locale/
-cd /usr/local/share/locale
-for i in `ls`
-do
-  if [ -e "/usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}" ]
-  then
-    mkdir ${PBIDIR}/locale/${i}
-    cp /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE} ${PBIDIR}/locale/${i}/
-  fi
-done
-

Modified: pbibuild/modules/bygfoot/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/bygfoot/overlay-dir/PBI.RemoveScript.sh	2009-01-09 15:49:10 UTC (rev 3214)
+++ pbibuild/modules/bygfoot/overlay-dir/PBI.RemoveScript.sh	2009-01-09 18:23:37 UTC (rev 3215)
@@ -6,20 +6,7 @@
 # ${2} is the username of person performing the deletion.
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
-rm -fR /usr/local/bin/bygfoot
-rm -fR /usr/local/bygfoot
-rm -fR /usr/local/share/bygfoot
-rm -fR /usr/local/support_files
 
-# Remove the old locale files since we are uninstalling
-LANGFILE="bygfoot.mo"
-cd /Programs/${PROGDIR}/locale
-for i in `ls`
-do
-  rm /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
-done
-
-
 if [ ! -z "$DISPLAY" ]
 then
  # Ask if we want to remove the user profiles

Modified: pbibuild/modules/bygfoot/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/bygfoot/overlay-dir/PBI.SetupScript.sh	2009-01-09 15:49:10 UTC (rev 3214)
+++ pbibuild/modules/bygfoot/overlay-dir/PBI.SetupScript.sh	2009-01-09 18:23:37 UTC (rev 3215)
@@ -14,18 +14,14 @@
 # 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/bygfoot /usr/local/bin/bygfoot
-ln -s /Programs/${PROGDIR}/bygfoot /usr/local/bygfoot
-ln -s /Programs/${PROGDIR}/share/bygfoot /usr/local/share/bygfoot
-ln -s /Programs/${PROGDIR}/support_files /usr/local/support_files
 
-# Copy over all the LANG files
-LANGFILE="bygfoot.mo"
-cd /Programs/${PROGDIR}/locale
-for i in `ls`
-do
-  mkdir -p /usr/local/share/locale/${i}/LC_MESSAGES >/dev/null 2>/dev/null
-  cp /Programs/${PROGDIR}/locale/${i}/${LANGFILE} /usr/local/share/locale/${i}/LC_MESSAGES/${LANGFILE}
-done
+# 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: /usr/local/bin/bygfoot"
+
+echo "LAUNCHCLOSE: /Programs/bin/bygfoot"

Modified: pbibuild/modules/bygfoot/pbi.conf
===================================================================
--- pbibuild/modules/bygfoot/pbi.conf	2009-01-09 15:49:10 UTC (rev 3214)
+++ pbibuild/modules/bygfoot/pbi.conf	2009-01-09 18:23:37 UTC (rev 3215)
@@ -25,13 +25,13 @@
 PBIUPDATE="http://update.pbidir.com"
 
 # Other Ports we need built (One per line)
-OTHERPORT=""
+OTHERPORT="/usr/ports/x11-themes/qtcurve-gtk2"
 
 # Enter your custom make options here
 MAKEOPTS=""
 
 # 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