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
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
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
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
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
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
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
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
Use git for patch management in individual ports.

Each time we extract an upstream archive and apply
patches to it, do this in git.  This makes it much
easier to work with ports and track change locally.

Also, remove the need to Zip and Bz2 specific versions
of the shell code for downloading and extracting archives.
This can be instead inferred from the archive filename.

Also, allow package script to set CONFIG_SUB to point
to a non-standard config.sub location.

BUG=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@765 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix broken builders by setting git defaults

TBR=binji
BUG=None

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

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

TBR=binji
BUG=

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

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

TBR=binji
BUG=None

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@768 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Use blocking PPAPI calls in SDL port

This change removes all the MainThreadRunner stuff from
the SDL port.

Also, fix nexe paths in nmf files for bochs and dosbox.

BUG=None
TEST=build and run dosbox + scummvm
R=binji@chromium.org, bradnelson@google.com

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@769 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Use single out/repository folder for all variant builds.

The extract and patch phases will now only occur once
even when building multiple configurations.  We use
'git clean -f -d' to clean the source tree between
builds.

Use NACL_BUILD_SUBDIR consistently as the directory
within the source tree to do the build.

Remove custom patch code from scummvm build.

BUG=None
R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@770 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix create_nmf calls to include all library paths.

Recent versions of create_nmf have been fixes such
that omitting libraries paths will be a build failure
in future.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@771 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Fix regal build by updating upstream version.

TBR=binji

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@772 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Separate NaCl environment setup into nacl_env.sh

common.sh is reserved for naclports sepecific varables
and functions.  nacl_env.sh can be used as a general
purpose script for setting up and NaCl build environment.

The idea here is to transition nacl_env.sh (or something
like it into the nacl sdk rather than having it live
in naclports.

R=binji@chromium.org

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

git-svn-id: https://naclports.googlecode.com/svn/trunk/src@773 7dad1e8b-422e-d2af-fbf5-8013b78bd812
Handle recent SDK change to ncval name.

BUG=None
R=binji@chromium.org

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

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