From ccd682cb9877f61d59303da96e62b2067964d1a4 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Tue, 26 Apr 2022 12:57:09 -0400 Subject: [PATCH] gnu: lensfun: Update to 0.3.3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/photo.scm (lensfun): Update to 0.3.3. [source, homepage]: Update URLs as the project has moved. Signed-off-by: Ludovic Courtès --- gnu/packages/photo.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 2f561abc2f..f534a013bc 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020 Sebastian Schott ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020. 2021, 2022 Vinicius Monego +;;; Copyright © 2022 John Kehayias ;;; ;;; This file is part of GNU Guix. ;;; @@ -415,15 +416,16 @@ (define-public enblend-enfuse (define-public lensfun (package (name "lensfun") - (version "0.3.2") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/lensfun/" - version "/lensfun-" version ".tar.gz")) - (sha256 - (base32 - "0cfk8jjhs9nbfjfdy98plrj9ayi59aph0nx6ppslgjhlcvacm2xf")))) + (version "0.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lensfun/lensfun") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pv2y9yqzkw70p501425mf9cqv6yy8ppw5ilkpbd9bw9nss1js76")))) (build-system cmake-build-system) (arguments `(,@(if (any (cute string-prefix? <> (or (%current-system) @@ -437,7 +439,7 @@ (define-public lensfun (list pkg-config)) (inputs (list glib)) - (home-page "https://sourceforge.net/projects/lensfun/") + (home-page "https://lensfun.github.io/") (synopsis "Library to correct optical lens defects with a lens database") (description "Digital photographs are not ideal. Of course, the better is your camera, the better the results will be, but in any case if you look