Skip to content

Commit bc8cccc

Browse files
committed
Add xcbglintegrations to freeze
1 parent 6adf81a commit bc8cccc

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

freeze.py

+10-5
Original file line numberDiff line numberDiff line change
@@ -218,18 +218,23 @@ def find_files(directory, patterns):
218218
web_process_path = "/usr/lib/x86_64-linux-gnu/qt5/libexec/QtWebEngineProcess"
219219
external_so_files.append((web_process_path, os.path.basename(web_process_path)))
220220

221-
# Add libsoftokn3
222-
nss_path = "/usr/lib/x86_64-linux-gnu/nss/"
223-
for filename in find_files(nss_path, ["*"]):
224-
external_so_files.append((filename, os.path.basename(filename)))
225-
226221
# Add QtWebEngineProcess Resources & Local
227222
qt5_path = "/usr/share/qt5/"
228223
for filename in find_files(os.path.join(qt5_path, "resources"), ["*"]):
229224
external_so_files.append((filename, os.path.relpath(filename, start=qt5_path)))
230225
for filename in find_files(os.path.join(qt5_path, "translations", "qtwebengine_locales"), ["*"]):
231226
external_so_files.append((filename, os.path.relpath(filename, start=qt5_path)))
232227

228+
# Add Qt xcbglintegrations plugin
229+
xcbgl_path = "/usr/lib/x86_64-linux-gnu/qt5/"
230+
for filename in find_files(os.path.join(xcbgl_path, "plugins", "xcbglintegrations"), ["*"]):
231+
external_so_files.append((filename, os.path.relpath(filename, start=xcbgl_path)))
232+
233+
# Add libsoftokn3
234+
nss_path = "/usr/lib/x86_64-linux-gnu/nss/"
235+
for filename in find_files(nss_path, ["*"]):
236+
external_so_files.append((filename, os.path.basename(filename)))
237+
233238
# Append Linux ICON file
234239
iconFile += ".svg"
235240
src_files.append((os.path.join(PATH, "xdg", iconFile), iconFile))

0 commit comments

Comments
 (0)