From bd677c2dbac4ee3f831f8f9349aa16884325d081 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 4 Oct 2013 19:10:29 +0200 Subject: [PATCH] gnu: Add libxkbcommon. * gnu/packages/qt.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/qt.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 gnu/packages/qt.scm diff --git a/gnu-system.am b/gnu-system.am index 310fd90154..7d34c8916d 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -145,6 +145,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/pth.scm \ gnu/packages/python.scm \ gnu/packages/qemu.scm \ + gnu/packages/qt.scm \ gnu/packages/ratpoison.scm \ gnu/packages/readline.scm \ gnu/packages/recutils.scm \ diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm new file mode 100644 index 0000000000..3865f2c05f --- /dev/null +++ b/gnu/packages/qt.scm @@ -0,0 +1,49 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Andreas Enge +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages qt) + #:use-module ((guix licenses) #:select (x11-style)) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages bison)) + +(define-public libxkbcommon + (package + (name "libxkbcommon") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (string-append "http://xkbcommon.org/download/" name "-" + version ".tar.xz")) + (sha256 + (base32 + "13mk335r4dhi9qglzbp46ina1wz4qgcp8r7s06iq7j50pf0kb5ww")))) + (build-system gnu-build-system) + (inputs + `(("bison" ,bison))) + (home-page "http://xkbcommon.org/") + (synopsis "library to handle keyboard descriptions") + (description "Xkbcommon is a library to handle keyboard descriptions, +including loading them from disk, parsing them and handling their +state. It is mainly meant for client toolkits, window systems, and other +system applications; currently that includes Wayland, kmscon, GTK+, Qt, +Clutter, and more. Despite the name, it is not currently used by anything +X11 (yet).") + (license (x11-style "file://COPYING" + "See 'COPYING' in the distribution."))))