[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
250/277: gnu: gnome-clocks: Update package definition.
From: |
guix-commits |
Subject: |
250/277: gnu: gnome-clocks: Update package definition. |
Date: |
Thu, 6 Aug 2020 17:03:53 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 0c81972587c0895019808e3a436b37509cf66eb3
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 b31434c..0d0a263 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10624,47 +10624,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
- 194/277: gnu: gtk-vnc: Update package definition., (continued)
- 194/277: gnu: gtk-vnc: Update package definition., guix-commits, 2020/08/06
- 234/277: gnu: tracker-miners: Update package definition., guix-commits, 2020/08/06
- 205/277: gnu: libgweather: Update package definition., guix-commits, 2020/08/06
- 209/277: gnu: libnma: Update package definition., guix-commits, 2020/08/06
- 240/277: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/06
- 246/277: gnu: gnome-boxes: Update package definition., guix-commits, 2020/08/06
- 223/277: gnu: phodav: Update package definition., guix-commits, 2020/08/06
- 226/277: gnu: Add libgrss., guix-commits, 2020/08/06
- 231/277: gnu: totem-pl-parser: Update package definition., guix-commits, 2020/08/06
- 239/277: gnu: epiphany: Update package definition., guix-commits, 2020/08/06
- 250/277: gnu: gnome-clocks: Update package definition.,
guix-commits <=
- 182/277: gnu: gdk-pixbuf: Disable failing tests., guix-commits, 2020/08/06
- 183/277: gnu: gom: Update package definition., guix-commits, 2020/08/06
- 190/277: gnu: grilo-plugins: Update package definition., guix-commits, 2020/08/06
- 191/277: gnu: gupnp-dlna: Update package definition., guix-commits, 2020/08/06
- 210/277: gnu: libpeas: Update package definition., guix-commits, 2020/08/06
- 211/277: gnu: rest: Update package definition., guix-commits, 2020/08/06
- 212/277: gnu: libzapojit: Update package definition., guix-commits, 2020/08/06
- 214/277: gnu: seed: Fix tests., guix-commits, 2020/08/06
- 222/277: gnu: network-manager-applet: Update package definition., guix-commits, 2020/08/06
- 224/277: Revert "gnu: java-jakarta-oro: Update hash.", guix-commits, 2020/08/06