unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add libgnomekbd.
@ 2016-07-31 10:49 ng0
  2016-07-31 23:12 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2016-07-31 10:49 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

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.


[-- Attachment #2: 0001-gnu-Add-libgnomekbd.patch --]
[-- Type: text/x-patch, Size: 1966 bytes --]

From 177706fe15b53a9b8ea3c053b878e6f0ed1fa8b9 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
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 <roel@gnu.org>
 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;;
 ;;; 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


[-- Attachment #3: Type: text/plain, Size: 128 bytes --]

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add libgnomekbd.
  2016-07-31 10:49 [PATCH] gnu: Add libgnomekbd ng0
@ 2016-07-31 23:12 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-07-31 23:12 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

ng0 <ng0@we.make.ritual.n0.is> skribis:

> From 177706fe15b53a9b8ea3c053b878e6f0ed1fa8b9 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Sun, 31 Jul 2016 10:45:35 +0000
> Subject: [PATCH] gnu: Add libgnomekbd.
>
> * gnu/packages/gnome.scm (libgnomekbd): New variable.

[...]

> +    (inputs
> +     `(("gtk+" ,gtk+)
> +       ("libxklavier" ,libxklavier)))

I moved these to ‘propagated-inputs’ since they’re already mentioned in
the .pc file, and pushed.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-31 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-31 10:49 [PATCH] gnu: Add libgnomekbd ng0
2016-07-31 23:12 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).