Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
c32cb723
Commit
c32cb723
authored
4 years ago
by
satmandu
Committed by
GitHub
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sommelier xwayland dri path (#4692)
* Add sommelier xwayland dri path * bump version
parent
812dfbf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
packages/sommelier.rb
packages/sommelier.rb
+2
-2
No files found.
packages/sommelier.rb
View file @
c32cb723
...
...
@@ -3,7 +3,7 @@ require 'package'
class
Sommelier
<
Package
description
'Sommelier works by redirecting X11 and Wayland programs to the built-in ChromeOS wayland server.'
homepage
'https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools/sommelier/'
version
'20201025-
1
'
version
'20201025-
2
'
compatibility
'all'
source_url
'https://chromium-review.googlesource.com/changes/chromiumos%2Fplatform2~2476815/revisions/5/patch?zip&path=%2FCOMMIT_MSG'
source_sha256
'd1850e1d4a1e1ec873b9e4add7a881e981f6c0bc17dfd2a1b85efd7df6dd84b4'
...
...
@@ -150,7 +150,7 @@ sudo chown root:root /tmp/.X11-unix
DISPLAY=
\"\$
{DISPLAY//:}
\"
DISPLAY=
\"\$
{DISPLAY:0:2}
\"
sudo rm /tmp/.X11-unix/X
\"\$
{DISPLAY}
\"
sommelier -X --x-display=:
\$
DISPLAY --scale=
\$
SCALE --glamor --drm-device=/dev/dri/renderD128 --virtwl-device=/dev/null --shm-driver=noop --data-driver=noop --display=wayland-0 --xwayland-path=/usr/local/bin/Xwayland --peer-cmd-prefix=
\"
#{
CREW_PREFIX
}#{
PEER_CMD_PREFIX
}
\"
--no-exit-with-child /bin/sh -c
\"
touch ~/.Xauthority; xauth -f ~/.Xauthority add :$DISPLAY . $(xxd -l 16 -p /dev/urandom); .
#{
CREW_PREFIX
}
/etc/sommelierrc
\"
&>>
#{
CREW_PREFIX
}
/var/log/sommelier.log
sommelier -X --x-display=:
\$
DISPLAY --scale=
\$
SCALE --glamor --drm-device=/dev/dri/renderD128 --virtwl-device=/dev/null --shm-driver=noop --data-driver=noop --display=wayland-0 --xwayland-path=/usr/local/bin/Xwayland --
xwayland-gl-driver-path=
#{
CREW_LIB_PREFIX
}
/dri --
peer-cmd-prefix=
\"
#{
CREW_PREFIX
}#{
PEER_CMD_PREFIX
}
\"
--no-exit-with-child /bin/sh -c
\"
touch ~/.Xauthority; xauth -f ~/.Xauthority add :$DISPLAY . $(xxd -l 16 -p /dev/urandom); .
#{
CREW_PREFIX
}
/etc/sommelierrc
\"
&>>
#{
CREW_PREFIX
}
/var/log/sommelier.log
echo
\$
! >
#{
CREW_PREFIX
}
/var/run/sommelier-xwayland.pid
xhost +si:localuser:root &>/dev/null
fi
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment