mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-05 11:50:04 -05:00
[meta] Create alpine APKBUILD for minimal libreoffice build
This commit is contained in:
@@ -0,0 +1,374 @@
|
||||
# Contributor: Jens Staal <staal1978@gmail.com>
|
||||
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
||||
# Contributor: Abhishek Shroff <shroff@kudosoft.net>
|
||||
# Maintainer: Abhishek Shroff <shroff@kudosoft.net>
|
||||
pkgname=libreoffice-nogui
|
||||
# "fresh" version. before, we used to package still, but community/ is only
|
||||
# supported for 6 months and fresh works perfectly okay for that, while being
|
||||
# more up to date and needing fewer dependency workarounds.
|
||||
pkgver=25.2.5.2
|
||||
pkgrel=0
|
||||
pkgdesc="Minimal LibreOffice for headless document conversion"
|
||||
url="https://www.libreoffice.org/"
|
||||
# armhf disabled due to requiring armv6k as minimum arm architecture
|
||||
# ppc64le: hangs forever in build on builders
|
||||
arch="x86_64 !ppc64le !s390x !armhf"
|
||||
license="MPL-2.0"
|
||||
makedepends="
|
||||
autoconf
|
||||
automake
|
||||
bash
|
||||
bison
|
||||
coreutils
|
||||
clucene-dev
|
||||
curl-dev
|
||||
flex
|
||||
fontconfig-dev
|
||||
findutils
|
||||
gettext-dev
|
||||
gperf
|
||||
libxslt-dev
|
||||
nss-dev
|
||||
nspr-dev
|
||||
nasm
|
||||
perl
|
||||
pkgconfig
|
||||
python3
|
||||
tar
|
||||
zip
|
||||
"
|
||||
|
||||
#gettext
|
||||
depends="
|
||||
clucene
|
||||
clucene-contribs
|
||||
curl
|
||||
libxslt
|
||||
"
|
||||
|
||||
_addsrcurl="https://dev-www.libreoffice.org/src"
|
||||
case $pkgver in
|
||||
*.*.*.*) _v=${pkgver%.*};;
|
||||
*.*.*) _v=$pkgver;;
|
||||
esac
|
||||
|
||||
# grep _TARBALL download.lst
|
||||
source="https://download.documentfoundation.org/libreoffice/src/$_v/libreoffice-$pkgver.tar.xz
|
||||
$_addsrcurl/1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz
|
||||
$_addsrcurl/5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz
|
||||
$_addsrcurl/e5be03eda13ef68aabab6e42aa67715e-redland-1.0.17.tar.gz
|
||||
$_addsrcurl/boost_1_86_0.tar.xz
|
||||
$_addsrcurl/box2d-2.4.1.tar.gz
|
||||
$_addsrcurl/cairo-1.17.6.tar.xz
|
||||
$_addsrcurl/cppunit-1.15.1.tar.gz
|
||||
$_addsrcurl/dragonbox-1.1.3.tar.gz
|
||||
$_addsrcurl/dtoa-20180411.tgz
|
||||
$_addsrcurl/expat-2.7.1.tar.xz
|
||||
$_addsrcurl/frozen-1.2.0.tar.gz
|
||||
$_addsrcurl/glm-1.0.1.zip
|
||||
$_addsrcurl/graphite2-minimal-1.3.14.tgz
|
||||
$_addsrcurl/harfbuzz-8.5.0.tar.xz
|
||||
$_addsrcurl/hunspell-1.7.2.tar.gz
|
||||
$_addsrcurl/icu4c-75_1-data.zip
|
||||
$_addsrcurl/icu4c-75_1-src.tgz
|
||||
$_addsrcurl/language-subtag-registry-2025-06-23.tar.bz2
|
||||
$_addsrcurl/lcms2-2.17.tar.gz
|
||||
$_addsrcurl/libabw-0.1.3.tar.xz
|
||||
$_addsrcurl/libcdr-0.1.8.tar.xz
|
||||
$_addsrcurl/libe-book-0.1.3.tar.xz
|
||||
$_addsrcurl/libepubgen-0.1.1.tar.xz
|
||||
$_addsrcurl/libetonyek-0.1.12.tar.xz
|
||||
$_addsrcurl/libexttextcat-3.4.7.tar.xz
|
||||
$_addsrcurl/libfreehand-0.1.2.tar.xz
|
||||
$_addsrcurl/libjpeg-turbo-2.1.5.1.tar.gz
|
||||
$_addsrcurl/liblangtag-0.6.7.tar.bz2
|
||||
$_addsrcurl/libmspub-0.1.4.tar.xz
|
||||
$_addsrcurl/libmwaw-0.3.22.tar.xz
|
||||
$_addsrcurl/libnumbertext-1.0.11.tar.xz
|
||||
$_addsrcurl/libodfgen-0.1.8.tar.xz
|
||||
$_addsrcurl/liborcus-0.19.2.tar.xz
|
||||
$_addsrcurl/libpagemaker-0.0.4.tar.xz
|
||||
$_addsrcurl/libpng-1.6.50.tar.xz
|
||||
$_addsrcurl/libqxp-0.0.2.tar.xz
|
||||
$_addsrcurl/librevenge-0.0.5.tar.bz2
|
||||
$_addsrcurl/libstaroffice-0.0.7.tar.xz
|
||||
$_addsrcurl/libvisio-0.1.8.tar.xz
|
||||
$_addsrcurl/libwebp-1.6.0.tar.gz
|
||||
$_addsrcurl/libwpd-0.10.3.tar.xz
|
||||
$_addsrcurl/libwpg-0.3.4.tar.xz
|
||||
$_addsrcurl/libwps-0.4.14.tar.xz
|
||||
$_addsrcurl/libzmf-0.0.2.tar.xz
|
||||
$_addsrcurl/mdds-2.1.1.tar.xz
|
||||
$_addsrcurl/mythes-1.2.5.tar.xz
|
||||
$_addsrcurl/phc-winner-argon2-20190702.tar.gz
|
||||
$_addsrcurl/pixman-0.42.2.tar.gz
|
||||
$_addsrcurl/raptor2-2.0.16.tar.gz
|
||||
$_addsrcurl/tiff-4.7.0.tar.xz
|
||||
$_addsrcurl/xmlsec1-1.3.6.tar.gz
|
||||
$_addsrcurl/zxcvbn-c-2.5.tar.gz
|
||||
https://dev-www.libreoffice.org/extern/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
|
||||
|
||||
linux-musl.patch
|
||||
musl-stacksize.patch
|
||||
musl-libintl.patch
|
||||
"
|
||||
options="!check" # todo, huge testsuite, not much value, ..
|
||||
|
||||
# secfixes:
|
||||
# 7.6.7.2-r0:
|
||||
# - CVE-2024-3044
|
||||
# 7.3.6.2-r0:
|
||||
# - CVE-2022-3140
|
||||
# 7.2.7.2-r0:
|
||||
# - CVE-2022-26305
|
||||
# - CVE-2022-26306
|
||||
# - CVE-2022-26307
|
||||
# 7.2.5.2-r0:
|
||||
# - CVE-2021-25636
|
||||
# 7.2.2.2-r0:
|
||||
# - CVE-2021-25631
|
||||
# - CVE-2021-25632
|
||||
# - CVE-2021-25633
|
||||
# - CVE-2021-25634
|
||||
# - CVE-2021-25635
|
||||
# 6.4.4.2-r0:
|
||||
# - CVE-2020-12802
|
||||
# - CVE-2020-12803
|
||||
# 6.4.3.2-r0:
|
||||
# - CVE-2020-12801
|
||||
# 6.3.1.2-r0:
|
||||
# - CVE-2019-9854
|
||||
# - CVE-2019-9855
|
||||
# 6.3.0.4-r0:
|
||||
# - CVE-2019-9850
|
||||
# - CVE-2019-9851
|
||||
# - CVE-2019-9852
|
||||
# 6.2.5.2-r0:
|
||||
# - CVE-2019-9848
|
||||
# - CVE-2019-9849
|
||||
|
||||
# help abuild find shared objects in rpath
|
||||
ldpath="/usr/lib/libreoffice/program"
|
||||
|
||||
unpack() {
|
||||
if [ -z "${force:-}" ]; then
|
||||
verify
|
||||
initdcheck
|
||||
fi
|
||||
mkdir -p "$srcdir"
|
||||
msg "Unpacking sources..."
|
||||
|
||||
local u
|
||||
for u in $source; do
|
||||
local s="$SRCDEST/$(filename_from_uri $u)"
|
||||
case $s in
|
||||
*/libreoffice-*.tar.xz)
|
||||
msg "Unpacking $s..."
|
||||
unxz -c "$s" | tar -C "$srcdir" -x ;;
|
||||
esac
|
||||
done
|
||||
mv $srcdir/libreoffice-$pkgver $srcdir/$pkgname-$pkgver
|
||||
}
|
||||
|
||||
prepare() {
|
||||
echo $(pwd)
|
||||
|
||||
# the build includes execinfo in some places, but patching it is quite hard
|
||||
# due to self-patching build system
|
||||
cat > include/execinfo.h <<-EOF
|
||||
/* nothing */
|
||||
EOF
|
||||
|
||||
default_prepare
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
# https://bugs.documentfoundation.org/show_bug.cgi?id=78174
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812
|
||||
# gcc with -Os will produce "undefined reference to non-virtual thunk to XXX"
|
||||
# errors. workaround by forcing -O2.
|
||||
# also this thing is huge and O2 makes more sense.
|
||||
#export CC=clang
|
||||
#export CXX=clang++
|
||||
export CFLAGS="${CFLAGS//-Os/-O2}"
|
||||
export CPPFLAGS="${CPPFLAGS//-Os/-O2}"
|
||||
export CXXFLAGS="${CXXFLAGS//-Os/-O2}"
|
||||
|
||||
case "$CARCH" in
|
||||
x86_64|aarch64)
|
||||
local lto="--enable-lto"
|
||||
;;
|
||||
esac
|
||||
|
||||
# force c++20 here since otherwise it's not set for abseil conftest
|
||||
export CXXFLAGS="$CXXFLAGS -std=c++20"
|
||||
|
||||
# configure contains bashism
|
||||
bash ./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--localstatedir=/var \
|
||||
--disable-dependency-tracking \
|
||||
--disable-online-update \
|
||||
--with-external-tar="$srcdir" \
|
||||
--enable-mergelibs \
|
||||
--enable-release-build \
|
||||
--with-lang="en-US" \
|
||||
--with-galleries="no" \
|
||||
--with-system-clucene \
|
||||
--with-system-curl \
|
||||
--with-theme="no" \
|
||||
--without-export-validation \
|
||||
--without-fonts \
|
||||
--without-help \
|
||||
--without-helppack-integration \
|
||||
--without-java \
|
||||
--without-junit \
|
||||
--without-krb5 \
|
||||
--without-lxml \
|
||||
--without-myspell-dicts \
|
||||
--without-system-dicts \
|
||||
--without-system-jars \
|
||||
--without-webdav \
|
||||
--disable-openssl \
|
||||
--disable-avahi \
|
||||
--disable-avmedia \
|
||||
--disable-cairo-canvas \
|
||||
--disable-coinmp \
|
||||
--disable-community-flavor \
|
||||
--disable-cups \
|
||||
--disable-cve-tests \
|
||||
--disable-dbus \
|
||||
--disable-dconf \
|
||||
--disable-evolution2 \
|
||||
--disable-dbgutil \
|
||||
--disable-eot \
|
||||
--disable-extensions \
|
||||
--disable-extension-integration \
|
||||
--disable-extension-update \
|
||||
--disable-firebird-sdbc \
|
||||
--disable-gdb-index \
|
||||
--disable-gio \
|
||||
--disable-gstreamer-1-0 \
|
||||
--disable-gtk3 \
|
||||
--disable-gui \
|
||||
--disable-gpgmepp \
|
||||
--disable-introspection \
|
||||
--disable-largefile \
|
||||
--disable-ldap \
|
||||
--disable-librelogo \
|
||||
--disable-libcmis \
|
||||
--disable-lotuswordpro \
|
||||
--disable-lpsolve \
|
||||
--disable-mariadb-sdbc \
|
||||
--disable-odk \
|
||||
--disable-ooenv \
|
||||
--disable-opencl \
|
||||
--disable-pch \
|
||||
--disable-pdfium \
|
||||
--disable-pdfimport \
|
||||
--disable-poppler \
|
||||
--disable-postgresql-sdbc \
|
||||
--disable-python \
|
||||
--disable-randr \
|
||||
--disable-report-builder \
|
||||
--disable-scripting-beanshell \
|
||||
--disable-scripting-javascript \
|
||||
--disable-sdremote \
|
||||
--disable-sdremote-bluetooth \
|
||||
--disable-skia \
|
||||
--disable-zxing \
|
||||
$lto
|
||||
|
||||
make build
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=$pkgdir distro-pack-install
|
||||
|
||||
instdir=$pkgdir/usr/lib/libreoffice
|
||||
keepdir=$tmpdir/keep
|
||||
|
||||
mkdir -p $keepdir
|
||||
echo "Removing unnecessary files"
|
||||
|
||||
mv $instdir/share/config/soffice.cfg/svt/ui $instdir/share/registry $keepdir
|
||||
rm -rf $instdir/help $instdir/readmes $instdir/share $instdir/CREDITS.fodt $instdir/LICENSE.html
|
||||
mkdir -p $instdir/share/config/soffice.cfg/svt
|
||||
mv $keepdir/registry $instdir/share
|
||||
mv $keepdir/ui $instdir/share/config/soffice.cfg/svt
|
||||
rm -rf $keepdir
|
||||
|
||||
ln -sf /usr/lib/libreoffice/program/soffice.bin $pkgdir/usr/bin/soffice
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
sha512sums="
|
||||
331514e0ac16901b4abf85de528907defeffcac66a1aea811626fb43a8fd9336a6294e7bf5821d569406fbfd65181a363b5f31cc38630ffaa8b3e5b0c8b22c4c libreoffice-25.2.5.2.tar.xz
|
||||
05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522 1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz
|
||||
ee514952be56869840b70fb74f60eba14dc4de246733ff8705492367e8cf00c485f8778a9d5a7ba374c988d4ac9fedbe75826dc559e1b62465dbfba21f6ce7de 5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz
|
||||
363323ffc9e75d4f0e3a3b40952f6241fd0d8b9f46bfd4dd86cf0a5162de35257a8b70ce408a6083c03ba7c388982231a3774e5e9024b262ebb02968f778b850 e5be03eda13ef68aabab6e42aa67715e-redland-1.0.17.tar.gz
|
||||
e92dd2d4b5a47b1dcb202d0aef3aa7362e91e2b9d9b07e79a1530dc701b2b3ea07edbdbafce5e2d5b0d3d11759b3589a1ee6e25e78cd21c47d1c108f24bc8ec2 boost_1_86_0.tar.xz
|
||||
d900f925b77906777719c91488bdc5e2df1ad1f4a8ca39a574229f5e57070e3a843bdd7530e817112605fde6d82145c872d8afdfc65b84531a73199098c81162 box2d-2.4.1.tar.gz
|
||||
15d9a82097b9c5a43071ff9fbfe90d7aaee5fddb84f519cdddfe312c5fc7248a50b73a5351922de2aaafa4b2e86f911b3147609538346f8a7635f34d631c9146 cairo-1.17.6.tar.xz
|
||||
0feb47faec451357bb4c4e287efa17bb60fd3ad966d5350e9f25b414aaab79e94921024b0c0497672f8d3eeb22a599213d2d71d9e1d28b243b3e37f3a9a43691 cppunit-1.15.1.tar.gz
|
||||
41ac356ebced3312c0f9ea0f07ff372337ab78af69071f63f63dc12bd2b0088d5d89aae3792276599dd0393bfdfd2b979946c43d36042e43105080bcdcbe089d dragonbox-1.1.3.tar.gz
|
||||
722aa814c33a34bfffe6c0201b0035cc3b65854a0ba9ae2f51620a89d68019353e2c306651b35bca337186b22b2e9865ef3c5e3df8e9328006f882e4577f8c85 dtoa-20180411.tgz
|
||||
4c9a6c1c1769d2c4404da083dd3013dbc73883da50e2b7353db2349a420e9b6d27cac7dbcb645991d6c7cdbf79bd88486fc1ac353084ce48e61081fb56e13d46 expat-2.7.1.tar.xz
|
||||
644b29f60458fc5193a3fb16a347c190f9694d1bdbc75202aafe8d43eb72ce0433bbeaeb692f8ca485000d68b451ddc0236a1880ebbd64477f73198043d046b3 frozen-1.2.0.tar.gz
|
||||
1195a62649523ea8382d343563293f15fadc97170ed86d073846c81a7fa8eec6ae94228e65df1beb1414eac00a8c2031b0b4f7fd623428fd30309d018aee62ad glm-1.0.1.zip
|
||||
93123a3051b70bdd43a51d8fac94b74bb4431a229b2ab9a05cdbea2ebc209507cf208277f592ef36c35a60af558edcd6960fabcc45f0b2af46f41b6d2b037865 graphite2-minimal-1.3.14.tgz
|
||||
d5762f77b0913792d34596e6f3adb98ab693e2ef928396f997ca2e647ca7cad13fdd204fa15b49e2f7c33320ff210d7f078215d5765c9365571458b919a4f10c harfbuzz-8.5.0.tar.xz
|
||||
49b3619bff12e111b6cc3f3d9463612b116f9b2a976896718e65f5bc4a83ece11100aaf56a4d18127ea39107446c495e12affe5ff3c9159ae8aba70e512f44ac hunspell-1.7.2.tar.gz
|
||||
fd0d0079d01cb089f2f34c52ab9374fa1ee1ba0c4a4969a3d15afc695d734ff7b9d0db1c99446fcd3733ad01f718003beba00705426692aca6ffe47cef19cc30 icu4c-75_1-data.zip
|
||||
70ea842f0d5f1f6c6b65696ac71d96848c4873f4d794bebc40fd87af2ad4ef064c61a786bf7bc430ce4713ec6deabb8cc1a8cc0212eab148cee2d498a3683e45 icu4c-75_1-src.tgz
|
||||
62ef846d8d960645fea165db81b9bf44ba136aa62a72b90ab1fc087a03d33e4080cdbf7dde5fcc68c71f2eeab770cf2b467d837a2f2e7ba3466301302dc2dc7d language-subtag-registry-2025-06-23.tar.bz2
|
||||
81885c70fb26a9b7d37a398f43ccb0d1d3ab8f43de7da8f760b26d053a0d7e0543e7d3b0cdcaf9b3b681a1b88f032134c5a3c1a6774a9abc66a8a3f10ba64398 lcms2-2.17.tar.gz
|
||||
0d2646e1bad1e11b3da43714ac5931fc67ffdbc4e7a25a44ef5b6e6a41de1e0ae14596b4a87cceb07bf56dbbe9344622b3d60afcb054ee0ab8577ca8e9b5c289 libabw-0.1.3.tar.xz
|
||||
5dc25ca80817c5d166c89264fb727a723c3439abb8ec655047c2c15bff0a48b87e7c6e3d6b203296964060bf5c2a71a11bceffbbc2f5eb3f61a209bef071a57a libcdr-0.1.8.tar.xz
|
||||
56dfa93816b8a1b7e223bda517ff81547fd7b311c3fe2bea64b12c4290642d4b9ed3778df06c4ee7a65f2b9db57702c00c32aec819efb7820115165af3d5ebdc libe-book-0.1.3.tar.xz
|
||||
9d911384672b5394ff1df3280a5c9fe12888530c41f177aa100f135954e2ec279b64193f8388f12c96f6a6e587483ce853e74fe45b29fb748a930512dd011c2b libepubgen-0.1.1.tar.xz
|
||||
7b194a3ba8fc5b83b27e69c9cb7ac26df3830a1d2d2e114b01bfd63cf144f41d8c3c238e39e67bb96101fa2ed80e6b41a328a7cdd70628bdd3b9b732576b0980 libetonyek-0.1.12.tar.xz
|
||||
ccd95061419aedd651c3b899fade6d3cc8ebf87ddfea622edecacd810798de8257829255e3cb3325fa2a0b9f54bc20d4e24b6596ae37891ed3fbe7c0425ff864 libexttextcat-3.4.7.tar.xz
|
||||
4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963 libfreehand-0.1.2.tar.xz
|
||||
86a7248d064043b26b09755633ef4872a2a6133c9e677a9fe4be6645b2e0fde102cf01e09119967b3b6b85f4cb93f3f7c49ec4973944d5eff99b5b90ce8b0be6 libjpeg-turbo-2.1.5.1.tar.gz
|
||||
3628728f46865507d8794c1e7286c6ca04fc49f905594ab76db7bd2c8d8f9fac1e33693314d56bca6fdd8f99b8d207e6e6d2f751474832ceb60a4cdbf10fed68 liblangtag-0.6.7.tar.bz2
|
||||
7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31 libmspub-0.1.4.tar.xz
|
||||
8682e7006430764cb825cd0bf4822ff42ea3035606e13a804afb9fa3c6dc583f34ae24cea226c1d31eae95224525289801c0afa3853adc6ab396bb9df34a60b4 libmwaw-0.3.22.tar.xz
|
||||
0c4d2b98d8cef46a2c51c4265f96ac2af6e58d3b8e63e7b6a40134e86d1dc7bec38e048abf227d1ebad7774ba8a6d68a1fac464739914b2d14786c309819c836 libnumbertext-1.0.11.tar.xz
|
||||
e4a15aa7f1db483cdbb9c531bfb234b4794890cc583c70e8aa3374771be8928e7917105d48dab80d1ab6d57e43fa78415097d9b897cb12fb2a609f4647ee99d6 libodfgen-0.1.8.tar.xz
|
||||
c955490f57e91615278a83bb48726025cd5f8059b97ed5532f770199e134ca511c7ee6b0cd0a9d3a2d54208a5fdd19117054e95e818162ea568052fa11b21d4e liborcus-0.19.2.tar.xz
|
||||
d9d9436622ae378da2a3c8e50a35b6133582a595c9ff0fe0e3b124fd0b83f1f12afdfc6a27d16b509ca9bab33067215d7300e505d4bf6b280be7e4bf46da6c64 libpagemaker-0.0.4.tar.xz
|
||||
05adc94ef532bbddaae46e087088a23236e6528fd3fc705c8edfb5ff293983b790d4361d6b20c20df73632a9fbe55d2f394296385cd8efd646f58393ff21257d libpng-1.6.50.tar.xz
|
||||
409d3df82ac522b39bdd0ef4f0a781b906e246a8e6f502009c095eea90d672c482a7fc5c7f998d89952bc598c6f51357346ed6df490c25cb48e1318e27c50dab libqxp-0.0.2.tar.xz
|
||||
45e084583501cffe4a3358a5b7c32f72d9796ac9aa41fea9b02842e73e432915f894f31298bbd22667d4c14a1aea5458ee9860e5ed83dd7b6d94fd28b579350f librevenge-0.0.5.tar.bz2
|
||||
fae873457a8018c1613667aa92771981503585513ab01bdbd2dd6d506ed4f72a7a8fdcfcb8953a46dfcb8fd902d2c9ef8ccd1a5ff15c83990a89847fb98009f8 libstaroffice-0.0.7.tar.xz
|
||||
f89e7cd08287f769936cfacdbdd95fe97a535cca63231c14e2637a8ee6a5e86c6de79b3858c08a5ab483e17cf06107af4fac9014f695b25fedad15f841efba53 libvisio-0.1.8.tar.xz
|
||||
5c159d9760efcb92749092536daada22c0a73c20926c76097a5f0448ddbf874cf761324ca97925ca5f578b30477564b2b072b47667e504673797128b31cafcbf libwebp-1.6.0.tar.gz
|
||||
df14f11e885a583218afdb0aafe8a15d01890289af8b316cd1d225e4a83996c82907fbfdde83257dc71d99bfbc5b21b2c96536f5a783748388659155dbdb8949 libwpd-0.10.3.tar.xz
|
||||
dcc34abc3cf8793dca579b2233e7c84d0ea53a7372c325678d81fbe52c700e6a8af32c4b17e490a39873a692d44ba7b3af68d605d87cef0be8ea13d2f7b95c0e libwpg-0.3.4.tar.xz
|
||||
bbf9047f35d1b42c2da8deee24116d6a3fb20749a4255d369b62967a99185f52f21dda3e1b385056c1924995f2a72b670960bb476f38c3bf78933e25ff4a5779 libwps-0.4.14.tar.xz
|
||||
ad4a8e65e85434e43caa239ff2a3f358c6db6411235c4bb73d8d2aa1527a4f411433370706db391f8f8110a36759249ee19b27be75bae5f361c491006d1b9aa2 libzmf-0.0.2.tar.xz
|
||||
5fe345e7d84d2e290a519d65b27332f69001c01da961c05a30abfe2a17cb8545822490bcd63b320d49e1b26291a4a898f77495951919aece83208133027848ea mdds-2.1.1.tar.xz
|
||||
304fd05619e0ae02c9c29d92a6ada8f4a85f41f331b87b8820728c1919f3dd9c5cd951dbef9a27e649466f94dc5daa19350c9fd09c90d49b198b73b1f9eb770e mythes-1.2.5.tar.xz
|
||||
0a4cb89e8e63399f7df069e2862ccd05308b7652bf4ab74372842f66bcc60776399e0eaf979a7b7e31436b5e6913fe5b0a6949549d8c82ebd06e0629b106e85f phc-winner-argon2-20190702.tar.gz
|
||||
0a4e327aef89c25f8cb474fbd01de834fd2a1b13fdf7db11ab72072082e45881cd16060673b59d02054b1711ae69c6e2395f6ae9214225ee7153939efcd2fa5d pixman-0.42.2.tar.gz
|
||||
9bd5cff36390e1e0ef15ac56e5413ecfceb4018cb531a4da8850d3623615f12a93690a78be61f9d9ae7a24e16f6446e356bc2b7f34051ddc077761d85a9b7c44 raptor2-2.0.16.tar.gz
|
||||
4234bc3d1a4de38587e21eb7d5785d6e11bc5f73c3d412dd44b9f7bcc42122d940ad017450a949dce5c3b270018829593202bff815a02d23268d9b9723266fe0 tiff-4.7.0.tar.xz
|
||||
f38ccc7af0026973a94b1b6f95accd70a2a2c4398985a0002c66d7b43bff6d6bcfb09ae62046cbdac82a0890622aead2df710cb0ab373c3bdf6159797613cdaa xmlsec1-1.3.6.tar.gz
|
||||
d7199b3cc36cd0e401bd8f857132425908307aefcdb1bb635ee81c34cf71ccbcdf0fe36a336a55da1281692b508881b54773afa41379a448863095f4abd5c0e8 zxcvbn-c-2.5.tar.gz
|
||||
6a6d131dad5191614950a49323ae6d9385afe331983c1c85fde82ce6ee816051d95dde9ef90658b8f0a8a0a21754e72ff724bf41f6b96c046b7b4c2660f7095b f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
|
||||
6789d1b4e5d9743b735c0773e35465398907394f4343f97ab3d0e4000debf3296c4865473c513408b9d335984c08fd422b2d8ae45c1cf774ed5481b975f2c248 linux-musl.patch
|
||||
ef81793640bc647e076687d317cd8554520cf376e6876b98d0ac6432089805092cb75c9fca99a0e03ccaf929e55f991cf26e698599641f20fd1efc81087a6fa4 musl-stacksize.patch
|
||||
d99d074e89e2713a3b6a56fa60d9d989ca6eefc8884ccbf88cb16c7b09da6dde4ba4ebc6a4d8408b61a08088df7cb1bcda60738f91e5569179fc45d7e9b901a3 musl-libintl.patch
|
||||
"
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -9421,7 +9421,7 @@
|
||||
test -d "$JAVA_HOME/include/native_thread" && JAVAINC="$JAVAINC -I$JAVA_HOME/include/native_thread"
|
||||
;;
|
||||
|
||||
- linux-gnu*)
|
||||
+ linux-gnu*|linux-musl*)
|
||||
JAVAINC="-I$JAVA_HOME/include"
|
||||
JAVAINC="$JAVAINC -I$JAVA_HOME/include/linux"
|
||||
test -d "$JAVA_HOME/include/native_thread" && JAVAINC="$JAVAINC -I$JAVA_HOME/include/native_thread"
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/unotools/Library_utl.mk b/unotools/Library_utl.mk
|
||||
index 0bfcbad..99acee1 100644
|
||||
--- a/unotools/Library_utl.mk
|
||||
+++ b/unotools/Library_utl.mk
|
||||
@@ -16,6 +16,10 @@ $(eval $(call gb_Library_use_externals,utl,\
|
||||
boost_locale \
|
||||
))
|
||||
|
||||
+$(eval $(call gb_Library_add_libs,utl,\
|
||||
+ -lintl \
|
||||
+))
|
||||
+
|
||||
$(eval $(call gb_Library_use_custom_headers,utl,\
|
||||
officecfg/registry \
|
||||
))
|
||||
@@ -0,0 +1,38 @@
|
||||
--- a/sal/osl/unx/thread.cxx
|
||||
+++ b/sal/osl/unx/thread.cxx
|
||||
@@ -252,7 +252,7 @@
|
||||
short nFlags)
|
||||
{
|
||||
Thread_Impl* pImpl;
|
||||
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
|
||||
+#if 1
|
||||
pthread_attr_t attr;
|
||||
size_t stacksize;
|
||||
#endif
|
||||
@@ -268,7 +268,7 @@
|
||||
|
||||
pthread_mutex_lock (&(pImpl->m_Lock));
|
||||
|
||||
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
|
||||
+#if 1
|
||||
if (pthread_attr_init(&attr) != 0)
|
||||
return nullptr;
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
|
||||
if ((nRet = pthread_create (
|
||||
&(pImpl->m_hThread),
|
||||
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
|
||||
+#if 1
|
||||
&attr,
|
||||
#else
|
||||
PTHREAD_ATTR_DEFAULT,
|
||||
@@ -305,7 +305,7 @@
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
|
||||
+#if 1
|
||||
pthread_attr_destroy(&attr);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user