From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0P4zAl9E+F81JgAA0tVLHw (envelope-from ) for ; Fri, 08 Jan 2021 11:39:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uP+fOV5E+F8dNQAA1q6Kng (envelope-from ) for ; Fri, 08 Jan 2021 11:39:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C17F8940548 for ; Fri, 8 Jan 2021 11:39:10 +0000 (UTC) Received: from localhost ([::1]:57224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxq6n-0001Di-Pc for larch@yhetil.org; Fri, 08 Jan 2021 06:39:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxq6g-0001DY-CV for guix-patches@gnu.org; Fri, 08 Jan 2021 06:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxq6g-0005Hl-4w for guix-patches@gnu.org; Fri, 08 Jan 2021 06:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxq6g-0002Jf-2S for guix-patches@gnu.org; Fri, 08 Jan 2021 06:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45725] [PATCH] gnu: Add gutenprint. Resent-From: John Doe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Jan 2021 11:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45725 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45725@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16101059198872 (code B ref -1); Fri, 08 Jan 2021 11:39:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Doe Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C17F8940548 X-Spam-Score: 2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: MWDlZzWXX/tg * 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