external/naclports.git
56 min agoUpdate SDL2 versio 9cd11ad->308fae8 master
sbc@google.com [Thu, 28 Aug 2014 14:11:21 +0000 (14:11 +0000)]
Update SDL2 versio 9cd11ad->308fae8

This brings in the following change:
 308fae8 Build libSDLmain using libtool

This fixes the glibcs builds of sdl2-ttf and sdl2-gfx

TBR=binji@chromium.org

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

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

2 hours agoBLIS 0.1.4 (update)
sbc@google.com [Thu, 28 Aug 2014 12:47:19 +0000 (12:47 +0000)]
BLIS 0.1.4 (update)

A large portion of code was upstreamed and removed from the patch.

AUTHOR=Marat Dukhan <maratek@gmail.com>
TEST=./make_all.sh blis
R=sbc@chromium.org

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

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

17 hours agoAdd testing framework for syscalls
channingh@google.com [Wed, 27 Aug 2014 21:55:19 +0000 (21:55 +0000)]
Add testing framework for syscalls

This adds a testing framework for syscalls and adds tests for getpid(),
getppid(), and the pgid calls.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

27 hours agoFix sdl2 build.
sbc@google.com [Wed, 27 Aug 2014 11:19:30 +0000 (11:19 +0000)]
Fix sdl2 build.

This updates the version of sdl2 from 7d3f7d4
to 9cd11ad which brings in a single change to
EXTRA_LDFLAGS in configure.in.

This change should have been part of the previous
sdl2 fix.

TBR=bradnelson@google.com

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

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

27 hours agoFix gmp ARM build by definining LONGLONG_STANDALONE.
sbc@google.com [Wed, 27 Aug 2014 11:08:36 +0000 (11:08 +0000)]
Fix gmp ARM build by definining LONGLONG_STANDALONE.

Without this longlong.h will on ARM will reference
machine dependent functions which are not compiled.

TBR=bradnelson@google.com

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

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

43 hours agoAdd waitpid({x|x<-1 or x=0},...) and checking of parent-child relationships
channingh@google.com [Tue, 26 Aug 2014 19:34:18 +0000 (19:34 +0000)]
Add waitpid({x|x<-1 or x=0},...) and checking of parent-child relationships

Add support for waitpid(x,...) where x<-1 (wait by pgid) or x=0 (wait by pgid
for current process pgid). Also, check that only parents can call setpgid()
or waitpid().

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

45 hours agoFix sdl2-tests
sbc@google.com [Tue, 26 Aug 2014 17:28:12 +0000 (17:28 +0000)]
Fix sdl2-tests

This change re-enabled the sdl2-tests package by
bringing in some fixes from the SDL repository.

It also updates SDL2 to the latest upstream revision.

Some basic tests now work on newlib and pnacl (testgles2
for example).

R=binji@chromium.org

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

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

46 hours agoStrip binaries in PublishByArchForDevEnv.
sbc@google.com [Tue, 26 Aug 2014 17:03:15 +0000 (17:03 +0000)]
Strip binaries in PublishByArchForDevEnv.

I noticed that the coreutils zip file was pretty huge
and that it contained unstripped binaries.

The change causes PublishByArchForDevEnv to strip
all binaries before zipping them zip.

An alternative would be to use the 'install-strip'
target that automake generates, but that would be
a larger change and would only work with automake
packages.

Also removed the custom build step from coreutils
as it appears to be doing nothing (arguments to
DefaultBuildStep are ignored).

R=bradnelson@google.com

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

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

46 hours agoFix libtomcrypt build.
sbc@google.com [Tue, 26 Aug 2014 17:01:54 +0000 (17:01 +0000)]
Fix libtomcrypt build.

It seems that this package was not being compiled with
the NaCl toolchain at all.

This change fixes the build and also builds and runs
the test binary.

Also disables asm so that the binary validates.

BUG= https://code.google.com/p/naclports/issues/detail?id=134
TEST= ./make_all.sh libtommath libtomcrypt
R=bradnelson@google.com

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

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

46 hours agoFix geturl so that it reports http error codes.
sbc@google.com [Tue, 26 Aug 2014 17:00:24 +0000 (17:00 +0000)]
Fix geturl so that it reports http error codes.

Previously it would silentsly succeed even if the
request failed.

Also, allow devenv to connect to localhost (so
that packages can be installed from a local
webserver).

R=bradnelson@google.com

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

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

46 hours agoFix libtar configure step.
sbc@google.com [Tue, 26 Aug 2014 16:58:13 +0000 (16:58 +0000)]
Fix libtar configure step.

Override compat_cv_func_snprintf_works which was
previously being set to 'no' since configure
is unable to run test code when cross compiling.

Also remove the compat_makedev which was causing
many build warnings.

TETS= ./make_all.sh libtar
R=bradnelson@google.com

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

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

