[PATCH 09/21] Simplify the conditional inclusion of the contrib directory.

2014-01-12 Thread John Darrington
* Makefile.in, configure.ac: Ensure that CONTRIB is correctly included (or not) when building outside the source tree. --- Makefile.in |4 ++-- configure.ac | 10 ++ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Makefile.in b/Makefile.in index d6bad91..637141d 10

[PATCH 05/21] base/lib.mak: Fix broken build dependency

2014-01-12 Thread John Darrington
* base/lib.mak (LIB1s): add dependency gdevppla --- base/lib.mak |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/lib.mak b/base/lib.mak index de11d5f..e0f1114 100644 --- a/base/lib.mak +++ b/base/lib.mak @@ -1225,7 +1225,7 @@ $(GLOBJ)gxdownscale.$(OBJ) : $(GLSRC)gxdowns

[PATCH 14/21] Remove broken test for OpenJpeg library.

2014-01-12 Thread John Darrington
The test for the openjpeg code was both broken and unnecessary. Broken because it would fail when running from outside the source tree; unnecessary because the condition it was intended to test (viz the existence of a file) must be true, because that file is shipped with the tarball. Therefore, th

[PATCH 19/21] Remove duplicate assignment to EXTRALIBS

2014-01-12 Thread John Darrington
Not only was this redundant, but it also overwrote some (potentially important) libraries assigned from other modules. * base/unix-gcc.mak: Remove assignment to EXTRALIBS --- base/unix-gcc.mak |9 - 1 file changed, 9 deletions(-) diff --git a/base/unix-gcc.mak b/base/unix-gcc.mak ind

[PATCH 12/21] Minor re-ordering of configure.ac

2014-01-12 Thread John Darrington
* configure.ac: Move the test for enable_freetype closer to where it is used. --- configure.ac | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 1a98f07..e22b86a 100644 --- a/configure.ac +++ b/configure.ac @@ -518,14 +518,6

[PATCH 08/21] configure.ac, Makefile.in: Use CC_FOR_BUILD for native compilation.

2014-01-12 Thread John Darrington
* Makefile.in: Use the variable CC_FOR_BUILD as the native compiler configure.ac: Set a reasonable default for CC_FOR_BUILD if unset. --- Makefile.in |2 +- configure.ac | 11 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 692ccc

[PATCH 10/21] Fix test for dbus when cross building

2014-01-12 Thread John Darrington
* configure.ac: Replace ad hoc test for dbus with one using PKG_CHECK_MODULES --- configure.ac | 26 ++ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/configure.ac b/configure.ac index 4b89c19..5889603 100644 --- a/configure.ac +++ b/configure.ac @@ -508,3

[PATCH 11/21] Fix incorrect determination of host/build OS

2014-01-12 Thread John Darrington
* configure.ac: use $host_os or $build_os as appropriate, instead of `uname` (the latter incorrectly gives the build OS regardless of what is needed). --- configure.ac | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 58896

[PATCH 16/21] Remove the code running ./configure from autogen.sh - I am of the opinion, that the bootstrap process and the configuration should be kept seperate. It should be possible to bootstrap wi

2014-01-12 Thread John Darrington
* autogen.sh: Remove code which runs ./configure --- autogen.sh |9 - 1 file changed, 9 deletions(-) diff --git a/autogen.sh b/autogen.sh index 0dad6bd..67660d5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -34,12 +34,3 @@ aclocal || exit 1 echo " running autoconf" autoconf || exit

[PATCH 04/21] Fix crash on startup if the configuration file is missing.

