Changeset 2599 for pbibuild/modules/firefox3
- Timestamp:
- 08/14/08 11:19:07 (4 months ago)
- Location:
- pbibuild/modules/firefox3
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pbibuild/modules/firefox3/build.sh
r1138 r2599 10 10 ############################################################################## 11 11 12 # We need to modify the bin/firefox script to point to the PBI directory13 # properly14 15 rm /tmp/ff-fixed16 while read line17 do18 19 echo $line | grep '^moz_libdir=' >/dev/null 2>/dev/null20 if [ "$?" = "0" ]21 then22 echo "moz_libdir=\"/Programs/Firefox${PORTVER}/autolibs/firefox\"" >>/tmp/ff-fixed23 else24 echo "${line}" >> /tmp/ff-fixed25 fi26 27 done < ${PBIDIR}/bin/firefox28 29 cp /tmp/ff-fixed ${PBIDIR}/bin/firefox30 chmod 755 ${PBIDIR}/bin/firefox31 32 33 12 # Save the right version number in the removepbi.sh script 34 13 sed -e "s,CHANGEME,Firefox${PORTVER},g" ${PBIDIR}/scripts/removepbi.sh > /tmp/removepbi.sh … … 36 15 chmod 755 ${PBIDIR}/scripts/removepbi.sh 37 16 38 rm -rf /${PBIDIR}/autolibs/firefox /extensions/lang*17 rm -rf /${PBIDIR}/autolibs/firefox3/extensions/lang* 39 18 40 19 # Copy over the lang-packs 41 tar cvf - -C /usr/local/lib/xpi/ . | tar xvf - -C ${PBIDIR}/autolibs/firefox /extensions/20 tar cvf - -C /usr/local/lib/xpi/ . | tar xvf - -C ${PBIDIR}/autolibs/firefox3/extensions/ 42 21 43 22 # 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.js23 echo "pref(\"network.protocol-handler.app.mailto\", \"/Programs/Firefox${PORTVER}/bin/defaultemail\");" >> ${PBIDIR}/autolibs/firefox3/greprefs/all.js 45 24 -
pbibuild/modules/firefox3/pbi.conf
r2238 r2599 33 33 # Build Key - Change this to anything else to trigger a rebuild 34 34 # - The rebuild will take place even if port is still the same ver 35 BUILDKEY=" 01"35 BUILDKEY="21" 36 36 37 37 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