2 days agoUpdate leveldb and fix some issues.
sbc@google.com [Tue, 26 Aug 2014 12:37:25 +0000 (12:37 +0000)]
Update leveldb and fix some issues.

This allows more unittests to be run (but still not all).

Switch to direct git access since leveldb stopped shipping
tarballs.

Update GitCloneStep so that it removes the patch stamp.

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

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

2 days agoUpdate (and fix) generate_port_list.py.
sbc@google.com [Tue, 26 Aug 2014 10:00:18 +0000 (10:00 +0000)]
Update (and fix) generate_port_list.py.

Now shows clearly which architectures and toolchains
are not supported by each port.

This version of the script was used to generated to the
current wiki page.

R=bradnelson@google.com

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

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

2 days agoUpdate SDL version to 1.2.15.
sbc@google.com [Mon, 25 Aug 2014 18:54:00 +0000 (18:54 +0000)]
Update SDL version to 1.2.15.

Several chucks of the nacl.patch file are no
longer needed as they are upstream in this version.

This is in preparation for switching to github
for SDL patch maintenance.

Also, update scummvm patch so that it doesn't
try to mkdir(/home) which is already mounted
by SDLmain.

TEST=build and run scummvm and snes9x
R=bradnelson@google.com

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

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

4 days agoAdding libpng to drod.
bradnelson@google.com [Sat, 23 Aug 2014 17:29:07 +0000 (17:29 +0000)]
Adding libpng to drod.

phosek's recent change added a dependency from freetype on libpng.
As drod uses freetype, adding a libpng dependency and link the library
in order to green the build.

BUG=None
TEST=local
TBR=binji@chromium.org,phosek@chromium.org

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

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

5 days agoFix gforth quota javascript to handle running incognito.
bradnelson@google.com [Fri, 22 Aug 2014 23:42:31 +0000 (23:42 +0000)]
Fix gforth quota javascript to handle running incognito.

Not all faiure paths were previously covered, resulting in silent failure when
running incognito.

BUG=None
TEST=local
R=binji@chromium.org

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

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

5 days agoChange PRESUBMIT.py to check all partitions, and repart for emacs.
bradnelson@google.com [Fri, 22 Aug 2014 22:24:56 +0000 (22:24 +0000)]
Change PRESUBMIT.py to check all partitions, and repart for emacs.

Previously all partitions were not checked, fixing.
Repartioning in preparation for emacs now building against X11 and some
graphics libs.

BUG=None
TEST=local
TBR=binji@chromium.org

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

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

5 days agoAdd -fPIC when building freetype as a shared library
phosek@chromium.org [Fri, 22 Aug 2014 18:34:14 +0000 (18:34 +0000)]
Add -fPIC when building freetype as a shared library

BUG=sdl-ttf build error
TEST=TEST=FORCE=1 FROM_SOURCE=1 ./make_all.sh sdl-ttf
R=bradnelson@google.com

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

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

5 days agoUpdate fontconfig to version 2.11.1
phosek@chromium.org [Fri, 22 Aug 2014 16:53:50 +0000 (16:53 +0000)]
Update fontconfig to version 2.11.1

This is needed for the new texlive which depends on the latest version of fontconfig.

BUG=none
TEST=FORCE=1 FROM_SOURCE=1 ./make_all.sh fontconfig
R=bradnelson@google.com, sbc@chromium.org

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

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

5 days agoUpdate freetype to version 2.5.3
phosek@chromium.org [Fri, 22 Aug 2014 16:52:32 +0000 (16:52 +0000)]
Update freetype to version 2.5.3

This is needed for the new texlive which depends on the latest version of freetype.

BUG=none
TEST=FORCE=1 FROM_SOURCE=1 ./make_all.sh freetype
R=bradnelson@google.com, sbc@chromium.org

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

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

6 days agoDropping -fforce-addr from gforth as gcc aliases to clang on the bots.
bradnelson@google.com [Fri, 22 Aug 2014 06:58:55 +0000 (06:58 +0000)]
Dropping -fforce-addr from gforth as gcc aliases to clang on the bots.

Gforth's build uses the -fforce-addr option, which clang doesn't support.
Dropping this (as they've also dropped similary flags previously judging by the
change log).

BUG=None
TEST=None
TBR=binji@chromium.org

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

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

6 days agoAdding gforth port.
bradnelson@google.com [Fri, 22 Aug 2014 06:03:35 +0000 (06:03 +0000)]
Adding gforth port.

BUG=None
TEST=./make_all.sh gforth
R=sbc@chromium.org, binji@chromium.org

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

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

6 days agoUpdate plumbing tests to match new tcp testing app.
bradnelson@google.com [Fri, 22 Aug 2014 03:49:20 +0000 (03:49 +0000)]
Update plumbing tests to match new tcp testing app.

