Skip to content

Commit 65c6e5e

Browse files
committed
Add libxcb-xinerama.so.0 to AppImage
1 parent b96ab2a commit 65c6e5e

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

freeze.py

+3-23
Original file line numberDiff line numberDiff line change
@@ -306,34 +306,14 @@ def find_files(directory, patterns):
306306
"libpangocairo-1.0.so.0",
307307
"libpangoft2-1.0.so.0",
308308
"libharfbuzz.so.0",
309-
"libthai.so.0",
310-
]
311-
and not libpath_file.startswith("libxcb-")
312-
) \
313-
or libpath_file in ["libgcrypt.so.11", "libQt5DBus.so.5", "libpng12.so.0", "libbz2.so.1.0", "libqxcb.so"]:
314-
309+
"libthai.so.0" ]
310+
) or libpath_file in ["libgcrypt.so.11", "libQt5DBus.so.5", "libpng12.so.0",
311+
"libbz2.so.1.0", "libqxcb.so", "libxcb-xinerama.so.0"]:
315312
# Ignore missing files
316313
if os.path.exists(libpath):
317314
filepath, filename = os.path.split(libpath)
318315
external_so_files.append((libpath, filename))
319316

320-
# Manually add missing files (that were missed in the above step). These files are required
321-
# for certain distros (like Fedora, openSUSE, Debian, etc...)
322-
# Also add Glib related files (required for some distros)
323-
324-
# for added_lib in [ARCHLIB + "libssl.so",
325-
# ARCHLIB + "libcrypto.so",
326-
# ARCHLIB + "libglib-2.0.so",
327-
# ARCHLIB + "libgio-2.0.so",
328-
# ARCHLIB + "libgmodule-2.0.so",
329-
# ARCHLIB + "libthread-2.0.so",
330-
# ARCHLIB + "libc.so",
331-
# ]:
332-
# if os.path.exists(added_lib):
333-
# external_so_files.append((added_lib, os.path.basename(added_lib)))
334-
# else:
335-
# log.warning("{}: not found, skipping".format(added_lib))
336-
337317
elif sys.platform == "darwin":
338318
# Copy Mac specific files that cx_Freeze misses
339319
# JPEG library

0 commit comments

Comments
 (0)