[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: Deprecate the 'libjpeg' variable.
From: |
guix-commits |
Subject: |
09/09: gnu: Deprecate the 'libjpeg' variable. |
Date: |
Wed, 22 Jan 2020 16:14:53 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit a1552f52aa1b54e78eaa933a243fed2e99c6ba81
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Jan 17 19:27:36 2020 +0100
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.
---
gnu/packages/image.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 6bb0b47..1b86f70 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -83,6 +83,7 @@
#: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 @@ Features:
@end enumerate")
(license license:gpl3+)))
-(define-public libjpeg
+(define-public ijg-libjpeg
(package
(name "libjpeg")
(version "9c")
@@ -393,8 +394,8 @@ lossless JPEG manipulations such as rotation, scaling or
cropping:
(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 @@ and decompress to 32-bit and big-endian pixel buffers
(RGBX, XBGR, etc.).")
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")
- branch core-updates updated (c2d837b -> a1552f5), guix-commits, 2020/01/22
- 02/09: gnu: Add deprecation notice for 'boost-with-python3'., guix-commits, 2020/01/22
- 01/09: gnu: cmake: Update to 3.16.3., guix-commits, 2020/01/22
- 06/09: gnu: RHash: Download tarball from SourceForge instead of a git checkout., guix-commits, 2020/01/22
- 03/09: gnu: Add deprecation notice for 'sqlite-with-column-metadata'., guix-commits, 2020/01/22
- 04/09: gnu: curl: Remove unused input., guix-commits, 2020/01/22
- 05/09: gnu: curl: Remove unnecessary reference to the "doc" output., guix-commits, 2020/01/22
- 07/09: gnu: libjpeg-turbo: Build with a minimal variant of CMake., guix-commits, 2020/01/22
- 09/09: gnu: Deprecate the 'libjpeg' variable.,
guix-commits <=
- 08/09: gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'., guix-commits, 2020/01/22