libreoffice-bin: commit version 7.3.5.2
This commit is contained in:
parent
6fd48afd54
commit
aadc03f79b
8
REPO
8
REPO
@ -47,6 +47,7 @@ d:python3-openpyxl
|
|||||||
d:libde265
|
d:libde265
|
||||||
d:wezterm
|
d:wezterm
|
||||||
d:geany
|
d:geany
|
||||||
|
d:libreoffice-bin
|
||||||
d:qhull
|
d:qhull
|
||||||
d:qrupdate
|
d:qrupdate
|
||||||
d:libdispatch
|
d:libdispatch
|
||||||
@ -173,8 +174,8 @@ f:5fe4beb88a8acd63b4b235f5a0c019d2:libtimidity/.footprint
|
|||||||
f:a5531464a3ae0e5987dc4e5b5afb7bab:zathura-ps/.signature
|
f:a5531464a3ae0e5987dc4e5b5afb7bab:zathura-ps/.signature
|
||||||
f:f7b7fe3cfcb15bb430c8256a797a9c3a:zathura-ps/Pkgfile
|
f:f7b7fe3cfcb15bb430c8256a797a9c3a:zathura-ps/Pkgfile
|
||||||
f:dc946177c3e1057591b8951b35cefb57:zathura-ps/.footprint
|
f:dc946177c3e1057591b8951b35cefb57:zathura-ps/.footprint
|
||||||
f:d94c094b537bf93221e7ecf1110a9584:gnuplot-qt5/.signature
|
f:a8ec14cfd935a6506a596f74142a4495:gnuplot-qt5/.signature
|
||||||
f:2e1ab848909639f9da00dac23782f0bf:gnuplot-qt5/Pkgfile
|
f:e23641ff975f1df2c46d64e981b9bd4f:gnuplot-qt5/Pkgfile
|
||||||
f:cc51ccf0855d1f9a802c148c127d414c:gnuplot-qt5/.footprint
|
f:cc51ccf0855d1f9a802c148c127d414c:gnuplot-qt5/.footprint
|
||||||
f:62b29c353146c16655ad788c14677762:sundials/sundials-fix-cmake-targets.patch
|
f:62b29c353146c16655ad788c14677762:sundials/sundials-fix-cmake-targets.patch
|
||||||
f:5d5d948027c591547dd0e979a225d62f:sundials/.signature
|
f:5d5d948027c591547dd0e979a225d62f:sundials/.signature
|
||||||
@ -234,6 +235,9 @@ f:1d592352de4fc7bf9f9be410dfaa5619:wezterm/.footprint
|
|||||||
f:d043b24a83709648d2c9ce50f5aca1c2:geany/.signature
|
f:d043b24a83709648d2c9ce50f5aca1c2:geany/.signature
|
||||||
f:9d03d3bfd648354b24ed899495efdb16:geany/Pkgfile
|
f:9d03d3bfd648354b24ed899495efdb16:geany/Pkgfile
|
||||||
f:7b53597c81a09afcb5ba1b4dfa8e140b:geany/.footprint
|
f:7b53597c81a09afcb5ba1b4dfa8e140b:geany/.footprint
|
||||||
|
f:2f9b7262fe305cb10f39077f481cb2b1:libreoffice-bin/.signature
|
||||||
|
f:5f13ff6090d27fb8690cfa38fddc2801:libreoffice-bin/Pkgfile
|
||||||
|
f:fa7436cd053412a79b79af737926b514:libreoffice-bin/.footprint
|
||||||
f:9cc1e0d3df2cb84ab9ff0c81dd5a1699:qhull/.signature
|
f:9cc1e0d3df2cb84ab9ff0c81dd5a1699:qhull/.signature
|
||||||
f:4d2e2d7d9cfcb0d5f55d76e232131149:qhull/Pkgfile
|
f:4d2e2d7d9cfcb0d5f55d76e232131149:qhull/Pkgfile
|
||||||
f:9eeac2eb669de8af5ecdcf0095745a45:qhull/.footprint
|
f:9eeac2eb669de8af5ecdcf0095745a45:qhull/.footprint
|
||||||
|
10528
libreoffice-bin/.footprint
Normal file
10528
libreoffice-bin/.footprint
Normal file
File diff suppressed because it is too large
Load Diff
5
libreoffice-bin/.signature
Normal file
5
libreoffice-bin/.signature
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
untrusted comment: verify with /etc/ports/jmq.pub
|
||||||
|
RWTTPlFarK9CxKXeAZO/qqztCpliEUrbMXgj8VpJpv+Yc7MedL6K9eg0zmgSLUTDmqb0+SbHrEtcMIPDaEmaynRdzfg6sUQinwI=
|
||||||
|
SHA256 (Pkgfile) = b4ee8e4ebbdfc84f0fd4a24230629a7b0befb5aa9f79f781d53325483ae24002
|
||||||
|
SHA256 (.footprint) = aaf0436ca09e2ad42d1512c8342b2ab46af4d6dbc964e11d141206c16ad7b650
|
||||||
|
SHA256 (LibreOffice_7.3.5_Linux_x86-64_rpm.tar.gz) = f6305e17b33abd2e69a84ee0f3c567ab48834c7608a5d0958eccefb0df6e992a
|
47
libreoffice-bin/Pkgfile
Normal file
47
libreoffice-bin/Pkgfile
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Description: a powerful office suite, compiled upstream
|
||||||
|
# URL: https://www.libreoffice.org/
|
||||||
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||||
|
# Depends on: gtk3 freetype
|
||||||
|
# Optional: avahi cups sane
|
||||||
|
|
||||||
|
name=libreoffice-bin
|
||||||
|
Name=LibreOffice
|
||||||
|
version=7.3.5.2
|
||||||
|
release=1
|
||||||
|
source=(https://downloadarchive.documentfoundation.org/${name%-bin}/stable/$version/rpm/x86_64/${Name}_${version%.*}_Linux_x86-64_rpm.tar.gz)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${Name}*/RPMS
|
||||||
|
|
||||||
|
for RPM in *.rpm; do
|
||||||
|
[[ $RPM =~ "-firebird-" ]] && continue
|
||||||
|
[[ $RPM =~ "-report-builder-" ]] && continue
|
||||||
|
[[ $RPM =~ "-mediawiki-" ]] && continue
|
||||||
|
[[ $RPM =~ "-onlineupdate-" ]] && continue
|
||||||
|
[[ $RPM =~ "-postgresql-" ]] && continue
|
||||||
|
[[ $RPM =~ "-nlpsolver-" ]] && continue
|
||||||
|
[[ $RPM =~ "-ooofonts-" ]] && continue
|
||||||
|
[[ $RPM =~ "-ogltrans-" ]] && continue
|
||||||
|
[[ $RPM =~ "-javascript-" ]] && continue
|
||||||
|
[[ $RPM =~ "-dict-" ]] && [[ ! $RPM =~ "-dict-${LANG:0:2}" ]] && continue
|
||||||
|
bsdtar -p -C $PKG -xf "$RPM"
|
||||||
|
done
|
||||||
|
|
||||||
|
mv "$PKG/opt" "$PKG/usr/lib"
|
||||||
|
find "$PKG" -type d -perm 700 -exec chmod 755 {} +
|
||||||
|
|
||||||
|
mkdir -p "$PKG/usr/bin" && cd "$PKG/usr/bin"
|
||||||
|
rm -f libreoffice7.3
|
||||||
|
ln -sf ../lib/libreoffice7.3/program/soffice soffice
|
||||||
|
ln -sf ../lib/libreoffice7.3/program/soffice libreoffice
|
||||||
|
rm -f "$PKG"/usr/share/applications/*.desktop
|
||||||
|
cd "$PKG"/usr/share/applications
|
||||||
|
for APP in ../../lib/libreoffice7.3/share/xdg/*.desktop; do
|
||||||
|
ln -sf $APP libreoffice7.3-${APP##*/}
|
||||||
|
done
|
||||||
|
|
||||||
|
# clean up junk files
|
||||||
|
rm -rf "$PKG"/usr/lib/libreoffice7.3/readmes
|
||||||
|
find "$PKG" \( -name "README*" -o -name "LICENSE*" -o -name "NOTICE*" -o -name "COPYING*" \) -exec rm {} +
|
||||||
|
find "$PKG" -name "wininst*.exe" -exec rm {} +
|
||||||
|
}
|
26
libreoffice-bin/README.md
Normal file
26
libreoffice-bin/README.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# libreoffice-bin README.md
|
||||||
|
|
||||||
|
This port is provided as a convenience for users who cannot dedicate the time
|
||||||
|
to a huge compilation project. All the needed libraries aside from gtk3 and freetype
|
||||||
|
are bundled in the tarball. These libraries include duplicates of packages you
|
||||||
|
might already have installed, such as lcms2 and libxml2. The contrib/libreoffice
|
||||||
|
port creates a less-redundant footprint, and binaries that respect your pkgmk optimization
|
||||||
|
settings, at the expense of greater compilation time.
|
||||||
|
|
||||||
|
## Extensions not included
|
||||||
|
|
||||||
|
Some of the RPMs in the tarball are omitted from the installation, for the sake of a lighter
|
||||||
|
footprint. If you want such features as mediawiki-publisher or nlpsolver, you can simply delete
|
||||||
|
those tests from the Pkgfile and run ``pkgmk -is``. Better yet, create your own port that depends
|
||||||
|
on libreoffice-bin and uses the same source array, but installs only the desired extensions.
|
||||||
|
|
||||||
|
## Selective installation of dictionaries
|
||||||
|
|
||||||
|
The Pkgfile will use the value of $LANG to determine which dictionaries, if any, to install.
|
||||||
|
* If your value of $LANG does *not* begin with {en, es, fr}, then none of the dictionaries in the
|
||||||
|
upstream tarball will be unpacked. In that case you are encouraged to create a new port that
|
||||||
|
downloads the appropriate language pack from libreoffice.org and uses the same installation
|
||||||
|
directory (/usr/lib/libreoffice7.3).
|
||||||
|
* If your value of $LANG *does* begin with {en, es, fr}, then that dictionary in the upstream
|
||||||
|
tarball will be unpacked, and you will get a footprint mismatch, warning about NEW files.
|
||||||
|
Setting PKGMK_IGNORE_NEW=yes should be enough to allow the installation to proceed.
|
Loading…
Reference in New Issue
Block a user