gnu: Deprecate the 'libjpeg' variable.

* gnu/packages/image.scm (libjpeg, libjpeg-8): Rename to ...
(ijg-libjpeg, ijg-libjpeg-8): ... this.
(libjpeg): Define as deprecated by LIBJPEG-TURBO.
This commit is contained in:
Marius Bakke 2020-01-17 19:27:36 +01:00
parent 4bd428a7ce
commit a1552f52aa
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -83,6 +83,7 @@ (define-module (gnu packages image)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system scons)
#:use-module (guix deprecation)
#:use-module (srfi srfi-1))
(define-public libpng
@ -364,7 +365,7 @@ (define-public pngquant
@end enumerate")
(license license:gpl3+)))
(define-public libjpeg
(define-public ijg-libjpeg
(package
(name "libjpeg")
(version "9c")
@ -393,8 +394,8 @@ (define-public libjpeg
(license license:ijg)
(home-page "https://www.ijg.org/")))
(define-public libjpeg-8
(package (inherit libjpeg)
(define-public ijg-libjpeg-8
(package (inherit ijg-libjpeg)
(version "8d")
(source (origin
(method url-fetch)
@ -1528,6 +1529,8 @@ (define-public libjpeg-turbo
license:ijg ;the libjpeg library and associated tools
license:zlib)))) ;the libjpeg-turbo SIMD extensions
(define-deprecated libjpeg libjpeg-turbo)
(define-public niftilib
(package
(name "niftilib")