2011-05-03 08:45:21 +00:00
|
|
|
SUMMARY = "OpenPrinting printer support - filters"
|
|
|
|
DESCRIPTION = "Foomatic is a printer database designed to make it easier to set up \
|
|
|
|
common printers for use with UNIX-like operating systems.\
|
|
|
|
It provides the "glue" between a print spooler (like CUPS or lpr) and \
|
|
|
|
the printer, by processing files sent to the printer. \
|
|
|
|
\
|
|
|
|
This package consists of filters used by the printer spoolers \
|
|
|
|
to convert the incoming PostScript data into the printer's native \
|
|
|
|
format using a printer-specific, but spooler-independent PPD file. \
|
|
|
|
"
|
|
|
|
|
|
|
|
DEPENDS += "cups perl libxml2"
|
2013-02-04 09:20:19 +00:00
|
|
|
PR = "r1"
|
2011-05-03 08:45:21 +00:00
|
|
|
|
|
|
|
LICENSE = "GPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
|
|
|
|
|
|
|
|
SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.tar.gz"
|
|
|
|
|
2016-07-31 15:30:17 +00:00
|
|
|
SRC_URI += "file://CVE-2015-8560.patch \
|
2016-07-31 15:30:18 +00:00
|
|
|
file://CVE-2015-8327.patch \
|
2016-07-31 15:30:17 +00:00
|
|
|
"
|
|
|
|
|
2012-08-23 11:45:00 +00:00
|
|
|
SRC_URI[md5sum] = "b05f5dcbfe359f198eef3df5b283d896"
|
|
|
|
SRC_URI[sha256sum] = "a2e2e53e502571e88eeb9010c45a0d54671f15707ee104f5c9c22b59ea7a33e3"
|
2011-05-03 08:45:21 +00:00
|
|
|
|
2015-11-16 16:05:13 +00:00
|
|
|
UPSTREAM_CHECK_REGEX = "foomatic-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz"
|
|
|
|
|
2014-06-02 20:04:59 +00:00
|
|
|
inherit autotools pkgconfig
|
2011-09-22 17:12:10 +00:00
|
|
|
|
|
|
|
EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
|
|
|
|
|
|
|
|
do_configure_prepend() {
|
2012-08-08 08:56:24 +00:00
|
|
|
export PERL="${bindir}/env perl"
|
2013-02-04 09:20:19 +00:00
|
|
|
export CUPS_SERVERBIN=${exec_prefix}/lib/cups # /usr/lib NOT libdir
|
2011-05-13 02:06:44 +00:00
|
|
|
}
|
|
|
|
|
2011-09-22 17:12:10 +00:00
|
|
|
do_install_append_linuxstdbase() {
|
|
|
|
install -d ${D}${exec_prefix}/lib/cups/filter
|
|
|
|
ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter
|
|
|
|
}
|
2011-05-13 02:06:44 +00:00
|
|
|
|
2012-03-16 15:18:33 +00:00
|
|
|
FILES_${PN} += "${exec_prefix}/lib/cups/ ${exec_prefix}/lib/ppr/"
|