Skip to contentSkip to conversation

cups-filters: add new package cups-filters 1.17.9

PATCH New Olivier Schonken 2 participants 2 messages Oct 23, 2017 – Jan 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cups-filters: add new package cups-filters 1.17.9

---
v1 -> v2 - Updated/Fixed indentation in .mk and Config.in
- Added fontconfig and freetype as dependencies
- Added entry in DEVELOPERS file
- Tested with libjpeg and libjpeg-turbo (Build with libjpeg requires .pc patch for libjpeg)

 Config.in.legacy                       |  1 +
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/cups-filters/Config.in         | 33 ++++++++++++++++
 package/cups-filters/cups-filters.hash |  2 +
 package/cups-filters/cups-filters.mk   | 71 ++++++++++++++++++++++++++++++++++
 6 files changed, 109 insertions(+)
 create mode 100644 package/cups-filters/Config.in
 create mode 100644 package/cups-filters/cups-filters.hash
 create mode 100644 package/cups-filters/cups-filters.mk
Config.in.legacy +1 -0
index ea69f5a924..94ae490133 100644
@@ -1303,6 +1303,7 @@ config BR2_LINUX_KERNEL_SAME_AS_HEADERS
 
 config BR2_PACKAGE_CUPS_PDFTOPS
 	bool "Pdftops support has been removed from Cups"
+	select BR2_PACKAGE_CUPS_FILTERS
 	select BR2_LEGACY
 	help
 	  Pdftops support has been removed from the cups package
DEVELOPERS +1 -0
index f0f83b0f42..354824011f 100644
@@ -1161,6 +1161,7 @@ N:	Olivier Matz <[email protected]>
 F:	package/python-pyelftools/
 
 N:	Olivier Schonken <[email protected]>
+F:	package/cups-filters/
 F:	package/ijs/
 F:	package/poppler/
 F:	package/qpdf/
package/Config.in +1 -0
index 55fe80139e..d560023a37 100644
@@ -1621,6 +1621,7 @@ menu "Networking applications"
 	source "package/crda/Config.in"
 	source "package/ctorrent/Config.in"
 	source "package/cups/Config.in"
+	source "package/cups-filters/Config.in"
 	source "package/dante/Config.in"
 	source "package/darkhttpd/Config.in"
 	source "package/dhcp/Config.in"
package/cups-filters/Config.in new file +33 -0
new file mode 100644
index 0000000000..b3a12b52f4
@@ -0,0 +1,33 @@
+config BR2_PACKAGE_CUPS_FILTERS
+	bool "cups-filters"
+	# needs fork()
+	depends on BR2_USE_MMU
+	depends on BR2_INSTALL_LIBSTDCPP #qpdf
+	depends on !BR2_STATIC_LIBS
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS #libglib2
+	depends on BR2_PACKAGE_CUPS
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LCMS2
+	select BR2_PACKAGE_QPDF
+	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_FONTCONFIG
+	help
+	  This project provides 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 to make these
+	  printers available locally and to provide backward
+	  compatibility to the old CUPS broadcasting and browsing of
+	  CUPS 1.5.x and older.  From CUPS 1.6.0 on, this package is
+	  required for using printer drivers with CUPS under Linux.
+	  With CUPS 1.5.x and earlier this package can be used
+	  optionally to switch over to PDF-based printing.
+
+	  http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
+
+comment "cups-filters needs a toolchain w/ wchar, C++, threads and dynamic library  support"
+	depends on BR2_USE_MMU && (!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS)
package/cups-filters/cups-filters.hash new file +2 -0
new file mode 100644
index 0000000000..da9d31c998
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 95254d7950df4c74d293ed7dfa0b714f51cff329a82da74a4ac976d342bb35ab  cups-filters-1.17.9.tar.gz
package/cups-filters/cups-filters.mk new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
2.11.0
#1 lore raw

PATCH v2 1/1 cups-filters: add new package cups-filters 1.17.9

Hello,

Quoted 7 lines · Olivier Schonken

---
v1 -> v2 - Updated/Fixed indentation in .mk and Config.in
- Added fontconfig and freetype as dependencies
- Added entry in DEVELOPERS file
- Tested with libjpeg and libjpeg-turbo (Build with libjpeg requires .pc patch for libjpeg)

Thanks, I've applied, with the following changes:

[Thomas:
- add missing select BR2_PACKAGE_JPEG
- use jpeg instead of libjpeg
- sort selects alphabetically
- fix Config.in comment dependencies.]

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com