gnu: Add libhandy-0.0.
authorLeo Prikler <leo.prikler@student.tugraz.at>
Sat, 29 Aug 2020 16:42:22 +0000 (18:42 +0200)
committerLeo Famulari <leo@famulari.name>
Sat, 29 Aug 2020 18:50:30 +0000 (14:50 -0400)
As of 355761c2d27fe80ae73b872b8026cb15d8487fd0, packages built against libhandy
fail to either build or to run since they require the 0.0.x API.

* gnu/packages/gnome.scm (libhandy-0.0): New variable.
(gnome-tweaks, geary)[inputs]: Use libhandy-0.0 instead of libhandy.
* gnu/packages/gnome.scm (chatty)[inputs]: Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>
gnu/packages/gnome.scm
gnu/packages/messaging.scm

index 0ca1f8b..bfe1ca4 100644 (file)
@@ -9157,7 +9157,7 @@ existing databases over the internet.")
        ("gtk+" ,gtk+)
        ("gobject-introspection" ,gobject-introspection)
        ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
-       ("libhandy" ,libhandy)
+       ("libhandy" ,libhandy-0.0)
        ("libnotify" ,libnotify)
        ("libsoup" ,libsoup)
        ("nautilus" ,nautilus)
@@ -10521,6 +10521,20 @@ interfaces for mobile devices using GTK+.  It provides responsive GTK+ widgets
 for usage on small and big screens.")
     (license license:lgpl2.1+)))
 
+(define-public libhandy-0.0
+  (package
+    (inherit libhandy)
+    (version "0.0.13")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.gnome.org/GNOME/libhandy")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "libhandy" version))
+       (sha256
+        (base32 "1y23k623sjkldfrdiwfarpchg5mg58smcy1pkgnwfwca15wm1ra5"))))))
+
 (define-public libgit2-glib
   (package
     (name "libgit2-glib")
@@ -10895,7 +10909,7 @@ join_paths\\('build-aux', 'post_install.py'\\)\\)")
        ("json-glib" ,json-glib)
        ("libcanberra" ,libcanberra)
        ("libgee" ,libgee)
-       ("libhandy" ,libhandy)
+       ("libhandy" ,libhandy-0.0)
        ("libpeas" ,libpeas)
        ("libsecret" ,libsecret)
        ("libunwind" ,libunwind)
index 9dc3e58..8ddced6 100644 (file)
@@ -2257,7 +2257,7 @@ support for high performance Telegram Bot creation.")
       ("folks" ,folks)
       ("libgcrypt" ,libgcrypt)
       ("libgee" ,libgee)
-      ("libhandy" ,libhandy)
+      ("libhandy" ,libhandy-0.0)
       ("pidgin" ,pidgin)
       ("purple-mm-sms" ,purple-mm-sms)
       ("sqlite" ,sqlite)))