diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-21 12:41:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-21 12:41:10 +0200 |
| commit | 620f224ec4f08a0eed54783d7cabb085ca8e4939 (patch) | |
| tree | 62e70c278e5088a1fab2e4954b9c7c0dce8840e1 | |
| parent | c70dfd316540a11e12447bd94c76b68c5758f063 (diff) | |
Hack out package copying for a bit.appimage-on-centos-7
| -rw-r--r-- | cscript | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -812,10 +812,7 @@ def make_appimage(target, nice_name, internal_name, version, extra_binaries=None lib = 'usr/lib64' target.command(f'mkdir -p build/{nice_filename}.AppDir/{lib}/gdk-pixbuf-2.0/2.10.0') target.command(f'cp -a /{lib}/gdk-pixbuf-2.0 build/{nice_filename}.AppDir/{lib}') - target.command('sudo apt update') - for package in ['libc6', 'libglib2.0-0', 'gnome-settings-daemon-schemas', 'librsvg2-common', 'libgdk-pixbuf2.0-0', 'libpango-1.0-0', 'libpangoft2-1.0-0', 'libpangocairo-1.0-0', 'libthai0']: - target.command(f'apt download {package}') - target.command(f'dpkg-deb -x {package}*.deb {appdir}') + target.command('sudo yum update') target.command(f'glib-compile-schemas {appdir}/usr/share/glib-2.0/schemas') target.command(f'sed -i -e "s|/{usr}/gdk-pixbuf-.*/.*/loaders/||g" {appdir}/{lib}/gdk-pixbuf-*/*/loaders.cache') # Stop anything loading from outside the AppImage |
