gnu: stumpwm: Use a single output.
This is a warkaround for the excess library grafts issue that can prevent stumpwm from working properly. See <https://issues.guix.gnu.org/47115> and <https://issues.guix.gnu.org/62890>. * gnu/packages/wm.scm (stumpwm)[outputs]: Remove "lib" output. [arguments]: Remove references to the "lib" output from phases. (stumpwm+slynk, stumpwm-contrib, sbcl-stumpwm-pamixer, sbcl-stumpwm-ttf-fonts, sbcl-stumpwm-stumptray, sbcl-stumpwm-disk, sbcl-stumpwm-screenshot, sbcl-stumpwm-notify, sbcl-stumpwm-battery-portable)[inputs]: Replace '(stumpwm "lib")' with 'stumpwm'. Change-Id: I3d8f025057965032c40ea833d3ebe62f9700071dmaster
parent
647524d308
commit
a46908620f
|
@ -2410,7 +2410,6 @@ wlr-output-management-unstable-v1 protocol.")
|
||||||
(list sbcl-alexandria
|
(list sbcl-alexandria
|
||||||
sbcl-cl-ppcre
|
sbcl-cl-ppcre
|
||||||
sbcl-clx))
|
sbcl-clx))
|
||||||
(outputs '("out" "lib"))
|
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -2423,12 +2422,12 @@ wlr-output-management-unstable-v1 protocol.")
|
||||||
(add-after 'create-asdf-configuration 'build-program
|
(add-after 'create-asdf-configuration 'build-program
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(build-program
|
(build-program
|
||||||
(string-append (assoc-ref outputs "out") "/bin/stumpwm")
|
(string-append #$output "/bin/stumpwm")
|
||||||
outputs
|
outputs
|
||||||
#:entry-program '((stumpwm:stumpwm) 0))))
|
#:entry-program '((stumpwm:stumpwm) 0))))
|
||||||
(add-after 'build-program 'create-desktop-file
|
(add-after 'build-program 'create-desktop-file
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out #$output)
|
||||||
(xsessions (string-append out "/share/xsessions")))
|
(xsessions (string-append out "/share/xsessions")))
|
||||||
(mkdir-p xsessions)
|
(mkdir-p xsessions)
|
||||||
(call-with-output-file
|
(call-with-output-file
|
||||||
|
@ -2445,7 +2444,7 @@ wlr-output-management-unstable-v1 protocol.")
|
||||||
out))))))
|
out))))))
|
||||||
(add-after 'install 'install-manual
|
(add-after 'install 'install-manual
|
||||||
(lambda* (#:key (make-flags '()) outputs #:allow-other-keys)
|
(lambda* (#:key (make-flags '()) outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out #$output)
|
||||||
(info (string-append out "/share/info")))
|
(info (string-append out "/share/info")))
|
||||||
(invoke "./autogen.sh")
|
(invoke "./autogen.sh")
|
||||||
(invoke "sh" "./configure" "SHELL=sh")
|
(invoke "sh" "./configure" "SHELL=sh")
|
||||||
|
@ -2453,8 +2452,7 @@ wlr-output-management-unstable-v1 protocol.")
|
||||||
(install-file "stumpwm.info" info))))
|
(install-file "stumpwm.info" info))))
|
||||||
(add-after 'install-manual 'remove-temporary-cache
|
(add-after 'install-manual 'remove-temporary-cache
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(delete-file-recursively (string-append (assoc-ref outputs "lib")
|
(delete-file-recursively (string-append #$output "/.cache")))))))
|
||||||
"/.cache")))))))
|
|
||||||
(synopsis "Window manager written in Common Lisp")
|
(synopsis "Window manager written in Common Lisp")
|
||||||
(description
|
(description
|
||||||
"Stumpwm is a window manager written entirely in Common Lisp.
|
"Stumpwm is a window manager written entirely in Common Lisp.
|
||||||
|
@ -2474,10 +2472,8 @@ productive, customizable lisp based systems.")
|
||||||
(package
|
(package
|
||||||
(inherit stumpwm)
|
(inherit stumpwm)
|
||||||
(name "stumpwm-with-slynk")
|
(name "stumpwm-with-slynk")
|
||||||
(outputs '("out"))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("stumpwm" ,stumpwm "lib")
|
(list sbcl-slynk stumpwm))
|
||||||
("slynk" ,sbcl-slynk)))
|
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments stumpwm)
|
(substitute-keyword-arguments (package-arguments stumpwm)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
|
@ -2492,8 +2488,7 @@ productive, customizable lisp based systems.")
|
||||||
#:dependencies '("stumpwm" "slynk")
|
#:dependencies '("stumpwm" "slynk")
|
||||||
#:dependency-prefixes
|
#:dependency-prefixes
|
||||||
(map (lambda (input) (assoc-ref inputs input))
|
(map (lambda (input) (assoc-ref inputs input))
|
||||||
'("stumpwm" "slynk")))
|
'("stumpwm" "sbcl-slynk"))))))
|
||||||
#t)))
|
|
||||||
(delete 'copy-source)
|
(delete 'copy-source)
|
||||||
(delete 'build)
|
(delete 'build)
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
|
@ -2517,7 +2512,7 @@ productive, customizable lisp based systems.")
|
||||||
(base32 "1g8h2vd5qsmaiz6ixlx9ykrv6a08izmkf0js18fvljvznpyhsznz"))))
|
(base32 "1g8h2vd5qsmaiz6ixlx9ykrv6a08izmkf0js18fvljvznpyhsznz"))))
|
||||||
(build-system asdf-build-system/sbcl)
|
(build-system asdf-build-system/sbcl)
|
||||||
(inputs
|
(inputs
|
||||||
`(("stumpwm" ,stumpwm "lib")))
|
(list stumpwm))
|
||||||
(home-page "https://github.com/stumpwm/stumpwm-contrib")
|
(home-page "https://github.com/stumpwm/stumpwm-contrib")
|
||||||
(synopsis "StumpWM extra modules")
|
(synopsis "StumpWM extra modules")
|
||||||
(description "This package provides extra modules for StumpWM.")
|
(description "This package provides extra modules for StumpWM.")
|
||||||
|
@ -2562,7 +2557,7 @@ productive, customizable lisp based systems.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0djcrr16bx40l7b60d4j507vk5l42fdgmjpgrnk86z1ba8wlqim8"))))
|
"0djcrr16bx40l7b60d4j507vk5l42fdgmjpgrnk86z1ba8wlqim8"))))
|
||||||
(inputs (list pamixer `(,stumpwm "lib")))
|
(inputs (list pamixer stumpwm))
|
||||||
(build-system asdf-build-system/sbcl)
|
(build-system asdf-build-system/sbcl)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:asd-systems ''("pamixer")
|
(list #:asd-systems ''("pamixer")
|
||||||
|
@ -2604,8 +2599,7 @@ mouse control mode for StumpWM.")
|
||||||
(inherit stumpwm-contrib)
|
(inherit stumpwm-contrib)
|
||||||
(name "sbcl-stumpwm-ttf-fonts")
|
(name "sbcl-stumpwm-ttf-fonts")
|
||||||
(inputs
|
(inputs
|
||||||
`(("stumpwm" ,stumpwm "lib")
|
(list sbcl-clx-truetype stumpwm))
|
||||||
("clx-truetype" ,sbcl-clx-truetype)))
|
|
||||||
(arguments
|
(arguments
|
||||||
'(#:asd-systems '("ttf-fonts")
|
'(#:asd-systems '("ttf-fonts")
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
|
@ -2717,9 +2711,7 @@ between windows.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'chdir (lambda _ (chdir "modeline/stumptray") #t)))))
|
(add-after 'unpack 'chdir (lambda _ (chdir "modeline/stumptray") #t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("stumpwm" ,stumpwm "lib")
|
(list sbcl-alexandria sbcl-clx-xembed stumpwm))
|
||||||
("xembed" ,sbcl-clx-xembed)
|
|
||||||
("alexandria" ,sbcl-alexandria)))
|
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/stumptray")
|
"https://github.com/stumpwm/stumpwm-contrib/tree/master/modeline/stumptray")
|
||||||
(synopsis "Modeline support for stumptray connectivity")
|
(synopsis "Modeline support for stumptray connectivity")
|
||||||
|
@ -2794,9 +2786,7 @@ layouts in StumpWM.")
|
||||||
(add-after 'unpack 'chdir
|
(add-after 'unpack 'chdir
|
||||||
(lambda _ (chdir "modeline/disk") #t)))))
|
(lambda _ (chdir "modeline/disk") #t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("stumpwm" ,stumpwm "lib")
|
(list sbcl-cl-diskspace sbcl-cl-mount-info stumpwm))
|
||||||
("cl-diskspace" ,sbcl-cl-diskspace)
|
|
||||||
("cl-mount-info" ,sbcl-cl-mount-info)))
|
|
||||||
(home-page "https://github.com/stumpwm/stumpwm-contrib")
|
(home-page "https://github.com/stumpwm/stumpwm-contrib")
|
||||||
(synopsis "StumpWM modeline support to show disk usage")
|
(synopsis "StumpWM modeline support to show disk usage")
|
||||||
(description "StumpWM modeline support to show disk usage")
|
(description "StumpWM modeline support to show disk usage")
|
||||||
|
@ -2844,8 +2834,7 @@ one in Emacs.")
|
||||||
(inherit stumpwm-contrib)
|
(inherit stumpwm-contrib)
|
||||||
(name "sbcl-stumpwm-screenshot")
|
(name "sbcl-stumpwm-screenshot")
|
||||||
(inputs
|
(inputs
|
||||||
`(("stumpwm" ,stumpwm "lib")
|
(list sbcl-zpng stumpwm))
|
||||||
("zpng" ,sbcl-zpng)))
|
|
||||||
(arguments
|
(arguments
|
||||||
'(#:asd-systems '("screenshot")
|
'(#:asd-systems '("screenshot")
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
|
@ -2894,7 +2883,7 @@ modeline.")
|
||||||
(list sbcl-bordeaux-threads
|
(list sbcl-bordeaux-threads
|
||||||
sbcl-dbus
|
sbcl-dbus
|
||||||
sbcl-xml-emitter
|
sbcl-xml-emitter
|
||||||
(list stumpwm "lib")))
|
stumpwm))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:asd-systems '("notify")
|
'(#:asd-systems '("notify")
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -2914,8 +2903,7 @@ by default.")
|
||||||
(name "sbcl-stumpwm-battery-portable")
|
(name "sbcl-stumpwm-battery-portable")
|
||||||
(build-system asdf-build-system/sbcl)
|
(build-system asdf-build-system/sbcl)
|
||||||
(inputs
|
(inputs
|
||||||
(list sbcl-cl-ppcre
|
(list sbcl-cl-ppcre stumpwm))
|
||||||
(list stumpwm "lib")))
|
|
||||||
(arguments
|
(arguments
|
||||||
'(#:asd-systems '("battery-portable")
|
'(#:asd-systems '("battery-portable")
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Reference in New Issue