libreoffice-bin: update to 7.5.4

This commit is contained in:
John McQuah 2023-06-09 15:53:00 -04:00
parent 13a9738ed6
commit 503e580730
4 changed files with 10631 additions and 10567 deletions

6
REPO
View File

@ -231,9 +231,9 @@ f:69f0af978af475763423ee7333e0a6d4:wezterm/wezterm.lua
f:da5d6c3fc9854d934694d35ba99c97c2:wezterm/.signature
f:97a2e22fa70c337a9f42c85f04d83b5b:wezterm/Pkgfile
f:1d592352de4fc7bf9f9be410dfaa5619:wezterm/.footprint
f:7804bf9462f21b6725154fa7e924501c:libreoffice-bin/.signature
f:f441cfdf5fbeb82e70cb17ced1de7f84:libreoffice-bin/Pkgfile
f:8e8c2595ab3613f699ffbe1c4f2855e1:libreoffice-bin/.footprint
f:e4edf727290bc99f7c8e486a60998434:libreoffice-bin/.signature
f:b84eeb5180339cfed8befea020448c15:libreoffice-bin/Pkgfile
f:0232e5ea38e770bfeb51c72484a655cc:libreoffice-bin/.footprint
f:6d00fd89381a70485b2d777c863d50e3:qrupdate/r33-complex-real.patch
f:bfe7fbd983f027324d35232f9ee3957a:qrupdate/.signature
f:c694ab87078e117980534457a9e0d47d:qrupdate/Pkgfile

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxH+bl6pGJwEwjLPqaax2N+q6GBArukNvyN/V0lbP/QnVS8TSdZA/NkUnJE+tpiMDxArl5BapYsuWIkqvodP/MAo=
SHA256 (Pkgfile) = 1c271599fa63abf9852b8016b80d7847746a3224f87245c8cf7e70f9ba309a09
SHA256 (.footprint) = 5821394f4fd31a4c5713bdf1ad410648ca7cabf88abde2b4c098cd0d86ec99a0
SHA256 (LibreOffice_7.4.6_Linux_x86-64_rpm.tar.gz) = 59e9cc78211ac7c8b40cebdbb797d78317eb311356e26ab7caebdb8ab9c4712c
RWTTPlFarK9CxKdqU/ncSAzCXT5jkT4L+wKYN/vO0v6ein6U0RMbCc+JfTjLZr0RUJzCxpnhfA8hKQUdnwixU+85An2ha5HNhAU=
SHA256 (Pkgfile) = be3f430dd6bd1e7460567644b801852e683109fef373d603c77c036f69d6dde8
SHA256 (.footprint) = 2301c67e7700ea479dd3d9801219b22ce4de16983b983c8b095879850adc151f
SHA256 (LibreOffice_7.5.4_Linux_x86-64_rpm.tar.gz) = f2d8e35fdfc1ac787ea23f004807d69037ae09704dd8e5df89c9d2c38a1aae84

View File

@ -5,43 +5,49 @@
# Optional: qt5 sane
name=libreoffice-bin
Name=LibreOffice
version=7.4.6
version=7.5.4
release=1
source=(https://download.documentfoundation.org/${name%-bin}/stable/$version/rpm/x86_64/${Name}_${version}_Linux_x86-64_rpm.tar.gz)
source=(https://download.documentfoundation.org/${name%-bin}/stable/$version/rpm/x86_64/LibreOffice_${version}_Linux_x86-64_rpm.tar.gz)
build() {
cd ${Name}*/RPMS
cd LibreOffice*/RPMS
for RPM in *.rpm; do
[[ $RPM =~ "-firebird-" ]] && continue
[[ $RPM =~ "-report-builder-" ]] && continue
[[ $RPM =~ "-mediawiki-" ]] && continue
[[ $RPM =~ "-onlineupdate-" ]] && continue
[[ $RPM =~ "-kde-integration-" ]] && continue
[[ $RPM =~ "-postgresql-" ]] && continue
[[ $RPM =~ "-nlpsolver-" ]] && continue
[[ $RPM =~ "-ooofonts-" ]] && continue
[[ $RPM =~ "-ogltrans-" ]] && continue
[[ $RPM =~ "-javascript-" ]] && continue
[[ $RPM =~ "-beanshell-" ]] && continue
[[ $RPM =~ "-dict-" ]] && [[ ! $RPM =~ "-dict-${LANG:0:2}" ]] && continue
bsdtar -p -C $PKG -xf "$RPM"
case $RPM in
*-firebird-*) ;;
*-report-builder-*) ;;
*-mediawiki-*) ;;
*-onlineupdate-*) ;;
*-kde-integration-*) ;;
*-postgresql-*) ;;
*-nlpsolver-*) ;;
*-ooofonts-*) ;;
*-ooolinguistic-*) ;;
*-ogltrans-*) ;;
*-javascript-*) ;;
*-beanshell-*) ;;
*-dict-*)
[[ $RPM =~ "-dict-${LANG:0:2}" ]] && bsdtar -p -C $PKG -xf "$RPM"
;;
*)
bsdtar -p -C $PKG -xf "$RPM"
;;
esac
done
mv "$PKG/opt" "$PKG/usr/lib"
find "$PKG" -type d -perm 700 -exec chmod 755 {} +
rm -f "$PKG/usr/bin/libreoffice7.4"
ln -s ../lib/libreoffice7.4/program/soffice "$PKG/usr/bin/libreoffice7.4"
rm -f "$PKG/usr/bin/libreoffice7.5"
ln -s ../lib/libreoffice7.5/program/soffice "$PKG/usr/bin/libreoffice7.5"
rm -f "$PKG"/usr/share/applications/*.desktop
cd "$PKG"/usr/share/applications
for APP in ../../lib/libreoffice7.4/share/xdg/*.desktop; do
ln -sf $APP libreoffice7.4-${APP##*/}
for APP in ../../lib/libreoffice7.5/share/xdg/*.desktop; do
ln -sf $APP libreoffice7.5-${APP##*/}
done
# clean up junk files
rm -rf "$PKG"/usr/lib/libreoffice7.4/readmes
rm -rf "$PKG"/usr/lib/libreoffice7.5/readmes
find "$PKG" \( -name "README*" -o -name "LICENSE*" -o -name "NOTICE*" \
-o -name "COPYING*" \) -delete
find "$PKG" -name "wininst*.exe" -delete