[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
144/265: gnu: gnome-clocks: Update package definition.
From: |
guix-commits |
Subject: |
144/265: gnu: gnome-clocks: Update package definition. |
Date: |
Wed, 19 Aug 2020 13:09:11 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit cbf5bedd495ce93fd344d91629525e818a8406e7
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Tue Aug 4 11:45:20 2020 -0400
gnu: gnome-clocks: Update package definition.
* gnu/packages/gnome.scm (gnome-clocks) [version]: Update to 3.36.2.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "help".
[arguments]<#:configure-flags>['move-help]: New phase.
[native-inputs]: Add gobject-introspection.
[inputs]: Add appstream-glib, glib and libhandy.
[synopsis]: Modify.
[description]: Modify.
[license]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 67 ++++++++++++++++++++++++++++++--------------------
1 file changed, 40 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 7b94d98..c35235f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10574,47 +10574,60 @@ Hotmail REST APIs.")
(define-public gnome-clocks
(package
(name "gnome-clocks")
- (version "3.34.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"))))
+ (version "3.36.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "1rjicycgh9jvkqir2m8hx9m4jlaa3w5lqs43k185wa0zxhi1n6zi"))))
(build-system meson-build-system)
+ (outputs '("out" "help"))
(arguments
- '(#:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "build-aux/post-install.py"
- (("gtk-update-icon-cache") "true"))
- #t)))))
+ (("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"))
+ #t))))))
(native-inputs
- `(("vala" ,vala)
- ("pkg-config" ,pkg-config)
- ("glib" ,glib "bin") ; for glib-compile-resources
- ("desktop-file-utils" ,desktop-file-utils)
+ `(("desktop-file-utils" ,desktop-file-utils)
("gettext" ,gettext-minimal)
- ("itstool" ,itstool)))
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("itstool" ,itstool)
+ ("pkg-config" ,pkg-config)
+ ("vala" ,vala)))
(inputs
- `(("glib" ,glib)
+ `(("appstream-util" ,appstream-glib)
+ ("geocode-glib" ,geocode-glib)
+ ("glib" ,glib)
+ ("gnome-desktop" ,gnome-desktop)
("gtk+" ,gtk+)
("gsound" ,gsound)
- ("geoclue" ,geoclue)
- ("geocode-glib" ,geocode-glib)
+ ("libgeoclue" ,geoclue)
("libgweather" ,libgweather)
- ("gnome-desktop" ,gnome-desktop)))
+ ("libhandy" ,libhandy)))
+ (synopsis "Time for Clocks")
+ (description "GNOME-Clocks is a simple clock application for GNOME.
+It includes world clocks, alarms, a stopwatch and a timer.")
(home-page "https://wiki.gnome.org/Apps/Clocks")
- (synopsis "GNOME's clock application")
- (description
- "GNOME Clocks is a simple clocks application designed to fit the GNOME
-desktop. It supports world clock, stop watch, alarms, and count down timer.")
- (license license:gpl3+)))
+ (license license:gpl2+)))
(define-public gnome-calendar
(package
- 131/265: gnu: cheese: Update package definition., (continued)
- 131/265: gnu: cheese: Update package definition., guix-commits, 2020/08/19
- 132/265: gnu: eog: Update package definition., guix-commits, 2020/08/19
- 134/265: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/19
- 135/265: gnu: evince: Update package definition., guix-commits, 2020/08/19
- 136/265: gnu: file-roller: Update package definition., guix-commits, 2020/08/19
- 137/265: gnu: gedit: Update package definition., guix-commits, 2020/08/19
- 138/265: gnu: gnome-backgrounds: Update package definition., guix-commits, 2020/08/19
- 139/265: gnu: gnome-bluetooth: Update package definition., guix-commits, 2020/08/19
- 140/265: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/19
- 143/265: gnu: gnome-characters: Update package definition., guix-commits, 2020/08/19
- 144/265: gnu: gnome-clocks: Update package definition.,
guix-commits <=
- 145/265: gnu: gnome-color-manager: Update package definition., guix-commits, 2020/08/19
- 156/265: gnu: malcontent: Update package definition., guix-commits, 2020/08/19
- 149/265: gnu: gnome-boxes: Fix home-page., guix-commits, 2020/08/19
- 153/265: gnu: gnome-getting-started-docs: Update package definition., guix-commits, 2020/08/19
- 141/265: gnu: gnome-calculator: Update package definition., guix-commits, 2020/08/19
- 146/265: gnu: gnome-contacts: Update package definition., guix-commits, 2020/08/19
- 150/265: gnu: gnome-desktop: Update package definition., guix-commits, 2020/08/19
- 151/265: gnu: gnome-disk-utility: Update package definition., guix-commits, 2020/08/19
- 154/265: gnu: Add fuse@2.9.9., guix-commits, 2020/08/19
- 160/265: gnu: gnome-menus: Update package definition., guix-commits, 2020/08/19