From 71438cd4222a02b1f89152437c1ea20499baa6a2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 8 Feb 2022 12:14:11 +0200 Subject: gnu: enlightenment: Patch dlopen of ddcutil. * gnu/packages/enlightenment.scm (enlightenment)[inputs]: Add ddcutil. [arguments]: Adjust custom 'set-system-actions phase to patch dlopen of libddcutil. --- gnu/packages/enlightenment.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/enlightenment.scm') diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index fc8192ee7f..aa9ebf04e9 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -48,6 +48,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) + #:use-module (gnu packages hardware) #:use-module (gnu packages ibus) #:use-module (gnu packages image) #:use-module (gnu packages libunwind) @@ -313,6 +314,7 @@ Libraries with some extra bells and whistles.") (setxkbmap (assoc-ref inputs "setxkbmap")) (libc (assoc-ref inputs "libc")) (bc (assoc-ref inputs "bc")) + (ddcutil (assoc-ref inputs "ddcutil")) (efl (assoc-ref inputs "efl"))) ;; We need to patch the path to 'base.lst' to be able ;; to switch the keyboard layout in E. @@ -338,6 +340,9 @@ Libraries with some extra bells and whistles.") "/run/current-system/profile/sbin"))) (substitute* "src/modules/everything/evry_plug_calc.c" (("bc -l") (string-append bc "/bin/bc -l"))) + (substitute* "src/bin/system/e_system_ddc.c" + (("libddcutil\\.so\\.?" libddcutil) + (string-append ddcutil "/lib/" libddcutil))) (substitute* "data/etc/meson.build" (("/bin/mount") "/run/setuid-programs/mount") (("/bin/umount") "/run/setuid-programs/umount") @@ -352,6 +357,7 @@ Libraries with some extra bells and whistles.") ("bc" ,bc) ("bluez" ,bluez) ("dbus" ,dbus) + ("ddcutil" ,ddcutil) ("freetype" ,freetype) ("libdrm" ,libdrm) ("libexif" ,libexif) -- cgit 1.4.1