GNU bug report logs -
#77682
[PATCH 0/2] Restore the Orca screen reader.
Previous Next
Reported by: Noé Lopez <noelopez <at> free.fr>
Date: Wed, 9 Apr 2025 21:47:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
This changes the extension to load the library from its absolute path instead
of just with its name, which wouldn’t work.
Fixes <https://issues.guix.gnu.org/77669>.
* gnu/packages/language.scm (liblouis): Add fix-python-lib-path phase.
Change-Id: Icdd476eed5a77ddb93c437ec4d92c79bf2db7bce
---
gnu/packages/language.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index a6011bfce2..13957e12a0 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -351,6 +351,12 @@ (define-public liblouis
#:configure-flags #~(list "--disable-static" "--enable-ucs4")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-python-lib-path
+ (lambda _
+ (with-directory-excursion "python"
+ (substitute* "louis/__init__.py.in"
+ (("###LIBLOUIS_SONAME###")
+ (string-append #$output "/lib/###LIBLOUIS_SONAME###"))))))
(add-after 'install 'install-python-extension
(lambda _
(with-directory-excursion "python"
--
2.49.0
This bug report was last modified 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.