So instructions to make gtkcord 3 AppImage:
- Make a directory called AppDir
- Make a directories AppDir/usr/bin
- Compile gtkcord3 binary into that directory, for example go build -o AppDir/usr/bin/gtkcord3
- Make directory AppDir/usr/lib
- Make directories AppDir/usr/share/{applications,icons,metainfo}
- Make file AppDir/usr/share/metainfo/gtkcord3.appdata.xml and insert this: https://pastebin.com/08xGTPne
- Make file AppDir/usr/share/applications/gtkcord3.desktop and insert this: https://pastebin.com/DPZMLc6k
- Make directories AppDir/usr/share/icons/hicolor/128x128/apps
- Copy logo.png from gtkcord3 repo to AppDir/usr/share/icons/hicolor/128x128/apps/gtkcord3.png
- Resize that file to 128x128
- Symlink AppDir/usr/share/applications/gtkcord3.desktop to AppDir/gtkcord3.desktop
- Symlink AppDir/usr/share/icons/hicolor/128x128/apps/gtkcord3.png to AppDir/gtkcord3.png
- Make file AppDir/AppRun and insert this, then make AppDir/AppRun executable by
chmod +x AppDir/AppRun
. - Compile GTK and libhandy right into your AppDir by setting prefix argument when configuring to AppDir/usr (use an absolute path though I think)
- libhandy might put their so files into AppDir/usr/lib64, move everything from there to AppDir/usr/lib (because you're only compiling for 1 arch anyway)
- Compile everything you want into your AppDir using similar technique
- Clean up your AppDir by removing such things as examples, documentation and other stuff.
- Finally,
# PWD = parent directory of AppDir
wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage ./AppDir
could you update links they are dead.
This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.