Fix typo in git's nacl.patch

This only effected the non-nacl build so it went unnoticed.

R=bradnelson@google.com, bradnelson

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1089 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Start using a sperate Google Clound Storage bucket for naclports.

To start with only the mirror of upstream archives
is stored in the new bucket.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1090 7dad1e8b-422e-d2af-fbf5-8013b78bd812
common.sh: Fix typo in MIRROR_URL

TBR=bradnelson

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1091 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix extra file downloading in scummvm and bochs

Also, remove the use of URL_FILENAME in pkg_info
where possible (this was causing the problem in
Fetch).

TBR=bradnelson

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1092 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix pnacl build for packages which depend on cli_main

It seems pnacl-ld (gold?) does not know -u flag.

TEST=./make_all.sh mingn
R=bradnelson@google.com, sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1093 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix sdk bundle buildbot.

The logic for set DEFAULT_PREFIX was inverted, causing custom
NACLPORTS_PREFIX to fail.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1094 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Do not package everything in usr/lib for mingn

<toolchain>/<arch>-nacl/usr/lib may have unnecessary files
installed by other packages (e.g., python libraries).

TEST=./make_all.sh mingn
R=bradnelson@google.com, sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1095 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Two small fixes for ruby_ppapi

- Show correct tar filename
- Print "Launch irb" message only when it actually runs irb

R=bradnelson@google.com, sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1096 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Add unzip and use it from mingn

The motivation of this change is to reduce the size of package
archives. As we do not support symlinks, package archives are
very redundant. lib.all.tar is 332MB and lib.all.zip is 88MB
for example.

Other choices considered:

- GNU tar: Need to run gzip as an external command. This
  requires pipe support in nacl_io, and even if it works, it
  might be slow.
- libarchive: This does not work well on NaCl because it
  expects several POSIX features (e.g., chmod) are available.

TEST=./make_all.sh unzip
TEST=./make_all.sh mingn  # and run it
R=bradnelson@google.com, sbc@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1097 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Cleanup mingw build script

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1098 7dad1e8b-422e-d2af-fbf5-8013b78bd812
naclterm: only print status information for pid 0

This change removes all the extra output from naclterm
that could otherwise occur while spawning subprocesses.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1099 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Clean config.cache from gcc build tree between builds.

Without this the build was erroring out when I tries
to rebuild.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1100 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Update hterm DEPS to use https

The http:// access to chromium.googlesource.com seems
to have been disabled.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1101 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Use _NEWLIB_VERSION macro to detect newlib.

This is clearer than using !__GLIBC__

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1102 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Automatically use CMake where appropriate.

Use CMake configure step if CMakeLists.txt exists.
This allows all the CMake-based build script to be
slightly simpler.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1103 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Move sha1 hashes in pkg_info.

No point in having these in individual files.  This
way also generates less filename churnn where updating
packages.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1104 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Don't use CMake unless configure is missing.

libpng ships both a configure script and CMakeList.txt
file. In this case we prefer the confgure-based build.

Also, move the imagemagick sha into the pkg_info file.
This was missed from a previous CL

TBR=bradnelson

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

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

Seperate autotools and cmake configure step and have the
default configure step call one or the other.

This allows ports such as libpng, and yajl which contain
both configure scripts and CMakeLists.txt file to override
the default and explictly call the one they need to.

R=bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@1106 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Another attempt to fix configure rule so it works with both CMake and autotools.

Looks for ./configure first and ./CMakeLists.txt second.

Override the the default for the one package that has both
files but want CMake: yajl.

This inverts the previous logic.

R=bradnelson@google.com

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

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

Fix an issue with openssl where building for newlib
would break future glibc builds (it was clobbering
the tests Makefile).

R=bradnelson@google.com

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

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