Fix SDK package buildbot.

Make sure the toolchain include folder exists during
InjectSystemHeaders.

Also, remove redundany making of target directories in the
top level Makefile.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23578005

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@888 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Update fontconfig to recent version.

This change also used an official fontconf tarball rather
than a tarball generated from git.

This means it includes the auto-generated headers which
were previously using a the host build to generate.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23636003

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@889 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add ruby and ruby_ppapi example.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23600007

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@890 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add newlib build of ruby and ruby_ppapi.

BUG=
R=binji@chromium.org

Review URL: https://codereview.chromium.org/23486003

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@891 7dad1e8b-422e-d2af-fbf5-8013b78bd812
PNaCl build of Ruby.

This is currently disabled due to a multiple definition
issue with signal(2) being present in both nosys and in
libc.

This change will fix the broken waterfall though.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23717005

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@892 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix newlib ffmpeg build.

ffmpeg is linked against glibc-compat a not nosys.
Since adding eaccess(2) to glibc-compat ffmpeg no
longer links due to missing access(2).

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23880005

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@893 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Handle interim PNaCl toolchain location.

The location of the PNaCl toolchain in the SDK is
changing, in two phases, so we need to handle three
different possible locations here.

TBR=binji

Review URL: https://codereview.chromium.org/23621027

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@894 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add chrome webstore packaging for python, ruby and lua.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/24082002

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@895 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix glibc-comapt build on SVN checkouts.

The readonly files in the SVN checkout were causing
the glibc-compat build to fail when building for
different architectures.

This change adds a -f when copying files to that the
readonly files get overwritten.  Also clean the 'out'
folder between builds (since different builds all share
the same 'out' folder).

TBR=binji

BUG=

Review URL: https://codereview.chromium.org/24096012

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@896 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fixing build for NACL_ARCH=i686 on OSX.

sed -i needs a "zero-length extension", rather than no extension at all.

BUG=
R=sbc@chromium.org

Review URL: https://codereview.chromium.org/23475013

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@897 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix sed command so it work with mac (BSD) and GNU sed.

TBR=binji
TEST= run commond on both mac and linux

Review URL: https://codereview.chromium.org/24076009

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@898 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add initial sqlite port

This build sqlite.nexe and also sqlite_ppapi.nexe which
which runs as an hterm-based web-app.

Readline not support in newlib build yet.

BUG= https://code.google.com/p/naclports/issues/detail?id=82
R=binji@chromium.org

Review URL: https://codereview.chromium.org/23703011

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@899 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add Vim icons and update webstore version number.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23710065

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@900 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Use common hterm interface file for all naclports

R=binji@chromium.org

Review URL: https://codereview.chromium.org/23523058

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@901 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Remove glibc-compat stubs that are already provided by libnacl.

Since libnosys is effectively part of libc in recent
versions of the SDK, it will always be linked last
which means that glibc-compat symbols now always
take precidence.  This caused issues where glibc-compat
symbols started to be linked when were not previously.

Also, fix the ARM build of python by making the dummy
version getpwuid() static. Without this we were seeing
duplicate declarations with the one in newlib.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/24261011

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@902 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix sqlite glibc build.

Add -pthread of sqlite link line since nacl_io now depends
on it. Really the nacl_io.so should declare its own
dependence on pthread but that wouldn't be enough to make
the .a file useable.

Also, fix the Ruby build under pnacl which was trying to
create was calling WriteSelLdrScript on a non-existant file.

TBR=binji

Review URL: https://codereview.chromium.org/23628013

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@903 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add libcurl

Initial port of libcurl.  This relies the latest
nacl_io socket implementation.

BUG= https://code.google.com/p/naclports/issues/detail?id=83
R=binji@chromium.org

Review URL: https://codereview.chromium.org/23658041

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@904 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix nacl-mounts build.

This was broken by the move of dev IRT interfaces
to irt_dev.h.

TBR=binji

Review URL: https://codereview.chromium.org/25348002

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@905 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix for x86-64 build of libffi within python.

Had to teach libffi about nacl strange x86-64 ABI where
sizeof(size_t) == 4 and sizeof(double) == sizeof(long double).

Still fails at runtime because asm in libffi does not
validate.

Also, make pydata.tar files arch specific since they
contain .so files.

R=bradnelson@google.com

Review URL: https://codereview.chromium.org/22808007

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@906 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Update html for curl example.

The hterm window is now correctly positioned below the
instructions.  Also add a form so the paramters can easily
be passed to the nacl module.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/25640006

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@907 7dad1e8b-422e-d2af-fbf5-8013b78bd812