BUG=None
TEST=local
TBR=channing@chromium.org

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

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

6 days agoAdd pipe()
channingh@google.com [Fri, 22 Aug 2014 00:14:45 +0000 (00:14 +0000)]
Add pipe()

Add the pipe() call, using the PipeServer API.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

6 days agoAdd PipeServer
channingh@google.com [Fri, 22 Aug 2014 00:12:25 +0000 (00:12 +0000)]
Add PipeServer

The PipeServer object allows for creation of a server that listens on two ports,
echoing all received input from one port to the other. This will be used to
simulate unnamed pipes.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

6 days agoAdding xcb-util.
bradnelson@google.com [Thu, 21 Aug 2014 22:36:49 +0000 (22:36 +0000)]
Adding xcb-util.

Dependency of awesome.

BUG=None
TEST=./make_all.sh
R=binji@chromium.org

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

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

6 days agoGeneralize SendRequest()
channingh@google.com [Thu, 21 Aug 2014 19:56:51 +0000 (19:56 +0000)]
Generalize SendRequest()

Make sendrequest() return a dictionary instead of an int, so we can support
returning arbitrary values.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

7 days agoAdding missing darksky-catalog dependency on thingking.
bradnelson@google.com [Thu, 21 Aug 2014 04:41:08 +0000 (04:41 +0000)]
Adding missing darksky-catalog dependency on thingking.

BUG=None
TEST=None
TBR=binji@chromium.org

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

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

7 days agoFixing curl build.
bradnelson@google.com [Thu, 21 Aug 2014 04:37:40 +0000 (04:37 +0000)]
Fixing curl build.

Add glibc-compat so autoconf works with new shim for pnacl.

BUG=None
TEST=None
TBR=binji@chromium.org

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

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

7 days agoAdd getsid() and setsid().
channingh@google.com [Thu, 21 Aug 2014 00:51:40 +0000 (00:51 +0000)]
Add getsid() and setsid().

This adds the getsid() and setsid() calls, and adds session-related
errors to other process management functions.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

7 days agoPass pnacl compiles thru a shim to inject -O0 / drop options for autoconf.
bradnelson@google.com [Wed, 20 Aug 2014 23:44:31 +0000 (23:44 +0000)]
Pass pnacl compiles thru a shim to inject -O0 / drop options for autoconf.

Autoconf invokes pnacl in some cases 500+ times per package.
This is very slow for -O2 builds. Switching to -O0 for invocations containing
conftest.c, to detect autoconf.
Also dropping libraries under some circumstances.

BUG=None
TEST=local
R=binji@chromium.org

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

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

7 days agoCleanup bash build.
bradnelson@google.com [Wed, 20 Aug 2014 20:06:42 +0000 (20:06 +0000)]
Cleanup bash build.

Dropping workaround for mknod as it's now in glibc-compat.
Using -Dmain=nacl_main instead of workaround.
Avoiding calling gethostname for now as the stub version breaks the tests.

BUG=None
TEST=./make_all.sh devenv (does bash + tests)
R=binji@chromium.org

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

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

7 days agoUpdate README.rst and build_tools/README.txt
sbc@google.com [Wed, 20 Aug 2014 17:08:28 +0000 (17:08 +0000)]
Update README.rst and build_tools/README.txt

Added xsltproc to list of requirments in README.rst.

Removed dependencies from build_tools/README.txt that
are now part of install_build_deps.sh.

R=bradnelson@google.com

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

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

7 days agoAdd a lock file to prevent multiple copies of naclports being run at the same time.
sbc@google.com [Wed, 20 Aug 2014 15:48:10 +0000 (15:48 +0000)]
Add a lock file to prevent multiple copies of naclports being run at the same time.

R=bradnelson@google.com

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

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

7 days agoDisable darksky-catalog and thingking python modules on mac.
sbc@google.com [Wed, 20 Aug 2014 15:44:30 +0000 (15:44 +0000)]
Disable darksky-catalog and thingking python modules on mac.

They depends on yt which is not buildable on mac.

R=matthewturk@gmail.com
TBR=matthewturk

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

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

8 days agoFix opencv dependency on old newlib behavior.
bradnelson@google.com [Tue, 19 Aug 2014 22:32:34 +0000 (22:32 +0000)]
Fix opencv dependency on old newlib behavior.

BUG=None
TEST=local
R=binji@chromium.org

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

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

8 days agoFixing glibc build of tk.
bradnelson@google.com [Tue, 19 Aug 2014 22:16:43 +0000 (22:16 +0000)]
Fixing glibc build of tk.

Adding -fPIC to tcl build as the lack of it causes a problem when linked into
tk.

BUG=None
TEST=local
R=binji@chromium.org

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

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

8 days agoChange python-host build so that zlib is discovered by setup.py.
bradnelson@google.com [Tue, 19 Aug 2014 22:04:48 +0000 (22:04 +0000)]
Change python-host build so that zlib is discovered by setup.py.

Disabling a path check that fails.
Doing this rather than adding to the lib paths as that seems to break other modules.

Removing python-host's incorrect dependency on zlib + readline. These are target libraries.

BUG=None
TEST=local
R=binji@chromium.org

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

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

8 days agoAdd libuuid-1.0.3
binji@chromium.org [Tue, 19 Aug 2014 21:09:21 +0000 (21:09 +0000)]
Add libuuid-1.0.3

BUG=https://code.google.com/p/naclports/issues/detail?id=131
R=bradnelson@google.com, sbc@chromium.org, bradnelson@chromium.org

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

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

8 days agoFixing tcl for osx, disabling tk on osx.
bradnelson@google.com [Tue, 19 Aug 2014 19:33:31 +0000 (19:33 +0000)]
Fixing tcl for osx, disabling tk on osx.

BUG=None
TEST=on bbot
R=binji@chromium.org

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

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

9 days agoFixing coreutils build break caused by adding mkfifo / mknod stubs.
bradnelson@google.com [Mon, 18 Aug 2014 19:09:46 +0000 (19:09 +0000)]
Fixing coreutils build break caused by adding mkfifo / mknod stubs.

BUG=None
TEST=local
TBR=binji@chriomium.org

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

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

9 days agoAdd herror to glibc-compat
phosek@chromium.org [Mon, 18 Aug 2014 18:25:06 +0000 (18:25 +0000)]
Add herror to glibc-compat

This is needed to enable the newlib build of texlive package.

BUG=none
TEST=FORCE=1 FROM_SOURCE=1 ./make_all.sh glibc-compat
R=bradnelson@google.com

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

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

9 days agoEnable arm and avr (arduino) targets in binutils.
bradnelson@google.com [Mon, 18 Aug 2014 18:14:48 +0000 (18:14 +0000)]
Enable arm and avr (arduino) targets in binutils.

BUG=None
TEST=local
R=binji@chromium.org

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

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

9 days agoReplacing mknod and mkfifo macros in glibc-compat with stubs.
bradnelson@google.com [Mon, 18 Aug 2014 18:12:14 +0000 (18:12 +0000)]
Replacing mknod and mkfifo macros in glibc-compat with stubs.

The use of macros for these functions breaks bash as their presence activates
code paths that use them.
Using stubs instead, which triggers some additional issues:
  - glibc-compat must now be linked, which requires fixing a cross build issue
    with the mkbuiltins makefile.
  - SA_RESTART now must be defined, adding to glibc-compat.

BUG=None
TEST=local
R=binji@chromium.org

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

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

12 days agoAdding google-api, httplib2, python-gflags modules.
matthewturk@gmail.com [Fri, 15 Aug 2014 20:30:50 +0000 (20:30 +0000)]
Adding google-api, httplib2, python-gflags modules.

This adds several new python modules necessary for coLaboratory.

BUG=
R=binji@chromium.org, kestert@google.com

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

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

12 days agoUpdate python-static with modules and to match python
matthewturk@gmail.com [Fri, 15 Aug 2014 20:21:18 +0000 (20:21 +0000)]
Update python-static with modules and to match python

This updates python-static to more closely match the main python port,
including the nacl-spawn related work.  It also updates it to version
2.7.7 (as python is), updatesa host-python to the same, and enables the
_json module.

BUG=
R=binji@chromium.org, kestert@google.com

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

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

12 days agoAdd requests and fix dependencies for thingking.
binji@chromium.org [Fri, 15 Aug 2014 18:07:19 +0000 (18:07 +0000)]
Add requests and fix dependencies for thingking.

Thingking requires 'requests', which if not installed, will be
downloaded by setuptools.  This prevents that from occuring, and
should fix the build on OSX, where SSL downloads are not possible.

Additionally, this removes functools32 from the requirements
for thingking as that requirement is fulfilled by yt instead.

BUG=
R=binji@chromium.org, kestert@google.com

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

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

12 days agoAdding Tcl and Tk ports.
bradnelson@google.com [Fri, 15 Aug 2014 17:19:44 +0000 (17:19 +0000)]
Adding Tcl and Tk ports.

Adding some glibc-compat workarounds.

BUG=None
TEST='FROM_SOURCE=1 FORCE=1 ./make_all.sh tcl tk'
R=binji@chromium.org

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

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

13 days agoUpdating python modules yt and add thingking, darksky_catalog.
binji@chromium.org [Thu, 14 Aug 2014 21:27:24 +0000 (21:27 +0000)]
Updating python modules yt and add thingking, darksky_catalog.

This updates yt to the current beta release and adds the two python
modules thingking and darksky_catalog, which were used in the
SciPy2014 demo.

