I presume runtime is the binary AppRun injected by appimagetool in order to make the package executable.
As stated, it is a deprecated method. You can find it here above the building section.
Just follow the Packaging Guide included.
I presume runtime is the binary AppRun injected by appimagetool in order to make the package executable.
from the snap site: https://snapcraft.io/photoscape:
Note: This Windows application runs on Linux using the Wine compatibility layer.
it is available as Snap package and according to wikipediancmprhnsbl wrote: ↑30 Jun 2021, 02:36from the snap site: https://snapcraft.io/photoscape:Note: This Windows application runs on Linux using the Wine compatibility layer.
Is an AppImages made from a Snap package not able to work without systemd?Snap relies on systemd for features such as running socket-activated system services in a Snap
the contents of this "snap package" is a windows application that runs via wine.. what isn't clear, is if the snap includes wine(not likely to me)
I'm interested, will it run without multilib?ncmprhnsbl wrote: ↑01 Jul 2021, 13:41speaking of wine, look what i found: https://github.com/Hackerl/Wine_Appimage
good question, not sure.. i'm not really into wine/windows apps, so i havn't tried it.. looking at the site(much of it is in japanese) there seems to be some effort towards that..
Code: Select all
app: Wine
binpatch: true
ingredients:
dist: buster
packages:
- wine
sources:
- deb http://deb.debian.org/debian buster main contrib non-free
script:
- mkdir -p ./Wine.AppDir/usr/share/applications/
- wget -N https://source.winehq.org/git/wine.git/blob_plain/HEAD:/loader/wine.desktop
- sed -i -e 's|Icon=wine.*|Icon=wine|g' wine.desktop
- sed -i -e 's|Name=Wine.*|Name=Wine|g' wine.desktop
- sed -i -e '/Name\[.*/d' wine.desktop
- sed -i -e 's|Exec=wine.*|Exec=wine|g' wine.desktop
- echo 'Categories=Utility;Settings;' >> wine.desktop
- cp ./wine.desktop ./Wine.AppDir/usr/share/applications/wine.desktop
- wget -N https://source.winehq.org/git/wine.git/blob_plain/HEAD:/dlls/wineandroid.drv/wine.svg
- cp wine.svg ./Wine.AppDir/
- cat > ./Wine.AppDir/AppRun << 'EOF'
- #!/bin/sh
- SELF=$(readlink -f "$0")
- HERE=${SELF%/*}
-
- export PATH="${HERE}/usr/bin/:${HERE}/usr/sbin/:${HERE}/sbin/${PATH:+:$PATH}"
-
- export LD_LIBRARY_PATH="${HERE}/usr/lib/:${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/usr/wine/:${HERE}/usr/sasl2/:${HERE}/lib/:${HERE}/lib/x86_64-linux-gnu:${HERE}/lib/udev/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
-
- export XDG_DATA_DIRS="${HERE}/usr/share/${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}"
-
- export GSETTINGS_SCHEMA_DIR="${HERE}/usr/share/glib-2.0/schemas/${GSETTINGS_SCHEMA_DIR:+:$GSETTINGS_SCHEMA_DIR}"
-
- EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1)
-
- WINEVERSION=$(wine --version | sed "s/ .*//g")
- WINEPREFIX=~/.${WINEVERSION}-AppImage exec "${EXEC}" "$@"
- EOF
Have downloaded it but not yet tried it, but I have to say:
Code: Select all
app: handbrake
binpatch: true
ingredients:
packages:
- handbrake
dist: bookworm
sources:
- deb http://deb.debian.org/debian bookworm main
# - deb http://archive.ubuntu.com/ubuntu/ trusty main universe
# - deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu trusty main
script:
- cat > HandBrake.desktop <<EOF
- [Desktop Entry]
- Name=HandBrake
- GenericName=Media Transcoder
- Comment=Transcodes DVD, Bluray, and other media
- Exec=ghb %f
- Icon=HandBrake
- Terminal=false
- Type=Application
- Categories=GTK;AudioVideo;Video;
- MimeType=application/ogg;application/x-extension-mp4;application/x-flac;application/x-matroska;application/x-ogg;audio/ac3;audio/mp4;audio/mpeg;audio/ogg;audio/x-flac;audio/x-matroska;audio/x-mp3;audio/x-mpeg;audio/x-vorbis;video/mp4;video/mp4v-es;video/mpeg;video/msvideo;video/quicktime;video/vnd.divx;video/x-avi;video/x-m4v;video/x-matroska;video/x-mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;x-content/video-dvd;x-content/video-vcd;x-content/video-svcd;
- EOF
- wget https://github.com/cmatomic/Handbrake-AppImage/raw/master/img/HandBrake.png -O usr/share/icons/hicolor/256x256/apps/HandBrake.png
- cp usr/share/icons/hicolor/256x256/apps/HandBrake.png .
Code: Select all
chmod +x pkg2appimage-*.AppImage
Code: Select all
pkg2appimage*.AppImage handbrake.yml
Code: Select all
HandBrake-1.4.1+ds1.glibc2.29-x86_64.AppImage --appimage-extract
Code: Select all
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x ./appimagetool-x86_64.AppImage
appimagetool-x86_64.AppImage squashfs-root/