gnu: arandr: Truth is obsolete.

* gnu/packages/xdisorg.scm (arandr)[source, arguments]:
Remove trailing #t.
This commit is contained in:
Tobias Geerinckx-Rice 2023-01-15 01:00:09 +01:00
parent 0e4afd4c86
commit b35c1e5415
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -226,8 +226,7 @@ (define-public arandr
;; pages (this is equivalent to 'gzip --no-name'.)
(substitute* "setup.py"
(("gzip\\.open\\(gzfile, 'w', 9\\)")
"gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)"))
#t))))
"gzip.GzipFile('', 'wb', 9, open(gzfile, 'wb'), 0.)"))))))
(build-system python-build-system)
(arguments
`(#:phases
@ -236,15 +235,13 @@ (define-public arandr
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "screenlayout/xrandr.py"
(("\"xrandr\"") (string-append "\"" (assoc-ref inputs "xrandr")
"/bin/xrandr\"")))
#t))
"/bin/xrandr\"")))))
(add-after 'install 'wrap-gi-typelib
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(gi-typelib-path (getenv "GI_TYPELIB_PATH")))
(wrap-program (string-append out "/bin/arandr")
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
#t)))
`("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))))))
#:tests? #f)) ;no tests
(inputs `(("gtk+" ,gtk+)
("pycairo" ,python-pycairo)