BUG=
R=kestert@google.com, sbc@chromium.org

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

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

13 days agoUpdating ipython to 2.1.0.
matthewturk@gmail.com [Thu, 14 Aug 2014 19:06:53 +0000 (19:06 +0000)]
Updating ipython to 2.1.0.

This updates IPython to 2.1.0 and matches kernel.py
to what the Chrome App wants.

BUG=
R=kestert@google.com, sbc@chromium.org

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

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

2 weeks agoFixing ipython, ninja, lua mistake, disable broken devenv, enlarge sdk window.
bradnelson@google.com [Thu, 14 Aug 2014 03:57:29 +0000 (03:57 +0000)]
Fixing ipython, ninja, lua mistake, disable broken devenv, enlarge sdk window.

Fixing wrong header includes for ninja, lua.
Adding missing cli_main symbols for ipython (real fix is move it to cli_main),
coming soon.
Disable devenv for pnacl until we've fixed the tests.
Enlarge the history window checked for sdk versions until we've fixed up the
mac sdk builders.

BUG=None
TEST=None
TBR=binji@chromium.org

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

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

2 weeks agoAdding missing dependencies and dropping false ones to attempt to green waterfall.
bradnelson@google.com [Wed, 13 Aug 2014 23:46:13 +0000 (23:46 +0000)]
Adding missing dependencies and dropping false ones to attempt to green waterfall.

BUG=None
TEST=trouble reproing locally, this seems to be the issue. Trybots broken at the moment...
R=binji@chromium.org

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

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

2 weeks agoFix bad line break in spec awk line.
bradnelson@google.com [Wed, 13 Aug 2014 23:45:34 +0000 (23:45 +0000)]
Fix bad line break in spec awk line.

BUG=None
TEST=local build
R=binji@chromium.org

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

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

2 weeks agoDivide nacl_spawn.h and provide stub implementations of posix_spawn.
bradnelson@google.com [Wed, 13 Aug 2014 23:10:47 +0000 (23:10 +0000)]
Divide nacl_spawn.h and provide stub implementations of posix_spawn.

Divide nacl_spawn.h into spawn.h and nacl_main.h to simplify its injection.

Add compatibility shims so that posix_spawn structures can be used with glibc
and newlib.

We already ship a spawn.h with our glibc and newlib toolchains.
The newlib one, however, lacks and implementation.
Adding one for newlib.

Provide a dummy posix_spawn implementation built on spawnve.

Fix some random warnings and style mistakes.

BUG=None
TEST=None
R=binji@chromium.org, channingh@google.com, channingh@chromium.org

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

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

2 weeks agoAdd setpgid()
channingh@google.com [Wed, 13 Aug 2014 21:57:50 +0000 (21:57 +0000)]
Add setpgid()

Add setpgid(). Also, since we are using the return code for things other than
PIDs, start renaming "pid" to "result." Unfortunately, to avoid incompatibility
with pinned versions of applications, we have to incrementally perform this
change, so I've left TODOs.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

2 weeks agoFix devenvwidget bug
channingh@google.com [Wed, 13 Aug 2014 21:15:51 +0000 (21:15 +0000)]
Fix devenvwidget bug

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

2 weeks agoAdd link to NaCl DevEnv in the web store if the extension isn't there
channingh@google.com [Tue, 12 Aug 2014 18:08:06 +0000 (18:08 +0000)]
Add link to NaCl DevEnv in the web store if the extension isn't there

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

2 weeks agoAdd getpgid()
channingh@google.com [Tue, 12 Aug 2014 18:03:09 +0000 (18:03 +0000)]
Add getpgid()

Add getpgid(). This does not cover the full range of possible errors yet,
since we are not yet tracking sessions or parent-child relationships (which
we should really add for waitpid(), though then we have to decide what to do
when waitpid is directly called from javascript).

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

2 weeks agoSwitch toybox to use cli_main.
bradnelson@google.com [Mon, 11 Aug 2014 23:02:52 +0000 (23:02 +0000)]
Switch toybox to use cli_main.

BUG=None
TEST='FORCE=1 FROM_SOURCE=1 ./make_all.sh toybox'
R=binji@chromium.org, channingh@google.com, channingh@chromium.org

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

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

2 weeks agoInline nacl_spawn declaration to break cross arch dependency in gcc build.
bradnelson@google.com [Mon, 11 Aug 2014 22:47:35 +0000 (22:47 +0000)]
Inline nacl_spawn declaration to break cross arch dependency in gcc build.

Because for i686 we build a small number if x86_64 libs (as a side-effect of
the gcc cross build), inline the parts of the nacl_spawn.h header we need in
gcc to allow it to build without having to pollute the cross build alternate
architecture paths.

BUG=None
TEST=local
R=binji@chromium.org

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

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

2 weeks agoRevert 1521 "Relocating pid and ppid to a nacl_spawn from cli_main."
bradnelson@google.com [Mon, 11 Aug 2014 20:14:41 +0000 (20:14 +0000)]
Revert 1521 "Relocating pid and ppid to a nacl_spawn from cli_main."

> Relocating pid and ppid to a nacl_spawn from cli_main.
>
> Some ports may not link cli_main to everything (toybox).
> Continue to allow nacl_spawn to be linked without cli_main.
>
> BUG=None
> TEST=local
> R=channingh@google.com, channingh@chromium.org
>
> Review URL: https://codereview.chromium.org/460763003

TBR=bradnelson@google.com

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

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

2 weeks agoRelocating pid and ppid to a nacl_spawn from cli_main.
bradnelson@google.com [Mon, 11 Aug 2014 18:41:01 +0000 (18:41 +0000)]
Relocating pid and ppid to a nacl_spawn from cli_main.

Some ports may not link cli_main to everything (toybox).
Continue to allow nacl_spawn to be linked without cli_main.

BUG=None
TEST=local
R=channingh@google.com, channingh@chromium.org

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

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

2 weeks agoscummvm: Add themepath and extrapath to scummvmrc.
binji@chromium.org [Mon, 11 Aug 2014 17:27:52 +0000 (17:27 +0000)]
scummvm: Add themepath and extrapath to scummvmrc.

Without these, neither game will run.

BUG=none
R=bradnelson@google.com, bradnelson@chromium.org

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

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

2 weeks agoAdding twm and xbitmap.
bradnelson@google.com [Sat, 9 Aug 2014 09:35:34 +0000 (09:35 +0000)]
Adding twm and xbitmap.

BUG=None
TEST='FORCE=1 FROM_SOURCE=1 ./make_all.sh twm xbitmap'
R=sbc@chromium.org

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

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

2 weeks agoFix segfault
channingh@google.com [Fri, 8 Aug 2014 22:56:38 +0000 (22:56 +0000)]
Fix segfault

Forgot getenv() could return NULL. Oops.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

2 weeks agoAdd getppid()
channingh@google.com [Fri, 8 Aug 2014 21:05:08 +0000 (21:05 +0000)]
Add getppid()

Adds getppid() (get parent process pid)

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

2 weeks agoAdd implementation of getpid to nacl-spawn.
channingh@google.com [Fri, 8 Aug 2014 18:41:40 +0000 (18:41 +0000)]
Add implementation of getpid to nacl-spawn.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

3 weeks agoAdd support for Python's subprocess
channingh@google.com [Wed, 6 Aug 2014 23:43:38 +0000 (23:43 +0000)]
Add support for Python's subprocess

This adds support for the subprocess module in Python. In particular, it enables
call(), check_call(), Popen(), Popen.poll(), and Popen.wait(). Since signals
and pipes are not supported yet in Devenv, subprocess does not support those
operations either.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

3 weeks agoFix bug where processes with exit code 0 where causing waitpid to return an
channingh@google.com [Wed, 6 Aug 2014 19:30:10 +0000 (19:30 +0000)]
Fix bug where processes with exit code 0 where causing waitpid to return an
ECHILD error

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

3 weeks agoDisable libxkbfile on mac (libx11 not yet building).
sbc@google.com [Tue, 5 Aug 2014 13:27:50 +0000 (13:27 +0000)]
Disable libxkbfile on mac (libx11 not yet building).

TBR=bradnelson@chromium.org

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

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

3 weeks agoUse OS_NAME variable directly instead of name -s.
cmihail@chromium.org [Tue, 5 Aug 2014 00:05:32 +0000 (00:05 +0000)]
Use OS_NAME variable directly instead of name -s.

Change '...' to '.'

Resolve Mac OS compile issue for libarchive.

Mac OS and Linux /usr/bin/xml2-config script works differently.
On Mac OS there is no --prefix=<path> flag, but only a --prefix flag
that prints the path. Mac OS will detect the correct libxml2 library
without any issue. On Linux we need to use --prefix=<path> flag to
correctly detect libxml2.

BUG=388077

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

3 weeks agoOn the buildbot, uninstall all existing package before building each one.
sbc@google.com [Mon, 4 Aug 2014 15:51:24 +0000 (15:51 +0000)]
On the buildbot, uninstall all existing package before building each one.

This means a package build won't be effected any other
package other than the onse specified in DEPENDS.

R=bradnelson@google.com

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

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

3 weeks agoAdd support for CONFLICTS field in pkg_info.
sbc@google.com [Mon, 4 Aug 2014 09:33:22 +0000 (09:33 +0000)]
Add support for CONFLICTS field in pkg_info.

This is needed for python and python-static which are
not mutually installable.

This won't fix the failures on the bot but it should
make it very clear why its failing.  The real fix
(coming soon) is to uninstall all packages between
package builds.

R=bradnelson@google.com

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

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

3 weeks agoDisable more ports under bionic.
sbc@google.com [Fri, 1 Aug 2014 19:56:18 +0000 (19:56 +0000)]
Disable more ports under bionic.

This is enough to make the trybots green again.

R=bradnelson@google.com

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

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

3 weeks agoPass --no-ext-diff to git diff in case a graphical diff is installed.
bradnelson@google.com [Fri, 1 Aug 2014 17:47:41 +0000 (17:47 +0000)]
Pass --no-ext-diff to git diff in case a graphical diff is installed.

BUG=None
TEST=None
R=petewil@chromium.org

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

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

3 weeks agoAdd zlib module to staticly linked python.
sbc@google.com [Thu, 31 Jul 2014 21:51:59 +0000 (21:51 +0000)]
Add zlib module to staticly linked python.

R=bradnelson@google.com

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

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

3 weeks agoAdding libpciaccess and libxkbfile.
bradnelson@google.com [Thu, 31 Jul 2014 21:17:57 +0000 (21:17 +0000)]
Adding libpciaccess and libxkbfile.

BUG=None
TEST=local
R=sbc@chromium.org

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

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

3 weeks agoRemove use of URL_FILENAME in pkg_info files.
sbc@google.com [Thu, 31 Jul 2014 21:13:17 +0000 (21:13 +0000)]
Remove use of URL_FILENAME in pkg_info files.

We can probably remove this feature completely soon
as no packages use it now.

R=bradnelson@google.com

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

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

3 weeks agoPulling in newer chrome revision for testing.
bradnelson@google.com [Thu, 31 Jul 2014 19:45:40 +0000 (19:45 +0000)]
Pulling in newer chrome revision for testing.

The old one seems to have gone away!

BUG=None
TEST=None
R=sbc@chromium.org

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

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

3 weeks agoDisable x11 support in giflib.
bradnelson@google.com [Thu, 31 Jul 2014 19:09:39 +0000 (19:09 +0000)]
Disable x11 support in giflib.

At this point we don't want to enable giflib x11 support,
disabling it explicitly so that autodetect doesn't kick in.

BUG=None
TEST=local
R=sbc@chromium.org

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

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

3 weeks agoAdding libxfont and libfontenc.
bradnelson@google.com [Thu, 31 Jul 2014 18:47:47 +0000 (18:47 +0000)]
Adding libxfont and libfontenc.

BUG=None
TEST=local
R=sbc@chromium.org

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

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

3 weeks agoAdding multiple x11 protocol packages.
bradnelson@google.com [Thu, 31 Jul 2014 18:22:24 +0000 (18:22 +0000)]
Adding multiple x11 protocol packages.

Adding these packages in prepartion for landing an xserver:
- bigreqsproto
- compositeproto
- damageproto
- fixesproto
- fontsproto
- glproto
- randrproto
- resourceproto
- scrnsaverproto
- videoproto
- xcmiscproto

BUG=None
TEST=local
R=binji@chromium.org, sbc@chromium.org

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

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

3 weeks agoSupport simultaneous persistent and temporary file systems
channingh@google.com [Thu, 31 Jul 2014 18:16:34 +0000 (18:16 +0000)]
Support simultaneous persistent and temporary file systems

Make the file system API connect to both persistent and temporary file systems,
choosing which one based on the path of the file given.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

4 weeks agoMake devenvwidget put files in temporary file system
channingh@google.com [Wed, 30 Jul 2014 20:49:53 +0000 (20:49 +0000)]
Make devenvwidget put files in temporary file system

This makes devenvwidget put the .c file and generated executable in
/tmp instead of /home/user.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

4 weeks agoRemove extension-specific files from bash
channingh@google.com [Wed, 30 Jul 2014 17:47:43 +0000 (17:47 +0000)]
Remove extension-specific files from bash

This change removes extension-specific files (icons, manifest, background.js)
from bash and moves them to devenv.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

4 weeks agoSeparate whitelist into own file
channingh@google.com [Tue, 29 Jul 2014 20:40:10 +0000 (20:40 +0000)]
Separate whitelist into own file

This separates the whitelist in bash.js into its own file, whitelist.js. This
also updates create_term.py to accept additional JavaScript files when
creating a terminal HTML file.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

4 weeks agoAdd fftw tests.
binji@chromium.org [Tue, 29 Jul 2014 20:09:57 +0000 (20:09 +0000)]
Add fftw tests.

BUG=none
R=sbc@chromium.org

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

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

4 weeks agoFixing libxaw build for arm, disabling xeyes on mac.
bradnelson@google.com [Tue, 29 Jul 2014 04:57:02 +0000 (04:57 +0000)]
Fixing libxaw build for arm, disabling xeyes on mac.

