mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] Added cups-1.3.9 and ghostscript-9.07 rules for ptxdist. Not fully working.
@ 2014-03-04 14:24 David Thomas
  0 siblings, 0 replies; only message in thread
From: David Thomas @ 2014-03-04 14:24 UTC (permalink / raw)
  To: ptxdist

The main problem is that this does not yet build gstoraster which cups needs
to work with non-Postscript printers in anything other than raw mode.

Notes:

1. Ghostscript 9.10 is the latest version at the time of writing. I am not
using that because support for gstoraster has been removed from it and put
into another package. I wanted to keep things somewhat simple.

2. Ghostscript 9.07 needs to know whether the target is big- or little-endian.
The patch 'patches/ghostscript-9.10/fix-configure' simply sets the target
endianness to little-endian without checking it. This obviously won't work for
big-endian targets.

3. The fix-configure patch also contains some test stuff and the path to
CUPSCONFIG has been directly set in it. That shouldn't really have been
done that way. The test stuff starts with "echo DJTDJTDJT".

4. The cups patches install a load of Printrex printer drivers that are not
included in standard cups; these are PPD files and raster-to-printer filters
that were developed for cups-1.3.9.

5. The cups patch 'enable-network-setup' allows browsing to http://target:631
to set up the printer. I use this because our device is headless.

6. Aside from the missing gstoraster, cups is working on the target.
---
 patches/ghostscript-9.07/fix-configure |   81 ++++++++
 patches/ghostscript-9.07/series        |    2 +
 rules/cups.in                          |    7 +
 rules/cups.make                        |  155 +++++++++++++++
 rules/ghostscript.in                   |    8 +
 rules/ghostscript.make                 |  323 ++++++++++++++++++++++++++++++++
 6 files changed, 576 insertions(+)
 create mode 100644 patches/ghostscript-9.07/empty
 create mode 100644 patches/ghostscript-9.07/fix-configure
 create mode 100644 patches/ghostscript-9.07/series
 create mode 100644 rules/cups.in
 create mode 100644 rules/cups.make
 create mode 100644 rules/ghostscript.in
 create mode 100644 rules/ghostscript.make

