mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
28 lines
822 B
Text
28 lines
822 B
Text
--- usr/bin/r7-office-desktopeditors.orig 2023-06-30 12:57:17 UTC
|
|
+++ usr/bin/r7-office-desktopeditors
|
|
@@ -72,7 +72,7 @@ check_templates() {
|
|
return 0
|
|
fi
|
|
|
|
- SOURCE_DOC_DIR="/opt/r7-office/desktopeditors/converter/empty"
|
|
+ SOURCE_DOC_DIR="%%LOCALBASE%%/share/r7-office/desktopeditors/converter/empty"
|
|
|
|
set_names_ru
|
|
|
|
@@ -106,6 +106,14 @@ check_templates() {
|
|
|
|
check_templates "$@"
|
|
|
|
-DIR=/opt/r7-office/desktopeditors
|
|
-DIR_MV=/opt/r7-office/mediaviewer
|
|
+DIR=%%LOCALBASE%%/share/r7-office/desktopeditors
|
|
+DIR_MV=%%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/DesktopEditors "$@"
|