All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Arnold <stephen.arnold42@gmail.com>
To: Fan Xin <fan.xin@jp.fujitsu.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2] Replace foomatic-filters with cups-filters
Date: Mon, 1 Aug 2016 10:13:41 -0700	[thread overview]
Message-ID: <CAOLEWZVAjfydiq7GwgDKWydZyL_CXDL7+dgn5gsjt+QMhBQzgA@mail.gmail.com> (raw)
In-Reply-To: <1470049297-6520-1-git-send-email-fan.xin@jp.fujitsu.com>

Thanks, our timing is great (since I just did the same thing on
Saturday but didn't send anything to the list yet).  Still have some
testing to do to see if it actually works; recipes are here:

https://github.com/sarnold/meta-small-arm-extra/commits/master

On Mon, Aug 1, 2016 at 4:01 AM, Fan Xin <fan.xin@jp.fujitsu.com> wrote:
> The foomatic-filters community is inactive and foomatic-filter package is unmaintained.
> (http://www.gossamer-threads.com/lists/gentoo/user/288184)
>
> The foomatic-rips is moved from foomatic-filters to cups-filters and
> maintained by cups-filters according to the cups-filter's NEWS.
> (http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/annotate/head:/NEWS)
>
> Signed-off-by: Fan Xin <fan.xin at jp.fujitsu.com>
> ---
>  .../cups-filters-1.8.2-disable-ijs.patch           | 65 ++++++++++++++++++++++
>  .../foomatic/cups-filters_1.8.3.bb                 | 34 +++++++++++
>  .../packagegroups/packagegroup-core-lsb.bb         |  2 +-
>  3 files changed, 100 insertions(+), 1 deletion(-)
>  create mode 100644 meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
>  create mode 100644 meta/recipes-extended/foomatic/cups-filters_1.8.3.bb
>
> diff --git a/meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch b/meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
> new file mode 100644
> index 0000000..0a0a6ad
> --- /dev/null
> +++ b/meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
> @@ -0,0 +1,65 @@
> +=== modified file 'Makefile.am'
> +--- Makefile.am        2016-02-10 15:16:33 +0000
> ++++ Makefile.am        2016-03-02 20:46:26 +0000
> +@@ -490,7 +490,6 @@
> +       bannertopdf \
> +       commandtoescpx \
> +       commandtopclx \
> +-      pdftoijs \
> +       sys5ippprinter \
> +       pdftops \
> +       pdftoraster \
> +@@ -499,6 +498,10 @@
> +       texttopdf \
> +       urftopdf \
> +       rastertopdf
> ++if ENABLE_IJS
> ++pkgfilter_PROGRAMS += \
> ++      pdftoijs
> ++endif
> + if ENABLE_GHOSTSCRIPT
> + pkgfilter_PROGRAMS += \
> +       gstoraster
> +@@ -846,9 +849,12 @@
> +       ppd/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd \
> +       ppd/Generic-PDF_Printer-PDF.ppd \
> +       ppd/HP-Color_LaserJet_CM3530_MFP-PDF.ppd \
> +-      ppd/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd \
> +       ppd/Ricoh-PDF_Printer-PDF.ppd \
> +       ppd/textonly.ppd
> ++if ENABLE_IJS
> ++ppd_DATA += \
> ++      ppd/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd
> ++endif
> + if ENABLE_GHOSTSCRIPT
> + ppd_DATA += \
> +       ppd/pxlcolor.ppd \
> +=== modified file 'configure.ac'
> +--- configure.ac       2016-02-11 13:59:52 +0000
> ++++ configure.ac       2016-03-02 21:18:05 +0000
> +@@ -443,7 +443,7 @@
> + ])
> + PKG_CHECK_MODULES([FREETYPE], [freetype2], [AC_DEFINE([HAVE_FREETYPE_H], [1], [Have FreeType2 include files])])
> + PKG_CHECK_MODULES([FONTCONFIG], [fontconfig >= 2.0.0])
> +-PKG_CHECK_MODULES([IJS], [ijs])
> ++PKG_CHECK_MODULES([IJS], [ijs], [have_ijs=yes], [have_ijs=no])
> + PKG_CHECK_MODULES([POPPLER], [poppler >= 0.18])
> + PKG_CHECK_MODULES([ZLIB], [zlib])
> + AC_DEFINE([HAVE_LIBZ], [], [Define that we use zlib])
> +@@ -489,6 +489,15 @@
> +       [enable_ghostscript="$enableval"],
> +       [enable_ghostscript=yes]
> + )
> ++AC_ARG_ENABLE([ijs],
> ++      [AS_HELP_STRING([--disable-ijs], [Disable filters using IJS.])],
> ++      [enable_ijs="$enableval"],
> ++      [enable_ijs=yes]
> ++)
> ++AS_IF([test "x$enable_ijs" = "xyes" -a "x$have_ijs" != "xyes"], [
> ++       AC_MSG_ERROR([IJS not found, but requested.])
> ++])
> ++AM_CONDITIONAL(ENABLE_IJS, test "x$enable_ijs" = "xyes")
> + AC_ARG_WITH([pdftops],
> +       [AS_HELP_STRING([--with-pdftops=value], [Set which pdftops to use (gs,pdftops,pdftocairo,acroread,hybrid).])],
> +       [with_pdftops="$withval"],
> +
> diff --git a/meta/recipes-extended/foomatic/cups-filters_1.8.3.bb b/meta/recipes-extended/foomatic/cups-filters_1.8.3.bb
> new file mode 100644
> index 0000000..4eef7ef
> --- /dev/null
> +++ b/meta/recipes-extended/foomatic/cups-filters_1.8.3.bb
> @@ -0,0 +1,34 @@
> +SUMMARY = "OpenPrinting printer support - filters"
> +DESCRIPTION = "CUPS is a standards-based, open source printing system \
> +developed by Apple Inc. for Mac OS® X and other UNIX®-like operating systems. \
> +CUPS uses the Internet Printing Protocol ("IPP") and provides System V and \
> +Berkeley command-line interfaces, a web interface, and a C API to manage printers \
> +and print jobs. \
> + \
> +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 tiff lcms freetype fontconfig poppler qpdf"
> +PR = "r0"
> +
> +LICENSE = "GPLv2 & LGPLv2 & MIT & GPLv2+ & GPLv3"
> +LIC_FILES_CHKSUM = "file://${WORKDIR}/cups-filters-${PV}/COPYING;md5=d420e185486344da6176553848350932"
> +
> +SRC_URI = "http://www.openprinting.org/download/cups-filters/cups-filters-${PV}.tar.gz \
> +          "
> +
> +SRC_URI[md5sum] = "9ecda355e1f4c781784f902737df6321"
> +SRC_URI[sha256sum] = "0ad46d15737b309fe648fe39023a4eb6a3528faadbeb97d6ecf523df40950033"
> +
> +UPSTREAM_CHECK_REGEX = "cups-filters-(?P<pver>((\d|\d\d)\.*)+)\.tar\.gz"
> +
> +inherit autotools-brokensep pkgconfig
> +
> +EXTRA_OECONF += "--disable-ijs"
> +
> +FILES_${PN} += "${datadir}"
> +FILES_${PN} += "${libdir}/cups"
> +
> +RDEPENDS_${PN} += "bash"
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
> index 29564e0..f9d356a 100644
> --- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
> +++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
> @@ -143,7 +143,7 @@ RDEPENDS_packagegroup-core-lsb-core = "\
>      file \
>      findutils \
>      fontconfig-utils \
> -    foomatic-filters \
> +    cups-filters \
>      gawk \
>      ghostscript \
>      grep \
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


  reply	other threads:[~2016-08-01 17:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 11:01 [PATCH v2] Replace foomatic-filters with cups-filters Fan Xin
2016-08-01 17:13 ` Stephen Arnold [this message]
2016-08-01 17:16   ` Burton, Ross
2016-08-01 17:22     ` Stephen Arnold
2016-08-01 17:24       ` Burton, Ross
2016-08-01 17:32         ` Stephen Arnold
2016-08-02  6:48         ` Fan Xin
2016-08-02 17:33           ` Stephen Arnold
2016-08-02 19:23             ` Burton, Ross
2016-08-02 19:39               ` Stephen Arnold
2016-08-03  0:59             ` Fan Xin
2016-08-03  1:12               ` Stephen Arnold
2016-08-03  1:42                 ` Fan Xin
2016-08-08  5:30                   ` Fan Xin
2016-08-08 12:58                   ` Burton, Ross
2016-08-08 22:33                     ` Stephen Arnold

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=CAOLEWZVAjfydiq7GwgDKWydZyL_CXDL7+dgn5gsjt+QMhBQzgA@mail.gmail.com \
    --to=stephen.arnold42@gmail.com \
    --cc=fan.xin@jp.fujitsu.com \
    --cc=openembedded-core@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.