|
|
6bfa55 |
From 9a6564bc1a2f2eeaf9faffd4d3b0a5a562855123 Mon Sep 17 00:00:00 2001
|
|
|
6bfa55 |
From: rpm-build <rpm-build>
|
|
|
6bfa55 |
Date: Tue, 9 Oct 2018 15:42:09 +0200
|
|
|
6bfa55 |
Subject: [PATCH] Fix to re-enable CUPS filters creation (needed for
|
|
|
6bfa55 |
ghostscript-cups)
|
|
|
6bfa55 |
|
|
|
6bfa55 |
---
|
|
|
6bfa55 |
Makefile.in | 2 ++
|
|
|
6bfa55 |
configure.ac | 9 +++++++++
|
|
|
6bfa55 |
2 files changed, 11 insertions(+)
|
|
|
6bfa55 |
|
|
|
6bfa55 |
diff --git a/Makefile.in b/Makefile.in
|
|
|
6bfa55 |
index d6f114a..bdf0ae7 100644
|
|
|
6bfa55 |
--- a/Makefile.in
|
|
|
6bfa55 |
+++ b/Makefile.in
|
|
|
6bfa55 |
@@ -351,6 +351,8 @@ CUPSSERVERROOT=@CUPSSERVERROOT@
|
|
|
6bfa55 |
CUPSDATA=@CUPSDATA@
|
|
|
6bfa55 |
CUPSPDFTORASTER=@CUPSPDFTORASTER@
|
|
|
6bfa55 |
|
|
|
6bfa55 |
+CUPSINSTTARGET=@CUPSINSTALL@
|
|
|
6bfa55 |
+
|
|
|
6bfa55 |
SHARE_LCUPS=@SHARELCUPS@
|
|
|
6bfa55 |
LCUPS_NAME=cups
|
|
|
6bfa55 |
LCUPSSRCDIR=@CUPS_DIR@
|
|
|
6bfa55 |
diff --git a/configure.ac b/configure.ac
|
|
|
6bfa55 |
index 8ecaccc..d063c1f 100644
|
|
|
6bfa55 |
--- a/configure.ac
|
|
|
6bfa55 |
+++ b/configure.ac
|
|
|
6bfa55 |
@@ -1400,6 +1400,10 @@ AC_ARG_WITH([local-cups], AC_HELP_STRING([--with-local-cups],
|
|
|
6bfa55 |
[Force using the GS supplied cups code - only useful for debugging]),
|
|
|
6bfa55 |
[with_local_cups=yes], [with_local_cups=no])
|
|
|
6bfa55 |
|
|
|
6bfa55 |
+AC_ARG_WITH([install-cups], AC_HELP_STRING([--with-install-cups],
|
|
|
6bfa55 |
+ [Install the cups conversion tools]),
|
|
|
6bfa55 |
+ [CUPSINSTALL=install-cups], [CUPSINSTALL=])
|
|
|
6bfa55 |
+
|
|
|
6bfa55 |
AC_ARG_WITH([cups-serverbin], AC_HELP_STRING([--with-cups-serverbin],
|
|
|
6bfa55 |
[override the "cups-config --serverbin" path]), CUPS_SERVERBIN="$withval", CUPS_SERVERBIN="")
|
|
|
6bfa55 |
|
|
|
6bfa55 |
@@ -3029,6 +3033,11 @@ if test x"$THEMAKEFILE" != x"$MAKEFILE" && test x"$CCAUX" = x"$CC"; then
|
|
|
6bfa55 |
CONFIG_FILES_LIST="$CONFIG_FILES_LIST"
|
|
|
6bfa55 |
fi
|
|
|
6bfa55 |
|
|
|
6bfa55 |
+if ( test -d cups ); then
|
|
|
6bfa55 |
+AC_OUTPUT(cups/gstopxl)
|
|
|
6bfa55 |
+chmod +x cups/gstopxl
|
|
|
6bfa55 |
+fi
|
|
|
6bfa55 |
+
|
|
|
6bfa55 |
if test "x$AFS" = "x1"; then
|
|
|
6bfa55 |
AC_MSG_WARN([Using "native" font scaler which is now deprecated (rather than freetype),])
|
|
|
6bfa55 |
AC_MSG_WARN([Support for this will be removed in a future release])
|
|
|
6bfa55 |
--
|
|
|
6bfa55 |
2.14.4
|
|
|
6bfa55 |
|