<commit_before>External Native Client SDK Packages

The scripts directory contains bash scripts and patch files to build
common packages for Native Client. The bash scripts will download, patch
build and copy the binary library and developer header files into your
Native Client SDK.

The nacl-install-all.sh script will iterate over all scripts.  This
will download, patch, build and install all the libraries supported by the
SDK.  It is recommended to install all the SDK libraries once using this
higher level script, instead of the individual scripts.

Headers and libraries are installed where nacl-gcc and nacl-g++ will
be able to automatically find them without having to add extra -I or -L
options.  (Currently, these scripts will generate a gcc "specs" file
to add the required extra paths.)

The source code & build out for each package is placed in:

  naclports/packages/repository

NOTE:  These external libraries each have their own licenses for use.
Please read and understand these licenses before using these packages
in your projects.

NOTE to Windows users:  These scripts are written in bash and must be
launched from a Cygwin shell.

To add a package:
1. Make sure you have a writable version of the repository
    gclient config https://naclports.googlecode.com/svn/trunk/src
2. Add a directory to the scripts directory using the name and version of
    your new package.  For example, nacl-esidl-0.1.5
3. Add the build script to that directory.
4. Optionally build a tarball.  If you choose to do this, you will need to
    create a checksum for it using scripts/sha1sum.py.  Redirect the script
    output to a .sha1 file so that the common.sh script can pick it up.  E.g.:
    python scripts/sha1sum.py mytarball.zip > scripts/nacl-esidl-0.1.5/nacl-esidl-0.1.5.sha1
5. Add the invocation of you rscript to nacl-install-all-bitsize.sh, e.g.:
    (cd scripts/nacl-esidl-0.1.5; ./nacl-esidl-0.1.5.sh)
<commit_msg>Update naclports README<commit_after>External Native Client SDK Packages

The libraries directory contains bash scripts and patch files to build
common libraries for Native Client. The bash scripts will download, patch
build and copy the binary library and developer header files into your
Native Client SDK.

The Makefile can build all of the libraries. Package dependencies are 
built into the Makefile. For example, 'make vorbis' will build
libvorbis-1.2.3 and libogg-1.1.4.  'make all' will build all of the libraries.

Headers and libraries are installed where nacl-gcc and nacl-g++ will
be able to automatically find them without having to add extra -I or -L
options.  (Currently, these scripts will generate a gcc "specs" file
to add the required extra paths.)

The source code and build output for each package is placed in:

  naclports/src/out/repository          for 32-bit builds
  naclports/src/out/repository64        for 64-bit builds

NOTE:  These external libraries each have their own licenses for use.
Please read and understand these licenses before using these packages
in your projects.

NOTE to Windows users:  These scripts are written in bash and must be
launched from a Cygwin shell.

To add a package:
1. Make sure you have a writable version of the repository
    gclient config https://naclports.googlecode.com/svn/trunk/src
2. Add a directory to the libraries directory using the name and version of
    your new package.  For example, nacl-esidl-0.1.5
3. Add the build script to that directory.
4. Optionally build a tarball.  If you choose to do this, you will need to
    create a checksum for it using naclports/src/build_tools/sha1sum.py.  Redirect 
    the script output to a .sha1 file so that the common.sh script can pick it up.  E.g.:
    python scripts/sha1sum.py mytarball.zip > scripts/nacl-esidl-0.1.5/nacl-esidl-0.1.5.sha1
5. Add the invocation of your script to the Makefile

{'fraction_non_alphanumeric': 0.05289084780917812, 'fraction_numerical': 0.014000518537723619, 'mean_word_length': 3.7395577395577395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2314895', 'n_tokens_mistral': 1105, 'n_tokens_neox': 1069, 'n_words': 559}