[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/16: gnu: jbig2dec: Update to 0.18.
From: |
guix-commits |
Subject: |
10/16: gnu: jbig2dec: Update to 0.18. |
Date: |
Sat, 14 Mar 2020 07:03:55 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 3fd74c45064eba882771b0398b4c3b29b030a44a
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Mar 14 01:20:14 2020 +0100
gnu: jbig2dec: Update to 0.18.
* gnu/packages/patches/jbig2dec-ignore-testtest.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/image.scm (jbig2dec): Update to 0.18.
[source](uri): Adjust for Ghostscript 9.51.
[source](patches): Remove.
[arguments]: Add #:phases.
[native-inputs]: Add AUTOCONF, AUTOMAKE, LIBTOOL and PYTHON-WRAPPER.
---
gnu/local.mk | 1 -
gnu/packages/image.scm | 25 +++++++++++++++++-----
.../patches/jbig2dec-ignore-testtest.patch | 16 --------------
3 files changed, 20 insertions(+), 22 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 47279ff..d527106 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1053,7 +1053,6 @@ dist_patch_DATA =
\
%D%/packages/patches/java-xerces-bootclasspath.patch \
%D%/packages/patches/java-xerces-build_dont_unzip.patch \
%D%/packages/patches/java-xerces-xjavac_taskdef.patch \
- %D%/packages/patches/jbig2dec-ignore-testtest.patch \
%D%/packages/patches/jfsutils-add-sysmacros.patch \
%D%/packages/patches/jfsutils-include-systypes.patch \
%D%/packages/patches/jsoncpp-fix-inverted-case.patch \
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 36f650f..3850e7f 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -635,18 +635,33 @@ arithmetic ops.")
(define-public jbig2dec
(package
(name "jbig2dec")
- (version "0.17")
+ (version "0.18")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/ArtifexSoftware"
"/ghostpdl-downloads/releases/download"
- "/gs950/" name "-" version ".tar.gz"))
+ "/gs951/" name "-" version ".tar.gz"))
(sha256
(base32
- "0wpvslmwazia3z8gyk343kbq6yj47pxr4x5yjvx332v309qssazp"))
- (patches (search-patches "jbig2dec-ignore-testtest.patch"))))
+ "0pigfw2v0ppvr0lbysm69gx0zsa5q2q92yrb8af2j3im6x97f6cy"))))
(build-system gnu-build-system)
- (arguments '(#:configure-flags '("--disable-static")))
+ (arguments '(#:configure-flags '("--disable-static")
+ #:phases (modify-phases %standard-phases
+ (add-before 'bootstrap 'force-bootstrap
+ (lambda _
+ ;; XXX: jbig2dec 0.18 was released with
+ ;; a broken configure script, so we
+ ;; recreate the build system here.
+ ;; Remove the autoconf inputs below
+ ;; when deleting this code.
+ (delete-file "configure")
+ (delete-file "autogen.sh")
+ #t)))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("python" ,python-wrapper))) ;for tests
(synopsis "Decoder of the JBIG2 image compression format")
(description
"JBIG2 is designed for lossy or lossless encoding of @code{bilevel}
(1-bit
diff --git a/gnu/packages/patches/jbig2dec-ignore-testtest.patch
b/gnu/packages/patches/jbig2dec-ignore-testtest.patch
deleted file mode 100644
index 7c80c54..0000000
--- a/gnu/packages/patches/jbig2dec-ignore-testtest.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Do not run the test 'test_jbig2dec.py'. It doesn't seem to do anything
-and reports failure. TODO: Actually fix the test instead of ignoring it.
-
-diff --git a/Makefile.in b/Makefile.in
-index 63982d4..8af1d61 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -93,7 +93,7 @@ host_triplet = @host@
- bin_PROGRAMS = jbig2dec$(EXEEXT)
- noinst_PROGRAMS = test_sha1$(EXEEXT) test_huffman$(EXEEXT) \
- test_arith$(EXEEXT)
--TESTS = test_sha1$(EXEEXT) test_jbig2dec.py test_huffman$(EXEEXT) \
-+TESTS = test_sha1$(EXEEXT) test_huffman$(EXEEXT) \
- test_arith$(EXEEXT)
- subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- branch core-updates updated (11a5ffb -> 7cf79d7), guix-commits, 2020/03/14
- 01/16: gnu: wesnoth: Remove obsolete workaround., guix-commits, 2020/03/14
- 02/16: gnu: libtorrent-rasterbar: Build with Python 3., guix-commits, 2020/03/14
- 06/16: gnu: LibUV: Update to 1.35.0., guix-commits, 2020/03/14
- 04/16: gnu: c-ares: Update to 1.16.0., guix-commits, 2020/03/14
- 05/16: gnu: cURL: Update to 7.69.1., guix-commits, 2020/03/14
- 03/16: gnu: fifengine: Fix build with newer Swig and Python., guix-commits, 2020/03/14
- 09/16: gnu: pcre: Update to 8.44., guix-commits, 2020/03/14
- 12/16: gnu: gimp: Do not run gtk-update-icon-cache during the build process., guix-commits, 2020/03/14
- 10/16: gnu: jbig2dec: Update to 0.18.,
guix-commits <=
- 11/16: gnu: ghostscript: Update to 9.51., guix-commits, 2020/03/14
- 07/16: gnu: icu4c: Update to 66.1., guix-commits, 2020/03/14
- 08/16: gnu: libuninameslist: Update to 20200313., guix-commits, 2020/03/14
- 13/16: gnu: innoextract: Fix build failure with recent Boost and CMake., guix-commits, 2020/03/14
- 14/16: gnu: log4cpp: Fix build with glibc 2.31., guix-commits, 2020/03/14
- 15/16: gnu: mit-krb5: Fix segfault in gsasl test suite., guix-commits, 2020/03/14
- 16/16: gnu: kiki: Adjust for CPLUS_INCLUDE_PATH change., guix-commits, 2020/03/14