Gaetan Nadon <[email protected]> writes:
> On Tue, 2010-12-21 at 11:45 -0700, tom fogal wrote:
> 
> > Is this simply a, `use a newer fop' issue, or should this work on a
> > system like mine?
>
> I am afraid so. [. . .] If it is not convenient for you to upgrade,
> configure using "--without-fop" to skip the pdf/ps format. All the
> doc generating tools have options to turn them off if need be.

Thanks!  This worked wonderfully; I'm cruising right along now.

> We have just been building all the docs for the new release announced
> yesterday.
>
> http://www.x.org/releases/X11R7.6/doc/index.html
>
> BTW, I see you are using build.sh. We have recently made a number
> of improvements recently. Check the -L and --modfile to create your
> custom list of components to build.

Indeed I am, looking into those options now -- thanks.

In the meantime, please consider the attached build.sh patch.  I used
it to configure my X build --without-fop, on all packages.

BTW, there seems to be some inconsistencies w.r.t. tabs and spaces in
that file...

Best,

-tom

From de42bf47e6a47569effb61bf10c9a37d025a7877 Mon Sep 17 00:00:00 2001
From: Tom Fogal <[email protected]>
Date: Tue, 21 Dec 2010 14:04:36 -0700
Subject: [PATCH] Add "autoconf" option to pass custom config arguments.

This adds an "--autoconf" option which will pass its argument on
to every configure (or autogen.sh) script that build.sh runs.
---
 build.sh |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/build.sh b/build.sh
index 8568083..ae3b489 100755
--- a/build.sh
+++ b/build.sh
@@ -366,7 +366,8 @@ process() {
 	    ${CPP:+CPP="$CPP"} \
 	    ${CPPFLAGS:+CPPFLAGS="$CPPFLAGS"} \
 	    ${CFLAGS:+CFLAGS="$CFLAGS"} \
-	    ${LDFLAGS:+LDFLAGS="$LDFLAGS"}
+	    ${LDFLAGS:+LDFLAGS="$LDFLAGS"} \
+      ${AUTOOPTS}
 	if [ $? -ne 0 ]; then
 	    failed ${CONFCMD} $1 $2
 	    cd $old_pwd
@@ -961,6 +962,7 @@ usage() {
     echo "  --clone     Clone non-existing repositories (uses \$GITROOT if set)"
     echo "  --cmd <cmd> Execute arbitrary git, gmake, or make command <cmd>"
     echo "  --modfile <file> Only process the module/components specified in <file>"
+    echo "  --autoconf <options> Pass options to autgen.sh/configure"
     echo ""
     echo "Usage: $basename -L"
     echo "  -L : just list modules to build"
@@ -1104,6 +1106,10 @@ do
 	fi
 	MODFILE=$1
 	;;
+  --autoconf)
+  shift
+  AUTOOPTS=$1
+  ;;
     *)
 	if [ X"$PREFIX" != X ]; then
 	    echo "unrecognized and/or too many command-line arguments"
-- 
1.7.0.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to