2014-01-12 Thread John Darrington
* base/gmisc.c (emprintf_program_ident): Add missing parameter. --- base/gsmisc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/gsmisc.c b/base/gsmisc.c index 96bd8b0..d5b375c 100644 --- a/base/gsmisc.c +++ b/base/gsmisc.c @@ -215,7 +215,7 @@ emprintf_program_ident(co

[PATCH 17/21] Avoid redundancy in package version number/string

2014-01-12 Thread John Darrington
* configure.ac: Extract the GS_ symbols from the version number provided to AC_INIT instead of duplicating it. --- configure.ac | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d6e2be0..dcce828 100644 --- a/configure.ac

[PATCH 20/21] Remove 'exe' suffix from GS variable.

2014-01-12 Thread John Darrington
This had the effect of creating libraries called libgsexe.a etc. * Makefile.in: Remove 'exe' suffix from GS variable. --- Makefile.in |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 758a866..2214d73 100644 --- a/Makefile.in +++ b/Makefile.i

[PATCH 15/21] Correct bad directories for ROMFS_OBJS

2014-01-12 Thread John Darrington
--- base/unix-aux.mak |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/base/unix-aux.mak b/base/unix-aux.mak index 5226a29..2ba84c4 100644 --- a/base/unix-aux.mak +++ b/base/unix-aux.mak @@ -97,10 +97,10 @@ $(MKROMFS_XE)_0: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(

[PATCH 13/21] Improve reliability of freetype library (esp. wrt cross-building)

2014-01-12 Thread John Darrington
* configure.ac: Use PKG_CHECK_MODULE instead of ad hoc code --- configure.ac | 70 -- 1 file changed, 4 insertions(+), 66 deletions(-) diff --git a/configure.ac b/configure.ac index e22b86a..2c1435a 100644 --- a/configure.ac +++ b/configur

[PATCH 02/21] Makefile.in (top_srcdir): New variable

2014-01-12 Thread John Darrington
* Allow builds outside the source tree to succeed. --- Makefile.in| 12 +++- base/macos-mcp.mak |8 base/macosx.mak|8 base/ugcclib.mak |4 ++-- base/unix-gcc.mak |8 base/unixansi.mak |8 base/unixinst.mak

[PATCH 21/21] Do install contrib drivers if the --disable-contrib option was chosen.

2014-01-12 Thread John Darrington
* configure.ac: Conditionally install contrib drivers. --- configure.ac | 33 + 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index dcce828..0091457 100644 --- a/configure.ac +++ b/configure.ac @@ -1365,18 +1365,8 @@ X

[no subject]

2014-01-12 Thread John Darrington
I've started work on this. There is more work to be done, but I have got to the stage where I get a clean build out of source (and within it). I've also done the groundwork necessary to get cross build working, but that is not yet complete. I'll continue to work on that. In the meantime, here a

[PATCH 03/21] doc/gs-vms.htp: Gnu policy is not to acknowledge trademarks.

2014-01-12 Thread John Darrington
* doc/gs-vms.htp: Remove trademark acknowledgement. --- doc/gs-vms.hlp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/gs-vms.hlp b/doc/gs-vms.hlp index 235f0b8..d1f6e3c 100644 --- a/doc/gs-vms.hlp +++ b/doc/gs-vms.hlp @@ -4,7 +4,7 @@ Usage: $ gs [options]

[PATCH 06/21] configure: Fix endianess test while cross-compiling

2014-01-12 Thread John Darrington
* configure.ac: Replace ad hoc endianness test with the standard autoconf one --- configure.ac | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 150523e..fe7f6b9 100644 --- a/configure.ac +++ b/configure.ac @@ -1862,25 +1

[PATCH 18/21] Remove hard coded variables for tools (eg: SHELL).

2014-01-12 Thread John Darrington
These served no purpose except to frustrate users on systems where the tools are in unusual places. * base/all-arch.mak base/unixhead.mak: Remove assignments to utility variables. --- base/all-arch.mak | 22 -- base/unixhead.mak |2 -- 2 files changed, 24 deletions(-) d

[PATCH 07/21] Fix test for fontconfig when cross building

2014-01-12 Thread John Darrington
* configure.ac: Replace ad hoc test for fontconfig with one using PKG_CHECK_MODULES --- configure.ac | 39 +++ 1 file changed, 7 insertions(+), 32 deletions(-) diff --git a/configure.ac b/configure.ac index fe7f6b9..d66f06a 100644 --- a/configure.ac +++ b/co