[git] GnuPG - branch, master, updated. post-nuke-of-trailing-ws-124-g88fea6a

by Werner Koch cvs at cvs.gnupg.org
Mon Nov 28 21:22:39 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  88fea6abe6b83eb2a69dd62dbbfe19ad5c450d86 (commit)
      from  77ee8fd55c9e599f41a3cad0ebaa23c72ca14409 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 88fea6abe6b83eb2a69dd62dbbfe19ad5c450d86
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Nov 28 20:28:10 2011 +0100

    Add build script to build all components in one run.
    
    Run this script in the parent directory of the working copies.  It
    does a VPATH build in ~/tmp/gpg-tmp/b in the right order and installs
    everything below ~/tmp/gpg-tmp/.
    
    Based on a script by Jim Meyering.

diff --git a/scripts/ChangeLog b/scripts/ChangeLog
index c183599..fec5405 100644
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-28  Werner Koch  <wk at g10code.com>,
+	    Jim Meyering  <jim at meyering.net>
+
+	* build-all.sh: New.
+
 2011-08-10  Werner Koch  <wk at g10code.com>
 
 	* config.guess, config.sub: Update to version 2011-06-03.
diff --git a/scripts/build-all.sh b/scripts/build-all.sh
new file mode 100755
index 0000000..3cd4f30
--- /dev/null
+++ b/scripts/build-all.sh
@@ -0,0 +1,49 @@
+#! /bin/bash
+# A simple script to build all parts of GnuPG from the git repos.
+#
+# Copyright 2011 Free Software Foundation, Inc.
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This file is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+# Run this in another window:
+#tail -n0 -F ~/tmp/gpg-tmp/b/{libgpg-error,libksba,libassuan,libgcrypt,gnupg}.log &
+
+p=$HOME/tmp/gpg-tmp
+parts="libgpg-error libassuan libksba libgcrypt gnupg"
+die=no
+for i in $parts; do
+  if test -d $i ; then
+    :
+  else
+    die=yes
+    echo "component $i missing"
+  fi
+done
+test $die = yes && exit 1
+
+mkdir $p || exit 1
+mkdir $p/b || exit 1
+for i in $parts; do
+  mkdir $p/b/$i || exit 1
+done
+
+export PATH=$p/bin:$PATH
+export LD_LIBRARY_PATH=$p/lib
+here="$(pwd)"
+
+prev=
+cfg="configure --enable-maintainer-mode --prefix=$p"
+for i in $parts; do
+  echo $i...
+  test -n "$prev" && cfg="$cfg --with-$prev-prefix=$p"
+  (cd $p/b/$i && eval $here/$i/$cfg && make && make check && make install) \
+      > $p/b/$i.log 2>&1 \
+      || { echo FAIL; break; }
+  prev=$i
+done

-----------------------------------------------------------------------

Summary of changes:
 scripts/ChangeLog    |    5 +++++
 scripts/build-all.sh |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100755 scripts/build-all.sh


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list