parent
1bdd1a6344
commit
993d510a74
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST kontrast-22.04.3.tar.xz 125860 BLAKE2B 78b87ebfb0958ce7bf2abf7a70ada000f959aa2cd648ebaf70ffef5500458bf1f9c42433176caa1ac29ab5b0ed51452092c796f679d7c56e4188e2a746169a05 SHA512 e77b2b129f115d2cf319a2a5f6b56bc576c00c506b542cc6239098245da17b966a71caf05f0868af7d5f3807be033bfc552b9fd1856046889363d1012bf13efe
|
|
||||||
DIST kontrast-22.08.3.tar.xz 128100 BLAKE2B c30380c716ace5f9d1987a9244350fb58592babc963d3b0bf312ca75e966fd9abe254898bd80b4f7bfdeb1d7bccc7424781ccdb0cd1b28784add6bf4edafe764 SHA512 18a1df4c888457f42c9a7273d6462479b8c44d87529b54868ea80c8fd8d9a8a20a96c25b9508a8cb4e93e94d6dd23d7251af1ca908d81a588002d1a29410d843
|
DIST kontrast-22.08.3.tar.xz 128100 BLAKE2B c30380c716ace5f9d1987a9244350fb58592babc963d3b0bf312ca75e966fd9abe254898bd80b4f7bfdeb1d7bccc7424781ccdb0cd1b28784add6bf4edafe764 SHA512 18a1df4c888457f42c9a7273d6462479b8c44d87529b54868ea80c8fd8d9a8a20a96c25b9508a8cb4e93e94d6dd23d7251af1ca908d81a588002d1a29410d843
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
KFMIN=5.92.0
|
|
||||||
QTMIN=5.15.4
|
|
||||||
inherit ecm gear.kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
|
|
||||||
HOMEPAGE="https://apps.kde.org/kontrast/"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="5"
|
|
||||||
KEYWORDS="amd64 arm64 ~riscv x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsql-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsvg-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
kde-plasma/xdg-desktop-portal-kde
|
|
||||||
"
|
|
Binary file not shown.
@ -0,0 +1,80 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+2).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||||
|
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||||
|
)
|
||||||
|
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
@ -0,0 +1,80 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+2).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||||
|
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||||
|
)
|
||||||
|
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
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.
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="bc symlink"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
|
||||||
|
SRC_URI=""
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
LICENSE="CC0-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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"
|
||||||
|
IUSE="+gnu gh"
|
||||||
|
REQUIRED_USE="^^ ( gnu gh )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
gnu? ( >=sys-devel/bc-1.07.1-r6 )
|
||||||
|
gh? ( sci-calculators/bc-gh )
|
||||||
|
!<sys-devel/bc-1.07.1-r6
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use gnu; then
|
||||||
|
dosym bc-reference /usr/bin/bc
|
||||||
|
dosym dc-reference /usr/bin/dc
|
||||||
|
newman - bc.1 <<<".so bc-reference.1"
|
||||||
|
newman - dc.1 <<<".so dc-reference.1"
|
||||||
|
elif use gh; then
|
||||||
|
dosym bc-gh /usr/bin/bc
|
||||||
|
dosym dc-gh /usr/bin/dc
|
||||||
|
newman - bc.1 <<<".so bc-gh.1"
|
||||||
|
newman - dc.1 <<<".so dc-gh.1"
|
||||||
|
else
|
||||||
|
die "Invalid USE flag combination (broken REQUIRED_USE?)"
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>base-system@gentoo.org</email>
|
||||||
|
<name>Gentoo Base System</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>mgorny@gentoo.org</email>
|
||||||
|
<name>Michał Górny</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="gnu">
|
||||||
|
Symlink to GNU bc (<pkg>sys-devel/bc</pkg>)
|
||||||
|
</flag>
|
||||||
|
<flag name="gh">
|
||||||
|
Symlink to bc-gh from <pkg>sci-calculators/bc-gh</pkg>
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="lex symlinks"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
|
||||||
|
SRC_URI=""
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
LICENSE="CC0-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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"
|
||||||
|
IUSE="+flex reflex"
|
||||||
|
REQUIRED_USE="^^ ( flex reflex )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
flex? ( >=sys-devel/flex-2.6.4-r5 )
|
||||||
|
reflex? ( sys-devel/reflex )
|
||||||
|
!<sys-devel/flex-2.6.4-r5
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use flex; then
|
||||||
|
dosym flex /usr/bin/lex
|
||||||
|
newman - lex.1 <<<".so flex.1"
|
||||||
|
|
||||||
|
newenvd - 90lex <<-EOF
|
||||||
|
LEX=flex
|
||||||
|
EOF
|
||||||
|
elif use reflex; then
|
||||||
|
dosym reflex /usr/bin/lex
|
||||||
|
newman - lex.1 <<<".so reflex.1"
|
||||||
|
|
||||||
|
newenvd - 90lex <<-EOF
|
||||||
|
LEX=reflex
|
||||||
|
EOF
|
||||||
|
else
|
||||||
|
die "Invalid USE flag combination (broken REQUIRED_USE?)"
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>base-system@gentoo.org</email>
|
||||||
|
<name>Gentoo Base System</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>mgorny@gentoo.org</email>
|
||||||
|
<name>Michał Górny</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="flex">
|
||||||
|
Symlink to <pkg>sys-devel/flex</pkg>.
|
||||||
|
</flag>
|
||||||
|
<flag name="reflex">
|
||||||
|
Symlink to <pkg>sys-devel/reflex</pkg>.
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>base-system@gentoo.org</email>
|
||||||
|
<name>Gentoo Base System</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>mgorny@gentoo.org</email>
|
||||||
|
<name>Michał Górny</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="bison">
|
||||||
|
Symlink to <pkg>sys-devel/bison</pkg>.
|
||||||
|
</flag>
|
||||||
|
<flag name="byacc">
|
||||||
|
Symlink to <pkg>dev-util/byacc</pkg>.
|
||||||
|
</flag>
|
||||||
|
<flag name="reference">
|
||||||
|
Symlink to <pkg>dev-util/yacc</pkg>.
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="yacc symlinks"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
|
||||||
|
SRC_URI=""
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
LICENSE="CC0-1.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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"
|
||||||
|
IUSE="+bison byacc reference"
|
||||||
|
REQUIRED_USE="^^ ( bison byacc reference )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
bison? ( >=sys-devel/bison-3.8.2-r1 )
|
||||||
|
byacc? ( dev-util/byacc )
|
||||||
|
reference? ( >=dev-util/yacc-1.9.1-r7 )
|
||||||
|
!<dev-util/yacc-1.9.1-r7
|
||||||
|
!<sys-devel/bison-3.8.2-r1
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use bison; then
|
||||||
|
# bison installs its own small wrapper script 'yacc-bison'
|
||||||
|
# around bison(1).
|
||||||
|
dosym yacc.bison /usr/bin/yacc
|
||||||
|
newman - yacc.1 <<<".so yacc.bison.1"
|
||||||
|
|
||||||
|
# Leaving this for now to be safe, as it's closer to pre-alternatives
|
||||||
|
# status quo to leave it unset and let autoconf probe for Bison by itself
|
||||||
|
# as it prefers it anyway, and might be a CPP-like situation wrt
|
||||||
|
# calling bison or bison -y if YACC is set.
|
||||||
|
#newenvd - 90yacc <<-EOF
|
||||||
|
# YACC=yacc.bison
|
||||||
|
#EOF
|
||||||
|
elif use byacc; then
|
||||||
|
dosym byacc /usr/bin/yacc
|
||||||
|
newman - yacc.1 <<<".so byacc.1"
|
||||||
|
|
||||||
|
newenvd - 90yacc <<-EOF
|
||||||
|
YACC=byacc
|
||||||
|
EOF
|
||||||
|
elif use reference; then
|
||||||
|
dosym yacc-reference /usr/bin/yacc
|
||||||
|
newman - yacc.1 <<<".so yacc-reference.1"
|
||||||
|
|
||||||
|
newenvd - 90yacc <<-EOF
|
||||||
|
YACC=yacc
|
||||||
|
EOF
|
||||||
|
else
|
||||||
|
die "Invalid USE flag combination (broken REQUIRED_USE?)"
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,117 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit autotools systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
|
||||||
HOMEPAGE="https://burp.grke.org/"
|
|
||||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="AGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm x86"
|
|
||||||
IUSE="acl ipv6 test xattr"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="acct-group/burp
|
|
||||||
acct-user/burp
|
|
||||||
dev-libs/uthash
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
net-libs/librsync:=
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/libcap
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/libcrypt:=
|
|
||||||
acl? ( sys-apps/acl )
|
|
||||||
xattr? ( sys-apps/attr )"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
elibc_musl? ( sys-libs/queue-standalone )
|
|
||||||
test? ( dev-libs/check )"
|
|
||||||
BDEPEND=">=sys-devel/autoconf-2.71
|
|
||||||
virtual/pkgconfig"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
virtual/logger"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
|
||||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
--localstatedir=/var
|
|
||||||
--sysconfdir=/etc/burp
|
|
||||||
--enable-largefile
|
|
||||||
--runstatedir=/run
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable xattr)
|
|
||||||
)
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# See https://github.com/grke/burp/issues/869
|
|
||||||
local -x CK_DEFAULT_TIMEOUT=10
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
keepdir /var/spool/burp
|
|
||||||
fowners -R root:${PN} /var/spool/burp
|
|
||||||
fperms 0770 /var/spool/burp
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" install-configs
|
|
||||||
fowners -R root:${PN} /etc/burp
|
|
||||||
fperms 0750 /etc/burp
|
|
||||||
fperms 0640 /etc/burp/burp-server.conf
|
|
||||||
fperms 0750 /etc/burp/clientconfdir
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
|
||||||
elog "client and server mode. In both cases it is disabled by"
|
|
||||||
elog "default. You almost certainly do NOT want to enable it in"
|
|
||||||
elog "client mode because upgrades obtained this way will not be"
|
|
||||||
elog "managed by Portage."
|
|
||||||
|
|
||||||
if [[ ! -e ${EROOT}/etc/burp/CA/index.txt ]]; then
|
|
||||||
elog ""
|
|
||||||
elog "At first run burp server will generate DH parameters and SSL"
|
|
||||||
elog "certificates. You should adjust configuration before."
|
|
||||||
elog "Server configuration is located at"
|
|
||||||
elog ""
|
|
||||||
elog " ${EROOT}/etc/burp/burp-server.conf"
|
|
||||||
elog ""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# According to PMS this can be a space-separated list of version
|
|
||||||
# numbers, even though in practice it is typically just one.
|
|
||||||
local oldver
|
|
||||||
for oldver in ${REPLACING_VERSIONS}; do
|
|
||||||
if [[ $(ver_cut 1 ${oldver}) -lt 2 ]]; then
|
|
||||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
|
||||||
ewarn "the server config file by default. If you use bedup, please"
|
|
||||||
ewarn "update your scripts to invoke it as"
|
|
||||||
ewarn ""
|
|
||||||
ewarn " bedup -c ${EROOT}/etc/burp/burp-server.conf"
|
|
||||||
ewarn ""
|
|
||||||
ewarn "Otherwise deduplication will not work!"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST dolphin-plugins-22.04.3.tar.xz 257356 BLAKE2B e3d084e628920a08c9e1173c754002f6b0ecfad07bd4d89a64f5b29a7e93362a814ead6aeff80412b01e7198adce78c36f36428560a1ea9e555027113f7d8e6f SHA512 1b96511fbf8ec93b03a5f204c2e4cff232ca0d09e4d1599c89d4d514deb3fb889dfd3050a5cabe4e35b6e65a5283ad09635a13931c8484eebc98a22ba9057b42
|
|
||||||
DIST dolphin-plugins-22.08.3.tar.xz 260088 BLAKE2B 2927d42a603776cc3b600606ff2f27a77c8bbbe6b089d3e691571c7594d0e4d53023064afbf07e02f546073823a873fd45f200ea13b9e2765b61046602d8239b SHA512 2201858d9d349c28cced78dcfd9a31c3fde05b3ab107a28615af4cc5c32d4315074881f78dfb255638a13269de16ab68b7c53b68d013cf46ded091f8b059173e
|
DIST dolphin-plugins-22.08.3.tar.xz 260088 BLAKE2B 2927d42a603776cc3b600606ff2f27a77c8bbbe6b089d3e691571c7594d0e4d53023064afbf07e02f546073823a873fd45f200ea13b9e2765b61046602d8239b SHA512 2201858d9d349c28cced78dcfd9a31c3fde05b3ab107a28615af4cc5c32d4315074881f78dfb255638a13269de16ab68b7c53b68d013cf46ded091f8b059173e
|
||||||
|
@ -1,64 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
ECM_HANDBOOK="false"
|
|
||||||
KDE_ORG_CATEGORY="sdk"
|
|
||||||
KDE_ORG_NAME="dolphin-plugins"
|
|
||||||
MY_PLUGIN_NAME="mountiso"
|
|
||||||
KFMIN=5.92.0
|
|
||||||
PVCUT=$(ver_cut 1-3)
|
|
||||||
QTMIN=5.15.4
|
|
||||||
inherit ecm gear.kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
|
|
||||||
HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2" # TODO: CHECK
|
|
||||||
SLOT="5"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
|
||||||
>=kde-apps/dolphin-${PVCUT}:5
|
|
||||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kio-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
|
||||||
>=kde-frameworks/solid-${KFMIN}:5
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
ecm_src_prepare
|
|
||||||
# kxmlgui, qtnetwork only required by dropbox
|
|
||||||
ecm_punt_qt_module Network
|
|
||||||
ecm_punt_kf_module XmlGui
|
|
||||||
# delete non-${PN} translations
|
|
||||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
||||||
find po -type f -name "*po" -and -not -name "*${MY_PLUGIN_NAME}plugin" -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_${MY_PLUGIN_NAME}=ON
|
|
||||||
-DBUILD_bazaar=OFF
|
|
||||||
-DBUILD_dropbox=OFF
|
|
||||||
-DBUILD_git=OFF
|
|
||||||
-DBUILD_hg=OFF
|
|
||||||
-DBUILD_svn=OFF
|
|
||||||
)
|
|
||||||
ecm_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
ecm_src_install
|
|
||||||
rm "${D}"/usr/share/metainfo/org.kde.dolphin-plugins.metainfo.xml || die
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563
|
DIST hashcat-6.2.1.tar.gz 5815254 BLAKE2B b6ce0edf7a7fe725570e557b6b414c8aad02e24933b2610be2607c895778d635543a90806aa40c3521f83f93de3b7556f04274d4f9893dacb53af82974df0be2 SHA512 435d8c66e1de14a4a95364eb06f41d10d221c4cf3286bed5ce333d3d07fe7ec2097fa57a3f925ef108a0c17091a65dc18b9c782f69ab8c0575061c14c9354563
|
||||||
DIST hashcat-6.2.4.tar.gz 6269444 BLAKE2B 15d774253841350710e89bb6358f5fd615ef6e0645f271507d5bfc3e814be1533f78b83b90c11b24c7088ac60f2bb9098cf3410c4bedb5d53b0ccff4d840664c SHA512 bb18646794e168616e6f018b41c1a17c26bb0d8625aaeec0bd0d734efbc331008f432efde7b3d08e8838c995c771a406670812edaf7d605e7fdff9ef001aa954
|
DIST hashcat-6.2.4.tar.gz 6269444 BLAKE2B 15d774253841350710e89bb6358f5fd615ef6e0645f271507d5bfc3e814be1533f78b83b90c11b24c7088ac60f2bb9098cf3410c4bedb5d53b0ccff4d840664c SHA512 bb18646794e168616e6f018b41c1a17c26bb0d8625aaeec0bd0d734efbc331008f432efde7b3d08e8838c995c771a406670812edaf7d605e7fdff9ef001aa954
|
||||||
DIST hashcat-6.2.5.tar.gz 6341872 BLAKE2B e55a0aac0cb28041f92fc6685fb004058744e150d84d9b690bdb16bb7f4612edd12b987debcfc5d39d0c4e87bdd799148cae6974d47904c1e3d2953ceb32f076 SHA512 2b881146c625172c91cb74b33851473155dcde2421fba1b4acfba28116499b9cff832a62c4dbc24e16df06a827494f30699a7d0e5195d5ed107704f525255383
|
DIST hashcat-6.2.5.tar.gz 6341872 BLAKE2B e55a0aac0cb28041f92fc6685fb004058744e150d84d9b690bdb16bb7f4612edd12b987debcfc5d39d0c4e87bdd799148cae6974d47904c1e3d2953ceb32f076 SHA512 2b881146c625172c91cb74b33851473155dcde2421fba1b4acfba28116499b9cff832a62c4dbc24e16df06a827494f30699a7d0e5195d5ed107704f525255383
|
||||||
|
DIST hashcat-6.2.6.tar.gz 14234640 BLAKE2B fbbebc0a35b920442d4e1fb5822a8b9867db62bcc2404fba514fe1f06f0aa859a116cbe204eed71d340ad826dcfffffadca6963e5eec875ae2fee59068968b61 SHA512 b5e4f40fb5ed0a47977243e1f95bf1deae0b04bd5ca26338395305c42573fe5b17557835f6f5d8b7402812e8eadda2b260d6b927ce99429fd1b87eb26f002f8a
|
||||||
|
@ -0,0 +1,115 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit pax-utils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="World's fastest and most advanced password recovery utility"
|
||||||
|
HOMEPAGE="https://github.com/hashcat/hashcat"
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/hashcat/hashcat.git"
|
||||||
|
else
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
SRC_URI="https://github.com/hashcat/hashcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="brain video_cards_nvidia"
|
||||||
|
|
||||||
|
DEPEND="app-arch/lzma
|
||||||
|
app-arch/unrar
|
||||||
|
sys-libs/zlib[minizip]
|
||||||
|
brain? ( dev-libs/xxhash )
|
||||||
|
video_cards_nvidia? (
|
||||||
|
>x11-drivers/nvidia-drivers-440.64
|
||||||
|
|| (
|
||||||
|
dev-util/nvidia-cuda-toolkit
|
||||||
|
virtual/opencl
|
||||||
|
)
|
||||||
|
)
|
||||||
|
!video_cards_nvidia? ( virtual/opencl )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Remove bundled stuff
|
||||||
|
rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
|
||||||
|
rm -r deps/xxHash || die "Failed to remove bundled xxHash"
|
||||||
|
|
||||||
|
# TODO: Gentoo's app-arch/lzma doesn't install the needed files
|
||||||
|
#rm -r deps/LZMA-SDK || die "Failed to remove bundled LZMA-SDK"
|
||||||
|
#rm -r deps || die "Failed to remove bundled deps"
|
||||||
|
|
||||||
|
# Do not strip
|
||||||
|
sed -i "/LFLAGS += -s/d" src/Makefile || die
|
||||||
|
|
||||||
|
# Do not add random CFLAGS
|
||||||
|
sed -i "s/-O2//" src/Makefile || die
|
||||||
|
|
||||||
|
#sed -i "#LZMA_SDK_INCLUDE#d" src/Makefile || die
|
||||||
|
|
||||||
|
# Respect CC, CXX, AR
|
||||||
|
sed -i \
|
||||||
|
-e 's/:= gcc/:= $(CC)/' \
|
||||||
|
-e 's/:= g++/:= $(CXX)/' \
|
||||||
|
-e 's/:= ar/:= $(AR)/' \
|
||||||
|
src/Makefile || die
|
||||||
|
|
||||||
|
export PREFIX="${EPREFIX}"/usr
|
||||||
|
export LIBRARY_FOLDER="/usr/$(get_libdir)"
|
||||||
|
export DOCUMENT_FOLDER="/usr/share/doc/${PF}"
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
tc-export CC CXX AR
|
||||||
|
|
||||||
|
# Use bundled unrar for now, bug #792720
|
||||||
|
emake \
|
||||||
|
SHARED=1 \
|
||||||
|
PRODUCTION=1 \
|
||||||
|
ENABLE_BRAIN=$(usex brain 1 0) \
|
||||||
|
USE_SYSTEM_LZMA=0 \
|
||||||
|
USE_SYSTEM_OPENCL=1 \
|
||||||
|
USE_SYSTEM_UNRAR=0 \
|
||||||
|
USE_SYSTEM_ZLIB=1 \
|
||||||
|
USE_SYSTEM_XXHASH=1 \
|
||||||
|
VERSION_PURE="${PV}"
|
||||||
|
|
||||||
|
pax-mark -mr hashcat
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if use video_cards_nvidia; then
|
||||||
|
addwrite /dev/nvidia0
|
||||||
|
addwrite /dev/nvidiactl
|
||||||
|
addwrite /dev/nvidia-uvm
|
||||||
|
|
||||||
|
if [[ ! -w /dev/nvidia0 ]]; then
|
||||||
|
einfo "To run these tests, portage likely must be in the video group."
|
||||||
|
einfo "Please run \"gpasswd -a portage video\" if the tests will fail"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# This always exits with 255 despite success
|
||||||
|
#./hashcat -b -m 2500 || die "Test failed"
|
||||||
|
LD_PRELOAD=./libhashcat.so.${PV} ./hashcat -a 3 -m 1500 nQCk49SiErOgk || die "Test failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake \
|
||||||
|
DESTDIR="${ED}" \
|
||||||
|
SHARED=1 \
|
||||||
|
PRODUCTION=1 \
|
||||||
|
ENABLE_BRAIN=$(usex brain 1 0) \
|
||||||
|
USE_SYSTEM_LZMA=0 \
|
||||||
|
USE_SYSTEM_OPENCL=1 \
|
||||||
|
USE_SYSTEM_UNRAR=1 \
|
||||||
|
USE_SYSTEM_ZLIB=1 \
|
||||||
|
USE_SYSTEM_XXHASH=1 \
|
||||||
|
VERSION_PURE="${PV}" \
|
||||||
|
install
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST pluma-plugins-1.26.0.tar.xz 505652 BLAKE2B 09d34a3205796aab0b94b6e4d1c44b9902091b46511735b74a9cc1d1bee8a28352bf673ea7788eb4522e1dd0614a0399471aa8a076fd50f70bf1cf66e80326ad SHA512 ee59d52e0f879a5adf745c4be4a274f5c5b5403d7a9485236879e6e6db1c8f743de74be379fe84d2da73efe3eeb63bfa089a28f73762a6f0ceee0dbbbc464fa4
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>mate@gentoo.org</email>
|
||||||
|
<name>Gentoo MATE Desktop</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="bracketcompletion">Auto complete bracket pairs</flag>
|
||||||
|
<flag name="codecomment">Comment code blocks</flag>
|
||||||
|
<flag name="smartspaces">Insert smart spaces</flag>
|
||||||
|
<flag name="synctex">Enable synctex support for pdflatex</flag>
|
||||||
|
<flag name="terminal">Embed a terminal in the bottom pane</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,71 @@
|
|||||||
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MATE_LA_PUNT="yes"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
|
||||||
|
inherit mate python-single-r1
|
||||||
|
|
||||||
|
if [[ ${PV} != 9999 ]]; then
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="A set of plugins for Pluma, the MATE text editor."
|
||||||
|
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="+python bracketcompletion codecomment smartspaces synctex terminal"
|
||||||
|
REQUIRED_USE="
|
||||||
|
"${PYTHON_REQUIRED_USE}"
|
||||||
|
bracketcompletion? ( python )
|
||||||
|
codecomment? ( python )
|
||||||
|
smartspaces? ( python )
|
||||||
|
synctex? ( python )
|
||||||
|
terminal? ( python )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/libpeas-1.14.1[gtk]
|
||||||
|
>=app-editors/gedit-40.0
|
||||||
|
|
||||||
|
>=dev-libs/glib-2.32:2
|
||||||
|
>=x11-libs/gtk+-3.9:3
|
||||||
|
>=x11-libs/gtksourceview-4.0.2:4
|
||||||
|
|
||||||
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
|
||||||
|
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||||
|
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
>=x11-libs/gtk+-3.9:3[introspection]
|
||||||
|
>=x11-libs/gtksourceview-4.0.2:4[introspection]
|
||||||
|
x11-libs/pango[introspection]
|
||||||
|
x11-libs/gdk-pixbuf:2[introspection]
|
||||||
|
synctex? ( >=dev-python/dbus-python-0.82 )
|
||||||
|
terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
|
||||||
|
|
||||||
|
)"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-util/itstool
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
mate_src_install
|
||||||
|
use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST elasticsearch-7.17.5-no-jdk-linux-x86_64.tar.gz 167410729 BLAKE2B c6e68176705a1ae2c72a945b2a2b7542f2cb6ebc2420fb52cf26cafdc3045c6f82a5f707062d48142875bf1fbc4be65e473ed9515d65ec25d5a460cc2af991e9 SHA512 d8bc819c9ac5a9035d08e45abf8464275cc2cad7c2f091a3e112100ffbd2605759543e111d9e44c3352f92a08230287c2cba6a91f07ab3d92513682e56b97184
|
DIST elasticsearch-7.17.5-no-jdk-linux-x86_64.tar.gz 167410729 BLAKE2B c6e68176705a1ae2c72a945b2a2b7542f2cb6ebc2420fb52cf26cafdc3045c6f82a5f707062d48142875bf1fbc4be65e473ed9515d65ec25d5a460cc2af991e9 SHA512 d8bc819c9ac5a9035d08e45abf8464275cc2cad7c2f091a3e112100ffbd2605759543e111d9e44c3352f92a08230287c2cba6a91f07ab3d92513682e56b97184
|
||||||
DIST elasticsearch-7.17.7-no-jdk-linux-x86_64.tar.gz 167491953 BLAKE2B dec416ed84d47f95e72d415f6200b0573ef4adfe833753b87f8a2e927561344ea949a1fe2f51d0c8bbd97463d68734542388051904bc631b5f690ce37540a83f SHA512 9a9c8ad4b31a3d9b8c560bbb97f03dc4809fb4c993dbcf99835847896e35caa46309a50e17e86bb56ed00312fba2f79ed064ab422b968488bd619e294f845c5b
|
DIST elasticsearch-7.17.7-no-jdk-linux-x86_64.tar.gz 167491953 BLAKE2B dec416ed84d47f95e72d415f6200b0573ef4adfe833753b87f8a2e927561344ea949a1fe2f51d0c8bbd97463d68734542388051904bc631b5f690ce37540a83f SHA512 9a9c8ad4b31a3d9b8c560bbb97f03dc4809fb4c993dbcf99835847896e35caa46309a50e17e86bb56ed00312fba2f79ed064ab422b968488bd619e294f845c5b
|
||||||
DIST elasticsearch-8.5.0-linux-x86_64.tar.gz 580444068 BLAKE2B 5575925f0e52a873caf49a4e79274c7f25ae7374dd975a07da52c8effaac59c81a66afcda89d0974683788574d8560150124dfb2e72eab4a2272a2802048333c SHA512 8c621f82f8b81a65ffb66ff10a0f722fafb462316f608c3475bcedbb3620a3981cf77c7cd1337ba0bea1bff1057fd5fc9975963ab528981c9e0ccca6baf70a6f
|
DIST elasticsearch-8.5.2-linux-x86_64.tar.gz 580694330 BLAKE2B 9d8fab39fc413cea59500bf5d4aec080c4fb49e58852af4a7f552d03b7e1f31402286900c680ecdc62553b4662f652f9e6a961a7102f80a2fb8af3e809317ab5 SHA512 c5069264de265b5405d56cc811d7b32278196ca4c1a9326306f449b19af072a9f75f2ceb0b63c2a8dd4803cdf63b484cac5885ef8d9cb1b8d83332128f34a075
|
||||||
|
@ -0,0 +1,61 @@
|
|||||||
|
https://github.com/nsd20463/pwsafe/commit/7a960f21eed6e3e8b74bf32628c38a5d8c963587
|
||||||
|
https://github.com/nsd20463/pwsafe/commit/0bc444c8caadcbd93143e5dba77db3abfd3e51d2
|
||||||
|
|
||||||
|
From 7a960f21eed6e3e8b74bf32628c38a5d8c963587 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Nicolas S. Dade" <nic.dade@gmail.com>
|
||||||
|
Date: Sat, 13 Jun 2015 16:49:20 -0700
|
||||||
|
Subject: [PATCH] update ac input files to fix warnings from modern (version
|
||||||
|
1.14.1) aclocal
|
||||||
|
|
||||||
|
--- a/acinclude.m4
|
||||||
|
+++ b/acinclude.m4
|
||||||
|
@@ -6,7 +6,7 @@ dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared --
|
||||||
|
dnl usually in <utime.h>.
|
||||||
|
dnl Some systems have utime.h but don't declare the struct anywhere.
|
||||||
|
|
||||||
|
-AC_DEFUN(jm_CHECK_TYPE_STRUCT_UTIMBUF,
|
||||||
|
+AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF],
|
||||||
|
[
|
||||||
|
AC_CHECK_HEADERS(utime.h)
|
||||||
|
AC_REQUIRE([AC_HEADER_TIME])
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -146,7 +146,7 @@ AC_CHECK_TYPE(socklen_t,[AC_DEFINE(HAVE_SOCKLEN_T, 1, [Define to 1 if the type s
|
||||||
|
|
||||||
|
|
||||||
|
dnl Checks for library functions.
|
||||||
|
-AM_SYS_POSIX_TERMIOS
|
||||||
|
+AC_SYS_POSIX_TERMIOS
|
||||||
|
if test "$am_cv_sys_posix_termios" != yes -a "$ac_cv_sys_posix_termios" != yes; then
|
||||||
|
AC_MSG_ERROR("POSIX termios operations are required")
|
||||||
|
fi
|
||||||
|
|
||||||
|
From 0bc444c8caadcbd93143e5dba77db3abfd3e51d2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Nicolas S. Dade" <nic.dade@gmail.com>
|
||||||
|
Date: Sat, 13 Jun 2015 17:02:04 -0700
|
||||||
|
Subject: [PATCH] Update configure.ac and INSTALL for a modern (1.14.1)
|
||||||
|
automake
|
||||||
|
|
||||||
|
It seems fine to let automake symlink to its default versions
|
||||||
|
of files it wants (like 'compile' and 'test-driver'), so for
|
||||||
|
now I do that.
|
||||||
|
|
||||||
|
Maybe instead I should regenerate everything. After all most
|
||||||
|
of the autoXxx bits date from 2004.
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -3,10 +3,10 @@ dnl confgure.ac for pwsafe
|
||||||
|
dnl $Id$
|
||||||
|
|
||||||
|
AC_PREREQ(2.5)
|
||||||
|
-AC_INIT(pwsafe.cpp)
|
||||||
|
|
||||||
|
-dnl Every other copy of the package version number gets its value from here
|
||||||
|
-AM_INIT_AUTOMAKE(pwsafe, 0.2.0)
|
||||||
|
+dnl Every other copy of the package version number gets its value from the following line
|
||||||
|
+AC_INIT([pwsafe.cpp], [0.2.0])
|
||||||
|
+AM_INIT_AUTOMAKE
|
||||||
|
|
||||||
|
dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
|
||||||
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST tmuxp-1.13.0.tar.gz 833657 BLAKE2B 5938121b2951b735e52eb7361a83dace4327b120ea7bb8217a5e4c32488e8cd93074b8993068b1d5d87d79df16c2f1e3d254d010b5c2836f435ed887349a010f SHA512 21a5a9fb21e30d5022d6aa6257dd9eb2977574e16e9b8ea0a3af8af4d55f69d4f6a3730ca9fc5e9a4e0b6194922d73717154cc55b808e71714570326cc7f27a9
|
|
||||||
DIST tmuxp-1.15.0.tar.gz 842727 BLAKE2B 7e0e68ae848fdefab46a936511f57a9927b28a220e1dadb8b2531cd26a2cb6cbb7f1fd3a3a279f624a3ac8cebfeb434582cf48803d3c8bbf14b1c6960b5f2ef7 SHA512 4c9c72ddeea283ee4d0595d099dfdc178b3fdd96691ae1b02e9867096f770b4339e1f60abea985a05b974d3d620addd8b571c05db7d2914e8736322e5cf19fb6
|
DIST tmuxp-1.15.0.tar.gz 842727 BLAKE2B 7e0e68ae848fdefab46a936511f57a9927b28a220e1dadb8b2531cd26a2cb6cbb7f1fd3a3a279f624a3ac8cebfeb434582cf48803d3c8bbf14b1c6960b5f2ef7 SHA512 4c9c72ddeea283ee4d0595d099dfdc178b3fdd96691ae1b02e9867096f770b4339e1f60abea985a05b974d3d620addd8b571c05db7d2914e8736322e5cf19fb6
|
||||||
DIST tmuxp-1.18.2.tar.gz 853145 BLAKE2B 4fc3e825474bccce9f78072e1c3545b7c8eeb40e0d23265901062a00f7434506a84db0414637d18c57e84f4e3b37978c890e01a786d6f1edda87af806c2b298d SHA512 c599dac5b54627342424b2ef7721f47c57c2d271698b007ffb7de972a3a7683c0bd7ea76d2a7e4c168e8a412a03171dd5f53422a3e2d858f7dfc746fa7946be8
|
DIST tmuxp-1.18.2.tar.gz 853145 BLAKE2B 4fc3e825474bccce9f78072e1c3545b7c8eeb40e0d23265901062a00f7434506a84db0414637d18c57e84f4e3b37978c890e01a786d6f1edda87af806c2b298d SHA512 c599dac5b54627342424b2ef7721f47c57c2d271698b007ffb7de972a3a7683c0bd7ea76d2a7e4c168e8a412a03171dd5f53422a3e2d858f7dfc746fa7946be8
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
diff --git a/tests/test_cli.py b/tests/test_cli.py
|
|
||||||
index bfd2345..f55910c 100644
|
|
||||||
--- a/tests/test_cli.py
|
|
||||||
+++ b/tests/test_cli.py
|
|
||||||
@@ -16,6 +16,9 @@ import click
|
|
||||||
import kaptan
|
|
||||||
from click.testing import CliRunner
|
|
||||||
|
|
||||||
+import sys
|
|
||||||
+import pathlib
|
|
||||||
+sys.path.extend([str(p) for p in pathlib.Path(__file__, '..', 'fixtures/pluginsystem/plugins').resolve().iterdir() if p.is_dir()])
|
|
||||||
import libtmux
|
|
||||||
from libtmux.common import has_lt_version
|
|
||||||
from libtmux.exc import LibTmuxException
|
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/tests/test_workspacebuilder.py b/tests/test_workspacebuilder.py
|
|
||||||
index e85b409..22368b1 100644
|
|
||||||
--- a/tests/test_workspacebuilder.py
|
|
||||||
+++ b/tests/test_workspacebuilder.py
|
|
||||||
@@ -343,7 +343,7 @@ def test_environment_variables(session):
|
|
||||||
assert session.show_environment('FOO') == 'BAR'
|
|
||||||
assert session.show_environment('PATH') == '/tmp'
|
|
||||||
|
|
||||||
-
|
|
||||||
+@pytest.mark.skip("hangs indefinitely")
|
|
||||||
def test_automatic_rename_option(session):
|
|
||||||
"""With option automatic-rename: on."""
|
|
||||||
yaml_config = loadfixture("workspacebuilder/window_automatic_rename.yaml")
|
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 2019-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
DISTUTILS_USE_PEP517=poetry
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="tmux session manager. built on libtmux"
|
|
||||||
HOMEPAGE="https://tmuxp.git-pull.com"
|
|
||||||
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-misc/tmux-3.0a
|
|
||||||
>=dev-python/kaptan-0.5.10[${PYTHON_USEDEP}]
|
|
||||||
=dev-python/libtmux-0.14*[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pathspec[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/tomli-1.1.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
|
||||||
!dev-python/flaky
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/tmuxp-1.7.2-tests.patch"
|
|
||||||
"${FILESDIR}/tmuxp-1.9.2-tests.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
SHELL="/bin/bash" epytest
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,22 @@
|
|||||||
|
https://bugs.gentoo.org/874729
|
||||||
|
https://src.fedoraproject.org/rpms/dia/blob/0a14169fc36b959598074065678e0126830317f8/f/dia-configure-c99.patch
|
||||||
|
|
||||||
|
C99 removes support for implicit ints, so declare the return type
|
||||||
|
of main explicitly. Future compilers are likely to require explicit
|
||||||
|
type declarations.
|
||||||
|
|
||||||
|
Upstream has switched to Meson, and it does not seem to use this
|
||||||
|
particular check anymore.
|
||||||
|
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -197,7 +197,7 @@ if test "$png_ok" = yes; then
|
||||||
|
png_structp pp;
|
||||||
|
png_infop info;
|
||||||
|
png_colorp cmap;
|
||||||
|
- main() { void*foo = png_create_read_struct; }],
|
||||||
|
+ int main(void) { void*foo = png_create_read_struct; }],
|
||||||
|
png_ok=yes,
|
||||||
|
png_ok=no)
|
||||||
|
LDFLAGS="${old_LDFLAGS}"
|
||||||
|
|
@ -1,2 +1 @@
|
|||||||
DIST kalendar-22.04.3.tar.xz 259068 BLAKE2B 34d1bd2c0d8a4f45518387586bbda74a850034c6bf1efe20fde991ef3c6a5681931e5501cb38a5a8cb6c9a3fb354167fee0d389331691c67f7ca82a7cb492097 SHA512 d8f9c0c5b4ac1047f21312f61123d1f54b71e3cf7711526fbc38591ba425ed1f76e5c5a715515216059d868fa82f8097b77afe74ee12a30ff7a6fa5c2873908f
|
|
||||||
DIST kalendar-22.08.3.tar.xz 469052 BLAKE2B 95cd2084226b9c000f293fe1cd567a2da5405ae5af88718a43ad74bbaef789c4cc4d102866ad3077faca51e139f5aef519942a5c4872603912a5d47f62ffbe3f SHA512 021ea8928773af8c6eceb1522931fe620fb5ff72ca9b9a502911d7dfda9e1f65aa385c94c2e1d2dd40ef422cd299289d909d6f9424b1f2a9b26d86fdeb7b0a2b
|
DIST kalendar-22.08.3.tar.xz 469052 BLAKE2B 95cd2084226b9c000f293fe1cd567a2da5405ae5af88718a43ad74bbaef789c4cc4d102866ad3077faca51e139f5aef519942a5c4872603912a5d47f62ffbe3f SHA512 021ea8928773af8c6eceb1522931fe620fb5ff72ca9b9a502911d7dfda9e1f65aa385c94c2e1d2dd40ef422cd299289d909d6f9424b1f2a9b26d86fdeb7b0a2b
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
KDE_ORG_CATEGORY="pim"
|
|
||||||
ECM_TEST="forceoptional"
|
|
||||||
PVCUT=$(ver_cut 1-3)
|
|
||||||
KFMIN=5.92.0
|
|
||||||
QTMIN=5.15.4
|
|
||||||
inherit ecm gear.kde.org
|
|
||||||
|
|
||||||
DESCRIPTION="Calendar application using Akonadi"
|
|
||||||
HOMEPAGE="https://apps.kde.org/kalendar/"
|
|
||||||
|
|
||||||
LICENSE="|| ( GPL-2 GPL-3 ) CC0-1.0"
|
|
||||||
SLOT="5"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
# All of the tests involve interacting with akonadi right now (as of 22.04)
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-qt/qtdbus-${QTMIN}:5
|
|
||||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
|
||||||
>=dev-qt/qtgui-${QTMIN}:5
|
|
||||||
>=dev-qt/qtquickcontrols2-${QTMIN}:5
|
|
||||||
>=dev-qt/qtsvg-${QTMIN}:5
|
|
||||||
>=kde-apps/akonadi-${PVCUT}:5
|
|
||||||
>=kde-apps/akonadi-contacts-${PVCUT}:5
|
|
||||||
>=kde-apps/calendarsupport-${PVCUT}:5
|
|
||||||
>=kde-apps/eventviews-${PVCUT}:5
|
|
||||||
>=kde-frameworks/kcalendarcore-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcontacts-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
|
||||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kirigami-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kitemmodels-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kwindowsystem-${KFMIN}:5
|
|
||||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
|
||||||
"
|
|
||||||
# qtlocation is needed at runtime only or fails to start
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=dev-qt/qtlocation-${QTMIN}:5
|
|
||||||
>=kde-apps/kdepim-runtime-${PVCUT}:5
|
|
||||||
>=kde-frameworks/qqc2-desktop-style-${KFMIN}:5
|
|
||||||
"
|
|
@ -1,18 +1,9 @@
|
|||||||
DIST amd64-debug-libreoffice-7.3.6.2.tar.xz 1497854324 BLAKE2B a7da1c43d6fc7e2eb89d6ffcd3e32f6d23fd83cec157964e30a2eae7673dbc63837c3463e2b5596ab88abafe2e20abe1d45df2b347cff7fd3c4bb037b2491e97 SHA512 4d47a14a6df975dfc2f60324901b0524a080761627550c932b6eed0ddc493bd0decb186afa3c96b4ab596b0221fae8c951f20b7a4dee6f11089f0342d0abf104
|
|
||||||
DIST amd64-debug-libreoffice-7.3.7.2.tar.xz 1498172004 BLAKE2B 58d1f97b7e025139220990a5b5fb1ab46847dc15edf9c447ab3039d5214b45dbeff61441b34cda7f91a3df360f4ecfe869ed0905f69dbb51193531f0f4978cd3 SHA512 1cf5c136aae71968cdc1b21f8b27d0188148f887ac8ade1c4dfbc95dd35aedf58d8949f885787d7412548cc0e9a4e1963cfde2b6c89179a0e52597de3bb78f0f
|
DIST amd64-debug-libreoffice-7.3.7.2.tar.xz 1498172004 BLAKE2B 58d1f97b7e025139220990a5b5fb1ab46847dc15edf9c447ab3039d5214b45dbeff61441b34cda7f91a3df360f4ecfe869ed0905f69dbb51193531f0f4978cd3 SHA512 1cf5c136aae71968cdc1b21f8b27d0188148f887ac8ade1c4dfbc95dd35aedf58d8949f885787d7412548cc0e9a4e1963cfde2b6c89179a0e52597de3bb78f0f
|
||||||
DIST amd64-debug-libreoffice-gnome-7.3.6.2.xd3 1426602 BLAKE2B 04fca92bf294229becea573728ebfbd27c199e97ad93523a8b267392e354a57c94ccdfe73e11eb53c3954bf9c1a1a0a723d28c1049fdfa7b9c3bd07ef022b86b SHA512 2541f433bd09e429ccb0c90b106d1986f36a8d6d17e41839fcc12a60981aa1d28c1730b2e0761de57bdd64100a39e636400ca5cde7f781079456dea41579b75a
|
|
||||||
DIST amd64-debug-libreoffice-gnome-7.3.7.2.xd3 1426468 BLAKE2B 751b22c4709e332253b93c3f03e4bee4ca5d7224480e1d9b9288c31ad84dd8030da3f9b0a0f1707ca37cea25e9986026e7cd0f890fdc6b015bc5f138f2a83832 SHA512 31c45ca6fc5a57c9ac03d6120f011562c472e757451e7ae637fd7ade514f0ff673e03acd8ebe70c666c145844126a81af6d3fcceb926f72b83f5ba313f9d9e69
|
DIST amd64-debug-libreoffice-gnome-7.3.7.2.xd3 1426468 BLAKE2B 751b22c4709e332253b93c3f03e4bee4ca5d7224480e1d9b9288c31ad84dd8030da3f9b0a0f1707ca37cea25e9986026e7cd0f890fdc6b015bc5f138f2a83832 SHA512 31c45ca6fc5a57c9ac03d6120f011562c472e757451e7ae637fd7ade514f0ff673e03acd8ebe70c666c145844126a81af6d3fcceb926f72b83f5ba313f9d9e69
|
||||||
DIST amd64-debug-libreoffice-gnome-java-7.3.6.2.xd3 780978067 BLAKE2B 701061066369e29ed2d6f648e892fe417ba9efaf5fa64d74b25339a266caaebe3a8c5fddbbd8d4139db16c908956bc41b19db6e159cab332e2e8a26a0a44f8d8 SHA512 7a5dfc35aff3101e61379cef24373c08f137932480d68e169d679dab16df2e8595cb5efa74222829a932a2b35aaf9421bdda5336b32ed940f6ba4f5200fd54d6
|
|
||||||
DIST amd64-debug-libreoffice-gnome-java-7.3.7.2.xd3 780825509 BLAKE2B fb12cd7426f251d78d4e1f8109f8ce5acfa480ac412aee4306979ff0d4b43997c80c41529d112e369e890094b836790985401338103554500c6e8616cb220d94 SHA512 2760333d9cc2be7d8bcba22352ec510326624e35b9e50edc7ef3d2b9a0b8b43fe291670f4f9f20d1e6b5fb9fdfdc9733e1757523ca83a276268d08be5d36e4ed
|
DIST amd64-debug-libreoffice-gnome-java-7.3.7.2.xd3 780825509 BLAKE2B fb12cd7426f251d78d4e1f8109f8ce5acfa480ac412aee4306979ff0d4b43997c80c41529d112e369e890094b836790985401338103554500c6e8616cb220d94 SHA512 2760333d9cc2be7d8bcba22352ec510326624e35b9e50edc7ef3d2b9a0b8b43fe291670f4f9f20d1e6b5fb9fdfdc9733e1757523ca83a276268d08be5d36e4ed
|
||||||
DIST amd64-debug-libreoffice-java-7.3.6.2.xd3 779563852 BLAKE2B 6edb2078f5b84f873a657d3f2a58d4254c5da287265d1bedd4876090441a5906ba51669eb1c22c5dd7114d40e11459118e79b6d913f26f5df7a6ec8559f92df0 SHA512 0b62bc74c245eff426a5f74897b3ebeefb603f778c95d3fd98272d986ebc86c9d546d0b3b2cd04b8fbc62f01305c121f156b2df7484235e1f7559b537c198712
|
|
||||||
DIST amd64-debug-libreoffice-java-7.3.7.2.xd3 779398603 BLAKE2B 6a9c6e77dc0c23e8cbdd292ad3afbd8f979ce857ef0a719de35f5b4d7c336d106976320c9de3fe1163c5b148f6a137d3f17be9c851d04d342b6ec1a222d4fbb4 SHA512 2406ee0096fae44148d2c45a5840369a985e3994189c289fc8380b31ebd050581a4ba1f3c547b2a9c6fa84ab17804381aa89f202ee35fc295906ee5a04d53d9c
|
DIST amd64-debug-libreoffice-java-7.3.7.2.xd3 779398603 BLAKE2B 6a9c6e77dc0c23e8cbdd292ad3afbd8f979ce857ef0a719de35f5b4d7c336d106976320c9de3fe1163c5b148f6a137d3f17be9c851d04d342b6ec1a222d4fbb4 SHA512 2406ee0096fae44148d2c45a5840369a985e3994189c289fc8380b31ebd050581a4ba1f3c547b2a9c6fa84ab17804381aa89f202ee35fc295906ee5a04d53d9c
|
||||||
DIST amd64-debug-libreoffice-kde-7.3.6.2.xd3 474775315 BLAKE2B d857d45e7e1dde56c241d789afffe26d1398049c6fafa60c15345adc6ca56a139f91d709955b89ceb8e2f21d218677663f8b8e4b793a8e26bfc69d6bbfe30a92 SHA512 1f26ea2ba552cfd9ee1e0fada7d7d1c7b14197844d19d823c37ecc015db5fbc0e10d4bffe5d3bb3f0e2247590c653f669f8e87dbcbe5c1298b049de019289a9d
|
|
||||||
DIST amd64-debug-libreoffice-kde-7.3.7.2.xd3 474830151 BLAKE2B 53981f15ee162fa00d91e2ecd421cbf612f0a0854819840418058c4c9d1f98468fa48f3038d1a1ab8590f3202d0b85891aba444331ca12231f9c6f8fcf5d72b9 SHA512 81331b35d9c09b5605e5c03042c43f54cc642301efb0d6cbb368dfa38558b1021c381da122b3a424f535e8e1bbb7f3697364968d58a59764abc081d1b7e81b2c
|
DIST amd64-debug-libreoffice-kde-7.3.7.2.xd3 474830151 BLAKE2B 53981f15ee162fa00d91e2ecd421cbf612f0a0854819840418058c4c9d1f98468fa48f3038d1a1ab8590f3202d0b85891aba444331ca12231f9c6f8fcf5d72b9 SHA512 81331b35d9c09b5605e5c03042c43f54cc642301efb0d6cbb368dfa38558b1021c381da122b3a424f535e8e1bbb7f3697364968d58a59764abc081d1b7e81b2c
|
||||||
DIST amd64-debug-libreoffice-kde-java-7.3.6.2.xd3 784092759 BLAKE2B d81d43912d18a16eaed4edcdd2cc3b635df763d0bc1e5e1eefd158590a12d9d24bb8a68126b3504992c30a71b5bb06cb6fe9c66ba1ab6297b351650f154a4db5 SHA512 5091aa0abb33e39374c281dc7894874d2be82da4d46bc4ce409a4f24ccaaf0493709880db45b1c38f131ad3b195c89f96ed32eb6ee463e9c2175f46c88c55897
|
|
||||||
DIST amd64-debug-libreoffice-kde-java-7.3.7.2.xd3 783741877 BLAKE2B 097b7977705382c7091a2d17781ca80cb16fb854053967a87b903073a09d5d8215f19b3f04836f409a57f54cc60574d467a31aeaaf8a1efab5787313e3e6664a SHA512 95960b2a87797ba5ddc58970f07b4a2aacf29c2d857b3e94b5cb9d8b321ab094680e8cc0d2e7cb7db7ee28933d1619dd7ffdf9b96d749c0a14496cef2149f975
|
DIST amd64-debug-libreoffice-kde-java-7.3.7.2.xd3 783741877 BLAKE2B 097b7977705382c7091a2d17781ca80cb16fb854053967a87b903073a09d5d8215f19b3f04836f409a57f54cc60574d467a31aeaaf8a1efab5787313e3e6664a SHA512 95960b2a87797ba5ddc58970f07b4a2aacf29c2d857b3e94b5cb9d8b321ab094680e8cc0d2e7cb7db7ee28933d1619dd7ffdf9b96d749c0a14496cef2149f975
|
||||||
DIST x86-debug-libreoffice-7.3.6.2.tar.xz 7925092 BLAKE2B 2b99dad6c9fc67593396dba4cafa52eb1840965662c96fb3961a7fc7755a144754f93134d57d5592ed59305c50d90340e3cf1dc4639f9b583edc3b95136ed306 SHA512 6df445645c7fbe5782b717f185f30685fa9cfbe199ddece881b565cf425390ec0229226174d55195d6c7b280646d535f897ee838730c904d909dc59d8072ff96
|
|
||||||
DIST x86-debug-libreoffice-7.3.7.2.tar.xz 7936548 BLAKE2B 002d67f4e2feb9e4ef0ce751fedfacb98af06ac35e14a850a7b9ceb13cdaf4946a29503d9ce4b558514f450b5a7d054a1a993e9f0c10b66795960fff94d3eb57 SHA512 8523d5ac5a7857f0cf781cb6af7c9016bebff65905420f0f127efa2b4274bffbd54109e2c4bdf8cbb6d31ef0601258de55eb0659d498bc1561b8ddccc7e828d6
|
DIST x86-debug-libreoffice-7.3.7.2.tar.xz 7936548 BLAKE2B 002d67f4e2feb9e4ef0ce751fedfacb98af06ac35e14a850a7b9ceb13cdaf4946a29503d9ce4b558514f450b5a7d054a1a993e9f0c10b66795960fff94d3eb57 SHA512 8523d5ac5a7857f0cf781cb6af7c9016bebff65905420f0f127efa2b4274bffbd54109e2c4bdf8cbb6d31ef0601258de55eb0659d498bc1561b8ddccc7e828d6
|
||||||
DIST x86-debug-libreoffice-gnome-7.3.6.2.xd3 38754 BLAKE2B 84270e533f2dc5d68075685e383363c80b7c2325fbf4bac27f6b37c13a141707b65bd04fb3ad7ae1a5ec344c227708d2ca2716d499c40dcdd93cc8a0cef148b7 SHA512 88a51e651a1c3a9a220491951e261ac9a1ae552cb38b59ed21fc33c64b853745a20462680cbce67edc33bfd9dea235dc9100559839bb5129cf350fb7cd67b18b
|
|
||||||
DIST x86-debug-libreoffice-gnome-7.3.7.2.xd3 38802 BLAKE2B 1c941389e4d4ec06b879aed252bc633b938d96a49576125ca5a476d7e013d708a8deef8b36e0c16c36c718a39762ec45325ef73f07cbaa4214b42d2142c69428 SHA512 f0e6bdc4ba84057401b14ad10682764c946ec60fd48805bd9530768e766a769aa3df28a1f5d6e551bf8324e137a151af31f855a5d583f30519ab4fa6b307a735
|
DIST x86-debug-libreoffice-gnome-7.3.7.2.xd3 38802 BLAKE2B 1c941389e4d4ec06b879aed252bc633b938d96a49576125ca5a476d7e013d708a8deef8b36e0c16c36c718a39762ec45325ef73f07cbaa4214b42d2142c69428 SHA512 f0e6bdc4ba84057401b14ad10682764c946ec60fd48805bd9530768e766a769aa3df28a1f5d6e551bf8324e137a151af31f855a5d583f30519ab4fa6b307a735
|
||||||
DIST x86-debug-libreoffice-kde-7.3.6.2.xd3 2623238 BLAKE2B 4baaa8dde8369ba21b0a98d0ee36fac0ed99d04d754e7aa6a38f7cb0e97b6f3f903a6fe9b7f924b4ff6ba683d5821b856e7c633a095a30798451a910b7a17295 SHA512 cc5c76d60048e839af936ce79b0a879d7ac3f990ca60986e35458608f979a418a9d1980546f13bfa514f17bbeac0a8287883a493aae50c08a576a52662b871d6
|
|
||||||
DIST x86-debug-libreoffice-kde-7.3.7.2.xd3 2623628 BLAKE2B f97474378a730ef1a9e91b43300754ac7e498c0f0f5357a7806eac5a665b82b57094d9fa25661bfe82c0082cac90fcd2f082f39e0377f43f55a0d809b439219f SHA512 453537a2086b4c4fb18fc98f792692c2e7503862346ad68a4a1f1acbf0fe72fb00a42a9ddbecf2acca10723d32654f8c824937782bd73be1d68ad7f53c112c1b
|
DIST x86-debug-libreoffice-kde-7.3.7.2.xd3 2623628 BLAKE2B f97474378a730ef1a9e91b43300754ac7e498c0f0f5357a7806eac5a665b82b57094d9fa25661bfe82c0082cac90fcd2f082f39e0377f43f55a0d809b439219f SHA512 453537a2086b4c4fb18fc98f792692c2e7503862346ad68a4a1f1acbf0fe72fb00a42a9ddbecf2acca10723d32654f8c824937782bd73be1d68ad7f53c112c1b
|
||||||
|
@ -1,85 +0,0 @@
|
|||||||
# Copyright 1999-2022 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-${PVR}.tar.xz
|
|
||||||
kde? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
|
||||||
)
|
|
||||||
!kde? ( !gnome? (
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
|
||||||
) )
|
|
||||||
"
|
|
||||||
SRC_URI_X86="
|
|
||||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
|
||||||
kde? (
|
|
||||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
SRC_URI="
|
|
||||||
amd64? ( ${SRC_URI_AMD64} )
|
|
||||||
x86? ( ${SRC_URI_X86} )
|
|
||||||
"
|
|
||||||
|
|
||||||
IUSE="gnome java kde"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* amd64 x86"
|
|
||||||
|
|
||||||
# the = is correct, the debug info needs to fit the exact binary
|
|
||||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[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-${PVR}.tar.xz"
|
|
||||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
|
||||||
|
|
||||||
use x86 && use java && die "There is no build for x86 with Java support."
|
|
||||||
|
|
||||||
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-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
|
||||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
|
||||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
|
||||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr
|
|
||||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
|
||||||
}
|
|
@ -1,18 +1,9 @@
|
|||||||
DIST amd64-bin-libreoffice-7.3.6.2.tar.xz 142481040 BLAKE2B d591945a87d5d338e178b03b6c4474845bcaaf3766007d4f6d37600546da49ed06d437da162f82c3d09468cadb785977d8b9a2c4cda1e520b0f4c1df137eff78 SHA512 4f5c4f61324d5dba56913f7d3fe9c71d8b547116820fe4b77fab4a815f1ddcc2e1e23108ba9ba8e57316d71914d95c0a4cfffef0b94780ac1aeb50d24c3aaf01
|
|
||||||
DIST amd64-bin-libreoffice-7.3.7.2.tar.xz 142495244 BLAKE2B a892855ec3540c282374eae90b7ed56692be90748d8bc225f4232df7c6687a9e3127303ce99d314a672c06327c7128b07958d4cfa4fb3ef1766186ec170ae79f SHA512 1607f598d325993f9baeaf97a01c806d2cb3ff66fc71585637c654a4d4a3ed276ce9d969bfbe5c70809e8fafea77fea9c2eb6c9b7701191459565591ae9314ee
|
DIST amd64-bin-libreoffice-7.3.7.2.tar.xz 142495244 BLAKE2B a892855ec3540c282374eae90b7ed56692be90748d8bc225f4232df7c6687a9e3127303ce99d314a672c06327c7128b07958d4cfa4fb3ef1766186ec170ae79f SHA512 1607f598d325993f9baeaf97a01c806d2cb3ff66fc71585637c654a4d4a3ed276ce9d969bfbe5c70809e8fafea77fea9c2eb6c9b7701191459565591ae9314ee
|
||||||
DIST amd64-bin-libreoffice-gnome-7.3.6.2.xd3 1500304 BLAKE2B f1e376116af83545027d1b48ad85b63ab61c41fde553c9602954e37cad7414b1b43dbe843a104c1a1ad55212c329dda7d01c3bc156ab77f9393b21b1ca6c0068 SHA512 ded283c756cad3b94d1ac1fd0090edef525571431f0e0c2747daa452839657130fefa33599cd6be080f3944d1699f57f1fdb1363eb6ab8af06d532d9133066b3
|
|
||||||
DIST amd64-bin-libreoffice-gnome-7.3.7.2.xd3 1498352 BLAKE2B 8354e0a403736995f52814f6df22c4b986c36d42e976dd880b4b577685b24eddd027069cf4b1bdafa4cfdfbdc80fa419539d8553642a573883840230815b1dca SHA512 2deac92459f60e09f16f51f2bbb03ffd3fb38d27cf9c726e29d18d76384740e70cc85eebc286407474cc8e730eb3fc321dc4377bd2cd46d1675cbe5395647f88
|
DIST amd64-bin-libreoffice-gnome-7.3.7.2.xd3 1498352 BLAKE2B 8354e0a403736995f52814f6df22c4b986c36d42e976dd880b4b577685b24eddd027069cf4b1bdafa4cfdfbdc80fa419539d8553642a573883840230815b1dca SHA512 2deac92459f60e09f16f51f2bbb03ffd3fb38d27cf9c726e29d18d76384740e70cc85eebc286407474cc8e730eb3fc321dc4377bd2cd46d1675cbe5395647f88
|
||||||
DIST amd64-bin-libreoffice-gnome-java-7.3.6.2.xd3 30688638 BLAKE2B 96f94967c4893ba693ac95fe93a9e80794c319bb512636df133114f171ec85b494a55f7b4a9be7bc10d748072b8f6c73c8ae0be10dc23d237b7ae0a5767ecca0 SHA512 2c2d5543260628af8b1bc3f49080f935b6b0b82ba56f2e36349183811da92ab976a09d9c3de579b159d9e21a5d5706687c805e3960243b9f35c4ef062bd64fd9
|
|
||||||
DIST amd64-bin-libreoffice-gnome-java-7.3.7.2.xd3 31373347 BLAKE2B 44e415eb35d8a20d429929b5d436f7eaf79eba72fabe3eab35b464797ef2024982ec0787dca8b764f77c52eb1a9c42c1a55bd15aca33d79d60cdf87a2aec739c SHA512 a23d0a61856e166dc982d25a9c839caefb86230bb1e539d16accfc777082180f0d9580c0d6c3615829d4ec8b3b5d1d144ea0f9896155b884ee13f47450aeab59
|
DIST amd64-bin-libreoffice-gnome-java-7.3.7.2.xd3 31373347 BLAKE2B 44e415eb35d8a20d429929b5d436f7eaf79eba72fabe3eab35b464797ef2024982ec0787dca8b764f77c52eb1a9c42c1a55bd15aca33d79d60cdf87a2aec739c SHA512 a23d0a61856e166dc982d25a9c839caefb86230bb1e539d16accfc777082180f0d9580c0d6c3615829d4ec8b3b5d1d144ea0f9896155b884ee13f47450aeab59
|
||||||
DIST amd64-bin-libreoffice-java-7.3.6.2.xd3 30572131 BLAKE2B cac521ab6527391e3e6fc06991db1af01778d12984292e4876a1beef1a40964767625ed006cdd95442792d99f04eb5d5383e1874f8e56b6edbb1dc0a835a6c95 SHA512 e9311a07e40e92088e8653d0c87144b0eb184dc18fc21f4d6d326110b7a81b61c809042f79304b286516074878b0fe2925802d5d9d068f7ccbf5143ac3fb9d02
|
|
||||||
DIST amd64-bin-libreoffice-java-7.3.7.2.xd3 31273687 BLAKE2B a7e3bb1142c2cc1b27d076df0485eed37c8e0ef19ae16d770bf7a0ae6a3d5a976042433f38febe316faf13b2ce71a749ec2edd068d118ac6c32ea0afd8e1e4ce SHA512 493516032f75e26434c6945cb333c3898a97dad0f09fb6b5074f5af6ebd499ad06ee7c2bd3d1843fdb0a06c4ce04115cad254f2d2f04f949c1cec7b5fce6c618
|
DIST amd64-bin-libreoffice-java-7.3.7.2.xd3 31273687 BLAKE2B a7e3bb1142c2cc1b27d076df0485eed37c8e0ef19ae16d770bf7a0ae6a3d5a976042433f38febe316faf13b2ce71a749ec2edd068d118ac6c32ea0afd8e1e4ce SHA512 493516032f75e26434c6945cb333c3898a97dad0f09fb6b5074f5af6ebd499ad06ee7c2bd3d1843fdb0a06c4ce04115cad254f2d2f04f949c1cec7b5fce6c618
|
||||||
DIST amd64-bin-libreoffice-kde-7.3.6.2.xd3 20926607 BLAKE2B 8973af95974d0b0ff582e690af0078aae3bd5ff3a4aee5cd19b6c68535f7a6f9904980d74b29979f5ffd6b5be93ea233a4d6c08ad36b9426fd7e5c80313f20d9 SHA512 a338ae1c937c9f85ad9ecb6ed7a97a750936bd6b9a9d16ada9c3473b6db48fe1797e7b82171acd1d049fd616dca2b2f13a4d44c49e649a891830c16a87be5ddd
|
|
||||||
DIST amd64-bin-libreoffice-kde-7.3.7.2.xd3 20893232 BLAKE2B d3cade3e8b76ad9ea596621ac15474b29a89e31865e29fe4eccca436f0b15b68ac5a8e8ad03006f13cf322bf9f47a90e6daa05090785203346307d5fa153ceec SHA512 6c23729526897377e3a4df865163abf4539664a06dbe59d8ddd6951ea1c274ecfa3679ecb290af76e328a8d6537f3525ea25831a9777233e6471d74556509e52
|
DIST amd64-bin-libreoffice-kde-7.3.7.2.xd3 20893232 BLAKE2B d3cade3e8b76ad9ea596621ac15474b29a89e31865e29fe4eccca436f0b15b68ac5a8e8ad03006f13cf322bf9f47a90e6daa05090785203346307d5fa153ceec SHA512 6c23729526897377e3a4df865163abf4539664a06dbe59d8ddd6951ea1c274ecfa3679ecb290af76e328a8d6537f3525ea25831a9777233e6471d74556509e52
|
||||||
DIST amd64-bin-libreoffice-kde-java-7.3.6.2.xd3 30686667 BLAKE2B 91c7e476d5150841bfd8660f95b707ed6cc29869e6bb2fb44035dcea0cdaa1d00a9ee901642c3305bc95e322a19ba7dc09326caf30b49e275f57a3e505d17256 SHA512 3cdd96878e66cab5b1ea339072b5887bdf53e49bfb005a22eb97ab63f462fd132db949482c0e76a3710c27c6b49e3b84553d5197fb45a4559624d508d2d04f96
|
|
||||||
DIST amd64-bin-libreoffice-kde-java-7.3.7.2.xd3 31361419 BLAKE2B 77f2ca6932f6a22280998530209024d844b940085f2d528d514bba680500e52fd2fae7b2a94a2798091dbfcf38b498b152e6aa199847410f5581ef1e902fcad2 SHA512 f53e2ee610db310e30719d1b2b8736f35320beda89fd620f1e63eb60c371b9551e3dca8403faa5831df13d3392c4d0ae69f61576e294642148215160c4b60724
|
DIST amd64-bin-libreoffice-kde-java-7.3.7.2.xd3 31361419 BLAKE2B 77f2ca6932f6a22280998530209024d844b940085f2d528d514bba680500e52fd2fae7b2a94a2798091dbfcf38b498b152e6aa199847410f5581ef1e902fcad2 SHA512 f53e2ee610db310e30719d1b2b8736f35320beda89fd620f1e63eb60c371b9551e3dca8403faa5831df13d3392c4d0ae69f61576e294642148215160c4b60724
|
||||||
DIST x86-bin-libreoffice-7.3.6.2.tar.xz 144270792 BLAKE2B 327dc6823e9ad9cbbb85871d6224eb22ee0fcb8048da5c47d279f98dd9affa16a4e0ae9ad261f3f6d1616c8a7d31de4a4d046d90fd70799df6d038b246d597fd SHA512 ed71908fa30924ac0a7e4d7dfa06d039bd1c7a48e93e562cc53fe755c0778790c43f2cd5e5f14c49d95b4209566534219efac7c574f90cf8b15515a5555cc115
|
|
||||||
DIST x86-bin-libreoffice-7.3.7.2.tar.xz 144274524 BLAKE2B f166805e3aa28a2894dc6715f08c5d23e6450aacd9b9231922ce128538b6bd38971c07d5cd8c20489c043f519ca7f084b7921eddb6ece5aedbd73cd07eff6005 SHA512 f2aabeab69bbf7187adc7b211aade726b0077a5667de9b2be237d16b14219129115b53bbb6668b876c5279ef0b29ad098d99a13e9a35f01f5fc5ae875101e75c
|
DIST x86-bin-libreoffice-7.3.7.2.tar.xz 144274524 BLAKE2B f166805e3aa28a2894dc6715f08c5d23e6450aacd9b9231922ce128538b6bd38971c07d5cd8c20489c043f519ca7f084b7921eddb6ece5aedbd73cd07eff6005 SHA512 f2aabeab69bbf7187adc7b211aade726b0077a5667de9b2be237d16b14219129115b53bbb6668b876c5279ef0b29ad098d99a13e9a35f01f5fc5ae875101e75c
|
||||||
DIST x86-bin-libreoffice-gnome-7.3.6.2.xd3 1455876 BLAKE2B 9b895a01110df47e8f9ae529b524cfe1ede2ca7d47a06404b92d24dbde5672877c2c117b9ff370c61ca440bac2c2f297960e6ab395e04d3921720a498715f1c7 SHA512 37b1d968d783e862922de770d44ff51686d4c58d6c998c2f2463f8b4323b5e1f88e0aea6456cc8d20835aae549393d4623d15ed474277f78efc0b672e06fb1e9
|
|
||||||
DIST x86-bin-libreoffice-gnome-7.3.7.2.xd3 1452406 BLAKE2B d4f0ec6ed7f7d561ba86698ef9bd6e0d0f59074555d3d488ad292334f925ed0726d583d8fd1a71c9a5b4b324f0dcc63235b529fee5f143a8c7917e6278325d74 SHA512 1db9047559c93469e4622b4730cdd14f9bc93e80bbcf0c119d67b74df95741dd3e46b336109d55ace595ee0f802f48bd8b32299ebfc6c0889914f120aca70397
|
DIST x86-bin-libreoffice-gnome-7.3.7.2.xd3 1452406 BLAKE2B d4f0ec6ed7f7d561ba86698ef9bd6e0d0f59074555d3d488ad292334f925ed0726d583d8fd1a71c9a5b4b324f0dcc63235b529fee5f143a8c7917e6278325d74 SHA512 1db9047559c93469e4622b4730cdd14f9bc93e80bbcf0c119d67b74df95741dd3e46b336109d55ace595ee0f802f48bd8b32299ebfc6c0889914f120aca70397
|
||||||
DIST x86-bin-libreoffice-kde-7.3.6.2.xd3 19815271 BLAKE2B 7567fb2378e722422dbca7a7a85c48b98376191c3ef80df38402963cbd2ea5fba78ba183960b0b5e9734f6d1b1885d963e5b23935759966e3af810c47480877e SHA512 e58a1787293866681f3501a11eedc9e49d7f69dc0e3713f923ddb78d31a54468ee1ce8e538ed2b8414e78318a5338af8892836ace7a817565e5403f69aacb8f7
|
|
||||||
DIST x86-bin-libreoffice-kde-7.3.7.2.xd3 19826615 BLAKE2B c40c3abd9f0eb7a3c67c66bc8f2591200f33e97a14bc0fad148f330b213fff851c40d356c066d0465dc734f2603d13cf9d8c8cb269c6be797d719b17bb1c84d9 SHA512 7c88bf70d6739f4553e68ab889b7dbd259f4bf47198797a0517f1ad0020ee8f71c745c915bd8b8870d03298f0bba6ec2bd4462800c2e4d11e6813a2a9ca478ac
|
DIST x86-bin-libreoffice-kde-7.3.7.2.xd3 19826615 BLAKE2B c40c3abd9f0eb7a3c67c66bc8f2591200f33e97a14bc0fad148f330b213fff851c40d356c066d0465dc734f2603d13cf9d8c8cb269c6be797d719b17bb1c84d9 SHA512 7c88bf70d6739f4553e68ab889b7dbd259f4bf47198797a0517f1ad0020ee8f71c745c915bd8b8870d03298f0bba6ec2bd4462800c2e4d11e6813a2a9ca478ac
|
||||||
|
@ -1,257 +0,0 @@
|
|||||||
# Copyright 1999-2022 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_10 )
|
|
||||||
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-${PVR}.tar.xz
|
|
||||||
kde? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
|
||||||
)
|
|
||||||
!kde? ( !gnome? (
|
|
||||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
|
||||||
) )
|
|
||||||
"
|
|
||||||
SRC_URI_X86="
|
|
||||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
|
||||||
kde? (
|
|
||||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
|
||||||
)
|
|
||||||
gnome? (
|
|
||||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.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-cpp/abseil-cpp:0/20211102
|
|
||||||
dev-libs/boost:0/1.79.0
|
|
||||||
dev-libs/icu:0/71.1
|
|
||||||
dev-libs/liborcus:0/0.17
|
|
||||||
>=media-gfx/graphite2-1.3.10
|
|
||||||
media-libs/harfbuzz:0/4.0.0[icu]
|
|
||||||
media-libs/libjpeg-turbo:0/0.2
|
|
||||||
media-libs/libpng:0/16
|
|
||||||
media-libs/openjpeg:2/7
|
|
||||||
media-libs/zxing-cpp:0/1.4
|
|
||||||
>=sys-devel/gcc-11.3.0
|
|
||||||
>=sys-libs/glibc-2.35
|
|
||||||
"
|
|
||||||
|
|
||||||
# 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-1.0.6
|
|
||||||
>=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/abseil-cpp:=
|
|
||||||
>=dev-cpp/clucene-2.3.3.4-r2
|
|
||||||
>=dev-cpp/libcmis-0.5.2
|
|
||||||
dev-db/unixODBC
|
|
||||||
>=games-engines/box2d-2.4.1:0
|
|
||||||
dev-lang/perl
|
|
||||||
dev-libs/boost:=[nls]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/hyphen
|
|
||||||
dev-libs/icu:=
|
|
||||||
dev-libs/libassuan
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
|
||||||
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.11.0-r1: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/libjpeg-turbo:=
|
|
||||||
media-libs/libpagemaker
|
|
||||||
>=media-libs/libpng-1.4:0=
|
|
||||||
>=media-libs/libvisio-0.1.0
|
|
||||||
media-libs/libzmf
|
|
||||||
media-libs/openjpeg:=
|
|
||||||
media-libs/zxing-cpp:=
|
|
||||||
>=net-libs/neon-0.31.1:=
|
|
||||||
net-misc/curl
|
|
||||||
sci-mathematics/lpsolve
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/glu
|
|
||||||
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[X]
|
|
||||||
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}
|
|
||||||
acct-group/libreoffice
|
|
||||||
acct-user/libreoffice
|
|
||||||
!app-office/libreoffice
|
|
||||||
!app-office/openoffice
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
|
||||||
java? ( virtual/jre:11 )
|
|
||||||
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-${PVR}.tar.xz"
|
|
||||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
|
||||||
|
|
||||||
use x86 && use java && die "There is no build for x86 with Java support."
|
|
||||||
|
|
||||||
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-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
|
||||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
|
||||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
|
||||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.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-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
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 ~loong ~ppc64 x86 ~amd64-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 ar 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 lo lt lv mk nb ne nl nn om pl pt-BR pt ro ru si sid sk sl sq sv ta tg tr ug uk vi zh-CN zh-TW "
|
|
||||||
LANGUAGES="${LANGUAGES_HELP}af as be br brx ckb cy dgo dsb fa fur fy ga gd gug hsb kab kk kmr-Latn kn kok ks lb mai ml mn mni mr my nr nso oc or pa:pa-IN rw sa:sa-IN sat sd sr-Latn sr ss st sw-TZ szl te th tn ts tt uz ve vec 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,46 +0,0 @@
|
|||||||
https://gerrit.libreoffice.org/c/core/+/139249
|
|
||||||
|
|
||||||
From 8bad83bf044661357b02b695e6f53e2e19dea396 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sam James <sam@gentoo.org>
|
|
||||||
Date: Fri, 2 Sep 2022 04:31:18 +0100
|
|
||||||
Subject: [PATCH] Fix build with Poppler 22.09.0
|
|
||||||
|
|
||||||
With Poppler 22.09.0, LO fails to build with:
|
|
||||||
```
|
|
||||||
/var/tmp/portage/app-office/libreoffice-7.3.5.2/work/libreoffice-7.3.5.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:682:36: error: too many arguments to function call, expected single argument 'start', have 3 arguments
|
|
||||||
state->getLineDash(&dashArray, &arrayLen, &startOffset);
|
|
||||||
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
/usr/include/poppler/GfxState.h:1506:32: note: 'getLineDash' declared here
|
|
||||||
const std::vector<double> &getLineDash(double *start)
|
|
||||||
^
|
|
||||||
1 error generated.
|
|
||||||
```
|
|
||||||
|
|
||||||
Poppler changed the getLineDash interface:
|
|
||||||
```
|
|
||||||
- void getLineDash(double **dash, int *length, double *start)
|
|
||||||
+ const std::vector<double> &getLineDash(double *start)
|
|
||||||
```
|
|
||||||
|
|
||||||
Signed-off-by: Sam James <sam@gentoo.org>
|
|
||||||
Change-Id: I29e18f20d7650a7fcac1bc8ab4aaa04aaa2ab8fb
|
|
||||||
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|
|
||||||
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|
|
||||||
@@ -678,8 +678,16 @@ void PDFOutDev::updateLineDash(GfxState *state)
|
|
||||||
return;
|
|
||||||
assert(state);
|
|
||||||
|
|
||||||
- double* dashArray; int arrayLen; double startOffset;
|
|
||||||
+ int arrayLen; double startOffset;
|
|
||||||
+#if POPPLER_CHECK_VERSION(22, 9, 0)
|
|
||||||
+ const double* dashArray;
|
|
||||||
+ const std::vector<double> &dash = state->getLineDash(&startOffset);
|
|
||||||
+ dashArray = dash.data();
|
|
||||||
+ arrayLen = dash.size();
|
|
||||||
+#else
|
|
||||||
+ double* dashArray;
|
|
||||||
state->getLineDash(&dashArray, &arrayLen, &startOffset);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
printf( "updateLineDash" );
|
|
||||||
if( arrayLen && dashArray )
|
|
@ -1,658 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
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="${PN}-7.3.5.2-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/~xen0n/distfiles/app-office/libreoffice/${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=(
|
|
||||||
# broken against latest upstream release, too many patches on top:
|
|
||||||
# https://github.com/tdf/libcmis/pull/43
|
|
||||||
"${ADDONS_URI}/libcmis-0.5.2.tar.xz"
|
|
||||||
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
|
|
||||||
"${ADDONS_URI}/dtoa-20180411.tgz"
|
|
||||||
# not packaged in Gentoo, https://skia.org/
|
|
||||||
"${ADDONS_URI}/skia-m97-a7230803d64ae9d44f4e1282444801119a3ae967.tar.xz"
|
|
||||||
"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 clang coinmp +cups custom-cflags +dbus debug eds firebird
|
|
||||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
|
|
||||||
$(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 ~loong ~ppc64 x86 ~amd64-linux"
|
|
||||||
|
|
||||||
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-1.0.6
|
|
||||||
>=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/abseil-cpp:=
|
|
||||||
>=dev-cpp/clucene-2.3.3.4-r2
|
|
||||||
>=dev-cpp/libcmis-0.5.2
|
|
||||||
dev-db/unixODBC
|
|
||||||
dev-lang/perl
|
|
||||||
dev-libs/boost:=[nls]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/hyphen
|
|
||||||
dev-libs/icu:=
|
|
||||||
dev-libs/libassuan
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
|
||||||
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]
|
|
||||||
>=games-engines/box2d-2.4.1:0
|
|
||||||
media-gfx/fontforge
|
|
||||||
media-gfx/graphite2
|
|
||||||
media-libs/fontconfig
|
|
||||||
>=media-libs/freetype-2.11.0-r1: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/libjpeg-turbo:=
|
|
||||||
media-libs/libpagemaker
|
|
||||||
>=media-libs/libpng-1.4:0=
|
|
||||||
>=media-libs/libvisio-0.1.0
|
|
||||||
media-libs/libzmf
|
|
||||||
media-libs/openjpeg:=
|
|
||||||
media-libs/zxing-cpp:=
|
|
||||||
>=net-libs/neon-0.31.1:=
|
|
||||||
net-misc/curl
|
|
||||||
sci-mathematics/lpsolve
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/opengl
|
|
||||||
x11-libs/cairo[X]
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
accessibility? (
|
|
||||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_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[X]
|
|
||||||
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.7.14:1.6 )
|
|
||||||
mariadb? ( dev-db/mariadb-connector-c:= )
|
|
||||||
!mariadb? ( dev-db/mysql-connector-c:= )
|
|
||||||
pdfimport? ( >=app-text/poppler-22.06:=[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/2.0
|
|
||||||
media-libs/glm
|
|
||||||
sys-devel/ucpp
|
|
||||||
x11-base/xorg-proto
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
java? (
|
|
||||||
dev-java/ant-core
|
|
||||||
>=virtual/jdk-11
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
app-crypt/gnupg
|
|
||||||
dev-util/cppunit
|
|
||||||
media-fonts/dejavu
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
acct-group/libreoffice
|
|
||||||
acct-user/libreoffice
|
|
||||||
!app-office/libreoffice-bin
|
|
||||||
!app-office/libreoffice-bin-debug
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
|
||||||
java? ( >=virtual/jre-11 )
|
|
||||||
kde? ( kde-frameworks/breeze-icons:* )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/intltool
|
|
||||||
sys-apps/which
|
|
||||||
sys-devel/bison
|
|
||||||
sys-devel/flex
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
clang? (
|
|
||||||
|| (
|
|
||||||
( sys-devel/clang:15
|
|
||||||
sys-devel/llvm:15
|
|
||||||
=sys-devel/lld-15* )
|
|
||||||
( sys-devel/clang:14
|
|
||||||
sys-devel/llvm:14
|
|
||||||
=sys-devel/lld-14* )
|
|
||||||
( sys-devel/clang:13
|
|
||||||
sys-devel/llvm:13
|
|
||||||
=sys-devel/lld-13* )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
|
||||||
"
|
|
||||||
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.2.0.4-qt5detect.patch"
|
|
||||||
|
|
||||||
# 7.4 branch
|
|
||||||
"${FILESDIR}/${PN}-7.3.5.2-gpgme-1.18.0.patch"
|
|
||||||
|
|
||||||
# pending upstream
|
|
||||||
"${FILESDIR}/${PN}-7.3.5.2-poppler-22.09.0.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
# Show flags set at the beginning
|
|
||||||
einfo "Preset CFLAGS: ${CFLAGS}"
|
|
||||||
einfo "Preset LDFLAGS: ${LDFLAGS}"
|
|
||||||
|
|
||||||
if use clang ; then
|
|
||||||
# Force clang
|
|
||||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
|
||||||
AR=llvm-ar
|
|
||||||
CC=${CHOST}-clang
|
|
||||||
CXX=${CHOST}-clang++
|
|
||||||
NM=llvm-nm
|
|
||||||
RANLIB=llvm-ranlib
|
|
||||||
LDFLAGS+=" -fuse-ld=lld"
|
|
||||||
else
|
|
||||||
# Force gcc
|
|
||||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
|
||||||
AR=gcc-ar
|
|
||||||
CC=${CHOST}-gcc
|
|
||||||
CXX=${CHOST}-g++
|
|
||||||
NM=gcc-nm
|
|
||||||
RANLIB=gcc-ranlib
|
|
||||||
|
|
||||||
# Apparently the Clang flags get used even for GCC builds sometimes.
|
|
||||||
# bug #838115
|
|
||||||
sed -i -e "s/-flto=thin/-flto/" solenv/gbuild/platform/com_GCC_defs.mk || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use custom-cflags ; then
|
|
||||||
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
|
|
||||||
elog "the build succeeds. Good luck!"
|
|
||||||
else
|
|
||||||
strip-flags
|
|
||||||
fi
|
|
||||||
|
|
||||||
export LO_CLANG_CC=${CC}
|
|
||||||
export LO_CLANG_CXX=${CXX}
|
|
||||||
|
|
||||||
# Show flags set at the end
|
|
||||||
einfo " Used CFLAGS: ${CFLAGS}"
|
|
||||||
einfo " Used LDFLAGS: ${LDFLAGS}"
|
|
||||||
|
|
||||||
# Ensure we use correct toolchain
|
|
||||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
|
||||||
|
|
||||||
if use vulkan && ! use clang ; then
|
|
||||||
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 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
|
|
||||||
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-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-qt6
|
|
||||||
--with-extra-buildid="${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-abseil
|
|
||||||
--with-system-openjpeg
|
|
||||||
--with-system-ucpp
|
|
||||||
--with-tls=nss
|
|
||||||
--with-vendor="Gentoo Foundation"
|
|
||||||
--with-webdav="neon"
|
|
||||||
--with-x
|
|
||||||
--without-fonts
|
|
||||||
--without-myspell-dicts
|
|
||||||
--with-help="html"
|
|
||||||
--without-helppack-integration
|
|
||||||
--with-system-gpgmepp
|
|
||||||
--without-system-jfreereport
|
|
||||||
--without-system-libcmis
|
|
||||||
--without-system-sane
|
|
||||||
$(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_enable vulkan skia)
|
|
||||||
$(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_HOME}"
|
|
||||||
)
|
|
||||||
|
|
||||||
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 rhino.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
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake unitcheck
|
|
||||||
emake slowcheck
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
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=/usr/$(get_libdir)/libreoffice/program
|
|
||||||
for py in uno.py unohelper.py officehelper.py; do
|
|
||||||
dosym -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
|
|
||||||
while IFS="" read -d $'\0' -r pyc; do
|
|
||||||
pyc=${pyc//*\/}
|
|
||||||
dosym -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
|
|
||||||
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
|
|
||||||
done
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/libreoffice.initd" libreoffice
|
|
||||||
newconfd "${FILESDIR}/libreoffice.confd" libreoffice
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue