Commit Graph

35 Commits

Author SHA1 Message Date
Martin Pulec
93409cd85a Fixed AppImage -h displaying UG not AI help 2022-05-10 09:36:22 +02:00
Martin Pulec
7af87c935c Linux firejail: whitelist video (v4l2) 2022-04-01 14:13:46 +02:00
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
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
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
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
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
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
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
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
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
00805a5f55 AppImage: allow arguments to appimageupdatetool 2021-03-02 10:11:39 +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
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