Patchwork [1/2] gnu: Add gucharmap.

login
register
mail settings
Submitter rennes@openmailbox.org
Date Oct. 5, 2016, 2:23 a.m.
Message ID <856317d18a636d6cc8fd520b7d3dd72d@openmailbox.org>
Download mbox | patch
Permalink /patch/16265/
State New
Headers show

Comments

rennes@openmailbox.org - Oct. 5, 2016, 2:23 a.m.
Hello,
gucharmap is the GNOME Character Map.

Built and linted.

Thank you
Hartmut Goebel - Oct. 5, 2016, 9:43 a.m.
Am 05.10.2016 um 04:23 schrieb rennes@openmailbox.org:
> +    (synopsis "Character Map")

Again, please be a bit more verbose. I do not even understand what a
"Character map" is (maybe this is an English idiom, but I'm no native
speaker.) Debian calls it "Unicode character picker and font browser",
which is more meaningful for me.

Patch

From 621c83f9a71f29c593fbc045603eed8ae7e1b6bb Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Tue, 4 Oct 2016 21:14:12 -0500
Subject: [PATCH 1/2] gnu: Add gucharmap.

	* gnu/packages/gucharmap.scm (gucharmap): New variable.

---
 gnu/packages/gucharmap.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 gnu/packages/gucharmap.scm

diff --git a/gnu/packages/gucharmap.scm b/gnu/packages/gucharmap.scm
new file mode 100644
index 0000000..ac643f2
--- /dev/null
+++ b/gnu/packages/gucharmap.scm
@@ -0,0 +1,59 @@ 
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages gucharmap)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages xml))
+
+(define-public gucharmap
+  (package
+    (name "gucharmap")
+    (version "3.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://gnome/sources/" name "/"
+                           (version-major+minor version) "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32
+         "0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils)
+       ("glib:bin" ,glib "bin") ; for glib-compile-resources.
+       ("gobject-introspection" ,gobject-introspection)
+       ("intltool" ,intltool)
+       ("itstool" ,itstool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gtk+" ,gtk+)
+       ("xmllint" ,libxml2)))
+    (home-page "https://wiki.gnome.org/Apps/Gucharmap")
+    (synopsis "Character Map")
+    (description
+     "Character map, based on the Unicode Character Database.")
+    (license license:gpl3)))
-- 
2.10.0