diff options
-rwxr-xr-x | .fmsbw/50-ubuntu22-appimage | 26 | ||||
-rwxr-xr-x | AppImage/curses.yml | 6 | ||||
-rwxr-xr-x | AppImage/gtk.yml | 2 |
3 files changed, 30 insertions, 4 deletions
diff --git a/.fmsbw/50-ubuntu22-appimage b/.fmsbw/50-ubuntu22-appimage new file mode 100755 index 0000000..ade1100 --- /dev/null +++ b/.fmsbw/50-ubuntu22-appimage @@ -0,0 +1,26 @@ +#!/bin/sh +set -ex + +# FIXME: AppImages can theoretically also be built on OBS. +# Unfortunately it only works with packages from openSUSE 15.6. +# Also, it's not trivial to build multiple AppImages on OBS. +# FIXME: This still relies on the Debian repositories provided +# via OBS. But there is no guarantee it is ready by the time +# we run this CI job. +# We should be fine, though unless committing at 6:00 in the morning. + +#apt-get update -o APT::Cache-Start=100000000 +#apt-get install -o APT::Cache-Start=100000000 -y fuse libfuse2 imagemagick wget file binutils libglib2.0-bin +#mkdir -p ~/pkg2appimage +#cd ~/pkg2appimage +#wget -O pkg2appimage.AppImage https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage-1eceb30-x86_64.AppImage +#chmod +x pkg2appimage.AppImage +# FIXME: We could get automatic mounting to work with fusefs in the host and by exposesing /dev/fuse. +#./pkg2appimage.AppImage --appimage-extract + +cd AppImage +~/pkg2appimage/squashfs-root/AppRun curses.yml +mv out/*.AppImage /opt/htdocs/downloads/nightly/sciteco-curses_nightly_x86_64.AppImage +~/pkg2appimage/squashfs-root/AppRun gtk.yml +mv out/*.AppImage /opt/htdocs/downloads/nightly/sciteco-gtk_nightly_x86_64.AppImage +chmod a+x /opt/htdocs/downloads/nightly/*.AppImage diff --git a/AppImage/curses.yml b/AppImage/curses.yml index b87101f..254947a 100755 --- a/AppImage/curses.yml +++ b/AppImage/curses.yml @@ -14,12 +14,12 @@ ingredients: script: # This is currently not installed by sciteco-curses. # FIXME: There should perhaps be a unique name in the desktop file, so it does not conflict with the Gtk version. - - wget -O sciteco-curses.desktop -c "https://raw.githubusercontent.com/rhaberkorn/sciteco/master/src/sciteco.desktop" + - wget -O sciteco-curses.desktop -c "https://git.fmsbw.de/sciteco/plain/src/sciteco.desktop" - sed -i -e 's@gsciteco@sciteco@g' sciteco-curses.desktop - echo 'Terminal=true' >>sciteco-curses.desktop - - wget -O sciteco.png -c "https://raw.githubusercontent.com/rhaberkorn/sciteco/master/ico/sciteco-256.png" + - wget -O sciteco.png -c "https://git.fmsbw.de/sciteco/plain/ico/sciteco-256.png" - mkdir -p ./usr/share/metainfo/ - - wget -O ./usr/share/metainfo/sciteco-curses.appdata.xml -c "https://raw.githubusercontent.com/rhaberkorn/sciteco/master/AppImage/sciteco-curses.appdata.xml" + - wget -O ./usr/share/metainfo/sciteco-curses.appdata.xml -c "https://git.fmsbw.de/sciteco/plain/AppImage/sciteco-curses.appdata.xml" # Thinning: These documentation files are pointless. # SciTECO comes with its own online help system. - rm -rf ./usr/share/doc ./usr/share/man diff --git a/AppImage/gtk.yml b/AppImage/gtk.yml index c15ee9a..99e834e 100755 --- a/AppImage/gtk.yml +++ b/AppImage/gtk.yml @@ -21,7 +21,7 @@ script: - cp ./usr/share/icons/hicolor/256x256/apps/sciteco.png ./sciteco.png - rm -rf ./usr/share/icons - mkdir -p ./usr/share/metainfo/ - - wget -O ./usr/share/metainfo/sciteco-gtk.appdata.xml -c "https://raw.githubusercontent.com/rhaberkorn/sciteco/master/AppImage/sciteco-gtk.appdata.xml" + - wget -O ./usr/share/metainfo/sciteco-gtk.appdata.xml -c "https://git.fmsbw.de/sciteco/plain/AppImage/sciteco-gtk.appdata.xml" # Thinning: These documentation files are pointless. # SciTECO comes with its own online help system. - rm -rf ./usr/share/doc ./usr/share/man |