[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/19: gnu: gnome-characters: Update package definition.
From: |
guix-commits |
Subject: |
15/19: gnu: gnome-characters: Update package definition. |
Date: |
Wed, 5 Aug 2020 11:14:10 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 455ca72cfef0b32b051974dbd12d539c9737b698
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Tue Aug 4 11:23:51 2020 -0400
gnu: gnome-characters: Update package definition.
* gnu/packages/gnome.scm (gnome-characters) [version]: Update to
3.34.0.
[source]<origin>[sha256]: Modify base32.
[arguments]<#:phases>['skip-gtk-update-icon-cache]: New phase.
[native-inputs]: Add gobject-introspection, ruby and libxml2.
Change python-minimal to python-wrapper. Remove gtk+:bin.
[inputs]: Add glib and pango.
[synopsis]: Modify.
[description]: Modify.
[home-page]: Modify.
[license]: Add gpl2+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 68 +++++++++++++++++++++++++++++++-------------------
1 file changed, 42 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f327d92..c681ed1 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2213,46 +2213,62 @@ documents.")
(define-public gnome-characters
(package
(name "gnome-characters")
- (version "3.30.0")
+ (version "3.34.0")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/"
- "gnome-characters/" (version-major+minor version)
- "/gnome-characters-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/"
+ "gnome-characters/" (version-major+minor version)
+ "/gnome-characters-" version ".tar.xz"))
(sha256
- (base32
- "08cwz39iwgsyyb2wqhb8vfbmh1cwfkgfiy7adp08w7rwqi99x3dp"))))
+ (base32 "0mqaxsa7hcmvid3zbzvxpfkp7s01ghiq6kaibmd3169axrr8ahql"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:phases (modify-phases %standard-phases
- (add-after 'install 'wrap
- (lambda* (#:key outputs #:allow-other-keys)
- ;; GNOME Characters needs Typelib files from GTK and
- ;; gnome-desktop.
- (wrap-program (string-append (assoc-ref outputs "out")
- "/bin/gnome-characters")
- `("GI_TYPELIB_PATH" ":" prefix
- (,(getenv "GI_TYPELIB_PATH"))))
- #t)))))
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "meson_post_install.py"
+ (("gtk-update-icon-cache")
+ "true"))
+ #t))
+ (add-after 'install 'wrap
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; GNOME Characters needs Typelib files from GTK and
+ ;; gnome-desktop.
+ (wrap-program
+ (string-append (assoc-ref outputs "out")
+ "/bin/gnome-characters")
+ `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
+ #t)))))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
- ("gtk+:bin" ,gtk+ "bin")
+ ("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config)
- ("python" ,python-minimal)))
+ ("python" ,python-wrapper)
+ ("ruby" ,ruby)
+ ("xmllint" ,libxml2)))
(inputs
`(("gjs" ,gjs)
+ ("glib" ,glib)
+ ("gnome-desktop" ,gnome-desktop)
("gtk+" ,gtk+)
("libunistring" ,libunistring)
- ("gnome-desktop" ,gnome-desktop)))
- (home-page "https://wiki.gnome.org/Apps/CharacterMap")
- (synopsis "Find and insert unusual characters")
- (description "Characters is a simple utility application to find
-and insert unusual characters. It allows you to quickly find the
-character you are looking for by searching for keywords.")
- (license license:bsd-3)))
+ ("pango" ,pango)))
+ (synopsis "Browse and search for non-standard characters")
+ (description "GNOME-Characters is a simple utility application to find and
+insert unusual characters. It allows you to quickly find the character you are
+looking for by searching for keywords.")
+ (home-page "https://wiki.gnome.org/Apps/Characters")
+ (license
+ (list
+ ;; GTK-JS-App
+ license:bsd-3
+ ;; Others
+ license:gpl2+))))
(define-public gnome-common
(package
- branch wip-desktop updated (1f653bd -> 734c5db), guix-commits, 2020/08/05
- 01/19: gnu: baobab: Update package definition., guix-commits, 2020/08/05
- 03/19: gnu: cheese: Update package definition., guix-commits, 2020/08/05
- 05/19: gnu: epiphany: Update package definition., guix-commits, 2020/08/05
- 10/19: gnu: gnome-backgrounds: Update package definition., guix-commits, 2020/08/05
- 11/19: gnu: gnome-bluetooth: Update package definition., guix-commits, 2020/08/05
- 13/19: gnu: gnome-calculator: Update package definition., guix-commits, 2020/08/05
- 14/19: gnu: gnome-calendar: Update package definition., guix-commits, 2020/08/05
- 07/19: gnu: evince: Update package definition., guix-commits, 2020/08/05
- 06/19: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/05
- 15/19: gnu: gnome-characters: Update package definition.,
guix-commits <=
- 08/19: gnu: file-roller: Update package definition., guix-commits, 2020/08/05
- 02/19: gnu: opencv: Disable structured_light test., guix-commits, 2020/08/05
- 04/19: gnu: eog: Update package definition., guix-commits, 2020/08/05
- 12/19: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/05
- 09/19: gnu: gedit: Update package definition., guix-commits, 2020/08/05
- 17/19: gnu: gnome-color-manager: Update package definition., guix-commits, 2020/08/05
- 16/19: gnu: gnome-clocks: Update package definition., guix-commits, 2020/08/05
- 18/19: gnu: gnome-contacts: Update package definition., guix-commits, 2020/08/05
- 19/19: gnu: gnome-control-center: Update package definition., guix-commits, 2020/08/05