[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
247/402: gnu: gnome-calculator: Update package definition.
From: |
guix-commits |
Subject: |
247/402: gnu: gnome-calculator: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:51 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 206bc16826e11b805b9c79a22c557132dd189f06
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Tue Aug 4 10:16:18 2020 -0400
gnu: gnome-calculator: Update package definition.
* gnu/packages/gnome.scm (gnome-calculator) [version]: Update to
3.36.0.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "help".
[arguments]<#:phases>['skip-gtk-update-icon-cache]: New phase.
['move-help]: New phase.
[native-inputs]: Add gobject-introspection.
[inputs]: Move libgee to ...
[propagated-inputs]: ... here. Add glib and gtk+.
[synopsis]: Modify.
[license]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 61 ++++++++++++++++++++++++++++++++++----------------
1 file changed, 42 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index a16d099..0ceeb3e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11228,39 +11228,62 @@ handling the startup notification side.")
(define-public gnome-calculator
(package
(name "gnome-calculator")
- (version "3.34.1")
+ (version "3.36.0")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
(sha256
- (base32
- "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"))))
+ (base32 "1cqd4b25qp1i0p04m669jssg1l5sdapc1mniv9jssvw5r7wk1s52"))))
(build-system meson-build-system)
- (arguments '(#:glib-or-gtk? #t))
+ (outputs '("out" "help"))
+ (arguments
+ `(#: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 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/help")
+ (string-append help "/share/help"))
+ (rename-file
+ (string-append out "/share/devhelp")
+ (string-append help "/share/devhelp"))
+ #t))))))
(native-inputs
`(("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin") ; for glib-compile-schemas, gio-2.0.
- ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
("itstool" ,itstool)
- ("vala" ,vala)
- ("pkg-config" ,pkg-config)))
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
(inputs
- `(("glib" ,glib)
- ("gtksourceview" ,gtksourceview)
- ("libgee" ,libgee)
+ `(("gtksourceview" ,gtksourceview)
("libsoup" ,libsoup)
("libxml2" ,libxml2)
("mpc" ,mpc)
("mpfr" ,mpfr)))
+ (propagated-inputs
+ `(("gee" ,libgee)
+ ("glib" ,glib)
+ ("gtk+" ,gtk+)))
+ (synopsis "GNOME Calculator")
+ (description "GNOME-Calculator is an application that solves mathematical
+equations and is suitable as a default application in a Desktop environment.")
(home-page "https://wiki.gnome.org/Apps/Calculator")
- (synopsis "Desktop calculator")
- (description
- "Calculator is an application that solves mathematical equations and
-is suitable as a default application in a Desktop environment.")
- (license license:gpl3)))
+ (license license:gpl3+)))
(define-public xpad
(package
- 191/402: gnu: gupnp-dlna: Update package definition., (continued)
- 191/402: gnu: gupnp-dlna: Update package definition., guix-commits, 2020/08/18
- 187/402: gnu: gssdp: Update package definition., guix-commits, 2020/08/18
- 195/402: gnu: Add gnome-js-common., guix-commits, 2020/08/18
- 201/402: gnu: libgsf: Update package definition., guix-commits, 2020/08/18
- 206/402: gnu: libgxps: Update package definition., guix-commits, 2020/08/18
- 212/402: gnu: libzapojit: Update package definition., guix-commits, 2020/08/18
- 226/402: gnu: Add libgrss., guix-commits, 2020/08/18
- 224/402: Revert "gnu: java-jakarta-oro: Update hash.", guix-commits, 2020/08/18
- 238/402: gnu: eog: Update package definition., guix-commits, 2020/08/18
- 244/402: gnu: gnome-backgrounds: Update package definition., guix-commits, 2020/08/18
- 247/402: gnu: gnome-calculator: Update package definition.,
guix-commits <=
- 248/402: gnu: gnome-calendar: Update package definition., guix-commits, 2020/08/18
- 250/402: gnu: gnome-clocks: Update package definition., guix-commits, 2020/08/18
- 256/402: gnu: rust-cssparser@0.27.2: Fix reference to rust-proc-macro2., guix-commits, 2020/08/18
- 266/402: gnu: rust-pin-project-internal@0.4.22: Fix reference to rust-quote., guix-commits, 2020/08/18
- 268/402: gnu: rust-cssparser-macros: Move definition., guix-commits, 2020/08/18
- 203/402: gnu: libgudev: Update package definition., guix-commits, 2020/08/18
- 204/402: gnu: glade: Update package definition., guix-commits, 2020/08/18
- 208/402: gnu: libmediaart: Update package definition., guix-commits, 2020/08/18
- 211/402: gnu: rest: Update package definition., guix-commits, 2020/08/18
- 215/402: gnu: mm-common: Update package definition., guix-commits, 2020/08/18