gnu: dbus: Add dbus to inputs.
* gnu/packages/stenography.scm (plover): Add dbus to inputs and LD_LIBRARY_PATH. Plover tries to load dbus during startup (visible with --log-level debug). This will allow it to find it. [inputs]: Add dbus. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>master
parent
f9cd9ed869
commit
5dcf82452f
|
@ -28,12 +28,13 @@
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages bash)
|
#:use-module (gnu packages bash)
|
||||||
#:use-module (gnu packages qt)
|
|
||||||
#:use-module (gnu packages check)
|
#:use-module (gnu packages check)
|
||||||
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages libusb)
|
#:use-module (gnu packages libusb)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
#:use-module (gnu packages python-check)
|
#:use-module (gnu packages python-check)
|
||||||
#:use-module (gnu packages python-xyz)
|
#:use-module (gnu packages python-xyz)
|
||||||
|
#:use-module (gnu packages qt)
|
||||||
#:use-module (gnu packages wxwidgets))
|
#:use-module (gnu packages wxwidgets))
|
||||||
|
|
||||||
(define-public python-plover-stroke
|
(define-public python-plover-stroke
|
||||||
|
@ -85,7 +86,9 @@
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(wrap-program (string-append #$output "/bin/plover")
|
(wrap-program (string-append #$output "/bin/plover")
|
||||||
`("QT_PLUGIN_PATH" prefix
|
`("QT_PLUGIN_PATH" prefix
|
||||||
,(list (search-input-directory inputs "/lib/qt5/plugins/")))))))))
|
(,(search-input-directory inputs "/lib/qt5/plugins/")))
|
||||||
|
`("LD_LIBRARY_PATH" prefix
|
||||||
|
(,(string-append #$(this-package-input "dbus") "/lib")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-babel
|
(list python-babel
|
||||||
python-mock
|
python-mock
|
||||||
|
@ -94,6 +97,7 @@
|
||||||
python-pytest-xvfb))
|
python-pytest-xvfb))
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list bash-minimal
|
||||||
|
dbus
|
||||||
python-appdirs
|
python-appdirs
|
||||||
python-dbus
|
python-dbus
|
||||||
python-hidapi
|
python-hidapi
|
||||||
|
|
Reference in New Issue