SOURCES: ghostscript-gpl-am.patch (NEW) - fontpath fixees
djurban
djurban at pld-linux.org
Tue Sep 6 18:16:32 CEST 2005
Author: djurban Date: Tue Sep 6 16:16:32 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fontpath fixees
---- Files affected:
SOURCES:
ghostscript-gpl-am.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ghostscript-gpl-am.patch
diff -u /dev/null SOURCES/ghostscript-gpl-am.patch:1.1
--- /dev/null Tue Sep 6 18:16:32 2005
+++ SOURCES/ghostscript-gpl-am.patch Tue Sep 6 18:16:27 2005
@@ -0,0 +1,47 @@
+--- ghostscript-8.15/configure.ac.orig 2005-09-01 19:55:00.000000000 +0200
++++ ghostscript-8.15/configure.ac 2005-09-01 19:56:10.000000000 +0200
+@@ -265,6 +265,33 @@
+ AC_SUBST(IJSDIR)
+ AC_SUBST(IJSDEVS)
+
++dnl look for default font path...
++AC_ARG_WITH(fontpath, [ --with-fontpath set font path for gs],fontpath="$withval",fontpath="")
++
++dnl Fix "prefix" variable...
++if test "x$prefix" = xNONE; then
++ prefix=/usr/local
++fi
++
++dnl Fix "datadir" variable...
++if test "x$datadir" = 'x${prefix}/share'; then
++ datadir="$prefix/share"
++fi
++ dnl Fix "fontpath" variable...
++if test "x$fontpath" = "x"; then
++# These font directories are used by various Linux distributions...
++ fontpath="$datadir/fonts/default/ghostscript"
++ fontpath="${fontpath}:$datadir/fonts/default/Type1"
++ fontpath="${fontpath}:$datadir/fonts/default/TrueType"
++ # These font directories are used by IRIX...
++ fontpath="${fontpath}:/usr/lib/DPS/outline/base"
++ # These font directories are used by Solaris...
++ fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1"
++ fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType"
++fi
++
++AC_SUBST(fontpath)
++
+ dnl look for jbig2dec
+ AC_ARG_WITH(jbig2dec, AC_HELP_STRING([--with-jbig2dec],[include JBIG2 decode support]))
+ JBIG2DIR=src
+--- ghostscript-8.15/src/Makefile.in~ 2004-09-08 08:30:15.000000000 +0200
++++ ghostscript-8.15/src/Makefile.in 2005-09-01 19:57:05.000000000 +0200
+@@ -70,7 +70,7 @@
+ # Define the default directory/ies for the runtime
+ # initialization and font files. Separate multiple directories with a :.
+
+-GS_LIB_DEFAULT=$(gsdatadir)/lib:$(gsdatadir)/Resource:$(gsdir)/fonts
++GS_LIB_DEFAULT=$(gsdatadir)/lib:$(gsdatadir)/Resource:$(gsdir)/fonts:@fontpath@
+
+ # Define whether or not searching for initialization files should always
+ # look in the current directory first. This leads to well-known security
================================================================
More information about the pld-cvs-commit
mailing list