Martin Pulec
2dbaec7255
AppRun: "printf" added to printed string by mistake
2023-03-09 14:14:26 +01:00
Martin Pulec
571b9a7064
AppRun firejail: removed deprecated --shell
...
firejail repors it's deprecated as for 0.9.72 and refuses to run
2023-01-18 11:38:16 +01:00
Martin Pulec
7d033195b3
AppRun,create-appimage.sh: added missing expr redirections
2023-01-02 10:44:31 +01:00
Martin Pulec
4f7c37ca97
AppImage: fixed appimageupdate not running on U22.04
...
llibfuse2 is missing there
2023-01-02 10:27:20 +01:00
Martin Pulec
fb0729bb6e
AppRun: do not mount /tmp RO if will be written
2022-12-02 11:18:12 +01:00
Martin Pulec
de64f60d29
AppRun: simplify a bit
...
do more work in add_whitelist()
2022-12-02 11:15:20 +01:00
Martin Pulec
2714c6b3bf
AppRun: watch adding /tmp
...
Beware not to add --whitelist=/tmp[something] because that would hide
the actual mounted image (/tmp/.mount_ultragridsomething). As /tmp is
remounted RO, just make the "whitelisted" dirs RW.
+ add to whitelist $DIR (path to executable) if it is not /tmp (eg.
extracted AppImage somewhere)
2022-12-02 11:15:18 +01:00
Martin Pulec
0c14f1180a
AppRun: supress shellcheck warning
2022-11-25 11:02:20 +01:00
Martin Pulec
2a423ef77a
AppRun: whitelist+mkdir also dump/record with dir
...
Take explicit path from '-d dump:<dir>' or '--record=<dir>' and
whitelist + mkdir it (it may not exist yet and then whitelisting would
not work).
2022-11-22 16:40:13 +01:00
Martin Pulec
9f838ec1bb
AppRun: whitelist CWD if dump requested
...
Dump/export dumps to current directory by default
2022-11-22 16:40:13 +01:00
Martin Pulec
19a2a336e5
AppRun: whitelist absolute paths
...
If user passses as the parameter relative path, it haven't worked.
2022-11-22 16:40:13 +01:00
Martin Pulec
45b010f53f
AppRun: print man page only if 1-2 param given
...
Do not interfere with UltraGrid -m parameter -- show man if only 1-2
parameters given (`uv -m 1500` doesn't make much sense for UG),
otherwise pass it to UltraGrid.
This allows using commands like `UltraGrid-continuous-x86_64.AppImage -m
1316 -t testcard -d gl` (`-m` MTU parameter at the first place).
2022-11-14 10:18:39 +01:00
Martin Pulec
3b15dd2926
AppRun: do not print misleading message
...
Do not warn that bundled libva is used when libavcodec is not compiled
at all.
2022-10-24 15:06:53 +02:00
Martin Pulec
6b6070dcef
AppRun: fixed exiting if TERM is not defined
...
tput returns non-zero if TERM is not set (eg. run by the CI check) and
shell is set to errexit (-e). (Previously the return value was hidden by
return value of calling echo).
2022-10-21 15:27:46 +02:00
Martin Pulec
762dbb0eae
AppRun: colored output
2022-10-21 14:45:22 +02:00
Martin Pulec
fba27c434b
Revert "AppRun: added libva-wayland to preload"
...
This reverts commit e687bd35ac .
This currently cause following error on Arch:
expr: symbol lookup error: /lib/libva-wayland.so.2: undefined symbol: wl_proxy_marshal_flags
id: symbol lookup error: /lib/libva-wayland.so.2: undefined symbol: wl_proxy_marshal_flags
2022-10-21 14:45:22 +02:00
Martin Pulec
e687bd35ac
AppRun: added libva-wayland to preload
...
currently will not be used by CI because U18.04 doesn't link that
library
2022-10-11 16:22:54 +02:00
Martin Pulec
6ceec5edc3
AppRun: whitelist also file=
...
- rewritten - allow also multiple whitelisted patterns on cmdline
- whitelist every "file=" (midi) and "filename=" occurences
2022-09-13 16:36:33 +02:00
Martin Pulec
14489deb0a
AppImage: set TMPDIR to a writable path
2022-09-12 16:44:05 +02:00
Martin Pulec
56ab0c5433
AppRun: fixed shellcheck complain
2022-09-12 16:44:05 +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
97dd5ceecb
AppRun fixed libva-x11 not being LD_PRELOADED
...
In the second iteration of for cycle, $NAME was derived from something
like "/usr/lib/libva.so.2:/usr/lib/libva-drm.so.2" (s/libva/libva-x11),
which obviously didn't exist as a file.
Fixes:
$ <AppImage> --list-modules | grep -A 2 'Errors:'
Errors:
ultragrid_acompress_libavcodec.so
./squashfs-root2/usr/lib/libva-x11.so.2: undefined symbol: va_fool_postp
2022-07-20 14:23:04 +02:00
Martin Pulec
9bbcefc240
AppRun (Linux): bundled libva selection improve
2022-07-20 14:22:57 +02:00
Martin Pulec
a9178a0eb1
Fixed AppImage showing "bin" dir as a tool
2022-06-01 11:21:57 +02:00
Martin Pulec
1cf8dde8b4
AppImage: Qt6 support
2022-05-30 15:38:49 +02:00
Martin Pulec
8bcaefec36
AppImage: do not use -t short opt for tool
...
'-t' is already used by UG (capture), which disallows use like:
UltraGrid.AppUmage -t testcard
used '-o' instead
2022-05-12 13:37:02 +02:00
Martin Pulec
4cd5d9662f
AppImage: tool selection improvements
...
- accept '-t' alongside '--tool'
- show accept -t/--tool help
- use bold font
2022-05-10 11:16:10 +02:00
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