Show
Ignore:
Timestamp:
12/28/07 10:24:55 (11 months ago)
Author:
kris
Message:

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.

Location:
pbibuild/modules/kompozer
Files:
14 added
2 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/kompozer/overlay-dir/PBI.SetupScript.sh

    r1077 r1078  
    2525chmod 777 /Programs/${PROGDIR}/lib/kompozer/extensions 
    2626 
     27cd /Programs/${PROGDIR}/xpi 
     28 
     29# Check for a different language to load 
     30LANG="`grep ^Language= /home/$USERNAME/.kde/share/config/kdeglobals | cut -d "=" -f2 | cut -d ":" -f 1`" 
     31 
     32LOAD="0" 
     33case $LANG in 
     34   cs|cz) LOAD="kpz-langpack-csCZ.xpi" ;; 
     35   da|DK) LOAD="kpz-langpack-daDK.xpi" ;; 
     36   de) LOAD="kpz-langpack-deDE.xpi" ;; 
     37   es) LOAD="kpz-langpack-esES.xpi" ;; 
     38   fr) LOAD="kpz-langpack-frFR.xpi" ;; 
     39   hu) LOAD="kpz-langpack-huHU.xpi" ;; 
     40   it) LOAD="kpz-langpack-itIT.xpi" ;; 
     41   ja|jp) LOAD="kpz-langpack-jaJP.xpi" ;; 
     42   nl) LOAD="kpz-langpack-nlNL.xpi" ;; 
     43   pl) LOAD="kpz-langpack-plPL.xpi" ;; 
     44   pt|br) LOAD="kpz-langpack-ptBR.xpi" ;; 
     45   ru) LOAD="kpz-langpack-ruRU.xpi" ;; 
     46   zh|tw) LOAD="kpz-langpack-zhTW.xpi" ;; 
     47esac 
     48 
     49if [ "${LOAD}" != "0" ] 
     50then 
     51 echo "MSG: Loading ${LOAD}" 
     52 kompozer -install-global-extension `pwd`/${LOAD} 
     53fi 
     54 
    2755echo "LAUNCHCLOSE: /usr/local/bin/kompozer" 
  • pbibuild/modules/kompozer/pbi.conf

    r1077 r1078  
    3333# Build Key - Change this to anything else to trigger a rebuild  
    3434#           - The rebuild will take place even if port is still the same ver 
    35 BUILDKEY="28" 
     35BUILDKEY="23" 
    3636 
    3737export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY