parent
1cc16e94ea
commit
9d86fadef5
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>williamh@gentoo.org</email>
|
||||||
|
<name>William Hubbs</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=277
|
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>williamh@gentoo.org</email>
|
||||||
|
<name>William Hubbs</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="user for mongodb_exporter"
|
||||||
|
ACCT_USER_ID=277
|
||||||
|
ACCT_USER_GROUPS=( mongodb_exporter )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,47 @@
|
|||||||
|
From 092446fafb4bfb81738853b7c7f76b293cd92a80 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Evgenii Kliuchnikov <eustas.ru@gmail.com>
|
||||||
|
Date: Wed, 2 Sep 2020 10:49:49 +0200
|
||||||
|
Subject: [PATCH] Revert "Add runtime linker path to pkg-config files (#740)"
|
||||||
|
|
||||||
|
This reverts commit 31754d4ffce14153b5c2addf7a11019ec23f51c1.
|
||||||
|
---
|
||||||
|
scripts/libbrotlicommon.pc.in | 2 +-
|
||||||
|
scripts/libbrotlidec.pc.in | 2 +-
|
||||||
|
scripts/libbrotlienc.pc.in | 2 +-
|
||||||
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/scripts/libbrotlicommon.pc.in b/scripts/libbrotlicommon.pc.in
|
||||||
|
index 10ca969e..2a8cf7a3 100644
|
||||||
|
--- a/scripts/libbrotlicommon.pc.in
|
||||||
|
+++ b/scripts/libbrotlicommon.pc.in
|
||||||
|
@@ -7,5 +7,5 @@ Name: libbrotlicommon
|
||||||
|
URL: https://github.com/google/brotli
|
||||||
|
Description: Brotli common dictionary library
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
-Libs: -L${libdir} -R${libdir} -lbrotlicommon
|
||||||
|
+Libs: -L${libdir} -lbrotlicommon
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
diff --git a/scripts/libbrotlidec.pc.in b/scripts/libbrotlidec.pc.in
|
||||||
|
index e7c3124f..6f8ef2e4 100644
|
||||||
|
--- a/scripts/libbrotlidec.pc.in
|
||||||
|
+++ b/scripts/libbrotlidec.pc.in
|
||||||
|
@@ -7,6 +7,6 @@ Name: libbrotlidec
|
||||||
|
URL: https://github.com/google/brotli
|
||||||
|
Description: Brotli decoder library
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
-Libs: -L${libdir} -R${libdir} -lbrotlidec
|
||||||
|
+Libs: -L${libdir} -lbrotlidec
|
||||||
|
Requires.private: libbrotlicommon >= 1.0.2
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
diff --git a/scripts/libbrotlienc.pc.in b/scripts/libbrotlienc.pc.in
|
||||||
|
index 4dd0811b..2098afe2 100644
|
||||||
|
--- a/scripts/libbrotlienc.pc.in
|
||||||
|
+++ b/scripts/libbrotlienc.pc.in
|
||||||
|
@@ -7,6 +7,6 @@ Name: libbrotlienc
|
||||||
|
URL: https://github.com/google/brotli
|
||||||
|
Description: Brotli encoder library
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
-Libs: -L${libdir} -R${libdir} -lbrotlienc
|
||||||
|
+Libs: -L${libdir} -lbrotlienc
|
||||||
|
Requires.private: libbrotlicommon >= 1.0.2
|
||||||
|
Cflags: -I${includedir}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST heimdal-7.5.0.tar.gz 10071281 BLAKE2B 917f5855248c333e5ec35bf992973d8b5fb84581b9c3bc8d42c328e5f878ce24c5596c5a1e3fbca786a71be04984068efbb817f7336135056d1feae38895758f SHA512 6d1ad77e795df786680b5e68e2bfefee27bd0207eab507295d7af7053135de9c9ebb517d2c0235bc3a7d50945e18044515f0d76c0899b6b74aa839f1f3e5b131
|
|
||||||
DIST heimdal-7.6.0.tar.gz 10186832 BLAKE2B 456b495a3d0a196cf02d6042c6db72c772327545fbc84f7bb758f55f3fca025432bf319fc33e9e0b5fe5ca78b83aea9dc47d77bf1f5b69ae88f1286a22c41263 SHA512 3f7ce090cf8da91f19675a1d9f6bd65c83b3a847337739481506f09d74001cb44283b103ba684dac8a5f11ec48605b5476240c534f6fc36442fb874b73680200
|
DIST heimdal-7.6.0.tar.gz 10186832 BLAKE2B 456b495a3d0a196cf02d6042c6db72c772327545fbc84f7bb758f55f3fca025432bf319fc33e9e0b5fe5ca78b83aea9dc47d77bf1f5b69ae88f1286a22c41263 SHA512 3f7ce090cf8da91f19675a1d9f6bd65c83b3a847337739481506f09d74001cb44283b103ba684dac8a5f11ec48605b5476240c534f6fc36442fb874b73680200
|
||||||
DIST heimdal-7.7.0.tar.gz 10189293 BLAKE2B db9cdd1861dc9214a7f76b3d8b9656cfc0bad11cb6eadffa4fa29ea7f9aabd4c3d1b628c510644ec9abe1b3bf27a413ccf8cd590d602c4a4ac54ba3deb4cedc4 SHA512 6660939b5a36ce36310721a08a089fb671d1e3d2e8ac74ea4775bfa5f8f772d32de805551456200fe96cc486c092c44beb84f5dd877008bc305490ee971bbf99
|
DIST heimdal-7.7.0.tar.gz 10189293 BLAKE2B db9cdd1861dc9214a7f76b3d8b9656cfc0bad11cb6eadffa4fa29ea7f9aabd4c3d1b628c510644ec9abe1b3bf27a413ccf8cd590d602c4a4ac54ba3deb4cedc4 SHA512 6660939b5a36ce36310721a08a089fb671d1e3d2e8ac74ea4775bfa5f8f772d32de805551456200fe96cc486c092c44beb84f5dd877008bc305490ee971bbf99
|
||||||
|
@ -1,173 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
PYTHON_COMPAT=( python3_6 )
|
|
||||||
VIRTUALX_REQUIRED="manual"
|
|
||||||
|
|
||||||
inherit autotools db-use multilib multilib-minimal python-any-r1 virtualx flag-o-matic
|
|
||||||
|
|
||||||
MY_P="${P}"
|
|
||||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
|
||||||
HOMEPAGE="http://www.h5l.org/"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86"
|
|
||||||
IUSE="afs +berkdb caps hdb-ldap ipv6 libressl otp +pkinit selinux ssl static-libs test X"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
ssl? (
|
|
||||||
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
|
||||||
libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] )
|
|
||||||
!berkdb? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] )
|
|
||||||
caps? ( sys-libs/libcap-ng )
|
|
||||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
|
||||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}]
|
|
||||||
afs? ( net-fs/openafs )
|
|
||||||
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXau
|
|
||||||
x11-libs/libXt
|
|
||||||
)
|
|
||||||
!!app-crypt/mit-krb5
|
|
||||||
!!app-crypt/mit-krb5-appl"
|
|
||||||
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=sys-devel/autoconf-2.62
|
|
||||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
|
||||||
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-kerberos )"
|
|
||||||
|
|
||||||
MULTILIB_WRAPPED_HEADERS=(
|
|
||||||
/usr/include/krb5-types.h
|
|
||||||
/usr/include/cms_asn1.h
|
|
||||||
/usr/include/digest_asn1.h
|
|
||||||
/usr/include/hdb_asn1.h
|
|
||||||
/usr/include/krb5_asn1.h
|
|
||||||
/usr/include/pkcs12_asn1.h
|
|
||||||
/usr/include/pkinit_asn1.h
|
|
||||||
/usr/include/rfc2459_asn1.h
|
|
||||||
)
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/krb5-config
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}/heimdal_disable-check-iprop.patch"
|
|
||||||
eapply "${FILESDIR}/heimdal_tinfo.patch"
|
|
||||||
eapply_user
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# QA
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
--enable-kcm
|
|
||||||
--disable-osfc2
|
|
||||||
--enable-shared
|
|
||||||
--with-libintl="${EPREFIX}"/usr
|
|
||||||
--with-readline="${EPREFIX}"/usr
|
|
||||||
--with-sqlite3="${EPREFIX}"/usr
|
|
||||||
--libexecdir="${EPREFIX}"/usr/sbin
|
|
||||||
--enable-pthread-support
|
|
||||||
$(use_enable afs afs-support)
|
|
||||||
$(use_enable otp)
|
|
||||||
$(use_enable pkinit kx509)
|
|
||||||
$(use_enable pkinit pk-init)
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
$(multilib_native_use_with caps capng)
|
|
||||||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr)
|
|
||||||
$(use_with ipv6)
|
|
||||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
|
||||||
$(multilib_native_use_with X x)
|
|
||||||
)
|
|
||||||
if use berkdb; then
|
|
||||||
myeconfargs+=(
|
|
||||||
--with-berkeley-db
|
|
||||||
--with-berkeley-db-include="$(db_includedir)"
|
|
||||||
)
|
|
||||||
else
|
|
||||||
myeconfargs+=(
|
|
||||||
--without-berkeley-db
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
if multilib_is_native_abi; then
|
|
||||||
emake -j1
|
|
||||||
else
|
|
||||||
emake -C include -j1
|
|
||||||
emake -C lib -j1
|
|
||||||
emake -C kdc -j1
|
|
||||||
emake -C tools -j1
|
|
||||||
emake -C tests/plugin -j1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
multilib_is_native_abi && emake -j1 check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
if multilib_is_native_abi; then
|
|
||||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
|
||||||
else
|
|
||||||
emake -C include DESTDIR="${D}" install
|
|
||||||
emake -C lib DESTDIR="${D}" install
|
|
||||||
emake -C kdc DESTDIR="${D}" install
|
|
||||||
emake -C tools DESTDIR="${D}" install
|
|
||||||
emake -C tests/plugin DESTDIR="${D}" install
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
dodoc ChangeLog* README NEWS TODO
|
|
||||||
|
|
||||||
# client rename
|
|
||||||
mv "${ED%/}"/usr/share/man/man1/{,k}su.1
|
|
||||||
mv "${ED%/}"/usr/bin/{,k}su
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
|
|
||||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
|
|
||||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
|
|
||||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
|
||||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
|
||||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
|
||||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${S}"/krb5.conf krb5.conf.example
|
|
||||||
|
|
||||||
if use hdb-ldap; then
|
|
||||||
insinto /etc/openldap/schema
|
|
||||||
doins "${S}/lib/hdb/hdb.schema"
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "${ED}" -name "*.la" -delete || die
|
|
||||||
|
|
||||||
# default database dir
|
|
||||||
keepdir /var/heimdal
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
https://bugs.gentoo.org/740836
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -255,8 +255,8 @@ if sdl.found()
|
||||||
|
method: 'pkg-config', static: enable_static)
|
||||||
|
else
|
||||||
|
if get_option('sdl_image').enabled()
|
||||||
|
- error('sdl-image required, but SDL was @0@',
|
||||||
|
- get_option('sdl').disabled() ? 'disabled' : 'not found')
|
||||||
|
+ error('sdl-image required, but SDL was @0@'.format(
|
||||||
|
+ get_option('sdl').disabled() ? 'disabled' : 'not found'))
|
||||||
|
endif
|
||||||
|
sdl_image = not_found
|
||||||
|
endif
|
Binary file not shown.
@ -1,11 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>zohran.londais@gmail.com</email>
|
</pkgmetadata>
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>proxy-maint@gentoo.org</email>
|
|
||||||
<name>Proxy Maintainers</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
|
||||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST mongodb_exporter-0.11.0.tar.gz 2638227 BLAKE2B c8d6cde2fcc40bcdbbd84276d78e8ee2012a0237637ce51a67d458d030a4f8b8d5b72b3eb434cbbfd403aa7481ed76651b2af181b3785abf913ae6cfd4f2faf0 SHA512 08c2f889c5f503804af35e41220729fa9fae3226cfb89642964edc8c391fe8209cd6f8246b0e904711a63a1c0cf613d5666373035d94db537840ae9ac561c2cf
|
DIST mongodb_exporter-0.11.0.tar.gz 2638227 BLAKE2B c8d6cde2fcc40bcdbbd84276d78e8ee2012a0237637ce51a67d458d030a4f8b8d5b72b3eb434cbbfd403aa7481ed76651b2af181b3785abf913ae6cfd4f2faf0 SHA512 08c2f889c5f503804af35e41220729fa9fae3226cfb89642964edc8c391fe8209cd6f8246b0e904711a63a1c0cf613d5666373035d94db537840ae9ac561c2cf
|
||||||
|
DIST mongodb_exporter-0.11.1.tar.gz 2640277 BLAKE2B 8ae0418466462d4dfebe97d48b47d0a163435f1776bceb6d35ab50d98cefa0bf737f57fc74aadebf16c285e2dd63fe2e4719571db7c5a9f942e740dab7509d91 SHA512 81a9c5877bba6e85fcdcc9e3781bbec82b255710e8292ea377ea9c9234526b7ad521350f8bd36ae7773f76f40b650cd724d552020e17feb61210ed6197be5172
|
||||||
DIST mongodb_exporter-0.6.2.tar.gz 1296198 BLAKE2B 4cd04b5e69788f2bbe3e87eafe6a7cf4f0a2e72abff4784176299e46943eac2219141beed2f8d11cc8a2458737456d8edaed42a5392bedd017e85315dc75ba1d SHA512 52c1464af82c09fc79338e805e62936d4da8131cea1bb6608500fa36a2d4069676eace5da0ed1b14d82de9d626be301b42c7bc1d5c620bbecb47ae9a350ecd65
|
DIST mongodb_exporter-0.6.2.tar.gz 1296198 BLAKE2B 4cd04b5e69788f2bbe3e87eafe6a7cf4f0a2e72abff4784176299e46943eac2219141beed2f8d11cc8a2458737456d8edaed42a5392bedd017e85315dc75ba1d SHA512 52c1464af82c09fc79338e805e62936d4da8131cea1bb6608500fa36a2d4069676eace5da0ed1b14d82de9d626be301b42c7bc1d5c620bbecb47ae9a350ecd65
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module
|
||||||
|
COMMIT=f5e8ebea31d6fa128ae3a2fb1b747fdf4b782b2b
|
||||||
|
BRANCH=0.11.0
|
||||||
|
|
||||||
|
DESCRIPTION="Prometheus exporter for MongoDB"
|
||||||
|
HOMEPAGE="https://github.com/percona/mongodb_exporter"
|
||||||
|
SRC_URI="https://github.com/percona/mongodb_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 AGPL-3 BSD MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
COMMON_DEPEND="acct-group/mongodb_exporter
|
||||||
|
acct-user/mongodb_exporter"
|
||||||
|
DEPEND="${COMMON_DEPEND}"
|
||||||
|
RDEPEND="${COMMON_DEPEND}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
GOFLAGS="${GOFLAGS} -mod=vendor" emake \
|
||||||
|
TRAVIS_TAG="${PV}" \
|
||||||
|
APP_REVISION=${COMMIT} \
|
||||||
|
TRAVIS_BRANCH=${BRANCH} \
|
||||||
|
build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/${PN}
|
||||||
|
dodoc {README,CHANGELOG}.md
|
||||||
|
keepdir /var/log/mongodb_exporter
|
||||||
|
fowners ${PN}:${PN} /var/log/mongodb_exporter
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||||
|
}
|
Binary file not shown.
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit rpm
|
|
||||||
|
|
||||||
BASE_PV=$(ver_cut 1-3)
|
|
||||||
MY_PV="${PV/_alpha/.alpha}"
|
|
||||||
MY_PV="${MY_PV/_beta/.beta}"
|
|
||||||
[[ ${PV} == *alpha* || ${PV} == *beta* ]] && PN_DEV="Dev"
|
|
||||||
|
|
||||||
DESCRIPTION="Translations for the Libreoffice suite"
|
|
||||||
HOMEPAGE="https://www.libreoffice.org"
|
|
||||||
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${BASE_PV}/rpm"
|
|
||||||
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${BASE_PV}/rpm"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="offlinehelp"
|
|
||||||
|
|
||||||
#
|
|
||||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
|
||||||
#
|
|
||||||
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
|
|
||||||
LANGUAGES_HELP=" am ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt-BR pt ru si sk sl sq sv tg tr ug uk vi zh-CN zh-TW "
|
|
||||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd gug kk kmr-Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa:pa-IN ro rw sa:sa-IN sat sd sid sr-Latn sr ss st sw-TZ ta te th tn ts tt uz ve xh zu "
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES_HELP}; do
|
|
||||||
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz )"
|
|
||||||
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
|
|
||||||
done
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
if [[ ${lang%:*} != en ]]; then
|
|
||||||
langpack="${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz"
|
|
||||||
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
|
|
||||||
fi
|
|
||||||
IUSE+=" l10n_${lang%:*}"
|
|
||||||
done
|
|
||||||
unset lang helppack langpack
|
|
||||||
|
|
||||||
RDEPEND+="app-text/hunspell"
|
|
||||||
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local lang dir rpmdir
|
|
||||||
|
|
||||||
# First remove dictionaries, we want to use system ones.
|
|
||||||
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
|
||||||
|
|
||||||
for lang in ${LANGUAGES}; do
|
|
||||||
# break away if not enabled
|
|
||||||
use l10n_${lang%:*} || continue
|
|
||||||
|
|
||||||
dir=${lang#*:}
|
|
||||||
|
|
||||||
# for english we provide just helppack, as translation is always there
|
|
||||||
if [[ ${lang%:*} != en ]]; then
|
|
||||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
|
||||||
rpm_unpack ./${rpmdir}/*.rpm
|
|
||||||
fi
|
|
||||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
|
||||||
rpmdir="LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${dir}/RPMS/"
|
|
||||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
|
||||||
rpm_unpack ./${rpmdir}/*.rpm
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
|
|
||||||
# Condition required for people who do not install anything e.g. no l10n
|
|
||||||
# or just english with no offlinehelp.
|
|
||||||
if [[ -d "${dir}" ]] ; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
|
||||||
doins -r "${dir}"/*
|
|
||||||
fi
|
|
||||||
# remove extensions that are in l10n for some weird reason
|
|
||||||
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
|
||||||
die "Failed to remove extensions"
|
|
||||||
}
|
|
@ -0,0 +1,102 @@
|
|||||||
|
From 8e6b7d5696378e946e904c1df87da83e139af90d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Weghorn <m.weghorn@posteo.de>
|
||||||
|
Date: Mon, 7 Sep 2020 20:08:57 +0200
|
||||||
|
Subject: tdf#136323 qt5: Remember accessible object
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
'QAccessibleCache::insert' from the Qt library has a
|
||||||
|
'Q_ASSERT' checking that the corresponding 'QObject' for
|
||||||
|
which the 'QAccessibleInterface' provides information
|
||||||
|
is actually the same as the object passed as a parameter:
|
||||||
|
|
||||||
|
QAccessible::Id QAccessibleCache::insert(QObject *object, QAccessibleInterface *iface) const
|
||||||
|
{
|
||||||
|
// ...
|
||||||
|
QObject *obj = iface->object();
|
||||||
|
-> Q_ASSERT(object == obj);
|
||||||
|
|
||||||
|
However, 'Qt5AccessibleWidget::object' so far was always returning
|
||||||
|
'nullptr', triggering this assert when using a Qt version
|
||||||
|
not built with 'QT_NO_DEBUG'.
|
||||||
|
|
||||||
|
To fix this, remember and return the object as needed.
|
||||||
|
|
||||||
|
Change-Id: I4015b4c37aa8a073b02465df580a7235884e6cf3
|
||||||
|
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102196
|
||||||
|
Tested-by: Jenkins
|
||||||
|
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
|
||||||
|
(cherry picked from commit 4461d49c6cfce22c2c96185b0a1d07bfe9709268)
|
||||||
|
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102126
|
||||||
|
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
||||||
|
---
|
||||||
|
vcl/inc/qt5/Qt5AccessibleWidget.hxx | 4 +++-
|
||||||
|
vcl/qt5/Qt5AccessibleWidget.cxx | 9 +++++----
|
||||||
|
2 files changed, 8 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/vcl/inc/qt5/Qt5AccessibleWidget.hxx b/vcl/inc/qt5/Qt5AccessibleWidget.hxx
|
||||||
|
index 6b0d71cba9f5..0f62d2a8a5b8 100644
|
||||||
|
--- a/vcl/inc/qt5/Qt5AccessibleWidget.hxx
|
||||||
|
+++ b/vcl/inc/qt5/Qt5AccessibleWidget.hxx
|
||||||
|
@@ -41,7 +41,8 @@ class VCLPLUG_QT5_PUBLIC Qt5AccessibleWidget : public QObject,
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
- Qt5AccessibleWidget(const css::uno::Reference<css::accessibility::XAccessible> xAccessible);
|
||||||
|
+ Qt5AccessibleWidget(const css::uno::Reference<css::accessibility::XAccessible> xAccessible,
|
||||||
|
+ QObject* pObject);
|
||||||
|
QWindow* window() const override;
|
||||||
|
int childCount() const override;
|
||||||
|
int indexOfChild(const QAccessibleInterface* child) const override;
|
||||||
|
@@ -137,6 +138,7 @@ public:
|
||||||
|
private:
|
||||||
|
css::uno::Reference<css::accessibility::XAccessible> m_xAccessible;
|
||||||
|
css::uno::Reference<css::accessibility::XAccessibleContext> getAccessibleContextImpl() const;
|
||||||
|
+ QObject* m_pObject;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
|
||||||
|
index 6a828865036e..7136e0823790 100644
|
||||||
|
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
|
||||||
|
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
|
||||||
|
@@ -58,8 +58,9 @@ using namespace css::accessibility;
|
||||||
|
using namespace css::beans;
|
||||||
|
using namespace css::uno;
|
||||||
|
|
||||||
|
-Qt5AccessibleWidget::Qt5AccessibleWidget(const Reference<XAccessible> xAccessible)
|
||||||
|
+Qt5AccessibleWidget::Qt5AccessibleWidget(const Reference<XAccessible> xAccessible, QObject* pObject)
|
||||||
|
: m_xAccessible(xAccessible)
|
||||||
|
+ , m_pObject(pObject)
|
||||||
|
{
|
||||||
|
Reference<XAccessibleContext> xContext = xAccessible->getAccessibleContext();
|
||||||
|
Reference<XAccessibleEventBroadcaster> xBroadcaster(xContext, UNO_QUERY);
|
||||||
|
@@ -698,7 +699,7 @@ bool Qt5AccessibleWidget::isValid() const
|
||||||
|
return xAc.is();
|
||||||
|
}
|
||||||
|
|
||||||
|
-QObject* Qt5AccessibleWidget::object() const { return nullptr; }
|
||||||
|
+QObject* Qt5AccessibleWidget::object() const { return m_pObject; }
|
||||||
|
|
||||||
|
void Qt5AccessibleWidget::setText(QAccessible::Text /* t */, const QString& /* text */) {}
|
||||||
|
|
||||||
|
@@ -721,13 +722,13 @@ QAccessibleInterface* Qt5AccessibleWidget::customFactory(const QString& classnam
|
||||||
|
vcl::Window* pWindow = pWidget->frame().GetWindow();
|
||||||
|
|
||||||
|
if (pWindow)
|
||||||
|
- return new Qt5AccessibleWidget(pWindow->GetAccessible());
|
||||||
|
+ return new Qt5AccessibleWidget(pWindow->GetAccessible(), object);
|
||||||
|
}
|
||||||
|
if (classname == QLatin1String("Qt5XAccessible") && object)
|
||||||
|
{
|
||||||
|
Qt5XAccessible* pXAccessible = dynamic_cast<Qt5XAccessible*>(object);
|
||||||
|
if (pXAccessible && pXAccessible->m_xAccessible.is())
|
||||||
|
- return new Qt5AccessibleWidget(pXAccessible->m_xAccessible);
|
||||||
|
+ return new Qt5AccessibleWidget(pXAccessible->m_xAccessible, object);
|
||||||
|
}
|
||||||
|
|
||||||
|
return nullptr;
|
||||||
|
--
|
||||||
|
cgit v1.2.1
|
||||||
|
|
@ -1,565 +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} )
|
|
||||||
PYTHON_REQ_USE="threads(+),xml"
|
|
||||||
|
|
||||||
MY_PV="${PV/_alpha/.alpha}"
|
|
||||||
MY_PV="${MY_PV/_beta/.beta}"
|
|
||||||
# experimental ; release ; old
|
|
||||||
# Usually the tarballs are moved a lot so this should make everyone happy.
|
|
||||||
DEV_URI="
|
|
||||||
https://dev-builds.libreoffice.org/pre-releases/src
|
|
||||||
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
|
|
||||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
|
|
||||||
"
|
|
||||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
|
||||||
|
|
||||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|
||||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
|
||||||
|
|
||||||
[[ ${MY_PV} == *9999* ]] && inherit git-r3
|
|
||||||
inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A full office productivity suite"
|
|
||||||
HOMEPAGE="https://www.libreoffice.org"
|
|
||||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
|
||||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
|
|
||||||
|
|
||||||
# Split modules following git/tarballs; Core MUST be first!
|
|
||||||
# Help is used for the image generator
|
|
||||||
# Only release has the tarballs
|
|
||||||
if [[ ${MY_PV} != *9999* ]]; then
|
|
||||||
for i in ${DEV_URI}; do
|
|
||||||
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
|
|
||||||
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
|
|
||||||
done
|
|
||||||
unset i
|
|
||||||
fi
|
|
||||||
unset DEV_URI
|
|
||||||
|
|
||||||
# Really required addons
|
|
||||||
# These are bundles that can't be removed for now due to huge patchsets.
|
|
||||||
# If you want them gone, patches are welcome.
|
|
||||||
ADDONS_SRC=(
|
|
||||||
# QR code generating library for >=libreoffice-6.4
|
|
||||||
"${ADDONS_URI}/QR-Code-generator-1.4.0.tar.gz"
|
|
||||||
"base? (
|
|
||||||
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
|
|
||||||
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
|
|
||||||
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
|
|
||||||
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
|
|
||||||
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
|
|
||||||
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
|
|
||||||
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
|
|
||||||
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
|
|
||||||
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
|
|
||||||
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
|
|
||||||
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
|
|
||||||
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
|
|
||||||
)"
|
|
||||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
|
||||||
# no release for 8 years, should we package it?
|
|
||||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
|
||||||
# Does not build with 1.6 rhino at all
|
|
||||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
|
||||||
# requirement of rhino
|
|
||||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
|
||||||
# not packageable
|
|
||||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
|
||||||
)
|
|
||||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
|
||||||
|
|
||||||
unset ADDONS_URI
|
|
||||||
unset ADDONS_SRC
|
|
||||||
|
|
||||||
# Extensions that need extra work:
|
|
||||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
|
||||||
|
|
||||||
IUSE="accessibility base bluetooth +branding coinmp +cups +dbus debug eds firebird
|
|
||||||
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test
|
|
||||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
|
||||||
base? ( firebird java )
|
|
||||||
bluetooth? ( dbus )
|
|
||||||
gtk? ( dbus )
|
|
||||||
libreoffice_extensions_nlpsolver? ( java )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( java )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( java )
|
|
||||||
libreoffice_extensions_wiki-publisher? ( java )
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
[[ ${MY_PV} == *9999* ]] || \
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/intltool
|
|
||||||
sys-devel/bison
|
|
||||||
sys-devel/flex
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
|
||||||
"
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
app-arch/unzip
|
|
||||||
app-arch/zip
|
|
||||||
app-crypt/gpgme[cxx]
|
|
||||||
app-text/hunspell:=
|
|
||||||
>=app-text/libabw-0.1.0
|
|
||||||
>=app-text/libebook-0.1
|
|
||||||
app-text/libepubgen
|
|
||||||
>=app-text/libetonyek-0.1
|
|
||||||
app-text/libexttextcat
|
|
||||||
app-text/liblangtag
|
|
||||||
>=app-text/libmspub-0.1.0
|
|
||||||
>=app-text/libmwaw-0.3.1
|
|
||||||
app-text/libnumbertext
|
|
||||||
>=app-text/libodfgen-0.1.0
|
|
||||||
app-text/libqxp
|
|
||||||
app-text/libstaroffice
|
|
||||||
app-text/libwpd:0.10[tools]
|
|
||||||
app-text/libwpg:0.3
|
|
||||||
>=app-text/libwps-0.4
|
|
||||||
app-text/mythes
|
|
||||||
>=dev-cpp/clucene-2.3.3.4-r2
|
|
||||||
>=dev-cpp/libcmis-0.5.2
|
|
||||||
dev-db/unixODBC
|
|
||||||
dev-lang/perl
|
|
||||||
>=dev-libs/boost-1.72.0:=[nls]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/hyphen
|
|
||||||
dev-libs/icu:=
|
|
||||||
dev-libs/libassuan
|
|
||||||
dev-libs/libgpg-error
|
|
||||||
>=dev-libs/liborcus-0.15.0
|
|
||||||
dev-libs/librevenge
|
|
||||||
dev-libs/libxml2
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
>=dev-libs/redland-1.0.16
|
|
||||||
>=dev-libs/xmlsec-1.2.28[nss]
|
|
||||||
media-gfx/fontforge
|
|
||||||
media-gfx/graphite2
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype:2
|
|
||||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
|
||||||
media-libs/lcms:2
|
|
||||||
>=media-libs/libcdr-0.1.0
|
|
||||||
>=media-libs/libepoxy-1.3.1[X]
|
|
||||||
>=media-libs/libfreehand-0.1.0
|
|
||||||
media-libs/libpagemaker
|
|
||||||
>=media-libs/libpng-1.4:0=
|
|
||||||
>=media-libs/libvisio-0.1.0
|
|
||||||
media-libs/libzmf
|
|
||||||
net-libs/neon
|
|
||||||
net-misc/curl
|
|
||||||
sci-mathematics/lpsolve
|
|
||||||
sys-libs/zlib
|
|
||||||
virtual/glu
|
|
||||||
virtual/jpeg:0
|
|
||||||
virtual/opengl
|
|
||||||
x11-libs/cairo[X]
|
|
||||||
x11-libs/libXinerama
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
accessibility? (
|
|
||||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_MULTI_USEDEP}]')
|
|
||||||
)
|
|
||||||
bluetooth? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
net-wireless/bluez
|
|
||||||
)
|
|
||||||
coinmp? ( sci-libs/coinor-mp )
|
|
||||||
cups? ( net-print/cups )
|
|
||||||
dbus? ( sys-apps/dbus[X] )
|
|
||||||
eds? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
gnome-base/dconf
|
|
||||||
gnome-extra/evolution-data-server
|
|
||||||
)
|
|
||||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
|
||||||
gstreamer? (
|
|
||||||
media-libs/gstreamer:1.0
|
|
||||||
media-libs/gst-plugins-base:1.0
|
|
||||||
)
|
|
||||||
gtk? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/gobject-introspection
|
|
||||||
gnome-base/dconf
|
|
||||||
media-libs/mesa[egl]
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/pango
|
|
||||||
)
|
|
||||||
kde? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
dev-qt/qtx11extras:5
|
|
||||||
kde-frameworks/kconfig:5
|
|
||||||
kde-frameworks/kcoreaddons:5
|
|
||||||
kde-frameworks/ki18n:5
|
|
||||||
kde-frameworks/kio:5
|
|
||||||
kde-frameworks/kwindowsystem:5
|
|
||||||
)
|
|
||||||
ldap? ( net-nds/openldap )
|
|
||||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
|
||||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
|
||||||
mariadb? ( dev-db/mariadb-connector-c )
|
|
||||||
!mariadb? ( dev-db/mysql-connector-c )
|
|
||||||
pdfimport? ( app-text/poppler:=[cxx] )
|
|
||||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
|
||||||
"
|
|
||||||
# FIXME: cppunit should be moved to test conditional
|
|
||||||
# after everything upstream is under gbuild
|
|
||||||
# as dmake execute tests right away
|
|
||||||
# tests apparently also need google-carlito-fonts (not packaged)
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=dev-libs/libatomic_ops-7.2d
|
|
||||||
dev-perl/Archive-Zip
|
|
||||||
>=dev-util/cppunit-1.14.0
|
|
||||||
>=dev-util/gperf-3.1
|
|
||||||
dev-util/mdds:1/1.5
|
|
||||||
media-libs/glm
|
|
||||||
sys-devel/ucpp
|
|
||||||
x11-base/xorg-proto
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
java? (
|
|
||||||
dev-java/ant-core
|
|
||||||
>=virtual/jdk-1.8
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
app-crypt/gnupg
|
|
||||||
dev-util/cppunit
|
|
||||||
media-fonts/dejavu
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!app-office/libreoffice-bin
|
|
||||||
!app-office/libreoffice-bin-debug
|
|
||||||
!app-office/openoffice
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
|
||||||
java? ( >=virtual/jre-1.8 )
|
|
||||||
kde? ( kde-frameworks/breeze-icons:* )
|
|
||||||
"
|
|
||||||
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
|
|
||||||
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
|
|
||||||
else
|
|
||||||
# Translations are not reliable on live ebuilds
|
|
||||||
# rather force people to use english only.
|
|
||||||
PDEPEND="!app-office/libreoffice-l10n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
|
|
||||||
|
|
||||||
# not upstreamable stuff
|
|
||||||
"${FILESDIR}/${PN}-5.4-system-pyuno.patch"
|
|
||||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
|
||||||
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
|
|
||||||
|
|
||||||
# git master
|
|
||||||
"${FILESDIR}/${PN}-6.4.3.2-boost-1.73.patch" # bug 721806
|
|
||||||
)
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
# system pyuno mess
|
|
||||||
sed -i \
|
|
||||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
|
||||||
-e "s:%libdir%:$(get_libdir):g" \
|
|
||||||
pyuno/source/module/uno.py \
|
|
||||||
pyuno/source/officehelper.py || die
|
|
||||||
# sed in the tests
|
|
||||||
sed -i \
|
|
||||||
-e "s#all : build unitcheck#all : build#g" \
|
|
||||||
solenv/gbuild/Module.mk || die
|
|
||||||
sed -i \
|
|
||||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
|
||||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
|
||||||
Makefile.in || die
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
|
||||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
|
||||||
bin/distro-install-desktop-integration || die
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
# hack...
|
|
||||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
|
||||||
if ! use pdfimport; then
|
|
||||||
sed -i \
|
|
||||||
-e ":MimeType: s:application/pdf;::" \
|
|
||||||
-e ":Keywords: s:pdf;::" \
|
|
||||||
sysui/desktop/menus/draw.desktop || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
|
||||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
|
||||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
|
||||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
|
||||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
|
||||||
|
|
||||||
# optimization flags
|
|
||||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
|
||||||
# System python enablement:
|
|
||||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
|
||||||
export PYTHON_LIBS=$(python_get_LIBS)
|
|
||||||
|
|
||||||
if use kde; then
|
|
||||||
export QT_SELECT=5 # bug 639620 needs proper fix though
|
|
||||||
export QT5DIR="$(qt5_get_bindir)/../"
|
|
||||||
export MOC5="$(qt5_get_bindir)/moc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local gentoo_buildid="Gentoo official package"
|
|
||||||
if [[ -n ${LOCOREGIT_VERSION} ]]; then
|
|
||||||
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# system headers/libs/...: enforce using system packages
|
|
||||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
|
||||||
# --enable-cairo: ensure that cairo is always required
|
|
||||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
|
||||||
# --enable-release-build: build the libreoffice as release
|
|
||||||
# --disable-fetch-external: prevent dowloading during compile phase
|
|
||||||
# --enable-extension-integration: enable any extension integration support
|
|
||||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
|
||||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
|
||||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
|
||||||
# not linked or anything else, worthless to depend on
|
|
||||||
# --disable-pdfium: not yet packaged
|
|
||||||
# --without-system-qrencode: has no real build system and LO is the only user
|
|
||||||
local myeconfargs=(
|
|
||||||
--with-system-dicts
|
|
||||||
--with-system-epoxy
|
|
||||||
--with-system-headers
|
|
||||||
--with-system-jars
|
|
||||||
--with-system-libs
|
|
||||||
--enable-build-opensymbol
|
|
||||||
--enable-cairo-canvas
|
|
||||||
--enable-largefile
|
|
||||||
--enable-mergelibs
|
|
||||||
--enable-neon
|
|
||||||
--enable-python=system
|
|
||||||
--enable-randr
|
|
||||||
--enable-release-build
|
|
||||||
--disable-breakpad
|
|
||||||
--disable-bundle-mariadb
|
|
||||||
--disable-ccache
|
|
||||||
--disable-epm
|
|
||||||
--disable-fetch-external
|
|
||||||
--disable-gtk3-kde5
|
|
||||||
--disable-online-update
|
|
||||||
--disable-openssl
|
|
||||||
--disable-pdfium
|
|
||||||
--disable-vlc
|
|
||||||
--with-build-version="${gentoo_buildid}"
|
|
||||||
--enable-extension-integration
|
|
||||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
|
||||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
|
||||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
|
||||||
--with-external-tar="${DISTDIR}"
|
|
||||||
--with-lang=""
|
|
||||||
--with-parallelism=$(makeopts_jobs)
|
|
||||||
--with-system-ucpp
|
|
||||||
--with-tls=nss
|
|
||||||
--with-vendor="Gentoo Foundation"
|
|
||||||
--with-x
|
|
||||||
--without-fonts
|
|
||||||
--without-myspell-dicts
|
|
||||||
--with-help="html"
|
|
||||||
--without-helppack-integration
|
|
||||||
--with-system-gpgmepp
|
|
||||||
--without-system-jfreereport
|
|
||||||
--without-system_apache_commons
|
|
||||||
--without-system-sane
|
|
||||||
--without-system-qrcodegen
|
|
||||||
$(use_enable base report-builder)
|
|
||||||
$(use_enable bluetooth sdremote-bluetooth)
|
|
||||||
$(use_enable coinmp)
|
|
||||||
$(use_enable cups)
|
|
||||||
$(use_enable dbus)
|
|
||||||
$(use_enable debug)
|
|
||||||
$(use_enable eds evolution2)
|
|
||||||
$(use_enable firebird firebird-sdbc)
|
|
||||||
$(use_enable gstreamer gstreamer-1-0)
|
|
||||||
$(use_enable gtk gtk3)
|
|
||||||
$(use_enable kde kf5)
|
|
||||||
$(use_enable kde qt5)
|
|
||||||
$(use_enable ldap)
|
|
||||||
$(use_enable odk)
|
|
||||||
$(use_enable pdfimport)
|
|
||||||
$(use_enable postgres postgresql-sdbc)
|
|
||||||
$(use_with accessibility lxml)
|
|
||||||
$(use_with coinmp system-coinmp)
|
|
||||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
|
||||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
|
||||||
$(use_with java)
|
|
||||||
$(use_with odk doxygen)
|
|
||||||
)
|
|
||||||
|
|
||||||
if use eds || use gtk; then
|
|
||||||
myeconfargs+=( --enable-dconf --enable-gio )
|
|
||||||
else
|
|
||||||
myeconfargs+=( --disable-dconf --disable-gio )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# libreoffice extensions handling
|
|
||||||
for lo_xt in ${LO_EXTS}; do
|
|
||||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
|
||||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
|
||||||
else
|
|
||||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
# hsqldb: system one is too new
|
|
||||||
myeconfargs+=(
|
|
||||||
--without-junit
|
|
||||||
--without-system-hsqldb
|
|
||||||
--with-ant-home="${ANT_HOME}"
|
|
||||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
|
||||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
|
||||||
)
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-beanshell && \
|
|
||||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
|
||||||
|
|
||||||
use libreoffice_extensions_scripting-javascript && \
|
|
||||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
|
|
||||||
fi
|
|
||||||
|
|
||||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
|
||||||
|
|
||||||
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
|
||||||
# bug 501508, bug 540624, bug 545974 and probably more
|
|
||||||
addpredict /dev/dri
|
|
||||||
addpredict /dev/ati
|
|
||||||
addpredict /dev/nvidiactl
|
|
||||||
|
|
||||||
local target
|
|
||||||
use test && target="build" || target="build-nocheck"
|
|
||||||
|
|
||||||
# this is not a proper make script
|
|
||||||
make ${target} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
make unitcheck || die
|
|
||||||
make slowcheck || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# This is not Makefile so no buildserver
|
|
||||||
emake DESTDIR="${D}" distro-pack-install -o build -o check
|
|
||||||
|
|
||||||
# bug 593514
|
|
||||||
if use gtk; then
|
|
||||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
|
||||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
|
||||||
fi
|
|
||||||
|
|
||||||
# bash completion aliases
|
|
||||||
bashcomp_alias \
|
|
||||||
libreoffice \
|
|
||||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
|
||||||
|
|
||||||
if use branding; then
|
|
||||||
insinto /usr/$(get_libdir)/${PN}/program
|
|
||||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
|
||||||
dodir /etc/env.d
|
|
||||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST eix-0.34.4.tar.xz 628516 BLAKE2B 0c7cb4d7cd13d7715ba35cc0edd38e549fd1d1618bfdcacb272ee8325a844276a6df59a701ab2b4ecc693e5dad2d95c96c000e96eb8bce72709baf22f3fa490f SHA512 a96714fba8324529bf63de63f9eb11cc76da05e3d43c5eedad49079b6e3a1960376bd5d3bc116dba49bc7f694c7588741e518438936abd4b37edfe0a097ecd3d
|
DIST eix-0.34.4.tar.xz 628516 BLAKE2B 0c7cb4d7cd13d7715ba35cc0edd38e549fd1d1618bfdcacb272ee8325a844276a6df59a701ab2b4ecc693e5dad2d95c96c000e96eb8bce72709baf22f3fa490f SHA512 a96714fba8324529bf63de63f9eb11cc76da05e3d43c5eedad49079b6e3a1960376bd5d3bc116dba49bc7f694c7588741e518438936abd4b37edfe0a097ecd3d
|
||||||
DIST eix-0.34.5.tar.xz 629276 BLAKE2B fe686512e5061bdbc8e499542972f2a3e65e672b111c8d4d8c22b093c65fcf02e4de8ad41805b69fe52c0d962f660c787a7a2639341cd8fd59d03c94c2601b79 SHA512 b11744ea36c0771e4959de4925b3d74df8c270633a21c82ff27f4c91cc5a9281a85a594f0d20d5eb5c3c15a6c08e74232030687cc85f588545216438dc4ff7d7
|
DIST eix-0.34.5.tar.xz 629276 BLAKE2B fe686512e5061bdbc8e499542972f2a3e65e672b111c8d4d8c22b093c65fcf02e4de8ad41805b69fe52c0d962f660c787a7a2639341cd8fd59d03c94c2601b79 SHA512 b11744ea36c0771e4959de4925b3d74df8c270633a21c82ff27f4c91cc5a9281a85a594f0d20d5eb5c3c15a6c08e74232030687cc85f588545216438dc4ff7d7
|
||||||
|
DIST eix-0.34.6.tar.xz 629424 BLAKE2B bad7bc0e9d0bb3752c1e4df4e267e3782b43b15445d0a6cb9554bff6811556edcb244deeacef5189477bb4bbf37a200e687dfa15677117766378cdb5ec40d9f1 SHA512 b9cae0c3be4ede9563da4d4eda61e26c83de449c27d5048e6611164ee2513d0ad729cfa3622ef74c5b1a77d12ac2ea8f7e7ae029d7cf04efae31ef054375eb78
|
||||||
|
@ -0,0 +1,102 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools bash-completion-r1 flag-o-matic tmpfiles
|
||||||
|
|
||||||
|
DESCRIPTION="Search and query ebuilds"
|
||||||
|
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||||
|
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="debug doc nls sqlite"
|
||||||
|
|
||||||
|
BOTHDEPEND="nls? ( virtual/libintl )
|
||||||
|
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||||
|
RDEPEND="${BOTHDEPEND}
|
||||||
|
>=app-shells/push-2.0-r1
|
||||||
|
>=app-shells/quoter-3.0_p2-r1"
|
||||||
|
DEPEND="${BOTHDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
nls? ( sys-devel/gettext )"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# remove stale cache file to prevent collisions
|
||||||
|
local old_cache=${EROOT}/var/cache/${PN}
|
||||||
|
if [[ -f ${old_cache} ]]; then
|
||||||
|
rm "${old_cache}" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||||
|
|
||||||
|
sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \
|
||||||
|
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \
|
||||||
|
-i src/eix-functions.sh.in || die
|
||||||
|
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \
|
||||||
|
-i src/Makefile.am || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
$(use_enable debug paranoic-asserts)
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_with doc extra-doc)
|
||||||
|
$(use_with sqlite)
|
||||||
|
--without-protobuf
|
||||||
|
|
||||||
|
# default configuration
|
||||||
|
$(use_with prefix always-accept-keywords)
|
||||||
|
--with-dep-default
|
||||||
|
--with-required-use-default
|
||||||
|
|
||||||
|
# paths
|
||||||
|
--with-portage-rootpath="${ROOTPATH}"
|
||||||
|
--with-eprefix-default="${EPREFIX}"
|
||||||
|
|
||||||
|
# build a single executable with symlinks
|
||||||
|
--disable-separate-binaries
|
||||||
|
--disable-separate-tools
|
||||||
|
|
||||||
|
# used purely to control/disrespect *FLAGS
|
||||||
|
--disable-debugging
|
||||||
|
--disable-new_dialect
|
||||||
|
--disable-optimization
|
||||||
|
--disable-strong-optimization
|
||||||
|
--disable-security
|
||||||
|
--disable-nopie-security
|
||||||
|
--disable-strong-security
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dobashcomp bash/eix
|
||||||
|
dotmpfiles tmpfiles.d/eix.conf
|
||||||
|
|
||||||
|
rm -r "${ED}"/usr/bin/eix-functions.sh || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
tmpfiles_process eix.conf
|
||||||
|
|
||||||
|
local obs=${EROOT}/var/cache/eix.previous
|
||||||
|
if [[ -f ${obs} ]]; then
|
||||||
|
ewarn "Found obsolete ${obs}, please remove it"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||||
|
rm -rf "${EROOT}/var/cache/${PN}" || die
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
PYTHON_COMPAT=( python3_{6..9} pypy3 )
|
||||||
|
PYTHON_REQ_USE='threads(+)'
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Stand-alone Manifest generation & verification tool"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/gemato"
|
||||||
|
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="+gpg tools"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
gpg? (
|
||||||
|
>=app-crypt/gnupg-2.2.20-r1
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
>=app-crypt/gnupg-2.2.20-r1
|
||||||
|
>=dev-python/pytest-5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/responses[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
if use tools; then
|
||||||
|
exeinto /usr/share/gemato
|
||||||
|
doexe utils/*.{bash,py}
|
||||||
|
fi
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST pgo-0.0.2.tar.gz 1758457 BLAKE2B b31b9c2d200fb925390881019b9c540e8c95454874fa60a8829b73000d27ed470686dd7150d8cdcc7267a7329fcb6883d7f9eee27c622c91c36cfb6648bdda56 SHA512 36435813dee1d6256888e3f845b0bd053d9b58ed1c810f7368e935ac8e58f209956b8d3b0cff5cca464d76d8cebe3f483dba692a47c2785dc626842a30758554
|
DIST pgo-0.0.2.tar.gz 1758457 BLAKE2B b31b9c2d200fb925390881019b9c540e8c95454874fa60a8829b73000d27ed470686dd7150d8cdcc7267a7329fcb6883d7f9eee27c622c91c36cfb6648bdda56 SHA512 36435813dee1d6256888e3f845b0bd053d9b58ed1c810f7368e935ac8e58f209956b8d3b0cff5cca464d76d8cebe3f483dba692a47c2785dc626842a30758554
|
||||||
|
DIST pgo-0.0.3.tar.gz 1759259 BLAKE2B 9a6be02078d9ff44311fef72e01316a6f5ff896b84c4a2bdd28137f3840a1082f33286682abf28ea95f8cbc8a87be1b4f86895139678602d907cff3347c99e68 SHA512 6f26773cd5fa5277277172f2ff127cd5383908e8bcb8f5ea5aaae01b07ce33c71dcba08e3607c08adad50721c3de33f6e1b9a160134e8dbcebb8a9b38b77d650
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/arzano/pgo"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/arzano/pgo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="A command line interface for packages.gentoo.org"
|
||||||
|
HOMEPAGE="https://github.com/arzano/pgo"
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
env GOBIN="${S}/bin" go build -mod=vendor || die "compile failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin pgo
|
||||||
|
}
|
@ -1,6 +1,2 @@
|
|||||||
DIST portpeek-2.1.27.tar.gz 13000 BLAKE2B a134d7c9a99dc4bfd8cbd56343a6d049c215eadde745f1db6af234c5b561f916f2bf3393a8a01ae44ea4a74bd501b46abdd150cd1403d5254d70c12ad7d7545f SHA512 aeaf47cd5701531c0488709ac63cf38faacec73dafbc96502c34cf279051679242f63bb452fcf14c1b739d08821981e59af3734f4795905d7af31dcaa95f26d2
|
|
||||||
DIST portpeek-2.1.29.tar.gz 13067 BLAKE2B c0385849738303a3fab8123f6af321bd000f88975b26d363c08aacf873b657b872a898af92a0396f1e3060b5b804fc9f2ddd8579101d2f5da18628080dc4e490 SHA512 3933b39c248e3758d67e0c1dd04cb93727eecbda4ae35d55fc266d01f01d7f87c535701cbc54d48a212e1c642a4447d487f2c62aa649f084e1d1fca458263b27
|
|
||||||
DIST portpeek-3.0.1.tar.gz 12906 BLAKE2B bca14b3d1c82b270a5418ca3ff1e5422a16251bd5d7ef775311c9bf86cbb3b5c1304c688c0631247aa1e6f479d5e7eb5313c83fac5a9e197dc70bda6aa48b569 SHA512 8e0d71d71afb6b6d990e88f3c212a7e999b544cdc7a06d44cadb59ae3b70849fbbd864d855f014bb4090a031efc0713c84dc2a3079e37ab8967e546c8d165394
|
|
||||||
DIST portpeek-3.1.3.tar.gz 13698 BLAKE2B 67b37e4e02a178076bfa57da850eff7cdf2664e34ffbe287daa92b5db924d17f486eae078b7d09e497a2a6e21588134e8167d113d6181d9b3760ba7e20fa6635 SHA512 31d85e9d8c742409a7429695dd73a49da6d4b3fce67716b2e8ea766df95e130e16ef5cc05c4cd27278d51956e9b78fd17eadbf615da1e237a15e0649dba6b5e2
|
|
||||||
DIST portpeek-3.1.4.tar.gz 13703 BLAKE2B 9afba0c81e63761160182aaea5f505e640867936e0ac982bfff15dc7c8ae201eede211e04f29b832d8989f9b0e63789234fab08c9cb073ea0d4c7fa96d87d90e SHA512 aae4d79d32c6a8c0bdcce83e3ea67235007db96cc3655e26861b11431bea1e7ac3cf90bed12d3f79cb354381f0590ed0b409c2c7593717ada8b2bf8d8ae4de37
|
DIST portpeek-3.1.4.tar.gz 13703 BLAKE2B 9afba0c81e63761160182aaea5f505e640867936e0ac982bfff15dc7c8ae201eede211e04f29b832d8989f9b0e63789234fab08c9cb073ea0d4c7fa96d87d90e SHA512 aae4d79d32c6a8c0bdcce83e3ea67235007db96cc3655e26861b11431bea1e7ac3cf90bed12d3f79cb354381f0590ed0b409c2c7593717ada8b2bf8d8ae4de37
|
||||||
DIST portpeek-3.1.5.tar.gz 13501 BLAKE2B a22b039e77d3c72c0cfd71e6abb097ed7aa6f0d4b00bb3c4108bda2980ceceedb21d75eb630cbc8eba2d842fd4cbd77c6e8e54c4c842351d2fb86251abbca522 SHA512 8245e40f9a2fada1919583a67de13ba2b6c111c85c9fd0a02e9177e188e2d8edc42882685399f4c61206d4414d4a8296e93d51d4c45ddac0fc968be43a13c639
|
DIST portpeek-3.1.5.tar.gz 13501 BLAKE2B a22b039e77d3c72c0cfd71e6abb097ed7aa6f0d4b00bb3c4108bda2980ceceedb21d75eb630cbc8eba2d842fd4cbd77c6e8e54c4c842351d2fb86251abbca522 SHA512 8245e40f9a2fada1919583a67de13ba2b6c111c85c9fd0a02e9177e188e2d8edc42882685399f4c61206d4414d4a8296e93d51d4c45ddac0fc968be43a13c639
|
||||||
|
@ -1,30 +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} )
|
|
||||||
|
|
||||||
inherit python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
|
||||||
HOMEPAGE="https://www.mpagano.com/blog/?page_id=3"
|
|
||||||
SRC_URI="https://www.mpagano.com/downloads/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm ~arm64 ppc sparc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=app-portage/gentoolkit-0.4.7
|
|
||||||
|| (
|
|
||||||
>=sys-apps/portage-2.3.85[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl python_doscript ${PN}
|
|
||||||
doman *.[0-9]
|
|
||||||
}
|
|
@ -1,30 +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} )
|
|
||||||
|
|
||||||
inherit python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
|
||||||
HOMEPAGE="https://www.mpagano.com/blog/?page_id=3"
|
|
||||||
SRC_URI="https://www.mpagano.com/downloads/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=app-portage/gentoolkit-0.4.8
|
|
||||||
|| (
|
|
||||||
>=sys-apps/portage-2.3.99[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl python_doscript ${PN}
|
|
||||||
doman *.[0-9]
|
|
||||||
}
|
|
@ -1,30 +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} )
|
|
||||||
|
|
||||||
inherit python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
|
||||||
HOMEPAGE="https://www.mpagano.com/blog/?page_id=3"
|
|
||||||
SRC_URI="https://www.mpagano.com/downloads/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=app-portage/gentoolkit-0.4.8
|
|
||||||
|| (
|
|
||||||
>=sys-apps/portage-3.0.0[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl python_doscript ${PN}
|
|
||||||
doman *.[0-9]
|
|
||||||
}
|
|
@ -1,30 +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} )
|
|
||||||
|
|
||||||
inherit python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
|
||||||
HOMEPAGE="https://www.mpagano.com/blog/?page_id=3"
|
|
||||||
SRC_URI="https://www.mpagano.com/downloads/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
>=app-portage/gentoolkit-0.4.8
|
|
||||||
|| (
|
|
||||||
>=sys-apps/portage-3.0.0[${PYTHON_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl python_doscript ${PN}
|
|
||||||
doman *.[0-9]
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST pg_activity-1.5.0.tar.gz 92392 BLAKE2B ffe39f602773e0e63ca9bc8a5c96a5dad6a0862aa622b7bf4f3073d869c33bf6e4b79a152a3c956e780d70852aaedf3172a693536436ecbbf89e6943e41ba654 SHA512 01e3d2a1f0c839e40d1da79197dd8a405dee302d46495b972f11e3672e52becceb6211cccc6e1a5c711ca36247dcead6e959435d5f4eb1735556073b6c834904
|
DIST pg_activity-1.6.1.tar.gz 127376 BLAKE2B 4e9c055c2b7d7eb78ee735124284d4d34c70a067011c2bdd3d960a7e2ff59cb799fb4a3ec1a51d7ebd0e921f5d46e85a28625d3a1a7efc281fc751702f2b58b6 SHA512 4a67443521afe88283315be1c2b3d3f19df3cb2cb3e4e059149775f5dd45925dbab8bd34525878ac883f8d007da08fbdfe3d23db9a6e1f17a4af4aa9b9c96338
|
||||||
|
Binary file not shown.
@ -1,15 +0,0 @@
|
|||||||
Avoid 'cp -u' as it's not portable.
|
|
||||||
|
|
||||||
In this case we can unconditionally copy files.
|
|
||||||
|
|
||||||
Reported-by: Michał Górny
|
|
||||||
Bug: https://bugs.gentoo.org/655444
|
|
||||||
diff --git a/doc/Makefile.in b/doc/Makefile.in
|
|
||||||
index 261a791..bc9da1e 100644
|
|
||||||
--- a/doc/Makefile.in
|
|
||||||
+++ b/doc/Makefile.in
|
|
||||||
@@ -28,3 +28,3 @@ RM_RF = rm -rf
|
|
||||||
CP_F = cp -f
|
|
||||||
-CP_UF = cp -ufv
|
|
||||||
+CP_UF = cp -fv
|
|
||||||
|
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST c-blosc-1.11.2.tar.gz 633280 BLAKE2B 426de12ffa0db784fc26316e5758836517f3b3498111cfea64ebd2bc4582ebc6236f64845d41e75db272d3741ab8a7f22a12e0847fb7c98ba10a3ae2c2906e22 SHA512 c1282f60f4ef9d24844be225587e7f46c43ba8a5071f5ee49a7326bce9e84b65312c4f9606e78fd3d1209a4ca50f1c31312a7c377caf9522c9915177c92a4d7b
|
DIST c-blosc-1.11.2.tar.gz 633280 BLAKE2B 426de12ffa0db784fc26316e5758836517f3b3498111cfea64ebd2bc4582ebc6236f64845d41e75db272d3741ab8a7f22a12e0847fb7c98ba10a3ae2c2906e22 SHA512 c1282f60f4ef9d24844be225587e7f46c43ba8a5071f5ee49a7326bce9e84b65312c4f9606e78fd3d1209a4ca50f1c31312a7c377caf9522c9915177c92a4d7b
|
||||||
DIST c-blosc-1.19.0.tar.gz 875356 BLAKE2B 046134e10fec639f1271d9c7cc15dcd239f9f0875f7ad324144338072e6fa006612f7d154ccde11a5dd7ee60471380aab4a60ae332cf1de4a7b773ae354c494a SHA512 15bc009f8880630c531ccd36544869d59b69d21f10c08eebf3c2983d203697429649a1b56b044e28342ec620c6f5850ee9da783005ce83f23e783f091289498c
|
DIST c-blosc-1.19.0.tar.gz 875356 BLAKE2B 046134e10fec639f1271d9c7cc15dcd239f9f0875f7ad324144338072e6fa006612f7d154ccde11a5dd7ee60471380aab4a60ae332cf1de4a7b773ae354c494a SHA512 15bc009f8880630c531ccd36544869d59b69d21f10c08eebf3c2983d203697429649a1b56b044e28342ec620c6f5850ee9da783005ce83f23e783f091289498c
|
||||||
DIST c-blosc-1.20.0.tar.gz 878891 BLAKE2B 742619a5de9696646f8c434f25e736dc3662b8215c6397d9e23f7f86ae6df78c014c8b23bfa1cada72f31b99d81b6c9d99eeb28189c529fe692b88f95da1d67a SHA512 b3da9970542c389fce4acb6ffb866c066dfbf542fadb21ed3d6a7688f9cccf89425ccdc9253a1f7172eced224ff27b78be0c9ce111b4b69ec303a61fb7c1bc10
|
DIST c-blosc-1.20.0.tar.gz 878891 BLAKE2B 742619a5de9696646f8c434f25e736dc3662b8215c6397d9e23f7f86ae6df78c014c8b23bfa1cada72f31b99d81b6c9d99eeb28189c529fe692b88f95da1d67a SHA512 b3da9970542c389fce4acb6ffb866c066dfbf542fadb21ed3d6a7688f9cccf89425ccdc9253a1f7172eced224ff27b78be0c9ce111b4b69ec303a61fb7c1bc10
|
||||||
|
DIST c-blosc-1.20.1.tar.gz 878895 BLAKE2B 54f91ffc0b270f8bc8ace8893c01ab6847096397f76b31c5adf0516903cee29d867973317de5d016807837ac098b170542c0b8e702d386bf9166de31863f6eab SHA512 59f83dfb3f0db6530daeae699f0915d6c8a7186cea1fe2face7110f5c94c2e8ccc12eb0078de968552b6ac32163b2ec6fb19b79966d2c85574a2676b454f5475
|
||||||
|
@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Blocking, shuffling and lossless compression library"
|
||||||
|
HOMEPAGE="https://www.blosc.org/"
|
||||||
|
SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/1"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="+lz4 +snappy test zlib zstd"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
lz4? ( >=app-arch/lz4-1.7.5:= )
|
||||||
|
snappy? ( app-arch/snappy )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
zstd? ( app-arch/zstd )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
# remove bundled libs
|
||||||
|
rm -rf internal-complibs || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_STATIC=OFF
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
-DBUILD_BENCHMARKS=OFF
|
||||||
|
-DBUILD_FUZZERS=OFF
|
||||||
|
-DDEACTIVATE_LZ4=$(usex !lz4)
|
||||||
|
-DDEACTIVATE_SNAPPY=$(usex !snappy)
|
||||||
|
-DDEACTIVATE_ZLIB=$(usex !zlib)
|
||||||
|
-DDEACTIVATE_ZSTD=$(usex !zstd)
|
||||||
|
-DPREFER_EXTERNAL_LZ4=ON
|
||||||
|
# snappy is always external
|
||||||
|
-DPREFER_EXTERNAL_ZLIB=ON
|
||||||
|
-DPREFER_EXTERNAL_ZSTD=ON
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST ell-0.28.tar.xz 474880 BLAKE2B 2c571f952056c9f4e3e8c245b2b57645c4baa2935fdbe758170dcfe689f4db2162322f25a80cc5a7d4d5bded6159d1fa0d583be979a2708d32e61e91d1ced585 SHA512 6c3aef4d403878c0c9b8a1e5e8861656f2abbab19dd275b1aecca899ca615c00aee30e18f194435ec6be859adcffbe3703a79b13508e1e76c2192ec51f7c0cd7
|
DIST ell-0.28.tar.xz 474880 BLAKE2B 2c571f952056c9f4e3e8c245b2b57645c4baa2935fdbe758170dcfe689f4db2162322f25a80cc5a7d4d5bded6159d1fa0d583be979a2708d32e61e91d1ced585 SHA512 6c3aef4d403878c0c9b8a1e5e8861656f2abbab19dd275b1aecca899ca615c00aee30e18f194435ec6be859adcffbe3703a79b13508e1e76c2192ec51f7c0cd7
|
||||||
DIST ell-0.31.tar.xz 478860 BLAKE2B f8f8d109605bf62396da001bd3d9b48fd6b7a6fc94ab890ab5a56fc8afb07a216b884fdf4b624ac8f39c3196de8149c7b32790da03262400aac6f8cd8b3fb56b SHA512 e304cc3bb1355fc0671412e793530503c83b1a036bfa3dd5b0cc36cfb28684b780293dc3d81a5727e0030743529882f71ac28d3c735860f6d46477e8ccf6a6e8
|
DIST ell-0.31.tar.xz 478860 BLAKE2B f8f8d109605bf62396da001bd3d9b48fd6b7a6fc94ab890ab5a56fc8afb07a216b884fdf4b624ac8f39c3196de8149c7b32790da03262400aac6f8cd8b3fb56b SHA512 e304cc3bb1355fc0671412e793530503c83b1a036bfa3dd5b0cc36cfb28684b780293dc3d81a5727e0030743529882f71ac28d3c735860f6d46477e8ccf6a6e8
|
||||||
DIST ell-0.32.tar.xz 479012 BLAKE2B 909c63f590ba45e5e9aabf0e7c5ce1c44ee5b5235472071ec16c4e160eddfd38dc5383103a684c4d43e325e832965cdade5d8465990ed4c2a2aa44b52d60869b SHA512 13712ac4ff7165b749b8e2dcd5cad4cd8170600c3dca7304eb4068ee916c1187207bc24ffa5d64c9d33253d4a8f56c63b627ad0783d5ca38d78f625211fdc315
|
DIST ell-0.32.tar.xz 479012 BLAKE2B 909c63f590ba45e5e9aabf0e7c5ce1c44ee5b5235472071ec16c4e160eddfd38dc5383103a684c4d43e325e832965cdade5d8465990ed4c2a2aa44b52d60869b SHA512 13712ac4ff7165b749b8e2dcd5cad4cd8170600c3dca7304eb4068ee916c1187207bc24ffa5d64c9d33253d4a8f56c63b627ad0783d5ca38d78f625211fdc315
|
||||||
|
DIST ell-0.33.tar.xz 490180 BLAKE2B fc0f558a54bd57d7866c77ba3fdd97e0f35c33fd7ca79f6209c097824b303e69924ee9eb758af3a1881e8e87ac3ad84bea20767cd824cb8366a080eacac8b4be SHA512 4f0960b757c5cae55bf46a10aabb52280a76eda2a2d55ecc92f2a1321b72e936cab47102995597e985072d032f10379fdfc4f56360e535eeac444dab8b171ded
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic linux-info multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
|
||||||
|
HOMEPAGE="https://01.org/ell"
|
||||||
|
if [[ "${PV}" == *9999 ]] ; then
|
||||||
|
inherit autotools git-r3
|
||||||
|
EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
fi
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="glib pie test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? ( sys-apps/dbus )
|
||||||
|
"
|
||||||
|
|
||||||
|
CONFIG_CHECK="
|
||||||
|
~TIMERFD
|
||||||
|
~EVENTFD
|
||||||
|
~CRYPTO_USER_API
|
||||||
|
~CRYPTO_USER_API_HASH
|
||||||
|
~CRYPTO_MD5
|
||||||
|
~CRYPTO_SHA1
|
||||||
|
~KEY_DH_OPERATIONS
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
[[ "${PV}" == *9999 ]] && eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
append-cflags "-fsigned-char" #662694
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_enable glib)
|
||||||
|
$(use_enable pie)
|
||||||
|
)
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ChangeLog README )
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
find "${ED}" -name "*.la" -delete || die
|
||||||
|
}
|
@ -1,141 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
GNOME_ORG_MODULE="gamin"
|
|
||||||
GNOME_TARBALL_SUFFIX="bz2"
|
|
||||||
|
|
||||||
inherit autotools eutils flag-o-matic libtool ltprune python-r1 gnome.org multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="Library providing the FAM File Alteration Monitor API"
|
|
||||||
HOMEPAGE="https://www.gnome.org/~veillard/gamin/"
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
mirror://gentoo/gamin-0.1.9-freebsd.patch.bz2
|
|
||||||
https://dev.gentoo.org/~grobian/patches/libgamin-0.1.10-opensolaris.patch.bz2
|
|
||||||
https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" # pkg.m4 for eautoreconf
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
|
||||||
IUSE="debug kernel_linux python static-libs"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
RESTRICT="test" # needs gam-server
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
!app-admin/fam
|
|
||||||
!<app-admin/gamin-0.1.10"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
mv "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
|
|
||||||
|
|
||||||
# Fix QA warnings, bug #257281, upstream #466791
|
|
||||||
epatch "${FILESDIR}"/${PN}-0.1.10-compilewarnings.patch
|
|
||||||
|
|
||||||
if [[ ${CHOST} != *-solaris* ]] ; then
|
|
||||||
# Fix compile warnings; bug #188923
|
|
||||||
epatch "${DISTDIR}"/gamin-0.1.9-freebsd.patch.bz2
|
|
||||||
else
|
|
||||||
# (Open)Solaris necessary patches (changes configure.in), unfortunately
|
|
||||||
# conflicts with freebsd patch and breaks some linux installs so it must
|
|
||||||
# only be applied if on solaris.
|
|
||||||
epatch "${DISTDIR}"/${P}-opensolaris.patch.bz2
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Fix collision problem due to intermediate library, upstream bug #530635
|
|
||||||
epatch "${FILESDIR}"/${PN}-0.1.10-noinst-lib.patch
|
|
||||||
|
|
||||||
# Fix compilation with latest glib, bug #382783
|
|
||||||
epatch "${FILESDIR}/${PN}-0.1.10-G_CONST_RETURN-removal.patch"
|
|
||||||
|
|
||||||
# Fix crosscompilation issues, bug #267604
|
|
||||||
epatch "${FILESDIR}/${PN}-0.1.10-crosscompile-fix.patch"
|
|
||||||
|
|
||||||
# Enable linux specific features on armel, upstream bug #588338
|
|
||||||
epatch "${FILESDIR}/${P}-armel-features.patch"
|
|
||||||
|
|
||||||
# Fix possible server deadlock in ih_sub_cancel, upstream bug #667230
|
|
||||||
epatch "${FILESDIR}/${PN}-0.1.10-deadlock.patch"
|
|
||||||
|
|
||||||
# Drop DEPRECATED flags
|
|
||||||
sed -i -e 's:-DG_DISABLE_DEPRECATED:$(NULL):g' server/Makefile.am || die
|
|
||||||
|
|
||||||
# Build only shared version of Python module.
|
|
||||||
epatch "${FILESDIR}"/${PN}-0.1.10-disable_python_static_library.patch
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
|
||||||
-e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
|
|
||||||
configure.in || die #466962
|
|
||||||
|
|
||||||
# autoconf is required as the user-cflags patch modifies configure.in
|
|
||||||
# however, elibtoolize is also required, so when the above patch is
|
|
||||||
# removed, replace the following call with a call to elibtoolize
|
|
||||||
AT_M4DIR="${WORKDIR}" eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
--disable-debug
|
|
||||||
--disable-server
|
|
||||||
$(use_enable kernel_linux inotify)
|
|
||||||
$(use_enable debug debug-api)
|
|
||||||
--without-python
|
|
||||||
)
|
|
||||||
local ECONF_SOURCE=${S}
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
if multilib_is_native_abi && use python; then
|
|
||||||
python_configure() {
|
|
||||||
mkdir -p "${BUILD_DIR}" || die
|
|
||||||
cd "${BUILD_DIR}" || die
|
|
||||||
econf "${myconf[@]}" --with-python
|
|
||||||
}
|
|
||||||
|
|
||||||
python_foreach_impl python_configure
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if multilib_is_native_abi && use python; then
|
|
||||||
local native_builddir=${BUILD_DIR}
|
|
||||||
|
|
||||||
python_compile() {
|
|
||||||
emake -C "${BUILD_DIR}"/python \
|
|
||||||
VPATH="${native_builddir}/python:${S}/python" \
|
|
||||||
_gamin_la_LIBADD="${native_builddir}/libgamin/libgamin-1.la"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_foreach_impl python_compile
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
if multilib_is_native_abi && use python; then
|
|
||||||
local native_builddir=${BUILD_DIR}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
emake -C "${BUILD_DIR}"/python \
|
|
||||||
DESTDIR="${D}" install \
|
|
||||||
VPATH="${native_builddir}/python:${S}/python"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_foreach_impl python_install
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
dodoc AUTHORS ChangeLog README TODO NEWS doc/*txt
|
|
||||||
dohtml doc/*
|
|
||||||
|
|
||||||
prune_libtool_files --all
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST libxmlb-0.1.15.tar.gz 92923 BLAKE2B 97b6af812397dd279e7e3c038627fcf8228cbfa5c3af91ceeb5361e32d37d357eda6a193f627a5f4442426fb08abca1ff11684fe199d9d3a4add72ca4f3f5d08 SHA512 58268b3a690af36c0923afdee3ae58e88bf778eebbc6a439be1bc85ed985efdc20cd7006c976586f7be87310dc091d67dddd370f4bbec58379fc4e7349bfa3d8
|
DIST libxmlb-0.1.15.tar.gz 92923 BLAKE2B 97b6af812397dd279e7e3c038627fcf8228cbfa5c3af91ceeb5361e32d37d357eda6a193f627a5f4442426fb08abca1ff11684fe199d9d3a4add72ca4f3f5d08 SHA512 58268b3a690af36c0923afdee3ae58e88bf778eebbc6a439be1bc85ed985efdc20cd7006c976586f7be87310dc091d67dddd370f4bbec58379fc4e7349bfa3d8
|
||||||
DIST libxmlb-0.2.0.tar.gz 97521 BLAKE2B 7a47164503b5b682e2bb9d877622a7dcad06d40bf87d6a7cf9e21898d8444e610ba3985d6be8cf65068f0637ee44ef8678610315be2795476b2f5ccaacb098ea SHA512 cff4245a47a942dd37675921ba753858a3ee0572500a1cd7291d2a063fa7fa9d9157c167bf33694e4e0204504d7e88fbfd2873c4b9851247d6cdb338c2d587a8
|
DIST libxmlb-0.2.0.tar.gz 97521 BLAKE2B 7a47164503b5b682e2bb9d877622a7dcad06d40bf87d6a7cf9e21898d8444e610ba3985d6be8cf65068f0637ee44ef8678610315be2795476b2f5ccaacb098ea SHA512 cff4245a47a942dd37675921ba753858a3ee0572500a1cd7291d2a063fa7fa9d9157c167bf33694e4e0204504d7e88fbfd2873c4b9851247d6cdb338c2d587a8
|
||||||
|
DIST libxmlb-0.2.1.tar.gz 98284 BLAKE2B b9bf02560a231837d7837b43f01d8f78c54a80319379a7bfa191f8303b77c35e82d1e2bb57722f1bfe56224d96bd1513cef702a0375eb85a137bff8ca3104c5c SHA512 4e082f036eb62626d1724ac5093ad625f9259e9e81aa40d5ca0589a3a72dadd669c0718ff64dcae094973b6c282b6c8f8ce7212b7e47211f320035bb639ec59d
|
||||||
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||||
|
|
||||||
|
inherit meson python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Library to help create and query binary XML blobs"
|
||||||
|
HOMEPAGE="https://github.com/hughsie/libxmlb"
|
||||||
|
SRC_URI="https://github.com/hughsie/libxmlb/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="0/2" # libxmlb.so version
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
IUSE="doc introspection stemmer test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
|
sys-apps/util-linux
|
||||||
|
stemmer? ( dev-libs/snowball-stemmer )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
doc? ( dev-util/gtk-doc )
|
||||||
|
introspection? ( dev-libs/gobject-introspection )
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-util/meson-0.47.0
|
||||||
|
virtual/pkgconfig
|
||||||
|
introspection? (
|
||||||
|
$(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use introspection && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dgtkdoc="$(usex doc true false)"
|
||||||
|
-Dintrospection="$(usex introspection true false)"
|
||||||
|
-Dstemmer="$(usex stemmer true false)"
|
||||||
|
-Dtests="$(usex test true false)"
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST libzip-1.6.1.tar.xz 732932 BLAKE2B 6f63ecb56767b730e5c5639c01e3e050ed64d1c1508b11d4cd1c75e2834988e14140a5e49ba25454d77c40c59b101615a9e00823066a35eaca0519147a75f5e6 SHA512 dcf3790933c95f66bdcbdb276497b36e57776103b0b1064a94479e84eaa0a09df8dd91509cb4ccab3a6724f0650f076ca1e332d73acc94b653e99a3e94a64574
|
|
||||||
DIST libzip-1.7.3.tar.xz 747372 BLAKE2B c0fbdcd5f5592b0aa828c47b6d90c4c84addfb037cd3280195ab83ebc9d586a6de32d833774175a24e0c6fed55b7d9e47931867721e6e7be7e61d8e5bec2dc9d SHA512 488866348a0c859f6f995c50e956bd51b4105278f07b63fe019cb44ab36c09ef958cc0684fd5444c474d83874b999e8ed1aa9b2da51b74caa37bbe7934b9c870
|
DIST libzip-1.7.3.tar.xz 747372 BLAKE2B c0fbdcd5f5592b0aa828c47b6d90c4c84addfb037cd3280195ab83ebc9d586a6de32d833774175a24e0c6fed55b7d9e47931867721e6e7be7e61d8e5bec2dc9d SHA512 488866348a0c859f6f995c50e956bd51b4105278f07b63fe019cb44ab36c09ef958cc0684fd5444c474d83874b999e8ed1aa9b2da51b74caa37bbe7934b9c870
|
||||||
|
@ -1,109 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake multibuild
|
|
||||||
|
|
||||||
DESCRIPTION="Library for manipulating zip archives"
|
|
||||||
HOMEPAGE="https://nih.at/libzip/"
|
|
||||||
SRC_URI="https://www.nih.at/libzip/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/5"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
|
|
||||||
IUSE="bzip2 doc gnutls libressl lzma mbedtls ssl static-libs test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
sys-libs/zlib
|
|
||||||
bzip2? ( app-arch/bzip2:= )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
ssl? (
|
|
||||||
gnutls? (
|
|
||||||
dev-libs/nettle:0=
|
|
||||||
>=net-libs/gnutls-3.6.5:=
|
|
||||||
)
|
|
||||||
!gnutls? (
|
|
||||||
mbedtls? ( net-libs/mbedtls:= )
|
|
||||||
!mbedtls? (
|
|
||||||
!libressl? ( dev-libs/openssl:0= )
|
|
||||||
libressl? ( dev-libs/libressl:0= )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# Upstream doesn't support building dynamic & static
|
|
||||||
# simultaneously: https://github.com/nih-at/libzip/issues/76
|
|
||||||
MULTIBUILD_VARIANTS=( shared $(usev static-libs) )
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
myconfigure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_EXAMPLES=OFF # nothing is installed
|
|
||||||
-DENABLE_COMMONCRYPTO=OFF # not in tree
|
|
||||||
-DENABLE_BZIP2=$(usex bzip2)
|
|
||||||
-DENABLE_LZMA=$(usex lzma)
|
|
||||||
)
|
|
||||||
if [[ ${MULTIBUILD_VARIANT} = static-libs ]]; then
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DBUILD_DOC=OFF
|
|
||||||
-DBUILD_EXAMPLES=OFF
|
|
||||||
-DBUILD_SHARED_LIBS=OFF
|
|
||||||
-DBUILD_TOOLS=OFF
|
|
||||||
)
|
|
||||||
else
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DBUILD_DOC=$(usex doc)
|
|
||||||
-DBUILD_REGRESS=$(usex test)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ssl; then
|
|
||||||
if use gnutls; then
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DENABLE_GNUTLS=$(usex gnutls)
|
|
||||||
-DENABLE_MBEDTLS=OFF
|
|
||||||
-DENABLE_OPENSSL=OFF
|
|
||||||
)
|
|
||||||
elif use mbedtls; then
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DENABLE_GNUTLS=OFF
|
|
||||||
-DENABLE_MBEDTLS=$(usex mbedtls)
|
|
||||||
-DENABLE_OPENSSL=OFF
|
|
||||||
)
|
|
||||||
else
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DENABLE_GNUTLS=OFF
|
|
||||||
-DENABLE_MBEDTLS=OFF
|
|
||||||
-DENABLE_OPENSSL=ON
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DENABLE_GNUTLS=OFF
|
|
||||||
-DENABLE_MBEDTLS=OFF
|
|
||||||
-DENABLE_OPENSSL=OFF
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multibuild_foreach_variant myconfigure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
multibuild_foreach_variant cmake_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
[[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
multibuild_foreach_variant cmake_src_install
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST redland-bindings-1.0.14.1.tar.gz 792557 BLAKE2B fac20e9e2fbf9a4ea7299ef0b4a656ea3e5f1cbf436cd31c80e81be40dc95e074e557925b32ecf24091ce3cfe882d681318ae8402e14baf1e0966ec8a0a892ed SHA512 5e037a96f857c95bf4b9277d98c7de1fa41c4ba7e49e199eeb516458343587c796a10e857679c889406b22bca8617828a2bccd07c31b73f2366cdea39cefad15
|
|
||||||
DIST redland-bindings-1.0.17.1.tar.gz 933290 BLAKE2B f58524c30958200af1fb3ec0f63b8aa9f3fd2120297321299cdd225ff9eb331f385c4418ed25987b955857e5046b5c6f0589210b807aae0dc6abe0b758d48cfc SHA512 c105d1232555d226d98efdc1e4edc1b6c953fdd004804e40926452b8f91d30159319a50af68fc3cfe242cf180d85383ef3ff925cc65ed5d0652096cc51f4d7c0
|
DIST redland-bindings-1.0.17.1.tar.gz 933290 BLAKE2B f58524c30958200af1fb3ec0f63b8aa9f3fd2120297321299cdd225ff9eb331f385c4418ed25987b955857e5046b5c6f0589210b807aae0dc6abe0b758d48cfc SHA512 c105d1232555d226d98efdc1e4edc1b6c953fdd004804e40926452b8f91d30159319a50af68fc3cfe242cf180d85383ef3ff925cc65ed5d0652096cc51f4d7c0
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
diff -aurN a/configure.ac b/configure.ac
|
|
||||||
--- a/configure.ac 2014-05-10 18:38:09.000000000 -0400
|
|
||||||
+++ b/configure.ac 2016-10-12 14:27:04.635849601 -0400
|
|
||||||
@@ -153,13 +153,17 @@
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
+AC_ARG_WITH([php-config],
|
|
||||||
+ AS_HELP_STRING([--with-php-config=path], [Custom path to php-config]))
|
|
||||||
+AS_IF([test "x$with_php_config" != "x"],
|
|
||||||
+ [AC_CHECK_PROG(PHP_CONFIG, php-config, ["$with_php_config/php-config"], [], [$with_php_config])],
|
|
||||||
+ [AC_CHECK_PROG(PHP_CONFIG, php-config, php-config)])
|
|
||||||
|
|
||||||
-AC_CHECK_PROG(PHP_CONFIG, php-config, php-config)
|
|
||||||
if test "X$PHP_CONFIG" != X ; then
|
|
||||||
|
|
||||||
- PHP_VERSION=`$PHP_CONFIG --version`
|
|
||||||
- PHP_INCLUDES=`$PHP_CONFIG --includes`
|
|
||||||
- PHP_EXTENSION_DIR=`$PHP_CONFIG --extension-dir`
|
|
||||||
+ PHP_VERSION=`${PHP_CONFIG} --version`
|
|
||||||
+ PHP_INCLUDES=`${PHP_CONFIG} --includes`
|
|
||||||
+ PHP_EXTENSION_DIR=`${PHP_CONFIG} --extension-dir`
|
|
||||||
|
|
||||||
if test $PHP_VERSION '>' 5.0.0; then
|
|
||||||
PHP_SWIG="-php5"
|
|
||||||
@@ -445,7 +449,7 @@
|
|
||||||
with_php=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
-PHP_VERSION=`php-config --version 2>/dev/null`
|
|
||||||
+PHP_VERSION=`${PHP_CONFIG} --version 2>/dev/null`
|
|
||||||
if test "X$PHP_VERSION" != X; then
|
|
||||||
languages_available="$languages_available php($PHP_VERSION)"
|
|
||||||
if test $with_php = yes; then
|
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit multilib python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Language bindings for Redland"
|
|
||||||
HOMEPAGE="http://librdf.org/bindings/"
|
|
||||||
SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-linux"
|
|
||||||
IUSE="lua perl python php ruby"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/redland-1.0.14
|
|
||||||
lua? ( >=dev-lang/lua-5.1:0 )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
php? ( dev-lang/php:* )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
ruby? ( dev-lang/ruby:* dev-ruby/log4r )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=dev-lang/swig-2
|
|
||||||
sys-apps/sed"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with lua) \
|
|
||||||
$(use_with perl) \
|
|
||||||
$(use_with python) \
|
|
||||||
$(use_with php) \
|
|
||||||
$(use_with ruby)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" INSTALLDIRS=vendor luadir=/usr/$(get_libdir)/lua/5.1 install
|
|
||||||
|
|
||||||
if use perl; then
|
|
||||||
find "${ED}" -type f -name perllocal.pod -delete
|
|
||||||
find "${ED}" -depth -mindepth 1 -type d -empty -delete
|
|
||||||
fi
|
|
||||||
use python && python_optimize
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
|
||||||
dohtml {NEWS,README,RELEASE,TODO}.html
|
|
||||||
}
|
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
|
|
||||||
|
|
||||||
USE_PHP="php7-2 php7-3 php7-4"
|
|
||||||
PHP_EXT_NAME="redland"
|
|
||||||
PHP_EXT_OPTIONAL_USE="php"
|
|
||||||
PHP_EXT_SKIP_PHPIZE="yes"
|
|
||||||
|
|
||||||
inherit php-ext-source-r3 python-single-r1 autotools
|
|
||||||
|
|
||||||
DESCRIPTION="Language bindings for Redland"
|
|
||||||
HOMEPAGE="http://librdf.org/bindings/"
|
|
||||||
SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
|
|
||||||
IUSE="lua perl python php ruby"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/redland-1.0.14
|
|
||||||
lua? ( >=dev-lang/lua-5.1 )
|
|
||||||
perl? ( dev-lang/perl:= )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
ruby? ( dev-lang/ruby dev-ruby/log4r )
|
|
||||||
php? (
|
|
||||||
php_targets_php7-2? ( dev-lang/php:7.2[-threads] )
|
|
||||||
php_targets_php7-3? ( dev-lang/php:7.3[-threads] )
|
|
||||||
php_targets_php7-4? ( dev-lang/php:7.4[-threads] )
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=dev-lang/swig-2
|
|
||||||
sys-apps/sed"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-bool.patch" )
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
if use php ; then
|
|
||||||
local slot
|
|
||||||
for slot in $(php_get_slots); do
|
|
||||||
php_init_slot_env "${slot}"
|
|
||||||
eapply "${FILESDIR}/${P}-php-config.patch"
|
|
||||||
eautoreconf
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
if use lua || use perl || use python || use ruby ; then
|
|
||||||
econf \
|
|
||||||
$(use_with lua) \
|
|
||||||
$(use_with perl) \
|
|
||||||
$(use_with python) \
|
|
||||||
--without-php \
|
|
||||||
$(use_with ruby)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use php ; then
|
|
||||||
local slot
|
|
||||||
for slot in $(php_get_slots); do
|
|
||||||
php_init_slot_env "${slot}"
|
|
||||||
econf --with-php="${PHP_CURRENTSLOT}" \
|
|
||||||
--with-php-config="${PHPPREFIX}/bin" \
|
|
||||||
--without-lua --without-perl \
|
|
||||||
--without-python --without-ruby
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if use lua || use perl || use python || use ruby ; then
|
|
||||||
default
|
|
||||||
fi
|
|
||||||
use php && php-ext-source-r3_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use lua || use perl || use python || use ruby ; then
|
|
||||||
emake DESTDIR="${D}" INSTALLDIRS=vendor luadir=/usr/$(get_libdir)/lua/5.1 install
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use perl; then
|
|
||||||
find "${ED}" -type f -name perllocal.pod -delete
|
|
||||||
find "${ED}" -depth -mindepth 1 -type d -empty -delete
|
|
||||||
fi
|
|
||||||
use python && python_optimize
|
|
||||||
|
|
||||||
if use php ; then
|
|
||||||
local slot
|
|
||||||
for slot in $(php_get_slots); do
|
|
||||||
php_init_slot_env "${slot}"
|
|
||||||
exeinto "${EXT_DIR#$EPREFIX}"
|
|
||||||
doexe "php/${PHP_EXT_NAME}.so"
|
|
||||||
done
|
|
||||||
php-ext-source-r3_createinifiles
|
|
||||||
fi
|
|
||||||
local DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
|
||||||
local HTML_DOCS=( {NEWS,README,RELEASE,TODO}.html )
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=PMISON
|
||||||
|
DIST_VERSION=0.22
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Determine file type using magic"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/perl-IO-0.10.0
|
||||||
|
"
|
||||||
|
DEPEND="dev-perl/Module-Build"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
>=dev-perl/Module-Build-0.280.0
|
||||||
|
test? (
|
||||||
|
>=virtual/perl-Test-Simple-0.10.0
|
||||||
|
)
|
||||||
|
"
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=PLICEASE
|
||||||
|
DIST_VERSION=1.23
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Perl module implementing 'which' internally"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="test pwhich"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
# Was part of File::Which, but depends on File::Which
|
||||||
|
# so this keeps legacy integrity in place.
|
||||||
|
PDEPEND="pwhich? ( dev-perl/App-pwhich )"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/perl-ExtUtils-MakeMaker
|
||||||
|
test? ( >=virtual/perl-Test-Simple-0.470.0 )
|
||||||
|
"
|
@ -1 +1,2 @@
|
|||||||
DIST File-Which-1.22.tar.gz 21685 BLAKE2B ec2ecbdaf9e5f25e2d8928611a63438b0f2372f46c400159fcb3276ec8f03a244feed36d388bf89ca0abf3f844736b25abd6fed49d80e325e22a763c1980df1e SHA512 9efd8cc6d08e82a429ab3b0ec5193cb894432311338dc4cdcb73b4536a40bf4829c414e75e5dcb0d03b9190511b232f1d27e441657afa7299b0a5b882877f2d1
|
DIST File-Which-1.22.tar.gz 21685 BLAKE2B ec2ecbdaf9e5f25e2d8928611a63438b0f2372f46c400159fcb3276ec8f03a244feed36d388bf89ca0abf3f844736b25abd6fed49d80e325e22a763c1980df1e SHA512 9efd8cc6d08e82a429ab3b0ec5193cb894432311338dc4cdcb73b4536a40bf4829c414e75e5dcb0d03b9190511b232f1d27e441657afa7299b0a5b882877f2d1
|
||||||
|
DIST File-Which-1.23.tar.gz 23293 BLAKE2B 8a02bcdb27c052a344297c70cfea6b944ba004bdca9680d910cfd7b7ed30acae6365e13e00bab325254042cd8754da9557ee4cfab9d2291e5c505cff7e1662f3 SHA512 73c48642f448abdab2a3cf39409db50bb311cbd7ea352f5dc70f6e97296d9b09ab7e1738482864aa7f7e300a8f74b19b7ca9949fe3102f61e08fe08c9be2a4ac
|
||||||
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=XENO
|
||||||
|
DIST_VERSION=0.42
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Implements symbolic and ls chmod modes"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
virtual/perl-Carp
|
||||||
|
virtual/perl-Exporter
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
virtual/perl-ExtUtils-MakeMaker
|
||||||
|
test? (
|
||||||
|
virtual/perl-File-Spec
|
||||||
|
virtual/perl-File-Temp
|
||||||
|
virtual/perl-IO
|
||||||
|
virtual/perl-Test-Simple
|
||||||
|
virtual/perl-autodie
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PERL_RM_FILES=(
|
||||||
|
t/author-critic.t
|
||||||
|
t/author-eol.t
|
||||||
|
t/release-cpan-changes.t
|
||||||
|
t/release-dist-manifest.t
|
||||||
|
t/release-meta-json.t
|
||||||
|
t/release-minimum-version.t
|
||||||
|
t/release-pod-coverage.t
|
||||||
|
t/release-pod-syntax.t
|
||||||
|
t/release-portability.t
|
||||||
|
t/release-test-version.t
|
||||||
|
t/release-unused-vars.t
|
||||||
|
)
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=DAGOLDEN
|
||||||
|
DIST_VERSION=1.016
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Change directory temporarily for a limited scope"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
virtual/perl-Carp
|
||||||
|
virtual/perl-Exporter
|
||||||
|
virtual/perl-File-Path
|
||||||
|
virtual/perl-File-Spec
|
||||||
|
virtual/perl-File-Temp
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
>=virtual/perl-ExtUtils-MakeMaker-6.170.0
|
||||||
|
test? (
|
||||||
|
>=virtual/perl-Test-Simple-0.960.0
|
||||||
|
)
|
||||||
|
"
|
@ -1 +1,2 @@
|
|||||||
DIST File-pushd-1.014.tar.gz 20674 BLAKE2B 0e06d1c527aa2cf34c2d55302ec255e4aedbeded7a9c3cc0c4d40bec0b97ddd3c49fa13ee1e36764b9ef17db293cd4c63580bc471a723bfe9eb717eabc6f2aea SHA512 f81b852b6c64d330291b382df83b6cd15c807bbefb00fc51ccbf709ee7c6deca57f996cbe86322b81adf0b14e608d4f63f969330561b7c25a4a7b32f0e3df6bb
|
DIST File-pushd-1.014.tar.gz 20674 BLAKE2B 0e06d1c527aa2cf34c2d55302ec255e4aedbeded7a9c3cc0c4d40bec0b97ddd3c49fa13ee1e36764b9ef17db293cd4c63580bc471a723bfe9eb717eabc6f2aea SHA512 f81b852b6c64d330291b382df83b6cd15c807bbefb00fc51ccbf709ee7c6deca57f996cbe86322b81adf0b14e608d4f63f969330561b7c25a4a7b32f0e3df6bb
|
||||||
|
DIST File-pushd-1.016.tar.gz 19798 BLAKE2B 1bcef90dac2cf9f086fab915f108d01f047f532cedc9aa2ce32f1e4b5d164abdf3f6826a3b5e959b6bd745ae5067047a45b579f98e988267eeb25d2a32335866 SHA512 f80f24831c28aed6efcb036db8da2404aadf1005ed751a82c10071a24572c05758eb1785cd9d1f9fdee86a20cf83b41bd73125862d8d24bfa240cc0d6b33ccdd
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=DCOPPIT
|
||||||
|
DIST_VERSION=0.1634
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="A FileHandle which supports ungetting of multiple bytes"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND=">=virtual/perl-Scalar-List-Utils-1.140.0"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=virtual/perl-ExtUtils-MakeMaker-6.360.0
|
||||||
|
virtual/perl-File-Spec
|
||||||
|
dev-perl/UNIVERSAL-require
|
||||||
|
dev-perl/URI
|
||||||
|
test? (
|
||||||
|
dev-perl/File-Slurper
|
||||||
|
dev-perl/Test-Compile
|
||||||
|
virtual/perl-Test-Simple
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-0.1634-no-authortest-generation.patch"
|
||||||
|
)
|
@ -1 +1,2 @@
|
|||||||
DIST FileHandle-Unget-0.1628.tar.gz 40259 BLAKE2B 6f63e89d8a25e1296c8af63ab138b0032de63a5e9557a77ab99a76747516ed6c098e23a2b1542d88da5034db28b2c5a9884712f42e83b5818b773bdfddb5dff1 SHA512 7c4aca0c7d22ab7091c19b7bc5876ed4f83ff961e49900e0ec70124cedc4e34109a31edf5180c6958772f85a021e2be6a8a9e69c393b495e413c24a8b2b6ff3f
|
DIST FileHandle-Unget-0.1628.tar.gz 40259 BLAKE2B 6f63e89d8a25e1296c8af63ab138b0032de63a5e9557a77ab99a76747516ed6c098e23a2b1542d88da5034db28b2c5a9884712f42e83b5818b773bdfddb5dff1 SHA512 7c4aca0c7d22ab7091c19b7bc5876ed4f83ff961e49900e0ec70124cedc4e34109a31edf5180c6958772f85a021e2be6a8a9e69c393b495e413c24a8b2b6ff3f
|
||||||
|
DIST FileHandle-Unget-0.1634.tar.gz 42660 BLAKE2B b7f4993e1247ac5b80828ba56137acde6660576934d42abb9628ef4afbd82b69849a95670625ce56044c12636fc81b5aab4297135b17cc4af2f4651beabaff4a SHA512 a649eb586897d4ae305e2e71325e322bfb5fd26e1352c92241c9a2a499bfca85d3322897598abcb25404a06d4f32dd4f945c5d7369024eabea793c6a500bc36c
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
From a042303a6e1858cf3b09062c4856eb0fff2ea3f9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kent Fredric <kentnl@gentoo.org>
|
||||||
|
Date: Tue, 8 Sep 2020 20:51:31 +1200
|
||||||
|
Subject: Patch out generation of author tests
|
||||||
|
|
||||||
|
---
|
||||||
|
inc/Module/Install/StandardTests.pm | 8 +++-----
|
||||||
|
1 file changed, 3 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/inc/Module/Install/StandardTests.pm b/inc/Module/Install/StandardTests.pm
|
||||||
|
index cd693ff..b565990 100644
|
||||||
|
--- a/inc/Module/Install/StandardTests.pm
|
||||||
|
+++ b/inc/Module/Install/StandardTests.pm
|
||||||
|
@@ -14,7 +14,7 @@ our $VERSION = '0.05';
|
||||||
|
sub use_standard_tests {
|
||||||
|
my ($self, %specs) = @_;
|
||||||
|
|
||||||
|
- my %with = map { $_ => 1 } qw/compile pod pod_coverage perl_critic/;
|
||||||
|
+ my %with = map { $_ => 1 } qw/compile/;
|
||||||
|
if (exists $specs{without}) {
|
||||||
|
$specs{without} = [ $specs{without} ] unless ref $specs{without};
|
||||||
|
delete $with{$_} for @{ $specs{without} };
|
||||||
|
@@ -27,9 +27,6 @@ sub use_standard_tests {
|
||||||
|
$self->build_requires('Test::Compile');
|
||||||
|
|
||||||
|
$self->write_standard_test_compile; # no if; this is mandatory
|
||||||
|
- $self->write_standard_test_pod if $with{pod};
|
||||||
|
- $self->write_standard_test_pod_coverage if $with{pod_coverage};
|
||||||
|
- $self->write_standard_test_perl_critic if $with{perl_critic};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -65,7 +62,6 @@ TEST
|
||||||
|
$self->realclean_files($filename);
|
||||||
|
}
|
||||||
|
|
||||||
|
-
|
||||||
|
sub write_standard_test_compile {
|
||||||
|
my $self = shift;
|
||||||
|
$self->write_test_file('000_standard__compile.t', q/
|
||||||
|
@@ -79,6 +75,7 @@ sub write_standard_test_compile {
|
||||||
|
/);
|
||||||
|
}
|
||||||
|
|
||||||
|
+=cut
|
||||||
|
|
||||||
|
sub write_standard_test_pod {
|
||||||
|
my $self = shift;
|
||||||
|
@@ -130,6 +127,7 @@ sub write_standard_test_perl_critic {
|
||||||
|
/);
|
||||||
|
}
|
||||||
|
|
||||||
|
+=cut
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
--
|
||||||
|
2.28.0
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=IGUTHRIE
|
||||||
|
DIST_VERSION=0.92
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Disk free based on Filesys::Statvfs"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/perl-ExtUtils-MakeMaker
|
||||||
|
"
|
||||||
|
src_compile() {
|
||||||
|
mymake=(
|
||||||
|
"OPTIMIZE=${CFLAGS}"
|
||||||
|
)
|
||||||
|
perl-module_src_compile
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST Test-Compile-v2.4.1.tar.gz 18425 BLAKE2B 604626b07772241f0ab306b06de70223a25673fe944e66c1c031dfe0e55610f7ce1cc0222bfc839331b2f10bd63168100b9e07b1013dc8ca96d03bd53848d3dd SHA512 e6878fa16544be75581144d125f547a799cc79210b925b86f07ad236395026bdc197c22af1820e893f5887e53933f0ba827377ae133752f63076cb436b624aee
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DIST_AUTHOR=EGILES
|
||||||
|
DIST_VERSION=v2.4.1
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="Check whether Perl files compile correctly"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="minimal test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!minimal? (
|
||||||
|
dev-perl/Devel-CheckOS
|
||||||
|
)
|
||||||
|
>=virtual/perl-Exporter-5.680.0
|
||||||
|
dev-perl/UNIVERSAL-require
|
||||||
|
>=virtual/perl-parent-0.225.0
|
||||||
|
virtual/perl-version
|
||||||
|
"
|
||||||
|
DEPEND="dev-perl/Module-Build"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
>=dev-perl/Module-Build-0.380.0
|
||||||
|
test? (
|
||||||
|
dev-perl/Test-Exception
|
||||||
|
dev-perl/Test-Warnings
|
||||||
|
virtual/perl-Test-Simple
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PERL_RM_FILES=(
|
||||||
|
t/999-has-version.t
|
||||||
|
t/999-perlcritic.t
|
||||||
|
t/999-pod-coverage.t
|
||||||
|
t/999-pod.t
|
||||||
|
t/999-portability.t
|
||||||
|
t/999-synopsis.t
|
||||||
|
t/999-version.t
|
||||||
|
)
|
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>perl@gentoo.org</email>
|
||||||
|
<name>Gentoo Perl Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="cpan">Test-Compile</remote-id>
|
||||||
|
<remote-id type="cpan-module">Test::Compile</remote-id>
|
||||||
|
<remote-id type="cpan-module">Test::Compile::Internal</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue