724 changed files with 9551 additions and 12314 deletions
-
BINManifest.files.gz
-
BINapp-admin/Manifest.gz
-
1app-admin/ansible-cmdb/Manifest
-
24app-admin/ansible-cmdb/ansible-cmdb-1.30.ebuild
-
1app-admin/entr/Manifest
-
31app-admin/entr/entr-4.5.ebuild
-
2app-admin/exo/Manifest
-
0app-admin/exo/exo-1.22.2.ebuild
-
44app-admin/newsyslog/newsyslog-1.1.0.81-r1.ebuild
-
34app-admin/pydf/pydf-12-r2.ebuild
-
1app-admin/salt/Manifest
-
5app-admin/salt/salt-3001.4-r1.ebuild
-
183app-admin/salt/salt-3002.1.ebuild
-
6app-admin/salt/salt-3002.2-r2.ebuild
-
BINapp-arch/Manifest.gz
-
2app-arch/zstd/zstd-1.4.5.ebuild
-
4app-arch/zstd/zstd-1.4.8-r1.ebuild
-
BINapp-backup/Manifest.gz
-
14app-backup/tarsnap/files/tarsnap-1.0.39-respect-AR.patch
-
10app-backup/tarsnap/tarsnap-1.0.39.ebuild
-
BINapp-crypt/Manifest.gz
-
2app-crypt/gnupg/Manifest
-
6app-crypt/gnupg/gnupg-2.2.26.ebuild
-
BINapp-editors/Manifest.gz
-
11app-editors/neovim/files/neovim-0.4.4-cmake_multiimpl_luv.patch
-
3app-editors/neovim/neovim-0.4.4-r100.ebuild
-
3app-editors/neovim/neovim-9999.ebuild
-
BINapp-emulation/Manifest.gz
-
1app-emulation/libvirt/libvirt-6.10.0-r2.ebuild
-
1app-emulation/libvirt/libvirt-9999.ebuild
-
BINapp-eselect/Manifest.gz
-
0app-eselect/eselect-lua/eselect-lua-3.ebuild
-
62app-eselect/eselect-lua/files/lua.eselect-3
-
BINapp-office/Manifest.gz
-
1app-office/kmymoney/Manifest
-
133app-office/kmymoney/kmymoney-5.1.1.ebuild
-
1app-office/scribus/Manifest
-
159app-office/scribus/scribus-1.5.5_p20200626.ebuild
-
BINapp-officeext/Manifest.gz
-
1app-officeext/languagetool/Manifest
-
23app-officeext/languagetool/languagetool-5.1.3.ebuild
-
BINapp-text/Manifest.gz
-
2app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r4.ebuild
-
101app-text/highlight/highlight-3.57-r100.ebuild
-
26app-text/mythes/mythes-1.2.4-r1.ebuild
-
15app-text/podofo/files/podofo-0.9.6_p20190928-cmake_lua_version.patch
-
159app-text/podofo/podofo-0.9.6_p20190928-r100.ebuild
-
BINdev-db/Manifest.gz
-
2dev-db/pgbouncer/pgbouncer-1.15.0.ebuild
-
2dev-db/pspg/pspg-3.1.5.ebuild
-
BINdev-haskell/Manifest.gz
-
2dev-haskell/text/text-1.2.4.0-r1.ebuild
-
BINdev-java/Manifest.gz
-
2dev-java/javatoolkit/javatoolkit-0.6.5.ebuild
-
1dev-java/javatoolkit/metadata.xml
-
2dev-java/tomcat-servlet-api/Manifest
-
39dev-java/tomcat-servlet-api/tomcat-servlet-api-8.5.59.ebuild
-
39dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.38.ebuild
-
BINdev-lang/Manifest.gz
-
4dev-lang/lua/lua-5.1.5-r105.ebuild
-
4dev-lang/lua/lua-5.2.4-r2.ebuild
-
4dev-lang/lua/lua-5.3.6-r1.ebuild
-
4dev-lang/lua/lua-5.4.1-r1.ebuild
-
174dev-lang/php/files/php-7.2.34-use-after-free-bug76047.patch
-
1dev-lang/php/php-7.2.34-r1.ebuild
-
1dev-lang/python/Manifest
-
355dev-lang/python/python-3.8.7.ebuild
-
4dev-lang/spidermonkey/Manifest
-
303dev-lang/spidermonkey/spidermonkey-78.4.1.ebuild
-
303dev-lang/spidermonkey/spidermonkey-78.5.0.ebuild
-
4dev-lang/spidermonkey/spidermonkey-78.6.0.ebuild
-
BINdev-libs/Manifest.gz
-
359dev-libs/boost/boost-1.74.0-r2.ebuild
-
125dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch
-
1dev-libs/c-blosc/Manifest
-
47dev-libs/c-blosc/c-blosc-1.21.0.ebuild
-
2dev-libs/gmp/gmp-6.2.1.ebuild
-
2dev-libs/icu/icu-68.2.ebuild
-
2dev-libs/libcbor/libcbor-0.8.0.ebuild
-
2dev-libs/libfido2/libfido2-1.5.0-r1.ebuild
-
1dev-libs/libgpg-error/Manifest
-
58dev-libs/libgpg-error/libgpg-error-1.41.ebuild
-
2dev-libs/libpipeline/libpipeline-1.5.3.ebuild
-
32dev-libs/libtomcrypt/libtomcrypt-1.18.2-r1.ebuild
-
1dev-libs/nss/Manifest
-
359dev-libs/nss/nss-3.56.ebuild
-
5dev-libs/openssl/Manifest
-
19dev-libs/openssl/files/openssl-1.1.0k-fix-test_fuzz.patch
-
30dev-libs/openssl/files/openssl-1.1.0l-fix-no-ec2m-in-ec_curve.c.patch
-
306dev-libs/openssl/openssl-1.1.0l.ebuild
-
324dev-libs/openssl/openssl-1.1.1g.ebuild
-
324dev-libs/openssl/openssl-1.1.1h.ebuild
-
1dev-libs/pugixml/Manifest
-
20dev-libs/pugixml/pugixml-1.11.4.ebuild
-
BINdev-lua/Manifest.gz
-
51dev-lua/luv/luv-1.32.0.0-r102.ebuild
-
BINdev-python/Manifest.gz
-
2dev-python/PyICU/PyICU-2.6.ebuild
-
1dev-python/aiorpcX/Manifest
-
28dev-python/aiorpcX/aiorpcX-0.18.5.ebuild
@ -1 +1,2 @@ |
|||
DIST ansible-cmdb-1.28.tar.gz 177437 BLAKE2B d3faa6cccdaa0825318bc9df09ad28b15d1a70ac25281f283e65ed760698c06db582d6954f19efe6cdde8e7ab103a915e663659cc64d72851ed830c817a700b7 SHA512 d8f87b7e2c664aec20585c34a83271ea4ec397c70ff1114e2b3669ba17903ed8f57ddf774b74d3d267a423bb71bf6d9fd6e59aa497f4b17449104db6ac71b38a |
|||
DIST ansible-cmdb-1.30.tar.gz 179165 BLAKE2B 377b182ffd0f7cf6630011f7df82fe1155c0f00a482e91e0d8206eee5aab167eb96dc936b2fbd02c6c80e725b9767f25a02422d538ee7ecf95ad1e9be51fe81a SHA512 e4561976588d6268c6849a4b1656c57d9a0f2db9256b2d2821f9c1a8c23fdb92b843b06bb94b44db565966c209b62da4bb11dfa41319a3b01ea4c7a53dde930f |
@ -0,0 +1,24 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{7,8} ) |
|||
|
|||
inherit distutils-r1 |
|||
|
|||
DESCRIPTION="Ansible Configuration Management Database" |
|||
HOMEPAGE="https://github.com/fboender/ansible-cmdb" |
|||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
|||
|
|||
LICENSE="MIT" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
|
|||
DEPEND=" |
|||
dev-python/setuptools[${PYTHON_USEDEP}]" |
|||
|
|||
RDEPEND=" |
|||
dev-python/mako[${PYTHON_USEDEP}] |
|||
dev-python/jsonxs[${PYTHON_USEDEP}] |
|||
dev-python/pyyaml[${PYTHON_USEDEP}]" |
@ -1,2 +1 @@ |
|||
DIST entr-4.5.tar.gz 24674 BLAKE2B ee9ce841c5b3adb2bddb5742c73311b6924e914b896297d56ca3397812e8d528a25276b2b6882e2391f649106e4bf1ebc81bc1cec837b8ce1056e2575eae20da SHA512 db9499d78385df5056a30a4e3262fb436090acc5410ddfc529a7cfe4e10e304e13787abfc31dd38dbf8b9f01fa3369ef32d20c9fb903fa35763f41791bdda9c7 |
|||
DIST entr-4.6.tar.gz 24909 BLAKE2B e6c1eb5da1a3b94d593297f9975c36ea98d88c5b6ac17c34934c8d4678fb1c247699b8ff3d481a3972a67fd0abba75687b11489258be98990713e2041a12c2d0 SHA512 41e8c2311c7833a778193b13d1e0b1bb18ece54f5e20b8b5b0b4a2308ba1cc1a8b8378700dbac83ee68822b5f847a3fa9c47822d22a22d45da792d2408f48378 |
@ -1,31 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit toolchain-funcs |
|||
|
|||
DESCRIPTION="Run arbitrary commands when files change" |
|||
HOMEPAGE="http://entrproject.org" |
|||
SRC_URI="http://entrproject.org/code/${P}.tar.gz" |
|||
|
|||
LICENSE="ISC" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 ppc ppc64 x86" |
|||
IUSE="test" |
|||
RESTRICT="!test? ( test )" |
|||
|
|||
src_configure() { |
|||
sh configure || die |
|||
sed -i -e 's#\(^PREFIX \).*#\1\?= /usr#' Makefile.bsd || die |
|||
} |
|||
|
|||
src_compile() { |
|||
export CC=$(tc-getCC) |
|||
default |
|||
} |
|||
|
|||
src_test() { |
|||
export CC=$(tc-getCC) |
|||
default |
|||
} |
@ -1 +1 @@ |
|||
DIST exo-1.22.0.tar.gz 4684873 BLAKE2B a143517a99fde17c237c25dcdd4b54570d6ce9760157d24c8f09c26851b5fb65c6ac56506179a008f32cc657cf40fb781eb304375e3f3422a5166e6b1c194164 SHA512 f68d1524c8a1dc44aca4ab1999ebbc93a980a58344c1b39c68eb54b4651d9471b310541c2d34a43e67ad956ed93e2d3ce89c3ebeb450b620c641907684572799 |
|||
DIST exo-1.22.2.tar.gz 4684092 BLAKE2B ee5ddab06438cbc7d177796917c97649fefa35630a0d8012da53042098b639f5bd580a676e30567981f55e7fc9a512069804b7c45fddb739ca54c4702cc09955 SHA512 325f9a902de424d197583bf921528bc08fc8336030f7d3d5fe4571ab26ffbdf42bf602331302124c3be1103bf3b645f05e6729752295d5ceaa3cf88f802cde99 |
@ -0,0 +1,44 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
DESCRIPTION="a highly configurable program for managing and archiving log files" |
|||
HOMEPAGE="http://www.weird.com/~woods/projects/newsyslog.html" |
|||
SRC_URI="http://download.openpkg.org/components/cache/${PN}/${P}.tar.gz" |
|||
|
|||
LICENSE="MIT" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
|||
|
|||
DEPEND=" |
|||
sys-apps/groff" |
|||
|
|||
RDEPEND=" |
|||
virtual/cron |
|||
app-arch/gzip" |
|||
|
|||
PATCHES=( "${FILESDIR}/${P}-html.patch" ) |
|||
|
|||
DOCS=( newsyslog.conf AUTHORS ChangeLog INSTALL NEWS ToDo ) |
|||
|
|||
src_configure() { |
|||
local myconf="--with-syslogd_pid=/var/run/syslog.pid" |
|||
|
|||
if has_version 'app-admin/syslog-ng'; then |
|||
myconf="--with-syslogd_pid=/var/run/syslog-ng.pid" |
|||
fi |
|||
|
|||
econf \ |
|||
--with-gzip \ |
|||
--with-newsyslog_conf=/etc/newsyslog.conf \ |
|||
${myconf} |
|||
} |
|||
|
|||
src_install() { |
|||
emake \ |
|||
DESTDIR="${D}" \ |
|||
catmandir="${T}"/dont-install \ |
|||
install |
|||
einstalldocs |
|||
} |
@ -0,0 +1,34 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{7..9} ) |
|||
|
|||
inherit python-r1 |
|||
|
|||
DESCRIPTION="Enhanced df with colors" |
|||
HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/" |
|||
SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.tar.gz" |
|||
|
|||
LICENSE="public-domain" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
|||
|
|||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
|||
|
|||
DEPEND="${PYTHON_DEPS}" |
|||
RDEPEND="${DEPEND}" |
|||
|
|||
src_prepare() { |
|||
default |
|||
sed -i -e "s#/etc/pydfrc#${EPREFIX}/etc/pydfrc#" "${PN}" || die |
|||
} |
|||
|
|||
src_install() { |
|||
python_foreach_impl python_doscript "${PN}" |
|||
insinto /etc |
|||
doins "${PN}rc" |
|||
doman "${PN}.1" |
|||
einstalldocs |
|||
} |
@ -1,183 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
PYTHON_COMPAT=( python3_{7..8} ) |
|||
DISTUTILS_USE_SETUPTOOLS=rdepend |
|||
inherit systemd distutils-r1 |
|||
|
|||
DESCRIPTION="Salt is a remote execution and configuration manager" |
|||
HOMEPAGE="https://www.saltstack.com/resources/community/ |
|||
https://github.com/saltstack" |
|||
|
|||
if [[ ${PV} == 9999* ]]; then |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git" |
|||
EGIT_BRANCH="develop" |
|||
SRC_URI="" |
|||
else |
|||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
|||
KEYWORDS="~amd64 ~x86" |
|||
fi |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako |
|||
mongodb neutron nova openssl portage profile redis selinux test raet |
|||
+zeromq vim-syntax" |
|||
|
|||
RDEPEND=" |
|||
sys-apps/pciutils |
|||
>=dev-python/distro-1.5[${PYTHON_USEDEP}] |
|||
dev-python/jinja[${PYTHON_USEDEP}] |
|||
dev-python/libnacl[${PYTHON_USEDEP}] |
|||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}] |
|||
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}] |
|||
dev-python/pycryptodomex[${PYTHON_USEDEP}] |
|||
dev-python/pyyaml[${PYTHON_USEDEP}] |
|||
dev-python/markupsafe[${PYTHON_USEDEP}] |
|||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}] |
|||
dev-python/setuptools[${PYTHON_USEDEP}] |
|||
dev-python/toml[${PYTHON_USEDEP}] |
|||
dev-python/watchdog[${PYTHON_USEDEP}] |
|||
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] ) |
|||
mako? ( dev-python/mako[${PYTHON_USEDEP}] ) |
|||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] ) |
|||
libvirt? ( |
|||
$(python_gen_cond_dep 'dev-python/libvirt-python[${PYTHON_USEDEP}]' python3_7) |
|||
) |
|||
openssl? ( |
|||
dev-libs/openssl:0=[-bindist] |
|||
dev-python/pyopenssl[${PYTHON_USEDEP}] |
|||
) |
|||
raet? ( |
|||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}] |
|||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}] |
|||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}] |
|||
) |
|||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] ) |
|||
cheetah? ( dev-python/cheetah3[${PYTHON_USEDEP}] ) |
|||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] ) |
|||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] ) |
|||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] ) |
|||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] ) |
|||
selinux? ( sec-policy/selinux-salt ) |
|||
nova? ( |
|||
$(python_gen_cond_dep '>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]' python3_7) |
|||
) |
|||
neutron? ( |
|||
$(python_gen_cond_dep '>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]' python3_7) |
|||
) |
|||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] ) |
|||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] ) |
|||
vim-syntax? ( app-vim/salt-vim ) |
|||
zeromq? ( >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}] ) |
|||
" |
|||
BDEPEND=" |
|||
test? ( |
|||
${RDEPEND} |
|||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}] |
|||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] |
|||
>=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] |
|||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
|||
>=dev-python/moto-0.3.6[${PYTHON_USEDEP}] |
|||
dev-python/pip[${PYTHON_USEDEP}] |
|||
dev-python/psutil[${PYTHON_USEDEP}] |
|||
dev-python/pytest[${PYTHON_USEDEP}] |
|||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}] |
|||
>=dev-python/pytest-salt-factories-0.93.0[${PYTHON_USEDEP}] |
|||
dev-python/pytest-tempdir[${PYTHON_USEDEP}] |
|||
>=dev-python/virtualenv-20.0.20[${PYTHON_USEDEP}] |
|||
!x86? ( >=dev-python/boto3-1.3.15[${PYTHON_USEDEP}] ) |
|||
)" |
|||
|
|||
DOCS=( README.rst AUTHORS ) |
|||
|
|||
REQUIRED_USE="|| ( raet zeromq ) |
|||
test? ( cheetah genshi )" |
|||
RESTRICT="!test? ( test ) x86? ( test )" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch" |
|||
"${FILESDIR}/salt-3002-dont-realpath-on-tmpdir.patch" |
|||
"${FILESDIR}/salt-3002-tests.patch" |
|||
) |
|||
|
|||
python_prepare_all() { |
|||
# remove tests with external dependencies that may not be available |
|||
rm tests/unit/{test_zypp_plugins.py,utils/test_extend.py} || die |
|||
rm tests/unit/modules/test_{file,boto_{vpc,secgroup,elb}}.py || die |
|||
rm tests/unit/states/test_boto_vpc.py || die |
|||
rm tests/support/gitfs.py tests/unit/runners/test_git_pillar.py || die |
|||
|
|||
# tests that require network access |
|||
rm tests/unit/{states,modules}/test_zcbuildout.py || die |
|||
|
|||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed |
|||
find . -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d' -i || die |
|||
|
|||
distutils-r1_python_prepare_all |
|||
} |
|||
|
|||
python_prepare() { |
|||
einfo "Fixing collections.abc warnings for ${EPYTHON}" |
|||
local abc |
|||
abc="$("${EPYTHON}" -c 'import collections.abc; print("|".join((c for c in dir(collections.abc) if not c.startswith("_"))))')" || die |
|||
find -name '*.py' -type f -print0 | xargs -0 sed -r -e "s:collections\\.(${abc}):collections.abc.\\1:g" -i || die |
|||
} |
|||
|
|||
python_install_all() { |
|||
local svc |
|||
USE_SETUPTOOLS=1 distutils-r1_python_install_all |
|||
|
|||
for svc in minion master syndic api; do |
|||
newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc} |
|||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc} |
|||
systemd_dounit "${FILESDIR}"/salt-${svc}.service |
|||
done |
|||
|
|||
insinto /etc/${PN} |
|||
doins -r conf/* |
|||
} |
|||
|
|||
python_test() { |
|||
local tempdir |
|||
# testsuite likes lots of files |
|||
ulimit -n 3072 || die |
|||
|
|||
# ${T} is too long a path for the tests to work |
|||
tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)" |
|||
mkdir "${T}/$(basename "${tempdir}")" |
|||
|
|||
( |
|||
cleanup() { rm -f "${tempdir}" || die; } |
|||
|
|||
trap cleanup EXIT |
|||
|
|||
addwrite "${tempdir}" |
|||
ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}" || die |
|||
|
|||
USE_SETUPTOOLS=1 SHELL="/bin/bash" \ |
|||
TMPDIR="${tempdir}" \ |
|||
${EPYTHON} tests/runtests.py \ |
|||
--unit-tests --no-report --verbose \ |
|||
|| die "testing failed with ${EPYTHON}" |
|||
) |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
if use python_targets_python3_8; then |
|||
if use nova; then |
|||
ewarn "Salt's nova functionality will not work with python3.8 since" |
|||
ewarn "dev-python/python-novaclient does not support it yet" |
|||
fi |
|||
if use neutron; then |
|||
ewarn "Salt's neutron functionality will not work with python3.8 since" |
|||
ewarn "dev-python/python-neutronclient does not support it yet" |
|||
fi |
|||
if use libvirt; then |
|||
ewarn "Salt's libvirt functionality will not work with python3.8 since" |
|||
ewarn "dev-python/libvirt-python does not support it yet" |
|||
fi |
|||
fi |
|||
} |
@ -0,0 +1,14 @@ |
|||
https://bugs.gentoo.org/721914 |
|||
|
|||
--- a/Makefile.in
|
|||
+++ b/Makefile.in
|
|||
@@ -124,7 +124,7 @@ CONFIG_HEADER = config.h
|
|||
CONFIG_CLEAN_FILES = |
|||
CONFIG_CLEAN_VPATH_FILES = |
|||
LIBRARIES = $(noinst_LIBRARIES) |
|||
-AR = ar
|
|||
+AR := ar
|
|||
ARFLAGS = cru |
|||
AM_V_AR = $(am__v_AR_@AM_V@) |
|||
am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) |
|||
|
@ -1,4 +1,4 @@ |
|||
DIST gnupg-2.2.16-scdaemon_shared-access.patch 2586 BLAKE2B 42fd5482c4e86751ce62836125997c2295c44bc5db0671a06460fd306b2ed93f290fb898fc1b1e463a863eddf9ab5f99ea3c90a55499ef45ca1ed6edf2854663 SHA512 38abaa4200114ae6b6f220fabc0a84a056761949c97bd0564557f4411a299b9a1939893555c27e26da2d8e8da4bc97a298fa7e68f1e80fe99c3f88cc329eaa84 |
|||
DIST gnupg-2.2.20.tar.bz2 6786913 BLAKE2B 43cf9402a26e67d6c7c2444eb2faaee3f06ea0bf6c07708a50834c5d7424db2f9c38e1f0046dd3a35082abc08d401b2951655e7e068f0873db297560b87d2667 SHA512 3e69f102366ec3415f439ab81aae2458182fa1a18dfb86565b1d9dc638f3fc4c179a5947f0042b7c5a813345676285a662793664a1803ea9ad8328f0548e0edc |
|||
DIST gnupg-2.2.24.tar.bz2 7196489 BLAKE2B 0e6fd3df2a12910d43e290f86839f2ea56dddc2598e3687c356522727b082e3b266c00b7e5184aecac3103c9638e776463adc7b807b6b294180f227877861b1d SHA512 b72fb12da95c1c62f013e1ffdbf2983b4185f0de59edba6061209904e5f63525e23a406529fafcd1b0b50ccbad45980c1db293601e8db84d5cbf65a7228834fb |
|||
DIST gnupg-2.2.25.tar.bz2 7195857 BLAKE2B c930edf9259a0e1c508af8d76a86f979860adfe2c525020b37d3741679200f96483f0ad8bc1f72e2dbf7fe77696cd04d4272a2ee23e4c4abe1ed6ba88b95f365 SHA512 ab1d7cc9d8be3e7189bc4bea431b9d5db313cbd1739823950f32fbb611b2f4374889f444efbf43ce1fbf498b9865d7e6e953cd4c86d58fd688f63923c434ea2c |
|||
DIST gnupg-2.2.26.tar.bz2 7189254 BLAKE2B f51dd18f6fe327573769d1581ab49bfbca6a56973f6115a68d11e79f52f4b9bdd717ff027800cd1d52fca56abcffa80ee025b49a6af3914f60decdad1e1585ba SHA512 5e9482e126c32c836064b125a18b109f0d3c96892474d3fb47dd791350cccefc56f9a5dfbd54504716487a93d9f71de2493bdfef92e29964b5bfe28b0053c265 |
@ -1,11 +0,0 @@ |
|||
--- a/cmake/FindLibLUV.cmake
|
|||
+++ b/cmake/FindLibLUV.cmake
|
|||
@@ -6,7 +6,7 @@
|
|||
|
|||
find_package(PkgConfig) |
|||
if (PKG_CONFIG_FOUND) |
|||
- pkg_check_modules(PC_LIBLUV QUIET luv)
|
|||
+ pkg_check_modules(PC_LIBLUV QUIET "libluv-${LUA_PRG}")
|
|||
endif() |
|||
|
|||
set(LIBLUV_DEFINITIONS ${PC_LIBLUV_CFLAGS_OTHER}) |
@ -1 +1,2 @@ |
|||
DIST kmymoney-5.1.0.tar.xz 12005824 BLAKE2B 4eaeefba29d4df85c485d8d94db80b418c0086f6cac81295f1251e3d4883a78c71d0401286a918831ee2a39571a70583675ee303775bffdb3333e11d5624bbf6 SHA512 143161efd708ae05923d68510945c24f08d85cd6482b3e6015c6061bc28c80e095ca56b768e595bfae50ea3340855e021dde5c715546c0641f94adcd91639334 |
|||
DIST kmymoney-5.1.1.tar.xz 12059768 BLAKE2B 8b41bce8804d757ba9c801c7b1eeb214a8983c4686a9663a4b5255460139593b7f70e29f08294df810a02eab4190dc6de852be091760981fd84ff8191fda82a3 SHA512 2ed3e47b2e65c9d9e5a11b55f0d425192331b21d64f8a4a4f8921fdd67eac219bf3ae1418026071218d823acc9a36905dc5c499cb0ae2af4ced0e32d1720bf59 |
@ -0,0 +1,133 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
EGIT_BRANCH="5.1" |
|||
ECM_HANDBOOK="optional" |
|||
ECM_TEST="forceoptional" |
|||
KFMIN=5.74.0 |
|||
QTMIN=5.15.1 |
|||
VIRTUALX_REQUIRED="test" |
|||
VIRTUALDBUS_TEST="true" |
|||
inherit ecm kde.org optfeature |
|||
|
|||
DESCRIPTION="Personal finance manager based on KDE Frameworks" |
|||
HOMEPAGE="https://kmymoney.org/" |
|||
|
|||
if [[ ${KDE_BUILD_TYPE} = release ]]; then |
|||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" |
|||
KEYWORDS="~amd64 ~x86" |
|||
fi |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="5" |
|||
IUSE="activities addressbook calendar hbci holidays" |
|||
[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental" |
|||
|
|||
BDEPEND="virtual/pkgconfig" |
|||
RDEPEND=" |
|||
>=app-crypt/gpgme-1.7.1-r1[cxx] |
|||
>=app-office/libalkimia-7.0.0:= |
|||
dev-db/sqlcipher |
|||
dev-libs/gmp:0=[cxx] |
|||
dev-libs/kdiagram:5 |
|||
dev-libs/libgpg-error |
|||
dev-libs/libofx:= |
|||
>=dev-qt/qtdbus-${QTMIN}:5 |
|||
>=dev-qt/qtgui-${QTMIN}:5 |
|||
>=dev-qt/qtnetwork-${QTMIN}:5 |
|||
>=dev-qt/qtprintsupport-${QTMIN}:5 |
|||
>=dev-qt/qtsql-${QTMIN}:5 |
|||
>=dev-qt/qtsvg-${QTMIN}:5 |
|||
>=dev-qt/qtwebengine-${QTMIN}:5[widgets] |
|||
>=dev-qt/qtwidgets-${QTMIN}:5 |
|||
>=dev-qt/qtxml-${QTMIN}:5 |
|||
>=kde-frameworks/karchive-${KFMIN}:5 |
|||
>=kde-frameworks/kcmutils-${KFMIN}:5 |
|||
>=kde-frameworks/kcodecs-${KFMIN}:5 |
|||
>=kde-frameworks/kcompletion-${KFMIN}:5 |
|||
>=kde-frameworks/kconfig-${KFMIN}:5 |
|||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
|||
>=kde-frameworks/kcoreaddons-${KFMIN}:5 |
|||
>=kde-frameworks/ki18n-${KFMIN}:5 |
|||
>=kde-frameworks/kiconthemes-${KFMIN}:5 |
|||
>=kde-frameworks/kio-${KFMIN}:5 |
|||
>=kde-frameworks/kitemmodels-${KFMIN}:5 |
|||
>=kde-frameworks/kitemviews-${KFMIN}:5 |
|||
>=kde-frameworks/kjobwidgets-${KFMIN}:5 |
|||
>=kde-frameworks/knotifications-${KFMIN}:5 |
|||
>=kde-frameworks/kservice-${KFMIN}:5 |
|||
>=kde-frameworks/ktextwidgets-${KFMIN}:5 |
|||
>=kde-frameworks/kwallet-${KFMIN}:5 |
|||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
|||
>=kde-frameworks/kxmlgui-${KFMIN}:5 |
|||
>=kde-frameworks/sonnet-${KFMIN}:5 |
|||
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 ) |
|||
addressbook? ( |
|||
kde-apps/akonadi:5 |
|||
kde-apps/kidentitymanagement:5 |
|||
>=kde-frameworks/kcontacts-${KFMIN}:5 |
|||
) |
|||
calendar? ( dev-libs/libical:= ) |
|||
hbci? ( |
|||
>=net-libs/aqbanking-6.0.1 |
|||
>=sys-libs/gwenhywfar-5.1.2:=[qt5] |
|||
) |
|||
holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 ) |
|||
" |
|||
DEPEND="${RDEPEND} |
|||
dev-libs/boost |
|||
" |
|||
|
|||
pkg_setup() { |
|||
ecm_pkg_setup |
|||
|
|||
if [[ ${KDE_BUILD_TYPE} = live ]] && use experimental; then |
|||
ewarn "USE experimental set: Building unfinished features." |
|||
ewarn "This *will* chew up your data. You have been warned." |
|||
fi |
|||
} |
|||
|
|||
src_configure() { |
|||
local mycmakeargs=( |
|||
-DENABLE_OFXIMPORTER=ON |
|||
-DENABLE_WEBENGINE=ON |
|||
-DENABLE_WEBOOB=OFF |
|||
-DUSE_QT_DESIGNER=OFF |
|||
$(cmake_use_find_package activities KF5Activities) |
|||
$(cmake_use_find_package addressbook KF5Akonadi) |
|||
$(cmake_use_find_package addressbook KF5Contacts) |
|||
$(cmake_use_find_package addressbook KF5IdentityManagement) |
|||
-DENABLE_LIBICAL=$(usex calendar) |
|||
-DENABLE_KBANKING=$(usex hbci) |
|||
$(cmake_use_find_package holidays KF5Holidays) |
|||
) |
|||
[[ ${KDE_BUILD_TYPE} = live ]] && |
|||
mycmakeargs+=( -DENABLE_UNFINISHEDFEATURES=$(usex experimental) ) |
|||
|
|||
ecm_src_configure |
|||
} |
|||
|
|||
src_test() { |
|||
# bug 652636; bug 673052: needs kmymoney installed to succeed |
|||
local myctestargs=( |
|||
-E "(reports-chart-test|qsqlcipher-test)" |
|||
) |
|||
|
|||
ecm_src_test |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
if [[ -z "${REPLACING_VERSIONS}" ]]; then |
|||
elog "Optional dependencies:" |
|||
optfeature "More options for online stock quote retrieval" dev-perl/Finance-Quote |
|||
fi |
|||
if has_version "app-office/kmymoney[quotes]"; then |
|||
elog "Please note: IUSE=quotes flag is gone in ${PN}-5.1.1. ${PN} still" |
|||
elog "does online stock quote retrieval without it, but dev-perl/Finance-Quote" |
|||
elog "may provide additional sources. To keep the functionality, run:" |
|||
elog " emerge --noreplace dev-perl/Finance-Quote" |
|||
fi |
|||
ecm_pkg_postinst |
|||
} |
@ -1,2 +1 @@ |
|||
DIST scribus-1.5.5_p20200626.tar.gz 87557791 BLAKE2B 183b035901f5a19ffbf5890acc6037eb5483a0b5837b244b39838ca03d13bd4afc76c3c41345123aec402c602177c5fff7183deba10f8e33e980659c4ef7881e SHA512 ff6cf0d86c874b7f03c8be9675f92c6cc7797e3a344326824e4f01f0b02ec02d6fdf5b52924e51b3436d9a6d78eda47a5e9987507721d18985768cc5a3c77245 |
|||
DIST scribus-1.5.6.1.tar.gz 87557791 BLAKE2B 183b035901f5a19ffbf5890acc6037eb5483a0b5837b244b39838ca03d13bd4afc76c3c41345123aec402c602177c5fff7183deba10f8e33e980659c4ef7881e SHA512 ff6cf0d86c874b7f03c8be9675f92c6cc7797e3a344326824e4f01f0b02ec02d6fdf5b52924e51b3436d9a6d78eda47a5e9987507721d18985768cc5a3c77245 |
@ -1,159 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
PYTHON_COMPAT=( python3_{6,7,8,9} ) |
|||
PYTHON_REQ_USE="tk?" |
|||
COMMIT=aa84120d97003a03d883db33ea9a6ad28550e59a |
|||
inherit cmake desktop flag-o-matic python-single-r1 xdg |
|||
|
|||
DESCRIPTION="Desktop publishing (DTP) and layout program" |
|||
HOMEPAGE="https://www.scribus.net/" |
|||
SRC_URI="https://github.com/${PN}project/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 ppc ppc64 x86" |
|||
IUSE="+boost debug examples graphicsmagick hunspell +minimal osg +pdf scripts +templates tk" |
|||
|
|||
REQUIRED_USE="${PYTHON_REQUIRED_USE} |
|||
tk? ( scripts )" |
|||
|
|||
# osg |
|||
# couple of third_party libs bundled |
|||
BDEPEND=" |
|||
dev-qt/linguist-tools:5 |
|||
virtual/pkgconfig |
|||
" |
|||
DEPEND="${PYTHON_DEPS} |
|||
app-text/libmspub |
|||
app-text/libqxp |
|||
app-text/poppler:= |
|||
dev-libs/hyphen |
|||
>=dev-libs/icu-58.2:0= |
|||
dev-libs/librevenge |
|||
dev-libs/libxml2 |
|||
dev-qt/qtcore:5 |
|||
dev-qt/qtgui:5[-gles2-only] |
|||
dev-qt/qtnetwork:5 |
|||
dev-qt/qtopengl:5 |
|||
dev-qt/qtprintsupport:5 |
|||
dev-qt/qtwidgets:5 |
|||
dev-qt/qtxml:5 |
|||
media-libs/fontconfig |
|||
media-libs/freetype:2 |
|||
>=media-libs/harfbuzz-0.9.42:0=[icu] |
|||
media-libs/lcms:2 |
|||
media-libs/libcdr |
|||
media-libs/libfreehand |
|||
media-libs/libpagemaker |
|||
media-libs/libpng:0= |
|||
media-libs/libvisio |
|||
media-libs/libzmf |
|||
media-libs/tiff:0 |
|||
net-print/cups |
|||
sys-libs/zlib[minizip] |
|||
virtual/jpeg:0= |
|||
>=x11-libs/cairo-1.10.0[X,svg] |
|||
boost? ( >=dev-libs/boost-1.67:= ) |
|||
graphicsmagick? ( media-gfx/graphicsmagick:= ) |
|||
hunspell? ( app-text/hunspell:= ) |
|||
osg? ( dev-games/openscenegraph:= ) |
|||
pdf? ( app-text/podofo:0= ) |
|||
scripts? ( |
|||
$(python_gen_cond_dep ' |
|||
dev-python/pillow[tk?,${PYTHON_MULTI_USEDEP}] |
|||
') |
|||
) |
|||
" |
|||
RDEPEND="${DEPEND} |
|||
app-text/ghostscript-gpl |
|||
" |
|||
|
|||
PATCHES=( |
|||
# non(?)-upstreamable |
|||
"${FILESDIR}"/${PN}-1.5.3-fpic.patch |
|||
"${FILESDIR}"/${PN}-1.5.6-docdir.patch |
|||
"${FILESDIR}"/${PN}-1.5.5-findhyphen-1.patch |
|||
"${FILESDIR}"/${PN}-1.5.6-findhyphen.patch |
|||
) |
|||
|
|||
CMAKE_BUILD_TYPE="Release" |
|||
|
|||
S="${WORKDIR}"/${PN}-${COMMIT} |
|||
|
|||
src_prepare() { |
|||
cmake_src_prepare |
|||
|
|||
rm -r codegen/cheetah scribus/third_party/hyphen || die |
|||
|
|||
sed \ |
|||
-e "/^\s*unzip\.[ch]/d" \ |
|||
-e "/^\s*ioapi\.[ch]/d" \ |
|||
-i scribus/CMakeLists.txt Scribus.pro || die |
|||
rm scribus/ioapi.[ch] || die |
|||
|
|||
sed \ |
|||
-e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \ |
|||
-i resources/templates/CMakeLists.txt || die |
|||
|
|||
sed \ |
|||
-e "/^add_subdirectory(ui\/qml)/s/^/#DONT/" \ |
|||
-i scribus/CMakeLists.txt || die # nothing but a bogus Hello World test |
|||
} |
|||
|
|||
src_configure() { |
|||
# bug #550818 |
|||
append-cppflags -DHAVE_MEMRCHR |
|||
|
|||
local mycmakeargs=( |
|||
-DHAVE_PYTHON=ON |
|||
-DWANT_DISTROBUILD=ON |
|||
-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/ |
|||
-DPython3_EXECUTABLE="${PYTHON}" |
|||
-DWITH_BOOST=$(usex boost) |
|||
-DWANT_DEBUG=$(usex debug) |
|||
-DWANT_NOEXAMPLES=$(usex !examples) |
|||
-DWANT_GRAPHICSMAGICK=$(usex graphicsmagick) |
|||
-DWANT_HUNSPELL=$(usex hunspell) |
|||
-DWANT_HEADERINSTALL=$(usex !minimal) |
|||
-DWANT_NOOSG=$(usex !osg) |
|||
-DWITH_PODOFO=$(usex pdf) |
|||
-DWANT_NOTEMPLATES=$(usex !templates) |
|||
) |
|||
cmake_src_configure |
|||
} |
|||
|
|||
src_install() { |
|||
cmake_src_install |
|||
|
|||
if ! use tk; then |
|||
rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die |
|||
fi |
|||
if use scripts; then |
|||
python_fix_shebang "${ED}"/usr/share/scribus/scripts |
|||
python_optimize "${ED}"/usr/share/scribus/scripts |
|||
else |
|||
rm "${ED}"/usr/share/scribus/scripts/*.py || die |
|||
fi |
|||
|
|||
mv "${ED}"/usr/share/doc/${PF}/{en,html} || die |
|||
ln -sf html "${ED}"/usr/share/doc/${PF}/en || die |
|||
|
|||
# These files are parsed to populate the help/about window. |
|||
cat >> "${T}"/COPYING <<- EOF || die |
|||
${PN} is licensed under the "${LICENSE}". |
|||
Please visit https://www.gnu.org/licenses/gpl-2.0.html for the complete license text. |
|||
EOF |
|||
dodoc "${T}"/COPYING |
|||
docompress -x /usr/share/doc/${PF}/en /usr/share/doc/${PF}/{AUTHORS,TRANSLATION,LINKS,COPYING} |
|||
|
|||
local size |
|||
for size in 16 32 128 256 512; do |
|||
newicon -s $size resources/iconsets/artwork/icon_${size}x${size}.png scribus.png |
|||
done |
|||
newicon -s 64 resources/iconsets/artwork/icon_32x32@2x.png scribus.png |
|||
doicon resources/iconsets/*/scribus.png |
|||
domenu scribus.desktop |
|||
} |
@ -1 +1,2 @@ |
|||
DIST LanguageTool-5.0.oxt 141552168 BLAKE2B 040cb817150dd1cf137feadf28ca00ce6316a529709c1255438d0fa2faac3b5a516d9a48e3e3ba6bf2fedc3650050970eae6179578c5fcf005c6484c30cf408e SHA512 8493100684598aaa7c422360e0f00b5cff0c1be22aca4bee6c7e0e12d509916bc3c7f8df052b86702f6177ffffc227d1a5dbe6b2592fa1cbdb79f4666dc22c16 |
|||
DIST LanguageTool-5.1.3.oxt 142774437 BLAKE2B 45d6ffc3aa6a3d9891d0e3e5fc6462f4d8ec76736a47cbb3b235721fcc708d0f0b17d3f069fdcb85843c9b96dca6a70176c3dcba6832f9855c8d5eeb4a257dd1 SHA512 7a36e3b028b757c073d879ddd837ca12dc288178430bbf445080c892efe9f28d13565efd546e34244bcd8798ee0ef65433d08c8e3ee993b96efa4e5bbc103882 |
@ -0,0 +1,23 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
MY_P="LanguageTool-${PV}" |
|||
|
|||
OFFICE_REQ_USE="java" |
|||
OFFICE_EXTENSIONS=( |
|||
"${MY_P}.oxt" |
|||
) |
|||
|
|||
inherit office-ext-r1 |
|||
|
|||
DESCRIPTION="Style and Grammar Checker for libreoffice" |
|||
HOMEPAGE="https://www.languagetool.org/" |
|||
SRC_URI="https://www.languagetool.org/download/${MY_P}.oxt" |
|||
|
|||
LICENSE="LGPL-2.1+" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
|
|||
RDEPEND=">=virtual/jre-1.8" |
@ -0,0 +1,101 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
LUA_COMPAT=( lua5-{1..3} ) |
|||
|
|||
inherit lua-single qmake-utils toolchain-funcs |
|||
|
|||
DESCRIPTION="Converts source code to formatted text (HTML, LaTeX, etc.) with syntax highlight" |
|||
HOMEPAGE="http://www.andre-simon.de/" |
|||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|||
IUSE="examples qt5" |
|||
|
|||
REQUIRED_USE="${LUA_REQUIRED_USE}" |
|||
|
|||
RDEPEND=" |
|||
${LUA_DEPS} |
|||
qt5? ( |
|||
dev-qt/qtcore:5 |
|||
dev-qt/qtgui:5 |
|||
dev-qt/qtwidgets:5 |
|||
) |
|||
" |
|||
DEPEND="${RDEPEND} |
|||
dev-libs/boost |
|||
" |
|||
BDEPEND=" |
|||
virtual/pkgconfig |
|||
qt5? ( dev-qt/linguist-tools:5 ) |
|||
" |
|||
|
|||
myhlopts=( |
|||
"CXX=$(tc-getCXX)" |
|||
"AR=$(tc-getAR)" |
|||
"LDFLAGS=${LDFLAGS}" |
|||
"CFLAGS=${CXXFLAGS} -DNDEBUG -std=c++11" |
|||
"DESTDIR=${D}" |
|||
"PREFIX=${EPREFIX}/usr" |
|||
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/" |
|||
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/" |
|||
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/" |
|||
"conf_dir=${EPREFIX}/etc/highlight/" |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# disable man page compression |
|||
sed -e "/GZIP/d" -i makefile || die |
|||
|
|||
sed -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \ |
|||
-i src/core/datadir.cpp || die |
|||
|
|||
sed -r -i \ |
|||
-e "/^LUA_.*pkg-config/s,\<lua\>,${ELUA},g" \ |
|||
"${S}"/extras/tcl/makefile \ |
|||
"${S}"/extras/swig/makefile \ |
|||
"${S}"/makefile \ |
|||
"${S}"/src/makefile \ |
|||
|| die "Failed to set Lua implementation" |
|||
|
|||
# We set it via eqmake5, otherwise it forces clang... |
|||
sed -e "s/QMAKE_CC/#QMAKE_CC/g" \ |
|||
-e "s/QMAKE_CXX /#QMAKE_CXX /g" \ |
|||
-i src/gui-qt/highlight.pro || die |
|||
} |
|||
|
|||
src_configure() { |
|||
if use qt5 ; then |
|||
pushd src/gui-qt > /dev/null || die |
|||
eqmake5 \ |
|||
'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"' |
|||
popd > /dev/null || die |
|||
fi |
|||
} |
|||
|
|||
src_compile() { |
|||
emake -f makefile LUA_PKG_NAME="${ELUA}" "${myhlopts[@]}" |
|||
if use qt5 ; then |
|||
pushd src/gui-qt > /dev/null || die |
|||
emake |
|||
popd > /dev/null || die |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
emake -f makefile "${myhlopts[@]}" install |
|||
if use qt5; then |
|||
emake -f makefile "${myhlopts[@]}" install-gui |
|||
docompress -x /usr/share/doc/${PF}/{ChangeLog,COPYING,README,README_PLUGINS} |
|||
fi |
|||
|
|||
if ! use examples ; then |
|||
rm -r "${ED}"/usr/share/doc/${PF}/extras || die |
|||
fi |
|||
} |
@ -0,0 +1,26 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
DESCRIPTION="A simple thesaurus for Libreoffice" |
|||
HOMEPAGE="http://hunspell.sourceforge.net/" |
|||
SRC_URI="mirror://sourceforge/hunspell/MyThes/${PV}/${P}.tar.gz" |
|||
|
|||
LICENSE="MIT" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
|||
IUSE="" |
|||
|
|||
RDEPEND="app-text/hunspell" |
|||
DEPEND="${DEPEND} |
|||
virtual/pkgconfig" |
|||
|
|||
src_configure() { |
|||
econf --disable-static |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
find "${ED}" -name '*.la' -exec rm -f {} + |
|||
} |
@ -0,0 +1,15 @@ |
|||
Switch from the non-standard upstream CMake Lua module to the one bundled |
|||
with CMake, use only the Lua version requested by the ebuild, and do not |
|||
semi-quietly ignore the absence of Lua. |
|||
|
|||
--- a/CMakeLists.txt
|
|||
+++ b/CMakeLists.txt
|
|||
@@ -433,7 +433,7 @@
|
|||
ENDIF(WANT_FONTCONFIG) |
|||
|
|||
IF(NOT PODOFO_BUILD_LIB_ONLY) |
|||
-FIND_PACKAGE(LUA)
|
|||
+FIND_PACKAGE(Lua ${LUA_VERSION} EXACT REQUIRED)
|
|||
IF(LUA_FOUND) |
|||
# If we have lua, we can build podofoimpose. |
|||
MESSAGE("Lua found - PoDoFoImpose and PoDoFoColor will be built with Lua support") |
@ -0,0 +1,159 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
LUA_COMPAT=( lua5-{1..4} ) |
|||
|
|||
inherit cmake flag-o-matic lua-single toolchain-funcs |
|||
|
|||
DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format" |
|||
HOMEPAGE="https://sourceforge.net/projects/podofo/" |
|||
SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz" |
|||
|
|||
LICENSE="GPL-2 LGPL-2.1" |
|||
SLOT="0/${PV%_*}" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
|||
IUSE="+boost idn libressl debug test +tools" |
|||
RESTRICT="!test? ( test )" |
|||
REQUIRED_USE="${LUA_REQUIRED_USE} |
|||
test? ( tools )" |
|||
|
|||
RDEPEND="${LUA_DEPS} |
|||
idn? ( net-dns/libidn:= ) |
|||
!libressl? ( dev-libs/openssl:0= ) |
|||
libressl? ( dev-libs/libressl:0= ) |
|||
media-libs/fontconfig:= |
|||
media-libs/freetype:2= |
|||
virtual/jpeg:0= |
|||
media-libs/libpng:0= |
|||
media-libs/tiff:0= |
|||
sys-libs/zlib:=" |
|||
DEPEND="${RDEPEND} |
|||
virtual/pkgconfig |
|||
boost? ( dev-util/boost-build ) |
|||
test? ( dev-util/cppunit )" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}"/${PN}-0.9.6_p20190928-cmake_lua_version.patch |
|||
) |
|||
|
|||
DOCS="AUTHORS ChangeLog TODO" |
|||
|
|||
src_prepare() { |
|||
cmake_src_prepare |
|||
local x sed_args |
|||
|
|||
if use libressl; then |
|||
sed -e 's:^#ifdef PODOFO_HAVE_OPENSSL_1_1$:#ifndef PODOFO_HAVE_OPENSSL_1_1:' \ |
|||
-i tools/podofosign/podofosign.cpp || die #663602 |
|||
fi |
|||
|
|||
# bug 620934 - Disable linking with cppunit when possible, since it |
|||
# triggers errors with some older compilers. |
|||
use test || sed -e 's:^FIND_PACKAGE(CppUnit):#\0:' -i CMakeLists.txt || die |
|||
|
|||
# bug 556962 |
|||
sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, (pdf_long\&)m_lLen );|' \ |
|||
test/unit/EncryptTest.cpp || die |
|||
|
|||
sed -i \ |
|||
-e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \ |
|||
-e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \ |
|||
CMakeLists.txt || die |
|||
|
|||
# Use pkg-config to find headers for bug #459404. |
|||
sed_args= |
|||
for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do |
|||
[[ ${x} == -I* ]] || continue |
|||
x=${x#-I} |
|||
if [[ -f ${x}/ft2build.h ]] ; then |
|||
sed_args+=" -e s:/usr/include/\\r\$:${x}:" |
|||
elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then |
|||
sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:" |
|||
fi |
|||
done |
|||
[[ -n ${sed_args} ]] && \ |
|||
{ sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; } |
|||
|
|||
# Bug #439784: Add missing unistd include for close() and unlink(). |
|||
sed -i 's:^#include <stdio.h>$:#include <unistd.h>\n\0:' -i \ |
|||
test/unit/TestUtils.cpp || die |
|||
|
|||
# TODO: fix these test cases |
|||
# ColorTest.cpp:62:Assertion |
|||
# Test name: ColorTest::testDefaultConstructor |
|||
# expected exception not thrown |
|||
# - Expected: PdfError |
|||
sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \ |
|||
-e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \ |
|||
-i test/unit/ColorTest.h || die |
|||
|
|||
# ColorTest.cpp:42:Assertion |
|||
# Test name: ColorTest::testHexNames |
|||
# assertion failed |
|||
# - Expression: static_cast<int>(rgb.GetGreen() * 255.0) == 0x0A |
|||
sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \ |
|||
-i test/unit/ColorTest.h || die |
|||
|
|||
# Bug #352125: test failure, depending on installed fonts |
|||
# ##Failure Location unknown## : Error |
|||
# Test name: FontTest::testFonts |
|||
# uncaught exception of type PoDoFo::PdfError |
|||
# - ePdfError_UnsupportedFontFormat |
|||
sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \ |
|||
-i test/unit/FontTest.h || die |
|||
|
|||
# Test name: EncodingTest::testDifferencesEncoding |
|||
# equality assertion failed |
|||
# - Expected: 1 |
|||
# - Actual : 0 |
|||
sed -e 's:CPPUNIT_TEST( testDifferencesEncoding ://\0:' \ |
|||
-i test/unit/EncodingTest.h || die |
|||
|
|||
# Bug #407015: fix to compile with Lua 5.2+ |
|||
case "${ELUA}" in |
|||
lua5-1|luajit) |
|||
;; |
|||
*) |
|||
sed -e 's: lua_open(: luaL_newstate(:' \ |
|||
-e 's: luaL_getn(: lua_rawlen(:' -i \ |
|||
tools/podofocolor/luaconverter.cpp \ |
|||
tools/podofoimpose/planreader_lua.cpp || die |
|||
;; |
|||
esac |
|||
} |
|||
|
|||
src_configure() { |
|||
|
|||
# Bug #381359: undefined reference to `PoDoFo::PdfVariant::DelayedLoadImpl()' |
|||
filter-flags -fvisibility-inlines-hidden |
|||
|
|||
mycmakeargs+=( |
|||
"-DPODOFO_BUILD_SHARED=1" |
|||
"-DPODOFO_HAVE_JPEG_LIB=1" |
|||
"-DPODOFO_HAVE_PNG_LIB=1" |
|||
"-DPODOFO_HAVE_TIFF_LIB=1" |
|||
"-DWANT_FONTCONFIG=1" |
|||
"-DUSE_STLPORT=0" |
|||
-DLUA_VERSION="$(lua_get_version)" |
|||
-DWANT_BOOST=$(usex boost ON OFF) |
|||
-DHAVE_LIBIDN=$(usex idn ON OFF) |
|||
-DPODOFO_HAVE_CPPUNIT=$(usex test ON OFF) |
|||
-DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON) |
|||
) |
|||
|
|||
cmake_src_configure |
|||
mkdir -p "${S}/test/TokenizerTest/objects" || die |
|||
} |
|||
|
|||
src_test() { |
|||
cd "${BUILD_DIR}"/test/unit || die |
|||
./podofo-test --selftest || die "self test failed" |
|||
} |
@ -1,39 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
JAVA_PKG_IUSE="source" |
|||
|
|||
inherit eutils java-pkg-2 java-ant-2 |
|||
|
|||
MY_A="apache-${P}-src" |
|||
MY_P="${MY_A/-servlet-api/}" |
|||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation" |
|||
HOMEPAGE="https://tomcat.apache.org/" |
|||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="3.1" |
|||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" |
|||
IUSE="" |
|||
|
|||
DEPEND=">=virtual/jdk-1.8" |
|||
RDEPEND=">=virtual/jre-1.8" |
|||
|
|||
S="${WORKDIR}/${MY_P}/" |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" |
|||
rm -fR */*/build.xml |
|||
einfo "Removing bundled jars and classes" |
|||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + |
|||
|
|||
java-pkg-2_src_prepare |
|||
} |
|||
|
|||
src_install() { |
|||
java-pkg_dojar "${S}"/output/build/lib/*.jar |
|||
use source && java-pkg_dosrc java/javax/servlet/ |
|||
} |
@ -1,39 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
JAVA_PKG_IUSE="source" |
|||
|
|||
inherit eutils java-pkg-2 java-ant-2 |
|||
|
|||
MY_A="apache-${PN}-${PV}-src" |
|||
MY_P="${MY_A/-servlet-api/}" |
|||
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation" |
|||
HOMEPAGE="https://tomcat.apache.org/" |
|||
SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="4.0" |
|||
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" |
|||
IUSE="" |
|||
|
|||
DEPEND=">=virtual/jdk-1.8" |
|||
RDEPEND=">=virtual/jre-1.8" |
|||
|
|||
S="${WORKDIR}/${MY_P}/" |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" |
|||
rm -fR */*/build.xml |
|||
einfo "Removing bundled jars and classes" |
|||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + |
|||
|
|||
java-pkg-2_src_prepare |
|||
} |
|||
|
|||
src_install() { |
|||
java-pkg_dojar "${S}"/output/build/lib/*.jar |
|||
use source && java-pkg_dosrc java/javax/servlet/ |
|||
} |