From 13c4d8d5300f0a4e12be7cab5b3ecfe9c9de6dd2 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 23 Jan 2024 14:00:07 -0500 Subject: gnu: cups-filters: Update to 1.28.16. * gnu/packages/cups.scm (cups-filters): Update to 1.28.16. [configure-flags]: Set CFLAGS and CXXFLAGS. [inputs]: Add libexif. Change-Id: Ib8a05d27533af0d9e59d72771670373acb300140 --- gnu/packages/cups.scm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'gnu/packages/cups.scm') diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 12d9f9102c..b1e2e92765 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2017 Mark H Weaver ;;; Copyright © 2017–2022 Tobias Geerinckx-Rice ;;; Copyright © 2020 Marius Bakke -;;; Copyright © 2021, 2023 Maxim Cournoyer +;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. @@ -43,6 +43,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) + #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages pretty-print) @@ -129,7 +130,7 @@ driver is known to work with these printers: (define-public cups-filters (package (name "cups-filters") - (version "1.28.15") + (version "1.28.16") (source (origin (method url-fetch) @@ -137,7 +138,7 @@ driver is known to work with these printers: (string-append "https://openprinting.org/download/cups-filters/" "cups-filters-" version ".tar.xz")) (sha256 - (base32 "12s7s2jgnh4q7ws7r2is6xp3pqq818jhnm4vpyzyywmvkxvfq1x9")) + (base32 "1h4s35xkbxhxpid39yaiy0gmaj3lck8lhzfdfl3h58hxfpx0nh1s")) (modules '((guix build utils))) (snippet ;; Install backends, banners and filters to cups-filters output @@ -180,7 +181,11 @@ driver is known to work with these printers: (assoc-ref %build-inputs "bash") "/bin/bash") (string-append "--with-rcdir=" - #$output "/etc/rc.d")) + #$output "/etc/rc.d") + ;; QPDF headers include C++17 libraries such as + ;; std::string_view. + "CFLAGS=-std=gnu17" + "CXXFLAGS=-std=gnu++17") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-foomatic-hardcoded-file-names @@ -227,6 +232,7 @@ driver is known to work with these printers: grep ijs lcms + libexif libjpeg-turbo libpng libtiff -- cgit v1.2.3