[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/62: gnu: gucharmap: Update to 10.0.4.
From: |
guix-commits |
Subject: |
41/62: gnu: gucharmap: Update to 10.0.4. |
Date: |
Wed, 23 Jan 2019 06:12:54 -0500 (EST) |
rekado pushed a commit to branch wip-gnome-upgrades
in repository guix.
commit f7fb4950bc2f56e5b9970d5cd5567028f5723d52
Author: Ricardo Wurmus <address@hidden>
Date: Mon Aug 6 16:13:31 2018 +0200
gnu: gucharmap: Update to 10.0.4.
* gnu/packages/gnome.scm (gucharmap): Update to 10.0.4.
[arguments]: Add phase "prepare-unicode-data".
[native-inputs]: Add unicode files.
---
gnu/packages/gnome.scm | 97 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 69 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1a9dcc5..a9a2a41 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6801,37 +6801,78 @@ basically a text box in which notes can be written.")
(license license:gpl3+)))
(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 glib-or-gtk-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 "Unicode character picker and font browser")
- (description
- "This program allows you to browse through all the available Unicode
+ (let ((unicode-files
+ '(("Blocks.txt"
+ "19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
+ ("DerivedAge.txt"
+ "1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
+ ("NamesList.txt"
+ "0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
+ ("Scripts.txt"
+ "0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
+ ("UnicodeData.txt"
+ "1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
+ ("Unihan.zip"
+ "199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
+ (package
+ (name "gucharmap")
+ (version "10.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ `(#:modules ((ice-9 match)
+ (guix build glib-or-gtk-build-system)
+ (guix build utils))
+ #:configure-flags
+ (list "--with-unicode-data=../unicode-data")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'prepare-unicode-data
+ (lambda* (#:key inputs #:allow-other-keys)
+ (mkdir-p "../unicode-data")
+ (with-directory-excursion "../unicode-data"
+ (for-each (match-lambda
+ ((file _)
+ (install-file (assoc-ref inputs file) ".")))
+ ',unicode-files))
+ #t)))))
+ (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)
+ ,@(map (match-lambda
+ ((file hash)
+ `(,file
+ ,(origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.unicode.org/Public/10.0.0/ucd/"
+ file))
+ (sha256 (base32 hash))))))
+ unicode-files)
+ ("unzip" ,unzip)))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("xmllint" ,libxml2)))
+ (home-page "https://wiki.gnome.org/Apps/Gucharmap")
+ (synopsis "Unicode character picker and font browser")
+ (description
+ "This program allows you to browse through all the available Unicode
characters and categories for the installed fonts, and to examine their
detailed properties. It is an easy way to find the character you might
only know by its Unicode name or code point.")
- (license license:gpl3+)))
+ (license license:gpl3+))))
(define-public bluefish
(package
- 23/62: gnu: totem-pl-parser: Update to 3.26.1., (continued)
- 23/62: gnu: totem-pl-parser: Update to 3.26.1., guix-commits, 2019/01/23
- 02/62: gnu: Add gtksourceview-3., guix-commits, 2019/01/23
- 06/62: gnu: yelp-xsl: Update to 3.28.0., guix-commits, 2019/01/23
- 04/62: gnu: at-spi2-core: Update to 2.28.0., guix-commits, 2019/01/23
- 12/62: gnu: libproxy: Remove network-manager., guix-commits, 2019/01/23
- 15/62: gnu: gsettings-desktop-schemas: Update to 3.28.0., guix-commits, 2019/01/23
- 14/62: gnu: gcr: Update to 3.28.0., guix-commits, 2019/01/23
- 28/62: gnu: gvfs: Update to 1.36.2., guix-commits, 2019/01/23
- 32/62: gnu: gjs: Update to 1.52.3., guix-commits, 2019/01/23
- 31/62: gnu: devhelp: Update to 3.28.1., guix-commits, 2019/01/23
- 41/62: gnu: gucharmap: Update to 10.0.4.,
guix-commits <=
- 47/62: gnu: gnome-clocks: Update to 3.28.0., guix-commits, 2019/01/23
- 48/62: gnu: gnome-screenshot: Update to 3.26.0., guix-commits, 2019/01/23
- 46/62: gnu: gnome-todo: Update to 3.28.1., guix-commits, 2019/01/23
- 56/62: gnu: network-manager-openvpn: Update to 1.8.4., guix-commits, 2019/01/23
- 60/62: gnu: eog: Ensure RUNPATH contains output library directory., guix-commits, 2019/01/23
- 58/62: gnu: dconf-editor: Update to 3.28.0., guix-commits, 2019/01/23
- 51/62: gnu: nautilus: Update to 3.28.1., guix-commits, 2019/01/23
- 50/62: gnu: gnome-bluetooth: Update to 3.28.0., guix-commits, 2019/01/23
- 10/62: gnu: glibmm: Update to 2.56.0., guix-commits, 2019/01/23
- 09/62: gnu: gedit: Use gtksourceview-3., guix-commits, 2019/01/23