mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: arandr: Truth is obsolete.
* gnu/packages/xdisorg.scm (arandr)[source, arguments]: Remove trailing #t.
This commit is contained in:
parent
0e4afd4c86
commit
b35c1e5415
1 changed files with 3 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue