external/naclports.git
12 hours agoRemove test code from tinyxml since it contains main symbol. master
halyavin@google.com [Wed, 22 May 2013 06:39:17 +0000 (06:39 +0000)]
Remove test code from tinyxml since it contains main symbol.

NaCl programs should not have main symbol since it is located in ppapi libraries.

TEST= compile tinyxml and check symbols.
BUG= https://code.google.com/p/naclports/issues/detail?id=70
R=sbc@chromium.org

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

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

4 days agoFix pnacl scummvm build.
sbc@google.com [Fri, 17 May 2013 20:53:30 +0000 (20:53 +0000)]
Fix pnacl scummvm build.

TBR=binji
BUG=None

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

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

5 days agoRemove private ppapi headers from nacl-mounts.
sbc@google.com [Fri, 17 May 2013 18:51:14 +0000 (18:51 +0000)]
Remove private ppapi headers from nacl-mounts.

Add MIN_SDK_VERSION variable that packages can set to
require a certain SDK version.

BUG=None
R=binji@chromium.org

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

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

5 days agoFix scummvm and thttpd build to use ppapi_cpp_private
sbc@google.com [Fri, 17 May 2013 18:25:37 +0000 (18:25 +0000)]
Fix scummvm and thttpd build to use ppapi_cpp_private

BUG=None
R=binji@chromium.org

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

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

5 days agoAdd top level SDK libdir to sel_ldr path.
sbc@google.com [Fri, 17 May 2013 17:42:43 +0000 (17:42 +0000)]
Add top level SDK libdir to sel_ldr path.

Also, fix the tree by temporarily disabling regal glibc
build.

R=binji@chromium.org

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

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

6 days agoAdd top level SDK libdir to sel_ldr path
sbc@google.com [Thu, 16 May 2013 06:17:08 +0000 (06:17 +0000)]
Add top level SDK libdir to sel_ldr path

TBR=binji

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

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

6 days agoAdd SDK libdir to all naclports builds.
sbc@google.com [Thu, 16 May 2013 05:31:01 +0000 (05:31 +0000)]
Add SDK libdir to all naclports builds.

This change will be needed once the change lands in
the SDK that moves libppapi libraries out of the toolchain
folders.

Also, officially remove support for SDKs older than m17.

BUG=None
R=binji@chromium.org

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

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

8 days agoMore informative messages regarding disabled packages.
sbc@google.com [Tue, 14 May 2013 00:34:28 +0000 (00:34 +0000)]
More informative messages regarding disabled packages.

Rather than conditionally construct the list of all
libraries/examples use a complete list, and then
filter out the disabled examples/libraries.

Then we can define phony targets for building the
disabled libraries/examples which display a
message when somebody tries to build them.

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

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

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

2 weeks agoFix location of gsutil on buildbots
sbc@google.com [Mon, 6 May 2013 17:09:20 +0000 (17:09 +0000)]
Fix location of gsutil on buildbots

R=binji@chromium.org

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

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

2 weeks agoFix imagemagick and SDL builds.
sbc@google.com [Mon, 6 May 2013 16:06:40 +0000 (16:06 +0000)]
Fix imagemagick and SDL builds.

Remove (hopefully temporarily) the invalid .la files
for libstd++ that are shipped with the SDK.

Enable building of shared libraries for bzip2 and glib.
Without this shared libraries that consume these would
not link as the non-shared versions were not compiled
with -fPIC.

R=binji@chromium.org

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

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

2 weeks agoFix dosbox build.
sbc@google.com [Sun, 5 May 2013 20:24:09 +0000 (20:24 +0000)]
Fix dosbox build.

Link SDL with C++ compiler and use --as-needed when
building dosbox so avoid loading libSDL.so during
configure.

Adding --as-needed to LDFLAGS for ImageMagick also
solved the glibc build failure there.

TBR=binji

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

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

2 weeks agoFix building of shared libraries for imagemagick
sbc@google.com [Sat, 4 May 2013 01:52:24 +0000 (01:52 +0000)]
Fix building of shared libraries for imagemagick

TBR=binji
BUG=

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

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

2 weeks agoWhen building sdk_bundle, don't exit if TEST_BUILDBOT isn't defined.
binji@chromium.org [Sat, 4 May 2013 00:40:03 +0000 (00:40 +0000)]
When building sdk_bundle, don't exit if TEST_BUILDBOT isn't defined.

