gnu: leptonica: Update to 1.83.1.

* gnu/packages/image.scm (leptonica): Update to 1.83.1.
[arguments]<#:phases>: Update file name in "provide-absolute-giflib-reference"
phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Simon South 2023-02-15 11:44:11 -05:00 committed by Ludovic Courtès
parent fb9124cb04
commit a7458a6278
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -601,7 +601,7 @@ (define-public libtiff
(define-public leptonica
(package
(name "leptonica")
(version "1.80.0")
(version "1.83.1")
(source
(origin
(method git-fetch)
@ -610,7 +610,7 @@ (define-public leptonica
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "12ddln72z5l3icz0i9rpsfkg5xik8fcwcn8lb0cp3jigjxi8gvkg"))))
(base32 "1j7qf9flb48q0aymf0yx9rypy3bs6hfjcln08zmy8qn2qcjzrmvi"))))
(build-system gnu-build-system)
(native-inputs
(list gnuplot ;needed for test suite
@ -642,7 +642,7 @@ (define-public leptonica
(let ((giflib #$(this-package-input "giflib")))
;; Add an absolute reference to giflib to avoid propagation.
(with-directory-excursion (string-append #$output "/lib")
(substitute* '("liblept.la" "pkgconfig/lept.pc")
(substitute* '("libleptonica.la" "pkgconfig/lept.pc")
(("-lgif") (string-append "-L" giflib "/lib -lgif"))))))))))
(home-page "http://www.leptonica.com/")
(synopsis "Library and tools for image processing and analysis")