[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/17: gnu: djview: Update to 4.11.
From: |
guix-commits |
Subject: |
01/17: gnu: djview: Update to 4.11. |
Date: |
Tue, 9 Jun 2020 22:38:12 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit e6c2a88f3d9717be183a0346766cd65d10a904f4
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 10 00:33:03 2020 +0200
gnu: djview: Update to 4.11.
* gnu/packages/djvu.scm (djview): Update to 4.11.
[source]: Use GIT-FETCH and add a FILE-NAME.
[native-inputs]: Add autoconf, automake, and libtool.
[arguments]: Add a ‘make-files-writable’ phase.
---
gnu/packages/djvu.scm | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/djvu.scm b/gnu/packages/djvu.scm
index 1fb5b52..f5ea9bd 100644
--- a/gnu/packages/djvu.scm
+++ b/gnu/packages/djvu.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,7 +23,9 @@
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages glib)
#:use-module (gnu packages image)
#:use-module (gnu packages pkg-config)
@@ -59,18 +62,22 @@ utilities.")
(define-public djview
(package
(name "djview")
- (version "4.10.6")
+ (version "4.11")
(source
(origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/djvu/DjView/"
- (version-major+minor version) "/"
- "djview-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.code.sf.net/p/djvu/djview-git")
+ (commit (string-append "release." version))))
(sha256
- (base32 "08bwv8ppdzhryfcnifgzgdilb12jcnivl4ig6hd44f12d76z6il4"))))
+ (base32 "0qlhd0xlxn8i869m0hwdjvwivi2vigqm88wliyr1h7s84zl3qhsy"))
+ (file-name (git-file-name name version))))
(build-system gnu-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
("qttools" ,qttools)))
(inputs
`(("djvulibre" ,djvulibre)
@@ -86,6 +93,11 @@ utilities.")
(lambda _
(substitute* "desktopfiles/djvulibre-djview4.desktop"
(("Exec=djview4 %f") "Exec=djview %f"))
+ #t))
+ (add-after 'unpack 'make-files-writable
+ (lambda _
+ (for-each make-file-writable
+ (find-files "."))
#t)))))
(home-page "http://djvu.sourceforge.net/djview4.html")
(synopsis "Viewer for the DjVu image format")
- branch master updated (2971ed5 -> d2a7cb4), guix-commits, 2020/06/09
- 02/17: gnu: simple-scan: Update to 3.36.3., guix-commits, 2020/06/09
- 04/17: gnu: mm-common: Update to 1.0.1., guix-commits, 2020/06/09
- 01/17: gnu: djview: Update to 4.11.,
guix-commits <=
- 03/17: gnu: mm-common: Don't use NAME in source URI., guix-commits, 2020/06/09
- 05/17: gnu: smb4k: Update to 3.0.6., guix-commits, 2020/06/09
- 06/17: gnu: gtkspell3: Update to 3.0.10., guix-commits, 2020/06/09
- 07/17: gnu: libnftnl: Update to 1.1.7., guix-commits, 2020/06/09
- 08/17: gnu: nftables: Update to 0.9.5., guix-commits, 2020/06/09
- 11/17: gnu: mpop: Update to 1.4.10., guix-commits, 2020/06/09
- 13/17: gnu: libnumbertext: Update to 1.0.6., guix-commits, 2020/06/09
- 14/17: gnu: pd: Don't hard-code Tk version., guix-commits, 2020/06/09
- 09/17: gnu: iptables: Update to 1.8.5., guix-commits, 2020/06/09
- 10/17: gnu: nvme-cli: Update to 1.11.2., guix-commits, 2020/06/09