parent
ca1162689a
commit
9612d622e4
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
||||||
DIST kontrast-21.04.1.tar.xz 123064 BLAKE2B d0daec7b5507249812aeae354bf6dfd8aa301629bc124dcb63b768ab1114332165a847065d0071a01fb6b204bb0b75ba625685cc1ef53ccb60acc347a3b4cfd1 SHA512 362ca9211e6540dd983c392e8abb3fc655ed54f07bd448b0b6fb58e9d230dc1cab7c3813929f86b16b5ad9b72c2925780344bc2a30e48f48a957f0381ed3b27a
|
DIST kontrast-21.04.2.tar.xz 123756 BLAKE2B db8c244dc793ea5bd3377cfacc16ac8a52118d317f97be90513476d99029b972adcad4964605f987e40efd697b300ebb777b0cf6ae1567ca5146e246256303ea SHA512 fb277eee121edd36fd05bfdd6b2758bc98b4026c56dc0c5523a47ca2ac958e34b37c785c5b63dbf1dd46a5e625fd33d130d66c72d5857769f71baa136c02dcdd
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST ansible-lint-5.0.2.tar.gz 331359 BLAKE2B e86a1bce18d3a04fa4d895e9f8650f6853d706588bcfa564ee8245a63a6779cc00737351807d0bc3fdd624c348275afda15d3834faa2efd01b2383115864f7a6 SHA512 760da7574db68d351a4a834d7963840ebe61c72df62db220f2c3e894f0906a193783821823621f64eb7d2f16f6f226f748ff03f068beb14fa43ca009ab0df539
|
DIST ansible-lint-5.0.12.tar.gz 348478 BLAKE2B 3ea2a0adb82bd21322fa9a2d4c8dd4f41345f909401341748e8395aa8acf92bfc8058ee679a594c886327480bb808e69622e874c9def97c406265a0828a314eb SHA512 06b84d098253ab70f9c3fb59e1d2ba4d30918f1e7c6f3decc8f73fe8cdb7d697527eff3efcc7238fc952bc07b7179d37582d5fb9968e691e2df5495741802404
|
||||||
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||||
|
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/aws-cli-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+1).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests --install nose
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
nosetests -v tests/{functional,unit} ||
|
||||||
|
die "Tests failed for ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
|
DIST dolphin-plugins-20.12.3.tar.xz 239340 BLAKE2B 141e5d2bb6190edaef98cec2a271e41b916966118300d69f4eb5e7da15e51730476f23a20312b76fca0fc1490501e83528b4f0cb62f9f6c64e4caf5ac5b2cd37 SHA512 1d5303e92d912bc80c5260263b081205d36372f1f15205ebd3e705697a114f8481edd1ad31004d7906c3088d43a74cb1e33dac6e1196c247e702a544d67db11b
|
||||||
DIST dolphin-plugins-21.04.1.tar.xz 247356 BLAKE2B 9dae16c07b7f1bf1bc3d33f2a9b32f52f18efb5cb73e82f4b35099dc38b9ecb31a1ec7f06c403d498b7f8f949de23f4ba2289c9efb7f67c19bff6d59595bafe9 SHA512 62ccbc3d8870f3352073299762d4ec6b8faf15a77a3530a6a93562ee776aded3a73a4d767523371c22fb7dec6c2ec8a1e9263ba2399a8fee7b20fc14c10ecf3a
|
DIST dolphin-plugins-21.04.2.tar.xz 253184 BLAKE2B 2ca0bdbdd1e658bd54a95790d722e23817aca2af1bff16b5056686e58b5ce60aeaecba05ec3a2faf69ccf4d1c4dd7ee91f59cec37da3693917ed9144c4e48ae2 SHA512 379e87f0ee28dd414c1ffe1f2e7775681cf639cda72a6357c357f2a7a30aefee77cfc8b52cb4030ff68555a38d0abf428ac155cbd2d3263ac55b4f41b9ae1fda
|
||||||
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST qca-2.3.2.tar.xz 735500 BLAKE2B 559b27c48c756f2b4f4f206d2157c90ae4856610f1539b4162a2bffe7fffe19b5c768d3d3f9d0486d2098fb403eb64372515815f49fd428d22dfc0405d99e435 SHA512 da6415a097c99b878f45730c1dd1e0bfc7f96858ad7018918ac7c2ae2eca830cb73e131173b1018ee4caa6c3a504b80c8ad28f8f9448c2fd1593161c2ac8aad4
|
DIST qca-2.3.2.tar.xz 735500 BLAKE2B 559b27c48c756f2b4f4f206d2157c90ae4856610f1539b4162a2bffe7fffe19b5c768d3d3f9d0486d2098fb403eb64372515815f49fd428d22dfc0405d99e435 SHA512 da6415a097c99b878f45730c1dd1e0bfc7f96858ad7018918ac7c2ae2eca830cb73e131173b1018ee4caa6c3a504b80c8ad28f8f9448c2fd1593161c2ac8aad4
|
||||||
|
DIST qca-2.3.3.tar.xz 736456 BLAKE2B f0812fd33bd19293c8034e48bcf214d2d70dc1397860779c2c145fe841365384a8eb6bad9859520d32104010acb0cefb97e3a974b9852a37ca8039d52d9dbd03 SHA512 9a262350502daa1dd10802a7a24f0e4712d87d4ddcf752452a51caa8694a30835672f54f8e600aa8dc4afdac9ef073641deed52a24423e304d18ad2b83deeca6
|
||||||
|
@ -0,0 +1,82 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit kde.org cmake qmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Qt Cryptographic Architecture (QCA)"
|
||||||
|
HOMEPAGE="https://userbase.kde.org/QCA"
|
||||||
|
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
||||||
|
IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
botan? ( dev-libs/botan:= )
|
||||||
|
gcrypt? ( dev-libs/libgcrypt:= )
|
||||||
|
gpg? ( app-crypt/gnupg )
|
||||||
|
nss? ( dev-libs/nss )
|
||||||
|
pkcs11? (
|
||||||
|
>=dev-libs/openssl-1.1
|
||||||
|
dev-libs/pkcs11-helper
|
||||||
|
)
|
||||||
|
sasl? ( dev-libs/cyrus-sasl:2 )
|
||||||
|
ssl? ( >=dev-libs/openssl-1.1:0= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
dev-qt/qttest:5
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="doc? ( app-doc/doxygen )"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${PN}-disable-pgp-test.patch" )
|
||||||
|
|
||||||
|
qca_plugin_use() {
|
||||||
|
echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1")
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt5_get_mkspecsdir)/features"
|
||||||
|
-DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt5_get_plugindir)"
|
||||||
|
$(qca_plugin_use botan)
|
||||||
|
$(qca_plugin_use gcrypt)
|
||||||
|
$(qca_plugin_use gpg gnupg)
|
||||||
|
$(qca_plugin_use logger)
|
||||||
|
$(qca_plugin_use nss)
|
||||||
|
$(qca_plugin_use pkcs11)
|
||||||
|
$(qca_plugin_use sasl cyrus-sasl)
|
||||||
|
$(qca_plugin_use softstore)
|
||||||
|
$(qca_plugin_use ssl ossl)
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
|
||||||
|
cmake_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
pushd "${BUILD_DIR}" >/dev/null || die
|
||||||
|
doxygen Doxyfile || die
|
||||||
|
dodoc -r apidocs/html
|
||||||
|
popd >/dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
dodoc -r "${S}"/examples
|
||||||
|
fi
|
||||||
|
}
|
@ -1,3 +1,3 @@
|
|||||||
DIST tpm2-tss-2.4.3.tar.gz 1439120 BLAKE2B 21acce29f96e8039124874c024b43eb8d2c4ffda27db58bb4f34446747c0fa6953c6ca390f8e87d22c1349123bada81051b119eaf7a28c7d1ad8a9195287c312 SHA512 4adaeb2724b720017e9d488f66de879ebdc0dbc2a4f7536493214913a49d2c631e302be26f710f0f45b0d514212cb036ca7ba9715ee13c29dda1d4a61595aa27
|
|
||||||
DIST tpm2-tss-2.4.5.tar.gz 1439394 BLAKE2B 644d917f545e93dd81856611522329caf4ff038e4ddb04d761f03339cc7308095abc1c9b46a4d601cad67deea6f917ee5e4236c59f3d7042a7fdf2d33630dd3f SHA512 2c92af07ed1cc3665c19479c00ce5608883081f311192a264a4f7d9119c75ac582596c53b910534c4b66dbb60de2ffd3d6218169748332609c2e0fc89f519259
|
DIST tpm2-tss-2.4.5.tar.gz 1439394 BLAKE2B 644d917f545e93dd81856611522329caf4ff038e4ddb04d761f03339cc7308095abc1c9b46a4d601cad67deea6f917ee5e4236c59f3d7042a7fdf2d33630dd3f SHA512 2c92af07ed1cc3665c19479c00ce5608883081f311192a264a4f7d9119c75ac582596c53b910534c4b66dbb60de2ffd3d6218169748332609c2e0fc89f519259
|
||||||
DIST tpm2-tss-3.0.3.tar.gz 1489136 BLAKE2B 5bf24cf2c36e579388f62eea06ab3811eab1a89c0cd5d12f6f61cee7f6836487f25fefb864432ff8920931ff37327ca867d1d40fad89e0305d5e1edfb8f0e883 SHA512 54a926db55790250d69c81ac6e436556072057dd7c610d2718689030287dee69d533d4e04b3325dd73d9fc7635dad0bf0a7bfb082957bb51cb420efdb68efaf8
|
DIST tpm2-tss-2.4.6.tar.gz 1472883 BLAKE2B e007de07c759e77e377f8569c0c5d94ab57597ea3cb452fb598a47c9b404714a7816c86221d4eacad962436fc7625066d4066f433cd957c37b92d51b0455e2a0 SHA512 f7f7f067605ea30661ac891e22095238689856e22e45f11a6b603cb36ed1ae0724ae52d36f0ee5dd72208da8520457667676ae08107647faa5441a0c9b642f7a
|
||||||
|
DIST tpm2-tss-3.1.0.tar.gz 1584690 BLAKE2B cee2807a030b8bab653045cb11dfc7a6a3f7b1e60c1ce4650ba5f0549f29f36ff307e7d53fb5ef9c950b4dae720bdaf35f7cd1e59ebc07b3f16740035e1d5738 SHA512 8967f172c92f1e3e5ba324dbe8afe07bf1bc7179dd755cef9812105f32634f312ee7cc7dfe8e13af69dc219432463f5dc9b93477743de47aba6af1d70b252405
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff --git a/Makefile.am b/Makefile.am
|
|
||||||
index f2fa515a..7d2aca29 100644
|
|
||||||
--- a/Makefile.am
|
|
||||||
+++ b/Makefile.am
|
|
||||||
@@ -664,11 +664,6 @@ endif #FAPI
|
|
||||||
EXTRA_DIST += dist/tpm-udev.rules
|
|
||||||
|
|
||||||
install-dirs:
|
|
||||||
-if HOSTOS_LINUX
|
|
||||||
- (systemd-sysusers && systemd-tmpfiles --create) || \
|
|
||||||
- ($(call make_tss_user_and_group) && $(call make_fapi_dirs) && ($call set_fapi_permissions)) || true
|
|
||||||
- $(call check_fapi_dirs)
|
|
||||||
-endif
|
|
||||||
|
|
||||||
install-data-hook: install-dirs
|
|
||||||
-if [ ! -z "$(udevrulesprefix)" ]; then \
|
|
@ -1,22 +0,0 @@
|
|||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index ff59dd7c..3049032b 100755
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -285,7 +285,7 @@ AC_ARG_ENABLE([integration],
|
|
||||||
[build and execute integration tests])],,
|
|
||||||
[enable_integration=no])
|
|
||||||
AS_IF([test "x$enable_integration" = "xyes"],
|
|
||||||
- AS_IF([test "$HOSTOS" = "Linux"],
|
|
||||||
+ [AS_IF([test "$HOSTOS" = "Linux"],
|
|
||||||
[ERROR_IF_NO_PROG([ss])],
|
|
||||||
[ERROR_IF_NO_PROG([sockstat])])
|
|
||||||
ERROR_IF_NO_PROG([echo])
|
|
||||||
@@ -335,7 +335,7 @@ AS_IF([test "x$enable_integration" = "xyes"],
|
|
||||||
[AC_MSG_ERROR([No simulator executable found in PATH for testing TCTI.])])
|
|
||||||
AC_SUBST([INTEGRATION_TCTI], [$integration_tcti])
|
|
||||||
AC_SUBST([INTEGRATION_ARGS], [$integration_args])
|
|
||||||
- AC_SUBST([ENABLE_INTEGRATION], [$enable_integration]))
|
|
||||||
+ AC_SUBST([ENABLE_INTEGRATION], [$enable_integration])])
|
|
||||||
AM_CONDITIONAL([ENABLE_INTEGRATION],[test "x$enable_integration" = "xyes"])
|
|
||||||
#
|
|
||||||
# sanitizer compiler flags
|
|
@ -0,0 +1,29 @@
|
|||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 183289f7..c791896c 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -689,24 +689,6 @@ endif #FAPI
|
||||||
|
EXTRA_DIST += dist/tpm-udev.rules
|
||||||
|
|
||||||
|
install-dirs:
|
||||||
|
-if HOSTOS_LINUX
|
||||||
|
-if SYSD_SYSUSERS
|
||||||
|
- @echo "systemd-sysusers $(DESTDIR)$(sysconfdir)/sysusers.d/tpm2-tss.conf"
|
||||||
|
- @systemd-sysusers $(DESTDIR)$(sysconfdir)/sysusers.d/tpm2-tss.conf || echo "WARNING Failed to create the tss user and group"
|
||||||
|
-else
|
||||||
|
- @echo "call make_tss_user_and_group"
|
||||||
|
- @$(call make_tss_user_and_group) || echo "WARNING Failed to create the tss user and group"
|
||||||
|
-endif
|
||||||
|
-if SYSD_TMPFILES
|
||||||
|
- @echo "systemd-tmpfiles --create $(DESTDIR)$(sysconfdir)/tmpfiles.d/tpm2-tss-fapi.conf"
|
||||||
|
- @systemd-tmpfiles --create $(DESTDIR)$(sysconfdir)/tmpfiles.d/tpm2-tss-fapi.conf|| echo "WARNING Failed to create the FAPI directories with the correct permissions"
|
||||||
|
-else
|
||||||
|
- @echo "(call make_fapi_dirs) && (call set_fapi_permissions)"
|
||||||
|
- @-$(call make_fapi_dirs) && $(call set_fapi_permissions) || echo "WARNING Failed to create the FAPI directories with the correct permissions"
|
||||||
|
-endif
|
||||||
|
- @echo "call check_fapi_dirs"
|
||||||
|
- @$(call check_fapi_dirs)
|
||||||
|
-endif
|
||||||
|
|
||||||
|
install-data-hook: install-dirs
|
||||||
|
-if [ ! -z "$(udevrulesprefix)" ]; then \
|
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST dict-en-20170101.oxt 5960816 BLAKE2B 65505ed6e8323f28377728ac29e550cf151688517b83209b055966be4e7e14465aacc1d1677d22bc005089d7623e78e63bf91dcdffcde3a790532dba87b54615 SHA512 fae05d3e4bdc9bbd5dda6eb2c0de2f5d0860973e75fe0931bcb0d0e0a5015fb6042beec7f811bee0011f519d13d0f3b52b09fbd906a75340bf311177885ccc1d
|
DIST dict-en-20170101.oxt 5960816 BLAKE2B 65505ed6e8323f28377728ac29e550cf151688517b83209b055966be4e7e14465aacc1d1677d22bc005089d7623e78e63bf91dcdffcde3a790532dba87b54615 SHA512 fae05d3e4bdc9bbd5dda6eb2c0de2f5d0860973e75fe0931bcb0d0e0a5015fb6042beec7f811bee0011f519d13d0f3b52b09fbd906a75340bf311177885ccc1d
|
||||||
DIST dict-en-20181101.oxt 6052772 BLAKE2B 46825cb406406a3d64e8495f047ae81d6b693e6ff5cd89152a9c829a80d7be1920dfb3572a84aedb2e8f8e5c767aa49ed7e71ab330aca83b3936133699f1098a SHA512 1f351b97c4fc907c5751a35b6665b6d91b1157b6a952a378f565989249b1900395f08f0204407a21b0bcb999fe695c14707c4744f5da32d521ee8d75f73c89f9
|
|
||||||
DIST dict-en-20190101.oxt 6058651 BLAKE2B 617ded8d7df6e62767083be7b0651e1bd1e039f78ebb67e8371228805519195dd5acd4ca7d415a29b68697a369d070eafa5545d1b8bbcbab58774db61f03e8e5 SHA512 06e6a21b524c378041655cc44e04f26a35b16e1606a478c0702b96fcbeb86180593fc02d00cae8e05700ead0bd6568239434e8d3d733937587e7b009245dfe4c
|
DIST dict-en-20190101.oxt 6058651 BLAKE2B 617ded8d7df6e62767083be7b0651e1bd1e039f78ebb67e8371228805519195dd5acd4ca7d415a29b68697a369d070eafa5545d1b8bbcbab58774db61f03e8e5 SHA512 06e6a21b524c378041655cc44e04f26a35b16e1606a478c0702b96fcbeb86180593fc02d00cae8e05700ead0bd6568239434e8d3d733937587e7b009245dfe4c
|
||||||
DIST dict-en-20210601.oxt 6104083 BLAKE2B 192252e85918d3d47167ff9243f70178bc548de3e93152c4139e64ffb013e147fda1fa9c7741ce7bf74b149ec0ab6e001760990cd1ee33dad06fd5e3813ef591 SHA512 c9d791a12aa97d6c2a0928f9f500b22492208b415f877d6b5bd192b5da4c243c32b8d0b7af6b3f5cbfefe6b1c695626db204fc29a922dc4b083538ed144cb472
|
DIST dict-en-20210601.oxt 6104083 BLAKE2B 192252e85918d3d47167ff9243f70178bc548de3e93152c4139e64ffb013e147fda1fa9c7741ce7bf74b149ec0ab6e001760990cd1ee33dad06fd5e3813ef591 SHA512 c9d791a12aa97d6c2a0928f9f500b22492208b415f877d6b5bd192b5da4c243c32b8d0b7af6b3f5cbfefe6b1c695626db204fc29a922dc4b083538ed144cb472
|
||||||
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
MY_PV="${PV:0:4}-${PV:4:2}.${PV:6:2}"
|
|
||||||
|
|
||||||
inherit myspell-r2
|
|
||||||
|
|
||||||
DESCRIPTION="English dictionaries for myspell/hunspell"
|
|
||||||
HOMEPAGE="https://extensions.libreoffice.org/extensions/english-dictionaries"
|
|
||||||
SRC_URI="https://extensions.libreoffice.org/extensions/english-dictionaries/${MY_PV}/@@download/file/dict-en-${PV}.oxt"
|
|
||||||
|
|
||||||
LICENSE="BSD MIT LGPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
|
|
||||||
IUSE+="${PLOCALES[@]/#/l10n_}"
|
|
||||||
REQUIRED_USE="|| ( ${IUSE[@]} )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use l10n_en-GB || use l10n_en; then
|
|
||||||
MYSPELL_HYPH=( "hyph_en_GB.dic" )
|
|
||||||
fi
|
|
||||||
if use l10n_en-US || use l10n_en; then
|
|
||||||
MYSPELL_THES=(
|
|
||||||
"th_en_US_v2.dat"
|
|
||||||
"th_en_US_v2.idx"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
MYSPELL_DICT=( )
|
|
||||||
for lang in "${PLOCALES[@]}"; do
|
|
||||||
if [[ "${lang}" == "en" ]]; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
local mylinguas="${lang//-/_}"
|
|
||||||
if use "l10n_${lang}" || use l10n_en; then
|
|
||||||
MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
|
|
||||||
else
|
|
||||||
rm "README_${mylinguas}.txt" || die
|
|
||||||
if [[ ${lang} == "en-US" ]]; then
|
|
||||||
rm "README_hyph_en_US.txt" || die
|
|
||||||
fi
|
|
||||||
if [[ ${lang} == "en-GB" ]]; then
|
|
||||||
rm "README_hyph_en_GB.txt" || die
|
|
||||||
rm "README_en_GB_thes.txt" || die
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
@ -1,57 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
MY_PV="${PV:0:4}-${PV:4:2}.${PV:6:2}"
|
|
||||||
|
|
||||||
inherit myspell-r2
|
|
||||||
|
|
||||||
DESCRIPTION="English dictionaries for myspell/hunspell"
|
|
||||||
HOMEPAGE="https://extensions.libreoffice.org/extensions/english-dictionaries"
|
|
||||||
SRC_URI="https://extensions.libreoffice.org/extensions/english-dictionaries/${MY_PV}/@@download/file/dict-en-${PV}.oxt"
|
|
||||||
|
|
||||||
LICENSE="BSD MIT LGPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
PLOCALES=( "en" "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
|
|
||||||
IUSE+="${PLOCALES[@]/#/l10n_}"
|
|
||||||
REQUIRED_USE="|| ( ${IUSE[@]} )"
|
|
||||||
RDEPEND="!<dev-libs/hyphen-2.8.8-r1"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use l10n_en-GB || use l10n_en; then
|
|
||||||
MYSPELL_HYPH=( "hyph_en_GB.dic" )
|
|
||||||
fi
|
|
||||||
if use l10n_en-US || use l10n_en; then
|
|
||||||
MYSPELL_HYPH=( "hyph_en_US.dic" )
|
|
||||||
MYSPELL_THES=(
|
|
||||||
"th_en_US_v2.dat"
|
|
||||||
"th_en_US_v2.idx"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
MYSPELL_DICT=( )
|
|
||||||
for lang in "${PLOCALES[@]}"; do
|
|
||||||
if [[ "${lang}" == "en" ]]; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
local mylinguas="${lang//-/_}"
|
|
||||||
if use "l10n_${lang}" || use l10n_en; then
|
|
||||||
MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
|
|
||||||
else
|
|
||||||
rm "README_${mylinguas}.txt" || die
|
|
||||||
if [[ ${lang} == "en-US" ]]; then
|
|
||||||
rm "README_hyph_en_US.txt" || die
|
|
||||||
fi
|
|
||||||
if [[ ${lang} == "en-GB" ]]; then
|
|
||||||
rm "README_hyph_en_GB.txt" || die
|
|
||||||
rm "README_en_GB_thes.txt" || die
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MYSPELL_DICT=(
|
||||||
|
"fr-classique.aff"
|
||||||
|
"fr-classique.dic"
|
||||||
|
"fr-moderne.aff"
|
||||||
|
"fr-moderne.dic"
|
||||||
|
"fr-reforme1990.aff"
|
||||||
|
"fr-reforme1990.dic"
|
||||||
|
"fr_FR.aff"
|
||||||
|
"fr_FR.dic"
|
||||||
|
)
|
||||||
|
|
||||||
|
MYSPELL_HYPH=(
|
||||||
|
"hyph_fr.dic"
|
||||||
|
"hyph_fr.iso8859-1.dic"
|
||||||
|
)
|
||||||
|
|
||||||
|
MYSPELL_THES=(
|
||||||
|
"thes_fr.dat"
|
||||||
|
"thes_fr.idx"
|
||||||
|
)
|
||||||
|
|
||||||
|
inherit myspell-r2
|
||||||
|
|
||||||
|
DESCRIPTION="French dictionaries for myspell/hunspell"
|
||||||
|
HOMEPAGE="https://extensions.libreoffice.org/extension-center/dictionnaires-francais"
|
||||||
|
SRC_URI="https://extensions.libreoffice.org/assets/downloads/z/lo-oo-ressources-linguistiques-fr-v5-7.oxt"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x86-linux"
|
||||||
|
|
||||||
|
DOCS=( package-description.txt README_dict_fr.txt README_hyph_fr-2.9.txt README_hyph_fr-3.0.txt README_thes_fr.txt )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mv fr-toutesvariantes.aff fr_FR.aff || die
|
||||||
|
mv fr-toutesvariantes.dic fr_FR.dic || die
|
||||||
|
rm -r french_flag_16.bmp french_flag.png || die
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST company-mode-0.9.10.tar.gz 85982 BLAKE2B 393e8ff31f4a88d1c156418bd0c827572ec078b833e78bd1007779961e9fb852737f12a5c1aeba154ebba53d81058bdc2871f7d88880aaa7dd8cb9692461c8fb SHA512 b6571c55bcf68a5e83e7c92c8b53e0ac6b4e84bce1246331a7da4495f4ee5c3ab38035310fd2eb7a87748db1c034996d99c7ead8aa831d552800642b31cf9fe0
|
DIST company-mode-0.9.10.tar.gz 85982 BLAKE2B 393e8ff31f4a88d1c156418bd0c827572ec078b833e78bd1007779961e9fb852737f12a5c1aeba154ebba53d81058bdc2871f7d88880aaa7dd8cb9692461c8fb SHA512 b6571c55bcf68a5e83e7c92c8b53e0ac6b4e84bce1246331a7da4495f4ee5c3ab38035310fd2eb7a87748db1c034996d99c7ead8aa831d552800642b31cf9fe0
|
||||||
|
DIST company-mode-0.9.13.tar.gz 88074 BLAKE2B 8704d45d0dec15d7fbe39edcdaa3e348263eef4e78a9c55160b4c83df892b73241659dec685e31d7eab5fceaf34a956a7d81d0ec7d3ce134ffda0415a44a7c8c SHA512 d253504e38515335b9a7186c5664e2700ae171e215e8eef1fca28c267d610882dd29c03701efb9d71eac9ec855807aa956411de08a3bd42508f0b0aba38d4dd9
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="In-buffer completion front-end"
|
||||||
|
HOMEPAGE="https://company-mode.github.io/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# Note: company-mode supports many backends, and we refrain
|
||||||
|
# from including them in RDEPEND.
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
DOCS="README.md NEWS.md"
|
@ -1,2 +1,5 @@
|
|||||||
(add-to-list 'load-path "@SITELISP@")
|
(add-to-list 'load-path "@SITELISP@")
|
||||||
(autoload 'company-mode "company" nil t)
|
(autoload 'company-mode "company" nil t)
|
||||||
|
(autoload 'global-company-mode "company" nil t)
|
||||||
|
(autoload 'company-manual-begin "company" nil t)
|
||||||
|
(autoload 'company-complete "company" nil t)
|
||||||
|
Binary file not shown.
@ -0,0 +1,18 @@
|
|||||||
|
https://bugs.gentoo.org/792228
|
||||||
|
https://gitlab.com/libvirt/libvirt/-/commit/e3d60f7
|
||||||
|
|
||||||
|
--
|
||||||
|
diff --git a/src/remote/meson.build b/src/remote/meson.build
|
||||||
|
index 9ad2f6ab1c268012a263ab4ede6410fb80e14a12..0a188268b58b7af41645799aac3ef3f156fd48ad 100644
|
||||||
|
--- a/src/remote/meson.build
|
||||||
|
+++ b/src/remote/meson.build
|
||||||
|
@@ -230,7 +230,7 @@ if conf.has('WITH_REMOTE')
|
||||||
|
'name': 'Libvirt proxy',
|
||||||
|
'sockprefix': 'libvirt',
|
||||||
|
'sockets': [ 'main', 'ro', 'admin', 'tcp', 'tls' ],
|
||||||
|
- 'deps': libvirtd_socket_conflicts,
|
||||||
|
+ 'deps': 'Conflicts=' + libvirtd_socket_conflicts,
|
||||||
|
}
|
||||||
|
|
||||||
|
openrc_init_files += {
|
||||||
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST pax-utils-1.3.1.tar.xz 718384 BLAKE2B eef34077dfaceba1bf6f3d56b5e9990090e6d6c5d8c14f7f4bd8506040f0abdcf1a7bd52c643092faa74d991f22ed48c96924572a50c556aaf879dd411569457 SHA512 1a3a463f3864a420b4dcdd8e5736fbee785ed7cb19545966819493cc98d3cea670eb44592c7f100188b2d45b58908bc1f8e2e010f8842c51b70495b260a03102
|
DIST pax-utils-1.3.1.tar.xz 718384 BLAKE2B eef34077dfaceba1bf6f3d56b5e9990090e6d6c5d8c14f7f4bd8506040f0abdcf1a7bd52c643092faa74d991f22ed48c96924572a50c556aaf879dd411569457 SHA512 1a3a463f3864a420b4dcdd8e5736fbee785ed7cb19545966819493cc98d3cea670eb44592c7f100188b2d45b58908bc1f8e2e010f8842c51b70495b260a03102
|
||||||
|
DIST pax-utils-1.3.2.tar.xz 725916 BLAKE2B ff792288b22c185501123d3e152ebae891585d5fbbbb1957f62c68fca3b342b8ca986d53611677aff4566ad4483afb3c69f40738be4cf5d653ca469e72b5661a SHA512 50330a34d9b7b33c67be079eb871e6dafe29c72f2fc42fec0e51aa9a2e0c1eb95e6d27a4dc1affe6647cdf4c9357545336d48c9e27a7e0106d57532a0f53cdcc
|
||||||
|
@ -0,0 +1,75 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
|
||||||
|
inherit python-single-r1 toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="ELF utils that can check files for security relevant properties"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
|
||||||
|
SRC_URI="mirror://gentoo/${P}.tar.xz
|
||||||
|
https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz
|
||||||
|
https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="caps debug kernel_linux python seccomp"
|
||||||
|
|
||||||
|
RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
|
||||||
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/pyelftools[${PYTHON_MULTI_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
"
|
||||||
|
# >=linux-headers-5.8 to pick linux headers with faccessat2, bug #768624
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
kernel_linux? ( !prefix-guest? ( >=sys-kernel/linux-headers-5.8 ) )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
caps? ( virtual/pkgconfig )
|
||||||
|
"
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||||
|
|
||||||
|
_emake() {
|
||||||
|
emake \
|
||||||
|
USE_CAP=$(usex caps) \
|
||||||
|
USE_DEBUG=$(usex debug) \
|
||||||
|
USE_PYTHON=$(usex python) \
|
||||||
|
USE_SECCOMP=$(usex seccomp) \
|
||||||
|
"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use python; then
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||||
|
if use prefix || ! use kernel_linux; then
|
||||||
|
econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
|
||||||
|
else
|
||||||
|
tc-export CC PKG_CONFIG
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
_emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
_emake check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
_emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
|
||||||
|
|
||||||
|
use python && python_fix_shebang "${ED}"/usr/bin/lddtree
|
||||||
|
}
|
Binary file not shown.
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
BASE_PACKAGENAME="debug"
|
|
||||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
|
||||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
|
||||||
|
|
||||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
|
||||||
HOMEPAGE="https://www.libreoffice.org"
|
|
||||||
SRC_URI_AMD64="
|
|
||||||
${BASE_AMD64_URI}libreoffice-${PV}.tar.xz
|
|
||||||
kde? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
!kde? ( !gnome? (
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 )
|
|
||||||
) )
|
|
||||||
"
|
|
||||||
SRC_URI_X86="
|
|
||||||
${BASE_X86_URI}libreoffice-${PV}.tar.xz
|
|
||||||
kde? (
|
|
||||||
!java? ( ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
!kde? ( !gnome? (
|
|
||||||
java? ( ${BASE_X86_URI}libreoffice-java-${PV}.xd3 )
|
|
||||||
) )
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI="
|
|
||||||
amd64? ( ${SRC_URI_AMD64} )
|
|
||||||
x86? ( ${SRC_URI_X86} )
|
|
||||||
"
|
|
||||||
|
|
||||||
IUSE="gnome java kde"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND="~app-office/${PN/-debug}-${PV}[gnome=,java=,kde=]"
|
|
||||||
|
|
||||||
DEPEND="dev-util/xdelta:3"
|
|
||||||
|
|
||||||
RESTRICT="test strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
QA_PREBUILT="/usr/*"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz"
|
|
||||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
|
|
||||||
|
|
||||||
local patchname
|
|
||||||
use kde && patchname="-kde"
|
|
||||||
use gnome && patchname="-gnome"
|
|
||||||
use java && patchname="${patchname}-java"
|
|
||||||
|
|
||||||
if [[ -n "${patchname}" ]]; then
|
|
||||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
|
|
||||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
|
||||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
|
|
||||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr
|
|
||||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
|
||||||
}
|
|
@ -1,251 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
BASE_PACKAGENAME="bin"
|
|
||||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
|
||||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_8 )
|
|
||||||
PYTHON_REQ_USE="xml"
|
|
||||||
|
|
||||||
inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A full office productivity suite. Binary package"
|
|
||||||
HOMEPAGE="https://www.libreoffice.org"
|
|
||||||
SRC_URI_AMD64="
|
|
||||||
${BASE_AMD64_URI}libreoffice-${PV}.tar.xz
|
|
||||||
kde? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
!kde? ( !gnome? (
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PV}.xd3 )
|
|
||||||
) )
|
|
||||||
"
|
|
||||||
SRC_URI_X86="
|
|
||||||
${BASE_X86_URI}libreoffice-${PV}.tar.xz
|
|
||||||
kde? (
|
|
||||||
!java? ( ${BASE_X86_URI}libreoffice-kde-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_X86_URI}libreoffice-kde-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
!java? ( ${BASE_X86_URI}libreoffice-gnome-${PV}.xd3 )
|
|
||||||
java? ( ${BASE_X86_URI}libreoffice-gnome-java-${PV}.xd3 )
|
|
||||||
)
|
|
||||||
!kde? ( !gnome? (
|
|
||||||
java? ( ${BASE_X86_URI}libreoffice-java-${PV}.xd3 )
|
|
||||||
) )
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI="
|
|
||||||
amd64? ( ${SRC_URI_AMD64} )
|
|
||||||
x86? ( ${SRC_URI_X86} )
|
|
||||||
"
|
|
||||||
|
|
||||||
IUSE="gnome java kde"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* amd64 x86"
|
|
||||||
|
|
||||||
BIN_COMMON_DEPEND="
|
|
||||||
app-text/hunspell:0/1.7
|
|
||||||
=app-text/libexttextcat-3.4*
|
|
||||||
=app-text/libmwaw-0.3*
|
|
||||||
dev-libs/boost:0/1.75.0
|
|
||||||
dev-libs/icu:0/68.2
|
|
||||||
dev-libs/liborcus:0/0.15
|
|
||||||
>=media-gfx/graphite2-1.3.10
|
|
||||||
media-libs/harfbuzz:0/0.9.18[icu]
|
|
||||||
media-libs/libpng:0/16
|
|
||||||
>=sys-devel/gcc-9.3.0
|
|
||||||
>=sys-libs/glibc-2.32
|
|
||||||
virtual/jpeg-compat:62
|
|
||||||
"
|
|
||||||
|
|
||||||
# PLEASE place any restrictions that are specific to the binary builds
|
|
||||||
# into the BIN_COMMON_DEPEND block above.
|
|
||||||
# All dependencies below this point should remain identical to those in
|
|
||||||
# the source ebuilds.
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
${BIN_COMMON_DEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-arch/unzip
|
|
||||||
app-arch/zip
|
|
||||||
app-crypt/gpgme[cxx]
|
|
||||||
app-text/hunspell:=
|
|
||||||
>=app-text/libabw-0.1.0
|
|
||||||
>=app-text/libebook-0.1
|
|
||||||
app-text/libepubgen
|
|
||||||
>=app-text/libetonyek-0.1
|
|
||||||
app-text/libexttextcat
|
|
||||||
app-text/liblangtag
|
|
||||||
>=app-text/libmspub-0.1.0
|
|
||||||
>=app-text/libmwaw-0.3.1
|
|
||||||
app-text/libnumbertext
|
|
||||||
>=app-text/libodfgen-0.1.0
|
|
||||||
app-text/libqxp
|
|
||||||
app-text/libstaroffice
|
|
||||||
app-text/libwpd:0.10[tools]
|
|
||||||
app-text/libwpg:0.3
|
|
||||||
>=app-text/libwps-0.4
|
|
||||||
app-text/mythes
|
|
||||||
>=dev-cpp/clucene-2.3.3.4-r2
|
|
||||||
>=dev-cpp/libcmis-0.5.2
|
|
||||||
dev-db/unixODBC
|
|
||||||
dev-lang/perl
|
|
||||||
>=dev-libs/boost-1.72.0:=[nls]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/hyphen
|
|
||||||
dev-libs/icu:=
|
|
||||||
dev-libs/libassuan
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
dev-libs/liborcus:0/0.15
|
|
||||||
dev-libs/librevenge
|
|
||||||
dev-libs/libxml2
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
>=dev-libs/redland-1.0.16
|
|
||||||
>=dev-libs/xmlsec-1.2.28[nss]
|
|
||||||
media-gfx/fontforge
|
|
||||||
media-gfx/graphite2
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype:2
|
|
||||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
|
||||||
media-libs/lcms:2
|
|
||||||
>=media-libs/libcdr-0.1.0
|
|
||||||
>=media-libs/libepoxy-1.3.1[X]
|
|
||||||
>=media-libs/libfreehand-0.1.0
|
|
||||||
media-libs/libpagemaker
|
|
||||||
>=media-libs/libpng-1.4:0=
|
|
||||||
>=media-libs/libvisio-0.1.0
|
|
||||||
media-libs/libzmf
|
|
||||||
net-libs/neon
|
|
||||||
net-misc/curl
|
|
||||||
sci-mathematics/lpsolve
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/glu
|
|
||||||
virtual/jpeg:0
|
|
||||||
virtual/opengl
|
|
||||||
x11-libs/cairo[X]
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
net-print/cups
|
|
||||||
sys-apps/dbus[X]
|
|
||||||
gnome? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
gnome-base/dconf
|
|
||||||
gnome-extra/evolution-data-server
|
|
||||||
)
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
!kde? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/gobject-introspection
|
|
||||||
gnome-base/dconf
|
|
||||||
media-libs/mesa[egl]
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/pango
|
|
||||||
)
|
|
||||||
kde? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
dev-qt/qtx11extras:5
|
|
||||||
kde-frameworks/kconfig:5
|
|
||||||
kde-frameworks/kcoreaddons:5
|
|
||||||
kde-frameworks/ki18n:5
|
|
||||||
kde-frameworks/kio:5
|
|
||||||
kde-frameworks/kwindowsystem:5
|
|
||||||
)
|
|
||||||
dev-db/mariadb-connector-c
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!app-office/libreoffice
|
|
||||||
!app-office/openoffice
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
|
||||||
java? ( >=virtual/jre-1.8 )
|
|
||||||
kde? ( kde-frameworks/breeze-icons:* )
|
|
||||||
"
|
|
||||||
|
|
||||||
PDEPEND="
|
|
||||||
=app-office/libreoffice-l10n-$(ver_cut 1-4)*
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="dev-util/xdelta:3"
|
|
||||||
|
|
||||||
# only one flavor at a time
|
|
||||||
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RESTRICT="test strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
PYTHON_UPDATER_IGNORE="1"
|
|
||||||
|
|
||||||
QA_PREBUILT="/usr/*"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz"
|
|
||||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
|
|
||||||
|
|
||||||
local patchname
|
|
||||||
use kde && patchname="-kde"
|
|
||||||
use gnome && patchname="-gnome"
|
|
||||||
use java && patchname="${patchname}-java"
|
|
||||||
|
|
||||||
if [[ -n "${patchname}" ]]; then
|
|
||||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
|
|
||||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
|
||||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
|
|
||||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cp "${FILESDIR}"/50-${PN} "${T}"
|
|
||||||
eprefixify "${T}"/50-${PN}
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr
|
|
||||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
|
||||||
|
|
||||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
|
||||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
|
|
||||||
ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.'
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit rpm
|
|
||||||
|
|
||||||
BASE_PV=$(ver_cut 1-3)
|
|
||||||
MY_PV="${PV/_alpha/.alpha}"
|
|
||||||
MY_PV="${MY_PV/_beta/.beta}"
|
|
||||||
[[ ${PV} == *alpha* || ${PV} == *beta* ]] && PN_DEV="Dev"
|
|
||||||
|
|
||||||
DESCRIPTION="Translations for the Libreoffice suite"
|
|
||||||
HOMEPAGE="https://www.libreoffice.org"
|
|
||||||
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${BASE_PV}/rpm"
|
|
||||||
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${BASE_PV}/rpm"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="offlinehelp"
|
|
||||||
|
|
||||||
#
|
|
||||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
|
||||||
#
|
|
||||||
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
|
|
||||||
LANGUAGES_HELP=" am ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt-BR pt ru si sk sl sq sv tg tr ug uk vi zh-CN zh-TW "
|
|
||||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd gug kk kmr-Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa:pa-IN ro rw sa:sa-IN sat sd sid sr-Latn sr ss st sw-TZ ta te th tn ts tt uz ve xh zu "
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES_HELP}; do
|
|
||||||
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz )"
|
|
||||||
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
|
|
||||||
done
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
if [[ ${lang%:*} != en ]]; then
|
|
||||||
langpack="${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz"
|
|
||||||
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
|
|
||||||
fi
|
|
||||||
IUSE+=" l10n_${lang%:*}"
|
|
||||||
done
|
|
||||||
unset lang helppack langpack
|
|
||||||
|
|
||||||
RDEPEND+="app-text/hunspell"
|
|
||||||
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local lang dir rpmdir
|
|
||||||
|
|
||||||
# First remove dictionaries, we want to use system ones.
|
|
||||||
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
# break away if not enabled
|
|
||||||
use l10n_${lang%:*} || continue
|
|
||||||
|
|
||||||
dir=${lang#*:}
|
|
||||||
|
|
||||||
# for english we provide just helppack, as translation is always there
|
|
||||||
if [[ ${lang%:*} != en ]]; then
|
|
||||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
|
||||||
rpm_unpack ./${rpmdir}/*.rpm
|
|
||||||
fi
|
|
||||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
|
||||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
|
||||||
rpm_unpack ./${rpmdir}/*.rpm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
|
|
||||||
# Condition required for people who do not install anything e.g. no l10n
|
|
||||||
# or just english with no offlinehelp.
|
|
||||||
if [[ -d "${dir}" ]] ; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
|
||||||
doins -r "${dir}"/*
|
|
||||||
fi
|
|
||||||
# remove extensions that are in l10n for some weird reason
|
|
||||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
|
||||||
die "Failed to remove extensions"
|
|
||||||
}
|
|
@ -1,118 +0,0 @@
|
|||||||
From 55c724b93dfd4c9a1afb10d60fbc2d7a9a66cf61 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
|
||||||
Date: Wed, 29 Jan 2020 12:44:52 +0000
|
|
||||||
Subject: replace boost::bimap in sdext pdfimport
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
the error message with boost 1.69 and gcc 10 is so ungodly its easier to throw
|
|
||||||
bimap out and use something simpler
|
|
||||||
|
|
||||||
Change-Id: Ie324a0b81931bbd427483878a87beeca455ada18
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87683
|
|
||||||
Tested-by: Jenkins
|
|
||||||
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
|
||||||
---
|
|
||||||
sdext/source/pdfimport/inc/pdfiprocessor.hxx | 12 ++++--------
|
|
||||||
sdext/source/pdfimport/tree/pdfiprocessor.cxx | 21 ++++++++++++---------
|
|
||||||
2 files changed, 16 insertions(+), 17 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/sdext/source/pdfimport/inc/pdfiprocessor.hxx b/sdext/source/pdfimport/inc/pdfiprocessor.hxx
|
|
||||||
index 89f9d601b7b0..9e08d6a6a765 100644
|
|
||||||
--- a/sdext/source/pdfimport/inc/pdfiprocessor.hxx
|
|
||||||
+++ b/sdext/source/pdfimport/inc/pdfiprocessor.hxx
|
|
||||||
@@ -37,9 +37,6 @@
|
|
||||||
#include "treevisitorfactory.hxx"
|
|
||||||
#include "genericelements.hxx"
|
|
||||||
|
|
||||||
-#include <boost/bimap/bimap.hpp>
|
|
||||||
-#include <boost/bimap/unordered_set_of.hpp>
|
|
||||||
-
|
|
||||||
namespace pdfi
|
|
||||||
{
|
|
||||||
|
|
||||||
@@ -160,10 +157,8 @@ namespace pdfi
|
|
||||||
typedef std::unordered_map<sal_Int32,FontAttributes> IdToFontMap;
|
|
||||||
typedef std::unordered_map<FontAttributes,sal_Int32,FontAttrHash> FontToIdMap;
|
|
||||||
|
|
||||||
- typedef boost::bimaps::bimap<
|
|
||||||
- boost::bimaps::unordered_set_of<GraphicsContext, GraphicsContextHash>,
|
|
||||||
- boost::bimaps::unordered_set_of<sal_Int32>
|
|
||||||
- > GCToIdBiMap;
|
|
||||||
+ typedef std::unordered_map<sal_Int32,GraphicsContext> IdToGCMap;
|
|
||||||
+ typedef std::unordered_map<GraphicsContext, sal_Int32, GraphicsContextHash> GCToIdMap;
|
|
||||||
|
|
||||||
typedef std::vector<GraphicsContext> GraphicsContextStack;
|
|
||||||
|
|
||||||
@@ -178,7 +173,8 @@ namespace pdfi
|
|
||||||
|
|
||||||
GraphicsContextStack m_aGCStack;
|
|
||||||
sal_Int32 m_nNextGCId;
|
|
||||||
- GCToIdBiMap m_aGCToId;
|
|
||||||
+ IdToGCMap m_aIdToGC;
|
|
||||||
+ GCToIdMap m_aGCToId;
|
|
||||||
|
|
||||||
ImageContainer m_aImages;
|
|
||||||
|
|
||||||
diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
|
|
||||||
index c6baa7fee8b2..ed2eaf6510b9 100644
|
|
||||||
--- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx
|
|
||||||
+++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
|
|
||||||
@@ -54,6 +54,7 @@ namespace pdfi
|
|
||||||
m_aFontToId(),
|
|
||||||
m_aGCStack(),
|
|
||||||
m_nNextGCId( 1 ),
|
|
||||||
+ m_aIdToGC(),
|
|
||||||
m_aGCToId(),
|
|
||||||
m_aImages(),
|
|
||||||
m_nPages(0),
|
|
||||||
@@ -65,12 +66,13 @@ namespace pdfi
|
|
||||||
aDefFont.isBold = false;
|
|
||||||
aDefFont.isItalic = false;
|
|
||||||
aDefFont.size = 10*PDFI_OUTDEV_RESOLUTION/72;
|
|
||||||
- m_aIdToFont[ 0 ] = aDefFont;
|
|
||||||
- m_aFontToId[ aDefFont ] = 0;
|
|
||||||
+ m_aIdToFont.insert({0, aDefFont});
|
|
||||||
+ m_aFontToId.insert({aDefFont, 0});
|
|
||||||
|
|
||||||
GraphicsContext aDefGC;
|
|
||||||
m_aGCStack.push_back( aDefGC );
|
|
||||||
- m_aGCToId.insert(GCToIdBiMap::relation(aDefGC, 0));
|
|
||||||
+ m_aGCToId.insert({aDefGC, 0});
|
|
||||||
+ m_aIdToGC.insert({0, aDefGC});
|
|
||||||
}
|
|
||||||
|
|
||||||
void PDFIProcessor::setPageNum( sal_Int32 nPages )
|
|
||||||
@@ -468,12 +470,13 @@ const FontAttributes& PDFIProcessor::getFont( sal_Int32 nFontId ) const
|
|
||||||
sal_Int32 PDFIProcessor::getGCId( const GraphicsContext& rGC )
|
|
||||||
{
|
|
||||||
sal_Int32 nGCId = 0;
|
|
||||||
- auto it = m_aGCToId.left.find( rGC );
|
|
||||||
- if( it != m_aGCToId.left.end() )
|
|
||||||
+ auto it = m_aGCToId.find( rGC );
|
|
||||||
+ if( it != m_aGCToId.end() )
|
|
||||||
nGCId = it->second;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
- m_aGCToId.insert(GCToIdBiMap::relation(rGC, m_nNextGCId));
|
|
||||||
+ m_aGCToId.insert({rGC, m_nNextGCId});
|
|
||||||
+ m_aIdToGC.insert({m_nNextGCId, rGC});
|
|
||||||
nGCId = m_nNextGCId;
|
|
||||||
m_nNextGCId++;
|
|
||||||
}
|
|
||||||
@@ -483,9 +486,9 @@ sal_Int32 PDFIProcessor::getGCId( const GraphicsContext& rGC )
|
|
||||||
|
|
||||||
const GraphicsContext& PDFIProcessor::getGraphicsContext( sal_Int32 nGCId ) const
|
|
||||||
{
|
|
||||||
- auto it = m_aGCToId.right.find( nGCId );
|
|
||||||
- if( it == m_aGCToId.right.end() )
|
|
||||||
- it = m_aGCToId.right.find( 0 );
|
|
||||||
+ auto it = m_aIdToGC.find( nGCId );
|
|
||||||
+ if( it == m_aIdToGC.end() )
|
|
||||||
+ it = m_aIdToGC.find( 0 );
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
@ -1,102 +0,0 @@
|
|||||||
From 986bd28388df745dd969e7be7c3bda36b2b2cb0e Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
|
|
||||||
Date: Thu, 6 Aug 2020 10:50:47 +0100
|
|
||||||
Subject: [PATCH] ofz#24641 libc++abi __cxa_exception has grown another member
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
https: //github.com/llvm/llvm-project/commit/f2a436058fcbc11291e73badb44e243f61046183
|
|
||||||
|
|
||||||
this is the same problem as
|
|
||||||
|
|
||||||
commit f4b6f6a8ae60bdec53512728d00853b73fa18500
|
|
||||||
Author: Stephan Bergmann <sbergman@redhat.com>
|
|
||||||
Date: Thu Feb 13 08:40:11 2020 +0100
|
|
||||||
|
|
||||||
Hack to dynamically adapt to __cxa_exceptiom in LLVM 11 libcxxabi
|
|
||||||
|
|
||||||
(where the new change to __cxa_exception effectively reverts the change that
|
|
||||||
prompted 7a9dd3d482deeeb3ed1d50074e56adbd3f928296 "Hack to dynamically adapt to
|
|
||||||
__cxa_exceptiom in LLVM 5.0 libcxxabi")
|
|
||||||
|
|
||||||
Change-Id: Iec4ef1dc188bea2223d99b1b7eb8adec636c98e7
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88583
|
|
||||||
Tested-by: Jenkins
|
|
||||||
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
||||||
|
|
||||||
so c-n-p that solution here
|
|
||||||
|
|
||||||
Change-Id: I4475757a766e3ade7b9fcaf6149e535c9f9a4fa4
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100209
|
|
||||||
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
||||||
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
|
||||||
---
|
|
||||||
.../cpp_uno/gcc3_linux_x86-64/except.cxx | 28 +++++++++++++++++++
|
|
||||||
.../cpp_uno/gcc3_linux_x86-64/share.hxx | 14 ++++++++++
|
|
||||||
2 files changed, 42 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
|
|
||||||
index e9e861f1c210..25931671f7dc 100644
|
|
||||||
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
|
|
||||||
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
|
|
||||||
@@ -150,6 +150,34 @@ void fillUnoException(uno_Any * pUnoExc, uno_Mapping * pCpp2Uno)
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if defined _LIBCPPABI_VERSION // detect libc++abi
|
|
||||||
+ // Very bad HACK to find out whether we run against a libcxxabi that has a new
|
|
||||||
+ // __cxa_exception::reserved member at the start, introduced with LLVM 11
|
|
||||||
+ // <https://github.com/llvm/llvm-project/commit/f2a436058fcbc11291e73badb44e243f61046183>
|
|
||||||
+ // "[libcxxabi] Insert padding in __cxa_exception struct for compatibility". The layout of the
|
|
||||||
+ // start of __cxa_exception is
|
|
||||||
+ //
|
|
||||||
+ // [8 byte void *reserve]
|
|
||||||
+ // 8 byte size_t referenceCount
|
|
||||||
+ //
|
|
||||||
+ // where the (bad, hacky) assumption is that reserve (if present) is null
|
|
||||||
+ // (__cxa_allocate_exception in at least LLVM 11 zero-fills the object, and nothing actively
|
|
||||||
+ // sets reserve) while referenceCount is non-null (__cxa_throw sets it to 1, and
|
|
||||||
+ // __cxa_decrement_exception_refcount destroys the exception as soon as it drops to 0; for a
|
|
||||||
+ // __cxa_dependent_exception, the referenceCount member is rather
|
|
||||||
+ //
|
|
||||||
+ // 8 byte void* primaryException
|
|
||||||
+ //
|
|
||||||
+ // but which also will always be set to a non-null value in __cxa_rethrow_primary_exception).
|
|
||||||
+ // As described in the definition of __cxa_exception
|
|
||||||
+ // (bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx), this hack (together with the "#if 0"
|
|
||||||
+ // there) can be dropped once we can be sure that we only run against new libcxxabi that has the
|
|
||||||
+ // reserve member:
|
|
||||||
+ if (*reinterpret_cast<void **>(header) == nullptr) {
|
|
||||||
+ header = reinterpret_cast<__cxxabiv1::__cxa_exception*>(reinterpret_cast<void **>(header) + 1);
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
std::type_info *exceptionType = __cxxabiv1::__cxa_current_exception_type();
|
|
||||||
|
|
||||||
typelib_TypeDescription * pExcTypeDescr = nullptr;
|
|
||||||
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
|
|
||||||
index e8afe35c4f59..53c8841fbbcb 100644
|
|
||||||
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
|
|
||||||
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx
|
|
||||||
@@ -108,6 +108,20 @@ namespace __cxxabiv1 {
|
|
||||||
struct __cxa_exception {
|
|
||||||
#if defined _LIBCPPABI_VERSION // detect libc++abi
|
|
||||||
#if defined __LP64__ || LIBCXXABI_ARM_EHABI
|
|
||||||
+#if 0
|
|
||||||
+ // This is a new field added with LLVM 11
|
|
||||||
+ // <https://github.com/llvm/llvm-project/commit/f2a436058fcbc11291e73badb44e243f61046183>
|
|
||||||
+ // "[libcxxabi] Insert padding in __cxa_exception struct for compatibility". The HACK in
|
|
||||||
+ // fillUnoException (bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx) tries to find out at
|
|
||||||
+ // runtime whether a __cxa_exception has this member. Once we can be sure that we only run
|
|
||||||
+ // against new libcxxabi that has this member, we can drop the "#if 0" here and drop the hack
|
|
||||||
+ // in fillUnoException.
|
|
||||||
+
|
|
||||||
+ // Now _Unwind_Exception is marked with __attribute__((aligned)),
|
|
||||||
+ // which implies __cxa_exception is also aligned. Insert padding
|
|
||||||
+ // in the beginning of the struct, rather than before unwindHeader.
|
|
||||||
+ void *reserve;
|
|
||||||
+#endif
|
|
||||||
std::size_t referenceCount;
|
|
||||||
#endif
|
|
||||||
#endif
|
|
@ -1,75 +0,0 @@
|
|||||||
From 188ddcd482150b5fdeb44d97e57831e3e27b3f5b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Justin Luth <justin_luth@sil.org>
|
|
||||||
Date: Mon, 28 Sep 2020 20:21:52 +0300
|
|
||||||
Subject: tdf#136983 partial revert NFC ww8 cleanup: remove unused variables
|
|
||||||
|
|
||||||
This is a partial revert of LO 6.2
|
|
||||||
commit 2ec0cf500222aef55d02df80154b47fbb92970c9
|
|
||||||
|
|
||||||
I can't think of any excuse for how I possibly missed that
|
|
||||||
xDocProps was being defined/used outside of this clause.
|
|
||||||
Just plain stupid and blind.
|
|
||||||
|
|
||||||
The good news is that the create and modified date still
|
|
||||||
seem to be getting saved somehow/somewhere. So it isn't
|
|
||||||
the disaster that it looks like it could have been.
|
|
||||||
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103565
|
|
||||||
Tested-by: Jenkins
|
|
||||||
Reviewed-by: Justin Luth <justin_luth@sil.org>
|
|
||||||
(cherry picked from commit 1086654d6e8cc22f1f99195668db3f305437e570)
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104495
|
|
||||||
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
||||||
(cherry picked from commit 19b8ded3ae18dd4070a3e21d7b980782a27e5547)
|
|
||||||
|
|
||||||
Change-Id: I72ef56fa50b9e92e4ce687b132b1919cfae6c1f6
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104497
|
|
||||||
Tested-by: Jenkins
|
|
||||||
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
||||||
---
|
|
||||||
sw/qa/extras/ww8export/ww8export3.cxx | 5 +++++
|
|
||||||
sw/source/filter/ww8/wrtww8.cxx | 6 +++++-
|
|
||||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/sw/qa/extras/ww8export/ww8export3.cxx b/sw/qa/extras/ww8export/ww8export3.cxx
|
|
||||||
index 764ae66a20fa..9c83b6f62fa9 100644
|
|
||||||
--- a/sw/qa/extras/ww8export/ww8export3.cxx
|
|
||||||
+++ b/sw/qa/extras/ww8export/ww8export3.cxx
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
#include <com/sun/star/container/XIndexAccess.hpp>
|
|
||||||
#include <com/sun/star/drawing/FillStyle.hpp>
|
|
||||||
#include <com/sun/star/drawing/LineDash.hpp>
|
|
||||||
+#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
|
|
||||||
#include <com/sun/star/graphic/XGraphic.hpp>
|
|
||||||
#include <com/sun/star/text/XFormField.hpp>
|
|
||||||
#include <com/sun/star/text/XTextTable.hpp>
|
|
||||||
@@ -49,6 +50,10 @@ DECLARE_WW8EXPORT_TEST(testTdf37778_readonlySection, "tdf37778_readonlySection.d
|
|
||||||
// tdf#127862: page fill color (in this case white) was lost
|
|
||||||
uno::Reference<beans::XPropertySet> xStyle(getStyles("PageStyles")->getByName("Standard"), uno::UNO_QUERY);
|
|
||||||
CPPUNIT_ASSERT(drawing::FillStyle_NONE != getProperty<drawing::FillStyle>(xStyle, "FillStyle"));
|
|
||||||
+
|
|
||||||
+ // tdf#136983
|
|
||||||
+ uno::Reference<document::XDocumentPropertiesSupplier> xDPS(mxComponent, uno::UNO_QUERY);
|
|
||||||
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("Last printed date", sal_Int16(2009), xDPS->getDocumentProperties()->getPrintDate().Year);
|
|
||||||
}
|
|
||||||
|
|
||||||
DECLARE_WW8EXPORT_TEST(testTdf122429_header, "tdf122429_header.doc")
|
|
||||||
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
|
|
||||||
index e908cab35162..8d4add7b34bf 100644
|
|
||||||
--- a/sw/source/filter/ww8/wrtww8.cxx
|
|
||||||
+++ b/sw/source/filter/ww8/wrtww8.cxx
|
|
||||||
@@ -501,7 +501,11 @@ static void WriteDop( WW8Export& rWrt )
|
|
||||||
uno::Reference<beans::XPropertySet> xProps;
|
|
||||||
if ( pDocShell )
|
|
||||||
{
|
|
||||||
- xProps.set(pDocShell->GetModel(), uno::UNO_QUERY);
|
|
||||||
+ uno::Reference<lang::XComponent> xModelComp(pDocShell->GetModel(), uno::UNO_QUERY);
|
|
||||||
+ xProps.set(xModelComp, uno::UNO_QUERY);
|
|
||||||
+ uno::Reference<document::XDocumentPropertiesSupplier> xDPS(xModelComp, uno::UNO_QUERY_THROW);
|
|
||||||
+ xDocProps = xDPS->getDocumentProperties();
|
|
||||||
+ OSL_ENSURE(xDocProps.is(), "DocumentProperties is null");
|
|
||||||
|
|
||||||
rDop.lKeyProtDoc = pDocShell->GetModifyPasswordHash();
|
|
||||||
}
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
@ -1,46 +0,0 @@
|
|||||||
From 0b14b9ec55fb2a8dd0ec24e1c03702bc4bbf1878 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rene Engelhard <rene@debian.org>
|
|
||||||
Date: Sun, 1 Nov 2020 18:30:49 +0100
|
|
||||||
Subject: fix build with ICU 68
|
|
||||||
|
|
||||||
use standard true.
|
|
||||||
|
|
||||||
/home/rene/LibreOffice/git/master/i18npool/source/calendar/calendar_gregorian.cxx: In member function 'virtual void i18npool::Calendar_gregorian::setLocalDateTime(double)':
|
|
||||||
/home/rene/LibreOffice/git/master/i18npool/source/calendar/calendar_gregorian.cxx:363:40: error: 'TRUE' was not declared in this scope
|
|
||||||
363 | body->getTimeZone().getOffset( fR, TRUE, nZoneOffset, nDSTOffset, status );
|
|
||||||
| ^~~~
|
|
||||||
|
|
||||||
/usr/include/unicode/umachine.h says:
|
|
||||||
|
|
||||||
@deprecated ICU 68 Use standard "true" instead.
|
|
||||||
|
|
||||||
Change-Id: I45d2b0afa6a9043767af5c2cf41ba24377f2cdc4
|
|
||||||
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105057
|
|
||||||
Tested-by: Jenkins
|
|
||||||
Reviewed-by: Eike Rathke <erack@redhat.com>
|
|
||||||
---
|
|
||||||
i18npool/source/calendar/calendar_gregorian.cxx | 9 ++++++++-
|
|
||||||
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx
|
|
||||||
index b7ae49fbd96e..59ee46fa0e0f 100644
|
|
||||||
--- a/i18npool/source/calendar/calendar_gregorian.cxx
|
|
||||||
+++ b/i18npool/source/calendar/calendar_gregorian.cxx
|
|
||||||
@@ -347,7 +347,14 @@ Calendar_gregorian::setLocalDateTime( double fTimeInDays )
|
|
||||||
"Calendar_gregorian::setLocalDateTime: " << std::fixed << fM << " rounded to " << fR);
|
|
||||||
int32_t nZoneOffset, nDSTOffset;
|
|
||||||
UErrorCode status = U_ZERO_ERROR;
|
|
||||||
- body->getTimeZone().getOffset( fR, TRUE, nZoneOffset, nDSTOffset, status );
|
|
||||||
+ body->getTimeZone().getOffset( fR,
|
|
||||||
+#if U_ICU_VERSION_MAJOR_NUM >= 68
|
|
||||||
+ true,
|
|
||||||
+#else
|
|
||||||
+ TRUE,
|
|
||||||
+#endif
|
|
||||||
+ nZoneOffset, nDSTOffset, status );
|
|
||||||
+
|
|
||||||
if ( !U_SUCCESS(status) ) throw ERROR;
|
|
||||||
status = U_ZERO_ERROR;
|
|
||||||
body->setTime( fR - (nZoneOffset + nDSTOffset), status );
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
@ -1,28 +0,0 @@
|
|||||||
From 523f8613c124b722b721c8055db2085a005e09dd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
|
||||||
Date: Fri, 6 Nov 2020 02:43:07 +0100
|
|
||||||
Subject: [PATCH] Fix build with ICU 68, use standard true. (part 2/2 missing
|
|
||||||
from 0b14b9ec)
|
|
||||||
|
|
||||||
Change-Id: I776dd4e1fc92ef1ef09b88e239bf0d6942c28ca3
|
|
||||||
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
||||||
---
|
|
||||||
svx/source/dialog/fntctrl.cxx | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
|
|
||||||
index d312d7ad5f49..10c84ca95222 100644
|
|
||||||
--- a/svx/source/dialog/fntctrl.cxx
|
|
||||||
+++ b/svx/source/dialog/fntctrl.cxx
|
|
||||||
@@ -1014,7 +1014,7 @@ void SvxFontPrevWindow::SetFromItemSet(const SfxItemSet &rSet, bool bPreviewBack
|
|
||||||
rCTLFont.SetFillColor( rColor );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
- bTransparent = TRUE;
|
|
||||||
+ bTransparent = true;
|
|
||||||
|
|
||||||
rFont.SetTransparent( bTransparent );
|
|
||||||
rCJKFont.SetTransparent( bTransparent );
|
|
||||||
--
|
|
||||||
2.29.2
|
|
||||||
|
|
@ -1,591 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
PYTHON_REQ_USE="threads(+),xml"
|
|
||||||
|
|
||||||
MY_PV="${PV/_alpha/.alpha}"
|
|
||||||
MY_PV="${MY_PV/_beta/.beta}"
|
|
||||||
# experimental ; release ; old
|
|
||||||
# Usually the tarballs are moved a lot so this should make everyone happy.
|
|
||||||
DEV_URI="
|
|
||||||
https://dev-builds.libreoffice.org/pre-releases/src
|
|
||||||
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
|
||||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
|
||||||
"
|
|
||||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
|
||||||
|
|
||||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|
||||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
|
||||||
|
|
||||||
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
|
||||||
inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A full office productivity suite"
|
|
||||||
HOMEPAGE="https://www.libreoffice.org"
|
|
||||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
|
||||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
|
|
||||||
|
|
||||||
# Split modules following git/tarballs; Core MUST be first!
|
|
||||||
# Help is used for the image generator
|
|
||||||
# Only release has the tarballs
|
|
||||||
if [[ ${MY_PV} != *9999* ]]; then
|
|
||||||
for i in ${DEV_URI}; do
|
|
||||||
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
|
||||||
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
|
||||||
done
|
|
||||||
unset i
|
|
||||||
fi
|
|
||||||
unset DEV_URI
|
|
||||||
|
|
||||||
# Really required addons
|
|
||||||
# These are bundles that can't be removed for now due to huge patchsets.
|
|
||||||
# If you want them gone, patches are welcome.
|
|
||||||
ADDONS_SRC=(
|
|
||||||
# QR code generating library for >=libreoffice-6.4
|
|
||||||
"${ADDONS_URI}/QR-Code-generator-1.4.0.tar.gz"
|
|
||||||
"base? (
|
|
||||||
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
|
||||||
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
|
||||||
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
|
||||||
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
|
||||||
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
|
||||||
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
|
||||||
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
|
||||||
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
|
||||||
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
|
||||||
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
|
||||||
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
|
||||||
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
|
||||||
)"
|
|
||||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
|
||||||
# no release for 8 years, should we package it?
|
|
||||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
|
||||||
# Does not build with 1.6 rhino at all
|
|
||||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
|
||||||
# requirement of rhino
|
|
||||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
|
||||||
# not packageable
|
|
||||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
|
||||||
)
|
|
||||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
|
||||||
|
|
||||||
unset ADDONS_URI
|
|
||||||
unset ADDONS_SRC
|
|
||||||
|
|
||||||
# Extensions that need extra work:
|
|
||||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
|
||||||
|
|
||||||
IUSE="accessibility base bluetooth +branding coinmp +cups +dbus debug eds firebird
|
|
||||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test
|
|
||||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
|
||||||
base? ( firebird java )
|
|
||||||
bluetooth? ( dbus )
|
|
||||||
gtk? ( dbus )
|
|
||||||
libreoffice_extensions_nlpsolver? ( java )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( java )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( java )
|
|
||||||
libreoffice_extensions_wiki-publisher? ( java )
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
[[ ${MY_PV} == *9999* ]] || \
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/intltool
|
|
||||||
sys-devel/bison
|
|
||||||
sys-devel/flex
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
|
||||||
"
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-arch/unzip
|
|
||||||
app-arch/zip
|
|
||||||
app-crypt/gpgme[cxx]
|
|
||||||
app-text/hunspell:=
|
|
||||||
>=app-text/libabw-0.1.0
|
|
||||||
>=app-text/libebook-0.1
|
|
||||||
app-text/libepubgen
|
|
||||||
>=app-text/libetonyek-0.1
|
|
||||||
app-text/libexttextcat
|
|
||||||
app-text/liblangtag
|
|
||||||
>=app-text/libmspub-0.1.0
|
|
||||||
>=app-text/libmwaw-0.3.1
|
|
||||||
app-text/libnumbertext
|
|
||||||
>=app-text/libodfgen-0.1.0
|
|
||||||
app-text/libqxp
|
|
||||||
app-text/libstaroffice
|
|
||||||
app-text/libwpd:0.10[tools]
|
|
||||||
app-text/libwpg:0.3
|
|
||||||
>=app-text/libwps-0.4
|
|
||||||
app-text/mythes
|
|
||||||
>=dev-cpp/clucene-2.3.3.4-r2
|
|
||||||
>=dev-cpp/libcmis-0.5.2
|
|
||||||
dev-db/unixODBC
|
|
||||||
dev-lang/perl
|
|
||||||
>=dev-libs/boost-1.72.0:=[nls]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/hyphen
|
|
||||||
dev-libs/icu:=
|
|
||||||
dev-libs/libassuan
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
dev-libs/liborcus:0/0.15
|
|
||||||
dev-libs/librevenge
|
|
||||||
dev-libs/libxml2
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
>=dev-libs/redland-1.0.16
|
|
||||||
>=dev-libs/xmlsec-1.2.28[nss]
|
|
||||||
media-gfx/fontforge
|
|
||||||
media-gfx/graphite2
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype:2
|
|
||||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
|
||||||
media-libs/lcms:2
|
|
||||||
>=media-libs/libcdr-0.1.0
|
|
||||||
>=media-libs/libepoxy-1.3.1[X]
|
|
||||||
>=media-libs/libfreehand-0.1.0
|
|
||||||
media-libs/libpagemaker
|
|
||||||
>=media-libs/libpng-1.4:0=
|
|
||||||
>=media-libs/libvisio-0.1.0
|
|
||||||
media-libs/libzmf
|
|
||||||
net-libs/neon
|
|
||||||
net-misc/curl
|
|
||||||
sci-mathematics/lpsolve
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/glu
|
|
||||||
virtual/jpeg:0
|
|
||||||
virtual/opengl
|
|
||||||
x11-libs/cairo[X]
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
accessibility? (
|
|
||||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_MULTI_USEDEP}]')
|
|
||||||
)
|
|
||||||
bluetooth? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
net-wireless/bluez
|
|
||||||
)
|
|
||||||
coinmp? ( sci-libs/coinor-mp )
|
|
||||||
cups? ( net-print/cups )
|
|
||||||
dbus? ( sys-apps/dbus[X] )
|
|
||||||
eds? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
gnome-base/dconf
|
|
||||||
gnome-extra/evolution-data-server
|
|
||||||
)
|
|
||||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/gobject-introspection
|
|
||||||
gnome-base/dconf
|
|
||||||
media-libs/mesa[egl]
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/pango
|
|
||||||
)
|
|
||||||
kde? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
dev-qt/qtx11extras:5
|
|
||||||
kde-frameworks/kconfig:5
|
|
||||||
kde-frameworks/kcoreaddons:5
|
|
||||||
kde-frameworks/ki18n:5
|
|
||||||
kde-frameworks/kio:5
|
|
||||||
kde-frameworks/kwindowsystem:5
|
|
||||||
)
|
|
||||||
ldap? ( net-nds/openldap )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
|
||||||
mariadb? ( dev-db/mariadb-connector-c )
|
|
||||||
!mariadb? ( dev-db/mysql-connector-c )
|
|
||||||
pdfimport? ( app-text/poppler:=[cxx] )
|
|
||||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
|
||||||
"
|
|
||||||
# FIXME: cppunit should be moved to test conditional
|
|
||||||
# after everything upstream is under gbuild
|
|
||||||
# as dmake execute tests right away
|
|
||||||
# tests apparently also need google-carlito-fonts (not packaged)
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-libs/libatomic_ops-7.2d
|
|
||||||
dev-perl/Archive-Zip
|
|
||||||
>=dev-util/cppunit-1.14.0
|
|
||||||
>=dev-util/gperf-3.1
|
|
||||||
dev-util/mdds:1/1.5
|
|
||||||
media-libs/glm
|
|
||||||
sys-devel/ucpp
|
|
||||||
x11-base/xorg-proto
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
java? (
|
|
||||||
dev-java/ant-core
|
|
||||||
>=virtual/jdk-1.8
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
app-crypt/gnupg
|
|
||||||
dev-util/cppunit
|
|
||||||
media-fonts/dejavu
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!app-office/libreoffice-bin
|
|
||||||
!app-office/libreoffice-bin-debug
|
|
||||||
!app-office/openoffice
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
|
||||||
java? ( >=virtual/jre-1.8 )
|
|
||||||
kde? ( kde-frameworks/breeze-icons:* )
|
|
||||||
"
|
|
||||||
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
|
||||||
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
|
||||||
else
|
|
||||||
# Translations are not reliable on live ebuilds
|
|
||||||
# rather force people to use english only.
|
|
||||||
PDEPEND="!app-office/libreoffice-l10n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
|
|
||||||
|
|
||||||
# not upstreamable stuff
|
|
||||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
|
||||||
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
|
||||||
"${FILESDIR}/${PN}-7.0.3.1-qt5detect.patch"
|
|
||||||
|
|
||||||
# 6.4 branch (fixed in 6.4.8)
|
|
||||||
"${FILESDIR}/${P}-fix-wrong-setting-for-doc-properties.patch"
|
|
||||||
|
|
||||||
# git master
|
|
||||||
"${FILESDIR}/${PN}-6.4.3.2-boost-1.73.patch" # bug 721806
|
|
||||||
"${FILESDIR}/${PN}-6.4.6.2-llvm-10.patch" # bug 713574
|
|
||||||
"${FILESDIR}"/${P}-icu-68-{1,2}.patch # bug 752021, +downstream backport
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
_check_reqs() {
|
|
||||||
CHECKREQS_MEMORY="512M"
|
|
||||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
|
||||||
CHECKREQS_DISK_BUILD="22G"
|
|
||||||
else
|
|
||||||
CHECKREQS_DISK_BUILD="6G"
|
|
||||||
fi
|
|
||||||
check-reqs_$1
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
use base ||
|
|
||||||
ewarn "If you plan to use Base application you must enable USE base."
|
|
||||||
use java ||
|
|
||||||
ewarn "Without USE java, several wizards are not going to be available."
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
java-pkg-opt-2_pkg_setup
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
xdg_environment_reset
|
|
||||||
|
|
||||||
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ ${MY_PV} = *9999* ]]; then
|
|
||||||
local base_uri branch mypv
|
|
||||||
base_uri="https://anongit.freedesktop.org/git"
|
|
||||||
branch="master"
|
|
||||||
mypv=${MY_PV/.9999}
|
|
||||||
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
|
|
||||||
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
|
||||||
git-r3_checkout "${base_uri}/${PN}/core"
|
|
||||||
LOCOREGIT_VERSION=${EGIT_VERSION}
|
|
||||||
|
|
||||||
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
|
||||||
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# sandbox violations on many systems, we don't need it. Bug #646406
|
|
||||||
sed -i \
|
|
||||||
-e "/KF5_CONFIG/s/kf5-config/no/" \
|
|
||||||
configure.ac || die "Failed to disable kf5-config"
|
|
||||||
|
|
||||||
AT_M4DIR="m4" eautoreconf
|
|
||||||
# hack in the autogen.sh
|
|
||||||
touch autogen.lastrun
|
|
||||||
|
|
||||||
# sed in the tests
|
|
||||||
sed -i \
|
|
||||||
-e "s#all : build unitcheck#all : build#g" \
|
|
||||||
solenv/gbuild/Module.mk || die
|
|
||||||
sed -i \
|
|
||||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
|
||||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
|
||||||
Makefile.in || die
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
|
||||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
|
||||||
bin/distro-install-desktop-integration || die
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
# hack...
|
|
||||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
|
||||||
if ! use pdfimport; then
|
|
||||||
sed -i \
|
|
||||||
-e ":MimeType: s:application/pdf;::" \
|
|
||||||
-e ":Keywords: s:pdf;::" \
|
|
||||||
sysui/desktop/menus/draw.desktop || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
|
||||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
|
||||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
|
||||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
|
||||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
|
||||||
|
|
||||||
# optimization flags
|
|
||||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
|
||||||
# System python enablement:
|
|
||||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
|
||||||
export PYTHON_LIBS=$(python_get_LIBS)
|
|
||||||
|
|
||||||
use kde && export QT5DIR="$(qt5_get_bindir)/.."
|
|
||||||
|
|
||||||
local gentoo_buildid="Gentoo official package"
|
|
||||||
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
|
||||||
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# system headers/libs/...: enforce using system packages
|
|
||||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
|
||||||
# --enable-cairo: ensure that cairo is always required
|
|
||||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
|
||||||
# --enable-release-build: build the libreoffice as release
|
|
||||||
# --disable-fetch-external: prevent dowloading during compile phase
|
|
||||||
# --enable-extension-integration: enable any extension integration support
|
|
||||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
|
||||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
|
||||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
|
||||||
# not linked or anything else, worthless to depend on
|
|
||||||
# --disable-pdfium: not yet packaged
|
|
||||||
# --without-system-qrencode: has no real build system and LO is the only user
|
|
||||||
local myeconfargs=(
|
|
||||||
--with-system-dicts
|
|
||||||
--with-system-epoxy
|
|
||||||
--with-system-headers
|
|
||||||
--with-system-jars
|
|
||||||
--with-system-libs
|
|
||||||
--enable-build-opensymbol
|
|
||||||
--enable-cairo-canvas
|
|
||||||
--enable-largefile
|
|
||||||
--enable-mergelibs
|
|
||||||
--enable-neon
|
|
||||||
--enable-python=system
|
|
||||||
--enable-randr
|
|
||||||
--enable-release-build
|
|
||||||
--disable-breakpad
|
|
||||||
--disable-bundle-mariadb
|
|
||||||
--disable-ccache
|
|
||||||
--disable-epm
|
|
||||||
--disable-fetch-external
|
|
||||||
--disable-gtk3-kde5
|
|
||||||
--disable-online-update
|
|
||||||
--disable-openssl
|
|
||||||
--disable-pdfium
|
|
||||||
--disable-vlc
|
|
||||||
--with-build-version="${gentoo_buildid}"
|
|
||||||
--enable-extension-integration
|
|
||||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
|
||||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
|
||||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
|
||||||
--with-external-tar="${DISTDIR}"
|
|
||||||
--with-lang=""
|
|
||||||
--with-parallelism=$(makeopts_jobs)
|
|
||||||
--with-system-ucpp
|
|
||||||
--with-tls=nss
|
|
||||||
--with-vendor="Gentoo Foundation"
|
|
||||||
--with-x
|
|
||||||
--without-fonts
|
|
||||||
--without-myspell-dicts
|
|
||||||
--with-help="html"
|
|
||||||
--without-helppack-integration
|
|
||||||
--with-system-gpgmepp
|
|
||||||
--without-system-jfreereport
|
|
||||||
--without-system_apache_commons
|
|
||||||
--without-system-sane
|
|
||||||
--without-system-qrcodegen
|
|
||||||
$(use_enable base report-builder)
|
|
||||||
$(use_enable bluetooth sdremote-bluetooth)
|
|
||||||
$(use_enable coinmp)
|
|
||||||
$(use_enable cups)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable eds evolution2)
|
|
||||||
$(use_enable firebird firebird-sdbc)
|
|
||||||
$(use_enable gstreamer gstreamer-1-0)
|
|
||||||
$(use_enable gtk gtk3)
|
|
||||||
$(use_enable kde kf5)
|
|
||||||
$(use_enable kde qt5)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable odk)
|
|
||||||
$(use_enable pdfimport)
|
|
||||||
$(use_enable postgres postgresql-sdbc)
|
|
||||||
$(use_with accessibility lxml)
|
|
||||||
$(use_with coinmp system-coinmp)
|
|
||||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
|
||||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
|
||||||
$(use_with java)
|
|
||||||
$(use_with odk doxygen)
|
|
||||||
)
|
|
||||||
|
|
||||||
if use eds || use gtk; then
|
|
||||||
myeconfargs+=( --enable-dconf --enable-gio )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-dconf --disable-gio )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# libreoffice extensions handling
|
|
||||||
for lo_xt in ${LO_EXTS}; do
|
|
||||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
|
||||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
|
||||||
else
|
|
||||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
# hsqldb: system one is too new
|
|
||||||
myeconfargs+=(
|
|
||||||
--without-junit
|
|
||||||
--without-system-hsqldb
|
|
||||||
--with-ant-home="${ANT_HOME}"
|
|
||||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
|
||||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
|
||||||
)
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-beanshell && \
|
|
||||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-javascript && \
|
|
||||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
|
|
||||||
fi
|
|
||||||
|
|
||||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
|
||||||
|
|
||||||
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
|
||||||
# bug 501508, bug 540624, bug 545974 and probably more
|
|
||||||
addpredict /dev/dri
|
|
||||||
addpredict /dev/ati
|
|
||||||
addpredict /dev/nvidiactl
|
|
||||||
|
|
||||||
local target
|
|
||||||
use test && target="build" || target="build-nocheck"
|
|
||||||
|
|
||||||
# this is not a proper make script
|
|
||||||
make ${target} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
make unitcheck || die
|
|
||||||
make slowcheck || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# This is not Makefile so no buildserver
|
|
||||||
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
|
||||||
|
|
||||||
# bug 593514
|
|
||||||
if use gtk; then
|
|
||||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
|
||||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
|
||||||
fi
|
|
||||||
|
|
||||||
# bash completion aliases
|
|
||||||
bashcomp_alias \
|
|
||||||
libreoffice \
|
|
||||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN}/program
|
|
||||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
|
||||||
dodir /etc/env.d
|
|
||||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# bug 703474
|
|
||||||
insinto /usr/include
|
|
||||||
doins -r include/LibreOfficeKit
|
|
||||||
|
|
||||||
local lodir=/usr/$(get_libdir)/libreoffice
|
|
||||||
# patching this would break tests
|
|
||||||
cat <<-EOF > "${T}"/uno.py
|
|
||||||
import sys, os
|
|
||||||
sys.path.append('${EPREFIX}${lodir}/program')
|
|
||||||
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
|
|
||||||
EOF
|
|
||||||
sed -e "/^import sys/d" -e "/^import os/d" \
|
|
||||||
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
|
|
||||||
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
|
|
||||||
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
|
|
||||||
|
|
||||||
# more system pyuno mess
|
|
||||||
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
|
|
||||||
-i "${D}"${lodir}/program/officehelper.py || die
|
|
||||||
|
|
||||||
python_optimize "${D}"${lodir}/program
|
|
||||||
# link python bridge in site-packages, bug 667802
|
|
||||||
local py pyc loprogdir=$(get_libdir)/libreoffice/program
|
|
||||||
for py in uno.py unohelper.py officehelper.py; do
|
|
||||||
dosym ../../../${loprogdir}/${py} $(python_get_sitedir)/${py}
|
|
||||||
while IFS="" read -d $'\0' -r pyc; do
|
|
||||||
pyc=${pyc//*\/}
|
|
||||||
dosym ../../../../${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
|
||||||
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST LanguageTool-5.0.oxt 141552168 BLAKE2B 040cb817150dd1cf137feadf28ca00ce6316a529709c1255438d0fa2faac3b5a516d9a48e3e3ba6bf2fedc3650050970eae6179578c5fcf005c6484c30cf408e SHA512 8493100684598aaa7c422360e0f00b5cff0c1be22aca4bee6c7e0e12d509916bc3c7f8df052b86702f6177ffffc227d1a5dbe6b2592fa1cbdb79f4666dc22c16
|
|
||||||
DIST LanguageTool-5.1.3.oxt 142774437 BLAKE2B 45d6ffc3aa6a3d9891d0e3e5fc6462f4d8ec76736a47cbb3b235721fcc708d0f0b17d3f069fdcb85843c9b96dca6a70176c3dcba6832f9855c8d5eeb4a257dd1 SHA512 7a36e3b028b757c073d879ddd837ca12dc288178430bbf445080c892efe9f28d13565efd546e34244bcd8798ee0ef65433d08c8e3ee993b96efa4e5bbc103882
|
DIST LanguageTool-5.1.3.oxt 142774437 BLAKE2B 45d6ffc3aa6a3d9891d0e3e5fc6462f4d8ec76736a47cbb3b235721fcc708d0f0b17d3f069fdcb85843c9b96dca6a70176c3dcba6832f9855c8d5eeb4a257dd1 SHA512 7a36e3b028b757c073d879ddd837ca12dc288178430bbf445080c892efe9f28d13565efd546e34244bcd8798ee0ef65433d08c8e3ee993b96efa4e5bbc103882
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_P="LanguageTool-${PV}"
|
|
||||||
|
|
||||||
OFFICE_REQ_USE="java"
|
|
||||||
OFFICE_EXTENSIONS=(
|
|
||||||
"${MY_P}.oxt"
|
|
||||||
)
|
|
||||||
|
|
||||||
inherit office-ext-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Style and Grammar Checker for libreoffice"
|
|
||||||
HOMEPAGE="https://www.languagetool.org/"
|
|
||||||
SRC_URI="https://www.languagetool.org/download/${MY_P}.oxt"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jre-1.8"
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST kuroneko-0.1.0.tar.gz 8964 BLAKE2B 051539ab6714332b02188854debe655d405093418a3edcf88f58bc54f153c5e9cecf9f9ab165ea32e9dc1d967c43618249b2a6677cb74ea020b05def99479d1b SHA512 b4f9e4cbf932927549ab1411aba15e8ca394919e80a19f7bd04a560764d74c7c884e96133c9aad1be69f9646b1d37713dfb449a1ca09bd74d407101789c213c1
|
DIST kuroneko-0.1.0.tar.gz 8964 BLAKE2B 051539ab6714332b02188854debe655d405093418a3edcf88f58bc54f153c5e9cecf9f9ab165ea32e9dc1d967c43618249b2a6677cb74ea020b05def99479d1b SHA512 b4f9e4cbf932927549ab1411aba15e8ca394919e80a19f7bd04a560764d74c7c884e96133c9aad1be69f9646b1d37713dfb449a1ca09bd74d407101789c213c1
|
||||||
DIST kuroneko-0.1.1.tar.gz 10223 BLAKE2B aad046291218139662e74c653241bfb36180a0f7fdb4e3571c4d3c8787c41032c48a96d7b02f612e957b2a0eca9fd880daa03c31302d2e92eb6dec5df1b18aab SHA512 c4f29cb5244e659f2615cca706d002c9f20b200b51c964250da8c915d45bcaca03eac2a2dbc19e1d9b6a6374b7458b2c9e0a004e0fa14b1655e8c2c9ce8268a9
|
DIST kuroneko-0.1.1.tar.gz 10223 BLAKE2B aad046291218139662e74c653241bfb36180a0f7fdb4e3571c4d3c8787c41032c48a96d7b02f612e957b2a0eca9fd880daa03c31302d2e92eb6dec5df1b18aab SHA512 c4f29cb5244e659f2615cca706d002c9f20b200b51c964250da8c915d45bcaca03eac2a2dbc19e1d9b6a6374b7458b2c9e0a004e0fa14b1655e8c2c9ce8268a9
|
||||||
|
DIST kuroneko-0.1.2.tar.gz 10279 BLAKE2B 9c468e17a1ca566a0bbdc65a3b4d8f5e08e188b2d999c9ee94187ee072f627f34dad9c965d67fc58108585cf05b876158b12b0c2c6043e0a1f5f16ed2cfe929f SHA512 9fff9b65fdda9a48d6c2b40b84fce5af811b288b0da08aee50ab2d393826dad2bfbd2250875b2dc40c55e417c7f8bff04bf7f4ad1b5f2adbee26a0bc94b9955f
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Vulnerability checker using data scraped from Gentoo Bugzilla"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/kuroneko/"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/mgorny/kuroneko/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="scraper"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
sys-apps/pkgcore[${PYTHON_USEDEP}]
|
||||||
|
scraper? (
|
||||||
|
dev-python/bracex[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/bracex[${PYTHON_USEDEP}]
|
||||||
|
dev-python/responses[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
diff --git a/src/lib/NUM3Parser.cpp b/src/lib/NUM3Parser.cpp
|
|
||||||
index 6dc0e9a..6f8e79e 100644
|
|
||||||
--- a/src/lib/NUM3Parser.cpp
|
|
||||||
+++ b/src/lib/NUM3Parser.cpp
|
|
||||||
@@ -7,6 +7,7 @@
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#include <algorithm>
|
|
||||||
#include <functional>
|
|
||||||
|
|
||||||
#include "NUM3Parser.h"
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]]; then
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libetonyek.git"
|
|
||||||
inherit autotools git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
|
|
||||||
fi
|
|
||||||
DESCRIPTION="Library parsing Apple Keynote presentations"
|
|
||||||
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
|
|
||||||
|
|
||||||
LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc static-libs test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
app-text/liblangtag
|
|
||||||
dev-libs/librevenge
|
|
||||||
dev-libs/libxml2
|
|
||||||
>=dev-util/mdds-1.4.3:1=
|
|
||||||
sys-libs/zlib
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-libs/boost
|
|
||||||
media-libs/glm
|
|
||||||
sys-devel/libtool
|
|
||||||
test? ( dev-util/cppunit )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-boost-1.73.patch" ) # bug 722042
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
[[ -d m4 ]] || mkdir "m4"
|
|
||||||
[[ ${PV} == *9999 ]] && eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
--disable-werror
|
|
||||||
$(use_with doc docs)
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
$(use_enable test tests)
|
|
||||||
)
|
|
||||||
if has_version ">=dev-util/mdds-1.5"; then
|
|
||||||
myeconfargs+=( --with-mdds=1.5 )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --with-mdds=1.4 )
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST libmwaw-0.3.17.tar.xz 1349700 BLAKE2B 4b5ba8d5133144973609dfbd273ca36cc95e52608c78f6143f7c4283bc2bc6d7ceb22836a693d64fa7408957a3b02a7c9d0a5ab9235aa2d0b9725170441babfc SHA512 c3a1bb079d7e74cd7a23de1501730be21b1b089ef6d4f81ee0001775483c6346da3105b0d67f75523e4e088987bc92b97acb056ec7fc11bb29047109a1cf5ac4
|
|
||||||
DIST libmwaw-0.3.19.tar.xz 1401720 BLAKE2B 93e63993dd73d52d1b071c44a5efa4ba2495a370a767cd80fbeb437a56224d333781cfdf32c3ca1c0a3794544da6cdf8c967badf98b6858796fbc8f2ea7878c1 SHA512 a5b74f417366f7e8a8303948e678d54caf9c45e0b51694d39593926b2f2fbbaa5dfea5dee8a6b4a656e5ca5bd880f41a76e7b869f55230690740b7ab75a28f1f
|
DIST libmwaw-0.3.19.tar.xz 1401720 BLAKE2B 93e63993dd73d52d1b071c44a5efa4ba2495a370a767cd80fbeb437a56224d333781cfdf32c3ca1c0a3794544da6cdf8c967badf98b6858796fbc8f2ea7878c1 SHA512 a5b74f417366f7e8a8303948e678d54caf9c45e0b51694d39593926b2f2fbbaa5dfea5dee8a6b4a656e5ca5bd880f41a76e7b869f55230690740b7ab75a28f1f
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
EGIT_REPO_URI="https://git.code.sf.net/p/libmwaw/libmwaw"
|
|
||||||
inherit autotools git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Library parsing many pre-OSX MAC text formats"
|
|
||||||
HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc tools"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/libtool
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/librevenge
|
|
||||||
sys-libs/zlib
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
[[ ${PV} == 9999 ]] && eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# zip is hard enabled as the zlib is dep on the rdeps anyway
|
|
||||||
local myeconfargs=(
|
|
||||||
--enable-zip
|
|
||||||
--disable-static
|
|
||||||
--disable-werror
|
|
||||||
$(use_with doc docs)
|
|
||||||
$(use_enable tools)
|
|
||||||
)
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
}
|
|
Binary file not shown.
@ -1,5 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>alexey+gentoo@asokolov.org</email>
|
||||||
|
<name>Alexey Sokolov</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
Ranges are an extension of the Standard Template Library that makes its
|
||||||
|
iterators and algorithms more powerful by making them composable. Unlike
|
||||||
|
other range-like solutions which seek to do away with iterators, in
|
||||||
|
range-v3 ranges are an abstration layer on top of iterators.
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">ericniebler/range-v3</remote-id>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST tree-2.81.tar.gz 1167128 BLAKE2B ea92724b16fc7ea8a5f0036f5a7a57d000d66b332b4ba46139463f707f95922f38b1d4d56a6d2fca0a3c4ece8f11e28bbf4aa6bec5c5a7bc59ccaa36a01413d6 SHA512 85e910fdb19ffd03ae79302a95ebffdb44725fd9f291a61d6912f743b54fe9b3d1c863e00c7e75d238f428946809e42c7ae6379b1051688fb06ee6c6d761d294
|
DIST tree-2.81.tar.gz 1167128 BLAKE2B ea92724b16fc7ea8a5f0036f5a7a57d000d66b332b4ba46139463f707f95922f38b1d4d56a6d2fca0a3c4ece8f11e28bbf4aa6bec5c5a7bc59ccaa36a01413d6 SHA512 85e910fdb19ffd03ae79302a95ebffdb44725fd9f291a61d6912f743b54fe9b3d1c863e00c7e75d238f428946809e42c7ae6379b1051688fb06ee6c6d761d294
|
||||||
|
DIST tree-3.17.tar.gz 1178425 BLAKE2B f59239b861c0495c48036d0fffa49370d4cd78a94bfc35348bbbe0232a3c1221293a23366a6289429adabcb00b21292288ce085fa54f74dc204537c95c5b7c37 SHA512 af11f693c13dd37dddf016751c0f975c21d7a5ad405879e18fbe5387400ee1fcfb42942ee8888efffcb0c985d7875f2698591139aeb18b4809e83e225a743112
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DOCS_BUILDER="doxygen"
|
||||||
|
DOCS_CONFIG_NAME="doxygen_tree.config"
|
||||||
|
DOCS_DIR="doc"
|
||||||
|
|
||||||
|
inherit docs toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="An STL-like tree class"
|
||||||
|
HOMEPAGE="https://github.com/kpeeters/tree.hh"
|
||||||
|
SRC_URI="https://github.com/kpeeters/tree.hh/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}.hh-${PV}"
|
||||||
|
|
||||||
|
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export CXX
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
docs_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
cd src || die
|
||||||
|
emake
|
||||||
|
emake run_tests
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
doheader src/tree.hh src/tree_util.hh
|
||||||
|
dodoc -r examples
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -1,5 +1,2 @@
|
|||||||
DIST jiffy-0.14.11.tar.gz 1878494 BLAKE2B e0240c0dcd81e1e505c41197772ecf659c76b7f91f1435c5a2debe558d9aa30291a6bd564b13fa617f801150dc4386d2d5f53ee6d64b1a7f8a59ea1e2f320d57 SHA512 0530958c04ecd3c479b432d15aa5c8c86ce9e39a828bf4e48eaa096a2a9b9c593b9cf07836346bf82e27ffcbaa6e923bc298e856701460e44c9c62a7c888028e
|
|
||||||
DIST jiffy-0.14.9.tar.gz 1878413 BLAKE2B 6df392a6849b012d6a635191fec90f116b729d2602342b85ff4e0585f5db7c1319bf2d622d74f1807476af879a117b8e7d7b45c1d834f81309d96f184cbe36dd SHA512 2c8e7b2ea95c69cb0c6a7d02e341591e6807d0d81577050bf6f884dc7af7335e909f01cf7017ea27fae922d9a50ca4709fe0603b5de282b58d71afe4e06f7813
|
|
||||||
DIST jiffy-1.0.1.tar.gz 1820182 BLAKE2B f2a3482cd1a8c3b713237e6564493cc480caafb730a058c3be0b1bc71f30d24733b94deb0b895071f3ac5b63c6dff03a52440406362aacba271c5decd9eddcb8 SHA512 cbfa148833ceaab42a970a4894f781f02bb214fbb2d042ccd22c8e04b53e47b53be51abdcb30ed7b143f0b72deb6d20878ca23d518090707c43f2b36431f7087
|
|
||||||
DIST jiffy-1.0.4.tar.gz 1819151 BLAKE2B 76486e228ca5e11b9f7828d0cfb34975d1a1f318187dc22b9497e4de0af906e3b88c86f43f82eb4e8963d33846a94e51d0762d2fa3eba78c9997942cdf3c7f7e SHA512 a1a09e625e99dd4c5e7812a03b390eec1ea90b444fe71ebfafd50ef07b36dc53d18cd01a970a6a102d89c2ddd68b2390ca4ab8eb9a296e4e7b87220422c7e127
|
|
||||||
DIST jiffy-1.0.5.tar.gz 1896318 BLAKE2B 2ec82545b80d7cfae70a71a5bcb70be1f8c905bc2ab2ec5132d793cdb8050a7bf463eae99771afe9d80fc7911fc0e635c29d2bc236275ac1f564f99685b3fd1d SHA512 607dded2ccb5f27d6608e19a03fece847fc7bf5c7a1d92a7fafa95efcea157612c73807fd6d624445fa68f895ea4456bd851656b952d5e48b58b6fedf606a830
|
DIST jiffy-1.0.5.tar.gz 1896318 BLAKE2B 2ec82545b80d7cfae70a71a5bcb70be1f8c905bc2ab2ec5132d793cdb8050a7bf463eae99771afe9d80fc7911fc0e635c29d2bc236275ac1f564f99685b3fd1d SHA512 607dded2ccb5f27d6608e19a03fece847fc7bf5c7a1d92a7fafa95efcea157612c73807fd6d624445fa68f895ea4456bd851656b952d5e48b58b6fedf606a830
|
||||||
|
DIST jiffy-1.0.8.tar.gz 1896454 BLAKE2B 2c47c7a4350ff5e8674b365a8b65d242896165aee6386a2200a51009b686f86eccda6f4e5b48b1c7d3b5b0f2cfafd1aedf723a64f57c5d2988710fcbf56901a1 SHA512 d248d4e41d780a8f676c4fa7eee6fbdc6f9a5a2867c558cb1ce6f1600093b242fad48d86221a37bfdb7bba0142635f577a4ac3e98106558f5a0ca817dd9a0574
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit rebar
|
|
||||||
|
|
||||||
DESCRIPTION="JSON NIFs for Erlang"
|
|
||||||
HOMEPAGE="https://github.com/davisp/jiffy"
|
|
||||||
SRC_URI="https://github.com/davisp/${PN}/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc x86"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/erlang-17.1"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
@ -1,20 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit rebar
|
|
||||||
|
|
||||||
DESCRIPTION="JSON NIFs for Erlang"
|
|
||||||
HOMEPAGE="https://github.com/davisp/jiffy"
|
|
||||||
SRC_URI="https://github.com/davisp/${PN}/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc x86"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/erlang-17.1"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
@ -1,20 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit rebar
|
|
||||||
|
|
||||||
DESCRIPTION="JSON NIFs for Erlang"
|
|
||||||
HOMEPAGE="https://github.com/davisp/jiffy"
|
|
||||||
SRC_URI="https://github.com/davisp/${PN}/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/erlang-17.1"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
Binary file not shown.
@ -0,0 +1,10 @@
|
|||||||
|
https://bugs.gentoo.org/759574
|
||||||
|
--- a/src/t4k_menu.c 2013-12-02 10:50:23.000000000 -0500
|
||||||
|
+++ b/src/t4k_menu.c 2021-01-04 19:49:20.561524579 -0500
|
||||||
|
@@ -152,5 +152,5 @@
|
||||||
|
char* find_longest_text(MenuNode* menu, int* length);
|
||||||
|
int find_longest_menu_page(MenuNode* menu);
|
||||||
|
-void set_font_size();
|
||||||
|
+void set_font_size(bool uniform);
|
||||||
|
void prerender_menu(MenuNode* menu);
|
||||||
|
int min(int a, int b);
|
@ -0,0 +1,14 @@
|
|||||||
|
Fix some missing (transparent) text with libsdl-1.2.15_p20210224
|
||||||
|
e.g. empty menus in tuxmath
|
||||||
|
--- a/src/t4k_sdl.c
|
||||||
|
+++ b/src/t4k_sdl.c
|
||||||
|
@@ -1401,3 +1401,3 @@
|
||||||
|
/* Use color key for eventual transparency: */
|
||||||
|
- color_key = SDL_MapRGB(bg->format, 30, 30, 30);
|
||||||
|
+ color_key = SDL_MapRGBA(bg->format, 30, 30, 30, 0xff);
|
||||||
|
SDL_FillRect(bg, NULL, color_key);
|
||||||
|
@@ -1448,3 +1448,3 @@
|
||||||
|
SDL_SetColorKey(bg, SDL_SRCCOLORKEY|SDL_RLEACCEL, color_key);
|
||||||
|
- out = SDL_DisplayFormatAlpha(bg);
|
||||||
|
+ out = SDL_DisplayFormat(bg);
|
||||||
|
SDL_FreeSurface(bg);
|
@ -0,0 +1,73 @@
|
|||||||
|
https://bugs.gentoo.org/763591
|
||||||
|
|
||||||
|
https://github.com/tux4kids/t4kcommon/commit/99e9d3895b480d5998513592f6af25096c6d1c50
|
||||||
|
From: Paul Huff <paul.huff@gmail.com>
|
||||||
|
Date: Wed, 1 May 2019 19:56:12 -0600
|
||||||
|
Subject: [PATCH] Use libxml2 to get info from svg files for frame counts since
|
||||||
|
librsvg doesn't let you access the description anymore.
|
||||||
|
--- a/src/t4k_loaders.c
|
||||||
|
+++ b/src/t4k_loaders.c
|
||||||
|
@@ -41,4 +41,6 @@
|
||||||
|
#include<librsvg/rsvg.h>
|
||||||
|
#include<librsvg/rsvg-cairo.h>
|
||||||
|
+#include <libxml/parser.h>
|
||||||
|
+#include <libxml/tree.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@@ -49,4 +51,5 @@
|
||||||
|
|
||||||
|
#ifdef HAVE_RSVG
|
||||||
|
+int get_number_of_frames_from_svg(const char *file_name);
|
||||||
|
SDL_Surface* load_svg(const char* file_name, int width, int height, const char* layer_name);
|
||||||
|
sprite* load_svg_sprite(const char* file_name, int width, int height);
|
||||||
|
@@ -161,4 +164,43 @@
|
||||||
|
#ifdef HAVE_RSVG
|
||||||
|
|
||||||
|
+int get_number_of_frames_from_svg(const char* file_name) {
|
||||||
|
+ xmlDocPtr svgFile;
|
||||||
|
+ xmlNodePtr svgNode = NULL, nodeIterator = NULL;
|
||||||
|
+ int number_of_frames = 0, found = 0;
|
||||||
|
+
|
||||||
|
+ svgFile = xmlReadFile(file_name, NULL, XML_PARSE_RECOVER | XML_PARSE_NOERROR | XML_PARSE_NOWARNING);
|
||||||
|
+
|
||||||
|
+ /* If it's null something's really wrong because we're trying to load a sprite that doesn't exist */
|
||||||
|
+ if(svgFile == NULL) {
|
||||||
|
+ DEBUGMSG(debug_loaders, "get_number_of_frames_from_svg: couldn't load svgFile: %s\n", file_name);
|
||||||
|
+ return 0;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ svgNode = xmlDocGetRootElement(svgFile);
|
||||||
|
+
|
||||||
|
+ /* If it's null then something's really wrong because there should be a root in every svg file... */
|
||||||
|
+ if(svgNode == NULL) {
|
||||||
|
+ DEBUGMSG(debug_loaders, "get_number_of_frames_from_svg: couldn't load the root from the svgFile: %s", file_name);
|
||||||
|
+ xmlFreeDoc(svgFile); /* be clean */
|
||||||
|
+ return 0;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ nodeIterator = svgNode->children;
|
||||||
|
+ while(nodeIterator) {
|
||||||
|
+ if(xmlStrcasecmp(nodeIterator->name, (const xmlChar*)"desc") == 0) {
|
||||||
|
+ sscanf((const char*)xmlNodeGetContent(nodeIterator), "%d", &number_of_frames);
|
||||||
|
+ xmlFreeDoc(svgFile);
|
||||||
|
+ return number_of_frames;
|
||||||
|
+ }
|
||||||
|
+ nodeIterator = nodeIterator->next;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /* if we get here we had no description, which means something's really wrong */
|
||||||
|
+ DEBUGMSG(debug_loaders, "get_number_of_frames_from_svg: couldn't find the description frame number count from svgFile: %s", file_name);
|
||||||
|
+ xmlFreeDoc(svgFile);
|
||||||
|
+ return 0;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
/* Load a layer of SVG file and resize it to given dimensions.
|
||||||
|
If width or height is negative no resizing is applied.
|
||||||
|
@@ -215,5 +257,5 @@
|
||||||
|
|
||||||
|
/* get number of frames from description */
|
||||||
|
- sscanf(rsvg_handle_get_desc(file_handle), "%d", &new_sprite->num_frames);
|
||||||
|
+ new_sprite->num_frames = get_number_of_frames_from_svg(file_name);
|
||||||
|
DEBUGMSG(debug_loaders, "load_svg_sprite(): loading %d frames\n", new_sprite->num_frames);
|
||||||
|
|
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="Library of code shared between tuxmath and tuxtype"
|
||||||
|
HOMEPAGE="https://github.com/tux4kids/t4kcommon"
|
||||||
|
SRC_URI="https://github.com/tux4kids/t4kcommon/archive/upstream/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/t4kcommon-upstream-${PV}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="svg"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
media-libs/libsdl
|
||||||
|
media-libs/sdl-image
|
||||||
|
media-libs/sdl-mixer
|
||||||
|
media-libs/sdl-net
|
||||||
|
media-libs/sdl-pango
|
||||||
|
svg? (
|
||||||
|
gnome-base/librsvg:2
|
||||||
|
media-libs/libpng:=
|
||||||
|
x11-libs/cairo
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
# need sys-devel/gettext for AM_ICONV added to configure.ac
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-libpng.patch
|
||||||
|
"${FILESDIR}"/${P}-fno-common.patch
|
||||||
|
"${FILESDIR}"/${P}-ICONV_CONST.patch
|
||||||
|
"${FILESDIR}"/${P}-fix-declaration.patch
|
||||||
|
"${FILESDIR}"/${P}-missing-text.patch
|
||||||
|
"${FILESDIR}"/${P}-svg-libxml2.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
rm m4/iconv.m4 || die
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# note: sdlpango<->sdlttf breaks ABI, prefer default pango
|
||||||
|
local econfargs=(
|
||||||
|
$(usex svg '' --without-rsvg)
|
||||||
|
--disable-static
|
||||||
|
)
|
||||||
|
econf "${econfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST mujs-1.1.0.tar.gz 123450 BLAKE2B e7bc05d35566ff26346e713645e0f417a9acd1a73b5fb5c7f0c35bf940765fba1ab04199f4ed1dd6ce0e3bb2bf1547703335a1c125353da24de72f2b1adfb243 SHA512 10b61453f8483e3e67c95a742aa7868e255816b2ce25c84d8e24c5c737bad1f23ade67531c5c5bb914804be446da33c0cbe8e95a6d5889250dd8520ce56f23a0
|
DIST mujs-1.1.0.tar.gz 123450 BLAKE2B e7bc05d35566ff26346e713645e0f417a9acd1a73b5fb5c7f0c35bf940765fba1ab04199f4ed1dd6ce0e3bb2bf1547703335a1c125353da24de72f2b1adfb243 SHA512 10b61453f8483e3e67c95a742aa7868e255816b2ce25c84d8e24c5c737bad1f23ade67531c5c5bb914804be446da33c0cbe8e95a6d5889250dd8520ce56f23a0
|
||||||
DIST mujs-1.1.2.tar.xz 98340 BLAKE2B bbb290786c26fd604082eb123adc78a3b7d9387dafabf70df23bae97d016a3ad16a434fb1ab3a33da85c575cf813491d0a09d956ff351bd7c8d38cac675ec114 SHA512 66641855e6fe732541fb80a99fda4418545183965c6a6ffb4a05101084fd1cc073aca1e51115f37fffb56bc5518cec21a1586d0745c55aec08deb47736e33392
|
DIST mujs-1.1.2.tar.xz 98340 BLAKE2B bbb290786c26fd604082eb123adc78a3b7d9387dafabf70df23bae97d016a3ad16a434fb1ab3a33da85c575cf813491d0a09d956ff351bd7c8d38cac675ec114 SHA512 66641855e6fe732541fb80a99fda4418545183965c6a6ffb4a05101084fd1cc073aca1e51115f37fffb56bc5518cec21a1586d0745c55aec08deb47736e33392
|
||||||
|
DIST mujs-1.1.3.tar.xz 98332 BLAKE2B 4dc2c0e657d7dcbbd7f82765556e75e7992cdcaf15c7986bb76c0fb6c244057ba0771a2a59c246eaf7bb9ff080e8af6ade8ef9a95606dc8ebde99f7d73c245c1 SHA512 6a8d0650f1924b5889039ddd8529438226677c63f9317b980492fac4e8380385d5c33fe8a315f26ebd0f7ae94c6c3bc90fdb75a8e4a0df367e6e4e355692e890
|
||||||
|
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic multilib toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="An embeddable JavaScript interpreter in C"
|
||||||
|
HOMEPAGE="https://mujs.com/ https://github.com/ccxvii/mujs"
|
||||||
|
SRC_URI="https://mujs.com/downloads/${P}.tar.xz"
|
||||||
|
#SRC_URI=" https://github.com/ccxvii/mujs/archive/${PV}.tar.xz -> ${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
# subslot matches SONAME
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/readline:0="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.1.1-flags.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
tc-export AR CC
|
||||||
|
|
||||||
|
append-cflags -fPIC
|
||||||
|
|
||||||
|
# library's ABI (and API) changes in ~each release:
|
||||||
|
# diff 'usr/includemujs.h' across releases to validate
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
append-cflags -Wl,-install_name,"${EPREFIX}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib
|
||||||
|
else
|
||||||
|
append-cflags -Wl,-soname=lib${PN}.so.${PV}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# We need to use ${PV} for the pkgconfig file
|
||||||
|
# #784461
|
||||||
|
emake \
|
||||||
|
VERSION=${PV} \
|
||||||
|
XCFLAGS="${CFLAGS}" \
|
||||||
|
XCPPFLAGS="${CPPFLAGS}" \
|
||||||
|
prefix=/usr \
|
||||||
|
shell shared
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local myemakeargs=(
|
||||||
|
DESTDIR="${ED}"
|
||||||
|
VERSION=${PV}
|
||||||
|
libdir="/usr/$(get_libdir)"
|
||||||
|
prefix=/usr
|
||||||
|
)
|
||||||
|
|
||||||
|
emake "${myemakeargs[@]}" install-shared
|
||||||
|
|
||||||
|
# TODO: Tidy up this logic, improve readability
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so "${ED}"/usr/$(get_libdir)/lib${PN}.${PV}.dylib || die
|
||||||
|
dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.dylib
|
||||||
|
dosym lib${PN}.${PV}.dylib /usr/$(get_libdir)/lib${PN}.${PV:0:1}.dylib
|
||||||
|
else
|
||||||
|
mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die
|
||||||
|
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
|
||||||
|
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1}
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST python-exec-2.4.6.tar.bz2 87634 BLAKE2B 7b6de8ad0e0603fafd3284e6e3c5247ad83f145ab4db6728914318ae8e6f5aaa3c0247f4e01238fca11519ef72fb1b11436aea7e2b8c988b8717b3f6a2a43c37 SHA512 e05eaf01b83de196a10933636ab6b1a5489a421592df49b8b58eabd0e732de970f902744cd3a06b5ab530a6d69fe6dfa8f270fbb09b9fe3df4ae04d516828050
|
DIST python-exec-2.4.6.tar.bz2 87634 BLAKE2B 7b6de8ad0e0603fafd3284e6e3c5247ad83f145ab4db6728914318ae8e6f5aaa3c0247f4e01238fca11519ef72fb1b11436aea7e2b8c988b8717b3f6a2a43c37 SHA512 e05eaf01b83de196a10933636ab6b1a5489a421592df49b8b58eabd0e732de970f902744cd3a06b5ab530a6d69fe6dfa8f270fbb09b9fe3df4ae04d516828050
|
||||||
DIST python-exec-2.4.7.tar.bz2 88204 BLAKE2B c370d5f33063bf0dd02d1b5ddad27b320652664ed3bc89cf2d70b94292f3dcd8c4e3bb6bb43ce8d2514a8e0a5a3e95295ff8d0f95371bda136cd51312da747e8 SHA512 6e061fc1ae84e21effb24d35195a7c61430e0e50dc0b0bfbab65f741dde45a92688fd9ac7a0868f7b08ba603a609fb3f03181238f63fdd383b4d604af8406d14
|
DIST python-exec-2.4.7.tar.bz2 88204 BLAKE2B c370d5f33063bf0dd02d1b5ddad27b320652664ed3bc89cf2d70b94292f3dcd8c4e3bb6bb43ce8d2514a8e0a5a3e95295ff8d0f95371bda136cd51312da747e8 SHA512 6e061fc1ae84e21effb24d35195a7c61430e0e50dc0b0bfbab65f741dde45a92688fd9ac7a0868f7b08ba603a609fb3f03181238f63fdd383b4d604af8406d14
|
||||||
|
DIST python-exec-2.4.8.tar.bz2 82671 BLAKE2B ac85f3dd6da3d1c535ad56a25edbbcb1d0e75b91e3567b80f27fd01d32a199a713909a8552dffaacbe96c43bca491f31c3f0c7f1a618fb9144814365686715cf SHA512 d6dabab217dc2f1817e2f4d159102a9467f51b26b91f4ae7fb7e4930d30334f74bd8a5f37cc60d58c6e1e61e89a3b4d2e1bd17413493ba86f38fa71250cf5ac1
|
||||||
|
@ -0,0 +1,72 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
|
inherit python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python script wrapper"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/python-exec/"
|
||||||
|
SRC_URI="https://github.com/mgorny/python-exec/releases/download/v${PV}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
# Internal Python project hack. Do not copy it. Ever.
|
||||||
|
IUSE="${_PYTHON_ALL_IMPLS[@]/#/python_targets_} +native-symlinks test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-lang/python-exec-conf
|
||||||
|
!<=dev-lang/python-2.7.18-r3:2.7"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||||
|
)"
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local pyimpls=() i EPYTHON
|
||||||
|
for i in "${_PYTHON_ALL_IMPLS[@]}"; do
|
||||||
|
if use "python_targets_${i}"; then
|
||||||
|
_python_export "${i}" EPYTHON
|
||||||
|
pyimpls+=( "${EPYTHON}" )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--with-fallback-path="${EPREFIX}/usr/local/sbin:${EPREFIX}/usr/local/bin:${EPREFIX}/usr/sbin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/bin"
|
||||||
|
--with-python-impls="${pyimpls[*]}"
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use native-symlinks; then
|
||||||
|
local programs=( python python3 )
|
||||||
|
local scripts=( python-config python3-config 2to3 idle pydoc pyvenv )
|
||||||
|
|
||||||
|
local f
|
||||||
|
for f in "${programs[@]}"; do
|
||||||
|
# symlink the C wrapper for python to avoid shebang recursion
|
||||||
|
# bug #568974
|
||||||
|
dosym python-exec2c /usr/bin/"${f}"
|
||||||
|
done
|
||||||
|
for f in "${scripts[@]}"; do
|
||||||
|
# those are python scripts (except for new python-configs)
|
||||||
|
# so symlink them via the python wrapper
|
||||||
|
dosym ../lib/python-exec/python-exec2 /usr/bin/"${f}"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST AppStream-0.12.11.tar.xz 2120548 BLAKE2B 6053d1d1bbe182c8e57f657ea5dda9c4a777d5a7955f39a57677502fbbe010d5c49a7872329d1ef716c41c7423bfb4d284e71af97f99ca6e466fbf369bf80272 SHA512 6000f4e9f995b2d481374db2409f212da9d48893c4a757cb7287e2731117f50d0ed284dedc0e24e505b3b7c9c9f38dd9a5f855eeb6c7445eb7203e74d4a5f790
|
|
||||||
DIST AppStream-0.14.3.tar.xz 2277536 BLAKE2B 99ceae6873c189b289143c8ab59eaacfbadbbe7cf05db96079c00ba09c82aeac63f4436e1b9e54b8d172aa7e9f609583cf2a78d3f44ce880cb1a326034432563 SHA512 b4c41b44375091636cc46e2f7f5e0b86612474faa6d55010caee78cb9c9ac468d093cf261184d900be7aae8513dc72d2821ff9ee17786e123c86a928ce5e9135
|
DIST AppStream-0.14.3.tar.xz 2277536 BLAKE2B 99ceae6873c189b289143c8ab59eaacfbadbbe7cf05db96079c00ba09c82aeac63f4436e1b9e54b8d172aa7e9f609583cf2a78d3f44ce880cb1a326034432563 SHA512 b4c41b44375091636cc46e2f7f5e0b86612474faa6d55010caee78cb9c9ac468d093cf261184d900be7aae8513dc72d2821ff9ee17786e123c86a928ce5e9135
|
||||||
|
@ -1,80 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit meson xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/ximion/${PN}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz"
|
|
||||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
|
|
||||||
S="${WORKDIR}/AppStream-${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
|
|
||||||
HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+ GPL-2+"
|
|
||||||
# check as_api_level
|
|
||||||
SLOT="0/4"
|
|
||||||
IUSE="apt doc +introspection qt5 test"
|
|
||||||
RESTRICT="test" # bug 691962
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-libs/appstream-glib
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-util/itstool
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
doc? ( app-text/docbook-xml-dtd:4.5 )
|
|
||||||
test? ( dev-qt/linguist-tools:5 )
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
dev-db/lmdb:=
|
|
||||||
>=dev-libs/glib-2.58:2
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
dev-libs/libyaml
|
|
||||||
dev-libs/snowball-stemmer
|
|
||||||
>=net-libs/libsoup-2.56:2.4
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-1.56:= )
|
|
||||||
qt5? ( dev-qt/qtcore:5 )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( qt5? ( dev-qt/qttest:5 ) )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-no-highlight.js.patch
|
|
||||||
"${FILESDIR}"/${P}-qt-add-missing-provided-kindid-enum.patch
|
|
||||||
"${FILESDIR}"/${P}-disable-Werror-flags.patch # bug 733774
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die
|
|
||||||
if ! use test; then
|
|
||||||
sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944
|
|
||||||
fi
|
|
||||||
rm docs/html/static/js/HighlightJS.LICENSE \
|
|
||||||
docs/html/static/js/highlight.min.js || die # incompatible license
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
xdg_environment_reset
|
|
||||||
|
|
||||||
local emesonargs=(
|
|
||||||
-Dapidocs=false
|
|
||||||
-Ddocs=false
|
|
||||||
-Dmaintainer=false
|
|
||||||
-Dstemming=true
|
|
||||||
-Dvapi=false
|
|
||||||
-Dapt-support=$(usex apt true false)
|
|
||||||
-Dinstall-docs=$(usex doc true false)
|
|
||||||
-Dgir=$(usex introspection true false)
|
|
||||||
-Dqt=$(usex qt5 true false)
|
|
||||||
)
|
|
||||||
|
|
||||||
meson_src_configure
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
--- a/meson.build 2020-07-26 21:29:04.621544863 +0200
|
|
||||||
+++ b/meson.build 2020-07-26 21:34:06.682233266 +0200
|
|
||||||
@@ -52,9 +52,6 @@
|
|
||||||
add_global_arguments(maintainer_c_args, language: 'cpp')
|
|
||||||
endif
|
|
||||||
|
|
||||||
-# a few compiler warning flags we always want enabled
|
|
||||||
-add_global_arguments('-Werror=implicit-function-declaration', '-Wno-unused-parameter', language: 'c')
|
|
||||||
-add_global_arguments('-Wno-unused-parameter', '-Wno-error=deprecated-copy', language: 'cpp')
|
|
||||||
add_global_arguments('-DAS_COMPILATION', language : 'c')
|
|
||||||
|
|
||||||
#
|
|
@ -1,86 +0,0 @@
|
|||||||
From 5ddf424d9b5713bd71c34b5ab6bbd10ad7b74bbc Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matthias Klumpp <matthias@tenstral.net>
|
|
||||||
Date: Tue, 12 May 2020 20:00:19 +0200
|
|
||||||
Subject: [PATCH] Never ship with an embedded convenience copy of Highlight.js
|
|
||||||
|
|
||||||
This should make Debian happy.
|
|
||||||
---
|
|
||||||
docs/doc-build-helper.py | 10 +-------
|
|
||||||
docs/meson.build | 12 ++++++++++
|
|
||||||
docs/style/static/js/HighlightJS.LICENSE | 29 ------------------------
|
|
||||||
docs/style/static/js/INFO.md | 8 +++++++
|
|
||||||
4 files changed, 21 insertions(+), 38 deletions(-)
|
|
||||||
delete mode 100644 docs/style/static/js/HighlightJS.LICENSE
|
|
||||||
create mode 100644 docs/style/static/js/INFO.md
|
|
||||||
|
|
||||||
diff --git a/docs/doc-build-helper.py b/docs/doc-build-helper.py
|
|
||||||
index ce46303d..c29cce2d 100755
|
|
||||||
--- a/docs/doc-build-helper.py
|
|
||||||
+++ b/docs/doc-build-helper.py
|
|
||||||
@@ -29,10 +29,6 @@
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
|
|
||||||
-# additional JavaScript from system locations, we use it if available
|
|
||||||
-EXTRA_JS = [['/usr/share/javascript/highlight.js/highlight.min.js',
|
|
||||||
- 'highlight.min.js']]
|
|
||||||
-
|
|
||||||
# additional CSS from system locations, we use it if available
|
|
||||||
EXTRA_CSS = [['/usr/share/javascript/highlight.js/styles/routeros.css',
|
|
||||||
'highlight.css']]
|
|
||||||
@@ -64,11 +60,7 @@ def daps_build(src_dir, project_name, daps_exe):
|
|
||||||
shutil.copy(os.path.join(src_dir, 'images', 'src', 'svg', 'appstream-logo.svg'),
|
|
||||||
os.path.join(html_out_dir, 'images'))
|
|
||||||
|
|
||||||
- # copy extra JS and CSS if it is available
|
|
||||||
- for js_fname in EXTRA_JS:
|
|
||||||
- if os.path.exists(js_fname[0]):
|
|
||||||
- shutil.copy(js_fname[0], os.path.join(html_out_dir, 'static',
|
|
||||||
- 'js', js_fname[1]))
|
|
||||||
+ # copy extra CSS if it is available
|
|
||||||
for css_fname in EXTRA_CSS:
|
|
||||||
if os.path.exists(css_fname[0]):
|
|
||||||
shutil.copy(css_fname[0], os.path.join(html_out_dir, 'static',
|
|
||||||
diff --git a/docs/meson.build b/docs/meson.build
|
|
||||||
index 1ae5fc46..d4543fdd 100644
|
|
||||||
--- a/docs/meson.build
|
|
||||||
+++ b/docs/meson.build
|
|
||||||
@@ -101,6 +101,12 @@ if get_option('docs')
|
|
||||||
|
|
||||||
if get_option('install-docs')
|
|
||||||
install_subdir('html', install_dir: as_doc_target_dir)
|
|
||||||
+
|
|
||||||
+ meson.add_install_script('sh', '-c',
|
|
||||||
+ 'if [ -f "@0@" ]; then mkdir -p $DESTDIR/@1@ && ln -sf @0@ $DESTDIR/@1@; fi'
|
|
||||||
+ .format('/usr/share/javascript/highlight.js/highlight.min.js',
|
|
||||||
+ join_paths(get_option('prefix'), as_doc_target_dir, 'html', 'static', 'js'))
|
|
||||||
+ )
|
|
||||||
endif
|
|
||||||
|
|
||||||
# add an extra testcase for documentation validation
|
|
||||||
@@ -114,5 +120,11 @@ elif get_option('install-docs')
|
|
||||||
if run_command('[', '-d', join_paths(meson.current_source_dir(), 'html'), ']').returncode() == 0
|
|
||||||
# install documentation, if it exists
|
|
||||||
install_subdir('html', install_dir: as_doc_target_dir)
|
|
||||||
+
|
|
||||||
+ meson.add_install_script('sh', '-c',
|
|
||||||
+ 'if [ -f "@0@" ]; then mkdir -p $DESTDIR/@1@ && ln -sf @0@ $DESTDIR/@1@; fi'
|
|
||||||
+ .format('/usr/share/javascript/highlight.js/highlight.min.js',
|
|
||||||
+ join_paths(get_option('prefix'), as_doc_target_dir, 'html', 'static', 'js'))
|
|
||||||
+ )
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
diff --git a/docs/style/static/js/INFO.md b/docs/style/static/js/INFO.md
|
|
||||||
new file mode 100644
|
|
||||||
index 00000000..6e95673b
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/docs/style/static/js/INFO.md
|
|
||||||
@@ -0,0 +1,8 @@
|
|
||||||
+### AppStream Documentation JS Directory
|
|
||||||
+
|
|
||||||
+You can place a minified copy of [Highlight.js](https://highlightjs.org/) in this
|
|
||||||
+directory to enable source-code highlighting in the documentation.
|
|
||||||
+
|
|
||||||
+In case a system-wide copy of `highlight.min.js` and its CSS files exists in
|
|
||||||
+`/usr/share/javascript/highlight.js/`, the buildsystem will automatically detect that
|
|
||||||
+and create symbolic links to these files when installing the documentation.
|
|
@ -1,24 +0,0 @@
|
|||||||
From 36f71e78f033fdb5bb880825b878b7dab31c0a73 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Aleix Pol <aleixpol@kde.org>
|
|
||||||
Date: Mon, 1 Jun 2020 13:25:25 +0200
|
|
||||||
Subject: [PATCH] qt: add missing Provided::KindId enum
|
|
||||||
|
|
||||||
It was never added to the Qt interface
|
|
||||||
---
|
|
||||||
qt/provided.h | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/qt/provided.h b/qt/provided.h
|
|
||||||
index 1e3ba317..8e350fb0 100644
|
|
||||||
--- a/qt/provided.h
|
|
||||||
+++ b/qt/provided.h
|
|
||||||
@@ -59,7 +59,8 @@ class APPSTREAMQT_EXPORT Provided {
|
|
||||||
KindDBusSystemService,
|
|
||||||
KindDBusUserService,
|
|
||||||
KindFirmwareRuntime,
|
|
||||||
- KindFirmwareFlashed
|
|
||||||
+ KindFirmwareFlashed,
|
|
||||||
+ KindId,
|
|
||||||
};
|
|
||||||
Q_ENUM(Kind)
|
|
||||||
|
|
@ -1 +1,2 @@
|
|||||||
DIST dqlite-1.7.0.tar.gz 157454 BLAKE2B 3eeaaf5bbadfc09803e70d38fcd3ab23c212dc2700ad8ecdde720932b0ad2e32016503eaa8a738139a178bb926a7818497629699ec68eec8c2111f377b40b4a3 SHA512 bf94568b1b52b0d94ddf78a3f975e277a5baa0f553c5c1d175b7e58db3d44478a1b3f8ef962259175b29d774b2eb6ed6765874dd0d461126b3268abbdd57949e
|
DIST dqlite-1.7.0.tar.gz 157454 BLAKE2B 3eeaaf5bbadfc09803e70d38fcd3ab23c212dc2700ad8ecdde720932b0ad2e32016503eaa8a738139a178bb926a7818497629699ec68eec8c2111f377b40b4a3 SHA512 bf94568b1b52b0d94ddf78a3f975e277a5baa0f553c5c1d175b7e58db3d44478a1b3f8ef962259175b29d774b2eb6ed6765874dd0d461126b3268abbdd57949e
|
||||||
|
DIST dqlite-1.8.0.tar.gz 158026 BLAKE2B 0e3bc8badf6b7e0447eebd86069785dca51c4dfda527ee7b838da971830ad65e443c130484b25c901aee5ac4e14c81df84756734aac3fd58a2fdbc67a664c1fb SHA512 4b32a8f8414aabfcc53d7f6ac0d121201076d7021a7d244b7cda316c3e3349e1b4da04cca31f2e3ca7605a9357895374fce0cce076b40eaebfc29a94d42fb38f
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine"
|
||||||
|
HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite"
|
||||||
|
SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3-with-linking-exception"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="dev-db/sqlite:3
|
||||||
|
dev-libs/libuv
|
||||||
|
dev-libs/raft"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( >=dev-libs/raft-0.11.1[lz4,test] )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-debug
|
||||||
|
--disable-sanitize
|
||||||
|
--disable-static
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue