gnu: jbig2dec: Remove obsolete code.

* gnu/packages/image.scm (jbig2dec)[arguments]: Remove #:phases.
[native-inputs]: Remove AUTOCONF, AUTOMAKE, and LIBTOOL.
This commit is contained in:
Marius Bakke 2022-07-07 00:37:31 +02:00
parent b181e679e1
commit 72e2c416be
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -670,26 +670,12 @@ arithmetic ops.")
(base32 (base32
"0dwa24kjqyg9hmm40fh048sdxfpnasz43l2rm8wlkw1qbdlpd517")))) "0dwa24kjqyg9hmm40fh048sdxfpnasz43l2rm8wlkw1qbdlpd517"))))
(build-system gnu-build-system) (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 (native-inputs
`(("autoconf" ,autoconf) (list python-minimal-wrapper)) ;for tests
("automake" ,automake)
("libtool" ,libtool)
("python" ,python-minimal-wrapper))) ;for tests
(synopsis "Decoder of the JBIG2 image compression format") (synopsis "Decoder of the JBIG2 image compression format")
(description (description
"JBIG2 is designed for lossy or lossless encoding of @code{bilevel} (1-bit "JBIG2 is designed for lossy or lossless encoding of @code{bilevel} (1-bit
monochrome) images at moderately high resolution, and in particular scanned monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1. ratios on the order of 100:1.