diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-09-22 12:12:10 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-22 21:03:15 +0100 |
commit | b1f7734f547cfc150b7c3d4c9997563c37b8ad4a (patch) | |
tree | 4e01b2d0646a85f91f959773ca05d17675073e57 /meta/recipes-extended | |
parent | 69672a4cb9aef20f64679b12f9006f58418709e3 (diff) | |
download | poky-b1f7734f547cfc150b7c3d4c9997563c37b8ad4a.tar.gz |
foomatic-filters: Disable filter checking
Disable a few checks, and hard code the values for a few other items
to work around potential host contamination issues. We also default
to the cups configuration for items.
(From OE-Core rev: ef7ad7a7c6b5f5a6c9d0d9e35e07b5a0dabe5be9)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb index 9627187569..e3bcf782eb 100644 --- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb +++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb | |||
@@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \ | |||
10 | " | 10 | " |
11 | 11 | ||
12 | DEPENDS += "cups perl libxml2" | 12 | DEPENDS += "cups perl libxml2" |
13 | PR = "r1" | 13 | PR = "r2" |
14 | 14 | ||
15 | LICENSE = "GPLv2+" | 15 | LICENSE = "GPLv2+" |
16 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" | 16 | LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833" |
@@ -20,11 +20,20 @@ SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}. | |||
20 | SRC_URI[md5sum] = "20abd25c1c98b2dae68709062a132a7d" | 20 | SRC_URI[md5sum] = "20abd25c1c98b2dae68709062a132a7d" |
21 | SRC_URI[sha256sum] = "090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d" | 21 | SRC_URI[sha256sum] = "090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d" |
22 | 22 | ||
23 | do_install_append_linuxstdbase() { | 23 | inherit autotools |
24 | install -d ${D}${libdir}/cups/filter | 24 | |
25 | ln -sf ${bindir}/foomatic-rip ${D}${libdir}/cups/filter | 25 | EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops" |
26 | |||
27 | do_configure_prepend() { | ||
28 | export LIB_CUPS=${exec_prefix}/lib/cups # /usr/lib NOT libdir | ||
29 | export CUPS_BACKENDS=${exec_prefix}/lib/cups/backend # /usr/lib NOT libdir | ||
30 | export CUPS_FILTERS=${exec_prefix}/lib/cups/filter # /usr/lib NOT libdir | ||
31 | export CUPS_PPDS=${datadir}/cups/model | ||
26 | } | 32 | } |
27 | 33 | ||
28 | FILES_${PN}_append_linuxstdbase += "${libdir}/cups/filter/foomatic-rip" | 34 | do_install_append_linuxstdbase() { |
35 | install -d ${D}${exec_prefix}/lib/cups/filter | ||
36 | ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter | ||
37 | } | ||
29 | 38 | ||
30 | inherit autotools | 39 | FILES_${PN}_append_linuxstdbase += "${exec_prefix}/lib/cups/filter/foomatic-rip" |