Changeset 2599 for pbibuild/modules

Show
Ignore:
Timestamp:
08/14/08 11:19:07 (4 months ago)
Author:
kris
Message:

Update the firefox3 module a bit, to make sure we have e-mail client prefs added properly

Location:
pbibuild/modules/firefox3
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/firefox3/build.sh

    r1138 r2599  
    1010############################################################################## 
    1111 
    12 # We need to modify the bin/firefox script to point to the PBI directory 
    13 # properly 
    14  
    15 rm /tmp/ff-fixed 
    16 while read line 
    17 do 
    18  
    19   echo $line | grep '^moz_libdir=' >/dev/null 2>/dev/null  
    20   if [ "$?" = "0" ] 
    21   then 
    22     echo "moz_libdir=\"/Programs/Firefox${PORTVER}/autolibs/firefox\"" >>/tmp/ff-fixed 
    23   else 
    24     echo "${line}" >> /tmp/ff-fixed  
    25   fi 
    26  
    27 done < ${PBIDIR}/bin/firefox 
    28  
    29 cp /tmp/ff-fixed ${PBIDIR}/bin/firefox 
    30 chmod 755 ${PBIDIR}/bin/firefox 
    31  
    32  
    3312# Save the right version number in the removepbi.sh script 
    3413sed -e "s,CHANGEME,Firefox${PORTVER},g" ${PBIDIR}/scripts/removepbi.sh > /tmp/removepbi.sh 
     
    3615chmod 755 ${PBIDIR}/scripts/removepbi.sh 
    3716 
    38 rm -rf /${PBIDIR}/autolibs/firefox/extensions/lang* 
     17rm -rf /${PBIDIR}/autolibs/firefox3/extensions/lang* 
    3918 
    4019# Copy over the lang-packs 
    41 tar cvf - -C /usr/local/lib/xpi/ . | tar xvf - -C ${PBIDIR}/autolibs/firefox/extensions/ 
     20tar cvf - -C /usr/local/lib/xpi/ . | tar xvf - -C ${PBIDIR}/autolibs/firefox3/extensions/ 
    4221 
    4322# Now append our prefs file with the default email script 
    44 echo "pref(\"network.protocol-handler.app.mailto\", \"/Programs/Firefox${PORTVER}/bin/defaultemail\");" >> ${PBIDIR}/autolibs/firefox/greprefs/all.js 
     23echo "pref(\"network.protocol-handler.app.mailto\", \"/Programs/Firefox${PORTVER}/bin/defaultemail\");" >> ${PBIDIR}/autolibs/firefox3/greprefs/all.js 
    4524 
  • pbibuild/modules/firefox3/pbi.conf

    r2238 r2599  
    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="01" 
     35BUILDKEY="21" 
    3636 
    3737export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY