Commit Graph

45 Commits

Author SHA1 Message Date
Martin Pulec
cb2834caba CI Linux: prevent mkappimage auto upload
mkappimage now tries to automatically upload the asset if it detects
running in GitHub CI, which is not the behavior we perhaps want because
it deletes and recreates our _continuous_ release.

See following failed run:
https://github.com/CESNET/UltraGrid/actions/runs/5575039257/jobs/10185765784

+ fixed `wget` presence check in `create-appimage.sh`
2023-07-20 08:53:20 +02:00
Martin Pulec
d8a64655c9 AppImage: don't use bundled Wayland libraries
Don't use bundled Wayland libraries when running on Wayland but use it
otherwise to satisfy possibly unsatisfied dependencies.

See also previous commit - Wayland libraries seem not to be portable and
prevent SDL2 native run on Wayland. After this change, SDL2 runs on
U22.04 in Weston (without Xwayland).
2023-04-06 14:49:57 +02:00
Martin Piatka
a18d7e0dc4 create-appimage: Bundle qt plugins with correct version
Starting from about 20th January, the wrong version (qt4) started
getting bundled on the Ubuntu runner.
2023-03-21 12:39:42 +01:00
Martin Pulec
030619d72c AppImage: fixed appimageupdate not running on U22.04
libfuse2 is missing there
2023-01-02 15:18:47 +01:00
Martin Pulec
e85988557d add tools/convert to AppImage 2022-11-22 11:29:02 +01:00
Martin Pulec
a1e0d266ff excludelist.local: split to x86 and ARM variants
Currently libgdk-3.so.0 is needed for ARM but still causes a crash with
U22.04 (retested, previously tested was U21.10 which is no longer
supported).
2022-11-01 11:29:06 +01:00
Martin Pulec
9f2e748644 CI ARM: use create-appimage.sh 2022-11-01 11:11:45 +01:00
Martin Pulec
67b717ffcf CI ARM: set curl insecure by default
+ suppress wget not found messsage
2022-11-01 11:11:45 +01:00
Martin Pulec
033614338c create-appimage.sh: style + appimageupdatetool cache
Keep appimageupdatetool copy in current directory (where the script also
looks it up from previous commit) as a cache.

+ use either wget or curl (whichever available)
2022-10-26 11:37:35 +02:00
Martin Pulec
2fa1d7eff3 create-appimage.sh: allow preload/caching AI tools
cache/preload AppImage tools appimageupdatetool and mkappimage

Lookup the tools also in current directory where it is downloaded if
there isn't a system one, so this can be considered also as a cache for
future runs.
2022-10-26 11:37:33 +02:00
Martin Pulec
0ad25c6c6d create-appimage.sh: extract mkappimage if no fuse
extract mkappimage if fuse is not available, eg. in docker containers

+ use curl instead of wget - curl is already used a line above so it
  must be present, wget don't
2022-10-24 15:06:53 +02:00
Martin Pulec
3830817f17 create-appimage.sh: added another excludelist opts
- use local version if available in $CWD
- if wget fails, try curl
2022-10-24 15:06:53 +02:00
Martin Pulec
dae8192c4d CI Linux: build own SDL2
This fixed crashing on Wayland (only - Weston without XWayland) in both U20.04 and
U22.04.
2022-10-24 15:06:23 +02:00
Martin Pulec
4eb8f32cd1 AppImage: fixed obtaining mkappimage
GH now uses AJAX API on web so that the link is no longer there in HTML.
2022-09-20 12:11:18 +02:00
Martin Pulec
0787d10676 create-appimage.sh: improved readibility
The pattern in output of ldd that should be skipped is actually '<lib>
=> not found'. The pattern "found" of course covers that but is a little
bit misleading.
2022-09-14 08:29:24 +02:00
Martin Pulec
ad5c6bd2c2 AppImage: bundle libjack.so.0 again
This effectively reverts 3c9b8293.

libjack.so.0 is a dependency also for different modules like portaudio
so if we do not want to depend on instance in the system, we must ship
our version.
2022-07-27 09:05:56 +02:00
Martin Pulec
735428abd2 AppImage: fixed appsteam+validation 2022-05-30 15:52:03 +02:00
Martin Pulec
189c2b4211 AppImage: use static runtime
Ubuntu 22.04 no longer contains libfuse.so.2 but ships libfuse.so.3
instead preventing AppImage from run (dlopens version 2).
2022-05-30 15:51:50 +02:00
Martin Pulec
1cf8dde8b4 AppImage: Qt6 support 2022-05-30 15:38:49 +02:00
Martin Pulec
1873392fa7 Linux AppImage: copy DejaVu Sans+Mono Book+Bold
Copy DejaVu Sans+Mono Book+Bold explicitly + pass it a variable
UG_FONT_DIR to UltraGrid.
2022-01-21 15:09:31 +01:00
Martin Pulec
03d01f0923 create-appimage.sh: shellchecked 2022-01-21 15:09:27 +01:00
Martin Pulec
4870b8f046 AppImage: font location <ai>/usr/share/fonts
Changed font location to <appimage>/usr/share/fonts - this is more
convenient location than <appimage>/usr/lib/fonts.
2022-01-21 10:26:52 +01:00
Martin Pulec
72e56713a7 Linux AppImage: remove libgdk-3.so.0
This causes a crash of uv-qt on U21.10.

Actually it suffices to remove libffi.so.6 instead but it is a
dependency of SDL2.
2021-12-02 09:55:25 +01:00
Martin Pulec
7d9284227d Linux AppImage: add fonts only if GUI present
Withuot GUI it is pointless.
2021-07-14 09:33:21 +02:00
Martin Pulec
0a0e4da288 AppImage: bundle also VAAPI drivers 2021-07-13 15:10:53 +02:00
Martin Pulec
b850ff0eb2 AppImage: get rid of uv-wrapper.sh
AppRun already adds <dir>/usr/lib to LD_LIBRARY_PATH.
2021-06-02 09:31:46 +02:00
Martin Pulec
9a7255f52f create-appimage.sh: do not download appimagetool/appimageupdatetool if present
Do not download appimagetool/appimageupdatetool if present in system.
2021-05-31 10:52:33 +02:00
Martin Pulec
f598ab59da create-appimage.sh: fixed out-of-tree build 2021-05-31 10:52:33 +02:00
Martin Pulec
bee6bf675b Restruct AppImage: store files in $APP/usr
Follow the usuall AppImage pattern using the prefix $APP/usr instead of
the AppDir root directly for program data.
2021-05-20 11:43:59 +02:00
Martin Pulec
b6e136d961 create-appimage.sh: remove $APPDIR and tmpinstall 2021-03-03 08:18:04 +01:00
Martin Pulec
898cef56e2 create-appimage.sh: small fix 2021-03-02 10:53:36 +01:00
Martin Pulec
2de74a57e3 AppImage: use command-line tool
The GUI tool looks currently failing. Moreover, the command-line is more
suitable for UG and its size is lower.
2021-03-02 10:00:36 +01:00
Martin Pulec
a3cc07f929 Updated create-appimage.sh
Now it doesn't required neither GUI nor --enable-plugins and is more
friendly to command-line use.

+ documented a bit
2021-03-02 09:55:54 +01:00
Martin Pulec
94810b63b8 AppImage: add also hd-rum-multi 2021-02-23 17:44:31 +01:00
Martin Pulec
715b5db03f AppImage: update AppImageUpdate URL 2020-12-11 10:09:39 +01:00
Martin Pulec
3c9b8293d5 Removed JACK library tweaks
Since the library is now dynamically loaded it is no longer needed.
2020-10-16 16:23:21 +02:00
Martin Pulec
ec00fb6076 AppImage: updater URL fix 2020-09-14 16:35:41 +02:00
Martin Pulec
60ff852fa8 Fixed /usr/bin/ldd: line 41: printf: write error: Broken pipe 2020-08-25 16:10:34 +02:00
Martin Pulec
4f3576c180 AppImage: take list from AppImage exclude list
Refers to issue #81
2020-08-25 16:10:27 +02:00
Martin Pulec
47bd730992 Use AppImage 12 (continuous does not work) 2020-07-08 10:58:27 +02:00
Martin Pulec
11629b9883 GitHub workflows: sign AppImage 2020-03-27 21:40:54 +01:00
Martin Pulec
bea9648f2b CI Windows: added updater 2020-03-19 09:53:33 +01:00
Martin Pulec
0730a36796 CI: Linux - copy all plugins 2020-03-19 09:53:32 +01:00
Martin Pulec
57ccfea8bc Linux AppImage: bundle dynamically Qt + fixes
- AppImage: do not symlink icon
- use fontconfig to get DejaVu font path
2020-03-19 09:53:31 +01:00
Martin Pulec
e3247a0880 CI: Linux - build AppImage 2020-03-19 09:53:24 +01:00