wok-current rev 25038

make cups-filters compile with qpdf-dev-10.6.1
author Hans-G?nter Theisgen
date Thu May 26 10:57:02 2022 +0100 (2022-05-26)
parents 7ae189994f37
children 429cd2dffc4f
files cups-filters/description.txt cups-filters/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cups-filters/description.txt	Thu May 26 10:57:02 2022 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +This project provides backends, filters, and other software that was
     1.5 +once part of the core CUPS distribution but is no longer maintained
     1.6 +by Apple Inc.
     1.7 +In addition it contains additional filters and software developed
     1.8 +independently of Apple, especially filters for the PDF-centric
     1.9 +printing workflow introduced by OpenPrinting and a daemon to browse
    1.10 +Bonjour broadcasts of remote CUPS printers to make these printers
    1.11 +available locally and to provide backward compatibility to the old
    1.12 +CUPS broadcasting and browsing of CUPS 1.5.x and older.
    1.13 +
    1.14 +From CUPS 1.6.0 on, this package is required for using printer
    1.15 +drivers with CUPS under Linux.
    1.16 +With CUPS 1.5.x and earlier this package can be used optionally to
    1.17 +switch over to PDF-based printing.
     2.1 --- a/cups-filters/receipt	Sat May 21 21:38:29 2022 +0000
     2.2 +++ b/cups-filters/receipt	Thu May 26 10:57:02 2022 +0100
     2.3 @@ -7,6 +7,7 @@
     2.4  MAINTAINER="mojo@slitaz.org"
     2.5  LICENSE="GPL"
     2.6  WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting"
     2.7 +
     2.8  TARBALL="$PACKAGE-$VERSION.tar.xz"
     2.9  WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL"
    2.10  EXTRA_SOURCE_FILES="$PACKAGE-7371.u"
    2.11 @@ -37,9 +38,10 @@
    2.12  	sed -i '40i#include <cups/ppd.h>'\
    2.13  		cupsfilters/driver.h
    2.14  
    2.15 -	./configure			\
    2.16 -		--prefix=/usr		\
    2.17 -		--sysconfdir=/etc	\
    2.18 +	./configure					\
    2.19 +		LIBQPDF_CFLAGS="-D QPDF_NO_QPDF_STRING"	\
    2.20 +		--prefix=/usr				\
    2.21 +		--sysconfdir=/etc			\
    2.22  		$CONFIGURE_ARGS &&
    2.23  	make &&
    2.24  	make install