BUG=none
R=sbc@chromium.org

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

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

2 weeks agoEnable shared libraries for more ports.
sbc@google.com [Sat, 4 May 2013 00:32:04 +0000 (00:32 +0000)]
Enable shared libraries for more ports.

All the libraries in the SDK, with the exception of liblua now
build as shared libraries under glibc.

The configure script hacking is pretty horrible, but the intension
is that this will turn into an upstream patch to libtool in the
near future.

BUG=
R=binji@chromium.org

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

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

2 weeks agoFix NaCl sdk bundle buildbot.
binji@chromium.org [Fri, 3 May 2013 23:33:01 +0000 (23:33 +0000)]
Fix NaCl sdk bundle buildbot.

BUG=none
R=sbc@chromium.org

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

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

2 weeks agoFix shell error in buildbot_selector.sh
sbc@google.com [Fri, 3 May 2013 22:07:40 +0000 (22:07 +0000)]
Fix shell error in buildbot_selector.sh

R=binji@chromium.org
BUG=

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

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

2 weeks agobuildbot: Upload naclports SDK bundle to GS storage.
sbc@google.com [Fri, 3 May 2013 21:34:33 +0000 (21:34 +0000)]
buildbot: Upload naclports SDK bundle to GS storage.

Each time the SDK bundle builder runs it archives the
bundle here:
https://commondatastorage.googleapis.com/nativeclient-mirror/naclports

This allows bundles built from the head of naclports
to be downloaded and tested before the changes are
rolled into the chrome repo.

Also, rename buildbot scripts.  The only script that
changed as well as being renamed is the sdk bundle
builder.

Also, allow for fast iteration by disabling SDK download
and cleaning of the naclports build when TEST_BUILDBOT
is set.

BUG=
R=binji@chromium.org

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

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

2 weeks agoUse -isystem for naclports include.
sbc@google.com [Fri, 3 May 2013 01:53:22 +0000 (01:53 +0000)]
Use -isystem for naclports include.

GCC is a little more forgiving when generating warnings for
system includes.  Using -isystem for naclports means that
projects can build with -Wall without getting warnings from
the naclports headers.

The particular case warning that triggered me to write
this change was a bunch of missing enum in switch warnings
in the vorbis headers.

BUG=
R=binji@chromium.org

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

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

2 weeks agoAdd pnacl libs to the SDK bundle
sbc@google.com [Thu, 2 May 2013 19:46:30 +0000 (19:46 +0000)]
Add pnacl libs to the SDK bundle

BUG=
R=binji@chromium.org

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

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

2 weeks agoAdd ARM configuration to buildbots
sbc@google.com [Thu, 2 May 2013 17:27:01 +0000 (17:27 +0000)]
Add ARM configuration to buildbots

BUG=
R=binji@chromium.org

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

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

2 weeks agoEnable building of shared libraries under glibc.
sbc@google.com [Thu, 2 May 2013 00:13:16 +0000 (00:13 +0000)]
Enable building of shared libraries under glibc.

Also roll Regal version which was broken by the new
ARM gcc version (4.8).

BUG=
R=binji@chromium.org

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

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

3 weeks ago[NaCl SDK] Fix nacl_mounts build failure.
binji@chromium.org [Wed, 1 May 2013 18:36:39 +0000 (18:36 +0000)]
[NaCl SDK] Fix nacl_mounts build failure.

nacl_irt_memory structure was renamed again.

BUG=none
R=sbc@chromium.org

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

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

3 weeks agoEnable glibc shared library support for zlib.
sbc@google.com [Fri, 26 Apr 2013 21:34:44 +0000 (21:34 +0000)]
Enable glibc shared library support for zlib.

Add fPIC for shared builds.

Add default validation and translation steps
to build process.

BUG=https://code.google.com/p/chromium/issues/detail?id=168693&

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

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

3 weeks agophysfs builds for ARM.
binji@chromium.org [Thu, 25 Apr 2013 22:27:28 +0000 (22:27 +0000)]
physfs builds for ARM.

the NaCl GCC compiler for ARM doesn't define __unix__, so we get linker errors.
This change adds a test for __native_client__ in addition to __unix__.

BUG=none
R=sbc@chromium.org

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

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

3 weeks agoRemove jsoncpp and gtest from SDK libs.
binji@chromium.org [Thu, 25 Apr 2013 22:26:36 +0000 (22:26 +0000)]
Remove jsoncpp and gtest from SDK libs.

We'll build these in the SDK repo instead.

BUG=none
R=sbc@chromium.org

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

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

3 weeks agoTurn off building tests for physfs.
binji@chromium.org [Thu, 25 Apr 2013 20:58:04 +0000 (20:58 +0000)]
Turn off building tests for physfs.

They don't currently build without using zlib as shared library.

BUG=none
R=sbc@chromium.org

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

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

3 weeks agoFix pnacl build of DevIL.
binji@chromium.org [Thu, 25 Apr 2013 19:53:14 +0000 (19:53 +0000)]
Fix pnacl build of DevIL.

Apparently, clang++ doesn't like -std=gnu99; g++ doesn't seem to mind.

Removing -std=gnu99 entirely fails, adding -std=c99 fails, and I don't know
autoconf well enough to configure CXXFLAGS but not CFLAGS.

The parameter was used to support the restrict keyword, so I've just disabled
it for now.

BUG=none
R=sbc@chromium.org

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

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

3 weeks agoAdd jsoncpp to the SDK build.
binji@chromium.org [Thu, 25 Apr 2013 19:49:37 +0000 (19:49 +0000)]
Add jsoncpp to the SDK build.

BUG=none
R=sbc@chromium.org

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

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

4 weeks agoTurn off shared building of physfs.
binji@chromium.org [Tue, 23 Apr 2013 23:05:18 +0000 (23:05 +0000)]
Turn off shared building of physfs.

It needs -fPIC, but I'm not sure how to turn that on in cmake. :P

BUG=none
R=sbc@chromium.org

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

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

4 weeks agoLimit libraries installed by regal.
sbc@google.com [Tue, 23 Apr 2013 21:10:43 +0000 (21:10 +0000)]
Limit libraries installed by regal.

Regal builds its own local copies of libpng and libz
which we don't want to install.  Ideally we should
disable these completely.

Also, remove redundant setting of NACL_GLIBC in common.sh
and fix capitalization of NaCl in make_all.sh.

BUG=

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

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

4 weeks agoAdd mng, lcms, DevIL, physfs, mpg123 to buildbots.
binji@chromium.org [Mon, 22 Apr 2013 21:45:12 +0000 (21:45 +0000)]
Add mng, lcms, DevIL, physfs, mpg123 to buildbots.

BUG=none
R=sbc@chromium.org

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

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

4 weeks agoAdd mpg123 1.14.4
binji@chromium.org [Thu, 18 Apr 2013 00:09:52 +0000 (00:09 +0000)]
Add mpg123 1.14.4

See http://www.mpg123.de/

BUG=none
R=sbc@chromium.org

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

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

4 weeks agoAdded PhysFS 2.0.3
binji@chromium.org [Wed, 17 Apr 2013 19:20:34 +0000 (19:20 +0000)]
Added PhysFS 2.0.3

See http://icculus.org/physfs.

BUG=none
R=sbc@chromium.org

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

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

4 weeks agoAdded DevIL-1.7.8
binji@chromium.org [Wed, 17 Apr 2013 19:05:32 +0000 (19:05 +0000)]
Added DevIL-1.7.8

See http://openil.sourceforge.net

BUG=none
R=sbc@chromium.org

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

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

5 weeks agoAdd lcms2-2.4
binji@chromium.org [Wed, 17 Apr 2013 18:43:23 +0000 (18:43 +0000)]
Add lcms2-2.4

See http://www.littlecms.com/

BUG=none
R=sbc@chromium.org

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

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

5 weeks agoAdd libmng-1.0.10
binji@chromium.org [Wed, 17 Apr 2013 18:16:56 +0000 (18:16 +0000)]
Add libmng-1.0.10

See http://www.libmng.com

BUG=none
R=sbc@chromium.org

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

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

5 weeks agoAdd modplug & theora ports to sdk via SDK_LIBS. Sort SDK_LIBS entries.
nfullagar@google.com [Wed, 17 Apr 2013 00:09:47 +0000 (00:09 +0000)]
Add modplug & theora ports to sdk via SDK_LIBS.  Sort SDK_LIBS entries.
BUG=none
TEST=none

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

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

7 weeks agoAdd Regal library.
sbc@google.com [Mon, 1 Apr 2013 21:47:54 +0000 (21:47 +0000)]
Add Regal library.

Regal is a portable OpenGL layer on top of existing OpenGL
implementations. Compile and link an app against Regal and
deploy on various OpenGL implementations including
compatibility, core and ES 2.0 OpenGL contexts.

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

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

7 weeks agoEnable flac and lame ARM builds.
sbc@google.com [Mon, 1 Apr 2013 21:37:58 +0000 (21:37 +0000)]
Enable flac and lame ARM builds.

ffmpeg and libtheora remain unbuildable with arm gcc for now.

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

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

7 weeks agoMake installed gtest headers writable
sbc@google.com [Mon, 1 Apr 2013 17:53:30 +0000 (17:53 +0000)]
Make installed gtest headers writable

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

7 weeks agoFix gtest build on glibc
sbc@google.com [Fri, 29 Mar 2013 22:54:51 +0000 (22:54 +0000)]
Fix gtest build on glibc

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

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

7 weeks agoFix compile failure because of IRT memory struct name change.
binji@chromium.org [Fri, 29 Mar 2013 22:29:18 +0000 (22:29 +0000)]
Fix compile failure because of IRT memory struct name change.

NaCl-Mounts manually patches the IRT memory structure, but its name changed
from nacl_irt_memory to nacl_irt_memory_v0_1 and nacl_irt_memory_v0_2.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=895
R=sbc@chromium.org

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

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

7 weeks agoUpdate gtest to 1.6.0
sbc@google.com [Fri, 29 Mar 2013 22:18:04 +0000 (22:18 +0000)]
Update gtest to 1.6.0

Also add gtest to the SDK bundle.

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

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

7 weeks agoFixing more error in sys/termios.h constants
dpolukhin@google.com [Fri, 29 Mar 2013 10:08:27 +0000 (10:08 +0000)]
Fixing more error in sys/termios.h constants

BUG=218361
TEST=Secure Shell
Review URL: https://codereview.chromium.org/13008014

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

8 weeks agoFix Box2D build
sbc@google.com [Mon, 25 Mar 2013 21:50:45 +0000 (21:50 +0000)]
Fix Box2D build

These changes should have been part of the previous CL:
https://codereview.chromium.org/12516022

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

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

8 weeks agoAdd license infomation for all ports
sbc@google.com [Mon, 25 Mar 2013 20:53:41 +0000 (20:53 +0000)]
Add license infomation for all ports

Add 'check_licenses.py' which checks licenses of all ports.
Add 'naclports.py' library for use by check_license and
update_mirror.

Update DefaultExtactZipStep not to create extra nested
folder (assumes zip contents contain folder).

BUG=https://code.google.com/p/chromium/issues/detail?id=222128
TEST=./build_tools/check_licenses.py &&./build_tools/update_mirror.py

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

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

2 months agoFix values for ECHOCTL and IEXTEN
dpolukhin@google.com [Fri, 22 Mar 2013 05:18:23 +0000 (05:18 +0000)]
Fix values for ECHOCTL and IEXTEN

BUG=none
TEST=build Secure Shell with glibc-comapt and run stty in terminal TOSTOP shouldn't be set
Review URL: https://codereview.chromium.org/12620034

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

2 months agoRemove __libc_resp alias from glibc-compat
dpolukhin@google.com [Thu, 21 Mar 2013 13:01:08 +0000 (13:01 +0000)]
Remove __libc_resp alias from glibc-compat

BUG=none
TEST=build Secure Shell with pnacl toolcahin successfully
Review URL: https://codereview.chromium.org/12984003

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

2 months agoDon't hardcode Python path
sbc@google.com [Tue, 19 Mar 2013 00:12:13 +0000 (00:12 +0000)]
Don't hardcode Python path

Instead of hardcoding /usr/bin/python, which might be set to point to
Python3 for many users, execute `/usr/bin/env python` in the she-bang;
users simply need to be instructed to make sure that this points to
Python2.

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

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

2 months agoFix patching of read-only config.sub files.
sbc@google.com [Sat, 23 Feb 2013 03:58:44 +0000 (03:58 +0000)]
Fix patching of read-only config.sub files.

Some packages (thttpd in this case) ship archives
containing readonly files.  This was causing the
overwriting of config.sub to fail.

BUG=None
TEST=make all

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

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

2 months agoFix pango glibc build
sbc@google.com [Sat, 23 Feb 2013 01:55:26 +0000 (01:55 +0000)]
Fix pango glibc build

Patch config.sub as part of the default patch step rather
than the configure step.  This allows packages with custom
configure steps take advantage of the automatic config.sub
patching.

BUG=None

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

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

2 months agoAdd webp library to naclports and SDK bundle
sbc@google.com [Fri, 22 Feb 2013 23:51:17 +0000 (23:51 +0000)]
Add webp library to naclports and SDK bundle

Also, add generic patching of config.sub which allows the
removal of this from many patch files.  For now I've removed
only those patch files that touch only config.sub.

BUG=None
TEST=make

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

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

2 months agoAdd yajl to linux bot 1.
binji@chromium.org [Fri, 22 Feb 2013 23:19:46 +0000 (23:19 +0000)]
Add yajl to linux bot 1.

FYI:
glibc:
bot-0: ~19m
bot-1: ~14m
bot-2: ~28m

newlib:
bot-0: ~20m
bot-1: ~10m
bot-2: ~1hr 30m

BUG=none
TBR=sbc@chromium.org

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

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

2 months agoDownload the correct mirrored file for YAJL.
binji@chromium.org [Fri, 22 Feb 2013 22:39:49 +0000 (22:39 +0000)]
Download the correct mirrored file for YAJL.

On github it is 2.0.4.zip, on the mirror it is yajl-2.0.4.zip.

BUG=none
TBR=sbc@chromium.org

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

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

2 months agoAdd yajl 2.0.4 (Yet Another JSON Library)
binji@chromium.org [Fri, 22 Feb 2013 20:44:08 +0000 (20:44 +0000)]
Add yajl 2.0.4 (Yet Another JSON Library)

See http://lloyd.github.com/yajl/

BUG=none
R=sbc@chromium.org

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

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

2 months agoFix building of naclports SDK bundle.
sbc@google.com [Wed, 20 Feb 2013 18:49:10 +0000 (18:49 +0000)]
Fix building of naclports SDK bundle.

The previous change was broken in that it failed to create
the bundle output directory before copying into it.

Also, normalise OUT_DIR to make log message easier to read.

TBR=binji
TEST=run nacl-linux-sdk-bundle.sh

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

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

2 months agoOnly ship libs and headers in SDK bundle.
sbc@google.com [Wed, 20 Feb 2013 17:47:46 +0000 (17:47 +0000)]
Only ship libs and headers in SDK bundle.

Other build products such as pkgconfig and man pages
are ignored.

TBR=binji
BUG=https://code.google.com/p/chromium/issues/detail?id=177090

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

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

3 months agoFix broken SDK ports builder.
sbc@google.com [Fri, 15 Feb 2013 01:09:51 +0000 (01:09 +0000)]
Fix broken SDK ports builder.

Don't try to install arm/glibc headers/libraries since
that don't exist.

Also, make sure sdklibs are built in the right order to
avoid dependencies being built implicitly.

BUG=None

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

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

3 months agoDon't build arm packages with NACL_GLIBC=1
sbc@google.com [Fri, 15 Feb 2013 00:26:13 +0000 (00:26 +0000)]
Don't build arm packages with NACL_GLIBC=1

Add errors to top level Makefile, add to common.sh
when someboty tries to do this.

Fix bug in nacl-linux-sdk-bundle.sh that was causing
arm glibc builds to be run.

BUG=None

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

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

3 months agoAdd openal and vorbis to list of SDK libs.
sbc@google.com [Thu, 14 Feb 2013 22:49:18 +0000 (22:49 +0000)]
Add openal and vorbis to list of SDK libs.

Also, have the buildbot get the list of SDK libs from the
top level Makefile so the list is not duplicated.

BUG=None

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

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

3 months agoRemove SRPC examples
sbc@google.com [Fri, 1 Feb 2013 20:05:26 +0000 (20:05 +0000)]
Remove SRPC examples

SRPC headers are no longer part of the NaCl SDK so it
doesn't make any sense to publish/maintain these
examples.

BUG=None

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

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

3 months agoFix ALUT build.
sbc@google.com [Thu, 31 Jan 2013 23:36:39 +0000 (23:36 +0000)]
Fix ALUT build.

The openal headers now include ppapi headers to OpenAL needs
to be able to access ppapi headers.

TBR=binji
BUG=None

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

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

3 months agoFix openal NaCl port.
sbc@google.com [Thu, 31 Jan 2013 19:30:30 +0000 (19:30 +0000)]
Fix openal NaCl port.

