guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add libgnomekbd.


From: ng0
Subject: [PATCH] gnu: Add libgnomekbd.
Date: Sun, 31 Jul 2016 10:49:49 +0000

The author(?) in 2012 wrote:
"Libgnomekbd is a dead man walking – the only useful thing is the
keyboard drawing widget, that should be incorporated into
gnome-control-center in 3.8."

This library has been tested in my GNOME system by clicking the tastatur
layout in the right corner, open drop down menu, click "Show Keyboard
Layout". Previously: "can't find libgnomekbd" (or smth like that), now
it displays keyboard layout drawings.

>From 177706fe15b53a9b8ea3c053b878e6f0ed1fa8b9 Mon Sep 17 00:00:00 2001
From: ng0 <address@hidden>
Date: Sun, 31 Jul 2016 10:45:35 +0000
Subject: [PATCH] gnu: Add libgnomekbd.

* gnu/packages/gnome.scm (libgnomekbd): New variable.
---
 gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b2f4695..9497101 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2016 Roel Janssen <address@hidden>
 ;;; Copyright © 2016 Leo Famulari <address@hidden>
 ;;; Copyright © 2016 Alex Griffin <address@hidden>
+;;; Copyright © 2016 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5388,3 +5389,33 @@ compiled.")
 GLib/GObject code.")
     (home-page "https://wiki.gnome.org/Projects/GFBGraph";)
     (license license:lgpl2.1+)))
+
+(define-public libgnomekbd
+  (package
+    (name "libgnomekbd")
+    (version "3.6.0")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "mirror://gnome/sources/" name "/"
+                                 (version-major+minor version)  "/"
+                                 name "-" version ".tar.xz"))
+             (sha256
+              (base32
+               "02bahnl3vaqyqyr99r9kwka84sxj8qdrz7x0bf97192dysqaa7n4"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("libxklavier" ,libxklavier)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("glib" ,glib "bin")
+       ("intltool" ,intltool)))
+    (propagated-inputs
+     ;; Referred to in .h files and .pc.
+     `(("glib" ,glib)))
+    (home-page "https://www.gnome.org";)
+    (synopsis "Gnome keyboard configuration library")
+    (description
+     "Gnome keyboard configuration library.  Its most visible feature is to
+display keyboard layouts.")
+    (license license:lgpl2.0+)))
-- 
2.9.2

-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]