[PC-BSD Commits] r1078 - in pbibuild/modules/kompozer: . overlay-dir overlay-dir/xpi

svn at pcbsd.org svn at pcbsd.org
Fri Dec 28 10:24:55 PST 2007


Author: kris
Date: 2007-12-28 10:24:55 -0800 (Fri, 28 Dec 2007)
New Revision: 1078

Added:
   pbibuild/modules/kompozer/overlay-dir/xpi/
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-csCZ.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-daDK.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-deDE.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-esES.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-frFR.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-huHU.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-itIT.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-jaJP.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-nlNL.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-plPL.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-ptBR.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-ruRU.xpi
   pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-zhTW.xpi
Modified:
   pbibuild/modules/kompozer/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/kompozer/pbi.conf
Log:

Fixed up Kompozer to include the .xpi lang packages, and try to identify
which lang the user is running under, then load the appropriate extension
during the installation. 



Modified: pbibuild/modules/kompozer/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/kompozer/overlay-dir/PBI.SetupScript.sh	2007-12-28 16:27:38 UTC (rev 1077)
+++ pbibuild/modules/kompozer/overlay-dir/PBI.SetupScript.sh	2007-12-28 18:24:55 UTC (rev 1078)
@@ -24,4 +24,32 @@
 mkdir /Programs/${PROGDIR}/lib/kompozer/extensions
 chmod 777 /Programs/${PROGDIR}/lib/kompozer/extensions
 
+cd /Programs/${PROGDIR}/xpi
+
+# Check for a different language to load
+LANG="`grep ^Language= /home/$USERNAME/.kde/share/config/kdeglobals | cut -d "=" -f2 | cut -d ":" -f 1`"
+
+LOAD="0"
+case $LANG in
+   cs|cz) LOAD="kpz-langpack-csCZ.xpi" ;;
+   da|DK) LOAD="kpz-langpack-daDK.xpi" ;;
+   de) LOAD="kpz-langpack-deDE.xpi" ;;
+   es) LOAD="kpz-langpack-esES.xpi" ;;
+   fr) LOAD="kpz-langpack-frFR.xpi" ;;
+   hu) LOAD="kpz-langpack-huHU.xpi" ;;
+   it) LOAD="kpz-langpack-itIT.xpi" ;;
+   ja|jp) LOAD="kpz-langpack-jaJP.xpi" ;;
+   nl) LOAD="kpz-langpack-nlNL.xpi" ;;
+   pl) LOAD="kpz-langpack-plPL.xpi" ;;
+   pt|br) LOAD="kpz-langpack-ptBR.xpi" ;;
+   ru) LOAD="kpz-langpack-ruRU.xpi" ;;
+   zh|tw) LOAD="kpz-langpack-zhTW.xpi" ;;
+esac
+
+if [ "${LOAD}" != "0" ]
+then
+ echo "MSG: Loading ${LOAD}"
+ kompozer -install-global-extension `pwd`/${LOAD}
+fi
+
 echo "LAUNCHCLOSE: /usr/local/bin/kompozer"

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-csCZ.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-csCZ.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-daDK.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-daDK.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-deDE.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-deDE.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-esES.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-esES.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-frFR.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-frFR.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-huHU.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-huHU.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-itIT.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-itIT.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-jaJP.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-jaJP.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-nlNL.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-nlNL.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-plPL.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-plPL.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-ptBR.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-ptBR.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-ruRU.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-ruRU.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-zhTW.xpi


Property changes on: pbibuild/modules/kompozer/overlay-dir/xpi/kpz-langpack-zhTW.xpi
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: pbibuild/modules/kompozer/pbi.conf
===================================================================
--- pbibuild/modules/kompozer/pbi.conf	2007-12-28 16:27:38 UTC (rev 1077)
+++ pbibuild/modules/kompozer/pbi.conf	2007-12-28 18:24:55 UTC (rev 1078)
@@ -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="28"
+BUILDKEY="23"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list