# HG changeset patch # User Paper # Date 1721021337 14400 # Node ID 433eeaca3bafcd6c001d230ceea00fc388c9debe # Parent d1d772665a07fa50c864030e0bdc96d780ea3547 CI/linux: revert change to linuxdeployqt; add qt plugin turns out I'm stupid and linuxdeployqt is insanely broken diff -r d1d772665a07 -r 433eeaca3baf .builds/linux.yml --- a/.builds/linux.yml Mon Jul 15 01:14:13 2024 -0400 +++ b/.builds/linux.yml Mon Jul 15 01:28:57 2024 -0400 @@ -13,46 +13,28 @@ - libwayland-dev - pkg-config - libglib2.0-dev - - desktop-file-utils +sources: + - hg+https://hg.paper.us.eu.org/minori tasks: - build: | # build cd minori mkdir build cd build - cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release make - make DESTDIR=AppDir install # resources mkdir -p rc cp ../rc/sys/linux/Minori.desktop rc/Minori.desktop cp ../rc/sys/linux/Minori.svg rc/Minori.svg - # use linuxdeployqt to make an appimage - wget -O linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" - chmod +x linuxdeployqt - - mkdir -p AppDir/usr/bin - mkdir -p AppDir/usr/lib - mkdir -p AppDir/usr/share/applications - mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps - - cp ../rc/sys/linux/Minori.svg AppDir/Minori.svg - cp ../rc/sys/linux/Minori.desktop AppDir/usr/share/applications/Minori.desktop - cp minori AppDir/usr/bin/minori - - # hack: need to ignore linuxdeployqt silently failing due to missing appimagetool. - # additionally, because of that we have to roll appimagetool ourselves - ./linuxdeployqt AppDir/usr/share/applications/Minori.desktop -unsupported-allow-new-glibc -appimage || true - - # ack - wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" - chmod +x appimagetool - - ./appimagetool AppDir minori-x86_64.AppImage + # use linuxdeploy to make an appimage + wget -O linuxdeploy "https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20240109-1/linuxdeploy-x86_64.AppImage" + chmod +x linuxdeploy + LD_LIBRARY_PATH=. ./linuxdeploy --appdir Minori --executable ./minori -d rc/Minori.desktop -i rc/Minori.svg --output appimage --plugin qt artifacts: - - minori/build/minori-x86_64.AppImage + - minori/build/Minori-x86_64.AppImage triggers: - action: email condition: failure