The example code was only decoding the first few openAl
buffers and then just playing the same buffer in loop.
This was due to MinBufferSizeInBytes being less than the
PPAPI buffer size which could lead to the buffer being
too empty for the reader (PPAPI) and not empty enough for
writer.

This change consists of:
 - go-between buffer size takes into account PPAPI
   buffer size as well as openAL buffer size.
 - having PPAPI callback buffer whatever samples are in
   the buffer, even if there are not enough

BUG=None
TEST=run openal-ogg example app

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

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

3 months agoNew upstream versions of libvorbis and libogg
sbc@google.com [Thu, 31 Jan 2013 19:06:25 +0000 (19:06 +0000)]
New upstream versions of libvorbis and libogg

Also, run patch in the port folder so that patches from
previous versions still have a chance of applying (as
in this case).

BUG=None
TEST=./make_all.sh vorbis + run openal-ogg example

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

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

3 months agoAdd freealut (openal utility library)
sbc@google.com [Thu, 31 Jan 2013 01:17:43 +0000 (01:17 +0000)]
Add freealut (openal utility library)

BUG=None
TEST=./make_all.sh freealut

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

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

3 months agoRename gc port gc6.8 -> gc.
sbc@google.com [Thu, 31 Jan 2013 00:01:42 +0000 (00:01 +0000)]
Rename gc port gc6.8 -> gc.

This is in line with previous changes to remove
version numbers from the directories in which
the ports live.

BUG=None
TEST=make gc

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

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

3 months agoAdd support for building debug packages with NACL_DEBUG
sbc@google.com [Tue, 29 Jan 2013 16:22:15 +0000 (16:22 +0000)]
Add support for building debug packages with NACL_DEBUG

BUG=None
TEST="NACL_DEBUG=1 ./make_all.sh"

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

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

3 months agoFix x264 build on ARM.
sbc@google.com [Tue, 29 Jan 2013 01:35:58 +0000 (01:35 +0000)]
Fix x264 build on ARM.

Using -O2 rather than -O4 until this gets fixed:
https://code.google.com/p/nativeclient/issues/detail?id=3273

R=binji
BUG=None
TEST=NACL_ARCH=arm make x264

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

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

3 months agoAdd arm configuration to top level make_all.sh.
sbc@google.com [Mon, 28 Jan 2013 21:56:56 +0000 (21:56 +0000)]
Add arm configuration to top level make_all.sh.

Also fix typo in nacl-mounts build script, and revert
nacl-fftw.sh change the broke i686 build.

BUG=None
TEST=./make_all.sh

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

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

3 months agoFix ARM build of naclports.
sbc@google.com [Mon, 28 Jan 2013 21:16:40 +0000 (21:16 +0000)]
Fix ARM build of naclports.

BUG=https://code.google.com/p/naclports/issues/detail?id=65
TEST=make NACL_ARCH=arm

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

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

3 months agoRemove old gcc -V workaround
sbc@google.com [Fri, 25 Jan 2013 22:02:45 +0000 (22:02 +0000)]
Remove old gcc -V workaround

This removes a lot of error chatter from the win32 build.

BUG=None

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

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

3 months agoAdd libxml2 to linux buildbot and SDK ports bundle.
sbc@google.com [Fri, 25 Jan 2013 19:25:45 +0000 (19:25 +0000)]
Add libxml2 to linux buildbot and SDK ports bundle.

BUG=None
TEST=make sdklibs

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

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

3 months agoFix nacl_build.mk build system.
sbc@google.com [Fri, 25 Jan 2013 18:49:42 +0000 (18:49 +0000)]
Fix nacl_build.mk build system.

This build system which is used by several projects in the
examples folder looks like it hasn't worked at all for a
long time.  This change makes the build system work but
many of the examples that use it don't compile against the
latest PPAPI headers.

BUG=None
TEST=run 'make' for each example

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

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

3 months agoUpgrade libtiff (to 4.0.3) and libjpeg (to 8d)
sbc@google.com [Fri, 25 Jan 2013 18:47:53 +0000 (18:47 +0000)]
Upgrade libtiff (to 4.0.3) and libjpeg (to 8d)

BUG=None
TEST=./make_all.sh

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

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

3 months agoRemove requirement for PATCH_FILE setting.
sbc@google.com [Fri, 25 Jan 2013 00:31:36 +0000 (00:31 +0000)]
Remove requirement for PATCH_FILE setting.

