[PC-BSD Commits] r3268 - in pbibuild/modules/audacity: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Thu Jan 15 07:12:06 PST 2009


Author: kris
Date: 2009-01-15 07:12:03 -0800 (Thu, 15 Jan 2009)
New Revision: 3268

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

Updated audacity to be 100% self-contained now :)



Modified: pbibuild/modules/audacity/build.sh
===================================================================
--- pbibuild/modules/audacity/build.sh	2009-01-15 03:08:46 UTC (rev 3267)
+++ pbibuild/modules/audacity/build.sh	2009-01-15 15:12:03 UTC (rev 3268)
@@ -9,16 +9,3 @@
 #   PORTVER = Version number of the port we used to build
 ##############################################################################
 
-# Get all the various language files and copy them to the PBI
-LANGFILE="audacity.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/audacity/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/audacity/overlay-dir/PBI.RemoveScript.sh	2009-01-15 03:08:46 UTC (rev 3267)
+++ pbibuild/modules/audacity/overlay-dir/PBI.RemoveScript.sh	2009-01-15 15:12:03 UTC (rev 3268)
@@ -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/audacity
-rm -fR /usr/local/man/man1/audacity.1.gz
-rm -fR /usr/local/share/audacity
-rm -fR /usr/local/share/doc/audacity
 
-# Remove the old locale files since we are uninstalling
-LANGFILE="audacity.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/audacity/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/audacity/overlay-dir/PBI.SetupScript.sh	2009-01-15 03:08:46 UTC (rev 3267)
+++ pbibuild/modules/audacity/overlay-dir/PBI.SetupScript.sh	2009-01-15 15:12:03 UTC (rev 3268)
@@ -15,23 +15,17 @@
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
 
-ln -s /Programs/${PROGDIR}/.sbin/audacity /usr/local/bin/audacity
-ln -s /Programs/${PROGDIR}/man/man1/audacity.1.gz /usr/local/man/man1/audacity.1.gz
-ln -s /Programs/${PROGDIR}/share/audacity /usr/local/share/audacity
-ln -s /Programs/${PROGDIR}/share/doc/audacity /usr/local/share/doc/audacity
+# 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
 
-# Copy over all the LANG files
-LANGFILE="audacity.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
 
 # Point audacity to the right lame library so the user doesn't have to
 #manually find it.
-
 cd /home
 for i in `ls`
 do
@@ -51,7 +45,6 @@
   mkdir /home/${i}/.audacity_temp
   chown ${i}:${i} /home/${i}/.audacity_temp
  fi
-
 done
 
-echo "LAUNCHCLOSE: /usr/local/bin/audacity"
+echo "LAUNCHCLOSE: /Programs/bin/audacity"

Modified: pbibuild/modules/audacity/pbi.conf
===================================================================
--- pbibuild/modules/audacity/pbi.conf	2009-01-15 03:08:46 UTC (rev 3267)
+++ pbibuild/modules/audacity/pbi.conf	2009-01-15 15:12:03 UTC (rev 3268)
@@ -25,13 +25,14 @@
 PBIUPDATE="http://update.pbidir.com"
 
 # Other Ports we need built (One per line)
-OTHERPORT="/usr/ports/audio/lame"
+OTHERPORT="/usr/ports/audio/lame
+/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="51"
+BUILDKEY="01"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list