17
17
18
18
jobs :
19
19
linux :
20
- runs-on : ubuntu-22 .04
20
+ runs-on : ubuntu-24 .04
21
21
timeout-minutes : 180
22
22
steps :
23
23
- name : 0. Prerequisities
24
24
run : |
25
25
sudo apt-get update
26
26
# locales-all is needed, otherwise it will crash with LANG=ro_RO.UTF-8
27
- sudo apt-get install -y locales-all git build-essential autoconf cmake libglu1-mesa-dev libgtk-3-dev libdbus-1-dev libwebkit2gtk-4.0 -dev desktop-file-utils libegl-mesa0 libnss-mdns
27
+ sudo apt-get install -y locales-all git build-essential autoconf cmake libglu1-mesa-dev libgtk-3-dev libdbus-1-dev libwebkit2gtk-4.1 -dev desktop-file-utils libegl-mesa0 libnss-mdns
28
28
- name : 1. Cloning the repository
29
29
uses : actions/checkout@v4
30
30
- name : ccache
@@ -120,7 +120,7 @@ jobs:
120
120
chmod +x ./lib4bin
121
121
# xvfb-run -d -- ./lib4bin -p -v -r -e /usr/bin/prusa-slicer
122
122
xvfb-run -- ./lib4bin -p -v -r -e /usr/bin/prusa-slicer
123
- # xvfb-run -- ./lib4bin -p -v -r -e /lib/webkit2gtk-4.0 /WebKitNetworkProcess # FIXME: xvfb-run: error: Xvfb failed to start
123
+ # xvfb-run -- ./lib4bin -p -v -r -e /lib/webkit2gtk-4.1 /WebKitNetworkProcess # FIXME: xvfb-run: error: Xvfb failed to start
124
124
rm -f ./lib4bin
125
125
find /usr/bin /usr/lib -type f -name 'OCCTWrapper.so' -exec cp -vn {} ./bin \;
126
126
find /usr/lib -type f -name '*libnss*.so*' -exec cp -vn {} ./shared/lib \;
@@ -129,17 +129,17 @@ jobs:
129
129
find ./shared -type f -exec strip {} \; || true
130
130
131
131
# Copy WebKitNetworkProcess binaries and wrap them in sharun; FIXME: Automate
132
- mkdir -p ./shared/lib/webkit2gtk-4.0
133
- cp -r /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0 /* ./shared/bin/
134
- ( cd ./shared/lib/webkit2gtk-4.0
132
+ mkdir -p ./shared/lib/webkit2gtk-4.1
133
+ cp -r /usr/lib/x86_64-linux-gnu/webkit2gtk-4.1 /* ./shared/bin/
134
+ ( cd ./shared/lib/webkit2gtk-4.1
135
135
ln -s ../../../sharun ./WebKitWebProcess
136
136
ln -s ../../../sharun ./WebKitNetworkProcess
137
137
ln -s ../../../sharun ./MiniBrowser
138
138
)
139
139
find ./shared/lib -name 'libwebkit*' -exec sed -i 's|/usr|././|g' {} \;
140
140
ln -s ./ ./shared/lib/x86_64-linux-gnu
141
- mkdir -p lib/x86_64-linux-gnu/webkit2gtk-4.0 /injected-bundle/
142
- cd lib/x86_64-linux-gnu/webkit2gtk-4.0 /injected-bundle/
141
+ mkdir -p lib/x86_64-linux-gnu/webkit2gtk-4.1 /injected-bundle/
142
+ cd lib/x86_64-linux-gnu/webkit2gtk-4.1 /injected-bundle/
143
143
ln -s ../../../../shared/bin/injected-bundle/libwebkit2gtkinjectedbundle.so .
144
144
cd -
145
145
# Try to fix "TSL/SSL support not available"
0 commit comments