[PC-BSD Commits] r2786 - in pbibuild/modules/picasa: . overlay-dir overlay-dir/bin

svn at pcbsd.org svn at pcbsd.org
Wed Sep 17 09:03:47 PDT 2008


Author: gonzalo
Date: 2008-09-17 09:03:47 -0700 (Wed, 17 Sep 2008)
New Revision: 2786

Removed:
   pbibuild/modules/picasa/overlay-dir/PICASA/
   pbibuild/modules/picasa/overlay-dir/bin/cabextract
   pbibuild/modules/picasa/overlay-dir/msttf/
Modified:
   pbibuild/modules/picasa/overlay-dir/bin/picasa
   pbibuild/modules/picasa/pbi.conf
Log:
Picasa modified

Modified: pbibuild/modules/picasa/overlay-dir/bin/picasa
===================================================================
--- pbibuild/modules/picasa/overlay-dir/bin/picasa	2008-09-17 15:58:46 UTC (rev 2785)
+++ pbibuild/modules/picasa/overlay-dir/bin/picasa	2008-09-17 16:03:47 UTC (rev 2786)
@@ -1,5 +1,16 @@
 #!/bin/sh
-PROGDIR="GooglePicasa0.9.57"
-cd
-export WINEPREFIX="/Programs/${PROGDIR}/PICASA"
-/Programs/${PROGDIR}/bin/wine "/Programs/${PROGDIR}/PICASA/drive_c/Program Files/Picasa2/Picasa2.exe" "$@"
+VER="CHANGEME"
+PROGDIR="GooglePicasa${VER}"
+
+if [ ! -e "${HOME}/.picasa" ]
+then
+  mkdir ${HOME}/.picasa
+  ln -s /Programs/${PROGDIR}/PICASA/drive_c ${HOME}/.picasa/drive_c
+else
+  rm ${HOME}/.picasa/drive_c 
+  ln -s /Programs/${PROGDIR}/PICASA/drive_c ${HOME}/.picasa/drive_c
+fi
+
+export WINEPREFIX="${HOME}/.picasa"
+/Programs/${PROGDIR}/bin/wine "${HOME}/.picasa/drive_c/Program Files/Picasa2/Picasa2.exe" "$@"
+

Modified: pbibuild/modules/picasa/pbi.conf
===================================================================
--- pbibuild/modules/picasa/pbi.conf	2008-09-17 15:58:46 UTC (rev 2785)
+++ pbibuild/modules/picasa/pbi.conf	2008-09-17 16:03:47 UTC (rev 2786)
@@ -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="04"
+BUILDKEY="05"
 
 # Don't build this PBI on certian processors (i386 / amd64)
 ARCHIGNORE="amd64" ; export ARCHIGNORE



More information about the Commits mailing list