[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/19: gnu: gnome-calculator: Update package definition.
From: |
guix-commits |
Subject: |
13/19: gnu: gnome-calculator: 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 7d48cd5f740156922d09b645ae3f35125bf1dc2a
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 fe21f55..20b83ac 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11344,39 +11344,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
- 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 <=
- 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, 2020/08/05
- 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