parent
2680c4f400
commit
f88751cc9f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST restart-services-0.15.2.tgz 23688 BLAKE2B e043b872d55109ad176a6437006cf581a993e72e460bb034625ed612f9ceca85ef91a20e90f23bcecc964caa527cfa4bc39d97c52487b7bf92eec21dc2e35c48 SHA512 afe7c96aabf61d664460d5d68447df09b3d9a54098887727db796821220f5ddd5a3b5030d995d5a6c3128e4a2b8494b9a0a3b86b5c805d56c0e201058ad04327
|
||||
DIST restart-services-0.16.0.tgz 24531 BLAKE2B fea233755d214a502096551226078a7fe15a75ccf937bbf8a75c78b7a294b5977da453f54f37e3d7e65f131e49e018bf08bec6245a3aa46ec6c3bec94019f5ad SHA512 57b3514132c02839cafbfd9152445a6482cf3591e22d18436a4d894061b59d2495863a912a87495559e9945a39715e7e798dca44dafd52c26b5412d749f37cc2
|
||||
DIST restart-services-0.16.1.tgz 24569 BLAKE2B 210ffebf321d9524ee3176ac8d56e2579c9e1686bd11d484be02600aab70347c522d5e7f8826b103ebd37f3e21c11130e0717f033ac0af3e938c4cece1a036bb SHA512 d4657120860ec26a2d9e6cdd935d720dac2bff50131fc9e8efd69b4768a5fd9afa4ee24b367a002122f3e1b335e9c99cc6b41c801c0285252e6f5e701d027de1
|
||||
DIST restart-services-0.17.0.tgz 25643 BLAKE2B 5999e12e38207d00266928504da05c00482c8297b7fee634f302f09cfa09e206bcf9d5a558d2a91e5de1d97318025fa995fbc3a61f0d0e74b8dfb1af3db8670b SHA512 c11ca431fbbc6899ab268e8979049144448479d953ed7373cc7483cca2c03cd4041a1ca1e47c0e810f91a18a43aa32cc305a4ea791e8b992246f972e0fbb19ab
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Tool to manage OpenRC and systemd services that need to be restarted"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mschiff/restart-services/"
|
||||
SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-admin/lib_users
|
||||
|| ( sys-apps/openrc sys-apps/systemd )
|
||||
app-portage/portage-utils
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin restart-services
|
||||
doman restart-services.1
|
||||
keepdir /etc/restart-services.d
|
||||
insinto /etc
|
||||
doins restart-services.conf
|
||||
dodoc README CHANGES
|
||||
|
||||
sed -i 's/^#include/include/' "${D}"/etc/restart-services.conf
|
||||
cat>"${D}"/etc/restart-services.d/00-local.conf<<-EOF
|
||||
# You may put your local changes here or in any other *.conf file
|
||||
# in this directory so you can leave /etc/restart-services.conf as is.
|
||||
# Example:
|
||||
# *extend* SV_ALWAYS to match 'myservice'
|
||||
# SV_ALWAYS+=( myservice )
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local MAJOR MINOR
|
||||
# migrate config data for versions < 0.13.2
|
||||
if [[ $REPLACING_VERSIONS ]]; then
|
||||
MAJOR=${REPLACING_VERSIONS%%.*}
|
||||
MINOR=${REPLACING_VERSIONS%.*}
|
||||
MINOR=${MINOR#*.}
|
||||
|
||||
if [[ $MAJOR -eq 0 && $MINOR -lt 14 ]]; then
|
||||
einfo "Checking for old config"
|
||||
if [[ -f /etc/restart_services.conf ]]; then
|
||||
ewarn "Old config file found: /etc/restart_services.conf"
|
||||
ewarn "It will be ignored so please migrate settings to a file in"
|
||||
ewarn "/etc/restart-services.d/ and/or remove /etc/restart_services.conf"
|
||||
fi
|
||||
if [[ -d /etc/restart_services.d ]]; then
|
||||
ewarn "Old config directory found: /etc/restart_services.d"
|
||||
ewarn "It will be ignored so please migrate files to /etc/restart-services.d"
|
||||
ewarn "and/or remove /etc/restart_services.d"
|
||||
fi
|
||||
einfo "done"
|
||||
fi
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST scute-1.5.0.tar.bz2 991598 BLAKE2B 3a5fdcb5c7d1ae50ce5aa508388e768c6f59c366d81d91312a60ff319b3ad7e01b3bfe5986ee880980b0f5371402c21bd8da963977459d3b90fbd607e64ea2ae SHA512 ad1dbdba5681a92696c851eca7e2bfb61f7bf84f5e02728efc1f72cd25c4ee2dc18fe975e2903d1a85c635d16be1e2085ff2305827b48d80e18c9354e555b39a
|
||||
DIST scute-1.6.0-manual-eps-images.tar.xz 236968 BLAKE2B 27b834f95dbd7a00193b55a8ff55c34e9bc65b31d9de09199b6bad62d2718d247717a461b58ccd55acb0331f6d980ac01cd62de7729ddafd368ebf08cbe2edde SHA512 dc7d622207f1979e5b527e3213f191f14322af9745462bf0803563711f0cb4b4c03f920742ca425987e1c8f632a05772dd5cc2f1d5afec2616ca93de74402deb
|
||||
DIST scute-1.6.0.tar.bz2 1008407 BLAKE2B 3ef4e1870c52007fc7f838f31c4102aeee23e6e59fe13ad1990ed9c7eb4eda948a698bea475daa2d965d1c23f65940aae9b4ded518cb9268af4ec442414932db SHA512 dd9f9d9da7979a8f4766af34b0d6d6fea63d43feb4d7e5e82cca25c792d5ec87f6d9604e7eafa822ddddfaa8541bff616c0c19c73cf3f12b21ffa1c3128bcb4c
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
|
||||
HOMEPAGE="http://www.scute.org/"
|
||||
SRC_URI="mirror://gnupg/scute/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# configure script try to check the version of gpgsm and gpg-agent when
|
||||
# non-crosscompiling so we need to have them as build-time dependency as
|
||||
# well as runtime. Require a version of gnupg that is patched to have
|
||||
# gpgsm-gencert.sh working (as that's what the documentation describe).
|
||||
BDEPEND=">=app-crypt/pinentry-0.7.0
|
||||
>=app-crypt/gnupg-2.0.17-r1[smartcard]"
|
||||
DEPEND=">=dev-libs/libgpg-error-1.4
|
||||
>=dev-libs/libassuan-2.0.0"
|
||||
RDEPEND="${DEPEND}
|
||||
${BDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir)/pkcs11 \
|
||||
--with-gpgsm=/usr/bin/gpgsm
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST xen-4.13.1-upstream-patches-2.tar.xz 53744 BLAKE2B 769b5b8022f7db66f677d8107c6473606376718bffeac7eba09c4270f4005811f472fb9ed2a2804260e0486228edbadfcf8f81bf1dae6d68df37da213d281390 SHA512 b07c865b96c6f48b9d0b4e4c2f3ec19f4dc44884f4024e440a3e537f594f9f5edd6edf805bdefc82e5f1f2520f35f940b64c158972cbf5bfdc8fb2ca7a1b0ac1
|
||||
DIST xen-4.13.1-upstream-patches-3.tar.xz 87056 BLAKE2B 01d7133b8f7e3c9a42b9771dcb7739777f79f229941114cce70ba2897dd52bf53f08de35602a0b40a120fc155c274dbf91e107856f4afdae2c4f7b4bc0a67cdd SHA512 d67e9ddfbf27dc5a23a77679b1b2524a49c2aec3ff9eb3472f9e075893d87401f8e99707b0652744eb4af7a3ed9a815c3925de49995bcd7c82d97c13a69b5309
|
||||
DIST xen-4.13.1-upstream-patches-4.tar.xz 100580 BLAKE2B 1ac4ac5fe7aa7da2b486f2ac5ae60b96cf3c012acac50e8472b88ae273d99e9545f48a896f21eebd5e58427a817e11aa9806d9b45750784fc5382cbadf8162d4 SHA512 54230ea6aa2add038a438d46caae3bba83f2cc8b92021e2c34761015ec08a807331767d432bfa2c7bab864f5b8d0d667c68fc04a089fd35eda9a4f0afd4f6df6
|
||||
DIST xen-4.13.1.tar.gz 39024612 BLAKE2B efff138699fac2c14fad2e0dfd4535ebd744577df3dddccc2a589b81a76f24fc81c75e295f4cd33ca2e820929417b22d714504b576cb0737a563037bd56b6a95 SHA512 b56d20704155d98d803496cba83eb928e0f986a750831cd5600fc88d0ae772fe1456571654375054043d2da8daca255cc98385ebf08b1b1a75ecf7f4b7a0ee90
|
||||
DIST xen-4.14.0-upstream-patches-1.tar.xz 45360 BLAKE2B 0f72a2cc3d18557b86a2a83f97e4141be46a20e3ba59ccc881a34a4408988eba9827e3b927bc07aba9678123d783303e7d47d789e57323a7f6691d718c019dc8 SHA512 3d5093e4367d27e7f6e8d4cc31841a5c80cc3fb870d6cb32131d064e16cbb559e9a783c70eec1ce13c960b3e2a8d5e23e18d26b936bc418b434df3bb801d3e4f
|
||||
DIST xen-4.14.0-upstream-patches-2.tar.xz 62512 BLAKE2B 0ab30f542809bc09b45ef88e1a60bedfa9273cd13b4f8a7b770c75432eedd5cfcd9c7f34845ebbc6fe98479aded4ea88e4c71071a88c6c12a898392e5f441312 SHA512 50a1452007cb94abb9a535dfba5e1e0fe627b8c79773221203cc960f067861870d610c04ba6811d987bb40423fc9084c9966bac817bd7484f5789a69598397f0
|
||||
DIST xen-4.14.0.tar.gz 39950576 BLAKE2B db4c3e79cfdfb10260d0d14d9d28e8c8bd9bf23f42aee743acf8f560bf4cdb96a425c0df887c70f9755f62680be24bfbe0149e52a4cb843ae83090cd9d6afc71 SHA512 ebce47a2f754955d8517123d69f62006634d97620fbbe3784869a0667466e586a249f57ffaf7846d5bcb45d69377cde43354c82c233fbb5407e55653b9a33ac0
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KFMIN=5.60.0
|
||||
QTMIN=5.12.3
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Note taking utility by KDE"
|
||||
HOMEPAGE="https://userbase.kde.org/KJots https://community.kde.org/PIM/KJots"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# drop kbookmarks subslot operator when KFMIN >= 5.69.0
|
||||
DEPEND="
|
||||
dev-libs/grantlee:5
|
||||
dev-libs/libxslt
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-apps/akonadi-19.04.3:5
|
||||
>=kde-apps/akonadi-notes-19.04.3:5
|
||||
>=kde-apps/kmime-19.04.3:5
|
||||
>=kde-apps/kontactinterface-19.04.3:5
|
||||
>=kde-apps/kpimtextedit-19.04.3:5
|
||||
>=kde-frameworks/kbookmarks-${KFMIN}:5=
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kitemmodels-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-text/kjots:4
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if has_version ">=kde-frameworks/kbookmarks-5.69"; then
|
||||
PATCHES+=( "${FILESDIR}/${P}-kf5bookmarks-5.69.patch" ) # KDE-Bug 384000
|
||||
fi
|
||||
|
||||
ecm_src_prepare
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST redis-5.0.9.tar.gz 1986574 BLAKE2B 7802d0556d11c9be8577b9bb3f4dbad8c2419b38659001421f96040e8a64a4a304e9dc1f06d82802ce1c92515d166cfd37c2f347df4c4cda0c2c4c2bb10d27c5 SHA512 d2c7bc1f769bc5d179bfe6e71954962813b50597eafc752a9b1edf2fd87e84707b7daf0910db56dd0e89cb3bdb3e551da7f111ae4899f505bac5f77f99744c13
|
||||
DIST redis-6.0.6.tar.gz 2228781 BLAKE2B 42396f464611cd5d83a79a97d2e4f74c0adabf9338802ec748c24f6ea46d42c6e51fedecc5cd26c7cff6b2a3c7a26bbbf79db7a54a6cbeff388587d186268796 SHA512 bb60aff6e495b201fed814eb134e6ce2825429ef6bd52215c7369eec941318ba460d60ad7b0cef3684b3f992823d465869177dc1d0eb16886bfed598dff74f65
|
||||
DIST redis-6.0.8.tar.gz 2247528 BLAKE2B b243e7e1bd1fff16fcbf5d50e71c757204e304c14a7f5303c79d7fc6eaa29ba07d6765bdbeead050f03af0ca8c8e439b61d5089b983fd22b9ad081f307d62f98 SHA512 49d1ef623c330716c035f6dfd5a4754af4d53b6ec5ea7366fecf9dd90290968893e9f2375e191e7075db563180044c30e58a63624d352ecb5413449c6136e21a
|
||||
|
@ -0,0 +1,174 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||
IUSE="+jemalloc luajit tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
SLOT="0"
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time.
|
||||
# This should link correctly with both unslotted & slotted Lua, without
|
||||
# changes.
|
||||
COMMON_DEPEND="
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? ( || ( dev-lang/lua:5.1 =dev-lang/lua-5.1*:0 ) )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? ( dev-lang/tcl:0= )"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.2.3-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-6.0.3-sharedlua.patch
|
||||
"${FILESDIR}"/${PN}-5.0.8-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# unstable on jemalloc
|
||||
> tests/unit/memefficiency.tcl || die
|
||||
|
||||
# Copy lua modules into build dir
|
||||
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua
|
||||
if false && has_version 'dev-lang/lua:5.3'; then
|
||||
# Lua5.3 gives:
|
||||
#lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
|
||||
LUAPKGCONFIG=lua5.3
|
||||
elif false && has_version 'dev-lang/lua:5.2'; then
|
||||
# Lua5.2 fails with:
|
||||
# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
|
||||
# Because lua_open because lua_newstate in 5.2
|
||||
LUAPKGCONFIG=lua5.2
|
||||
elif has_version 'dev-lang/lua:5.1'; then
|
||||
LUAPKGCONFIG=lua5.1
|
||||
else
|
||||
LUAPKGCONFIG=lua
|
||||
fi
|
||||
# The upstream configure script handles luajit specially, and is not
|
||||
# effected by these changes.
|
||||
einfo "Selected LUAPKGCONFIG=${LUAPKGCONFIG}"
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${LUAPKGCONFIG},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+="MALLOC=jemalloc"
|
||||
elif use tcmalloc; then
|
||||
myconf+="MALLOC=tcmalloc"
|
||||
else
|
||||
myconf+="MALLOC=libc"
|
||||
fi
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Known to fail with FEATURES=usersandbox
|
||||
if has usersandbox ${FEATURES}; then
|
||||
ewarn "You are emerging ${P} with 'usersandbox' enabled." \
|
||||
"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
|
||||
fi
|
||||
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||
fperms 0644 /etc/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r1" redis
|
||||
newinitd "${FILESDIR}/redis.initd-5" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-3" redis.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
MY_PN="MoarVM"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
S="${WORKDIR}/${P}"
|
||||
else
|
||||
SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A 6model-based VM for NQP and Rakudo Perl 6"
|
||||
HOMEPAGE="http://moarvm.org"
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="asan clang debug doc +jit optimize static-libs ubsan"
|
||||
|
||||
RDEPEND="dev-libs/libatomic_ops
|
||||
>=dev-libs/libuv-1.26
|
||||
dev-lang/lua:=
|
||||
dev-libs/libffi"
|
||||
DEPEND="${RDEPEND}
|
||||
clang? ( >=sys-devel/clang-3.1 )
|
||||
dev-lang/perl"
|
||||
|
||||
DOCS=( CREDITS README.markdown )
|
||||
|
||||
# Tests are conducted via nqp
|
||||
RESTRICT=test
|
||||
|
||||
src_configure() {
|
||||
MAKEOPTS+=" NOISY=1"
|
||||
use doc && DOCS+=( docs/* )
|
||||
local prefix="${EPREFIX}/usr"
|
||||
local libdir="${EPREFIX}/usr/$(get_libdir)"
|
||||
einfo "--prefix '${prefix}'"
|
||||
einfo "--libdir '${libdir}'"
|
||||
local myconfigargs=(
|
||||
"--prefix" "${prefix}"
|
||||
"--has-libuv"
|
||||
"--has-libatomic_ops"
|
||||
"--has-libffi"
|
||||
"--libdir" "${libdir}"
|
||||
"--compiler" "$(usex clang clang gcc)"
|
||||
"$(usex asan --asan)"
|
||||
"$(usex debug --debug --no-debug)"
|
||||
"$(usex optimize --optimize= --no-optimize)"
|
||||
"$(usex static-libs --static)"
|
||||
"$(usex ubsan --ubsan)"
|
||||
)
|
||||
|
||||
perl Configure.pl "${myconfigargs[@]}" moarshared || die
|
||||
}
|
@ -0,0 +1,160 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-opt-2 multibuild
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/perl6/${PN}.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/perl6/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
|
||||
HOMEPAGE="https://rakudo.org"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
IUSE="doc clang java +moar test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="|| ( java moar )"
|
||||
|
||||
CDEPEND="java? (
|
||||
dev-java/asm:4
|
||||
dev-java/jline:0
|
||||
dev-java/jna:4
|
||||
)
|
||||
moar? ( ~dev-lang/moarvm-${PV}[clang=] )"
|
||||
RDEPEND="${CDEPEND}
|
||||
java? ( >=virtual/jre-1.8 )"
|
||||
DEPEND="${CDEPEND}"
|
||||
BDEPEND="${CDEPEND}
|
||||
clang? ( sys-devel/clang )
|
||||
java? ( >=virtual/jdk-1.8 )
|
||||
dev-lang/perl"
|
||||
|
||||
pkg_pretend() {
|
||||
if has_version dev-lang/rakudo || has_version dev-lang/nqp; then
|
||||
ewarn "NQP is known to fail compilation/installation with Rakudo and/or NQP"
|
||||
ewarn "already being installed. So if it fails, try uninstalling both"
|
||||
ewarn "dev-lang/nqp and dev-lang/rakudo, then do a new installation."
|
||||
ewarn "(see Bug #584394)"
|
||||
fi
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Don't clean stage0 jars.
|
||||
einfo "Cleaning upstream jars"
|
||||
java-pkg_clean 3rdparty/
|
||||
|
||||
# Don't use jars we just deleted.
|
||||
sed -i -r 's/(:3rdparty[^:]*)+/:${THIRDPARTY_JARS}/g' \
|
||||
src/vm/jvm/runners/nqp-j || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
MULTIBUILD_VARIANTS=()
|
||||
use moar && MULTIBUILD_VARIANTS+=( moar )
|
||||
use java && MULTIBUILD_VARIANTS+=( jvm )
|
||||
|
||||
multibuild_copy_sources
|
||||
|
||||
# This will pull in conditional java_prepare
|
||||
default
|
||||
}
|
||||
|
||||
nqp_configure() {
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
local myconfargs=(
|
||||
"--backend=${MULTIBUILD_VARIANT}"
|
||||
"--prefix=${EPREFIX}/usr" )
|
||||
|
||||
perl Configure.pl "${myconfargs[@]}" || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
nqp_compile() {
|
||||
if [[ "${MULTIBUILD_VARIANT}" = jvm ]]; then
|
||||
emake -j1 \
|
||||
-C "${BUILD_DIR}" \
|
||||
THIRDPARTY_JARS=$(java-pkg_getjars --with-dependencies asm-4,jline,jna-4) \
|
||||
JAVAC="$(java-pkg_get-javac) $(java-pkg_javac-args)"
|
||||
elif [[ "${MULTIBUILD_VARIANT}" = moar ]]; then
|
||||
emake -j1 \
|
||||
-C "${BUILD_DIR}"
|
||||
fi
|
||||
}
|
||||
|
||||
nqp_test() {
|
||||
emake -j1 \
|
||||
-C "${BUILD_DIR}" \
|
||||
test
|
||||
}
|
||||
|
||||
nqp_install() {
|
||||
# This is the actual reason we need multibuild.eclass.
|
||||
# We need to distinguish the install procedure for MoarVM and JVM backends.
|
||||
case "${MULTIBUILD_VARIANT}" in
|
||||
moar)
|
||||
emake \
|
||||
DESTDIR="${ED}" \
|
||||
-C "${BUILD_DIR}" \
|
||||
install
|
||||
;;
|
||||
jvm)
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
# Set JAVA_PKG_JARDEST early.
|
||||
java-pkg_init_paths_
|
||||
|
||||
# Upstream sets the classpath to this location. Perhaps it's
|
||||
# used to locate the additional libraries?
|
||||
java-pkg_addcp "${JAVA_PKG_JARDEST}"
|
||||
|
||||
insinto "${JAVA_PKG_JARDEST}"
|
||||
local jar
|
||||
|
||||
for jar in *.jar; do
|
||||
if has ${jar} ${PN}.jar ${PN}-runtime.jar; then
|
||||
# jars for NQP itself.
|
||||
java-pkg_dojar ${jar}
|
||||
else
|
||||
# jars used by NQP.
|
||||
doins ${jar}
|
||||
fi
|
||||
done
|
||||
|
||||
# Upstream uses -Xbootclasspath/a, which is faster due to lack
|
||||
# of verification, but gjl isn't flexible enough yet. :(
|
||||
java-pkg_dolauncher ${PN}-j --main ${PN}
|
||||
dosym ${PN}-j /usr/bin/${PN}
|
||||
dobin tools/jvm/eval-client.pl
|
||||
popd > /dev/null || die
|
||||
;;
|
||||
*)
|
||||
die "Unknown MULTIBUILD_VARIANT ${MULTIBUILD_VARIANT}."
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
multibuild_foreach_variant nqp_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multibuild_foreach_variant nqp_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
multibuild_foreach_variant nqp_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multibuild_foreach_variant nqp_install
|
||||
|
||||
dodoc CREDITS README.pod
|
||||
use doc && dodoc -r docs/*
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-opt-2
|
||||
|
||||
DESCRIPTION="A compiler for the Perl 6 programming language"
|
||||
HOMEPAGE="https://rakudo.org"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rakudo/${PN}.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://rakudo.org/dl/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
# TODO: add USE="javascript" once that's usable in nqp
|
||||
IUSE="clang java +moar test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="|| ( java moar )"
|
||||
|
||||
CDEPEND="~dev-lang/nqp-${PV}:${SLOT}=[java?,moar?,clang=]"
|
||||
RDEPEND="${CDEPEND}
|
||||
java? ( >=virtual/jre-1.7 )"
|
||||
DEPEND="${CDEPEND}
|
||||
clang? ( sys-devel/clang )
|
||||
java? ( >=virtual/jdk-1.7 )
|
||||
>=dev-lang/perl-5.10"
|
||||
|
||||
pkg_pretend() {
|
||||
if has_version dev-lang/rakudo; then
|
||||
ewarn "Rakudo is known to fail compilation/installation with Rakudo"
|
||||
ewarn "already being installed. So if it fails, try unmerging dev-lang/rakudo,"
|
||||
ewarn "then do a new installation."
|
||||
ewarn "(see Bug #584394)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local backends
|
||||
use moar && backends+="moar,"
|
||||
use java && backends+="jvm"
|
||||
|
||||
local myargs=(
|
||||
"--prefix=/usr"
|
||||
"--sysroot=/"
|
||||
"--sdkroot=/"
|
||||
"--backends=${backends}"
|
||||
)
|
||||
|
||||
perl Configure.pl "${myargs[@]}" || die
|
||||
|
||||
if use java; then
|
||||
NQP=$(java-pkg_getjars --with-dependencies nqp)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" NQP_JARS="${NQP}" BLD_NQP_JARS="${NQP}" install
|
||||
}
|
||||
|
||||
src_test() {
|
||||
RAKUDO_PRECOMP_PREFIX=$(mktemp -d) default
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST libfmt-6.1.2.tar.gz 723160 BLAKE2B 36e7451a8732c62dcbf47e6d287ea582827b6196a468b8648803ea1bc9a37a5f681d87488f748d749183d97783ac7fb47a3f2aeed64fc6a684f9ee85b67ae28d SHA512 8770bf4bd2bb6d938e75e0cf1e665c41930dbd9d2a6825274a5a43cd1d85b9c9ca621bb040ed099429f0e16bddbc3399361c453eb1bf3fc01376e6ad9dd875b7
|
||||
DIST libfmt-7.0.3.tar.gz 740047 BLAKE2B d12d6f59bcea5b4385c4d9ff5c563860cb9275d34d5747d9f8b95664aaa499661500b630d1f621698a7a3f8431326ac5a5273e6883d070aab7cb9aa84b0bcd41 SHA512 26afe55255414e27d58c2389fcc8643b64adc04ecc3604f87024e6421706833cbad8ee4caf514dfb7e88da4162ab3e5ff8ff81b83b5f2fb66e9959e4d1bf0f9a
|
||||
DIST libfmt-7.1.0.tar.gz 768672 BLAKE2B 0c0baf703174bd982151fd8cd1e63308843b6e5a5842f67c93b865ffde6f6f7a2b7cfed71f59118d1789030f47ff4aab3a6793311d5fe35fca9b2bf032d688a8 SHA512 5b1af11bd234d31df7d07baa51f1f745a865d89dc15479a21b05b4925ce0d1d9c0d0b1dee804f84e727e4d8e3b5904caf0e7d8f70fc147d843c7f20651e1b331
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed
|
||||
DIST importlib_resources-3.0.0.tar.gz 26725 BLAKE2B e2517b0d1e576ce949ac05230892acbad59c09fa4b84401b3c957e83f40b50d12bc02360b135fe949d12c43f8f557006824e4e4a3e9ff2ce879c03362569a00c SHA512 cd29e268cacef3729024af6cae8394ce5aa8c1d8a28397fd8f009c7eaa908ed3775508bde86c26b0d233c25261b8509abb1e16c378c7c8a9bb0906224f3fdd54
|
||||
DIST importlib_resources-3.1.1.tar.gz 27715 BLAKE2B e7dc82dc2e082e94bcf87869e7f761bb008bf556b98ac94cab782b8f5430c87e3546cdc5e19819b1556de49ad5f755cbabb372cb254e909349a85264c00cadc6 SHA512 92577dca638a282306334441608a8f7315c1c4034004e52002029450c56529b1fc8edbd2a62c8ecc74b18ed9d3c3bf04e037d9510fa279ec7f18cb6170b2fb3a
|
||||
DIST importlib_resources-3.2.0.tar.gz 28171 BLAKE2B e6e300ffc8b60f573b2d9df7dfaeadcb2dfa64c6c0b6e55a0320ae14a8966893443984d8907a090e1a5d834c1f595375f1cca658ebaa1ad4e4f889cc7f324843 SHA512 4cd1f3e54c44c0ba13c420668baa4a4e1cd964a978927b0c96d8c70ad6a11fc7d33cfd0a52367f719e1b3ff2945d32f030a672c1c7cfb0bb8152636767518470
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST catfish-1.4.13.tar.bz2 221999 BLAKE2B b487947954832c691a5a1b3bd2a49e7ae1aedecbe2084b86b9ae1c8bd7c95f6d3746f80723d351bed3abac0e2396fcce134072345a908f5ba9f0dfebdd95108f SHA512 a90c695e7c1a2172ea7a5f7f1a292e95aa290693a24f3988a68f2fb4597183ff7526c98925fb3ef8517fbca508a1c3853e0de87ec023be9424d994d63e29c886
|
||||
DIST catfish-4.15.0.tar.bz2 256897 BLAKE2B 98ac6c1f5af7a48276438c08e0259eaae7f9a7d4f043a8c89b945d1d0a18e10f2faf3a210363cf46a97b4becc7492a6c1ce6b8e499b168729ce18ff80d5da828 SHA512 d2415194e3d803a99b1a0d80763db6f4e95c810d2bc679057e54105bb906ec1a0de32b64d8c0b2a36aad11d689401111c3466b1e8ad41760f4d6b67f979a81a3
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot"
|
||||
HOMEPAGE="https://docs.xfce.org/apps/catfish/start"
|
||||
SRC_URI="https://archive.xfce.org/src/apps/catfish/${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
# yep, GPL-2 only
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.42
|
||||
dev-libs/gobject-introspection
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
>=x11-libs/gtk+-3.22:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
>=xfce-base/xfconf-4.14[introspection]
|
||||
virtual/freedesktop-icon-theme
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/python-distutils-extra[${PYTHON_USEDEP}]
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
python_optimize
|
||||
rm -r "${ED}"/usr/share/doc/catfish || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics"
|
||||
HOMEPAGE="https://apps.kde.org/en/clazy"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-devel/clang-5.0:=
|
||||
>=sys-devel/llvm-5.0:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gnuinstalldirs.patch
|
||||
"${FILESDIR}"/${P}-llvm11-{1,2}.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \
|
||||
-i CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# this package requires both llvm and clang of the same version.
|
||||
# clang pulls in the equivalent llvm version, but not vice versa.
|
||||
# so, we must find llvm based on the installed clang version.
|
||||
# bug #681568
|
||||
local clang_version=$(best_version "sys-devel/clang")
|
||||
export LLVM_ROOT="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})"
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,343 @@
|
||||
From 30d6a2b64f5a05722fdc5d8e3754dbf13425cd62 Mon Sep 17 00:00:00 2001
|
||||
From: Egor Gabov <egor.gabov@waveaccess.ru>
|
||||
Date: Thu, 4 Jun 2020 17:10:21 +0300
|
||||
Subject: [PATCH] updated for compatibility with LLVM 10
|
||||
|
||||
In LLVM 10 llvm::StringRef operator std::string() is marked as explicit.
|
||||
In this commit all implicit conversion from llvm::StringRef to
|
||||
std::string are changed by explicit.
|
||||
Also included header file clang/Basic/FileManager.h in src/MiniDumper
|
||||
because without this header, class clang::FileEntry in incomplete class
|
||||
---
|
||||
src/FixItExporter.cpp | 5 +++--
|
||||
src/MiniAstDumper.cpp | 1 +
|
||||
src/Utils.cpp | 2 +-
|
||||
src/checkbase.cpp | 2 +-
|
||||
src/checks/detachingbase.cpp | 2 +-
|
||||
src/checks/level0/qenums.cpp | 2 +-
|
||||
src/checks/level0/qt-macros.cpp | 4 ++--
|
||||
src/checks/level0/unused-non-trivial-variable.cpp | 2 +-
|
||||
src/checks/level1/detaching-temporary.cpp | 2 +-
|
||||
src/checks/level1/non-pod-global-static.cpp | 2 +-
|
||||
src/checks/level1/qproperty-without-notify.cpp | 2 +-
|
||||
src/checks/level2/missing-typeinfo.cpp | 2 +-
|
||||
src/checks/level2/old-style-connect.cpp | 6 +++---
|
||||
src/checks/level2/rule-of-three.cpp | 2 +-
|
||||
src/checks/manuallevel/ifndef-define-typo.cpp | 6 +++---
|
||||
src/checks/manuallevel/qproperty-type-mismatch.cpp | 2 +-
|
||||
src/checks/manuallevel/qrequiredresult-candidates.cpp | 2 +-
|
||||
src/checks/manuallevel/qt-keywords.cpp | 4 ++--
|
||||
src/checks/manuallevel/reserve-candidates.cpp | 3 ++-
|
||||
19 files changed, 28 insertions(+), 25 deletions(-)
|
||||
|
||||
diff --git a/src/FixItExporter.cpp b/src/FixItExporter.cpp
|
||||
index f3af2e5..44240cf 100644
|
||||
--- a/src/FixItExporter.cpp
|
||||
+++ b/src/FixItExporter.cpp
|
||||
@@ -68,7 +68,7 @@ void FixItExporter::BeginSourceFile(const LangOptions &LangOpts, const Preproces
|
||||
|
||||
const auto id = SourceMgr.getMainFileID();
|
||||
const auto entry = SourceMgr.getFileEntryForID(id);
|
||||
- getTuDiag().MainSourceFile = entry->getName();
|
||||
+ getTuDiag().MainSourceFile = static_cast<std::string>(entry->getName());
|
||||
}
|
||||
|
||||
bool FixItExporter::IncludeInDiagnosticCounts() const
|
||||
@@ -89,7 +89,8 @@ tooling::Diagnostic FixItExporter::ConvertDiagnostic(const Diagnostic &Info)
|
||||
// TODO: This returns an empty string: DiagEngine->getDiagnosticIDs()->getWarningOptionForDiag(Info.getID());
|
||||
// HACK: capture it at the end of the message: Message text [check-name]
|
||||
|
||||
- std::string checkName = DiagEngine.getDiagnosticIDs()->getWarningOptionForDiag(Info.getID());
|
||||
+ std::string checkName =
|
||||
+ static_cast<std::string>(DiagEngine.getDiagnosticIDs()->getWarningOptionForDiag(Info.getID()));
|
||||
std::string messageText;
|
||||
|
||||
if (checkName.empty()) {
|
||||
diff --git a/src/MiniAstDumper.cpp b/src/MiniAstDumper.cpp
|
||||
index 4766174..6124e6e 100644
|
||||
--- a/src/MiniAstDumper.cpp
|
||||
+++ b/src/MiniAstDumper.cpp
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <clang/Frontend/CompilerInstance.h>
|
||||
#include <clang/Frontend/FrontendPluginRegistry.h>
|
||||
+#include <clang/Basic/FileManager.h>
|
||||
|
||||
using namespace clang;
|
||||
using namespace std;
|
||||
diff --git a/src/Utils.cpp b/src/Utils.cpp
|
||||
index 001ced9..b0812fe 100644
|
||||
--- a/src/Utils.cpp
|
||||
+++ b/src/Utils.cpp
|
||||
@@ -878,7 +878,7 @@ string Utils::filenameForLoc(SourceLocation loc, const clang::SourceManager &sm)
|
||||
if (loc.isMacroID())
|
||||
loc = sm.getExpansionLoc(loc);
|
||||
|
||||
- const string filename = sm.getFilename(loc);
|
||||
+ const string filename = static_cast<std::string>(sm.getFilename(loc));
|
||||
auto splitted = clazy::splitString(filename, '/');
|
||||
if (splitted.empty())
|
||||
return {};
|
||||
diff --git a/src/checkbase.cpp b/src/checkbase.cpp
|
||||
index 8b40e19..22a426c 100644
|
||||
--- a/src/checkbase.cpp
|
||||
+++ b/src/checkbase.cpp
|
||||
@@ -188,7 +188,7 @@ bool CheckBase::shouldIgnoreFile(SourceLocation loc) const
|
||||
if (!loc.isValid())
|
||||
return true;
|
||||
|
||||
- string filename = sm().getFilename(loc);
|
||||
+ string filename = static_cast<std::string>(sm().getFilename(loc));
|
||||
|
||||
return clazy::any_of(m_filesToIgnore, [filename](const std::string &ignored) {
|
||||
return clazy::contains(filename, ignored);
|
||||
diff --git a/src/checks/detachingbase.cpp b/src/checks/detachingbase.cpp
|
||||
index 70311f4..1b094ee 100644
|
||||
--- a/src/checks/detachingbase.cpp
|
||||
+++ b/src/checks/detachingbase.cpp
|
||||
@@ -57,7 +57,7 @@ bool DetachingBase::isDetachingMethod(CXXMethodDecl *method, DetachingMethodType
|
||||
|
||||
const std::unordered_map<string, std::vector<StringRef>> &methodsByType = detachingMethodType == DetachingMethod ? clazy::detachingMethods()
|
||||
: clazy::detachingMethodsWithConstCounterParts();
|
||||
- auto it = methodsByType.find(className);
|
||||
+ auto it = methodsByType.find(static_cast<std::string>(className));
|
||||
if (it != methodsByType.cend()) {
|
||||
const auto &methods = it->second;
|
||||
if (clazy::contains(methods, clazy::name(method)))
|
||||
diff --git a/src/checks/level0/qenums.cpp b/src/checks/level0/qenums.cpp
|
||||
index 00075b5..db8910f 100644
|
||||
--- a/src/checks/level0/qenums.cpp
|
||||
+++ b/src/checks/level0/qenums.cpp
|
||||
@@ -59,7 +59,7 @@ void QEnums::VisitMacroExpands(const Token &MacroNameTok, const SourceRange &ran
|
||||
// We simply check if :: is present because it's very cumbersome to to check for different classes when dealing with the pre-processor
|
||||
|
||||
CharSourceRange crange = Lexer::getAsCharRange(range, sm(), lo());
|
||||
- string text = Lexer::getSourceText(crange, sm(), lo());
|
||||
+ string text = static_cast<std::string>(Lexer::getSourceText(crange, sm(), lo()));
|
||||
if (clazy::contains(text, "::"))
|
||||
return;
|
||||
}
|
||||
diff --git a/src/checks/level0/qt-macros.cpp b/src/checks/level0/qt-macros.cpp
|
||||
index d3a587c..ab8e9f5 100644
|
||||
--- a/src/checks/level0/qt-macros.cpp
|
||||
+++ b/src/checks/level0/qt-macros.cpp
|
||||
@@ -44,7 +44,7 @@ void QtMacros::VisitMacroDefined(const Token &MacroNameTok)
|
||||
return;
|
||||
|
||||
IdentifierInfo *ii = MacroNameTok.getIdentifierInfo();
|
||||
- if (ii && clazy::startsWith(ii->getName(), "Q_OS_"))
|
||||
+ if (ii && clazy::startsWith(static_cast<std::string>(ii->getName()), "Q_OS_"))
|
||||
m_OSMacroExists = true;
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ void QtMacros::checkIfDef(const Token ¯oNameTok, SourceLocation Loc)
|
||||
if (preProcessorVisitor && preProcessorVisitor->qtVersion() < 51204 && ii->getName() == "Q_OS_WINDOWS") {
|
||||
// Q_OS_WINDOWS was introduced in 5.12.4
|
||||
emitWarning(Loc, "Q_OS_WINDOWS was only introduced in Qt 5.12.4, use Q_OS_WIN instead");
|
||||
- } else if (!m_OSMacroExists && clazy::startsWith(ii->getName(), "Q_OS_")) {
|
||||
+ } else if (!m_OSMacroExists && clazy::startsWith(static_cast<std::string>(ii->getName()), "Q_OS_")) {
|
||||
emitWarning(Loc, "Include qglobal.h before testing Q_OS_ macros");
|
||||
}
|
||||
}
|
||||
diff --git a/src/checks/level0/unused-non-trivial-variable.cpp b/src/checks/level0/unused-non-trivial-variable.cpp
|
||||
index 4e4b830..93815f2 100644
|
||||
--- a/src/checks/level0/unused-non-trivial-variable.cpp
|
||||
+++ b/src/checks/level0/unused-non-trivial-variable.cpp
|
||||
@@ -91,7 +91,7 @@ bool UnusedNonTrivialVariable::isUninterestingType(const CXXRecordDecl *record)
|
||||
static const vector<StringRef> blacklistedTemplates = { "QScopedPointer", "QSetValueOnDestroy", "QScopedValueRollback" };
|
||||
StringRef className = clazy::name(record);
|
||||
for (StringRef templateName : blacklistedTemplates) {
|
||||
- if (clazy::startsWith(className, templateName))
|
||||
+ if (clazy::startsWith(static_cast<std::string>(className), static_cast<std::string>(templateName)))
|
||||
return true;
|
||||
}
|
||||
|
||||
diff --git a/src/checks/level1/detaching-temporary.cpp b/src/checks/level1/detaching-temporary.cpp
|
||||
index fedfc81..60c7553 100644
|
||||
--- a/src/checks/level1/detaching-temporary.cpp
|
||||
+++ b/src/checks/level1/detaching-temporary.cpp
|
||||
@@ -140,7 +140,7 @@ void DetachingTemporary::VisitStmt(clang::Stmt *stm)
|
||||
StringRef className = clazy::name(classDecl);
|
||||
|
||||
const std::unordered_map<string, std::vector<StringRef>> &methodsByType = clazy::detachingMethods();
|
||||
- auto it = methodsByType.find(className);
|
||||
+ auto it = methodsByType.find(static_cast<std::string>(className));
|
||||
auto it2 = m_writeMethodsByType.find(className);
|
||||
|
||||
std::vector<StringRef> allowedFunctions;
|
||||
diff --git a/src/checks/level1/non-pod-global-static.cpp b/src/checks/level1/non-pod-global-static.cpp
|
||||
index 5879bff..433b5c5 100644
|
||||
--- a/src/checks/level1/non-pod-global-static.cpp
|
||||
+++ b/src/checks/level1/non-pod-global-static.cpp
|
||||
@@ -74,7 +74,7 @@ void NonPodGlobalStatic::VisitStmt(clang::Stmt *stm)
|
||||
const SourceLocation declStart = clazy::getLocStart(varDecl);
|
||||
|
||||
if (declStart.isMacroID()) {
|
||||
- auto macroName = Lexer::getImmediateMacroName(declStart, sm(), lo());
|
||||
+ auto macroName = static_cast<std::string>(Lexer::getImmediateMacroName(declStart, sm(), lo()));
|
||||
if (clazy::startsWithAny(macroName, { "Q_IMPORT_PLUGIN", "Q_CONSTRUCTOR_FUNCTION", "Q_DESTRUCTOR_FUNCTION"})) // Don't warn on these
|
||||
return;
|
||||
}
|
||||
diff --git a/src/checks/level1/qproperty-without-notify.cpp b/src/checks/level1/qproperty-without-notify.cpp
|
||||
index e1d6db4..3af9fee 100644
|
||||
--- a/src/checks/level1/qproperty-without-notify.cpp
|
||||
+++ b/src/checks/level1/qproperty-without-notify.cpp
|
||||
@@ -69,7 +69,7 @@ void QPropertyWithoutNotify::VisitMacroExpands(const clang::Token &MacroNameTok,
|
||||
return;
|
||||
CharSourceRange crange = Lexer::getAsCharRange(range, sm(), lo());
|
||||
|
||||
- string text = Lexer::getSourceText(crange, sm(), lo());
|
||||
+ string text = static_cast<std::string>(Lexer::getSourceText(crange, sm(), lo()));
|
||||
if (text.back() == ')')
|
||||
text.pop_back();
|
||||
|
||||
diff --git a/src/checks/level2/missing-typeinfo.cpp b/src/checks/level2/missing-typeinfo.cpp
|
||||
index 98df2cd..03b44e0 100644
|
||||
--- a/src/checks/level2/missing-typeinfo.cpp
|
||||
+++ b/src/checks/level2/missing-typeinfo.cpp
|
||||
@@ -74,7 +74,7 @@ void MissingTypeInfo::VisitDecl(clang::Decl *decl)
|
||||
if (sm().isInSystemHeader(clazy::getLocStart(record)))
|
||||
return;
|
||||
|
||||
- std::string typeName = clazy::name(record);
|
||||
+ std::string typeName = static_cast<std::string>(clazy::name(record));
|
||||
if (typeName == "QPair") // QPair doesn't use Q_DECLARE_TYPEINFO, but rather a explicit QTypeInfo.
|
||||
return;
|
||||
|
||||
diff --git a/src/checks/level2/old-style-connect.cpp b/src/checks/level2/old-style-connect.cpp
|
||||
index 0fe68c1..396cb70 100644
|
||||
--- a/src/checks/level2/old-style-connect.cpp
|
||||
+++ b/src/checks/level2/old-style-connect.cpp
|
||||
@@ -274,7 +274,7 @@ void OldStyleConnect::VisitMacroExpands(const Token ¯oNameTok, const SourceR
|
||||
return;
|
||||
|
||||
auto charRange = Lexer::getAsCharRange(range, sm(), lo());
|
||||
- const string text = Lexer::getSourceText(charRange, sm(), lo());
|
||||
+ const string text = static_cast<std::string>(Lexer::getSourceText(charRange, sm(), lo()));
|
||||
|
||||
static regex rx(R"(Q_PRIVATE_SLOT\s*\((.*)\s*,\s*.*\s+(.*)\(.*)");
|
||||
smatch match;
|
||||
@@ -293,7 +293,7 @@ string OldStyleConnect::signalOrSlotNameFromMacro(SourceLocation macroLoc)
|
||||
CharSourceRange expansionRange = clazy::getImmediateExpansionRange(macroLoc, sm());
|
||||
SourceRange range = SourceRange(expansionRange.getBegin(), expansionRange.getEnd());
|
||||
auto charRange = Lexer::getAsCharRange(range, sm(), lo());
|
||||
- const string text = Lexer::getSourceText(charRange, sm(), lo());
|
||||
+ const string text = static_cast<std::string>(Lexer::getSourceText(charRange, sm(), lo()));
|
||||
|
||||
static regex rx(R"(\s*(SIGNAL|SLOT)\s*\(\s*(.+)\s*\(.*)");
|
||||
|
||||
@@ -315,7 +315,7 @@ bool OldStyleConnect::isSignalOrSlot(SourceLocation loc, string ¯oName) cons
|
||||
if (!loc.isMacroID() || loc.isInvalid())
|
||||
return false;
|
||||
|
||||
- macroName = Lexer::getImmediateMacroName(loc, sm(), lo());
|
||||
+ macroName = static_cast<std::string>(Lexer::getImmediateMacroName(loc, sm(), lo()));
|
||||
return macroName == "SIGNAL" || macroName == "SLOT";
|
||||
}
|
||||
|
||||
diff --git a/src/checks/level2/rule-of-three.cpp b/src/checks/level2/rule-of-three.cpp
|
||||
index 8db55d5..7583fcc 100644
|
||||
--- a/src/checks/level2/rule-of-three.cpp
|
||||
+++ b/src/checks/level2/rule-of-three.cpp
|
||||
@@ -140,7 +140,7 @@ void RuleOfThree::VisitDecl(clang::Decl *decl)
|
||||
|
||||
const string className = record->getNameAsString();
|
||||
const string classQualifiedName = record->getQualifiedNameAsString();
|
||||
- const string filename = sm().getFilename(recordStart);
|
||||
+ const string filename = static_cast<std::string>(sm().getFilename(recordStart));
|
||||
if (clazy::endsWith(className, "Private") && clazy::endsWithAny(filename, { ".cpp", ".cxx", "_p.h" }))
|
||||
return; // Lots of RAII classes fall into this category. And even Private (d-pointer) classes, warning in that case would just be noise
|
||||
|
||||
diff --git a/src/checks/manuallevel/ifndef-define-typo.cpp b/src/checks/manuallevel/ifndef-define-typo.cpp
|
||||
index edb6cdf..e9c50a4 100644
|
||||
--- a/src/checks/manuallevel/ifndef-define-typo.cpp
|
||||
+++ b/src/checks/manuallevel/ifndef-define-typo.cpp
|
||||
@@ -44,7 +44,7 @@ void IfndefDefineTypo::VisitMacroDefined(const Token ¯oNameTok)
|
||||
{
|
||||
if (!m_lastIfndef.empty()) {
|
||||
if (IdentifierInfo *ii = macroNameTok.getIdentifierInfo()) {
|
||||
- maybeWarn(ii->getName(), macroNameTok.getLocation());
|
||||
+ maybeWarn(static_cast<std::string>(ii->getName()), macroNameTok.getLocation());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ void IfndefDefineTypo::VisitDefined(const Token ¯oNameTok, const SourceRange
|
||||
{
|
||||
if (!m_lastIfndef.empty()) {
|
||||
if (IdentifierInfo *ii = macroNameTok.getIdentifierInfo()) {
|
||||
- maybeWarn(ii->getName(), macroNameTok.getLocation());
|
||||
+ maybeWarn(static_cast<std::string>(ii->getName()), macroNameTok.getLocation());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,7 @@ void IfndefDefineTypo::VisitIfdef(SourceLocation, const Token &)
|
||||
void IfndefDefineTypo::VisitIfndef(SourceLocation, const Token ¯oNameTok)
|
||||
{
|
||||
if (IdentifierInfo *ii = macroNameTok.getIdentifierInfo())
|
||||
- m_lastIfndef = ii->getName();
|
||||
+ m_lastIfndef = static_cast<std::string>(ii->getName());
|
||||
}
|
||||
|
||||
void IfndefDefineTypo::VisitIf(SourceLocation, SourceRange, PPCallbacks::ConditionValueKind)
|
||||
diff --git a/src/checks/manuallevel/qproperty-type-mismatch.cpp b/src/checks/manuallevel/qproperty-type-mismatch.cpp
|
||||
index f91159c..952d9f1 100644
|
||||
--- a/src/checks/manuallevel/qproperty-type-mismatch.cpp
|
||||
+++ b/src/checks/manuallevel/qproperty-type-mismatch.cpp
|
||||
@@ -237,7 +237,7 @@ void QPropertyTypeMismatch::VisitMacroExpands(const clang::Token &MacroNameTok,
|
||||
|
||||
CharSourceRange crange = Lexer::getAsCharRange(range, sm(), lo());
|
||||
|
||||
- string text = Lexer::getSourceText(crange, sm(), lo());
|
||||
+ string text = static_cast<std::string>(Lexer::getSourceText(crange, sm(), lo()));
|
||||
if (!text.empty() && text.back() == ')')
|
||||
text.pop_back();
|
||||
|
||||
diff --git a/src/checks/manuallevel/qrequiredresult-candidates.cpp b/src/checks/manuallevel/qrequiredresult-candidates.cpp
|
||||
index 912dbaa..6375bd7 100644
|
||||
--- a/src/checks/manuallevel/qrequiredresult-candidates.cpp
|
||||
+++ b/src/checks/manuallevel/qrequiredresult-candidates.cpp
|
||||
@@ -65,7 +65,7 @@ void QRequiredResultCandidates::VisitDecl(clang::Decl *decl)
|
||||
|
||||
|
||||
if (returnClass == classDecl) {
|
||||
- const std::string methodName = clazy::name(method);
|
||||
+ const std::string methodName = static_cast<std::string>(clazy::name(method));
|
||||
if (methodName.empty()) // fixes assert
|
||||
return;
|
||||
|
||||
diff --git a/src/checks/manuallevel/qt-keywords.cpp b/src/checks/manuallevel/qt-keywords.cpp
|
||||
index e792e95..b60752c 100644
|
||||
--- a/src/checks/manuallevel/qt-keywords.cpp
|
||||
+++ b/src/checks/manuallevel/qt-keywords.cpp
|
||||
@@ -59,12 +59,12 @@ void QtKeywords::VisitMacroExpands(const Token ¯oNameTok, const SourceRange
|
||||
}
|
||||
|
||||
static const vector<StringRef> keywords = { "foreach", "signals", "slots", "emit" };
|
||||
- std::string name = ii->getName();
|
||||
+ std::string name = static_cast<std::string>(ii->getName());
|
||||
if (!clazy::contains(keywords, name))
|
||||
return;
|
||||
|
||||
// Make sure the macro is Qt's. It must be defined in Qt's headers, not 3rdparty
|
||||
- std::string qtheader = sm().getFilename(sm().getSpellingLoc(minfo->getDefinitionLoc()));
|
||||
+ std::string qtheader = static_cast<std::string>(sm().getFilename(sm().getSpellingLoc(minfo->getDefinitionLoc())));
|
||||
if (!clazy::endsWith(qtheader, "qglobal.h") && !clazy::endsWith(qtheader, "qobjectdefs.h"))
|
||||
return;
|
||||
|
||||
diff --git a/src/checks/manuallevel/reserve-candidates.cpp b/src/checks/manuallevel/reserve-candidates.cpp
|
||||
index 389cac5..92e4491 100644
|
||||
--- a/src/checks/manuallevel/reserve-candidates.cpp
|
||||
+++ b/src/checks/manuallevel/reserve-candidates.cpp
|
||||
@@ -78,7 +78,8 @@ static bool isCandidateMethod(CXXMethodDecl *methodDecl)
|
||||
if (!classDecl)
|
||||
return false;
|
||||
|
||||
- if (!clazy::equalsAny(clazy::name(methodDecl), { "append", "push_back", "push", "operator<<", "operator+=" }))
|
||||
+ if (!clazy::equalsAny(static_cast<std::string>(clazy::name(methodDecl)),
|
||||
+ { "append", "push_back", "push", "operator<<", "operator+=" }))
|
||||
return false;
|
||||
|
||||
if (!clazy::isAReserveClass(classDecl))
|
||||
--
|
||||
GitLab
|
||||
|
@ -0,0 +1,28 @@
|
||||
From 25aa102cc49def9573ffbed88155589cd60a2e8f Mon Sep 17 00:00:00 2001
|
||||
From: Egor Gabov <egor.gabov@waveaccess.ru>
|
||||
Date: Fri, 5 Jun 2020 16:52:53 +0300
|
||||
Subject: [PATCH] updated for compatibility with LLVM 10 (clazy-standalone)
|
||||
|
||||
In LLVM 10 llvm::StringRef operator std::string() is marked as explicit.
|
||||
In this commit all implicit conversion from llvm::StringRef to
|
||||
std::string are changed by explicit.
|
||||
---
|
||||
src/checks/manuallevel/jnisignatures.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/checks/manuallevel/jnisignatures.cpp b/src/checks/manuallevel/jnisignatures.cpp
|
||||
index 81e61d4..5d4fe20 100644
|
||||
--- a/src/checks/manuallevel/jnisignatures.cpp
|
||||
+++ b/src/checks/manuallevel/jnisignatures.cpp
|
||||
@@ -103,7 +103,7 @@ void JniSignatures::checkFunctionCall(Stmt *stm)
|
||||
return;
|
||||
}
|
||||
|
||||
- const std::string name = clazy::name(funDecl);
|
||||
+ const std::string name = static_cast<std::string>(clazy::name(funDecl));
|
||||
|
||||
if (name == "callObjectMethod" || name == "callMethod") {
|
||||
checkArgAt(callExpr, 0, methodNameRegex, "Invalid method name");
|
||||
--
|
||||
GitLab
|
||||
|
@ -1 +1,2 @@
|
||||
DIST diffoscope-155.tar.gz 1571389 BLAKE2B 320f352d6d0dcdf231ac246188f698eacbf08bc3b3194e28c09e5e38a143e0718408309483087d81a57a9f5810aadd545caa8cb32390441f1f5b79f7639a768d SHA512 785e08aa9b2420d0e1fed63804c199b198344d991f04ebb402e18de45f8154ea7bf68a2e4b1551744600f5e99f750e798b89c5cc2fad09d56a8b018b0559c2ee
|
||||
DIST diffoscope-161.tar.gz 1564306 BLAKE2B 2e07cd91061f9556e9838a96424c8066216384644eca578f305d9b947fa5dd689ad90d5b46f1c709fc2b639ca7f317ae0812252be23571cc857b66e97ea98627 SHA512 8da2134514c7570bb8e60ebbd5cbe6a7f5c0a5b29cac7b41588d9bc823b1a07b8fe8d5006364b75e34f5dbdc75352cf4322a8f9c3370257b60a962b12391c307
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Will try to get to the bottom of what makes files or directories different"
|
||||
HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
|
||||
find gettext gif gpg gzip haskell hdf5 hex imagemagick iso java llvm
|
||||
mono opendocument pascal pdf postscript R rpm sqlite squashfs
|
||||
ssh tar tcpdump xz zip zstd"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/libarchive-c[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
acl? ( sys-apps/acl )
|
||||
binutils? ( sys-devel/binutils )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
colord? ( x11-misc/colord )
|
||||
cpio? ( app-arch/cpio )
|
||||
diff? ( sys-apps/diffutils )
|
||||
docx? ( app-text/docx2txt )
|
||||
dtc? ( sys-apps/dtc )
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
file? ( sys-apps/file )
|
||||
find? ( sys-apps/findutils )
|
||||
gettext? ( sys-devel/gettext )
|
||||
gif? ( media-libs/giflib )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
gzip? ( app-arch/gzip )
|
||||
haskell? ( dev-lang/ghc )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
hex? ( app-editors/vim-core )
|
||||
imagemagick? ( media-gfx/imagemagick )
|
||||
iso? ( virtual/cdrtools )
|
||||
java? ( virtual/jdk )
|
||||
llvm? ( sys-devel/llvm )
|
||||
mono? ( dev-lang/mono )
|
||||
opendocument? ( app-text/odt2txt )
|
||||
pascal? ( dev-lang/fpc )
|
||||
pdf? (
|
||||
app-text/pdftk
|
||||
app-text/poppler
|
||||
dev-python/PyPDF2[${PYTHON_USEDEP}]
|
||||
)
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
R? ( dev-lang/R )
|
||||
rpm? ( app-arch/rpm )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
squashfs? ( sys-fs/squashfs-tools )
|
||||
ssh? ( net-misc/openssh )
|
||||
tar? ( app-arch/tar )
|
||||
tcpdump? ( net-analyzer/tcpdump )
|
||||
xz? ( app-arch/xz-utils )
|
||||
zip? ( app-arch/unzip )
|
||||
zstd? ( app-arch/zstd )
|
||||
"
|
||||
# Presence if filemagic's magic.py breaks imports
|
||||
# of dev-python/python-magic: https://bugs.gentoo.org/716482
|
||||
RDEPEND+=" !dev-python/filemagic"
|
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