Skip to content

Commit 5c7ed17

Browse files
committed
add wayland support, ingest new pixelflux, bump selkies
1 parent 783c313 commit 5c7ed17

10 files changed

Lines changed: 228 additions & 72 deletions

File tree

Dockerfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN \
1616
https://github.com/selkies-project/selkies.git \
1717
/src && \
1818
cd /src && \
19-
git checkout -f c3cf4cc2a3b6984104e494572b232730883c9aa6
19+
git checkout -f 159656dfb3f045bf6e041042140bafaf1bbd9c61
2020

2121
RUN \
2222
echo "**** build shared core library ****" && \
@@ -77,6 +77,7 @@ RUN \
7777
docker-compose \
7878
dunst \
7979
file \
80+
foot \
8081
freetype2 \
8182
fuse-overlayfs \
8283
git \
@@ -85,7 +86,7 @@ RUN \
8586
inetutils \
8687
intel-media-driver \
8788
kbd \
88-
libev \
89+
labwc \
8990
libev \
9091
libfontenc \
9192
libgcrypt \
@@ -94,7 +95,6 @@ RUN \
9495
libtasn1 \
9596
libva-mesa-driver \
9697
libx11 \
97-
libx11 \
9898
libxau \
9999
libxcb \
100100
libxcursor \
@@ -105,6 +105,7 @@ RUN \
105105
libxfixes \
106106
libxfont2 \
107107
libxinerama \
108+
libxkbcommon \
108109
libxshmfence \
109110
libxtst \
110111
linux-headers \
@@ -132,6 +133,9 @@ RUN \
132133
vulkan-intel \
133134
vulkan-radeon \
134135
vulkan-tools \
136+
wayland \
137+
wl-clipboard \
138+
wtype \
135139
x264 \
136140
xclip \
137141
xcursor-themes \
@@ -179,7 +183,7 @@ RUN \
179183
echo "**** install selkies ****" && \
180184
curl -o \
181185
/tmp/selkies.tar.gz -L \
182-
"https://github.com/selkies-project/selkies/archive/c3cf4cc2a3b6984104e494572b232730883c9aa6.tar.gz" && \
186+
"https://github.com/selkies-project/selkies/archive/159656dfb3f045bf6e041042140bafaf1bbd9c61.tar.gz" && \
183187
cd /tmp && \
184188
tar xf selkies.tar.gz && \
185189
cd selkies-* && \

Dockerfile.aarch64

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN \
1616
https://github.com/selkies-project/selkies.git \
1717
/src && \
1818
cd /src && \
19-
git checkout -f c3cf4cc2a3b6984104e494572b232730883c9aa6
19+
git checkout -f 159656dfb3f045bf6e041042140bafaf1bbd9c61
2020

2121
RUN \
2222
echo "**** build shared core library ****" && \
@@ -77,14 +77,15 @@ RUN \
7777
docker-compose \
7878
dunst \
7979
file \
80+
foot \
8081
freetype2 \
8182
fuse-overlayfs \
8283
git \
8384
glibc \
8485
gnutls \
8586
inetutils \
8687
kbd \
87-
libev \
88+
labwc \
8889
libev \
8990
libfontenc \
9091
libgcrypt \
@@ -93,7 +94,6 @@ RUN \
9394
libtasn1 \
9495
libva-mesa-driver \
9596
libx11 \
96-
libx11 \
9797
libxau \
9898
libxcb \
9999
libxcursor \
@@ -104,6 +104,7 @@ RUN \
104104
libxfixes \
105105
libxfont2 \
106106
libxinerama \
107+
libxkbcommon \
107108
libxshmfence \
108109
libxtst \
109110
linux-headers \
@@ -131,6 +132,9 @@ RUN \
131132
vulkan-icd-loader \
132133
vulkan-radeon \
133134
vulkan-tools \
135+
wayland \
136+
wl-clipboard \
137+
wtype \
134138
x264 \
135139
xclip \
136140
xcursor-themes \
@@ -176,7 +180,7 @@ RUN \
176180
echo "**** install selkies ****" && \
177181
curl -o \
178182
/tmp/selkies.tar.gz -L \
179-
"https://github.com/selkies-project/selkies/archive/c3cf4cc2a3b6984104e494572b232730883c9aa6.tar.gz" && \
183+
"https://github.com/selkies-project/selkies/archive/159656dfb3f045bf6e041042140bafaf1bbd9c61.tar.gz" && \
180184
cd /tmp && \
181185
tar xf selkies.tar.gz && \
182186
cd selkies-* && \

root/defaults/autostart_wayland

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
foot

root/defaults/labwc.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<labwc_config>
2+
3+
<core>
4+
<decoration>server</decoration>
5+
<gap>0</gap>
6+
</core>
7+
8+
<theme>
9+
<titlebar>
10+
<layout>icon:iconify,max,close</layout>
11+
<showTitle>yes</showTitle>
12+
</titlebar>
13+
<cornerRadius>8</cornerRadius>
14+
</theme>
15+
16+
<keyboard>
17+
<default />
18+
<keybind key="A-F4"><action name="Close" /></keybind>
19+
<keybind key="A-Escape"><action name="Close" /></keybind>
20+
<keybind key="A-space"><action name="ShowMenu" menu="client-menu" /></keybind>
21+
<keybind key="W-e"><action name="Execute" command="lab-sensible-terminal" /></keybind>
22+
</keyboard>
23+
24+
<mouse>
25+
<default />
26+
<context name="Root">
27+
<mousebind button="Left" action="Press" />
28+
<mousebind button="Right" action="Press"><action name="ShowMenu" menu="root-menu" /></mousebind>
29+
<mousebind button="Middle" action="Press"><action name="ShowMenu" menu="client-list-combined-menu" /></mousebind>
30+
</context>
31+
<context name="TitleBar">
32+
<mousebind button="Right" action="Click"><action name="ShowMenu" menu="client-menu" /></mousebind>
33+
<mousebind button="Middle" action="Click"><action name="ToggleMaximize" direction="vertical" /></mousebind>
34+
</context>
35+
</mouse>
36+
37+
<windowRules>
38+
<windowRule identifier="*" serverDecoration="yes" />
39+
<windowRule identifier="*"><action name="Maximize" /></windowRule>
40+
</windowRules>
41+
42+
</labwc_config>

root/defaults/menu_wayland.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<openbox_menu xmlns="http://openbox.org/3.4/menu">
3+
<menu id="root-menu" label="MENU">
4+
<item label="foot" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/foot</command></action></item>
5+
</menu>
6+
</openbox_menu>

root/defaults/startwm_wayland.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
# Start DE
4+
export XCURSOR_THEME=whiteglass
5+
export XCURSOR_SIZE=24
6+
export XKB_DEFAULT_LAYOUT=us
7+
export XKB_DEFAULT_RULES=evdev
8+
export WAYLAND_DISPLAY=wayland-1
9+
labwc #> /dev/null 2>&1

0 commit comments

Comments
 (0)