mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: inkscape: Correct extension dependencies.
* gnu/packages/inkscape.scm (inkscape-1.0)[arguments]: Add wrap-program phase. [inputs]: Move python-wrapper to inputs, and add several python libraries. [native-inputs]: Remove python-wrapper, as it has moved to inputs. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
572c59a7a1
commit
24b233d45c
|
@ -6,6 +6,7 @@
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2020 Boris A. Dekshteyn <boris.dekshteyn@gmail.com>
|
;;; Copyright © 2020 Boris A. Dekshteyn <boris.dekshteyn@gmail.com>
|
||||||
|
;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -44,6 +45,7 @@
|
||||||
#:use-module (gnu packages pdf)
|
#:use-module (gnu packages pdf)
|
||||||
#:use-module (gnu packages popt)
|
#:use-module (gnu packages popt)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
#:use-module (gnu packages python-xyz)
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (gnu packages ghostscript)
|
#:use-module (gnu packages ghostscript)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
|
@ -250,7 +252,14 @@ endif()~%~%"
|
||||||
(add-after 'install 'glib-or-gtk-compile-schemas
|
(add-after 'install 'glib-or-gtk-compile-schemas
|
||||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
|
||||||
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
|
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
|
||||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
||||||
|
(add-after 'install 'wrap-program
|
||||||
|
;; Ensure Python is available at runtime.
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(wrap-program (string-append out "/bin/inkscape")
|
||||||
|
`("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("aspell" ,aspell)
|
`(("aspell" ,aspell)
|
||||||
("autotrace" ,autotrace)
|
("autotrace" ,autotrace)
|
||||||
|
@ -275,15 +284,19 @@ endif()~%~%"
|
||||||
("popt" ,popt)
|
("popt" ,popt)
|
||||||
("potrace" ,potrace)
|
("potrace" ,potrace)
|
||||||
("lcms" ,lcms)
|
("lcms" ,lcms)
|
||||||
("boost" ,boost)))
|
("boost" ,boost)
|
||||||
|
("python" ,python-wrapper)
|
||||||
|
("python-scour" ,python-scour)
|
||||||
|
("python-pyserial" ,python-pyserial)
|
||||||
|
("python-numpy" ,python-numpy)
|
||||||
|
("python-lxml" ,python-lxml)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("imagemagick" ,imagemagick) ;for tests
|
`(("imagemagick" ,imagemagick) ;for tests
|
||||||
("intltool" ,intltool)
|
("intltool" ,intltool)
|
||||||
("glib" ,glib "bin")
|
("glib" ,glib "bin")
|
||||||
("googletest" ,googletest)
|
("googletest" ,googletest)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)))
|
||||||
("python" ,python-wrapper)))
|
|
||||||
(home-page "https://inkscape.org/")
|
(home-page "https://inkscape.org/")
|
||||||
(synopsis "Vector graphics editor")
|
(synopsis "Vector graphics editor")
|
||||||
(description "Inkscape is a vector graphics editor. What sets Inkscape
|
(description "Inkscape is a vector graphics editor. What sets Inkscape
|
||||||
|
|
Loading…
Reference in a new issue