[oe-commits] org.oe.dev espgs: build with support for gutenprint, gimpprint and cups. ijs still disabled. Closes 3032.

Laibsch commit oe at amethyst.openembedded.net
Mon Sep 1 17:49:34 UTC 2008


espgs: build with support for gutenprint, gimpprint and cups.  ijs still disabled.  Closes 3032.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: b701ffba40ab76cb5b74d4e7415eca78071755bb
ViewMTN: http://monotone.openembedded.org/revision/info/b701ffba40ab76cb5b74d4e7415eca78071755bb
Files:
1
packages/espgs/espgs_8.15.3.bb
Diffs:

#
# mt diff -r91e1d2b24de09e8554422de236c10a6c71beb601 -rb701ffba40ab76cb5b74d4e7415eca78071755bb
#
#
#
# patch "packages/espgs/espgs_8.15.3.bb"
#  from [15c8fbb3bb09a6f58519c29dcb6c06b9a5bad084]
#    to [d05b9354e4bf056b14a558f78714e226e99eea4c]
#
============================================================
--- packages/espgs/espgs_8.15.3.bb	15c8fbb3bb09a6f58519c29dcb6c06b9a5bad084
+++ packages/espgs/espgs_8.15.3.bb	d05b9354e4bf056b14a558f78714e226e99eea4c
@@ -2,31 +2,21 @@ SECTION = "libs"
 including bug fixes, new drivers, and additional support for CUPS."
 HOMEPAGE = "http://www.cups.org/espgs/"
 SECTION = "libs"
-DEPENDS = "jpeg zlib libpng fontconfig"
+DEPENDS = "jpeg zlib libpng tiff fontconfig"
 LICENSE = "GPL"
+PR = "r1"
 
 SRC_URI = "http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/ghostscript/${PV}/espgs-${PV}-source.tar.bz2"
-S = "${WORKDIR}/espgs-${PV}"
 
 PARALLEL_MAKE = ""
 
 inherit autotools
 
-PACKAGES += "espgs-examples espgs-resources"
-
-# I added the lib dir to the central package, since espgs complained of a missing file when run.
-# If I find exactly which files are needed for operation, I'll just add those, and split the package.
-
-FILES_${PN} += "${datadir}/ghostscript/8.15/lib/*"
-FILES_${PN}-doc += "${datadir}/ghostscript/8.15/doc/*"
-FILES_${PN}-examples += "${datadir}/ghostscript/8.15/examples/*"
-FILES_${PN}-resources += "${datadir}/ghostscript/8.15/Resource/*"
-
-EXTRA_OECONF = "--with-drivers= \
-		--disable-cups \
+EXTRA_OECONF = "--with-drivers=ALL \
+ 		--enable-cups \
+		--without-ijs \
 		--disable-gtk \
-		--without-ijs \
-		--without-gimp-print \
+ 		--without-gimp-print \
 		--without-x \
 		--without-omni"
 
@@ -34,12 +24,32 @@ do_compile() {
 	oe_runmake CCAUX="${BUILD_CC}"
 }
 
+
 do_install () {
 	oe_runmake 'prefix=${D}${prefix}' \
 		   'bindir=${D}${bindir}' \
 		   'datadir=${D}${datadir}' \
+		   'cups_datadir=${D}${datadir}/cups' \
+		   'cups_serverroot=${D}${sysconfdir}/cups' \
+		   'cups_serverbin= ${D}${libdir}/cups' \
+		   'CUPSSERVER=${cups_serverbin}' \
+	           'CUPSCONFIG=${cups_serverroot}' \
+	           'CUPSDATA=${cups_datadir}' \
+                   'sysconfdir=${D}${sysconfdir}' \
 		   'gsdir=${D}${datadir}/ghostscript' \
 		   'gsdatadir=${D}${datadir}/ghostscript/8.15' \	
                    'mandir=${D}${mandir}' \
-                   'docdir=${D}${datadir}/doc/espgs/' install		   		   
+                   'docdir=${D}${datadir}/doc/espgs/' install  		   		   
 }
+
+PACKAGES += "espgs-examples espgs-resources"
+
+# I added the lib dir to the central package, since espgs complained of a missing file when run.
+# If I find exactly which files are needed for operation, I'll just add those, and split the package.
+
+FILES_${PN} += "${datadir}/ghostscript/8.15/lib/* \
+		${libdir}/cups/filter/* \
+		${datadir}/cups/model/* \"
+FILES_${PN}-doc += "${datadir}/ghostscript/8.15/doc/*"
+FILES_${PN}-examples += "${datadir}/ghostscript/8.15/examples/*"
+FILES_${PN}-resources += "${datadir}/ghostscript/8.15/Resource/*"






More information about the Openembedded-commits mailing list