From b923e5525b5808e32e9f0a2d6440c1c4c51eee04 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Sun, 26 Jul 2020 00:30:40 -0400 Subject: [PATCH 42/54] gnu: libgnomekbd: Update package definition. * gnu/packages/gnome.scm (libgnomekbd): Update package definition. [build-system]: Change from gnu to glib-or-gtk. [arguments]<#:configure-flags>[--disable-static]: New flag. [native-inputs]: Add gettext-minimal and gobject-introspection. Remove glib:bin. [home-page]: Modify. --- gnu/packages/gnome.scm | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2b4fdb655b..53956909e6 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -10403,29 +10403,33 @@ which generates C code when compiled.") (package (name "libgnomekbd") (version "3.26.1") - (source (origin - (method url-fetch) - (uri (string-append "mirror://gnome/sources/libgnomekbd/" - (version-major+minor version) "/" - "libgnomekbd-" version ".tar.xz")) - (sha256 - (base32 - "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp")))) - (build-system gnu-build-system) + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/libgnomekbd/" + (version-major+minor version) "/" + "libgnomekbd-" version ".tar.xz")) + (sha256 + (base32 "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + (list + "--disable-static"))) (native-inputs - `(("pkg-config" ,pkg-config) - ("glib" ,glib "bin") - ("intltool" ,intltool))) + `(("gettext" ,gettext-minimal) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) (propagated-inputs - ;; Referred to in .h files and .pc. `(("glib" ,glib) ("gtk+" ,gtk+) ("libxklavier" ,libxklavier))) - (home-page "https://www.gnome.org") (synopsis "GNOME keyboard configuration library") - (description - "Libgnomekbd is a keyboard configuration library for the GNOME desktop -environment, which can notably display keyboard layouts.") + (description "Libgnomekbd is a keyboard configuration library for the +GNOME desktop environment, which can notably display keyboard layouts.") + (home-page "https://gitlab.gnome.org/GNOME/libgnomekbd") (license license:lgpl2.0+))) ;;; This package is no longer maintained: -- 2.27.0