Also, simplify libjpeg build considerably.

BUG=https://code.google.com/p/naclports/issues/detail?id=10

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

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

3 months agoFix typo in thttpd build script
sbc@google.com [Fri, 25 Jan 2013 00:28:56 +0000 (00:28 +0000)]
Fix typo in thttpd build script

BUG=None

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

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

3 months agoAdd libxml2 to naclports
sbc@google.com [Thu, 24 Jan 2013 18:21:09 +0000 (18:21 +0000)]
Add libxml2 to naclports

R=binji
BUG=None

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

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

3 months agoFix thttpd create_nmf code for multiple .nexe's
sbc@google.com [Thu, 24 Jan 2013 18:20:10 +0000 (18:20 +0000)]
Fix thttpd create_nmf code for multiple .nexe's

The library path was broken by recent changes.

BUG=None

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

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

3 months agoAdd make_all.sh script to build all configuration
sbc@google.com [Thu, 24 Jan 2013 18:19:26 +0000 (18:19 +0000)]
Add make_all.sh script to build all configuration

This can be run to build all ports for all architecture
and C library combination.

I can also be used to build all combinations of just
one port.  e.g:

$ ./build_all.sh png

R=binji
BUG=None

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

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

3 months agoRename naclports packages not to include version.
sbc@google.com [Thu, 24 Jan 2013 00:42:44 +0000 (00:42 +0000)]
Rename naclports packages not to include version.

This change renames the directories containing packages
to that they do not contain version numbers.  It also
renames the .sh build script and the .patch files likewise.
The rational here is that:
 a) its redundant information
 b) it makes it hard to navigate the tree and run scripts.
    (./libraries/lua/nacl-lua.sh is much easier to type
     than ./libraries/lua-5.4.1/nacl-lua-5.4.1.sh)
 c) its makes it hard to roll package versions (you need to
    rename folders and then rename files within them
    to bump a version)

One downside is that it becomes messier when you want to
package two versions of the same library.  This would then
be and exception to the rule when a version could be
included in the package name (similar to how it is done
for deb packages).

BUG=

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

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

3 months agoFix .nmf for Super Nintendo simulator. Few games I
olonho@google.com [Wed, 23 Jan 2013 10:55:23 +0000 (10:55 +0000)]
Fix .nmf for Super Nintendo simulator. Few games I
tried actually work on Nexus.
Review URL: https://codereview.chromium.org/11896026

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

3 months agoAdd missing import to sha1sum.py.
sbc@google.com [Tue, 22 Jan 2013 21:31:34 +0000 (21:31 +0000)]
Add missing import to sha1sum.py.

Direct errors to stderr (since the normal operation of this
script is to redirect stdout, errors were being hidden).

Don't catch generic Exception.

Don't allow empty .sha1 files when checking sums.

BUG=None

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

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

4 months agoAdd missing pkg_info for scummvm and bochs
sbc@google.com [Sat, 19 Jan 2013 00:35:17 +0000 (00:35 +0000)]
Add missing pkg_info for scummvm and bochs

BUG=None

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

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

4 months agoFix build flake on box2d port.
binji@chromium.org [Fri, 18 Jan 2013 20:05:31 +0000 (20:05 +0000)]
Fix build flake on box2d port.

Cmake seems to have problems building multiple targets in parallel (it spawns
two submakes on the same makefile).

BUG=none

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

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

4 months agoFix thttpd build on linx-glibc bots.
binji@chromium.org [Fri, 18 Jan 2013 19:27:25 +0000 (19:27 +0000)]
Fix thttpd build on linx-glibc bots.

BUG=none
R=sbc@chromium.org

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

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

4 months agoFix dosbox build under pnacl
sbc@google.com [Fri, 18 Jan 2013 19:12:15 +0000 (19:12 +0000)]
Fix dosbox build under pnacl

BUG=None
TEST=make dosbox

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

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

4 months agoFix pnacl bots by adding missing include dir.
sbc@google.com [Fri, 18 Jan 2013 02:34:15 +0000 (02:34 +0000)]
Fix pnacl bots by adding missing include dir.

BUG=

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

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

4 months agoDon't use BUILDBOT_BUILDERNAME to determine OS.
sbc@google.com [Thu, 17 Jan 2013 23:45:58 +0000 (23:45 +0000)]
Don't use BUILDBOT_BUILDERNAME to determine OS.

