diff options
author | Julien Lepiller <julien@lepiller.eu> | 2019-06-22 17:17:06 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2019-06-22 17:21:06 +0200 |
commit | b95af3f6ab6a55641260b8f9743496ec12992717 (patch) | |
tree | 086333f990d35b49e697586d437ecd180b3e6b14 /gnu/packages/gnome.scm | |
parent | 453365bcf77cd2fa21cc9794f678cf7e333ae9fe (diff) | |
download | guix-b95af3f6ab6a55641260b8f9743496ec12992717.tar guix-b95af3f6ab6a55641260b8f9743496ec12992717.tar.gz |
gnu: python-pyatspi: Fix loading libraries.
* gnu/package/gnome.scm (python-pyatspi): Fix loading dependencies.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r-- | gnu/packages/gnome.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ad6b9203b9..2820be0022 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7397,8 +7397,21 @@ kill/reinice processes.") "/pyatspi-" version ".tar.xz")) (sha256 (base32 - "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6")))) + "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6")) + ;; Patch from upstream, fixed in newer versions. + (patches (search-patches "python-pyatspi-python-37.patch")))) (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'fix-atk-load + (lambda _ + (substitute* "pyatspi/__init__.py" + (("from gi.repository import Atspi") + "gi.require_version('Gtk', '3.0') +from gi.repository import Gtk +from gi.repository import Atspi")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs |