ports/editors/linux-r7-office/files/patch-usr_bin_r7-office-imageviewer
Dima Panov 49f6973fc6 editors/linux-r7-office: Update to 2024.1.1
Sponsored by:	Serenity Cybersecurity, LLC
2024-05-12 13:01:20 +03:00

16 lines
458 B
Text

--- usr/bin/r7-office-imageviewer.orig 2023-06-30 12:57:17 UTC
+++ usr/bin/r7-office-imageviewer
@@ -1,4 +1,12 @@
#!/bin/sh
-DIR=/opt/r7-office/mediaviewer
+DIR=%%LOCALBASE%%/share/r7-office/mediaviewer
+
+export LIBGL_DRI3_DISABLE=1
+export LANG=ru_RU.UTF-8
+export LC_CTYPE=ru_RU.UTF-8
+
+export LD_LIBRARY_PATH=$DIR:$DIR/R7Modules:$DIR/converter:$DIR_MV:$UDEV_PATH:$LD_LIBRARY_PATH
+export VLC_PLUGIN_PATH=$DIR_MV/plugins
+
exec $DIR/ImageViewer "$@"