[PATCH] gnu: lensfun: Update to 0.3.3.

DoneSubmitted by John Kehayias.
Details
2 participants
  • John Kehayias
  • Ludovic Courtès
Owner
unassigned
Severity
normal
J
J
John Kehayias wrote on 26 Apr 19:01 +0200
(name . Guix-patches)(address . guix-patches@gnu.org)
6ie_eAzUsNsMBKu2GdaVB7JS-BbZ-rU12tOWjJtsB7mCf6Iq3rIz9jaBJsb0flwAAYkSRYqYD8KhX5rQ8bSRC_TCDFFOWLbNvE73S8x5e6o=@protonmail.com
Hello,

A little update for the lensfun package, including new source and homepage URLs. I've tested this works with Darktable, bringing in lots of new lens corrections.

Thanks!
John
From 8500da1a3f4bd7890d269b3a4bdf5b205045c7c6 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Tue, 26 Apr 2022 12:57:09 -0400
Subject: [PATCH] gnu: lensfun: Update to 0.3.3.

* gnu/packages/photo.scm (lensfun): Update to 0.3.3.
[source, homepage]: Update URLs as the project has moved.
---
gnu/packages/photo.scm | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)

Toggle diff (49 lines)
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 <sschott@mailbox.org>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020. 2021, 2022 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;;
 ;;; 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
-- 
2.35.1
L
L
Ludovic Courtès wrote on 29 Apr 14:51 +0200
(name . John Kehayias)(address . john.kehayias@protonmail.com)(address . 55131-done@debbugs.gnu.org)
87levo833y.fsf@gnu.org
Hi John,

John Kehayias <john.kehayias@protonmail.com> skribis:

Toggle quote (8 lines)
> From 8500da1a3f4bd7890d269b3a4bdf5b205045c7c6 Mon Sep 17 00:00:00 2001
> From: John Kehayias <john.kehayias@protonmail.com>
> Date: Tue, 26 Apr 2022 12:57:09 -0400
> Subject: [PATCH] gnu: lensfun: Update to 0.3.3.
>
> * gnu/packages/photo.scm (lensfun): Update to 0.3.3.
> [source, homepage]: Update URLs as the project has moved.

Applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 55131@debbugs.gnu.org