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.
This commit is contained in:
parent
4985d9aa93
commit
c60063ea56
|
@ -6946,9 +6946,22 @@ basically a text box in which notes can be written.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public gucharmap
|
(define-public gucharmap
|
||||||
|
(let ((unicode-files
|
||||||
|
'(("Blocks.txt"
|
||||||
|
"19zf2kd198mcv1paa194c1zf36hay1irbxssi35yi2pd8ad69qas")
|
||||||
|
("DerivedAge.txt"
|
||||||
|
"1h9p1g0wnh686l6cqar7cmky465vwc6vjzzn1s7v0i9zcjaqkr4h")
|
||||||
|
("NamesList.txt"
|
||||||
|
"0gvpcyq852rnlqmx4y5i1by7bavvcw6rj40i54w48yc7xr3zmgd1")
|
||||||
|
("Scripts.txt"
|
||||||
|
"0b9prz2hs6w61afqaplcxnv115f8yk4d5hn9dc5hks8nqpj28bnh")
|
||||||
|
("UnicodeData.txt"
|
||||||
|
"1cfak1j753zcrbgixwgppyxhm4w8vda8vxhqymi7n5ljfi6kwhjj")
|
||||||
|
("Unihan.zip"
|
||||||
|
"199kz6laypkvc0ykms6d7bkb571jmpds39sv2p7kd5jjm1ij08q1"))))
|
||||||
(package
|
(package
|
||||||
(name "gucharmap")
|
(name "gucharmap")
|
||||||
(version "3.18.0")
|
(version "10.0.4")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -6957,15 +6970,43 @@ basically a text box in which notes can be written.")
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0c1q9w5vql0vvg6g0knxfnv4ap19fg5cdrwndi1cj9lsym92c78j"))))
|
"00gh3lll6wykd2qg1lrj05a4wvscsypmrx7rpb6jsbvb4scnh9mv"))))
|
||||||
(build-system glib-or-gtk-build-system)
|
(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
|
(native-inputs
|
||||||
`(("desktop-file-utils" ,desktop-file-utils)
|
`(("desktop-file-utils" ,desktop-file-utils)
|
||||||
("glib:bin" ,glib "bin") ; for glib-compile-resources.
|
("glib:bin" ,glib "bin") ; for glib-compile-resources.
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
("itstool" ,itstool)
|
("itstool" ,itstool)
|
||||||
("pkg-config" ,pkg-config)))
|
("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
|
(inputs
|
||||||
`(("gtk+" ,gtk+)
|
`(("gtk+" ,gtk+)
|
||||||
("xmllint" ,libxml2)))
|
("xmllint" ,libxml2)))
|
||||||
|
@ -6976,7 +7017,7 @@ basically a text box in which notes can be written.")
|
||||||
characters and categories for the installed fonts, and to examine their
|
characters and categories for the installed fonts, and to examine their
|
||||||
detailed properties. It is an easy way to find the character you might
|
detailed properties. It is an easy way to find the character you might
|
||||||
only know by its Unicode name or code point.")
|
only know by its Unicode name or code point.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public bluefish
|
(define-public bluefish
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue