From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 06:38:39 2021 Received: (at submit) by debbugs.gnu.org; 8 Jan 2021 11:38:39 +0000 Received: from localhost ([127.0.0.1]:49351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxq6J-0002J1-0Q for submit@debbugs.gnu.org; Fri, 08 Jan 2021 06:38:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:51374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxq6G-0002It-3t for submit@debbugs.gnu.org; Fri, 08 Jan 2021 06:38:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxq6F-0001BF-R2 for guix-patches@gnu.org; Fri, 08 Jan 2021 06:38:35 -0500 Received: from smtp5-g21.free.fr ([2a01:e0c:1:1599::14]:22968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxq6D-0004wL-TJ for guix-patches@gnu.org; Fri, 08 Jan 2021 06:38:35 -0500 Received: from localhost.localdomain (unknown [82.65.193.67]) (Authenticated sender: dftxbs3e) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 4BA735FFA3; Fri, 8 Jan 2021 12:38:27 +0100 (CET) From: John Doe To: guix-patches@gnu.org Subject: [PATCH] gnu: Add gutenprint. Date: Fri, 8 Jan 2021 12:38:22 +0100 Message-Id: <20210108113822.24978-1-dftxbs3e@free.fr> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a01:e0c:1:1599::14; envelope-from=dftxbs3e@free.fr; helo=smtp5-g21.free.fr X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.998, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.787, URIBL_SBL_A=0.1 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/cups.scm (gutenprint): New variable. --- gnu/packages/cups.scm | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index c8ca5db1a0..12a5d05857 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -32, 6 +32, 7 @@ #:use-module (gnu packages comp [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.6 HK_RANDOM_ENVFROM Envelope sender username looks random 1.0 HK_RANDOM_FROM From username looks random -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dftxbs3e[at]free.fr) 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: splix.ap2c.org] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: splix.ap2c.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.8 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit Cc: John Doe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) * gnu/packages/cups.scm (gutenprint): New variable. --- gnu/packages/cups.scm | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index c8ca5db1a0..12a5d05857 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -32,6 +32,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages fonts) ; font-dejavu #:use-module (gnu packages fontutils) + #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) #:use-module (gnu packages groff) @@ -46,6 +47,7 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages scanner) + #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (guix build-system gnu) #:use-module (guix build-system python) @@ -921,6 +923,49 @@ obtained and installed separately.") (home-page "http://splix.ap2c.org/") (license license:gpl2)))) +(define-public gutenprint + (package + (name "gutenprint") + (version "5.3.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/gimp-print/" name "-" + (version-major+minor version) "/" version "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "0wm0akfm0dp0wrwnn03j90hqxs8vx8iy896baf68blb7isyfqybj")))) + (build-system gnu-build-system) + (arguments + `(#:test-target "check-parallel" + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-paths + (lambda* (#:key outputs native-inputs #:allow-other-keys) + (substitute* "Makefile.in" + (("/usr/bin/time") "time")) + (let ((out (assoc-ref outputs "out"))) + (substitute* "src/cups/Makefile.in" + (("cups_conf_serverbin = @cups_conf_serverbin@") + (string-append "cups_conf_serverbin = " out "/lib/cups")) + (("cups_conf_serverroot = @cups_conf_serverroot@") + (string-append "cups_conf_serverroot = " out "/etc/cups")) + (("cups_conf_datadir = @cups_conf_datadir@") + (string-append "cups_conf_datadir = " out "/share/cups"))) + #t)))))) + (native-inputs + `(("perl" ,perl) + ("time" ,time))) + (inputs + `(("cups" ,cups-minimal))) + (synopsis "Printer drivers for CUPS on GNU/Linux") + (description "A very high quality package of printer drivers for +CUPS on GNU/Linux, Macintosh OS X, and other POSIX-compliant operating systems. +This project also maintains an enhanced Print plug-in for GIMP 2.x from +the same code base.") + (home-page "http://gimp-print.sourceforge.net/") + (license license:gpl2+))) + (define-public python-pycups (package (name "python-pycups") -- 2.30.0