Commit Graph

69 Commits

Author SHA1 Message Date
Martin Pulec
3a83770967 Fixed AppImage Firejail whitelist generation
Fixed 8e77dab6f

If no pattern was found, actually whole line was printed and
whitelisted, sample wrong input:

    UltraGrid-continuous-x86_64.AppImage -t testcard
2022-03-25 15:43:22 +01:00
Martin Pulec
8e77dab6ff Linux firejail: add some whitelists
Added explicit whitelist for --playback and -t testcard:filename
patterns.
2022-03-11 15:43:09 +01:00
Martin Pulec
e9fc1e0fda AppImage: check also ULTRAGRID_USE_FIREJAIL for 0 or no 2022-03-04 16:28:58 +01:00
Martin Pulec
a81b5b83fd AppRun: fixed shellcheck complains 2022-02-03 15:41:07 +01: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
0c954ae13c build_aja_lib_win64.sh: missing libs
NTV2 ver 16.1 requires some more libraries.
2021-12-06 11:30:33 +01:00
Martin Pulec
d48b04404e AppImage: Rocky Linux 8 compat 2021-12-02 19:32:17 +01:00
Martin Pulec
33cb1812a9 AppImage: env var ULTRAGRID_BUNDLED_LIBVA
to enforce use of bundled libva even if system libva found
2021-12-02 12:19:15 +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
c8722969b6 AppImage: pass LD_PRELOAD to the Firejail
needed if VA-API is preloaded from system
2021-11-30 11:34:38 +01:00
Martin Pulec
369341c3d0 AppImage: try to preload libva
Resolve subissue #165 (https://github.com/CESNET/UltraGrid/issues/165#issuecomment-978772853)
by trying to preload system libva if there is any.
2021-11-30 09:27:40 +01:00
Martin Pulec
6853dbc0af AppImage: do not print path to firejail to console 2021-08-06 11:47:11 +02: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
725daf7cb9 AppImage Firejail: use dbus support only if available
+ explicit check for firejail binary
+ use --keep-var-tmp only if available
2021-06-08 16:04:36 +02:00
Martin Pulec
10e194eaef AppImage Firejail: pass LD_LIBRARY_PATH 2021-06-08 08:40:14 +02:00
Martin Pulec
44c2559780 Firejail: PCP requires --protocol=netlink 2021-06-07 09:49:42 +02:00
Martin Pulec
cbb6a20ce1 AppImage: added --fullhelp 2021-06-03 13:23:16 +02:00
Martin Pulec
930ccd1ebc AppImage: env var to run with Firejail 2021-06-03 13:22:41 +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
1c8f968934 AppImage: option to show manual pages 2021-05-31 14:05:01 +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
35b2209de4 Linux AppImage: increase suggested update interval
Increased suggested update interval to 30 for continuous and 90 for
release - the original interval is of course advisable but 7 days for
continuous is a bit intrusive. Consequently scaling also release update
interval.
2021-05-14 23:53:00 +02:00
Martin Pulec
ed71c9c35b Linux AppImage: fixed update check hint command 2021-05-14 23:21:18 +02:00
Martin Pulec
079a318d94 AppImage: check timestamp of AppImage + touch it
This prevents notifying user to update when there are no updates
upstream but user checks for them.
2021-03-25 15:13:03 +01:00
Martin Pulec
ee4bdbf34a Make zfec optional 2021-03-09 16:05:36 +01:00
Martin Pulec
1b9aa3314d SpeexDSP: remove a submodule
Now it is a normal dependency.
2021-03-09 08:14:37 +01:00
Martin Pulec
67012b38cf AppImage: allow run also from extracted AppImage 2021-03-09 08:14:34 +01:00
Martin Pulec
956685be39 AppRun: use %Y rather than %W for stat
Creation time may be undefined
2021-03-05 12:55:41 +01:00
Martin Pulec
c909c09df7 Speex is actually not needed at all
Needed is only SpeexDSP.
2021-03-03 15:01:47 +01:00
Martin Pulec
396e09c119 Allow system SpeexDSP library 2021-03-03 13:10:33 +01:00
Martin Pulec
32089545ca fetch_submodule.sh: remove directory if needed
+ fixed lowercased $module
2021-03-03 12:07:10 +01:00
Martin Pulec
f08bdbc144 AppRun: replace UltraGrid with actual AppImage path 2021-03-03 09:40:24 +01:00
Martin Pulec
4c41383d92 Added update hint to AppImage + ULTRAGRID_AUTOUPDATE
Notify user after specified number of days (35; 7 for continuous) to
check updates.

Honor environment variable ULTRAGRID_AUTOUPDATE - 0 disables the hint;
1 causes the update to be always checked.
2021-03-03 09:03:30 +01:00
Martin Pulec
b6e136d961 create-appimage.sh: remove $APPDIR and tmpinstall 2021-03-03 08:18:04 +01:00
Martin Pulec
55e06c8f8f AppRun: unset LD_LIBRARY_PATH
To avoid mixing of UG and update tool libraries

+ missing quotes around $@
2021-03-02 11:58:00 +01:00
Martin Pulec
0d53b21583 Fixed AppRun 2021-03-02 11:44:02 +01:00
Martin Pulec
898cef56e2 create-appimage.sh: small fix 2021-03-02 10:53:36 +01:00
Martin Pulec
00805a5f55 AppImage: allow arguments to appimageupdatetool 2021-03-02 10:11:39 +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
18cc2b1252 Zfec as a submodule 2021-02-24 13:42:12 +01:00
Martin Pulec
04bb45e3c6 Install_speex.sh - moved download to fetch_submodule.sh 2021-02-24 13:41:43 +01:00
Martin Pulec
94810b63b8 AppImage: add also hd-rum-multi 2021-02-23 17:44:31 +01:00
Martin Pulec
0e6986599e Use upstream speex as a submodule
The library has been split to speex and speexdsp - we need both.
2021-02-23 15:00:57 +01:00
Martin Pulec
3b933348fb Autogen: moved cl.exe lookup to separate file
Just to make the script more readable
2021-02-23 15:00:57 +01:00