[gs-devel] Re: Merger of ESP and GPL GhostScript: (Nearly) Completed
Till Kamppeter
till.kamppeter at gmail.com
Fri Apr 27 15:43:01 PDT 2007
Patch added to my collection as
http://www.linuxprinting.org/download/printing/esp-gpl-ghostscript-merge/ghostscript-8.57-ijs-automake.patch
Till
Bernhard Rosenkraenzer wrote:
> On Friday 27 April 2007, Till Kamppeter wrote:
>> See
>> http://www.linuxprinting.org/download/printing/esp-gpl-ghostscript-merge/
>> with all files and a README with instructions. Please try it out.
>
> The patches look good to me. I've run into 2 issues so far: autogen.sh in the
> ijs subdir fails to detect automake versions > 1.6 (using 1.10 here), but
> they work perfectly once detected. The attached patch should fix it.
>
> Later in the build process, I get
> ./obj/../soobj/echogs -e .dev -w- -l-obj ./obj/../soobj/fapiu
> make[1]: *** No rule to make target `/objs/freetype214MT_D', needed by
> `obj/../soobj/fapif1.dev'. Stop.
> make[1]: Leaving directory `/usr/src/ark/BUILD/gs'
>
> I didn't have the time to check what's going on there yet, but "/objs/" looks
> wrong, probably it's just a missing variable definition somewhere.
>
> Best regards,
> bero
>
>
> ------------------------------------------------------------------------
>
> --- gs/ijs/autogen.sh.ark 2007-04-27 19:41:07.000000000 +0200
> +++ gs/ijs/autogen.sh 2007-04-27 20:00:04.000000000 +0200
> @@ -34,6 +34,10 @@
> # do we need automake?
> (grep "^AM_INIT_AUTOMAKE" "$CONFIG_AC" >/dev/null) && {
> AM_NEEDED=`fgrep AUTOMAKE_OPTIONS Makefile.am | $VERSIONGREP`
> + AM_NMAJOR=`echo $AM_NEEDED |cut -d. -f1`
> + AM_NMINOR=`echo $AM_NEEDED |cut -d. -f2`
> + AM_NPATCHLEVEL=`echo $AM_NEEDED |cut -d. -f3`
> + AM_NVERSION=`expr $AM_NMAJOR '*' 10000 + $AM_NMINOR '*' 100 + 0$AM_NPATCHLEVEL`
> if test -z $AM_NEEDED; then
> echo -n "checking for automake... "
> AUTOMAKE=automake
> @@ -49,8 +53,11 @@
> echo -n "checking for automake $AM_NEEDED or later... "
> for am in automake-$AM_NEEDED automake$AM_NEEDED automake; do
> ($am --version < /dev/null > /dev/null 2>&1) || continue
> - ver=`$am --version < /dev/null | head -1 | $VERSIONGREP`
> - if test $ver = $AM_NEEDED; then
> + AM_MAJOR=`echo $AM_NEEDED |cut -d. -f1`
> + AM_MINOR=`echo $AM_NEEDED |cut -d. -f2`
> + AM_PATCHLEVEL=`echo $AM_NEEDED |cut -d. -f3`
> + AM_VERSION=`expr $AM_NMAJOR '*' 10000 + $AM_NMINOR '*' 100 + 0$AM_NPATCHLEVEL`
> + if test $AM_VERSION -ge $AM_NVERSION; then
> AUTOMAKE=$am
> echo $AUTOMAKE
> break
> @@ -60,8 +67,11 @@
> echo -n "checking for aclocal $AM_NEEDED or later... "
> for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED aclocal; do
> ($ac --version < /dev/null > /dev/null 2>&1) || continue
> - ver=`$ac --version < /dev/null | head -1 | $VERSIONGREP`
> - if test $ver = $AM_NEEDED; then
> + AM_MAJOR=`echo $AM_NEEDED |cut -d. -f1`
> + AM_MINOR=`echo $AM_NEEDED |cut -d. -f2`
> + AM_PATCHLEVEL=`echo $AM_NEEDED |cut -d. -f3`
> + AM_VERSION=`expr $AM_NMAJOR '*' 10000 + $AM_NMINOR '*' 100 + 0$AM_NPATCHLEVEL`
> + if test $AM_VERSION -ge $AM_NVERSION; then
> ACLOCAL=$ac
> echo $ACLOCAL
> break
More information about the gs-devel
mailing list