Skip to contentSkip to conversation

Added package Gutenprint

PATCH New Olivier Schonken 1 participant 1 message Mar 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added package Gutenprint

Gutenprint, formerly named Gimp-Print, is a suite of printer drivers that may be used with most common UNIX print spooling systems, including CUPS, lpr, LPRng, or others

---
Comments - This package made it very difficult in terms of cross- compilation. A lot of utilities need to be built and run at build time, and also links against the gutenprint library that was compiled. The autoconf files are also not a lot of use to change to CC_FOR_BUILD for the relevant utilities. This submission is not my best I am afraid, but I'm putting it out there in the hope that someone can make it better, and at the very least maybe use or benefit from it.

 package/Config.in                        |    1 +
 package/gutenprint/Config.in             |   13 ++++++
 package/gutenprint/gutenprint-patch.diff |   27 ++++++++++++
 package/gutenprint/gutenprint.mk         |   66 ++++++++++++++++++++++++++++++
 4 files changed, 107 insertions(+)
 create mode 100644 package/gutenprint/Config.in
 create mode 100644 package/gutenprint/gutenprint-patch.diff
 create mode 100644 package/gutenprint/gutenprint.mk
package/Config.in +1 -0
index 3c052b4..095aa8a 100644
@@ -642,6 +642,7 @@ source "package/ctorrent/Config.in"
 source "package/conntrack-tools/Config.in"
 source "package/cups/Config.in"
 source "package/foomatic-filters/Config.in"
+source "package/gutenprint/Config.in"
 source "package/hplip/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/dhcp/Config.in"
package/gutenprint/Config.in new file +13 -0
new file mode 100644
index 0000000..653aadb
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_GUTENPRINT
+	bool "gutenprint"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_PACKAGE_CUPS
+	help
+	  Gutenprint, formerly named Gimp-Print, is a suite of printer
+          drivers that may be used with most common UNIX print spooling
+          systems, including CUPS, lpr, LPRng, or others
+
+	  http://gimp-print.sourceforge.net/
+
+comment "gutenprint requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/gutenprint/gutenprint-patch.diff new file +27 -0
new file mode 100644
index 0000000..46b7572
@@ -0,0 +1,27 @@
+From dd6346ec813a550b3e3b41433261cd3d98d07fad Mon Sep 17 00:00:00 2001
+From: Olivier Schonken <[email protected]>
+Date: Fri, 22 Mar 2013 17:14:53 +0200
+Subject: [PATCH] Removed execution of extract strings
+
+Signed-off-by: Olivier Schonken <[email protected]>
+---
+ src/xml/Makefile.am |    4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/src/xml/Makefile.am b/src/xml/Makefile.am
+index 5e09896..b6b0f78 100644
+--- a/src/xml/Makefile.am
++++ b/src/xml/Makefile.am
+@@ -52,10 +52,6 @@ all-local: xmli18n-tmp.h xml-stamp
+
+
+ xmli18n-tmp.h: xml-stamp extract-strings
+-	-rm -f $@ [email protected]
+-	./extract-strings `cat xml-stamp | sed -e 's;^;$(srcdir)/;'` > [email protected]
+-	mv [email protected] $@
+-
+
+ dist-hook: xmli18n-tmp.h xml-stamp
+ # xmli18n-tmp.h is needed by po/POTFILES.in at dist time
+--
+1.7.10.4
package/gutenprint/gutenprint.mk new file +66 -0

66 lines not on this page · raw message

Signature · 1 line
1.7.10.4