gutenprint: add gutenprint native (need cups-native and libijs-native on host)
authorPurdyd <purdyd_at_wisheights@yahoo.com>
Sat, 13 Oct 2007 14:50:23 +0000 (14:50 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 13 Oct 2007 14:50:23 +0000 (14:50 +0000)
packages/gutenprint/.mtn2git_empty [moved from packages/nonworking/gutenprint/.mtn2git_empty with 100% similarity]
packages/gutenprint/gutenprint-native_5.1.3.bb [new file with mode: 0644]
packages/gutenprint/gutenprint.inc [new file with mode: 0644]
packages/nonworking/gutenprint/gutenprint_5.0.0.bb [deleted file]

diff --git a/packages/gutenprint/gutenprint-native_5.1.3.bb b/packages/gutenprint/gutenprint-native_5.1.3.bb
new file mode 100644 (file)
index 0000000..4fe56d6
--- /dev/null
@@ -0,0 +1,39 @@
+SECTION = "libs"
+require gutenprint_${PV}.bb
+DEPENDS = ""
+inherit native
+
+EXTRA_OECONF = "\
+               --disable-nls \
+               --disable-gtktest \
+               --enable-cups-ppds \
+               --disable-libgutenprintui \
+               --disable-libgutenprintui2 \
+               --disable-translated-cups-ppds \
+               --with-ghostscript \
+               --enable-cups-level3-ppds \
+               --disable-gimptest \
+               --enable-test \
+               --enable-epson \
+               --with-user-guide \
+               --with-samples \
+               --with-escputil \
+                "
+
+do_configure() {
+        gnu-configize
+       libtoolize --force
+       oe_runconf
+}
+
+
+
+
+do_stage() {
+       autotools_stage_includes
+       install -m 0755 -d ${STAGING_DATADIR}/cups/model
+       install -m 0644 src/cups/ppd/C/*ppd* ${STAGING_DATADIR}/cups/model/   
+#      oe_libinstall -so -a -C objs libfreetype ${STAGING_LIBDIR}
+}
+
+
diff --git a/packages/gutenprint/gutenprint.inc b/packages/gutenprint/gutenprint.inc
new file mode 100644 (file)
index 0000000..9616130
--- /dev/null
@@ -0,0 +1,28 @@
+DESCRIPTION = "Gutenprint printer drivers"
+HOMEPAGE = "http://gimp-print.sourceforge.net/"
+LICENSE = "GPL"
+
+DEPENDS = "glib-2.0 cups tiff jpeg libpng gutenprint-native espgs"
+
+
+inherit autotools pkgconfig
+PARALLEL_MAKE=""
+
+#EXTRA_OECONF = "\
+#              --disable-nls \
+#               --disable-gtktest \
+#              --enable-cups-ppds \
+#               --disable-libgutenprintui \
+#               --disable-libgutenprintui2 \
+#              --disable-translated-cups-ppds \
+#              --with-ghostscript \
+#              --enable-cups-level3-ppds \
+#               --disable-gimptest \
+#              --enable-test \
+#              --enable-epson \
+#              --with-user-guide \
+#              --with-samples \
+#              --with-escputil \
+#               "
+
+
diff --git a/packages/nonworking/gutenprint/gutenprint_5.0.0.bb b/packages/nonworking/gutenprint/gutenprint_5.0.0.bb
deleted file mode 100644 (file)
index 5a0de77..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-DEPENDS = "glib-2.0 gtk+ cups"
-
-inherit autotools pkgconfig
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/gimp-print/${P}.tar.bz2"
-
-EXTRA_OECONF = "\
-                --disable-gtktest \
-                --disable-libgutenprintui \
-                --enable-libgutenprintui2 \
-                --enable-translated-cups-ppds \
-                --disable-gimptest \
-                "
-
-do_configure() {
-       oe_runconf
-}
-
-