Subject: [PATCH] gnu: gcolor3: Update to 0.2.4-28.6699c15
From: Sughosha <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Fri, 06 May 2022 19:49:36 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Empty Message

From b40884620fff660ec7ea0b27cae47078645da7d2 Mon Sep 17 00:00:00 2001
From: Sughosha <[email-masked]>
Date: Fri, 6 May 2022 21:23:53 +0200
Subject: [PATCH] gnu: gcolor3: Update to 0.2.4-28.6699c15

* This commit fixes build with recent libportal
---
 gnu/packages/gnome.scm | 55 +++++++++++++++++++++---------------------
 1 file changed, 28 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dae6692109..0c28731829 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10310,34 +10310,35 @@ (define-public gucharmap
       (license license:gpl3+))))
 
 (define-public gcolor3
-  (package
-    (name "gcolor3")
-    (version "2.4.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://gitlab.gnome.org/World/gcolor3")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1igqmach1vhcrvbpw346pmkbb5kabbb806ssswrvkp569n700wmc"))))
-    (build-system meson-build-system)
-    (arguments
-     `(#:glib-or-gtk? #t))
-    (native-inputs
-     `(("desktop-file-utils" ,desktop-file-utils)
-       ("gettext" ,gettext-minimal)
-       ("glib:bin" ,glib "bin")
-       ("gtk+:bin" ,gtk+ "bin")
-       ("pkg-config" ,pkg-config)))
-    (inputs
-     (list gsettings-desktop-schemas gtk+ libportal))
-    (home-page "https://www.hjdskes.nl/projects/gcolor3/")
-    (synopsis "Simple color chooser written in GTK3")
-    (description "Color Picker is a simple color chooser written in GTK3.  It
+  (let ((revision "28")
+        (commit "6699c150468e3af14c6a6d411abe6b83b44b4304"))
+    (package
+      (name "gcolor3")
+      (version (git-version "2.4.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.gnome.org/World/gcolor3")
+               (commit commit)))
+         (sha256
+          (base32 "1d07jbbbnic7i4n9azw8yjnbp7sny9dk5ihffcjjxvknk63fsny4"))))
+      (build-system meson-build-system)
+      (arguments
+       `(#:glib-or-gtk? #t))
+      (native-inputs
+       `(("desktop-file-utils" ,desktop-file-utils)
+         ("gettext" ,gettext-minimal)
+         ("glib:bin" ,glib "bin")
+         ("gtk+:bin" ,gtk+ "bin")
+         ("pkg-config" ,pkg-config)))
+      (inputs
+       (list gsettings-desktop-schemas gtk+ libportal))
+      (home-page "https://www.hjdskes.nl/projects/gcolor3/")
+      (synopsis "Simple color chooser written in GTK3")
+      (description "Color Picker is a simple color chooser written in GTK3.  It
 supports both X and Wayland display servers.")
-    (license license:gpl2+)))
+      (license license:gpl2+))))
 
 (define-public bluefish
   (package
-- 
2.36.0