[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/25: gnu: psutils: Update to 2.09.
From: |
guix-commits |
Subject: |
02/25: gnu: psutils: Update to 2.09. |
Date: |
Sat, 16 Jul 2022 18:08:27 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 55e3b5fa2aeed6cb964ba55c001ce9d8610d3e05
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jul 6 22:48:05 2022 +0200
gnu: psutils: Update to 2.09.
* gnu/packages/ghostscript.scm (psutils): Update to 2.09.
[source](uri): Change to currently maintained fork.
[home-page]: Ditto.
[native-inputs]: Add LIBPAPER.
[arguments]: Remove #:phases. Add #:tests? and #:configure-flags.
[license]: Add GPL3+.
---
gnu/packages/ghostscript.scm | 68 +++++++++++++++++++++-----------------------
1 file changed, 33 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 060fc43a1a..f2d23c6e8a 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -42,6 +42,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
@@ -107,45 +108,42 @@ paper size.")
(define-public psutils
(package
- (name "psutils")
- (version "17")
- (source (origin
- (method url-fetch)
- (uri "ftp://ftp.knackered.org/pub/psutils/psutils.tar.gz")
- (sha256 (base32
- "1r4ab1fvgganm02kmm70b2r1azwzbav2am41gbigpa2bb1wynlrq"))))
- (build-system gnu-build-system)
- (inputs (list perl))
- (arguments
- `(#:tests? #f ; none provided
- #:phases
- (modify-phases %standard-phases
- (replace 'configure
- (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
- (let ((perl (assoc-ref inputs "perl"))
- (out (assoc-ref outputs "out")))
- (copy-file "Makefile.unix" "Makefile")
- (substitute* "Makefile"
- (("/usr/local/bin/perl") (string-append perl "/bin/perl")))
- (substitute* "Makefile"
- (("/usr/local") out))
- ;; for the install phase
- (substitute* "Makefile"
- (("-mkdir") "mkdir -p"))
- ;; drop installation of non-free files
- (substitute* "Makefile"
- ((" install.include") "")))
- #t)))))
- (synopsis "Collection of utilities for manipulating PostScript documents")
- (description
- "PSUtils is a collection of utilities for manipulating PostScript
+ (name "psutils")
+ (version "2.09")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/rrthomas/psutils/releases"
+ "/download/v" version "/psutils-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1nmp0hb7c4a315vv1mqw2cbckvca8bzh1cv3gdvwwy24w9qba6p3"))))
+ (build-system gnu-build-system)
+ (inputs (list perl))
+ (native-inputs
+ (list libpaper))
+ (arguments
+ (list #:tests? #f ;FIXME: requires files not present in tarball
+ #:configure-flags
+ ;; Help the build system locate Perl when cross-compiling.
+ (if (%current-target-system)
+ #~(list (string-append "ac_cv_path_PERL="
+ (search-input-file %build-inputs
"bin/perl")))
+ #~'())))
+ (synopsis "Collection of utilities for manipulating PostScript documents")
+ (description
+ "PSUtils is a collection of utilities for manipulating PostScript
documents. Programs included are psnup, for placing out several logical pages
on a single sheet of paper, psselect, for selecting pages from a document,
pstops, for general imposition, psbook, for signature generation for booklet
printing, and psresize, for adjusting page sizes.")
- (license (license:non-copyleft "file://LICENSE"
- "See LICENSE in the distribution."))
- (home-page "http://knackered.org/angus/psutils/")))
+ (home-page "https://github.com/rrthomas/psutils")
+ (license (list license:gpl3+
+ ;; This file carries the "historical" psutils license (v1),
+ ;; which is "effectively BSD 3-clause" (a quote from the
file).
+ (license:non-copyleft
+ "file://extractres.in.in"
+ "See extractres.in.in in the distribution.")))))
(define-public ghostscript
(package
- 08/25: gnu: lcms: Remove input labels., (continued)
- 08/25: gnu: lcms: Remove input labels., guix-commits, 2022/07/16
- 11/25: gnu: node: Build with nghttp2@1.44.0., guix-commits, 2022/07/16
- 13/25: gnu: rest: Remove input labels., guix-commits, 2022/07/16
- 16/25: gnu: glib: Update to 2.72.3., guix-commits, 2022/07/16
- 18/25: gnu: python-pygobject: Add 'upstream-name' property., guix-commits, 2022/07/16
- 19/25: gnu: python-pygobject: Update to 3.42.1., guix-commits, 2022/07/16
- 20/25: gnu: python-pycairo: Add 'upstream-name' property., guix-commits, 2022/07/16
- 21/25: gnu: python-cffi: Remove input labels., guix-commits, 2022/07/16
- 22/25: gnu: python-pycairo: Update to 1.21.0., guix-commits, 2022/07/16
- 23/25: gnu: mozjs: Build with ICU 69., guix-commits, 2022/07/16
- 02/25: gnu: psutils: Update to 2.09.,
guix-commits <=
- 24/25: gnu: pangomm@2.46: Update to 2.46.2., guix-commits, 2022/07/16