diff --git a/patches/ghostscript-9.07/empty b/patches/ghostscript-9.07/empty
new file mode 100644
index 0000000..e69de29
diff --git a/patches/ghostscript-9.07/fix-configure b/patches/ghostscript-9.07/fix-configure
new file mode 100644
index 0000000..ae0462e
--- /dev/null
+++ b/patches/ghostscript-9.07/fix-configure
@@ -0,0 +1,81 @@
+Index: ghostscript-9.07/configure
+===================================================================
+--- ghostscript-9.07.orig/configure	2013-02-14 07:58:14.000000000 +0000
++++ ghostscript-9.07/configure	2014-02-28 11:14:24.405690372 +0000
+@@ -3968,41 +3968,9 @@
+ $as_echo " ...done." >&6; }
+ 
+ 
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for big endian" >&5
+-$as_echo_n "checking for big endian... " >&6; }
+-
+-if test "$cross_compiling" = yes; then :
+-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error $? "cannot run test program while cross compiling
+-See \`config.log' for more details" "$LINENO" 5; }
+-else
+-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-#include <stdio.h>
+-int
+-main ()
+-{
+-
+-   static const int one = 1;
+-   return (*(char*)&one == 0 ? 0 : 1);
+-
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_run "$LINENO"; then :
+-  BIGENDIAN=1;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: big" >&5
+-$as_echo "big" >&6; }
+-else
+-  BIGENDIAN=0;{ $as_echo "$as_me:${as_lineno-$LINENO}: result: little" >&5
+-$as_echo "little" >&6; }
+-fi
+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+-fi
+-
+-
++# We cannot build test programs while cross-compiling.
++# The AM335x platform is little-endian.
++BIGENDIAN=0
+ 
+ 
+ # Check whether --enable-threadsafe was given.
+@@ -6546,7 +6514,8 @@
+ CUPSCFLAGS=""
+ CUPSLIBS=""
+ CUPSLIBDIRS=""
+-CUPSCONFIG="${CUPSCONFIG:=}"
++# This was modified so that cross-compiled Ghostscript can find cups-config
++CUPSCONFIG=`pwd`/../root/usr/bin/cups-config
+ CUPSSERVERBIN=""
+ CUPSSERVERROOT=""
+ CUPSDATA=""
+@@ -6556,6 +6525,8 @@
+ SHARELCUPS=1
+ SHARELCUPSI=1
+ 
++echo DJTDJTDJT
++
+ if ( test -d cups ); then
+     if test x$enable_cups != xno; then
+         if test x$with_local_cups != xyes; then
+@@ -6598,6 +6569,12 @@
+ $as_echo "no" >&6; }
+ fi
+ 
++# cups-config should now have been found.
++
++echo ----------------------------------------
++echo ac_includes_default=$ac_includes_default
++echo CFLAGS=$CFLAGS
++echo ----------------------------------------
+ 
+             ac_fn_c_check_header_mongrel "$LINENO" "cups/raster.h" "ac_cv_header_cups_raster_h" "$ac_includes_default"
+ if test "x$ac_cv_header_cups_raster_h" = xyes; then :
diff --git a/patches/ghostscript-9.07/series b/patches/ghostscript-9.07/series
new file mode 100644
index 0000000..1ba001a
--- /dev/null
+++ b/patches/ghostscript-9.07/series
@@ -0,0 +1,2 @@
+empty
+fix-configure
diff --git a/rules/cups.in b/rules/cups.in
new file mode 100644
index 0000000..da0799c
--- /dev/null
+++ b/rules/cups.in
@@ -0,0 +1,7 @@
+## SECTION=project_specific
+
+config CUPS
+	tristate
+	prompt "cups"
+	help
+	  FIXME
diff --git a/rules/cups.make b/rules/cups.make
new file mode 100644
index 0000000..83cd686
--- /dev/null
+++ b/rules/cups.make
@@ -0,0 +1,155 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by <>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_CUPS) += cups
+
+#
+# Paths and names
+#
+CUPS_VERSION	:= 1.3.9
+CUPS_MD5	:= 72430b36094cf587cf2e0087047d5643
+CUPS		:= cups-$(CUPS_VERSION)
+CUPS_SUFFIX	:= tar.bz2
+CUPS_URL	:= ftp://ftp.gr.debian.org/pub/gnu/cups/1.3.9//$(CUPS)-source.$(CUPS_SUFFIX)
+CUPS_SOURCE	:= $(SRCDIR)/$(CUPS).$(CUPS_SUFFIX)
+CUPS_DIR	:= $(BUILDDIR)/$(CUPS)
+CUPS_LICENSE	:= unknown
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+#$(CUPS_SOURCE):
+#	@$(call targetinfo)
+#	@$(call get, CUPS)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#CUPS_CONF_ENV	:= $(CROSS_ENV)
+
+#
+# autoconf
+#
+CUPS_CONF_TOOL	:= autoconf
+#CUPS_CONF_OPT	:= $(CROSS_AUTOCONF_USR)
+
+#$(STATEDIR)/cups.prepare:
+#	@$(call targetinfo)
+#	@$(call clean, $(CUPS_DIR)/config.cache)
+#	cd $(CUPS_DIR) && \
+#		$(CUPS_PATH) $(CUPS_ENV) \
+#		./configure $(CUPS_CONF_OPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/cups.compile:
+#	@$(call targetinfo)
+#	@$(call world/compile, CUPS)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/cups.install:
+	@$(call targetinfo)
+	@$(call world/install, CUPS)
+
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/cups.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, cups)
+	@$(call install_fixup, cups,PRIORITY,optional)
+	@$(call install_fixup, cups,SECTION,base)
+	@$(call install_fixup, cups,AUTHOR,"<>")
+	@$(call install_fixup, cups,DESCRIPTION,missing)
+
+# Copy from the relevant directories
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/systemv/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/berkeley/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/cups/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/filter/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/backend/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/cgi-bin/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/scheduler/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/pdftops/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/monitor/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/notifier/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/notifier/var, /var)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/data/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/fonts/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/ppd/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/templates/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/doc/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/locale/usr, /usr)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/conf/etc, /etc)
+	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/etc, /etc)
+
+# Populate /usr/lib
+	# Copy the built libraries into a place where they will be found.	
+	cp --recursive $(CUPS_DIR)/cups/usr/lib $(PTXDIST_SYSROOT_TARGET)/usr
+	cp --recursive $(CUPS_DIR)/filter/usr $(PTXDIST_SYSROOT_TARGET)
+	
+	# Install the libraries.
+	#@$(call install_lib, cups, 0, 0, 0644, libcups)
+	#@$(call install_lib, cups, 0, 0, 0644, libcupsimage)
+	# Install the library utilities.
+	@$(call install_copy, cups, 0, 0, 0755, /lib/cups/driver)
+
+# Populate PPD files for Printrex printers
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex820.ppd, /usr/share/cups/model/printrex820.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex822.ppd, /usr/share/cups/model/printrex822.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex823.ppd, /usr/share/cups/model/printrex823.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex840.ppd, /usr/share/cups/model/printrex840.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex842.ppd, /usr/share/cups/model/printrex842.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex843.ppd, /usr/share/cups/model/printrex843.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex920.ppd, /usr/share/cups/model/printrex920.ppd)
+	@$(call install_copy, cups, 0, 0, 0755, $(CUPS_DIR)/ppd/printrex1242.ppd, /usr/share/cups/model/printrex1242.ppd)
+	#@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/templates/usr/share, /usr/share)
+	#@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/doc/usr/share, /usr/share)
+	#@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/locale/usr/share, /usr/share)
+
+# Skip man pages
+#	@$(call install_tree, cups, 0, 0, $(CUPS_DIR)/man/usr/share, /share)
+
+# Make var directories
+	@$(call install_copy, cups, 0, 0, 0755, /var/cache/cups/rss)
+	@$(call install_copy, cups, 0, 0, 0755, /var/log/cups)
+	@$(call install_copy, cups, 0, 0, 0755, /var/run/cups/certs)
+	@$(call install_copy, cups, 0, 0, 0755, /var/spool/cups/tmp)
+
+	@$(call install_finish, cups)
+
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/cups.clean:
+#	@$(call targetinfo)
+#	@$(call clean_pkg, CUPS)
+
+# vim: syntax=make
diff --git a/rules/ghostscript.in b/rules/ghostscript.in
new file mode 100644
index 0000000..07abd79
--- /dev/null
+++ b/rules/ghostscript.in
@@ -0,0 +1,8 @@
+## SECTION=project_specific
+
+config GHOSTSCRIPT
+	tristate
+	prompt "ghostscript"
+	select CUPS
+	help
+	  Enable CUPS support of non-Postscript printers
diff --git a/rules/ghostscript.make b/rules/ghostscript.make
new file mode 100644
index 0000000..5ce5ab9
--- /dev/null
+++ b/rules/ghostscript.make
@@ -0,0 +1,323 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by <>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_GHOSTSCRIPT) += ghostscript
+
+#
+# Paths and names
+#
+GHOSTSCRIPT_VERSION	:= 9.07
+GHOSTSCRIPT_MD5		:= 57ebf17c5abcf0fc95a386bfff08c1a4
+GHOSTSCRIPT			:= ghostscript-$(GHOSTSCRIPT_VERSION)
+GHOSTSCRIPT_SUFFIX	:= tar.gz
+GHOSTSCRIPT_URL		:= http://downloads.ghostscript.com/public/$(GHOSTSCRIPT).$(GHOSTSCRIPT_SUFFIX)
+GHOSTSCRIPT_SOURCE	:= $(SRCDIR)/$(GHOSTSCRIPT).$(GHOSTSCRIPT_SUFFIX)
+GHOSTSCRIPT_DIR		:= $(BUILDDIR)/$(GHOSTSCRIPT)
+GHOSTSCRIPT_LICENSE	:= unknown
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+#$(GHOSTSCRIPT_SOURCE):
+#	@$(call targetinfo)
+#	@$(call get, GHOSTSCRIPT)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#GHOSTSCRIPT_CONF_ENV	:= $(CROSS_ENV)
+
+#
+# autoconf
+#
+GHOSTSCRIPT_CONF_TOOL	:= autoconf
+GHOSTSCRIPT_CONF_OPT	:= $(CROSS_AUTOCONF_USR) --build=i586-pc-linux-gnu --host=arm-cortexa8-linux-gnueabihf --with-system-libtiff --enable-cups --with-install-cups
+
+$(STATEDIR)/ghostscript.prepare:
+	@$(call targetinfo)
+	cp $(PTXDIST_SYSROOT_TARGET)/usr/include/cups/raster.h $(GHOSTSCRIPT_DIR)/cups/raster.h
+	#ln -s ../../cups-1.3.9/filter/raster.h platform-phyCORE-AM335x/build-target/ghostscript-9.07/cups/raster.h
+	#ln -s ../../cups-1.3.9/cups-config platform-phyCORE-AM335x/build-target/ghostscript-9.07/cups/cups-config
+	@$(call clean, $(GHOSTSCRIPT_DIR)/config.cache)
+	cd $(GHOSTSCRIPT_DIR) && \
+		$(GHOSTSCRIPT_PATH) $(GHOSTSCRIPT_ENV) \
+		./configure $(GHOSTSCRIPT_CONF_OPT)
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ghostscript.compile:
+	@$(call targetinfo)
+	-@$(call world/compile, GHOSTSCRIPT)
+	cp platform-phyCORE-AM335x/build-host/ghostscript-9.07/obj/aux/echogs platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/echogs
+	touch platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/echogs
+	-@$(call world/compile, GHOSTSCRIPT)
+	cp platform-phyCORE-AM335x/build-host/ghostscript-9.07/obj/aux/genarch platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/genarch
+	touch platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/genarch
+	-@$(call world/compile, GHOSTSCRIPT)
+	cp platform-phyCORE-AM335x/build-host/ghostscript-9.07/obj/aux/genconf platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/genconf
+	touch platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/genconf
+	-@$(call world/compile, GHOSTSCRIPT)
+	cp platform-phyCORE-AM335x/build-host/ghostscript-9.07/obj/aux/mkromfs platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/mkromfs
+	touch platform-phyCORE-AM335x/build-target/ghostscript-9.07/obj/aux/mkromfs
+	@$(call world/compile, GHOSTSCRIPT)
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/ghostscript.install:
+#	@$(call targetinfo)
+#	@$(call world/install, GHOSTSCRIPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/ghostscript.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, ghostscript)
+	@$(call install_fixup, ghostscript,PRIORITY,optional)
+	@$(call install_fixup, ghostscript,SECTION,base)
+	@$(call install_fixup, ghostscript,AUTHOR,"<>")
+	@$(call install_fixup, ghostscript,DESCRIPTION,missing)
+
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/dvipdf, /usr/bin/dvipdf)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/eps2eps, /usr/bin/eps2eps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/font2c, /usr/bin/font2c)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/bin/gs, /usr/bin/gs)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/gsbj, /usr/bin/gsbj)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/gsdj, /usr/bin/gsdj)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/gsdj500, /usr/bin/gsdj500)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/gslj, /usr/bin/gslj)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/gslp, /usr/bin/gslp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/gsnd, /usr/bin/gsnd)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/lprsetup.sh, /usr/bin/lprsetup.sh)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/pdf2dsc, /usr/bin/pdf2dsc)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/pdf2ps, /usr/bin/pdf2ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/pf2afm, /usr/bin/pf2afm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/pfbtopfa, /usr/bin/pfbtopfa)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/pphs, /usr/bin/pphs)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2ascii, /usr/bin/ps2ascii)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2epsi, /usr/bin/ps2epsi)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2pdf, /usr/bin/ps2pdf)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2pdf12, /usr/bin/ps2pdf12)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2pdf13, /usr/bin/ps2pdf13)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2pdf14, /usr/bin/ps2pdf14)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2pdfwr, /usr/bin/ps2pdfwr)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2ps, /usr/bin/ps2ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/ps2ps2, /usr/bin/ps2ps2)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/unix-lpr.sh, /usr/bin/unix-lpr.sh)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/obj/wftopfa, /usr/bin/wftopfa)
+
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/acctest.ps, /usr/share/ghostscript/9.10/lib/acctest.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/addxchar.ps, /usr/share/ghostscript/9.10/lib/addxchar.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/align.ps, /usr/share/ghostscript/9.10/lib/align.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8gc12f.upp, /usr/share/ghostscript/9.10/lib/bj8gc12f.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8hg12f.upp, /usr/share/ghostscript/9.10/lib/bj8hg12f.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8oh06n.upp, /usr/share/ghostscript/9.10/lib/bj8oh06n.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8pa06n.upp, /usr/share/ghostscript/9.10/lib/bj8pa06n.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8pp12f.upp, /usr/share/ghostscript/9.10/lib/bj8pp12f.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8.rpd, /usr/share/ghostscript/9.10/lib/bj8.rpd)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bj8ts06n.upp, /usr/share/ghostscript/9.10/lib/bj8ts06n.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/bjc6000a1.upp, /usr/share/ghostscript/9.10/lib/bjc6000a1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/bjc6000b1.upp, /usr/share/ghostscript/9.10/lib/bjc6000b1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a0.upp, /usr/share/ghostscript/9.10/lib/bjc610a0.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a1.upp, /usr/share/ghostscript/9.10/lib/bjc610a1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a2.upp, /usr/share/ghostscript/9.10/lib/bjc610a2.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a3.upp, /usr/share/ghostscript/9.10/lib/bjc610a3.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a4.upp, /usr/share/ghostscript/9.10/lib/bjc610a4.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a5.upp, /usr/share/ghostscript/9.10/lib/bjc610a5.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a6.upp, /usr/share/ghostscript/9.10/lib/bjc610a6.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a7.upp, /usr/share/ghostscript/9.10/lib/bjc610a7.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610a8.upp, /usr/share/ghostscript/9.10/lib/bjc610a8.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b1.upp, /usr/share/ghostscript/9.10/lib/bjc610b1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b2.upp, /usr/share/ghostscript/9.10/lib/bjc610b2.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b3.upp, /usr/share/ghostscript/9.10/lib/bjc610b3.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b4.upp, /usr/share/ghostscript/9.10/lib/bjc610b4.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b6.upp, /usr/share/ghostscript/9.10/lib/bjc610b6.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b7.upp, /usr/share/ghostscript/9.10/lib/bjc610b7.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/bjc610b8.upp, /usr/share/ghostscript/9.10/lib/bjc610b8.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/caption.ps, /usr/share/ghostscript/9.10/lib/caption.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/cbjc600.ppd, /usr/share/ghostscript/9.10/lib/cbjc600.ppd)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/cbjc800.ppd, /usr/share/ghostscript/9.10/lib/cbjc800.ppd)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/cdj550.upp, /usr/share/ghostscript/9.10/lib/cdj550.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/cdj690ec.upp, /usr/share/ghostscript/9.10/lib/cdj690ec.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/cdj690.upp, /usr/share/ghostscript/9.10/lib/cdj690.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/cid2code.ps, /usr/share/ghostscript/9.10/lib/cid2code.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/decrypt.ps, /usr/share/ghostscript/9.10/lib/decrypt.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/japanese/dmp_init.ps, /usr/share/ghostscript/9.10/lib/dmp_init.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/japanese/dmp_site.ps, /usr/share/ghostscript/9.10/lib/dmp_site.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/dnj750c.upp, /usr/share/ghostscript/9.10/lib/dnj750c.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/dnj750m.upp, /usr/share/ghostscript/9.10/lib/dnj750m.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/docie.ps, /usr/share/ghostscript/9.10/lib/docie.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/japanese/escp_24.src, /usr/share/ghostscript/9.10/lib/escp_24.src)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/font2c.ps, /usr/share/ghostscript/9.10/lib/font2c.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/font2pcl.ps, /usr/share/ghostscript/9.10/lib/font2pcl.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ghostpdf.ppd, /usr/share/ghostscript/9.10/lib/ghostpdf.ppd)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_ce_e.ps, /usr/share/ghostscript/9.10/lib/gs_ce_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_cmdl.ps, /usr/share/ghostscript/9.10/lib/gs_cmdl.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_fform.ps, /usr/share/ghostscript/9.10/lib/gs_fform.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_il2_e.ps, /usr/share/ghostscript/9.10/lib/gs_il2_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_kanji.ps, /usr/share/ghostscript/9.10/lib/gs_kanji.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_ksb_e.ps, /usr/share/ghostscript/9.10/lib/gs_ksb_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_lgo_e.ps, /usr/share/ghostscript/9.10/lib/gs_lgo_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_lgx_e.ps, /usr/share/ghostscript/9.10/lib/gs_lgx_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_l_m.xbm, /usr/share/ghostscript/9.10/lib/gs_l_m.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gslp.ps, /usr/share/ghostscript/9.10/lib/gslp.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_l.xbm, /usr/share/ghostscript/9.10/lib/gs_l.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_l.xpm, /usr/share/ghostscript/9.10/lib/gs_l.xpm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_m_m.xbm, /usr/share/ghostscript/9.10/lib/gs_m_m.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_m.xbm, /usr/share/ghostscript/9.10/lib/gs_m.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_m.xpm, /usr/share/ghostscript/9.10/lib/gs_m.xpm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gsnup.ps, /usr/share/ghostscript/9.10/lib/gsnup.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_pfile.ps, /usr/share/ghostscript/9.10/lib/gs_pfile.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_rdlin.ps, /usr/share/ghostscript/9.10/lib/gs_rdlin.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_s_m.xbm, /usr/share/ghostscript/9.10/lib/gs_s_m.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_s.xbm, /usr/share/ghostscript/9.10/lib/gs_s.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_s.xpm, /usr/share/ghostscript/9.10/lib/gs_s.xpm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_t_m.xbm, /usr/share/ghostscript/9.10/lib/gs_t_m.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_t.xbm, /usr/share/ghostscript/9.10/lib/gs_t.xbm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_t.xpm, /usr/share/ghostscript/9.10/lib/gs_t.xpm)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_wl1_e.ps, /usr/share/ghostscript/9.10/lib/gs_wl1_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_wl2_e.ps, /usr/share/ghostscript/9.10/lib/gs_wl2_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/gs_wl5_e.ps, /usr/share/ghostscript/9.10/lib/gs_wl5_e.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ht_ccsto.ps, /usr/share/ghostscript/9.10/lib/ht_ccsto.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/image-qa.ps, /usr/share/ghostscript/9.10/lib/image-qa.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/impath.ps, /usr/share/ghostscript/9.10/lib/impath.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/jispaper.ps, /usr/share/ghostscript/9.10/lib/jispaper.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/landscap.ps, /usr/share/ghostscript/9.10/lib/landscap.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/level1.ps, /usr/share/ghostscript/9.10/lib/level1.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/lines.ps, /usr/share/ghostscript/9.10/lib/lines.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/markhint.ps, /usr/share/ghostscript/9.10/lib/markhint.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/markpath.ps, /usr/share/ghostscript/9.10/lib/markpath.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/mkcidfm.ps, /usr/share/ghostscript/9.10/lib/mkcidfm.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/necp2x6.upp, /usr/share/ghostscript/9.10/lib/necp2x6.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/necp2x.upp, /usr/share/ghostscript/9.10/lib/necp2x.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/packfile.ps, /usr/share/ghostscript/9.10/lib/packfile.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/pcharstr.ps, /usr/share/ghostscript/9.10/lib/pcharstr.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/pdf2dsc.ps, /usr/share/ghostscript/9.10/lib/pdf2dsc.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/PDFA_def.ps, /usr/share/ghostscript/9.10/lib/PDFA_def.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/pdfwrite.ps, /usr/share/ghostscript/9.10/lib/pdfwrite.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/PDFX_def.ps, /usr/share/ghostscript/9.10/lib/PDFX_def.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/pf2afm.ps, /usr/share/ghostscript/9.10/lib/pf2afm.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/pfbtopfa.ps, /usr/share/ghostscript/9.10/lib/pfbtopfa.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/PM760pl.upp, /usr/share/ghostscript/9.10/lib/PM760pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/PM760p.upp, /usr/share/ghostscript/9.10/lib/PM760p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/PM820pl.upp, /usr/share/ghostscript/9.10/lib/PM820pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/PM820p.upp, /usr/share/ghostscript/9.10/lib/PM820p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ppath.ps, /usr/share/ghostscript/9.10/lib/ppath.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/pphs.ps, /usr/share/ghostscript/9.10/lib/pphs.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/prfont.ps, /usr/share/ghostscript/9.10/lib/prfont.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/printafm.ps, /usr/share/ghostscript/9.10/lib/printafm.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ps2ai.ps, /usr/share/ghostscript/9.10/lib/ps2ai.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ps2ascii.ps, /usr/share/ghostscript/9.10/lib/ps2ascii.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ps2epsi.ps, /usr/share/ghostscript/9.10/lib/ps2epsi.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/quit.ps, /usr/share/ghostscript/9.10/lib/quit.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ras1.upp, /usr/share/ghostscript/9.10/lib/ras1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ras24.upp, /usr/share/ghostscript/9.10/lib/ras24.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ras32.upp, /usr/share/ghostscript/9.10/lib/ras32.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ras3.upp, /usr/share/ghostscript/9.10/lib/ras3.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ras4.upp, /usr/share/ghostscript/9.10/lib/ras4.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/ras8m.upp, /usr/share/ghostscript/9.10/lib/ras8m.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/rollconv.ps, /usr/share/ghostscript/9.10/lib/rollconv.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/s400a1.upp, /usr/share/ghostscript/9.10/lib/s400a1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/s400b1.upp, /usr/share/ghostscript/9.10/lib/s400b1.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/sharp.upp, /usr/share/ghostscript/9.10/lib/sharp.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/showchar.ps, /usr/share/ghostscript/9.10/lib/showchar.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/showpage.ps, /usr/share/ghostscript/9.10/lib/showpage.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/sipixa6.upp, /usr/share/ghostscript/9.10/lib/sipixa6.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/st640ihg.upp, /usr/share/ghostscript/9.10/lib/st640ihg.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/st640ih.upp, /usr/share/ghostscript/9.10/lib/st640ih.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/st640pg.upp, /usr/share/ghostscript/9.10/lib/st640pg.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/st640plg.upp, /usr/share/ghostscript/9.10/lib/st640plg.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/st640pl.upp, /usr/share/ghostscript/9.10/lib/st640pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/st640p.upp, /usr/share/ghostscript/9.10/lib/st640p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc1520h.upp, /usr/share/ghostscript/9.10/lib/stc1520h.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc200_h.upp, /usr/share/ghostscript/9.10/lib/stc200_h.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc2_h.upp, /usr/share/ghostscript/9.10/lib/stc2_h.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc2s_h.upp, /usr/share/ghostscript/9.10/lib/stc2s_h.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc2.upp, /usr/share/ghostscript/9.10/lib/stc2.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc300bl.upp, /usr/share/ghostscript/9.10/lib/stc300bl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc300bm.upp, /usr/share/ghostscript/9.10/lib/stc300bm.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc300.upp, /usr/share/ghostscript/9.10/lib/stc300.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc500ph.upp, /usr/share/ghostscript/9.10/lib/stc500ph.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc500p.upp, /usr/share/ghostscript/9.10/lib/stc500p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc600ih.upp, /usr/share/ghostscript/9.10/lib/stc600ih.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc600pl.upp, /usr/share/ghostscript/9.10/lib/stc600pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc600p.upp, /usr/share/ghostscript/9.10/lib/stc600p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc640p.upp, /usr/share/ghostscript/9.10/lib/stc640p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc670pl.upp, /usr/share/ghostscript/9.10/lib/Stc670pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc670p.upp, /usr/share/ghostscript/9.10/lib/Stc670p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc680pl.upp, /usr/share/ghostscript/9.10/lib/Stc680pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc680p.upp, /usr/share/ghostscript/9.10/lib/Stc680p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/stc740ih.upp, /usr/share/ghostscript/9.10/lib/stc740ih.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc740pl.upp, /usr/share/ghostscript/9.10/lib/Stc740pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc740p.upp, /usr/share/ghostscript/9.10/lib/Stc740p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc760pl.upp, /usr/share/ghostscript/9.10/lib/Stc760pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc760p.upp, /usr/share/ghostscript/9.10/lib/Stc760p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc777pl.upp, /usr/share/ghostscript/9.10/lib/Stc777pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stc777p.upp, /usr/share/ghostscript/9.10/lib/Stc777p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc800ih.upp, /usr/share/ghostscript/9.10/lib/stc800ih.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc800pl.upp, /usr/share/ghostscript/9.10/lib/stc800pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc800p.upp, /usr/share/ghostscript/9.10/lib/stc800p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stcany_h.upp, /usr/share/ghostscript/9.10/lib/stcany_h.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stcany.upp, /usr/share/ghostscript/9.10/lib/stcany.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc_h.upp, /usr/share/ghostscript/9.10/lib/stc_h.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stcinfo.ps, /usr/share/ghostscript/9.10/lib/stcinfo.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc_l.upp, /usr/share/ghostscript/9.10/lib/stc_l.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stcolor.ps, /usr/share/ghostscript/9.10/lib/stcolor.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stc.upp, /usr/share/ghostscript/9.10/lib/stc.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/stocht.ps, /usr/share/ghostscript/9.10/lib/stocht.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stp720pl.upp, /usr/share/ghostscript/9.10/lib/Stp720pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stp720p.upp, /usr/share/ghostscript/9.10/lib/Stp720p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stp870pl.upp, /usr/share/ghostscript/9.10/lib/Stp870pl.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./contrib/uniprint/Stp870p.upp, /usr/share/ghostscript/9.10/lib/Stp870p.upp)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/traceimg.ps, /usr/share/ghostscript/9.10/lib/traceimg.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/traceop.ps, /usr/share/ghostscript/9.10/lib/traceop.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/type1enc.ps, /usr/share/ghostscript/9.10/lib/type1enc.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/type1ops.ps, /usr/share/ghostscript/9.10/lib/type1ops.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/uninfo.ps, /usr/share/ghostscript/9.10/lib/uninfo.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/unprot.ps, /usr/share/ghostscript/9.10/lib/unprot.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewcmyk.ps, /usr/share/ghostscript/9.10/lib/viewcmyk.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewgif.ps, /usr/share/ghostscript/9.10/lib/viewgif.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewjpeg.ps, /usr/share/ghostscript/9.10/lib/viewjpeg.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewmiff.ps, /usr/share/ghostscript/9.10/lib/viewmiff.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewpbm.ps, /usr/share/ghostscript/9.10/lib/viewpbm.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewpcx.ps, /usr/share/ghostscript/9.10/lib/viewpcx.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/viewps2a.ps, /usr/share/ghostscript/9.10/lib/viewps2a.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/wftopfa.ps, /usr/share/ghostscript/9.10/lib/wftopfa.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/winmaps.ps, /usr/share/ghostscript/9.10/lib/winmaps.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/wrfont.ps, /usr/share/ghostscript/9.10/lib/wrfont.ps)
+	@$(call install_copy, ghostscript, 0, 0, 0755, $(GHOSTSCRIPT_DIR)/./lib/zeroline.ps, /usr/share/ghostscript/9.10/lib/zeroline.ps)
+
+	@$(call install_finish, ghostscript)
+
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/ghostscript.clean:
+#	@$(call targetinfo)
+#	@$(call clean_pkg, GHOSTSCRIPT)
+
+# vim: syntax=make
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-04 14:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 14:24 [ptxdist] [PATCH 1/2] Added cups-1.3.9 and ghostscript-9.07 rules for ptxdist. Not fully working David Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox