Re: [ptxdist] [PATCH v2 7/7] cups-filters: new package: additional filters and backends for CUPS
On Wed, Oct 25, 2017 at 08:35:10PM +0200, Roland Hieber wrote: > On 30.09.2017 14:00, Michael Olbrich wrote: > > On Wed, Sep 27, 2017 at 02:22:22PM +0200, Roland Hieber wrote: > >> Upstream is very responsive, merged my patches and made a new release > >> while I was still packaging the old one :) Release frequency is high, > >> with 5 point releases in September alone, mostly small fixes. > >> > >> Signed-off-by: Roland Hieber > >> --- > >> > >> Notes: > >> changes in v1 -> v2: > >> - kconfig changes due to poppler float/fixed simplification > >> - version bump 1.16.6 -> 1.17.7 (they release fast!) > >> - remove unneeded code > >> > >> rules/cups-filters.in | 67 +++ > >> rules/cups-filters.make | 94 > >> + > >> 2 files changed, 161 insertions(+) > >> create mode 100644 rules/cups-filters.in > >> create mode 100644 rules/cups-filters.make > >> > >> diff --git a/rules/cups-filters.in b/rules/cups-filters.in > >> new file mode 100644 > >> index 0..09652443f > >> --- /dev/null > >> +++ b/rules/cups-filters.in > >> @@ -0,0 +1,67 @@ > >> +## SECTION=applications > >> + > >> +menuconfig CUPS_FILTERS > >> + tristate > >> + prompt "cups-filters " > >> + > >> + select LIBC_DL > >> + select HOST_CUPS > >> + select CUPS > >> + select GLIB > >> + select ZLIB > >> + select LCMS > >> + select FREETYPE > >> + select FONTCONFIG > >> + select QPDF > >> + > >> + # Note: configure does not check for these poppler options: > >> + select POPPLER if CUPS_FILTERS_POPPLER > >> + select POPPLER_BIN if CUPS_FILTERS_POPPLER # for pdftops > >> + select POPPLER_CPP if CUPS_FILTERS_POPPLER > >> + select POPPLER_CMS if CUPS_FILTERS_POPPLER > >> + select POPPLER_SPLASH if CUPS_FILTERS_POPPLER > >> + select POPPLER_XPDF if CUPS_FILTERS_POPPLER > >> + > >> + select LIBJPEG if CUPS_FILTERS_JPEG > >> + select LIBPNG if CUPS_FILTERS_PNG > >> + > >> + help > >> +cups-filters contains backends, filters, and other software that > >> +was once part of the core CUPS distribution but is no longer > >> +maintained by Apple Inc. In addition it contains additional filters > >> +and software developed independently of Apple, especially filters for > >> +the PDF-centric printing workflow introduced by OpenPrinting and a > >> +daemon to browse Bonjour broadcasts of remote CUPS printers and makes > >> +these printers available locally. > >> + > >> +if CUPS_FILTERS > >> + > >> +config CUPS_FILTERS_POPPLER > >> + bool "build with poppler support" > >> + help > >> +Build with poppler support, needed for pdfto* filters and banners. > >> + > >> +comment "poppler support will not build with POPPLER_SPLASH_FIXED!" > >> + depends on (POPPLER_SPLASH_FIXED && CUPS_FILTERS_POPPLER) > >> + > >> +config CUPS_FILTERS_IMAGEFILTERS > >> + bool "build image filters" > >> + help > >> +Build imagetopdf and imagetoraster filters > >> + > >> +config CUPS_FILTERS_JPEG > >> + bool "with JPEG support" > >> + depends on CUPS_FILTERS_IMAGEFILTERS > >> + default y > >> + help > >> +Enable JPEG support in image filters > >> + > >> +config CUPS_FILTERS_PNG > >> + bool "with PNG support" > >> + depends on CUPS_FILTERS_IMAGEFILTERS > >> + default y > >> + help > >> +Enable PNG support in image filters > >> + > >> +endif > >> +# vim: ft=kconfig ts=8 noet tw=80 > >> diff --git a/rules/cups-filters.make b/rules/cups-filters.make > >> new file mode 100644 > >> index 0..0f19d6c11 > >> --- /dev/null > >> +++ b/rules/cups-filters.make > >> @@ -0,0 +1,94 @@ > >> +# -*-makefile-*- > >> +# > >> +# Copyright (C) 2017 by Roland Hieber > >> +# > >> +# See CREDITS for details about who has contributed to this project. > >> +# > >> +# For further information about the PTXdist project and license conditions > >> +# see the README file. > >> +# > >> + > >> +# > >> +# We provide this package > >> +# > >> +PACKAGES-$(PTXCONF_CUPS_FILTERS) += cups-filters > >> + > >> +# > >> +# Paths and names > >> +# > >> +CUPS_FILTERS_VERSION := 1.17.7 > >> +CUPS_FILTERS_MD5 := 015caac191e9520abb7cde2fb9ce5961 > >> +CUPS_FILTERS := cups-filters-$(CUPS_FILTERS_VERSION) > >> +CUPS_FILTERS_SUFFIX := tar.xz > >> +CUPS_FILTERS_URL := > >> http://openprinting.org/download/cups-filters/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) > >> +CUPS_FILTERS_SOURCE := > >> $(SRCDIR)/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) > >> +CUPS_FILTERS_DIR := $(BUILDDIR)/$(CUPS_FILTERS) > >> +CUPS_FILTERS_LICENSE := GPL-2.0 AND GPL-2.0+ AND GPL-3.0 AND > >> GPL-3.0+ AND LGPL-2 AND LGPL-2.1+ AND MIT AND BSD-4-clause > >> + > >> +# > >> > >> +# Prepare > >> +# > >>
Re: [ptxdist] [PATCH v2 7/7] cups-filters: new package: additional filters and backends for CUPS
On 30.09.2017 14:00, Michael Olbrich wrote: > On Wed, Sep 27, 2017 at 02:22:22PM +0200, Roland Hieber wrote: >> Upstream is very responsive, merged my patches and made a new release >> while I was still packaging the old one :) Release frequency is high, >> with 5 point releases in September alone, mostly small fixes. >> >> Signed-off-by: Roland Hieber >> --- >> >> Notes: >> changes in v1 -> v2: >> - kconfig changes due to poppler float/fixed simplification >> - version bump 1.16.6 -> 1.17.7 (they release fast!) >> - remove unneeded code >> >> rules/cups-filters.in | 67 +++ >> rules/cups-filters.make | 94 >> + >> 2 files changed, 161 insertions(+) >> create mode 100644 rules/cups-filters.in >> create mode 100644 rules/cups-filters.make >> >> diff --git a/rules/cups-filters.in b/rules/cups-filters.in >> new file mode 100644 >> index 0..09652443f >> --- /dev/null >> +++ b/rules/cups-filters.in >> @@ -0,0 +1,67 @@ >> +## SECTION=applications >> + >> +menuconfig CUPS_FILTERS >> +tristate >> +prompt "cups-filters " >> + >> +select LIBC_DL >> +select HOST_CUPS >> +select CUPS >> +select GLIB >> +select ZLIB >> +select LCMS >> +select FREETYPE >> +select FONTCONFIG >> +select QPDF >> + >> +# Note: configure does not check for these poppler options: >> +select POPPLER if CUPS_FILTERS_POPPLER >> +select POPPLER_BIN if CUPS_FILTERS_POPPLER # for pdftops >> +select POPPLER_CPP if CUPS_FILTERS_POPPLER >> +select POPPLER_CMS if CUPS_FILTERS_POPPLER >> +select POPPLER_SPLASH if CUPS_FILTERS_POPPLER >> +select POPPLER_XPDF if CUPS_FILTERS_POPPLER >> + >> +select LIBJPEG if CUPS_FILTERS_JPEG >> +select LIBPNG if CUPS_FILTERS_PNG >> + >> +help >> + cups-filters contains backends, filters, and other software that >> + was once part of the core CUPS distribution but is no longer >> + maintained by Apple Inc. In addition it contains additional filters >> + and software developed independently of Apple, especially filters for >> + the PDF-centric printing workflow introduced by OpenPrinting and a >> + daemon to browse Bonjour broadcasts of remote CUPS printers and makes >> + these printers available locally. >> + >> +if CUPS_FILTERS >> + >> +config CUPS_FILTERS_POPPLER >> +bool "build with poppler support" >> +help >> + Build with poppler support, needed for pdfto* filters and banners. >> + >> +comment "poppler support will not build with POPPLER_SPLASH_FIXED!" >> +depends on (POPPLER_SPLASH_FIXED && CUPS_FILTERS_POPPLER) >> + >> +config CUPS_FILTERS_IMAGEFILTERS >> +bool "build image filters" >> +help >> + Build imagetopdf and imagetoraster filters >> + >> +config CUPS_FILTERS_JPEG >> +bool "with JPEG support" >> +depends on CUPS_FILTERS_IMAGEFILTERS >> +default y >> +help >> + Enable JPEG support in image filters >> + >> +config CUPS_FILTERS_PNG >> +bool "with PNG support" >> +depends on CUPS_FILTERS_IMAGEFILTERS >> +default y >> +help >> + Enable PNG support in image filters >> + >> +endif >> +# vim: ft=kconfig ts=8 noet tw=80 >> diff --git a/rules/cups-filters.make b/rules/cups-filters.make >> new file mode 100644 >> index 0..0f19d6c11 >> --- /dev/null >> +++ b/rules/cups-filters.make >> @@ -0,0 +1,94 @@ >> +# -*-makefile-*- >> +# >> +# Copyright (C) 2017 by Roland Hieber >> +# >> +# See CREDITS for details about who has contributed to this project. >> +# >> +# For further information about the PTXdist project and license conditions >> +# see the README file. >> +# >> + >> +# >> +# We provide this package >> +# >> +PACKAGES-$(PTXCONF_CUPS_FILTERS) += cups-filters >> + >> +# >> +# Paths and names >> +# >> +CUPS_FILTERS_VERSION:= 1.17.7 >> +CUPS_FILTERS_MD5:= 015caac191e9520abb7cde2fb9ce5961 >> +CUPS_FILTERS:= cups-filters-$(CUPS_FILTERS_VERSION) >> +CUPS_FILTERS_SUFFIX := tar.xz >> +CUPS_FILTERS_URL:= >> http://openprinting.org/download/cups-filters/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) >> +CUPS_FILTERS_SOURCE := $(SRCDIR)/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) >> +CUPS_FILTERS_DIR:= $(BUILDDIR)/$(CUPS_FILTERS) >> +CUPS_FILTERS_LICENSE:= GPL-2.0 AND GPL-2.0+ AND GPL-3.0 AND >> GPL-3.0+ AND LGPL-2 AND LGPL-2.1+ AND MIT AND BSD-4-clause >> + >> +# >> >> +# Prepare >> +# >> >> + >> +# >> +# autoconf >> +# >> +# We have to set --exec-prefix and --libdir, otherwise the libs end up in >> +# ${prefix}/lib64 due to broken autoconf magic, which is not what we want. >> +# >> +CUPS_FILTERS_CONF_TOO
Re: [ptxdist] [PATCH v2 7/7] cups-filters: new package: additional filters and backends for CUPS
On Wed, Sep 27, 2017 at 02:22:22PM +0200, Roland Hieber wrote: > Upstream is very responsive, merged my patches and made a new release > while I was still packaging the old one :) Release frequency is high, > with 5 point releases in September alone, mostly small fixes. > > Signed-off-by: Roland Hieber > --- > > Notes: > changes in v1 -> v2: > - kconfig changes due to poppler float/fixed simplification > - version bump 1.16.6 -> 1.17.7 (they release fast!) > - remove unneeded code > > rules/cups-filters.in | 67 +++ > rules/cups-filters.make | 94 > + > 2 files changed, 161 insertions(+) > create mode 100644 rules/cups-filters.in > create mode 100644 rules/cups-filters.make > > diff --git a/rules/cups-filters.in b/rules/cups-filters.in > new file mode 100644 > index 0..09652443f > --- /dev/null > +++ b/rules/cups-filters.in > @@ -0,0 +1,67 @@ > +## SECTION=applications > + > +menuconfig CUPS_FILTERS > + tristate > + prompt "cups-filters " > + > + select LIBC_DL > + select HOST_CUPS > + select CUPS > + select GLIB > + select ZLIB > + select LCMS > + select FREETYPE > + select FONTCONFIG > + select QPDF > + > + # Note: configure does not check for these poppler options: > + select POPPLER if CUPS_FILTERS_POPPLER > + select POPPLER_BIN if CUPS_FILTERS_POPPLER # for pdftops > + select POPPLER_CPP if CUPS_FILTERS_POPPLER > + select POPPLER_CMS if CUPS_FILTERS_POPPLER > + select POPPLER_SPLASH if CUPS_FILTERS_POPPLER > + select POPPLER_XPDF if CUPS_FILTERS_POPPLER > + > + select LIBJPEG if CUPS_FILTERS_JPEG > + select LIBPNG if CUPS_FILTERS_PNG > + > + help > + cups-filters contains backends, filters, and other software that > + was once part of the core CUPS distribution but is no longer > + maintained by Apple Inc. In addition it contains additional filters > + and software developed independently of Apple, especially filters for > + the PDF-centric printing workflow introduced by OpenPrinting and a > + daemon to browse Bonjour broadcasts of remote CUPS printers and makes > + these printers available locally. > + > +if CUPS_FILTERS > + > +config CUPS_FILTERS_POPPLER > + bool "build with poppler support" > + help > + Build with poppler support, needed for pdfto* filters and banners. > + > +comment "poppler support will not build with POPPLER_SPLASH_FIXED!" > + depends on (POPPLER_SPLASH_FIXED && CUPS_FILTERS_POPPLER) > + > +config CUPS_FILTERS_IMAGEFILTERS > + bool "build image filters" > + help > + Build imagetopdf and imagetoraster filters > + > +config CUPS_FILTERS_JPEG > + bool "with JPEG support" > + depends on CUPS_FILTERS_IMAGEFILTERS > + default y > + help > + Enable JPEG support in image filters > + > +config CUPS_FILTERS_PNG > + bool "with PNG support" > + depends on CUPS_FILTERS_IMAGEFILTERS > + default y > + help > + Enable PNG support in image filters > + > +endif > +# vim: ft=kconfig ts=8 noet tw=80 > diff --git a/rules/cups-filters.make b/rules/cups-filters.make > new file mode 100644 > index 0..0f19d6c11 > --- /dev/null > +++ b/rules/cups-filters.make > @@ -0,0 +1,94 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2017 by Roland Hieber > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_CUPS_FILTERS) += cups-filters > + > +# > +# Paths and names > +# > +CUPS_FILTERS_VERSION := 1.17.7 > +CUPS_FILTERS_MD5 := 015caac191e9520abb7cde2fb9ce5961 > +CUPS_FILTERS := cups-filters-$(CUPS_FILTERS_VERSION) > +CUPS_FILTERS_SUFFIX := tar.xz > +CUPS_FILTERS_URL := > http://openprinting.org/download/cups-filters/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) > +CUPS_FILTERS_SOURCE := $(SRCDIR)/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) > +CUPS_FILTERS_DIR := $(BUILDDIR)/$(CUPS_FILTERS) > +CUPS_FILTERS_LICENSE := GPL-2.0 AND GPL-2.0+ AND GPL-3.0 AND GPL-3.0+ AND > LGPL-2 AND LGPL-2.1+ AND MIT AND BSD-4-clause > + > +# > > +# Prepare > +# > > + > +# > +# autoconf > +# > +# We have to set --exec-prefix and --libdir, otherwise the libs end up in > +# ${prefix}/lib64 due to broken autoconf magic, which is not what we want. > +# > +CUPS_FILTERS_CONF_TOOL := autoconf > +CUPS_FILTERS_CONF_OPT:= \ > + $(CROSS_AUTOCONF_USR) \ > + --exec-prefix=/usr/ \ > + --libdir=/usr/lib/ \ see m
[ptxdist] [PATCH v2 7/7] cups-filters: new package: additional filters and backends for CUPS
Upstream is very responsive, merged my patches and made a new release while I was still packaging the old one :) Release frequency is high, with 5 point releases in September alone, mostly small fixes. Signed-off-by: Roland Hieber --- Notes: changes in v1 -> v2: - kconfig changes due to poppler float/fixed simplification - version bump 1.16.6 -> 1.17.7 (they release fast!) - remove unneeded code rules/cups-filters.in | 67 +++ rules/cups-filters.make | 94 + 2 files changed, 161 insertions(+) create mode 100644 rules/cups-filters.in create mode 100644 rules/cups-filters.make diff --git a/rules/cups-filters.in b/rules/cups-filters.in new file mode 100644 index 0..09652443f --- /dev/null +++ b/rules/cups-filters.in @@ -0,0 +1,67 @@ +## SECTION=applications + +menuconfig CUPS_FILTERS + tristate + prompt "cups-filters " + + select LIBC_DL + select HOST_CUPS + select CUPS + select GLIB + select ZLIB + select LCMS + select FREETYPE + select FONTCONFIG + select QPDF + + # Note: configure does not check for these poppler options: + select POPPLER if CUPS_FILTERS_POPPLER + select POPPLER_BIN if CUPS_FILTERS_POPPLER # for pdftops + select POPPLER_CPP if CUPS_FILTERS_POPPLER + select POPPLER_CMS if CUPS_FILTERS_POPPLER + select POPPLER_SPLASH if CUPS_FILTERS_POPPLER + select POPPLER_XPDF if CUPS_FILTERS_POPPLER + + select LIBJPEG if CUPS_FILTERS_JPEG + select LIBPNG if CUPS_FILTERS_PNG + + help + cups-filters contains backends, filters, and other software that + was once part of the core CUPS distribution but is no longer + maintained by Apple Inc. In addition it contains additional filters + and software developed independently of Apple, especially filters for + the PDF-centric printing workflow introduced by OpenPrinting and a + daemon to browse Bonjour broadcasts of remote CUPS printers and makes + these printers available locally. + +if CUPS_FILTERS + +config CUPS_FILTERS_POPPLER + bool "build with poppler support" + help + Build with poppler support, needed for pdfto* filters and banners. + +comment "poppler support will not build with POPPLER_SPLASH_FIXED!" + depends on (POPPLER_SPLASH_FIXED && CUPS_FILTERS_POPPLER) + +config CUPS_FILTERS_IMAGEFILTERS + bool "build image filters" + help + Build imagetopdf and imagetoraster filters + +config CUPS_FILTERS_JPEG + bool "with JPEG support" + depends on CUPS_FILTERS_IMAGEFILTERS + default y + help + Enable JPEG support in image filters + +config CUPS_FILTERS_PNG + bool "with PNG support" + depends on CUPS_FILTERS_IMAGEFILTERS + default y + help + Enable PNG support in image filters + +endif +# vim: ft=kconfig ts=8 noet tw=80 diff --git a/rules/cups-filters.make b/rules/cups-filters.make new file mode 100644 index 0..0f19d6c11 --- /dev/null +++ b/rules/cups-filters.make @@ -0,0 +1,94 @@ +# -*-makefile-*- +# +# Copyright (C) 2017 by Roland Hieber +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_CUPS_FILTERS) += cups-filters + +# +# Paths and names +# +CUPS_FILTERS_VERSION := 1.17.7 +CUPS_FILTERS_MD5 := 015caac191e9520abb7cde2fb9ce5961 +CUPS_FILTERS := cups-filters-$(CUPS_FILTERS_VERSION) +CUPS_FILTERS_SUFFIX:= tar.xz +CUPS_FILTERS_URL := http://openprinting.org/download/cups-filters/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) +CUPS_FILTERS_SOURCE:= $(SRCDIR)/$(CUPS_FILTERS).$(CUPS_FILTERS_SUFFIX) +CUPS_FILTERS_DIR := $(BUILDDIR)/$(CUPS_FILTERS) +CUPS_FILTERS_LICENSE := GPL-2.0 AND GPL-2.0+ AND GPL-3.0 AND GPL-3.0+ AND LGPL-2 AND LGPL-2.1+ AND MIT AND BSD-4-clause + +# +# Prepare +# + +# +# autoconf +# +# We have to set --exec-prefix and --libdir, otherwise the libs end up in +# ${prefix}/lib64 due to broken autoconf magic, which is not what we want. +# +CUPS_FILTERS_CONF_TOOL := autoconf +CUPS_FILTERS_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --exec-prefix=/usr/ \ + --libdir=/usr/lib/ \ + --disable-silent-rules \ + --disable-driverless \ + --disable-auto-setup-driverless \ + --$(call ptx/endis,PTXCONF_CUPS_FILTERS_IMAGEFILTERS)-imagefilters \ + --disable-avahi \ + --disable-ldap \ + --$(call ptx/endis,P