[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: splix: Update to 2.0.0-315.76268c4.
From: |
guix-commits |
Subject: |
03/06: gnu: splix: Update to 2.0.0-315.76268c4. |
Date: |
Wed, 18 Nov 2020 12:08:47 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit a25362a5c12507360953b507a18320edef81167f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Nov 18 14:09:56 2020 +0100
gnu: splix: Update to 2.0.0-315.76268c4.
* gnu/packages/cups.scm (splix): Update to 2.0.0-315.76268c4.
[source]: Fetch from a more maintained git repository.
[arguments]: Add an ‘enter-subdirectory’ phase.
[inputs]: Remove instructions for building without JBIG. It's no longer
patented.
---
gnu/packages/cups.scm | 40 ++++++++++++++++++++++------------------
1 file changed, 22 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 173f8ca..3f0cdb7 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -49,7 +49,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix download)
- #:use-module (guix svn-download)
+ #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
@@ -797,24 +797,26 @@ language.")
(license license:gpl2+)))
(define-public splix
- ;; The last release was in 2009. The SVN repository contains 5 years of
- ;; unreleased bug fixes and support for newer printer models.
- (let ((revision 315))
+ ;; Last released in 2009 <https://sourceforge.net/projects/splix/files/>.
+ ;; Last SVN commit was 2013 <https://svn.code.sf.net/p/splix/code/splix/>.
+ ;; Use a more maintained fork with several bug fixes and support for newer
+ ;; printer models.
+ (let ((commit "76268c4dd7dbc8218ea7426401104c3b40cc707a")
+ (revision "315"))
(package
(name "splix")
- (version (string-append "2.0.0-" (number->string revision)))
+ (version (git-version "2.0.0" revision commit))
(source
(origin
- (method svn-fetch)
- (uri (svn-reference
- (url "https://svn.code.sf.net/p/splix/code/splix/")
- (revision revision)))
- (file-name (string-append name "-" version "-checkout"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/ScumCoder/splix")
+ (commit commit)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "16wbm4xnz35ca3mw2iggf5f4jaxpyna718ia190ka6y4ah932jxl"))))
+ (base32 "1mxsvllwwr1v8sgrax0b7gkajjhnm0l06s67spmaxz47lyll1qab"))))
(build-system gnu-build-system)
- ;; 90% (3.8 MiB) of output are .ppd files. Don't install them by
default:
- ;; CUPS has been able to read the .drv sources directly since version
1.2.
+ ;; PPDs have been obsolete since CUPS 1.2 and make up 90% of total size.
(outputs (list "out" "ppd"))
(arguments
'(#:make-flags
@@ -828,6 +830,11 @@ language.")
"THREADS=4") ; compress and print faster
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'enter-subdirectory
+ ;; The git repository replicates the top-level SVN layout.
+ (lambda _
+ (chdir "splix")
+ #t))
(delete 'configure) ; no configure script
(add-before 'build 'build-.drv-files
(lambda* (#:key make-flags #:allow-other-keys)
@@ -838,11 +845,8 @@ language.")
#:tests? #f)) ; no test suite
(inputs
`(("cups" ,cups-minimal)
- ("zlib" ,zlib)
-
- ;; This dependency can be dropped by setting DISABLE_JBIG=1, but the
- ;; result will not support some printers like the Samsung CLP-600.
- ("jbigkit" ,jbigkit)))
+ ("jbigkit" ,jbigkit)
+ ("zlib" ,zlib)))
(synopsis "QPDL (SPL2) printer driver")
(description
"SpliX is a set of CUPS drivers for printers that speak @acronym{QPDL,
- branch master updated (b3a63d4 -> a45f822), guix-commits, 2020/11/18
- 02/06: gnu: xlockmore: Update to 5.66., guix-commits, 2020/11/18
- 05/06: gnu: fldigi: Update to 4.1.16., guix-commits, 2020/11/18
- 01/06: gnu: zabbix-agentd, zabbix-server: Update to 5.2.1., guix-commits, 2020/11/18
- 03/06: gnu: splix: Update to 2.0.0-315.76268c4.,
guix-commits <=
- 04/06: gnu: splix: Compress PPDs., guix-commits, 2020/11/18
- 06/06: Merge remote-tracking branch 'upstream/version-1.2.0', guix-commits, 2020/11/18