mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
editors/linux-r7-office: Update to 2024.1.1
Sponsored by: Serenity Cybersecurity, LLC
This commit is contained in:
parent
9668ed2750
commit
49f6973fc6
@ -1,10 +1,10 @@
|
||||
PORTNAME= r7-office
|
||||
PORTVERSION= 7.2.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2024.1.1
|
||||
DISTVERSIONSUFFIX= -373.el8
|
||||
CATEGORIES= editors linux russian
|
||||
MASTER_SITES= https://download.r7-office.ru/ubuntu/
|
||||
DISTNAME= r7-office
|
||||
EXTRACT_SUFX= .deb
|
||||
MASTER_SITES= https://download.r7-office.ru/centos/
|
||||
PKGNAMEPREFIX= linux-
|
||||
EXTRACT_SUFX= .x86_64.rpm
|
||||
|
||||
MAINTAINER= arrowd@FreeBSD.org
|
||||
COMMENT= Russian office suite
|
||||
@ -17,24 +17,20 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
||||
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
|
||||
USES= desktop-file-utils linux shebangfix tar:xz
|
||||
USES= desktop-file-utils linux:rl9 shared-mime-info shebangfix tar:xz
|
||||
|
||||
USE_LINUX= alsalib base cups-libs gtk3 pulseaudio-libs systemd-libs nss \
|
||||
xorglibs
|
||||
|
||||
SHEBANG_FILES= opt/r7-office/desktopeditors/converter/.system/check.sh
|
||||
USE_LINUX= alsalib base cups-libs curl gstreamer1-libav gtk3 opus \
|
||||
pulseaudio-libs nss p11-kit systemd-libs xorglibs
|
||||
|
||||
WRKSRC= ${WRKDIR}
|
||||
NO_BUILD= yes
|
||||
PLIST_SUB= LINUXBASE=${LINUXBASE}
|
||||
STRIP=
|
||||
|
||||
post-extract:
|
||||
cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} data.tar.xz ${EXTRACT_AFTER_ARGS}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -i '' 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKDIR}/usr/bin/r7-office-*
|
||||
${REINPLACE_CMD} -i '' 's|/usr/bin/|${PREFIX}/bin/|' ${WRKDIR}/usr/share/applications/*.desktop
|
||||
${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKDIR}/usr/bin/r7-office-*
|
||||
${REINPLACE_CMD} -i '' -e 's|/usr/bin/|${PREFIX}/bin/|' -e 's|P7|Р7|' \
|
||||
${WRKDIR}/usr/share/applications/*.desktop
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/r7-office-* ${STAGEDIR}${PREFIX}/bin/
|
||||
@ -45,7 +41,9 @@ do-install:
|
||||
${RLN} ${STAGEDIR}${DATADIR}/desktopeditors/asc-de-256.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/r7-office.png
|
||||
|
||||
${RM} ${STAGEDIR}${PREFIX}/bin/*.orig
|
||||
${RM} ${STAGEDIR}${PREFIX}/share/flyfm/templates/.source/*
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/flyfm/templates/.source
|
||||
.for f in new.docx new.pptx new.xlsx
|
||||
${RLN} ${STAGEDIR}${DATADIR}/desktopeditors/converter/empty/${f} \
|
||||
${STAGEDIR}${PREFIX}/share/flyfm/templates/.source/${f}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1676999432
|
||||
SHA256 (r7-office.deb) = 2a0b8162eab6daeac762bb50f692f3496f69dc0d3a472e7f50465cde8eb45dc3
|
||||
SIZE (r7-office.deb) = 243536212
|
||||
TIMESTAMP = 1706868245
|
||||
SHA256 (r7-office-2024.1.1-373.el8.x86_64.rpm) = c91b0d51926495d39147738e04053c1144437f7876552da4227418c820fa21a2
|
||||
SIZE (r7-office-2024.1.1-373.el8.x86_64.rpm) = 365874925
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- usr/bin/r7-office-desktopeditors.orig 2022-12-11 00:52:25 UTC
|
||||
--- usr/bin/r7-office-desktopeditors.orig 2023-06-30 12:57:17 UTC
|
||||
+++ usr/bin/r7-office-desktopeditors
|
||||
@@ -73,7 +73,7 @@ check_templates() {
|
||||
@@ -72,7 +72,7 @@ check_templates() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
set_names_ru
|
||||
|
||||
@@ -107,8 +107,9 @@ check_templates "$@"
|
||||
@@ -106,6 +106,14 @@ check_templates() {
|
||||
|
||||
check_templates "$@"
|
||||
|
||||
@ -17,7 +17,12 @@
|
||||
-DIR_MV=/opt/r7-office/mediaviewer
|
||||
+DIR=%%LOCALBASE%%/share/r7-office/desktopeditors
|
||||
+DIR_MV=%%LOCALBASE%%/share/r7-office/mediaviewer
|
||||
export LD_LIBRARY_PATH=$DIR:$DIR/converter:$DIR_MV:$LD_LIBRARY_PATH
|
||||
export VLC_PLUGIN_PATH=$DIR_MV/plugins
|
||||
+
|
||||
+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 "$@"
|
||||
|
@ -1,10 +1,16 @@
|
||||
--- usr/bin/r7-office-imageviewer.orig 2022-12-11 00:52:25 UTC
|
||||
--- usr/bin/r7-office-imageviewer.orig 2023-06-30 12:57:17 UTC
|
||||
+++ usr/bin/r7-office-imageviewer
|
||||
@@ -1,5 +1,6 @@
|
||||
@@ -1,4 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
-DIR=/opt/r7-office/mediaviewer
|
||||
+DIR=%%LOCALBASE%%/share/r7-office/mediaviewer
|
||||
export LD_LIBRARY_PATH=$DIR:$LD_LIBRARY_PATH
|
||||
+
|
||||
+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 "$@"
|
||||
|
@ -1,10 +1,16 @@
|
||||
--- usr/bin/r7-office-videoplayer.orig 2022-12-11 00:52:25 UTC
|
||||
--- usr/bin/r7-office-videoplayer.orig 2023-06-30 12:57:17 UTC
|
||||
+++ usr/bin/r7-office-videoplayer
|
||||
@@ -1,5 +1,6 @@
|
||||
@@ -1,4 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
-DIR=/opt/r7-office/mediaviewer
|
||||
+DIR=%%LOCALBASE%%/share/r7-office/mediaviewer
|
||||
export LD_LIBRARY_PATH=$DIR:$LD_LIBRARY_PATH
|
||||
+
|
||||
+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/VideoPlayer "$@"
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user