diff options
author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-07-23 21:43:06 +0200 |
---|---|---|
committer | Jakub Kądziołka <kuba@kadziolka.net> | 2020-07-23 21:43:06 +0200 |
commit | d726b954baaeff876ce9728e00920fa45f529f9a (patch) | |
tree | 4b767b7586a1082dd2691bc33c3e45ace044e6e5 /gnu/packages/lxde.scm | |
parent | 9a74a7db8626bc139307d115f5cec2648f5273ad (diff) | |
parent | e165a2492d73d37c8b95d6970d453b9d88911ee6 (diff) | |
download | guix-d726b954baaeff876ce9728e00920fa45f529f9a.tar.gz |
Merge branch 'master' into core-updates
Conflicts: gnu/packages/ruby.scm
Diffstat (limited to 'gnu/packages/lxde.scm')
-rw-r--r-- | gnu/packages/lxde.scm | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm index fbf32bf337..29f1a49317 100644 --- a/gnu/packages/lxde.scm +++ b/gnu/packages/lxde.scm @@ -137,7 +137,19 @@ able to change themes, icons, and fonts used by GTK+ applications.") (base32 "04n3vgh3ix12p8jfs4w0dyfq3anbjy33h7g53wbbqqc0f74xyplb")))) (build-system gnu-build-system) - (inputs `(("gtk+" ,gtk+-2))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'xrandr-absolutely + ;; lxrandr is useless without xrandr and gives an unhelpful error + ;; message if it's not in $PATH, so make it a hard dependency. + (lambda* (#:key input #:allow-other-keys) + (substitute* "src/lxrandr.c" + (("(\"|')xrandr\"" _ match) + (string-append match (which "xrandr") "\""))) + #t))))) + (inputs `(("gtk+" ,gtk+-2) + ("xrandr" ,xrandr))) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config))) (synopsis "LXDE monitor configuration tool") @@ -258,7 +270,7 @@ with freedesktop.org standard.") (method git-fetch) (uri (git-reference - (url "https://github.com/IgnorantGuru/spacefm.git") + (url "https://github.com/IgnorantGuru/spacefm") (commit version))) (file-name (git-file-name name version)) (sha256 |