Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Richard Leitner <richard.leitner@skidata.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: cups-filters
Date: Thu, 22 Oct 2015 09:50:04 +0200	[thread overview]
Message-ID: <5628952C.8080706@skidata.com> (raw)
In-Reply-To: <56279AAF.4050704@dresearch-fe.de>

On 10/21/2015 04:01 PM, Steffen Sledz wrote:
> Does anybody know about a recipe providing cups-filters?
> 
> http://layers.openembedded.org was not really helpful here.
> 

Hi,
I have one which works for my purposes but it is not really tested...
It is based on something I found somewhere on the web (I don't remember
the source).
Hope it helps ;-)

best regards,
Richard

cups-filters.inc:
^^^^^^^^^^^^^^^^^
DESCRIPTION = "CUPS backends, filters, and other software"
HOMEPAGE =
"http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters"
LICENSE = "GPLv2 & LGPLv2 & MIT & GPLv2+ & GPLv3"
SECTION = "console/utils"
DEPENDS = "cups lcms2 ijs poppler qpdf"
PR = "r4"

SRC_URI =
"http://openprinting.org/download/cups-filters/cups-filters-${PV}.tar.gz"

inherit autotools

PACKAGES += "\
        ${PN}-data \
        "

#FILES_${PN}-gst = "\
#       ${libdir}/cups/filter/gstopxl \
#       ${libdir}/cups/filter/gstoraster \
#       "
#RCONFLICTS_${PN}-gst = "ghostscript-cups"

#FILES_${PN}-banners = "\
#       /usr/share/cups/banners \
#       "
FILES_${PN}-data = "\
        /usr/share/cups/data \
        "

FILES_${PN}-dbg += "\
        ${libdir}/cups/filter/.debug \
        ${libdir}/cups/backend/.debug \
        "
FILES_${PN} += "\
        ${libdir}/cups/filter/bannertopdf \
        ${libdir}/cups/filter/commandtoescpx \
        ${libdir}/cups/filter/commandtopclx \
        ${libdir}/cups/filter/foomatic-rip \
        ${libdir}/cups/filter/imagetopdf \
        ${libdir}/cups/filter/imagetops \
        ${libdir}/cups/filter/imagetoraster \
        ${libdir}/cups/filter/pdftoijs \
        ${libdir}/cups/filter/pdftoippprinter \
        ${libdir}/cups/filter/pdftoopvp \
        ${libdir}/cups/filter/pdftopdf \
        ${libdir}/cups/filter/pdftops \
        ${libdir}/cups/filter/pdftoraster \
        ${libdir}/cups/filter/pstopdf \
        ${libdir}/cups/filter/rastertoescpx \
        ${libdir}/cups/filter/rastertopclx \
        ${libdir}/cups/filter/textonly \
        ${libdir}/cups/filter/texttopdf \
        ${libdir}/cups/filter/texttops \
        ${libdir}/cups/filter/urftopdf \
        ${libdir}/cups/backend \
        /usr/share/cups/charsets \
        /usr/share/cups/drv \
        /usr/share/cups/mime \
        /usr/share/cups/ppdc \
        /usr/share/ppd/cupsfilters \
        "

do_install_append() {
        # remove banners
        rm -rf ${D}/usr/share/cups/banners

        # remove gst, already provided by ghostscript-cups
        rm -f ${D}${libdir}/cups/filter/gstopxl
        rm -f ${D}${libdir}/cups/filter/gstoraster

        # remove testprint (already provided by cups)
        rm -f ${D}/usr/share/cups/data/testprint
}

#RDEPENDS_${PN} += "libqpdf libpoppler"


  reply	other threads:[~2015-10-22  7:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 14:01 cups-filters Steffen Sledz
2015-10-22  7:50 ` Richard Leitner [this message]
2015-10-22  8:52   ` cups-filters Steffen Sledz
2015-10-22  8:54     ` cups-filters Richard Leitner
2015-10-22  9:01       ` cups-filters Steffen Sledz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5628952C.8080706@skidata.com \
    --to=richard.leitner@skidata.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox