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:
		
							parent
							
								
									4bd428a7ce
								
							
						
					
					
						commit
						a1552f52aa
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -83,6 +83,7 @@ | ||||||
|   #:use-module (guix build-system meson) |   #:use-module (guix build-system meson) | ||||||
|   #:use-module (guix build-system python) |   #:use-module (guix build-system python) | ||||||
|   #:use-module (guix build-system scons) |   #:use-module (guix build-system scons) | ||||||
|  |   #:use-module (guix deprecation) | ||||||
|   #:use-module (srfi srfi-1)) |   #:use-module (srfi srfi-1)) | ||||||
| 
 | 
 | ||||||
| (define-public libpng | (define-public libpng | ||||||
|  | @ -364,7 +365,7 @@ Features: | ||||||
| @end enumerate") | @end enumerate") | ||||||
|     (license license:gpl3+))) |     (license license:gpl3+))) | ||||||
| 
 | 
 | ||||||
| (define-public libjpeg | (define-public ijg-libjpeg | ||||||
|   (package |   (package | ||||||
|    (name "libjpeg") |    (name "libjpeg") | ||||||
|    (version "9c") |    (version "9c") | ||||||
|  | @ -393,8 +394,8 @@ lossless JPEG manipulations such as rotation, scaling or cropping: | ||||||
|    (license license:ijg) |    (license license:ijg) | ||||||
|    (home-page "https://www.ijg.org/"))) |    (home-page "https://www.ijg.org/"))) | ||||||
| 
 | 
 | ||||||
| (define-public libjpeg-8 | (define-public ijg-libjpeg-8 | ||||||
|   (package (inherit libjpeg) |   (package (inherit ijg-libjpeg) | ||||||
|    (version "8d") |    (version "8d") | ||||||
|    (source (origin |    (source (origin | ||||||
|             (method url-fetch) |             (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:ijg          ;the libjpeg library and associated tools | ||||||
|                    license:zlib))))     ;the libjpeg-turbo SIMD extensions |                    license:zlib))))     ;the libjpeg-turbo SIMD extensions | ||||||
| 
 | 
 | ||||||
|  | (define-deprecated libjpeg libjpeg-turbo) | ||||||
|  | 
 | ||||||
| (define-public niftilib | (define-public niftilib | ||||||
|   (package |   (package | ||||||
|     (name "niftilib") |     (name "niftilib") | ||||||
|  |  | ||||||
		Reference in a new issue