[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
247/277: gnu: gnome-calculator: Update package definition.
From: |
guix-commits |
Subject: |
247/277: gnu: gnome-calculator: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:52 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 0834c0ace93ab4196e10e8184e1f4e29dddf6038
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 67de1f9..381d3db 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11225,39 +11225,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
- 229/277: gnu: libquvi-scripts: Update package definition., (continued)
- 229/277: gnu: libquvi-scripts: Update package definition., guix-commits, 2020/08/06
- 233/277: gnu: tracker: Update package definition., guix-commits, 2020/08/06
- 230/277: gnu: libquvi: Update package definition., guix-commits, 2020/08/06
- 232/277: gnu: Add libstemmer., guix-commits, 2020/08/06
- 235/277: gnu: baobab: Update package definition., guix-commits, 2020/08/06
- 238/277: gnu: eog: Update package definition., guix-commits, 2020/08/06
- 245/277: gnu: gnome-bluetooth: Update package definition., guix-commits, 2020/08/06
- 243/277: gnu: gedit: Update package definition., guix-commits, 2020/08/06
- 241/277: gnu: evince: Update package definition., guix-commits, 2020/08/06
- 248/277: gnu: gnome-calendar: Update package definition., guix-commits, 2020/08/06
- 247/277: gnu: gnome-calculator: Update package definition.,
guix-commits <=
- 249/277: gnu: gnome-characters: Update package definition., guix-commits, 2020/08/06
- 251/277: gnu: gnome-color-manager: Update package definition., guix-commits, 2020/08/06
- 253/277: gnu: gnome-control-center: Update package definition., guix-commits, 2020/08/06
- 255/277: gnu: gnome-boxes: Fix home-page., guix-commits, 2020/08/06
- 257/277: gnu: rust-cssparser-macros@0.6.0: Fix reference to rust-proc-macro2., guix-commits, 2020/08/06
- 258/277: gnu: rust-derive-more: Remove duplicate definition., guix-commits, 2020/08/06
- 261/277: gnu: rust-serial-test-derive: Remove duplicate definition., guix-commits, 2020/08/06
- 262/277: gnu: rust-string-cache-codegen: Remove duplicate definition., guix-commits, 2020/08/06
- 263/277: gnu: rust-cssparser-macros: Remove duplicate definition., guix-commits, 2020/08/06
- 264/277: gnu: rust-cssparser: Remove duplicate definition., guix-commits, 2020/08/06