[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
250/401: gnu: gnome-clocks: Update package definition.
From: |
guix-commits |
Subject: |
250/401: gnu: gnome-clocks: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:21:46 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 98056dfc29fcf541d14e8c31601e167bb2d62e35
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 6d9d3e1..ef589c2 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10627,47 +10627,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
- 178/401: gnu: gfbgraph: Update package definition., (continued)
- 178/401: gnu: gfbgraph: Update package definition., guix-commits, 2020/08/18
- 190/401: gnu: grilo-plugins: Update package definition., guix-commits, 2020/08/18
- 196/401: gnu: Add seed., guix-commits, 2020/08/18
- 213/401: gnu: libdmapsharing: Update home-page., guix-commits, 2020/08/18
- 215/401: gnu: mm-common: Update package definition., guix-commits, 2020/08/18
- 225/401: gnu: gtksourceview: Fix glade., guix-commits, 2020/08/18
- 231/401: gnu: totem-pl-parser: Update package definition., guix-commits, 2020/08/18
- 234/401: gnu: tracker-miners: Update package definition., guix-commits, 2020/08/18
- 242/401: gnu: file-roller: Update package definition., guix-commits, 2020/08/18
- 248/401: gnu: gnome-calendar: Update package definition., guix-commits, 2020/08/18
- 250/401: gnu: gnome-clocks: Update package definition.,
guix-commits <=
- 251/401: gnu: gnome-color-manager: Update package definition., guix-commits, 2020/08/18
- 254/401: gnu: gmime: Fix home-page., guix-commits, 2020/08/18
- 262/401: gnu: rust-string-cache-codegen: Remove duplicate definition., guix-commits, 2020/08/18
- 273/401: gnu: rust-xml5ever: Remove duplicate definition., guix-commits, 2020/08/18
- 181/401: gnu: gobject-introspection: Add patches back., guix-commits, 2020/08/18
- 192/401: gnu: gsound: Update package definition., guix-commits, 2020/08/18
- 199/401: gnu: libdazzle: Update package definition., guix-commits, 2020/08/18
- 221/401: gnu: appstream-glib: Fix tests., guix-commits, 2020/08/18
- 238/401: gnu: eog: Update package definition., guix-commits, 2020/08/18
- 249/401: gnu: gnome-characters: Update package definition., guix-commits, 2020/08/18