mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: xpra: Fix paths.
* gnu/packages/xorg.scm (xpra): [arguments]: Add '--without-opengl', '--without-Xdummy' and '--without-Xdummy-wrapper' to #:configure-flags. Add substitutions to #phases for proper paths. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
d9cd1c2272
commit
42e52605d4
1 changed files with 12 additions and 7 deletions
|
@ -5973,6 +5973,9 @@ (define-public xpra
|
|||
`(#:python ,python-2 ;; no full Python 3 support yet
|
||||
#:configure-flags '("--with-tests"
|
||||
"--with-bundle_tests"
|
||||
"--without-opengl" ;; TODO: pygtkglext needed.
|
||||
"--without-Xdummy" ;; We use Xvfb instead.
|
||||
"--without-Xdummy_wrapper"
|
||||
"--without-strict")
|
||||
#:modules ((guix build python-build-system)
|
||||
(guix build utils))
|
||||
|
@ -6001,13 +6004,15 @@ (define-public xpra
|
|||
(substitute* "setup.py"
|
||||
(("/usr/lib/")
|
||||
(string-append (assoc-ref outputs "out") "/lib/")))
|
||||
(substitute* "./etc/xpra/conf.d/55_server_x11.conf.in"
|
||||
(("xvfb = %.*")
|
||||
(string-append "xvfb = "
|
||||
(assoc-ref inputs "xorg-server")
|
||||
"/bin/Xvfb +extension Composite -nolisten tcp"
|
||||
" -noreset -auth $XAUTHORITY"
|
||||
" -screen 0 5760x2560x24+32")))
|
||||
(substitute* "./xpra/scripts/config.py"
|
||||
((":.*join.*xvfb.*")
|
||||
(string-append ": \"" (assoc-ref inputs "xorg-server")
|
||||
"/bin/Xvfb +extension Composite"
|
||||
" -screen 0 5760x2560x24+32 -dpi 96 -nolisten"
|
||||
" tcp -noreset -auth $XAUTHORITY\",\n")))
|
||||
(substitute* "./xpra/scripts/config.py"
|
||||
(("socket-dir.*: \"\",")
|
||||
"socket-dir\" : \"~/.xpra\","))
|
||||
#t)))))
|
||||
(home-page "https://www.xpra.org/")
|
||||
(synopsis "Remote access to individual applications or full desktops")
|
||||
|
|
Loading…
Reference in a new issue