mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.
@ 2014-03-04 15:40 David Thomas
  2014-03-05  8:57 ` Juergen Beisert
  0 siblings, 1 reply; 4+ messages in thread
From: David Thomas @ 2014-03-04 15:40 UTC (permalink / raw)
  To: ptxdist

These are a dependency of building ghostscript for the target
 because some of the files that ghostscript builds are
 programs that need to be run on the host during the
 build process.

---
 rules/host-ghostscript.in   |    7 +++++
 rules/host-ghostscript.make |   73 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
 create mode 100644 rules/host-ghostscript.in
 create mode 100644 rules/host-ghostscript.make

diff --git a/rules/host-ghostscript.in b/rules/host-ghostscript.in
new file mode 100644
index 0000000..7eb7b95
--- /dev/null
+++ b/rules/host-ghostscript.in
@@ -0,0 +1,7 @@
+## SECTION=project_specific
+
+config HOST_GHOSTSCRIPT
+	tristate
+	prompt "ghostscript"
+	help
+	  FIXME
diff --git a/rules/host-ghostscript.make b/rules/host-ghostscript.make
new file mode 100644
index 0000000..f45d9d5
--- /dev/null
+++ b/rules/host-ghostscript.make
@@ -0,0 +1,73 @@
+# -*-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
+#
+HOST_PACKAGES-$(PTXCONF_HOST_GHOSTSCRIPT) += host-ghostscript
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.extract:
+#	@$(call targetinfo)
+#	@$(call clean, $(HOST_GHOSTSCRIPT_DIR))
+#	@$(call extract, GHOSTSCRIPT, $(HOST_BUILDDIR))
+#	@$(call patchin, GHOSTSCRIPT, $(HOST_GHOSTSCRIPT_DIR))
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#HOST_GHOSTSCRIPT_CONF_ENV	:= $(HOST_ENV)
+
+#
+# autoconf
+#
+HOST_GHOSTSCRIPT_CONF_TOOL	:= autoconf
+#HOST_GHOSTSCRIPT_CONF_OPT	:= $(HOST_AUTOCONF)
+
+#$(STATEDIR)/host-ghostscript.prepare:
+#	@$(call targetinfo)
+#	@$(call clean, $(HOST_GHOSTSCRIPT_DIR)/config.cache)
+#	cd $(HOST_GHOSTSCRIPT_DIR) && \
+#		$(HOST_GHOSTSCRIPT_PATH) $(HOST_GHOSTSCRIPT_ENV) \
+#		./configure $(HOST_GHOSTSCRIPT_CONF_OPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.compile:
+#	@$(call targetinfo)
+#	@$(call world/compile, HOST_GHOSTSCRIPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.install:
+#	@$(call targetinfo)
+#	@$(call world/install, HOST_GHOSTSCRIPT)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/host-ghostscript.clean:
+#	@$(call targetinfo)
+#	@$(call clean_pkg, HOST_GHOSTSCRIPT)
+
+# vim: syntax=make
-- 
1.7.9.5

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.
  2014-03-04 15:40 [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host David Thomas
@ 2014-03-05  8:57 ` Juergen Beisert
  2014-03-05  9:08   ` Alexander Aring
  2014-03-05 10:03   ` [ptxdist] FW: " David Thomas
  0 siblings, 2 replies; 4+ messages in thread
From: Juergen Beisert @ 2014-03-05  8:57 UTC (permalink / raw)
  To: ptxdist; +Cc: David Thomas

Hi David,

welcome to the printing hell :)

I also tried with CUPS and Ghostscript. Its far from perfect, but it seems to 
work. The CUPS project is not interested in cross compiling (there was a 
statement at one of their mailing lists longer time ago and their buildsystem 
is really broken regarding this) and the Ghostscript buildsystem is an ugly 
mixture of autotools based configure and hand made Makefiles. A real mess. I'm 
using Ghostscript 8.70. Should I send my variant as well?

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.
  2014-03-05  8:57 ` Juergen Beisert
@ 2014-03-05  9:08   ` Alexander Aring
  2014-03-05 10:03   ` [ptxdist] FW: " David Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Alexander Aring @ 2014-03-05  9:08 UTC (permalink / raw)
  To: ptxdist; +Cc: David Thomas

Hi Juergen,

On Wed, Mar 05, 2014 at 09:57:06AM +0100, Juergen Beisert wrote:
> Hi David,
> 
> welcome to the printing hell :)
> 
> I also tried with CUPS and Ghostscript. Its far from perfect, but it seems to 
> work. The CUPS project is not interested in cross compiling (there was a 
> statement at one of their mailing lists longer time ago and their buildsystem 
> is really broken regarding this)

mhh, this statement must ending with:

"With best regards Apple Inc." ;-)

Otherwise you could do a fancy airprint with non apple embedded devices.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] FW: [PATCH 3/3] Rules to build ghostscript for the host.
  2014-03-05  8:57 ` Juergen Beisert
  2014-03-05  9:08   ` Alexander Aring
@ 2014-03-05 10:03   ` David Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: David Thomas @ 2014-03-05 10:03 UTC (permalink / raw)
  To: ptxdist

Hi Juergen,

If you got Ghostscript 8.70 to work with CUPS, I would be deeply interested in those patches. :-)

Thanks,
David

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-05 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 15:40 [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host David Thomas
2014-03-05  8:57 ` Juergen Beisert
2014-03-05  9:08   ` Alexander Aring
2014-03-05 10:03   ` [ptxdist] FW: " David Thomas

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