[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
109/181: gnu: drawing: Update to 1.0.1.
From: |
guix-commits |
Subject: |
109/181: gnu: drawing: Update to 1.0.1. |
Date: |
Tue, 13 Sep 2022 02:26:02 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit c2a2c5fc22804e9cb03c00bdab638049cddeb374
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Sep 8 23:58:02 2022 -0400
gnu: drawing: Update to 1.0.1.
* gnu/packages/gnome.scm (drawing): Update to 1.0.1.
[imported-modules, modules]: New arguments.
[phases]{disable-postinstall-script}: New phase.
{python-and-gi-wrap}: Simplify using the search-input-file and site-packages
procedures.
[native-inputs]: Remove labels. Add itstool and python.
[inputs]: Add bash-minimal and python.
---
gnu/packages/gnome.scm | 54 ++++++++++++++++++++++++++++----------------------
1 file changed, 30 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4454fdbcb6..399e0b487d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4353,7 +4353,7 @@ engineering.")
(define-public drawing
(package
(name "drawing")
- (version "0.8.3")
+ (version "1.0.1")
(source
(origin
(method git-fetch)
@@ -4362,36 +4362,42 @@ engineering.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0wz9p47riyy3h8b0sqsb6bx416hc6d1a1wyzlfmsxkrqrkwcjcm8"))))
+ (base32 "12xb522i7dxshw2ig12ald750fynlxan1lwz6gsxfa9p4ap2qypn"))))
(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/drawing"))
- (pylib (string-append (assoc-ref outputs "out")
- "/lib/python"
- ,(version-major+minor
- (package-version python))
- "/site-packages")))
- (wrap-program prog
- `("PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib))
- `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
+ (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 'unpack 'disable-postinstall-script
+ (lambda _
+ (setenv "DESTDIR" "/")))
+ (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (search-input-file outputs "bin/drawing")
+ `("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
+ itstool
+ pkg-config
+ python))
(inputs
- (list librsvg
+ (list bash-minimal
+ librsvg
gsettings-desktop-schemas
gtk+
pango
+ python
python-pycairo
python-pygobject))
(home-page "https://maoschanz.github.io/drawing/")
- 43/181: gnu: mozjs: Add 91.13.0., (continued)
- 43/181: gnu: mozjs: Add 91.13.0., guix-commits, 2022/09/13
- 48/181: gnu: accountsservice: Add bash-minimal to inputs., guix-commits, 2022/09/13
- 52/181: gnu: gtksourceview: Update to 5.5.1., guix-commits, 2022/09/13
- 60/181: gnu: gnome-session: Update to 42.0., guix-commits, 2022/09/13
- 64/181: gnu: gnome-disk-utility: Update to 42.0., guix-commits, 2022/09/13
- 80/181: import: gnome: Improve version handling logic., guix-commits, 2022/09/13
- 86/181: gnu: gnome-boxes: Update to 42.3., guix-commits, 2022/09/13
- 93/181: gnu: gnome-music: Update to 42.1., guix-commits, 2022/09/13
- 113/181: gnu: vte-ng: Update to 0.59.0., guix-commits, 2022/09/13
- 104/181: gnu: gupnp-av: Update to 0.14.1., guix-commits, 2022/09/13
- 109/181: gnu: drawing: Update to 1.0.1.,
guix-commits <=
- 117/181: gnu: libgnome-games-support: Update to 2.0.0., guix-commits, 2022/09/13
- 125/181: gnu: d-feet: Update to 0.3.16., guix-commits, 2022/09/13
- 119/181: gnu: grilo: Update to 0.3.15., guix-commits, 2022/09/13
- 131/181: gnu: network-manager: Update to 1.41.2., guix-commits, 2022/09/13
- 130/181: gnu: file-roller: Update to 3.42.0., guix-commits, 2022/09/13
- 91/181: gnu: gtranslator: Update to 42.0., guix-commits, 2022/09/13
- 97/181: gnu: libgsf: Update to 1.14.50., guix-commits, 2022/09/13
- 66/181: gnu: gnome-photos: Update to 43.beta., guix-commits, 2022/09/13
- 73/181: gnu: gnome-calculator: Update to 42.2., guix-commits, 2022/09/13
- 76/181: gnu: gnome-mines: Replace intltool with gettext-minimal., guix-commits, 2022/09/13