Using BUILDBOT_BUILDERNAME is bad idea, but it also
forces us to define this variable in local testing.

BUG=None

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

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

4 months agoAdd NACLPORTS_NO_ANNOTATE, for use in SDK buildbot.
sbc@google.com [Thu, 17 Jan 2013 23:17:40 +0000 (23:17 +0000)]
Add NACLPORTS_NO_ANNOTATE, for use in SDK buildbot.

Does what is says on the box.

BUG=None

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

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

4 months agoMake nacl-linux-sdk-bundle.sh independant of CWD.
sbc@google.com [Thu, 17 Jan 2013 22:58:08 +0000 (22:58 +0000)]
Make nacl-linux-sdk-bundle.sh independant of CWD.

This allows us to run it from the top level of naclports, for
example.

BUG=

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

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

4 months agoUpdate gitignore, remove debugging, move stray file under libraries.
sbc@google.com [Thu, 17 Jan 2013 22:50:24 +0000 (22:50 +0000)]
Update gitignore, remove debugging, move stray file under libraries.

Some stray debugging was added to buildbot_selector.sh by
mistake.

Move old (and most likely unused) ld helper script from
libraries to build_tools.

BUG=None

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

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

4 months agoFix ignoring of errors in naclports buildbot scripts.
sbc@google.com [Thu, 17 Jan 2013 22:33:14 +0000 (22:33 +0000)]
Fix ignoring of errors in naclports buildbot scripts.

The errexit state in the shell was mistaken left unset
after downloading tarballs.

Also, check for existence of patch program.

BUG=

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

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

4 months agoMake SDK builder download latest SDK toolchain.
binji@chromium.org [Thu, 17 Jan 2013 22:07:42 +0000 (22:07 +0000)]
Make SDK builder download latest SDK toolchain.

BUG=none
R=sbc@chromium.org

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

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

4 months agoAdd sdk builder bot script.
binji@chromium.org [Thu, 17 Jan 2013 19:10:30 +0000 (19:10 +0000)]
Add sdk builder bot script.

It only builds a subset of the ports, only on Linux, all
architectures/libc/configuration.

BUG=168693
R=sbc@chromium.org

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

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

4 months agoFix broken pnacl bots.
sbc@google.com [Thu, 17 Jan 2013 18:28:57 +0000 (18:28 +0000)]
Fix broken pnacl bots.

Make setting of NACLPORTS_CFLAGS/LDFLAGS universal so they
are available in pancl builds too.

BUG=None
TBR=binji
TEST=NACL_ARCH=pnacl make

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

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

4 months agoCall download_sdk.py using relative path.
sbc@google.com [Thu, 17 Jan 2013 00:46:18 +0000 (00:46 +0000)]
Call download_sdk.py using relative path.

This should fix the win32 bots which use non-cygwin
python which can't parse an absolute cygwin path.

BUG=

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

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

4 months agoFix broken pnacl bots.
sbc@google.com [Thu, 17 Jan 2013 00:32:54 +0000 (00:32 +0000)]
Fix broken pnacl bots.

Remove -f/--flavor option from download_sdk.py.  It was only
needed for downloading the legacy pnacl-specific SDK which
no longer exists.

Remove redundant buildbot_sdk_setup.py.

pnacl bots now share cleanup and SDK install steps with other
bots.

BUG=None
TEST=BUILDBOT_BUILDERNAME=linux-pnacl_newlib-all build_tools/buildbot_selector.sh

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

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

4 months agofix nethacks build
sbc@google.com [Wed, 16 Jan 2013 23:20:21 +0000 (23:20 +0000)]
fix nethacks build

BUG=None
TEST=make nethacks

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

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

4 months agoFix cygwin path in download_sdk.py.
sbc@google.com [Wed, 16 Jan 2013 22:10:20 +0000 (22:10 +0000)]
Fix cygwin path in download_sdk.py.

This change should fix a lot of the broken windows buildbots.

Also, add error function.

Also, only look back 100 revision for an SDK to download.

BUG=https://code.google.com/p/naclports/issues/detail?id=63

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

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

4 months agoRemove use of TarFile as context manager.
sbc@google.com [Wed, 16 Jan 2013 21:21:29 +0000 (21:21 +0000)]
Remove use of TarFile as context manager.

It seems that this is only available in python 2.7.

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

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