BUG=None
TEST=None
TBR=sbc@chromium.org

fixing xaw

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

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

4 weeks agoAdding xeyes program.
bradnelson@google.com [Tue, 29 Jul 2014 00:58:12 +0000 (00:58 +0000)]
Adding xeyes program.

BUG=None
TEST=local
R=sbc@chromium.org

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

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

4 weeks agoAdding libxpm and libxaw.
bradnelson@google.com [Tue, 29 Jul 2014 00:52:16 +0000 (00:52 +0000)]
Adding libxpm and libxaw.

Adding workaround for strings.h

BUG=None
TEST=local
R=sbc@chromium.org

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

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

4 weeks agoMake DevEnvWidget check if the DevEnv extension exists.
channingh@google.com [Mon, 28 Jul 2014 21:36:23 +0000 (21:36 +0000)]
Make DevEnvWidget check if the DevEnv extension exists.

Make DevEnvWidget ping the DevEnv extension to check whether it exists or not,
and display an error message if the extension cannot be found.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

4 weeks agoRepartion bots.
bradnelson@google.com [Sun, 27 Jul 2014 21:22:38 +0000 (21:22 +0000)]
Repartion bots.

Re-load-balance.

BUG=None
TEST=None
TBR=sbc@chromium.org

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

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

4 weeks agoFixing more use of uname -o to fix yaji.
bradnelson@google.com [Sun, 27 Jul 2014 17:39:42 +0000 (17:39 +0000)]
Fixing more use of uname -o to fix yaji.

BUG=None
TEST=None
TBR=sbc@chromium.org

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

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

4 weeks agoFix nacl-env.sh on mac (fix yaji).
bradnelson@google.com [Sat, 26 Jul 2014 20:01:52 +0000 (20:01 +0000)]
Fix nacl-env.sh on mac (fix yaji).

Yaji uses golden output, errors from nacl-env.sh break this.
The recent windows fix doesn't run correctly on mac.

BUG=None
TEST=None
TBR=sbc@chromium.org

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

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

4 weeks agoExplicitly turn on iconv support in libarchive and libxml2.
bradnelson@google.com [Sat, 26 Jul 2014 17:49:50 +0000 (17:49 +0000)]
Explicitly turn on iconv support in libarchive and libxml2.

By default libxml2 builds with libiconv support if libiconv is detected.
Thus making it order dependent.
In turn libarchive2 does not correctly detect libiconv,
so fails to be able to link with libxml2 with iconv.

Explicitly turning off libiconv support in both for now to green the waterfall.

BUG=None
TEST=local
TBR=cmihail@chromium.org,sbc@chromium.org

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

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

4 weeks agoChange devenvwidget copy step to work in an svn checkout.
bradnelson@google.com [Sat, 26 Jul 2014 17:34:23 +0000 (17:34 +0000)]
Change devenvwidget copy step to work in an svn checkout.

The .svn files are marked read only on the bots.
Changing the copy step to avoid issues caused by them.

BUG=None
TEST=None
TBR=channingh@chromium.org

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

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

4 weeks agoAdding libxmu, libxrender, libxt.
bradnelson@google.com [Sat, 26 Jul 2014 05:06:51 +0000 (05:06 +0000)]
Adding libxmu, libxrender, libxt.

BUG=None
TEST=local
R=sbc@chromium.org

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

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

4 weeks agoVarious fixes for building ports on windows.
sbc@google.com [Sat, 26 Jul 2014 00:20:04 +0000 (00:20 +0000)]
Various fixes for building ports on windows.

Only check BUILD_OS when building, not when installing.
This allows binary packages to be installed on windows
even when they can't be built locally.

Fix NACL_SDK_ROOT using cygpath so it doesn't end up
containing backslash characters which are then ignored
when read back in (e.g. if they end up in pkg-config files).

Add FindInPath() function that is then used to find
curl and produce readable error messages when it is
missing.

Add check for uppercase characters in package names.

R=bradnelson@google.com

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

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

4 weeks agoAdd the ability to create a DevEnv widget
channingh@google.com [Sat, 26 Jul 2014 00:04:36 +0000 (00:04 +0000)]
Add the ability to create a DevEnv widget

This adds the ability to create a development environment widget in a web
page. A user enters C code in a text area, clicks Run, and the plugin
communicates with the NaCl Development Environment Chrome extension to compile
the code using GCC.

BUG=None
R=binji@chromium.org, bradnelson@google.com

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

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

4 weeks agoMake Emacs install.
petewil@chromium.org [Fri, 25 Jul 2014 18:44:13 +0000 (18:44 +0000)]
Make Emacs install.

Latest set of changes for Emacs to get it building so that it deploys
properly and is debuggable.

BUG=
R=bradnelson@google.com

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

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