[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
102/181: gnu: gtg: Update to 0.6.
From: |
guix-commits |
Subject: |
102/181: gnu: gtg: Update to 0.6. |
Date: |
Tue, 13 Sep 2022 02:26:00 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit ed26f1cf439174e22663c9dc3e66b48e78c0c021
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Sep 8 22:35:33 2022 -0400
gnu: gtg: Update to 0.6.
* gnu/packages/gnome.scm (gtg): Update to 0.6.
[arguments]: Use gexps.
[imported-modules, modules]: New arguments.
[phases]{python-and-gi-wrap}: Simplify with search-input-file and
site-packages.
[native-inputs]: Delete labels. Add python.
[inputs]: Add bash-minimal and python.
---
gnu/packages/gnome.scm | 51 +++++++++++++++++++++++++-------------------------
1 file changed, 26 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 096da1ab22..0ff63e9134 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2762,7 +2762,7 @@ and how they are displayed (View).")
(define-public gtg
(package
(name "gtg")
- (version "0.5")
+ (version "0.6")
(source
(origin
(method git-fetch)
@@ -2771,37 +2771,38 @@ and how they are displayed (View).")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"))))
+ (base32 "1wcivqp4z3a2jdr2wdrldzwy9v6hlfp5sk0pmh80znlgvl7q3jiv"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:phases
- (modify-phases %standard-phases
- (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((prog (string-append (assoc-ref outputs "out")
- "/bin/gtg"))
- (pylib (string-append (assoc-ref outputs "out")
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
- (wrap-program prog
- `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))
- #t))))))
+ (list
+ #:glib-or-gtk? #t
+ #:imported-modules `(,@%meson-build-system-modules
+ (guix build python-build-system))
+ #:modules '((guix build meson-build-system)
+ ((guix build python-build-system) #:prefix python:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (search-input-file outputs "bin/gtg")
+ `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")
+ ,(python:site-packages inputs outputs)))
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils)
- ("gettext" ,gettext-minimal)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("gtk+:bin" ,gtk+ "bin")
- ("pkg-config" ,pkg-config)))
+ (list desktop-file-utils
+ gettext-minimal
+ `(,glib "bin")
+ gobject-introspection
+ pkg-config
+ python))
(inputs
- (list librsvg
+ (list bash-minimal
+ librsvg
gsettings-desktop-schemas
gtk+
pango
+ python
python-dbus
python-liblarch
python-lxml
- 71/181: gnu: gnome-contacts: Update to 42.0., (continued)
- 71/181: gnu: gnome-contacts: Update to 42.0., guix-commits, 2022/09/13
- 81/181: gnu: tepl: Update to 6.1.2 and enable tests., guix-commits, 2022/09/13
- 82/181: gnu: gedit: Update to 42.2., guix-commits, 2022/09/13
- 78/181: gnu: gnome-terminal: Update to 3.44.1., guix-commits, 2022/09/13
- 89/181: gnu: libgda: Update to 6.0.0., guix-commits, 2022/09/13
- 87/181: gnu: gnome-latex: Update to 3.41.2., guix-commits, 2022/09/13
- 92/181: gnu: gnome-shell-extensions: Update to 42.3., guix-commits, 2022/09/13
- 99/181: gnu: cambalache: Update to 0.10.3., guix-commits, 2022/09/13
- 107/181: gnu: rygel: Update to 0.41.2., guix-commits, 2022/09/13
- 105/181: gnu: gupnp-dlna: Update to 0.12.0., guix-commits, 2022/09/13
- 102/181: gnu: gtg: Update to 0.6.,
guix-commits <=
- 112/181: gnu: vte: Update to 0.69.99., guix-commits, 2022/09/13
- 116/181: gnu: gom: Update to 0.4., guix-commits, 2022/09/13
- 118/181: gnu: gnome-klotski: Update to 3.38.2., guix-commits, 2022/09/13
- 121/181: gnu: rhythmbox: Update to 3.4.6., guix-commits, 2022/09/13
- 133/181: gnu: network-manager-vpnc: Update to 1.2.8., guix-commits, 2022/09/13
- 136/181: gnu: libxml++: Update to 5.0.2., guix-commits, 2022/09/13
- 144/181: gnu: python-pyatspi: Update to 2.45.90., guix-commits, 2022/09/13
- 143/181: gnu: libgnomekbd: Update to 3.28.1., guix-commits, 2022/09/13
- 44/181: gnu: gjs: Build with mozjs 78., guix-commits, 2022/09/13
- 61/181: gnu: gnome-clocks: Update to 42.0., guix-commits, 2022/09/13