sudo cpan Module::Install # We need XUL::App 0.01 which is not on CPAN yet, # please checkout the latest source from its SVN repos: # http://svn.openfoundry.org/xulapp/trunk # Sorry for the inconvenience. perl Makefile.PL make # setup the components xulapp setup --profile dev # register the (debuggin) chrome to ~/.mozilla/firefox/*/extensions.ini xulapp register --profile dev # unregister the (debuggin) chrome from ~/.mozilla/firefox/*/extensions.ini xulapp unregister --profile dev # launch a ff window loading searchall.xul : xulapp debug searchall.xul --profile dev # launch a ff window loading searchall-debug.xul : xulapp debug searchall-debug.xul --profile dev # launch a ff window loading searchall-debug.xul but using the zh-tw locale: xulapp debug searchall-debug.xul --profile dev --lang zh-tw # lauch a ff window to test the overlay: xulapp overlay --profile dev # lanch an FF window to test the overlay using the zh-cn locale: xulapp overlay -l zh-cn -p dev # create a new the po/fr.po file (or update if it's already there): xulapp po --lang fr # update all the po/*.po files: xulapp po # generate tmp/searchall.xpi : xulapp bundle # generate ./searchall.xpi : xulapp bundle . # The --profile option used above can be abbriviated as -p # The --lang option can be abbriviated as -l as well. # # Note that xulapp uses the info in lib/*/App.pm # (i.e. lib/SearchAll/App.pm in this project)