From 3408c70243f8f9097feed86df427d975d23cc538 Mon Sep 17 00:00:00 2001 From: Nik Nyby Date: Sat, 27 Jun 2015 10:55:46 -0400 Subject: update docs for jpm --- doc/librejs.info | 64 ++++++++++++++++++++++---------------------------------- 1 file changed, 25 insertions(+), 39 deletions(-) (limited to 'doc/librejs.info') diff --git a/doc/librejs.info b/doc/librejs.info index f3ee4f9..ae23807 100644 --- a/doc/librejs.info +++ b/doc/librejs.info @@ -90,8 +90,8 @@ or by building it from source. 3.1 Building the Package ======================== -After enabling the Add-on SDK, you should be able to use the 'make' -command to build LibreJS from source. +After installing 'jpm', you should be able to use the 'make' command to +build LibreJS from source. After running 'make', a new file, 'librejs.xpi' should be generated. This is the file that can be installed in a Mozilla browser. @@ -647,40 +647,26 @@ LibreJS has been tested extensively on multiple GNU/Linux distributions, but it is compatible any operating system as long as you're using a compatible Mozilla browser. -A.2 Mozilla's Add-on SDK -======================== - -LibreJS uses the Mozilla Add-on SDK (Software Development Kit), a set of -APIs and tools to create add-ons for Mozilla browsers. - - You do not need the Add-on SDK to use LibreJS xpi file or to install -it using the packaged version, but it is required in order to package -the LibreJS source code into an xpi file using 'make'. If you would -like to run the tests for LibreJS or make changes to the source files, -you will need the Add-on SDK as well. For the "make" command to work -properly, you must have the 'cfx' command available on your system from -the command line. - - The latest tarball for the Add-on SDK is available at: - - - - Instructions on how to get it working are available here: +A.2 Mozilla's Jetpack Manager for Node.js +========================================= - +LibreJS uses the Mozilla 'jpm' tool, a set of utilities for creating, +testing, running and packaging Mozilla Jetpack Addons. - In order to use 'make' with LibreJS source, however, it is ideal to -have 'cfx' available at all times and for all users. + You do not need 'jpm' to use the LibreJS xpi file or to install it +using the packaged version, but it is required in order to package the +LibreJS source code into an xpi file. If you would like to run the +tests for LibreJS or make changes to the source files, you will need +'jpm' as well. For the "make" command to work properly, you must have +the 'jpm' command available on your system from the command line. - An easy way to do this is to extract the contents of the tarball and -to place the files inside '/usr/lib/addon-sdk' and then creating a -symbolic link in '/usr/bin', as follows: + You can find information on getting 'jpm' at these links: - sudo ln -s /usr/lib/addon-sdk/bin/cfx /usr/bin/cfx + - The 'cfx' command will then be available to all users. + - The Add-on SDK is released under the Mozilla Public License 2.0. + JPM is released under the Mozilla Public License 2.0.  File: librejs.info, Node: LibreJS Internals, Next: Tests, Prev: Installation Requirements, Up: Top @@ -1285,14 +1271,14 @@ Node: Top841 Node: Overview2000 Node: Disclaimer2847 Node: Installation3343 -Node: How to Use4196 -Node: JavaScript Detection7438 -Node: Free Licenses Detection10846 -Node: Setting Your JavaScript Free17264 -Node: LibreJS Development Notes24098 -Node: Installation Requirements25470 -Node: LibreJS Internals27624 -Node: Tests28787 -Node: GNU Free Documentation License33294 +Node: How to Use4189 +Node: JavaScript Detection7431 +Node: Free Licenses Detection10839 +Node: Setting Your JavaScript Free17257 +Node: LibreJS Development Notes24091 +Node: Installation Requirements25463 +Node: LibreJS Internals27070 +Node: Tests28233 +Node: GNU Free Documentation License32740  End Tag Table -- cgit v1.2.3