mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: sane-backends-minimal: Respect backend search paths.
SANE's dynamic loading mechanism looks for configs in SANE_CONFIG_DIR, and the libraries are expected to be either in LD_LIBRARY_PATH or in the LIBDIR, which is set during the build to $PREFIX/lib/sane. A small patch is necessary to make SANE respect backend search paths set by Guix. * gnu/local.mk: Register sane-look-for-plugins-in-SANE_BACKEND_LIB_PATH.patch * gnu/packages/scanner.scm (sane-backends-minimal): Patch dynamic loading mechanism to look for libraries in SANE_BACKEND_LIB_PATH. Change-Id: I132a709d171331d249acfe2fd1242dae43867ae8
This commit is contained in:
parent
bd97719e15
commit
a407474891
3 changed files with 42 additions and 0 deletions
|
@ -2266,6 +2266,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/sage-safeguard-sage-getargspec-cython.patch \
|
||||
%D%/packages/patches/sajson-for-gemmi-numbers-as-strings.patch \
|
||||
%D%/packages/patches/sajson-build-with-gcc10.patch \
|
||||
%D%/packages/patches/sane-look-for-plugins-in-SANE_BACKEND_LIB_PATH.patch \
|
||||
%D%/packages/patches/sbc-fix-build-non-x86.patch \
|
||||
%D%/packages/patches/sbcl-fix-arm64-shared-lib.patch \
|
||||
%D%/packages/patches/sbcl-aserve-add-HTML-5-elements.patch \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue