summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJunker <dk@junkeria.club>2026-01-07 15:41:49 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-02 23:18:11 +0000
commit7900633df34bd18d9de5823824332df58f9e005c (patch)
treeb834b1c899f09e4203a5d9b6312d4f703da34d34 /gnu
parent72cf11751eed42fe71339998c1ead9ee654f8b72 (diff)
gnu: Add jhead.
* gnu/packages/image.scm (jhead): New variable. Merges: https://codeberg.org/guix/guix/pulls/5415 Change-Id: Ia4d18490a735218938da0d9675eb6660bc29d2f0 Reviewed-by: Anderson Torres <anderson.torres.8519@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/image.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 2ada1377b5a..06ad9be9114 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -43,6 +43,7 @@
;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr>
;;; Copyright © 2026 Carlos Durán Domínguez <wurt@wurt.eu>
+;;; Copyright © 2025 Junker <dk@junkeria.club>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -720,6 +721,37 @@ official designation is ISO/IEC 29199-2). This library is an implementation of t
"See the header of the Makefile in the distribution."))
(home-page "https://jxrlib.codeplex.com/")))
+(define-public jhead
+ (package
+ (name "jhead")
+ (version "3.08")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Matthias-Wandel/jhead")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0q9zc47ngnj4zfdpy43jcp2cbnmrlgg38aa7spv8zh94i75jwmvp"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ;no tests.
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://github.com/Matthias-Wandel/jhead")
+ (synopsis "Displays and manipulates EXIF header of JPEG files")
+ (description
+ "@command{jhead} is a simple command line tool for display and manipulate
+@acronym{EXIF, Exchangeable Image File Format} header data embedded in JPEG
+images.")
+ (license license:public-domain)))
+
(define-public jpegoptim
(package
(name "jpegoptim")