parent
7260278ed9
commit
fbf4788756
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29544 BLAKE2B 2680e67f392df9a0a0489236f6fe3ca963889354070d40f528d276dddc1c62d895091d6f1724a687b0de3c9bb19f03dff77d818e9b51ce505c1f515ea12ac293 SHA512 58cae009db9886db90c4e4acb31bbaeca09bb5ea25a9a0e0f4fb4407f45d50a0993b7e471084f09cce14eb4558654ba316179cc496615f19dd9a76ab7d5b6685
|
||||
TIMESTAMP 2022-06-25T16:39:40Z
|
||||
MANIFEST Manifest.files.gz 29593 BLAKE2B d2ab7e182a579f33fc4e51fa91c9ebd9922bd31568a865593d635132576312770fd577eab9af810bce3ade10ae8def0035dacff0fdff5ec96136ba4621ab6888 SHA512 3fa171d50bc07fcce2b11d07bffe15b25a9c1f28fad8e2e6ecb97ebc853331b8e8be28ab2b938092641bf60cebb23d16d025b58e32140bf3024170c8539c87ac
|
||||
TIMESTAMP 2022-06-27T09:39:43Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmK3OkxfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmK5et9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDS3hAAqU78hES4o3dk6vmLo5RdN3pTISGjQpWugxpx7FbGmGV4M6aR9gHjCYCJ
|
||||
PaaGMW2o2f6xzVe31WPFx8lCiJBfqVirowP/s/S1Jub3D/O8A9YL+HsjGii4+nVn
|
||||
3GnkuHsqHKjBn5aKb5KU2gc35AJ1WGfnqmqJ1a4bD93QU0tZrqoMLYHkNYgpqJuX
|
||||
TZ7XHUqcuvEra0C4nnV7f1TXpTm2rEyRFUlyJOD4K3aFLhqCPP/AVl/+CIji+qh5
|
||||
Nb9G3CwyoIT7JRP7s72zyavnCk5RqDw+lh1nsKolFFIj0+F43UV1DaiNf2YiWK0v
|
||||
UAykE3NpOSqi1T5KKcGjvkRP48fMzZPoF555o+pLKD0JJkE3bXGvOj7KZIcn9kBn
|
||||
b7SKDkyaJ23iYbCvA6X0VQf36Zio9jB7svUw8Xxsz3m7i68otWmXtHu34uxKHVZm
|
||||
1bC62OfsCzmAuIle7ZlliKzWN7hMNxrNm7BozL63+suG/7+2Tzs4ZLDPxhzCOpag
|
||||
ukO23z3hWAA8seEtl4AKjkoCI6Tj/0d68jk8+HfzVPE/zaZA7Ao1341lnuvZb6+i
|
||||
er9eUXNI/vFntyiBea2fZt8H2bk3/FuLmg9kkmEGoGPUp6G/OmqgADtyaRImZnrz
|
||||
CeR/IRWpCP9Z9n0obSfe0HZ5J4C7C6Vdy/RmmEmfHyQOP7uFehU=
|
||||
=17Qr
|
||||
klBVDhAAgcR6DHgO+NkwE3OTqhva1Hat7JcvUjGlSim9ufOrW2Njj0uVPM7wXWLq
|
||||
/POFKhvGPQ8wvjPsk2qp3nVTkuRGw2/JR59YK5sTaKDJqGSHWbtb6e8/PDC4X9ls
|
||||
bZoOoEjRbXl+nMyEMXSJG/wSeQmTcuz2uH319401/IHpR4uw4cX+Fe3wt2MAcSRy
|
||||
rXVEu+wjgEh7peOzRa5C2y1j/jtzxtf7u457QnudvHzl8/pLkBI/J+52voVK9ox0
|
||||
LdJtpKq8ly1G2Cs9uCinIOB6dxlIHU8EMfpXxdu4viEzWuZJ5U/mnPOhJuKP2sg3
|
||||
42eiiD+chonMPPQsYAD9DJP9WxYxZ+STBZvJIC8ZLkVqzy3Uyn5cD2ZytGqFn26t
|
||||
GBCE2GgSNrPpIWJhoEySd7uMDySgPgkSCdUshy852QAubhEBWq1GnK3klYdtC1VQ
|
||||
XkrSh6lx6JiYxpXKAAFLkzmfETNHm0aM7bZuPmdzzQUj9nU0YdVm92EtGbE93VX0
|
||||
0w2EAgH6Y4x5TSq1WCAzswhWKPZoo8PGwwNhlacasziVM8WOWAz4R4mcfeuQtt39
|
||||
s69iP5jLggGU6ZgabO75wLePporfh3T9ZEeF1Y+p94hpr/qiONh2FKIX2uf4hakL
|
||||
0yEaIiuSDDYdCDYUmhdGVk6oq4hns6i5/iGtSifjJIprL91t7NU=
|
||||
=e/1o
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX ansible-molecule-3.5.2_pyyaml6.patch 225 BLAKE2B 4d7bf726e94ef037bf9bc26bc4ff2f68cc631b9053e532e5ca8a782948c5a3ab127eca68b4a484fde808e2ed48b9b5003eebc0605bbd1caa1b80723e50564870 SHA512 882905ce77fa8ba0cd680d58cdb36da968473260a3543e149b6dad8f04ef28227c5e0684a7ccda15e56dce928146c8ff8441c3c375e680dcbda209325d96b234
|
||||
DIST molecule-3.5.2.tar.gz 290964 BLAKE2B b6c6bb8ecdb4230d23161e25fa003c8979f48fc1705bfba7d14204fbaa3e9c235a71db0c4ccbab5c4328ddb8a0725d3c2ba7cb4b624afda21c6453c8be824f3e SHA512 04a7d1f7e7e098c0ada71d8dc9a3e3a94320033942d8ee03f2c51ec185405d2ee13fcb44000a4942ec66923f0426717ab7e2c3a785ddda7a23515096474dc3c3
|
||||
EBUILD ansible-molecule-3.5.2-r1.ebuild 2945 BLAKE2B 4672987330414d678e5763bdfdf00d2acfd0b44f8fd5eb81951b6fc171b1052ffaf6aa9672e7e83e396e408f764466dc8b04299b72b7beacc1f0270c3f17dc7e SHA512 3efe380520b7d19cd5c6034a4892cf699b6f7af37dca68cfcf91290df453ccf6a2a1a3fb30cafddd7f651a4325d863deba59448acb72288b7a39cc20009d4e7a
|
||||
EBUILD ansible-molecule-3.5.2-r1.ebuild 2952 BLAKE2B 2dc7b3abac3fc5a1381a3927b77b4306ad5f7687be49d93f1a749c229039d4a9f76598cf8d41baf2ffb4ae31b7191a69bd8813228205bab29cd40a4bf1518c20 SHA512 51e36e50568f2681ef4bd28e2a93d1151dcc34c0055e49ad7b9fb2962a26a3bc08d4354d8f6409140d5640126a11d0894e3928da79b5e05cc6c2aef4ac15dca7
|
||||
MISC metadata.xml 407 BLAKE2B 869b6c1d6da66568eeac2daaca56567876dbfb057f50add7bbc95fef8a3fc38b99279d359a90573f8d6af47d0e451445827f6efeefa8fb0e7954e8b624783855 SHA512 e6dbbe2c0536ea84bdfea0168a743dbe3de424b442757441bc4f978e07d41ca6022eb2d6f269c921f42b4e7d858788f967c1c35bd4241a35dbe25a161f5744de
|
||||
|
@ -1,9 +1,5 @@
|
||||
DIST puppet-lint-2.4.2.gem 93184 BLAKE2B 5170bd9c30f6e2f5b30120b6edc74550e697c3243d2f5c7249f27a2d61ca2f5612d96efdc0f6be8d065e7d7a4460b9cf6e6dad13a5b24c4ce100d4e6df2f0425 SHA512 ee846688b13536b7d146ea50c0efe5083babf1ca09b77182437ec93be754ae076d54ac34f8082867a26b6df12a09bcd316e5b1aaa9c98150f9411a0c8b007c71
|
||||
DIST puppet-lint-2.5.0.gem 90112 BLAKE2B c731e0988f09f779c50aad118f136f79c6e042f43cc8a5163967c44a72d4019a00426578bc95b4cf9618057027c1707cd3463ea408a30d25ca0a0911dc3c94eb SHA512 b04097443eae40a084475f95c57ebde73af937ca3b9b006237c6b5e60caf939338e09cb1e259a26524d2294ecbc61bd91b6e34f7051d87211078912518cb364b
|
||||
DIST puppet-lint-2.5.1.gem 93184 BLAKE2B ce93397fcb05655043ed41693690d909505a74a7e8029f355d76cbcdc247cb03b87f9fc870d07e88ca378b0866b4490c853950a9dc7eff871006ff526d852c70 SHA512 5ffad674280b4b67669a59c9b17b36cef8338dc4de2c9a28b2cdfcff810f733eb4ae18824b6145b75db3816ed906c12e9d4b6404ac5294c4a9a0eb27c4272820
|
||||
DIST puppet-lint-2.5.2.gem 91136 BLAKE2B cae884b3994c7862f337a214903ecd4d7bb297e9e2bb7495fb94030304f53fa7ae98080b62944d5c96f2af0d208352d00030415a89259e8e188ec53da2a2b643 SHA512 996a5fda970c318a3f58a196c7b9aba7e712aae2b24d936b917f1dd9eb6bf5d706df28f70d88e1e174e175aabb13f1d22c8c90289314d5a1dd4ff9207ebbfe03
|
||||
EBUILD puppet-lint-2.4.2.ebuild 585 BLAKE2B 7a3ffd32711e1fd2f16794eacab23168d5c79fe43604ade19a5ab13a740a3ef56825d48d0664edc5f6d962ff77b3fb6e3f07a75057442343facf4c86859839c1 SHA512 d026463ce04bf33a5f9b150cad27eb23b3fe1d0efd33a461e266326eccb599b3ab66b941a434bb979571fd830707f361e715082be2a95383b3868197ddc56658
|
||||
EBUILD puppet-lint-2.5.0.ebuild 482 BLAKE2B e8e72d09a1c4fc48e2103da544a7d05583bac11709871031a6a651d56b56f940f694796abad083f5d90243b065fd656119ae1089e57d740b5fda00e45d770cac SHA512 8f35d79363b4cdda405719d6f484a83950e89c36366ae0068ae864e151ed4bbee75ed5ddd082d885f117e4ad42c8120e072ba508e7376b0a61f68c9d442d1ab7
|
||||
EBUILD puppet-lint-2.5.1.ebuild 517 BLAKE2B 242148c3c965b8288ae0eae04351e498d9bd2f6eec8389e78694e7fa8a3940d0f9fc6097ed17539560369c078e6674ceefe7f95d8cbd5cb413423c6aa202c498 SHA512 a0949819586ffc5f7b547021160ca1cc16379bb6d271564d583aaf0983c8417a84407bc04b21a5f5e6d17dc948ff0787b51ef1cad4f845d738dc1aa2e7d38012
|
||||
EBUILD puppet-lint-2.5.2.ebuild 525 BLAKE2B f318e1b06aed56e3122c3e1c9880d721cc47d02385db5db5bbf313dbe1abab92823fd6a6ecec4058b392c45157825fe1da037b2dde4b8e7781cb2ce6bf2bad38 SHA512 703335611714ded7a11cdb6aa1d7188d1bc2403eb7dc4c725f5ecef00f6bf1e1b1f7002940f55abc09fb13c3ed2e8599b2e91bbf4afcf162afa02a42e6cdfe63
|
||||
EBUILD puppet-lint-2.5.2.ebuild 524 BLAKE2B 5c1f6ce1722131aec63c6ff4361853d177904f37b2ba62ae4116e1b9db021ddbcffa89c1d618dfd88bc9cb786d03a03304f4f9b0a8a76781261c2a4dede5e34e SHA512 9a7af04603c6f64790c37377147e426d0465f74e977c6a42185e1097fcff249a8059730c13e6ccfca31f412db52a21df1a4f590415a59684500f5f7a69973240
|
||||
MISC metadata.xml 364 BLAKE2B 02e595eed1d040b52b80d0c63f576873a2f775bef8565a7c433382d294c36eb69d2104850701414800e9e4e66f89dd8908983821ffda334e8d32b40a9690a3b8 SHA512 066d6586798789d1d35d20ab12d38d3328575730bb55f5fe9ebe9da541106e1cdb7b00f144d71c124319ca3bd5e6ecd1537b4b3e323cffb2dcc07bf861799350
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A linter for puppet DSL"
|
||||
HOMEPAGE="http://puppet-lint.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec-its:1
|
||||
dev-ruby/rspec-collection_matchers:1
|
||||
dev-ruby/rspec-json_expectations )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A linter for puppet DSL"
|
||||
HOMEPAGE="http://puppet-lint.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec-its:1
|
||||
dev-ruby/rspec-collection_matchers:1
|
||||
dev-ruby/rspec-json_expectations )"
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for managing secrets"
|
||||
HOMEPAGE="https://vaultproject.io/"
|
||||
|
||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
||||
webui? (
|
||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
||||
)"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+webui"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/zip
|
||||
dev-go/gox
|
||||
>=dev-lang/go-1.15.3"
|
||||
COMMON_DEPEND="acct-group/vault
|
||||
acct-user/vault"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
FILECAPS=(
|
||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
||||
)
|
||||
|
||||
RESTRICT+=" test"
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
||||
-i scripts/build.sh || die
|
||||
sed -e "/hooks/d" \
|
||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
||||
-e "s/gofumpt/gofmt/g" \
|
||||
-i Makefile || die
|
||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
||||
rm -rf "${S}/http/web_ui" || die
|
||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
||||
die "mv failed"
|
||||
else
|
||||
mkdir -p "${S}/http/web_ui" || die
|
||||
touch "${S}/http/web_ui/no_web_ui" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${T}"/bin || die
|
||||
BUILD_TAGS="$(usex webui ui '')" \
|
||||
GOPATH="${T}" \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
||||
emake bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
AUX mirdir-2.1-implicit-function-decl.patch 190 BLAKE2B 2071e5717bd4a5eed34ae2250f45a0760f41a01f23d79ab1bfe31434682e55a71b6429a3a0e7e5f44f13d58817220daf3ef750d4737e40c7f9d425a6b59f8ac6 SHA512 6c5302e4e9f306b354991233ec5f0dbd6b52efe524ebec0f1609f5266aa1896d6892e49b7a91d689a0ce45fc0e56d5f5f33028dd840bc0e1d2ae46a021a80e8c
|
||||
DIST mirdir-2.1-Unix.tar.gz 74002 BLAKE2B e9a22bbdae1e2502ffb3bff09f56aa546b79d1847d1e2081ebb262bc9601d1e1e3e48ded45db7e6adb657d2b491b9615974a740be630a277094a66bf4bcbfeaf SHA512 d99cbc04a5d99a739c16fea9198d92cd0209fb5fd4fc931eb2af2bb6c0c0ddcec3c34a27269bf108d7ffebcf760c9817088ea2091abbe9d3c4e932724e85c680
|
||||
EBUILD mirdir-2.1-r2.ebuild 532 BLAKE2B 786a3812122bc7be09799b9c2a3f0aef59e418bcec7afb9d75445cf4d02387aea8e5f2cf20521151a76c37d86c11e2f2609001917a435c74225835978cd7118f SHA512 42169eacbd465854f7ae69f0187b5bc1e6dd736d678fce77d2ae56bca1be6312e73fcc0c21e0763f75aa490d18f1139086dcd8c75e68afe8447cabf88d592736
|
||||
EBUILD mirdir-2.1-r3.ebuild 773 BLAKE2B c9d2efe6f813ce7dbaa2e103b89bfeb8c44b3b7a3bf04e2fbe8f4eb279822646ac0cbfe24925ec007b8869201f8ed5fabe8c2d7b2216ca78c7c4de3a129d4ef7 SHA512 b64b3249e64ed3af32e65902369ba5a03b926920059888e59d280920dcc438bf6bb57e087d6087dbdfeaf872ca679db3ba8b9b8390b716c7e447112434a1f9ea
|
||||
MISC metadata.xml 337 BLAKE2B a144ae0e49068aa9051e9aa7a847905025152ee12959532f6e286a86477e5a309d77d540295c7440037715d190b29f26fc174ec5e8536a51a57a5db543081992 SHA512 c1100f32b7f60981768b3f71c6314a5d2aa308ba6f61d346b9f46b15f95096bb8845b62c407754ee8073b7c2fa1dd8e26cb987698e98770b3afe561d0d0491e5
|
||||
|
@ -0,0 +1,11 @@
|
||||
https://bugs.gentoo.org/854213
|
||||
--- a/mirdir.c
|
||||
+++ b/mirdir.c
|
||||
@@ -88,6 +88,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
#include <time.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
/*
|
||||
#include <sys/types.h>
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Synchronize two directory trees in a fast way"
|
||||
HOMEPAGE="https://sourceforge.net/projects/mirdir/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-Unix.tar.gz"
|
||||
S="${WORKDIR}/${P}-UNIX"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1-implicit-function-decl.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable stripping, bug #239939
|
||||
sed -i -e 's:strip .*::' Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Old autoconf gets this test wrong with -flto(!) and there's
|
||||
# no source configure.in/.ac in the tarball. bug #854213
|
||||
export ac_cv_func_lutime=no
|
||||
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
doman ${PN}.1
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,231 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Please bump with app-editors/vim and app-editors/gvim
|
||||
|
||||
VIM_VERSION="8.2"
|
||||
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
S="${WORKDIR}"/vim-${PV}
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
BDEPEND="sys-devel/autoconf"
|
||||
# Avoid icon file collision, bug #673880
|
||||
RDEPEND="!!<app-editors/gvim-8.1.0648
|
||||
!<app-editors/vim-8.2.4328-r1"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home || die "mkdir -p failed"
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
eapply "${WORKDIR}"/patches
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i \
|
||||
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
||||
|
||||
# See bug #77841. We remove this file after the tarball extraction.
|
||||
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug #29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug #43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
sed -i -e \
|
||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug #37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug #76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug #18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
|
||||
# Remove src/auto/configure file.
|
||||
rm -v src/auto/configure || die "rm configure failed"
|
||||
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e "${file}" ]]; then
|
||||
addwrite ${file}
|
||||
fi
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
emake -C src \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r5 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
|
||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
|
||||
rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
# Delete skip_defaults_vim config not supported by vim[minimal]
|
||||
sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# install gvim icon since both vim/gvim desktop files reference it
|
||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
AUX vim-completion 1004 BLAKE2B dea4230a8d2a57fd1af18df4037504a44382a97ff672410e987cb287d802c964baa502da4d08f09cb8684307481fec503c1d8cae7f4f6e61500f1cb06033a2c4 SHA512 dccf663a93efdf2ec3be69f49e418a0ef66277e2fae6c12287adde772592e19f5130388a04242121846f1dae39f78b30780c99dc6fe1b847f4f08354bda3cc41
|
||||
DIST vim-8.2.0360-gentoo-patches.tar.xz 2612 BLAKE2B a9273a686b31dd873b25bfc07f7bc254f11038bde275ae4e6f56513a14e0268fdc1032ae847d1d7f8539f8a657217011770ccb4685998f34722383ec7bfb1a15 SHA512 00bc8eb8b20a4a6f3bbd179bb90d42fa6727c8eaae5b625e95e52c33638d456ef36d06b51c542ecaffb237c0b4f7aa72dc3bae7fe00144d55ab0d2fa51950f3b
|
||||
DIST vim-8.2.4328.tar.gz 15983756 BLAKE2B 23d95d2ae6772fbd2a15a73dff5af75dcebf87af5a6a600d8a30284d32d1f83999111bfaa0e49c0295ae42a06f49075aeb00f8ae969eff251889b363b7445fda SHA512 f5e077891d22f468327e30808dba817efe74111c89948fbea5544be58333a8d3342290fa140939dd9c7d976575e63050e100daf947ba73373cc2268677020651
|
||||
DIST vim-8.2.4586.tar.gz 16251186 BLAKE2B 26471b493397e58d3e3d6f2c0c5cc69a08c294dcd59367a12729d1762cf2043eab0987ec4c370bd1f4cbbc67d10576f8a6dcfcb748d224b2f35476dbade32597 SHA512 354464e51a3cc13e13f3194ef8a4d5ccec978da7eb385337a042a6b2e6b38a253c587815e7c972070c516f59c7d54c89bce6926ae7f7f9635cddfd1d0bd237b9
|
||||
DIST vim-8.2.5066.tar.gz 16497942 BLAKE2B 613f009f6a03e28305763e471bf55b626f37bb8b0f01324d5a676f6682811e3c4a5c11442af839d06b7d94b3938f5a30306bac576eec5d3c76f4a135a3443bb3 SHA512 27fdd1e86b0488b974a9fd60523b31ba23b581cab4c9bd15aee9ae459e2f2d028d6887adf621ee88244b74d26697fc953b08b587a3a80b316d31b65fc588ce9e
|
||||
EBUILD vim-8.2.4328-r1.ebuild 10084 BLAKE2B 17f81a6a8ceea8fc7ba492ec894cdb1958593150f979df99b1abe41982bd5c8933ac1b7e2e6a77a8d0035296c82b4ea539ab5723287196dcd13bc479a2c8aa83 SHA512 971323dce84d8e36d6556d8c7062d49afe80c50be896b78f12c7db83d61923eb1d6c221109b74addb61378e30208e00cf676d324f2e23c79fc6a27101f45c368
|
||||
EBUILD vim-8.2.4586.ebuild 10092 BLAKE2B 4ccbb2f8110c060bb42bcba2b86071014e4aa4c91d1c572b63720e0ad0a85e273332fe0b6b72d71db94e66cc15ee948c34d08b504e4ccbe2786cdf3390b015cc SHA512 41ed8f3b1885e185fcb9bd4e7100f04ee7d1fddbc07fa9a9757e4891de20a41c71da6d2b96b2f8fcdbbbec2136b300f8e3a2abf560b75bf75681fa6a4d38b29a
|
||||
EBUILD vim-8.2.4586.ebuild 10091 BLAKE2B 9073b2cdbd5e910154e4f5ecf845d46b10407e1b363a05d98dd0e688071abfe5d67209efece7997f48197de5951f8a1369ca3b424cb44d69a1d532ff7167ee2b SHA512 3907db9b383f43378ce0c87c8abcbf64aa64212462be5873595a796a562af34e8875a5f38b9bc55363c94d0a9eae9ed9f58f386062ab2a73e1fa7dcee5479478
|
||||
EBUILD vim-8.2.5066.ebuild 10508 BLAKE2B 494cd178edbd39072180dc1b995820db78d1f1589e6f7697d927ad418fd551e0f6f752168e629f212776a67c9b84f3e3806008329bcc40e62325a144d6c359ad SHA512 8a318f4d1e5ac03d356bca7f8e2a79e9658f4bede8271f09dc4f6d813ebd51850dbf012bb6dfb92d6acec54e55e90da88fdbee59c59de012697eba58b8b99a37
|
||||
EBUILD vim-9999.ebuild 10508 BLAKE2B 494cd178edbd39072180dc1b995820db78d1f1589e6f7697d927ad418fd551e0f6f752168e629f212776a67c9b84f3e3806008329bcc40e62325a144d6c359ad SHA512 8a318f4d1e5ac03d356bca7f8e2a79e9658f4bede8271f09dc4f6d813ebd51850dbf012bb6dfb92d6acec54e55e90da88fdbee59c59de012697eba58b8b99a37
|
||||
MISC metadata.xml 891 BLAKE2B 00a55660fecbeca3df9b50e7400510fb92bbcdd42ba588725580c153d74a4731b31dd0ebaade4f60a4db88c695a7f60663773d63046c1b38aab0363520b8858d SHA512 76eebfe4d34eb609b29946b724ae450916eeab2573edf0f5aa87325f1e9abc8a2ca45d7abe3bfa9d996670d90e7cde17cb84662f69502a4b4a5b44b14b4c8890
|
||||
|
@ -1,350 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/gvim
|
||||
|
||||
VIM_VERSION="8.2"
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single desktop xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="X acl crypt cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
vim-pager? ( !minimal )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2:0=
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
crypt? ( dev-libs/libsodium:= )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? ( ${LUA_DEPS}
|
||||
$(lua_gen_impl_dep 'deprecated' lua5-1)
|
||||
)
|
||||
~app-editors/vim-core-${PV}
|
||||
!<app-editors/vim-core-8.2.4328-r1
|
||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( ${RUBY_DEPS} )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
sound? ( media-libs/libcanberra )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# configure runs the Lua interpreter
|
||||
BDEPEND="
|
||||
sys-devel/autoconf
|
||||
lua? ( ${LUA_DEPS} )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home || die "mkdir failed"
|
||||
export HOME="${T}"/home
|
||||
|
||||
use lua && lua-single_pkg_setup
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
eapply "${WORKDIR}"/patches/
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i -e \
|
||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug #29398 (27 Sep 2003 agriffis)
|
||||
sed -i -e \
|
||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug #43885 (20 Mar 2004 agriffis)
|
||||
sed -i -e \
|
||||
's/ libc\.h / /' \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager; then
|
||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man ts=8' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
sed -i -e \
|
||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug #37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug #57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm src/auto/configure || die "rm failed"
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug #24447). The hvc
|
||||
# things are for ppc64, see bug #86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e "${file}" ]]; then
|
||||
addwrite ${file}
|
||||
fi
|
||||
done
|
||||
|
||||
if use minimal; then
|
||||
myconf=(
|
||||
--with-features=tiny
|
||||
--disable-nls
|
||||
--disable-canberra
|
||||
--disable-acl
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-luainterp
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-mzschemeinterp
|
||||
--disable-rubyinterp
|
||||
--disable-selinux
|
||||
--disable-tclinterp
|
||||
--disable-gpm
|
||||
)
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
$(use_enable sound canberra)
|
||||
$(use_enable acl)
|
||||
$(use_enable crypt libsodium)
|
||||
$(use_enable cscope)
|
||||
$(use_enable gpm)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable python python3interp)
|
||||
$(use_with python python3-command "${PYTHON}")
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcl tclinterp)
|
||||
$(use_enable terminal)
|
||||
)
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope; then
|
||||
sed -i -e \
|
||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
myconf+=(
|
||||
--enable-luainterp
|
||||
$(use_with lua_single_target_luajit luajit)
|
||||
--with-lua-prefix="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=(
|
||||
--enable-gui=no
|
||||
--disable-darwin
|
||||
$(use_with X x)
|
||||
)
|
||||
fi
|
||||
|
||||
# let package manager strip binaries
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# keep prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
einfo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
einfo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# See https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
|
||||
# for more information on test variables we can use.
|
||||
# Note that certain variables need vim-compatible regex (not PCRE), see e.g.
|
||||
# http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
|
||||
#
|
||||
# Skipped tests:
|
||||
# - Test_expand_star_star
|
||||
# Hangs because of a recursive symlink in /usr/include/nodejs (bug #616680)
|
||||
# - Test_exrc
|
||||
# Looks in wrong location? (bug #742710)
|
||||
# - Test_job_tty_in_out
|
||||
# Fragile and depends on TERM(?)
|
||||
# - Test_spelldump_bang
|
||||
# Hangs.
|
||||
export TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\|Test_spelldump_bang\)'
|
||||
|
||||
emake -j1 -C src/testdir nongui
|
||||
}
|
||||
|
||||
# Call eselect vi update with --if-unset
|
||||
# to respect user's choice (bug #187449)
|
||||
eselect_vi_update() {
|
||||
ebegin "Calling eselect vi update"
|
||||
eselect vi update --if-unset
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
if ! use minimal ; then
|
||||
dosym vim /usr/bin/vimdiff
|
||||
fi
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
|
||||
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
|
||||
insinto ${vimfiles}/macros
|
||||
doins runtime/macros/manpager.sh
|
||||
fperms a+x ${vimfiles}/macros/manpager.sh
|
||||
fi
|
||||
|
||||
domenu runtime/vim.desktop
|
||||
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# keep in sync with 'complete ... -F' list
|
||||
bashcomp_alias vim ex vi view rvim rview vimdiff
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Call eselect vi update
|
||||
eselect_vi_update
|
||||
|
||||
# update desktop file mime cache
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# Call eselect vi update
|
||||
eselect_vi_update
|
||||
|
||||
# update desktop file mime cache
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX 50biblio-gentoo.el 75 BLAKE2B 8a933d31510ad0c755b78d34bf4b17fa2101c5fd82f80a0d38c34a7cc4336f3cbce728368ac3fe6e0e55bdbbac1e94a58997e52f2b03ac1881478b86f0bb3c3f SHA512 150b78a837954f42938315e3ee32fb252917617285157add5b2a0c036b6d6841bec024b069dfc45de3ea2ce1a632a29680c39e2ca22dd20392d44a943af20fc9
|
||||
AUX 50biblio-gentoo.el 81 BLAKE2B 16a0d5099e2e7ee01db6072a462a90d523b32da123837123c01ff429bfa633b7bd7f6672d99a4df5a922c03bfe18bb3b47cc62f25b58df157ff6cd711a338a09 SHA512 035b49cd150dbb799a14dbcded10c7e5e029a75cfecac5b117644d914f7bb0014e539f4b194a3bbdfe27bb30a519496851831e0ceb36f4c6112027f60e8afd35
|
||||
AUX biblio-0.2-tests.patch 2517 BLAKE2B da75066679c09a93f190de90dad09433fc5c4956ef378f534e6022a7e8cbeed43fbc5a7ca8c11dc4879bd314c38c7084a63e4f1cb02736bd8842e267a3b6a33b SHA512 b9ba2774e65ca431dddfe64136d0d64796723b3f6dbc56e21730d3a7d5da307d33a5ba9de9b3a6c638f082ba21273a38975c7eb02dab41ca7e7e9d9d406b6aac
|
||||
DIST biblio-0.2_p20210418.tar.gz 205374 BLAKE2B f649cd5130ce79fae346e7121e1be87d2b596a66ca23f27ccb33f0b2fce9bddfbbeda2a41c79084c91f359235dd3806befa1e2e86c6015df132657c24eb1f6b6 SHA512 5245386cd95c2334a49a139c93ec6107378ebd4154d0263f5b982d0a027c8cf116bf8f89d25348e0d82b540f6672889b3325df4fff3573f2262da493431f2a10
|
||||
EBUILD biblio-0.2_p20210418.ebuild 973 BLAKE2B fae80d731582ccb3a66cfb62ec2b3ec27dd3ef755302cfe36fb77408951556cf54a186c483181b446a241c9a800d395eafb00f2d63dd1ad28249ca32a86a6e92 SHA512 72e795df4b7d441edd5dc50088764a3488ae6af5242e59ef22a45e9f78ec7ddac825eba5abb25f66bb2a97c35e7336aac19a9a254c91f1cdd43bc815596e36fa
|
||||
EBUILD biblio-0.2_p20210418-r1.ebuild 973 BLAKE2B fae80d731582ccb3a66cfb62ec2b3ec27dd3ef755302cfe36fb77408951556cf54a186c483181b446a241c9a800d395eafb00f2d63dd1ad28249ca32a86a6e92 SHA512 72e795df4b7d441edd5dc50088764a3488ae6af5242e59ef22a45e9f78ec7ddac825eba5abb25f66bb2a97c35e7336aac19a9a254c91f1cdd43bc815596e36fa
|
||||
MISC metadata.xml 705 BLAKE2B f7615e5e1e03a4f79a25c8fc1713eaa25fd1e3b0b8d78a1ce47137529232dc9433cf0a78328356da4e814de71e9b76acbfe1b6895db4ad87254137ffea6b44ca SHA512 ad932d5f0d70207b43b126d17ce7552805734c591581f6ac490b79fff936a3daa65b33e4596ea06a72e05f1b2186099946d38f74b99a096c1e3c9518bbde3c8e
|
||||
|
@ -1,2 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "@SITELISP@/biblio-autoloads")
|
||||
(load "@SITELISP@/biblio-autoloads" nil t)
|
||||
|
@ -1,4 +1,6 @@
|
||||
AUX 50doom-themes-gentoo.el 139 BLAKE2B 8060409e94123cb9d0355d3e65a3cd904a2f35e8601ecaf86886ccfcd1f3662b4d64c9c0dc567d77cf2d8c3a767f65a4d699917338337455b3c06b2c51f63ac3 SHA512 e6fbd5d9a40aeb5409a8bbd582b50817232f52e3f9b23227a52e41b2dc2ca655eed976fbb412e0b2345373c6e01edb2e316da8164bb8c7f64609ddfd9466417d
|
||||
DIST doom-themes-2.1.6_p20220505.tar.gz 128520 BLAKE2B f7b2f060d2b68427bd9f375cdd8d009d68ffd0839f46aecb41ede32bde815f2b4df68a2df8af9d09c055f4443b4abcaecc0046b4449ffce9449956cf9c43755b SHA512 bc450d964d45e123b96efb6f96e153ed0d4530374197bef484b41b18f51ae49fc7c7cea2aa0aa599992709706510f725ba1943176ae02cafb16b2f2d3b7f824a
|
||||
DIST doom-themes-2.3.0.tar.gz 133034 BLAKE2B ea6c4c35f4f4b8e7cdaefd5871c99d53c7648a0421fac2e6a69bd24d2b384c4793666c21ff99e5746796995f37ff526b333418839d30ac50406ae003e0cddf4d SHA512 0197896eabdf548569a4826ff670e47cb113bb2ea252eaa9b06d2bebd68a7fa4833126536c265c15216e4f5403114f6e3e77b9db75b05a5552fae680c85d7af1
|
||||
EBUILD doom-themes-2.1.6_p20220505.ebuild 625 BLAKE2B b479c7cfd3a8d5a1a0816d65430596a6265a838a0f6383d3bfdf1d07cffe3b1ab17e0bca92be537fd81672407f69a979f3153516f4fe115295cf90606be7fa49 SHA512 9fcb72ca7ea51d67ca71349ab7b29dac36fbf9f2619e159384e8ef9c2dd7b461c466815a5f06b65f473f14843da8747c1aad10fc8f4d6863af88b02a6d233d9f
|
||||
EBUILD doom-themes-2.3.0.ebuild 585 BLAKE2B eff3d57fff5970e35c013398525cdcd367659cc9314557a13fe304d84be3124ea3a9ea902037d8d8d86ee16781fbb40fbf82c41ad2a9e5a1c0610242eb634752 SHA512 2c0d81611d7f1eb50830290ff31897e83a0fc2338856801c20f10a26af85912271212cb2924be92b7c7fb719acf9ca8186f9cff208d5ca6f759af23bf63503c5
|
||||
MISC metadata.xml 421 BLAKE2B 0ce555845fe7265c005170e5f7fd7585262d9806d7c52ef3b3a204f364ce6e692509fa47be92d794036cdae5c63ebbf8961e756355277d6502f495d7c73359be SHA512 6a291a43bbc2d0bfa7e4a297a12290e070f9cfa330f966994faf5ff4b24fff830678f5d2eca25221456a437caab24d9e3550366c09aaae984289ce88264e2397
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Opinionated megapack of modern color-themes for GNU Emacs"
|
||||
HOMEPAGE="https://github.com/doomemacs/themes/"
|
||||
SRC_URI="https://github.com/doomemacs/themes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/themes-${PV}
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto "${SITELISP}"/${PN}
|
||||
doins -r themes
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX 50eglot-gentoo.el 76 BLAKE2B 0f41a5837bd485730c10074ca5c2dba963cf69b96043f3439e9f1e7a41d468cd706e974c7d7b312e51db98d6e7573b4ec284603998c2fe1de05f86496c3ec0cd SHA512 6c06dfa72ac6122c82dc59bb672f796ae86e71548babb2bb0dc2b00e58050e65b51e13aab279d5f3e7f1283ca2e0a64c7d34a55b412c2d81fc58fc495864c8c4
|
||||
AUX 50eglot-gentoo.el 82 BLAKE2B d5c0e215ceef684ac390a835633aca107f4ea95a83544779724c4fcf9a73963ba87d956aece3406d82bb02f82a5f9b909632d52e3b8fe361d26921f88d0f4e67 SHA512 9039a33b75c7101b04e367432f217700354fd2293914a295adfe3abd4ae1b8626205155fe8c0d809acf5d02b56af3feca22e837e926cba96d872fea4b3354a5d
|
||||
DIST eglot-1.6.tar.gz 288078 BLAKE2B a2214d216d0eeaca32d974c6686696dfcf141b3384741bc8cce0d02abb508eb5713933bc227d12a07f4b87fc34601431845b1b8e519538ae04ecc74b24db4004 SHA512 51227c8e2b0a1dd9a63ededbea592f01616ff728c34c330400c078212fef3f3e747e6dd30ba312523cbe60c7ea663a7af9d83300210cf331ea6162d2db5c7e41
|
||||
DIST eglot-1.8.tar.gz 302450 BLAKE2B 7247b11adaf9a65a2e071ca17b55038fe85f5842fb4155b44dbfa82bae5774e4cd2f7a5557d40cb1a7ab7f554233f15abe297e10568a1630b464ab6a600d978f SHA512 0295eff6dfbbf9d7a82349b8e5ed9e7dad700f2f0bfcab879d906e30bfbb4d28b8779fd9076108ac9b1594a60ca5e30c5035e2f8ceae44add99c28a843027609
|
||||
EBUILD eglot-1.6.ebuild 670 BLAKE2B a1ca6c70ae3da6d338162f14bb0e778ef8eab25545622f1fcfc0e38df1df31588194cd3e7b8988c33dc39373b2c4bdeaad251cbd3e551ff16273936f33fc8d1b SHA512 77c26b1afba7513e8e3bf286003fd0a82971762b36cf78dfcda6101a03d043201c9d2b4e27a9773043ac62fe2d64c6bf25b74efc946d0b1f639219c928343ef7
|
||||
EBUILD eglot-1.8.ebuild 670 BLAKE2B a1ca6c70ae3da6d338162f14bb0e778ef8eab25545622f1fcfc0e38df1df31588194cd3e7b8988c33dc39373b2c4bdeaad251cbd3e551ff16273936f33fc8d1b SHA512 77c26b1afba7513e8e3bf286003fd0a82971762b36cf78dfcda6101a03d043201c9d2b4e27a9773043ac62fe2d64c6bf25b74efc946d0b1f639219c928343ef7
|
||||
EBUILD eglot-1.6-r1.ebuild 675 BLAKE2B de5c3a0d57e367649e80cb8724d9ac06ac20e8fae912faed9b2be8391eb2b23431f504a9116d1ba5064d616c8621cdbe6194710d9016c07cc7d4c9d7b931854d SHA512 d6f9cb4b5b89ec77b34c782f3a4ab2372b6db31f46700a669b0b678f2a537db89154e5d29ea1934b2e8a20cfd2e3cd4b04301823c96b30313af6dbb022477c80
|
||||
EBUILD eglot-1.8-r1.ebuild 675 BLAKE2B de5c3a0d57e367649e80cb8724d9ac06ac20e8fae912faed9b2be8391eb2b23431f504a9116d1ba5064d616c8621cdbe6194710d9016c07cc7d4c9d7b931854d SHA512 d6f9cb4b5b89ec77b34c782f3a4ab2372b6db31f46700a669b0b678f2a537db89154e5d29ea1934b2e8a20cfd2e3cd4b04301823c96b30313af6dbb022477c80
|
||||
MISC metadata.xml 701 BLAKE2B 436bc9f2720fad7cc3a7bcf9597a820317617ad7522e72c05417d6b9e1cb9c37d171ce5e24741b5730ab6708a0bcafacc8f41df3d4108926868887dc6ee25df3 SHA512 457dec4f625c37429917085c187e7c21ad1155217f79980033a7c0ecf62da941d340433ccbcbd5ae36a028aed7ab0cd1204e74985e36844e31829dab288c4fa8
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1,2 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "@SITELISP@/eglot-autoload.el")
|
||||
(load "@SITELISP@/eglot-autoload.el" nil t)
|
||||
|
@ -1,7 +1,7 @@
|
||||
AUX 50flycheck-gentoo-r1.el 77 BLAKE2B db43c9dc9e2527a60f0f47441f98271dd427b83ad65d27805eabff5f3a4c0bff0275cd740a01a3b0f457497d2cdf6b7edc41f2ac2d66e2b28cf0b61528b220d1 SHA512 5df5cd028f22f616459d86bfac2dde03221da27a98c9e721879df1f2bbae1df06fdba7aa4f4a8c26e97f59d717f883b595b808d49b4ed800ca92e8476cf3bac5
|
||||
AUX 50flycheck-gentoo-r1.el 83 BLAKE2B 5d35105289d99c3e33102c6f5d84135600ad4fcff435a7c691972a259071702cb240e17bee12e9dc61386e7f2397d5a6fdd52187f4beeb91e84855285a4c0f3b SHA512 e89e263133108f2a5be2539abc2fc67134d49217ca8db8da9fe3faa4107b32d42896875797811c879a6f1f4746a1f097acc38e6c1cefe093570d6de023cd4f09
|
||||
AUX 50flycheck-gentoo.el 168 BLAKE2B e1a9855c04e42743261f2d1483772fac65c8c6a30702aefbff97cb6e90d631e4e6e862f93b3bdba175d83c4e9dd95db5b13e07fb8a428cdda4e046d58cbae71f SHA512 a1a6bfe0a380d948e3e2e6b7f3d7034aaf25f110966ab991a04f818d493892d9cd50078cb709205189e7a7f59ea052ab16b5e4d4c43f66c1f0b3dfd2ada00988
|
||||
DIST flycheck-32_p20210825.tar.gz 1042020 BLAKE2B 1663340de24980b3a1e58929e327841b743495dbd5d5c8306f007d0dfa989707015ceadaf6e5cac673eddb45adf9ec05dc35d8cb35af322c9cde6644194dd75d SHA512 472e25956d804e7f7ba8ebda2e3a7527eaaf3aee47fa5bd43a46ae651f94d857657cf4594f5a1ed0c169ec0ac610139956d182818ffeedf2c4132a5583ca870d
|
||||
DIST flycheck-32_p20220328.tar.gz 1037565 BLAKE2B 385d73e9ccae06db09d23819600317b807b7ff8cf0679be510cac27d539e57374fffd67575687067e8d6beeae66472b2831a5ece4adbe7b85da9b484dc8b6346 SHA512 f2c5dad66a1bae826f1b48242d3b1202cf41615fa2eadba55c4aabbbd9616ca873ba93c8c9f53cbefc22587b70ed1a2cd4fcbdcb2d6caf13d0c21c4d36e4ffc7
|
||||
EBUILD flycheck-32_p20210825.ebuild 704 BLAKE2B 839051da4eb453f2796f02e08e7c713679d2cc77807bafed0d95fdd99988f7441206024bc1cfd12efc0f7d44cb687852fe654b75d31bda53d1b182fd5457ff8c SHA512 cf5ad3096aeb05ac0e6c13bde5929db94c2a24576033a3c1dbd2bac7864fef83c16ab59e6966f7da61e249e17b6471177cb8fc9bfcd958a72d73288dd11269fb
|
||||
EBUILD flycheck-32_p20220328.ebuild 778 BLAKE2B dc923386a63c836ce23477b7387b5ab80967ef809fe8b48887a30ccc876955a3eb67401b2fb41aff8864896fb1c33658bae1d6ab32c96f8421f1b9fae9a8deaf SHA512 ea5fb0122e86fe9f1a6d8df529f473c88de8f0a1d36180f75ad398b62d1c8cc026d0c4fbdd9d02e25edb3a1cece6f5de1aaedf5b513a2882633cca4ae6b5eb58
|
||||
EBUILD flycheck-32_p20220328-r1.ebuild 778 BLAKE2B dc923386a63c836ce23477b7387b5ab80967ef809fe8b48887a30ccc876955a3eb67401b2fb41aff8864896fb1c33658bae1d6ab32c96f8421f1b9fae9a8deaf SHA512 ea5fb0122e86fe9f1a6d8df529f473c88de8f0a1d36180f75ad398b62d1c8cc026d0c4fbdd9d02e25edb3a1cece6f5de1aaedf5b513a2882633cca4ae6b5eb58
|
||||
MISC metadata.xml 909 BLAKE2B a1d56af4275d1d9dd4a1352981621332404a6d7f1205f7dbe503fae4f4c53cb7d9ab2639a1fd908350e27940ebcb1e2a808be05570d9fb96fc06261c067028fa SHA512 335378ba433d26c7e4992f8cdfc6dc0cb44f64fb28c86c715d602947c63d4ec147904063e3a64933a7d037f3a1ac9f271d2d7b66e065708b17ab3106a6010b2a
|
||||
|
@ -1,2 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "@SITELISP@/flycheck-autoloads")
|
||||
(load "@SITELISP@/flycheck-autoloads" nil t)
|
||||
|
@ -0,0 +1,4 @@
|
||||
AUX 50pdf-tools-gentoo.el 84 BLAKE2B d37daa46d1ac2591d7720d6a2d1d2eed5d2a90c5215edf00ad70b18c6c7c9c0fe465901a1363e2a35202c35a144f9999421e6723e38707c7e86cdd0bbfb945f8 SHA512 f5839fdee6f6fc4017ecff986b0460584a9497c13e33fcd09c100c8d0bda50b3408c20b80bee6d5254891e999b984aef6d7730aacf273b8b8a0e7d22565bca29
|
||||
DIST pdf-tools-1.0.0_pre20220619.tar.gz 459416 BLAKE2B 79a7c7a59faf9c11047bfb6218a8055cb9c757b928e52ff59ffb910e5aedb95ca7efe1dda1ae821d98a687fc6e700d8194311fc850f534f425534a1572bd34b5 SHA512 74ca8c05ad238c07ca1b6d6a594889d048220bb984b78b83e7af4c59eedfa7a35a03e153aa4d1296781f910eb0b3a68a5148876a30ad0f6e9fdecf831ff58f8e
|
||||
EBUILD pdf-tools-1.0.0_pre20220619.ebuild 1288 BLAKE2B 7d3e3269c11f51a47e9fe47b6d99c58ee11878ab0e1ead4efd6097f2cb68197f6c7a3d809366ea19a9f9d0d7fd0b2272e21022c5544e158520e765effec2dc4d SHA512 73e72d528a5d87e75b6874efaea682f397658e2ebc7acbd1c9a6c1598b9014440603415b0d38b2da22c7020bc561cf5665a3ed3ccb7eea4fd486fd290ffae7ae
|
||||
MISC metadata.xml 1213 BLAKE2B 8dc34b000f1f156f94630ac4e073af8b42e5cf331cfb0b7c83a094885db2ebdac1f4b376dc195bf14ab371812be25bb256850569e107d4e25dee2cd0427f1d3a SHA512 2044f0015d111d63fb3405adb20d763ea6d8b5bed7d444117e38b4f5fb24e012eb9e665e233aeeebd65da2973125bf1d2e69ee5377d50e0d7ff7d8f21b666b4b
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "@SITELISP@/pdf-tools-autoloads" nil t)
|
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
PDF Tools is, among other things, a replacement of DocView for PDF files.
|
||||
The key difference is that pages are not pre-rendered by e.g. ghostscript
|
||||
and stored in the file-system, but rather created on-demand and stored in
|
||||
memory. This rendering is performed by a special library named, for
|
||||
whatever reason, poppler, running inside a server program. This program is
|
||||
called epdfinfo and its job is to successively read requests from Emacs and
|
||||
produce the proper results, i.e. the PNG image of a PDF page. Actually,
|
||||
displaying PDF files is just one part of pdf-tools. Since poppler can
|
||||
provide us with all kinds of information about a document and is also able
|
||||
to modify it, there is a lot more we can do with it.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/vedang/pdf-tools/issues/</bugs-to>
|
||||
<remote-id type="github">vedang/pdf-tools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=fe42da60ad68e806af1677210249caccd7b99451
|
||||
NEED_EMACS=25.1 # Needs Emacs >=25.1 because of the "let-alist" function.
|
||||
|
||||
inherit autotools elisp
|
||||
|
||||
DESCRIPTION="Emacs Lisp support library for PDF documents"
|
||||
HOMEPAGE="https://github.com/vedang/pdf-tools/"
|
||||
SRC_URI="https://github.com/vedang/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
# Cask is a hard dependency for tests; it is ran by helper functions too.
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="app-emacs/tablist"
|
||||
DEPEND="
|
||||
app-text/poppler:=[cairo,png]
|
||||
dev-libs/glib:2=
|
||||
media-libs/freetype:2=
|
||||
media-libs/harfbuzz:=
|
||||
media-libs/libpng:=
|
||||
x11-libs/cairo:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${BDEPEND}
|
||||
"
|
||||
|
||||
DOCS=( NEWS README.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
cd server || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd server || die
|
||||
econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
BYTECOMPFLAGS="-L lisp" elisp-compile lisp/*.el
|
||||
elisp-make-autoload-file lisp/${PN}-autoloads.el lisp
|
||||
|
||||
emake -C server
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} lisp/*.el*
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
|
||||
emake -C server DESTDIR="${D}" install
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
AUX 50tablist-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST tablist-1.0.tar.gz 31848 BLAKE2B 11bc943aaf25fb1fe6ecb43a944d70d9b5ab4c423f9df96c881a840570780707a702240808c425e8e91321ad620c1773c80c03e2f6881ccddff84c0d818aa7a4 SHA512 14d32228e9663d218b49563ec07a5f8d094b389e06e532c0710af54d7386fcd19435fae2920163e0c774b7b67bf77ef5fc0a246dfbdb11785dca976ff47eeff2
|
||||
EBUILD tablist-1.0.ebuild 424 BLAKE2B 8aa8ada6fe806828b392181ff38e5a1bee9a4ae08b6653dace053c22f7aaddc07ec396fa7d34ca3a860031eae2f049bfc60cbef775a4e48b185e61058572aafe SHA512 e19c2c582a98db4d1f53dc2835b2cf41124f011847e72c2dcba7add0fd4fa93ec782cec74c9cadc8723e1fa94f22118aa9fe2691ca25895a46ed98e141d14e4f
|
||||
MISC metadata.xml 733 BLAKE2B dbcaea825af46c7338b5517153b8bed00afe403ff424faacb321b6387d54da853e8a7125d3de8bc9b9087cb0b2089906ec570fe43ab6f37896c0f69b63737205 SHA512 c0f3de87ac79ed940b52dc969eb7c3547c5df0f94962be4ad2ab946ebb42a8dcfe029faa6cf128655bf6676a474100d343e940c447388dc4431c78543c28f9a8
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
This package adds marks and filters to tabulated-list-mode. It also puts a
|
||||
dired face on tabulated list buffers. It can be used by deriving from
|
||||
tablist-mode, or with more limited features by enabling tablist-minor-mode
|
||||
inside a tabulated-list-mode buffer.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/politza/tablist/issues/</bugs-to>
|
||||
<remote-id type="github">politza/tablist</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24.3
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Extended tabulated-list mode fro Emacs"
|
||||
HOMEPAGE="https://github.com/politza/tablist/"
|
||||
SRC_URI="https://github.com/politza/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST nemu-2.5.0.tar.gz 108742 BLAKE2B e68cbf50d56983873656d8e3428cb3ffaa09cafc9cbc8e545d72bf9dfb61e64a06bdc41c3f50011c4c488017efe33afe9fa1d634aae6e9151c45a7d3971c60db SHA512 081199413c41e545d23704091760c4a10b8dcdb21d9d0e6add1e549fa33bdd988490034767e08dee681eee6d06899104b8282cafc4578e06a0eabc505325bbdc
|
||||
DIST nemu-3.0.0.tar.gz 151223 BLAKE2B a71875eb727eed13bc252cee072e1c5b25bf7ea106f51ddddfb8e8bfacf21e030b1c4045de2353d40121b78756b131de1a376891197f6d553430b4b30f53bf3e SHA512 59dae5364659dda5d7c05ba6378b6e20c5d2c5b619cb919c49036918a887574b75f5d568cbfa8f21ecf790778c9de55266f5c5e3e90cc991f613a6408b10a1df
|
||||
EBUILD nemu-2.5.0-r1.ebuild 2128 BLAKE2B 16efbc3dffcf30c86a40164315f4cf4402137751f13d1f679355cd803fcdcc1356244fbd263460f16856ae43b1b3b3e90968233a7dc2e5f705a17c69574e18a3 SHA512 64923f3158df1587ed6752cbf8a463fe0b4ab49037aa720a6a353c7c6653f915d68312db0292dd0eab17a0773a5fb568e40c3ef34c7defd5feac603cc649407c
|
||||
MISC metadata.xml 639 BLAKE2B 79786abf19a8e801840a953fa42cb50757db0a89c4b6459cc9843861cdab76e48d824322dcfb7336034a94d2903db8bd1dd3a447c42883564bc0fba9ac93d6f5 SHA512 f26ca8c03fc44749aa2c8676033bd8417243e1974582bf9716cedbd7eff18d9492f286bfbe08aeff402e22f1f4fc419d00d5f57877b887ce7bc98a22b7f110b6
|
||||
EBUILD nemu-3.0.0.ebuild 2151 BLAKE2B 4d8e172cae31745388ba8ca0cea2f1e58f7e29133d3eabbcdc8fa535d707d38601e1c336d80d4baff331477b3afffcd409b3ec5a9608e7158a719ae51ba3a4c9 SHA512 593413e05654597ac3655c9f2184bf950282a734d7bca9728699af6ab6ff08efce5aa2f4b1d5c59979ef28c4fc6351989f27dfda25cef4ba6851e041a8d36783
|
||||
MISC metadata.xml 948 BLAKE2B db97c8f1f0a9f0e37f2e827939a03daef9d0dab3126bfb8c53695774a68169f7bc956373f94507556f5edf10822f27a7921bdb42b4ff3875cff62ee2f22bc92d SHA512 95f626f22309c88b94a94d5a76d4b7137fa94cf754581a9762addce81a857886e01f606d700339a827860872fe4d38d9359dbcbabc6cf0e5e877e661f19509a3
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake linux-info
|
||||
|
||||
MY_PV="${PV/_rc/-RC}"
|
||||
|
||||
DESCRIPTION="ncurses interface for QEMU"
|
||||
HOMEPAGE="https://github.com/nemuTUI/nemu"
|
||||
SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dbus network-map +ovf spice +vnc-client remote-api"
|
||||
|
||||
RDEPEND="
|
||||
>=app-emulation/qemu-6.0.0-r3[vnc,virtfs,spice?]
|
||||
dev-db/sqlite:3=
|
||||
dev-libs/json-c
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
virtual/libusb:1
|
||||
virtual/libudev:=
|
||||
dbus? ( sys-apps/dbus )
|
||||
network-map? ( media-gfx/graphviz[svg] )
|
||||
ovf? (
|
||||
dev-libs/libxml2:2
|
||||
app-arch/libarchive:=
|
||||
)
|
||||
remote-api? ( dev-libs/openssl )
|
||||
spice? ( app-emulation/virt-viewer )
|
||||
vnc-client? ( net-misc/tigervnc )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}/"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel"
|
||||
else
|
||||
CONFIG_CHECK="~VETH ~MACVTAP"
|
||||
ERROR_VETH="You will need the Virtual ethernet pair device driver compiled"
|
||||
ERROR_VETH+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_VETH+=" local network settings feature."
|
||||
ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver."
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -DNM_WITH_QEMU: Do not embbed qemu.
|
||||
local mycmakeargs=(
|
||||
-DNM_WITH_DBUS=$(usex dbus)
|
||||
-DNM_WITH_NETWORK_MAP=$(usex network-map)
|
||||
-DNM_WITH_REMOTE=$(usex remote-api)
|
||||
-DNM_WITH_OVF_SUPPORT=$(usex ovf)
|
||||
-DNM_WITH_QEMU=off
|
||||
-DNM_WITH_SPICE=$(usex spice)
|
||||
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
docompress -x /usr/share/man/man1/nemu.1.gz
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For non-root usage execute script:"
|
||||
elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux <username>"
|
||||
elog "and add udev rule:"
|
||||
elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /etc/udev/rules.d"
|
||||
elog "Afterwards reboot or reload udev with"
|
||||
elog "udevadm control --reload-rules && udevadm trigger"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX uade-2.13-configure.patch 620 BLAKE2B 4266246e968f5bcbfee755896047c5c0587a5199d8fc7882b4f9665175865a94491d6bfceaf3549b6f825e46688ab2f6164f6b4111101212f907d9bdec3f2b28 SHA512 08d5caa315054553414961cd44149f949099341f9c91b4dd7ee957649fa029b9c1927f583bd581e6b213f381b3eb43fe5097a87747ce7e36e94487fafdc96c76
|
||||
DIST uade-2.13.tar.bz2 2897931 BLAKE2B 7d5ba128fc53bb683a6a21616e3c9c2a7376361086f3d91a59026ac89eb48d9520f89342914078ccb4614a16826a8c90f86a6052caffc9d5cc4e1e0ab6b092f0 SHA512 675c3369ed55a314cab81ae7ba8a09b277ab1cfe2354eac92194f746803ec2464b7603d665cf30da41caef5997c21515e69f0313d8d2b079c242a08fef786183
|
||||
EBUILD uade-2.13-r2.ebuild 1101 BLAKE2B adf0578a3de6d08b16768ea1ef84aa5ef5dbbfd4ed3024adff30adcaa5c3ae9fcfa423d07ffecfc13c5e153db02279964a96e849718dbf50a88e9a5350c291d2 SHA512 ead0dc19c88425209c5dd4a07500b5f8706e03b94f214074a3efbc22bd4838c1a6036c6244fd5a6f268aefc2275a65f708d060514c543467b13e22834a3a8695
|
||||
EBUILD uade-2.13-r2.ebuild 1100 BLAKE2B 55cb9867c465c49e544e3d75544430195675b86f57a2d4bb7955d3c413e12c8954fb31a5b1d3f0929ee3ef01df5cdf5fdd090f8205e3022befc3b05513238d8a SHA512 22eabb2a5bad956caf284c6d3e12b2907a6ca9ee1c42593bae88fd9bde90cf43786720615933194e41ba9b1d93edab1bec629227f6cb7671257a99c6531a7523
|
||||
MISC metadata.xml 459 BLAKE2B 70b1874ea35e9bf14d7259c488d30ddbbbc31905a015a54f0da15bbff245205f8d1e587d0982b6fa7b412e13f2405f73ecd7555b970167096bd19eb06fe5d438 SHA512 261a535b27a246cf808aca95fc354d87595abd7d2604b0cdab88a15f3e02a87842376b45e49f548be9bcc5dc1c121ea2e381d57bd35c4ae0620f0395908748fd
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
DIST dasel-1.24.3-deps.tar.xz 20531068 BLAKE2B 6cd947a88c54e46300432c2f87c0ef757a53739e0755af48f4596a87ba46faf12c967145a0f263e13abb8f01ffe10c51b45f641de348fc02e7af39417b709d1d SHA512 27696cd5a5c93b3e29ba12fd2730c04047dc752ef17a32db73e7cbc8e5d38d914705720da9ff0ffb0c8d3fb383b5070eb552b24a4e72e72ebad70c2e1085cab3
|
||||
DIST dasel-1.24.3.tar.gz 3052243 BLAKE2B bc6621515781272d45f2b459f99a5c8ab3c51a869d147bf8e0d7ea1f0f3b9e8afd0b80a4091ecccfcaa7e8e5e375d6851400dac9432aa911374d011b8c36ec36 SHA512 fc836413e0e6538102e63f08fb0030ed93fde048d11e98291f22f02ee5d5cff51523f25052b8ef7f268d52c2487086408ddc8547d2e12fb3a672d3a754838ce9
|
||||
DIST dasel-1.25.0.tar.gz 3053827 BLAKE2B 2902cddbb2feb4ce3f4d643e26c4b1f82f3b25a2d6e016257767fefe499bc4e52cefa784723ae2c33ff68614501a10e0aea2a8b8f000de3748c3e7f4fb0ff28f SHA512 ec2b1d0ca0acd84dc9465b0f4aa27b054a0897efbcb4dd6a94cf6de73415933e44b857e8dbcb01d3bac266597d2dfe132146d282c168b087dcd77512e5f06e72
|
||||
EBUILD dasel-1.24.3.ebuild 674 BLAKE2B f1d497570051729a0c6820c126548f4829f0b8f02cebf03baf74f59a6297144c56e3b1363518af75021b6d974ca03a6c72a9cb7f8d98d01036849d393168fd9f SHA512 d8455abd5890808df6e2c1f8d5e5b714123b4009b62b953e55af24a0ed34df1779b3912b4fc1f64780960c5bb93d39c92b6398aefbfee59b5efa329f5b6a6a36
|
||||
EBUILD dasel-1.25.0.ebuild 682 BLAKE2B 4e42f9e1c0b72e2e8e0822edfd2fe2cd143a93e3ef4fd192285a5fb907bfed3764d6b2712a56d681fd0acbb8e224a067eced93c29d17adc58c47f245124a9731 SHA512 c9bb3d0094eec3ab1d9f7e9f0d6eb0622f9cc744b9095a8f26a706121ea645e5349f35651f495d506b03150c233a2dd36d0d1f7a0ec91067e24330d9bbce79cc
|
||||
MISC metadata.xml 325 BLAKE2B 468cbe90bb22931af07591f3852927393460a119d19acf0a14328ef11682cc1725bb70ef74309a8e106b5cb1fe36a234027050aab84a1a551e881347e12e76d3 SHA512 75eca3b8efbd254410160102d574cd6268eabc197deb3899a4d67fad265f5397b86f85121fd24f269814154e4f6246c320f6befac5cbca840bcd424a9ce0b972
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Query, update and convert data structures from the command line"
|
||||
HOMEPAGE="https://github.com/TomWright/dasel"
|
||||
SRC_URI="https://github.com/TomWright/dasel/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zmedico/dist/dasel-1.24.3-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT Apache-2.0 BSD BSD-2 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
CGO_ENABLED=0 go build -o bin/dasel -ldflags="-X 'github.com/tomwright/dasel/internal.Version=${PV}'" ./cmd/dasel || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/dasel
|
||||
dodoc CHANGELOG.md README.md
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
AUX geneweb.confd 67 BLAKE2B 83af31b2708fc64dfba852fce65d6c76bf71bceff40ef5b7ef32a58ea9ae941771569d664f3fc0d555dd8ac9e78740fc0449d1011dbcfeeb66dd320c7b1f44fd SHA512 5d7e373c042ba1de97261807cf3b223157c0f383106b4fb2f2b04de21214218ad3a6e0f097101d45cb61e74d90d060ead93dc6e79a125ad97a0126690ae732b3
|
||||
AUX geneweb.initd 429 BLAKE2B d216c7970cd7e62a3732faeee6ac97062712023a6bbad6d6542aaf930f4e7e34d4f3e3cb844b734ee3e8fbae9950438f1a7d5b7206e9a2d304b77095107e5814 SHA512 8daa663aa7d7f614ddd709616411b2078dad492813de80dd9be9866c61a1ed97c41b28ec94fece79648e2c587b991ab0820e6601891add6d0c6867fe82782eb8
|
||||
DIST geneweb-7.0.0.tar.gz 14767981 BLAKE2B 3a0a777a934d26fa91bd94d20311c6147e749961035b57aed8322c4e96f5cead2edde3a96e362b5de35073fa594d4cb5f3ef0f4d7eeaebea2095bfeef37740b6 SHA512 359b8e2258d572198a7516dd03830e536038392d552482f25fe4b93ded76dccebfe3c420eb2ba1a566500200755c87cbe19a2060eaeea895bd84c505b7b65345
|
||||
EBUILD geneweb-7.0.0-r2.ebuild 1886 BLAKE2B cdf31d6c0cd6b02b1ec96442255ebcddcb3e8af2a25c995ff3404e5471f6b43e25aab5531f607e9b7c560586ad51e6e4714076da15bb7554ff7dfb4628a69995 SHA512 ae84b83647fc6cc069d512f00360085b6bded9033d8f75472e2f4002b5c5893e1047c47c3002cd1c5f3f9797c11bb073f9f36477b6264ed0f457ac2af872ac25
|
||||
EBUILD geneweb-7.0.0-r2.ebuild 1903 BLAKE2B e5e6a59a5441dd7c7355d6feb8c6271557512ca0731aeb7514f2a10fddedbcaf3b9aaa119d1c82af1961ddd8b0739f102cdf7ca738e2b42f47d31b51f1f43c8e SHA512 ac7e3d7fb876aa7c01a6bffd6b68727d5b54383862b0fcee68db8a5ed020bec9702d1f94969b07a19ccedac281268f609d51296519a47e387c6ef254ad1c1e5b
|
||||
MISC metadata.xml 653 BLAKE2B eb1a56a2d9653f3dfaa2d22e6e3515f371d0d2f0d8a7fcf645ece5cb9d3c475703dc5c78379522264a3164606246368e1be056b915123aa7fbb9d111807d319f SHA512 923b0b1debec0cc57ce0b5616b187b54f20ad1dd151eda62bce5f12c2f1767f40f236118224e1ff92bd8894e09d5628313ce391220d60ac903240bdf15cda3ef
|
||||
|
Binary file not shown.
@ -0,0 +1,64 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson optfeature
|
||||
|
||||
DESCRIPTION="Small tools to aid with Gentoo development, primarily intended for QA"
|
||||
HOMEPAGE="https://github.com/ionenwks/iwdevtools"
|
||||
SRC_URI="https://github.com/ionenwks/iwdevtools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/pax-utils
|
||||
app-portage/portage-utils
|
||||
>=app-shells/bash-5.1
|
||||
dev-libs/libxml2:2
|
||||
sys-apps/diffutils
|
||||
sys-apps/file
|
||||
sys-apps/portage
|
||||
|| ( sys-apps/util-linux app-misc/getopt )"
|
||||
BDEPEND="
|
||||
sys-apps/help2man
|
||||
|| ( sys-apps/util-linux app-misc/getopt )
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddocdir=${PF}
|
||||
-Deprefix="${EPREFIX}"
|
||||
-Dshellcheck=false
|
||||
$(meson_use test)
|
||||
)
|
||||
|
||||
has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long )
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "detecting potential ABI issues using abidiff" dev-util/libabigail
|
||||
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Optional portage integration relies on using /etc/portage/bashrc."
|
||||
elog "The example bashrc can be used as-is if not already using one:"
|
||||
elog
|
||||
elog " ln -s ../../usr/share/${PN}/bashrc ${EROOT}/etc/portage/bashrc"
|
||||
elog
|
||||
elog "Otherwise, inspect the tools' --help output and the example to integrate"
|
||||
elog "(if not defining the same phase functions, the example can be sourced)."
|
||||
elog
|
||||
elog "Note that \`eqawarn\` is used for portage output by default. QA messages"
|
||||
elog "aren't logged / shown post-emerge unless e.g. in /etc/portage/make.conf:"
|
||||
elog
|
||||
elog ' PORTAGE_ELOG_CLASSES="${PORTAGE_ELOG_CLASSES} qa"'
|
||||
elog
|
||||
elog "See ${EROOT}/usr/share/doc/${PF}/README.rst* for information on tools."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,73 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit cmake python-any-r1
|
||||
|
||||
# yes, it needs SOURCE, not just installed one
|
||||
# and no, 1.11.0 is not enough
|
||||
GTEST_COMMIT="1b18723e874b256c1e39378c6774a90701d70f7a"
|
||||
GTEST_FILE="gtest-${GTEST_COMMIT}.tar.gz"
|
||||
|
||||
DESCRIPTION="Abseil Common Libraries (C++), LTS Branch"
|
||||
HOMEPAGE="https://abseil.io"
|
||||
SRC_URI="https://github.com/abseil/abseil-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? ( https://github.com/google/googletest/archive/${GTEST_COMMIT}.tar.gz -> ${GTEST_FILE} )"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
test? ( BSD )
|
||||
"
|
||||
SLOT="0/${PV%%.*}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
test? ( sys-libs/timezone-data )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-20211102.0-fix-cuda-nvcc-build.patch"
|
||||
"${FILESDIR}/${PN}-20211102.0-r2-cuda11.6-compile-fix.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# un-hardcode abseil compiler flags
|
||||
sed -i \
|
||||
-e '/"-maes",/d' \
|
||||
-e '/"-msse4.1",/d' \
|
||||
-e '/"-mfpu=neon"/d' \
|
||||
-e '/"-march=armv8-a+crypto"/d' \
|
||||
absl/copts/copts.py || die
|
||||
|
||||
# now generate cmake files
|
||||
python_fix_shebang absl/copts/generate_copts.py
|
||||
absl/copts/generate_copts.py || die
|
||||
|
||||
if use test; then
|
||||
sed -i 's/-Werror//g' \
|
||||
"${WORKDIR}/googletest-${GTEST_COMMIT}"/googletest/cmake/internal_utils.cmake || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DABSL_ENABLE_INSTALL=TRUE
|
||||
-DABSL_LOCAL_GOOGLETEST_DIR="${WORKDIR}/googletest-${GTEST_COMMIT}"
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
-DABSL_PROPAGATE_CXX_STD=TRUE
|
||||
$(usex test -DBUILD_TESTING=ON '') #intentional usex
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
diff --git a/absl/strings/internal/string_constant.h b/absl/strings/internal/string_constant.h
|
||||
index a11336b..e1596b1 100644
|
||||
--- a/absl/strings/internal/string_constant.h
|
||||
+++ b/absl/strings/internal/string_constant.h
|
||||
@@ -35,12 +35,18 @@ namespace strings_internal {
|
||||
// below.
|
||||
template <typename T>
|
||||
struct StringConstant {
|
||||
+ private:
|
||||
+ static constexpr bool ValidateConstant(absl::string_view view) {
|
||||
+ return view.empty() || 2 * view[0] != 1;
|
||||
+ }
|
||||
+
|
||||
+public:
|
||||
static constexpr absl::string_view value = T{}();
|
||||
constexpr absl::string_view operator()() const { return value; }
|
||||
|
||||
// Check to be sure `view` points to constant data.
|
||||
// Otherwise, it can't be constant evaluated.
|
||||
- static_assert(value.empty() || 2 * value[0] != 1,
|
||||
+ static_assert(ValidateConstant(value),
|
||||
"The input string_view must point to constant data.");
|
||||
};
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST mysqltuner-1.8.3.tar.gz 254525 BLAKE2B 7fa1fe24ab454aa15a03e62410e08988a4a0d3ac9b1e4df0219a67bffa4d6113d8c89d6f93f8e6d08a35ecc4bdbf5c0148d8e53138f05a5c22899ecca98b3614 SHA512 965ad0204cb449aa113bf1880a91468d48467c84e7d42ac8f12e7ee4035e49dc7cb191d2b11b6e5b084a60c3857e92ac4d1bef63f688538f3468fda32304a702
|
||||
DIST mysqltuner-1.9.9.tar.gz 225048 BLAKE2B 5c22ecbe3ab8ab2ad8712c6cbdfbc6bb182e6211d7894c2dc10c68b5b31f74f7512747c983844ba6ce9e12e422f510e4e68a18e85e29f443424e4dfa7055e1f7 SHA512 9373fcbcf514a989126b100739a87d711b4c2081e2608b4576d0ab88590ffd85fae57f1587e1d9f44cf0d89baa92eeb9115db2c4c6c491b701e965de7a549fa0
|
||||
EBUILD mysqltuner-1.8.3.ebuild 846 BLAKE2B bf7565388feb5f59462e4337a27477522f181ce1e95370541aa747e7e0f1531ec5d7bc26fbac877bf40767eade4eca4d7a6a91b202ac0dd474bb30d5c9e0552e SHA512 74071256672d4d4590ca5d46e493581372a856f0b5373cf81047e1ce1303ae9c25e6ef8b1ad29c2f51e70e5c8d03a11bd5caf4d84ed33a5e1ccfb4a7a8a4f4ab
|
||||
EBUILD mysqltuner-1.9.9.ebuild 859 BLAKE2B 32dd5330b520f4c6cfe417ba4b168dc5b8c88d8a95bb7cdb6b96289db70aa334395469ccaa4ee8cfd06c69872f863a382381661ace6b10ee56163744bdce4d1a SHA512 2147210529114da6a36f56261f43581d6cb6aa5881345f388f8897883363aa3e43b4d75c038933c319937de484a71b311acc76f73ac19dc24784a22ee3033ad1
|
||||
MISC metadata.xml 607 BLAKE2B 51f3f5075cefa6184953d66ab4267463138fb02ae96f461f61eadbac9f49bba644f8ed4f293a49d4f56cdd361975a713b8ee08456874fee2a694d75cb99f3b7a SHA512 bf276a0a678188581b493b791771ad4c5508371b9db2a6dbcaf1afa401b7959179bdaaeea7c33c42ec4733fb78093009e5459a06de799bbbecc85150434a3397
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="MySQLTuner-perl"
|
||||
|
||||
DESCRIPTION="Makes recommendations for increased performance and stability for MySQL"
|
||||
HOMEPAGE="https://github.com/major/MySQLTuner-perl"
|
||||
SRC_URI="https://github.com/major/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
virtual/perl-Getopt-Long
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
newbin mysqltuner.pl mysqltuner
|
||||
dodoc {CONTRIBUTING,INTERNALS,USAGE}.md
|
||||
einstalldocs
|
||||
|
||||
# Passwords and vulnerabilities are meant to be fed to the script uncompressed.
|
||||
dodoc basic_passwords.txt vulnerabilities.csv
|
||||
docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" "/usr/share/doc/${PF}/vulnerabilities.csv"
|
||||
}
|
@ -1,11 +1,14 @@
|
||||
DIST sqlite-doc-3380200.zip 10620764 BLAKE2B 81f7e7b9aef37bdae133c4d7dc517d2040d8202a7e0cdf00180d3abe3fb677c80dbc1987e437f0d0f34f47c61f09a7c9d664ba42af976ecfb24555590bb22087 SHA512 b54372ff788aa42b2138c6de91c42c4f6a6440623de3679f08b0519c5c20d9d865c60fa63223c60f4374ff5badb800d6f209e75abb280b9815902757424faf0b
|
||||
DIST sqlite-doc-3380300.zip 10626490 BLAKE2B 7f1c2ff11ed4ba4748c35fcd72bedec5ce1ca68d87d00839f0a5f512c7309cf1c60678c0a0d8aecf07dc521c2240acdf1262f47ff3000b95e4953e095f2ec8f2 SHA512 4c30860b6ff0ba8c9455ea037cdda642bab2c1070e8726411ee51046b442f333623ce9c810d1d028a49ce571e6cc4afe363c643e90ba59463e84bb39298c4ad3
|
||||
DIST sqlite-doc-3380500.zip 10640188 BLAKE2B d831b672879a07e700c4d19bb97435cfc3aabc2371fd1b7f9e2257d1d53edaba72d974816d509fa60dbc7feaddf4b4f64c6bc061da4945aecab7be463951cb0c SHA512 1f8520e8b06cac97a3cd532d105be847b864d4d51ff2d8ab92c62b369e2e662aa477808e566e334a9103e31b84c119050b92ab6f0ef6d5d68db4d49bf2dd8182
|
||||
DIST sqlite-doc-3390000.zip 10666677 BLAKE2B 4577af3614f9dd7862d8e4cd084010700492c1abddc94859d08dc2f2cca2d5989c03ab63fa690072c798dc52e59ccfca337a2f1cfb14162db9364f9f27a0c93b SHA512 c9d86c15f743deca233eabd68edb7538e75d7c3bd49caeb6a2a2958e1fdb3a258d2a69964626fac13c7f402dae9f33fd5e3b479ef23c43f835efeaf84d6ba32c
|
||||
DIST sqlite-src-3380200.zip 13242285 BLAKE2B a07f895f57c355e2ec1c96fc857b63d774ff52f7e49c22b1c936b260e6e7787ec656059c02cc6d38845c4368507067d86dac493559541fbb914a3da9cbc67cce SHA512 fd457602db4577b31bc6053fd3cceb220337275e3fd26976f4270fb8a7da4fa047ca23dd18e2795cdfd894d05bad4c53954a81391d71507d359fb224995e420a
|
||||
DIST sqlite-src-3380300.zip 13244116 BLAKE2B d28c26a72729b49fac009e835068a15cb14b13bcef5e2d45a94929f22329002cbbf09ff9926a7cb041d1bcbd6fb9ebac784cce06196d29a9b9bf56f97645553e SHA512 d0605148931db62d167080e384d058e87452409fcb3ce366603e6eec8e2f68754259ce217c26e641401d5b0ae7714efd45fc4a881671db37597f2f027cd7da51
|
||||
DIST sqlite-src-3380500.zip 13245057 BLAKE2B d2deefbc918ab593146950c21047dbd94168d09150ffe00da20e4ee6b02f69516b496b14e1925b00ace8a4148b87bfb263a97d75ab48990e29e12796387fee5f SHA512 d91f060165354ff4b32a72627c16b6d2310d478768794a49eef57229d7199d83f951444fdc0725acf8d2565ef61a9c7921e9c965f429b018b6fd23d129b6e630
|
||||
DIST sqlite-src-3390000.zip 13400405 BLAKE2B 48485372001782c0f8f23167f74a8f17f38801b7ded96d8b67a13a7bc60349a81643a6455e01e8f1ea97bf3ecccd97791ab7cd386f73f787fd7599004d9447d4 SHA512 65409f78bf9f1f02739749c3ac151153fd78af07822be7d532a6aeb5d742463e0dde51702ce737780dc65c526802996da7569032b76a0527f6aa784f89c0cca2
|
||||
EBUILD sqlite-3.38.2.ebuild 13252 BLAKE2B a11cf6540941038ac710c9bf6bce657da353b520f44119c6a68ace2d73ef9f8ea26062d8fa8bc6008bec0917a45597ae1dd1a35c9c4b7a162993e59b51df89b3 SHA512 df3d005656e2e4447cbf0beb950859870e33867d86716af2b92174ad0e40afa43c7efdba40bde85f3aa72cac8405dcf64688a3eb6e16a93a0441c661b1561e18
|
||||
EBUILD sqlite-3.38.3.ebuild 13253 BLAKE2B 476079498bc4172c2eac6500bee865ca793d5ff938353b28636fccc4a77ec067f558c39d7d96e9288dc87f05040852ac37f0ec61433cd550c10f0cd0f3c3366c SHA512 aead89b187f93f7529e07f55868390784ef2a499ae7c942227a8300467ac1415e48c24a9a2d6aa8800dc96cd018f9f834a796ce998171b657aa9d49a54dd7629
|
||||
EBUILD sqlite-3.38.5.ebuild 13253 BLAKE2B 476079498bc4172c2eac6500bee865ca793d5ff938353b28636fccc4a77ec067f558c39d7d96e9288dc87f05040852ac37f0ec61433cd550c10f0cd0f3c3366c SHA512 aead89b187f93f7529e07f55868390784ef2a499ae7c942227a8300467ac1415e48c24a9a2d6aa8800dc96cd018f9f834a796ce998171b657aa9d49a54dd7629
|
||||
EBUILD sqlite-3.39.0.ebuild 13260 BLAKE2B 92c5bc279bd338b62cb19a9e1dacfe483c81a48c104e50f5fc1d8c413136031c9f20794f4eb5fcfecc2c3b1b926596788806934ab9eb57b03f635bdd3d81f835 SHA512 95af9af81ff7063c1d1b3497fb02525b36ff8495c08f933f5e226185d040efb3a6c87ba129fb3989ae96640bffc726fd40e8416379c8af3d8883ddfb3ea4005f
|
||||
EBUILD sqlite-9999.ebuild 13254 BLAKE2B 70c6c1f542340b97a48d1742acb9d1b1f804ce711fe7bfaa8feb5c3fe164d1cb5535e7451f598d810463e4dd7c2640d42179a03c5670475f20195f076617d7d0 SHA512 188c4356483f4031a1e6dfdb9e4b36c999916bbda4608e58cd70abf845f8a1bc366a24535d8d47c5d96041656df1b66a2b817df9d8d1e99e298598e532229f77
|
||||
MISC metadata.xml 771 BLAKE2B 34887e6d8a43fde66998787bfb3ca4bda644918a3a80afc650546547f132a9ff482a955ea5df8dded47a971a317be099bf5d9708a00ab25f00f78b714c3ed521 SHA512 e5955f59348abdee15c7fcaff38c220ab0ad84a717600525686e33a1fb7d29498c5b510d81c87ca49d48d7d11da782cf3840f38f1d4bd0e696fd7166aedeb597
|
||||
|
@ -0,0 +1,436 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
||||
DOC_PV="${SRC_PV}"
|
||||
# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
||||
fi
|
||||
|
||||
DESCRIPTION="SQL database engine"
|
||||
HOMEPAGE="https://sqlite.org/"
|
||||
|
||||
# On version updates, make sure to read the forum (https://sqlite.org/forum/forum)
|
||||
# for hints regarding test failures, backports, etc.
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://sqlite.org/2022/${PN}-src-${SRC_PV}.zip
|
||||
doc? ( https://sqlite.org/2022/${PN}-doc-${DOC_PV}.zip )"
|
||||
fi
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
PROPERTIES="live"
|
||||
fi
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
BDEPEND=">=dev-lang/tcl-8.6:0
|
||||
dev-vcs/fossil"
|
||||
else
|
||||
BDEPEND="app-arch/unzip
|
||||
>=dev-lang/tcl-8.6:0"
|
||||
fi
|
||||
RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
|
||||
icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||
tools? ( dev-lang/tcl:0= )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
S="${WORKDIR}/${PN}"
|
||||
else
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
fi
|
||||
|
||||
_fossil_fetch() {
|
||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||
local repo_id="${1}"
|
||||
local repo_uri="${2}"
|
||||
|
||||
local -x FOSSIL_HOME="${HOME}"
|
||||
|
||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||
pushd "${T}/fossil/${repo_id}" > /dev/null || die
|
||||
|
||||
if [[ -n "${EVCS_OFFLINE}" ]]; then
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||
fi
|
||||
else
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil"
|
||||
fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die
|
||||
echo
|
||||
else
|
||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die
|
||||
einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}"
|
||||
fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die
|
||||
echo
|
||||
fi
|
||||
|
||||
(
|
||||
addwrite "${distdir}"
|
||||
mkdir -p "${distdir}/fossil-src/${repo_id}" || die
|
||||
cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die
|
||||
)
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
_fossil_checkout() {
|
||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
||||
local repo_id="${1}"
|
||||
local branch_or_commit="${2}"
|
||||
local target_directory="${3}"
|
||||
|
||||
local -x FOSSIL_HOME="${HOME}"
|
||||
|
||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
||||
fi
|
||||
|
||||
if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then
|
||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die
|
||||
fi
|
||||
|
||||
mkdir "${target_directory}" || die
|
||||
pushd "${target_directory}" > /dev/null || die
|
||||
|
||||
einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}"
|
||||
fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die
|
||||
echo
|
||||
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
fossil_fetch() {
|
||||
local repo_id="${1}"
|
||||
local repo_uri="${2}"
|
||||
local target_directory="${3}"
|
||||
|
||||
local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}"
|
||||
|
||||
_fossil_fetch "${repo_id}" "${repo_uri}"
|
||||
_fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}"
|
||||
if use doc; then
|
||||
fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc"
|
||||
fi
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
||||
local options=()
|
||||
|
||||
options+=(
|
||||
--enable-load-extension
|
||||
--enable-threadsafe
|
||||
)
|
||||
|
||||
# Support detection of misuse of SQLite API.
|
||||
# https://sqlite.org/compile.html#enable_api_armor
|
||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
||||
|
||||
# Support bytecode and tables_used virtual tables.
|
||||
# https://sqlite.org/compile.html#enable_bytecode_vtab
|
||||
# https://sqlite.org/bytecodevtab.html
|
||||
append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB
|
||||
|
||||
# Support column metadata functions.
|
||||
# https://sqlite.org/compile.html#enable_column_metadata
|
||||
# https://sqlite.org/c3ref/column_database_name.html
|
||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
|
||||
# Support sqlite_dbpage virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
||||
# https://sqlite.org/dbpage.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
||||
|
||||
# Support dbstat virtual table.
|
||||
# https://sqlite.org/compile.html#enable_dbstat_vtab
|
||||
# https://sqlite.org/dbstat.html
|
||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
||||
|
||||
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
||||
# https://sqlite.org/compile.html#enable_deserialize
|
||||
# https://sqlite.org/c3ref/serialize.html
|
||||
# https://sqlite.org/c3ref/deserialize.html
|
||||
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
||||
|
||||
# Support comments in output of EXPLAIN.
|
||||
# https://sqlite.org/compile.html#enable_explain_comments
|
||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
||||
|
||||
# Support Full-Text Search versions 3, 4 and 5.
|
||||
# https://sqlite.org/compile.html#enable_fts3
|
||||
# https://sqlite.org/compile.html#enable_fts3_parenthesis
|
||||
# https://sqlite.org/compile.html#enable_fts4
|
||||
# https://sqlite.org/compile.html#enable_fts5
|
||||
# https://sqlite.org/fts3.html
|
||||
# https://sqlite.org/fts5.html
|
||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||
options+=(--enable-fts5)
|
||||
|
||||
# Support hidden columns.
|
||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
||||
|
||||
# Support memsys5 memory allocator.
|
||||
# https://sqlite.org/compile.html#enable_memsys5
|
||||
# https://sqlite.org/malloc.html#memsys5
|
||||
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
||||
|
||||
# Support sqlite3_normalized_sql() function.
|
||||
# https://sqlite.org/c3ref/expanded_sql.html
|
||||
append-cppflags -DSQLITE_ENABLE_NORMALIZE
|
||||
|
||||
# Support sqlite_offset() function.
|
||||
# https://sqlite.org/compile.html#enable_offset_sql_func
|
||||
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
||||
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
||||
|
||||
# Support pre-update hook functions.
|
||||
# https://sqlite.org/compile.html#enable_preupdate_hook
|
||||
# https://sqlite.org/c3ref/preupdate_count.html
|
||||
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
||||
|
||||
# Support Resumable Bulk Update extension.
|
||||
# https://sqlite.org/compile.html#enable_rbu
|
||||
# https://sqlite.org/rbu.html
|
||||
append-cppflags -DSQLITE_ENABLE_RBU
|
||||
|
||||
# Support R*Trees.
|
||||
# https://sqlite.org/compile.html#enable_rtree
|
||||
# https://sqlite.org/compile.html#enable_geopoly
|
||||
# https://sqlite.org/rtree.html
|
||||
# https://sqlite.org/geopoly.html
|
||||
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
||||
|
||||
# Support Session extension.
|
||||
# https://sqlite.org/compile.html#enable_session
|
||||
# https://sqlite.org/sessionintro.html
|
||||
append-cppflags -DSQLITE_ENABLE_SESSION
|
||||
|
||||
# Support scan status functions.
|
||||
# https://sqlite.org/compile.html#enable_stmt_scanstatus
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
||||
|
||||
# Support sqlite_stmt virtual table.
|
||||
# https://sqlite.org/compile.html#enable_stmtvtab
|
||||
# https://sqlite.org/stmt.html
|
||||
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
||||
|
||||
# Support unknown() function.
|
||||
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
||||
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
||||
|
||||
# Support unlock notification.
|
||||
# https://sqlite.org/compile.html#enable_unlock_notify
|
||||
# https://sqlite.org/c3ref/unlock_notify.html
|
||||
# https://sqlite.org/unlock_notify.html
|
||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
||||
# https://sqlite.org/compile.html#enable_update_delete_limit
|
||||
# https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses
|
||||
# https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses
|
||||
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
||||
|
||||
# Support soundex() function.
|
||||
# https://sqlite.org/compile.html#soundex
|
||||
# https://sqlite.org/lang_corefunc.html#soundex
|
||||
append-cppflags -DSQLITE_SOUNDEX
|
||||
|
||||
# Support URI filenames.
|
||||
# https://sqlite.org/compile.html#use_uri
|
||||
# https://sqlite.org/uri.html
|
||||
append-cppflags -DSQLITE_USE_URI
|
||||
|
||||
# debug USE flag.
|
||||
options+=($(use_enable debug))
|
||||
|
||||
# icu USE flag.
|
||||
if use icu; then
|
||||
# Support ICU extension.
|
||||
# https://sqlite.org/compile.html#enable_icu
|
||||
append-cppflags -DSQLITE_ENABLE_ICU
|
||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
# readline USE flag.
|
||||
options+=(
|
||||
--disable-editline
|
||||
$(use_enable readline)
|
||||
)
|
||||
if use readline; then
|
||||
options+=(--with-readline-inc="-I${ESYSROOT}/usr/include/readline")
|
||||
fi
|
||||
|
||||
# secure-delete USE flag.
|
||||
if use secure-delete; then
|
||||
# Enable secure_delete pragma by default.
|
||||
# https://sqlite.org/compile.html#secure_delete
|
||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
||||
append-cppflags -DSQLITE_SECURE_DELETE
|
||||
fi
|
||||
|
||||
# static-libs USE flag.
|
||||
options+=($(use_enable static-libs static))
|
||||
|
||||
# tcl, test, tools USE flags.
|
||||
if use tcl || use test || { use tools && multilib_is_native_abi; }; then
|
||||
options+=(
|
||||
--enable-tcl
|
||||
--with-tcl="${ESYSROOT}/usr/$(get_libdir)"
|
||||
)
|
||||
else
|
||||
options+=(--disable-tcl)
|
||||
fi
|
||||
|
||||
if [[ "${ABI}" == "x86" ]]; then
|
||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
||||
append-cflags -mfpmath=sse
|
||||
else
|
||||
append-cflags -ffloat-store
|
||||
fi
|
||||
|
||||
# Skip known-broken test for now
|
||||
# https://sqlite.org/forum/forumpost/d97caf168f
|
||||
# https://sqlite.org/forum/forumpost/50f136d91d
|
||||
if use test ; then
|
||||
rm test/atof1.test || die
|
||||
fi
|
||||
fi
|
||||
|
||||
econf "${options[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
||||
fi
|
||||
|
||||
if [[ "${PV}" == "9999" ]] && use doc && multilib_is_native_abi; then
|
||||
emake tclsqlite3.c
|
||||
|
||||
local build_directory="$(pwd)"
|
||||
build_directory="${build_directory##*/}"
|
||||
|
||||
mkdir "${WORKDIR}/${PN}-doc-build" || die
|
||||
pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die
|
||||
|
||||
emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc
|
||||
rmdir doc/matrix{/*,} || die
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
ewarn "Skipping tests due to root permissions"
|
||||
return
|
||||
fi
|
||||
|
||||
local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
|
||||
|
||||
# e_uri.test tries to open files in /.
|
||||
# https://bugs.gentoo.org/839798
|
||||
local SANDBOX_PREDICT=${SANDBOX_PREDICT}
|
||||
addpredict "/test.db:/ÿ.db"
|
||||
|
||||
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||
|
||||
if use tools && multilib_is_native_abi; then
|
||||
install_tool() {
|
||||
if [[ -f ".libs/${1}" ]]; then
|
||||
newbin ".libs/${1}" "${2}"
|
||||
else
|
||||
newbin "${1}" "${2}"
|
||||
fi
|
||||
}
|
||||
|
||||
install_tool changeset sqlite3-changeset
|
||||
install_tool dbdump sqlite3-db-dump
|
||||
install_tool dbhash sqlite3-db-hash
|
||||
install_tool dbtotxt sqlite3-db-to-txt
|
||||
install_tool index_usage sqlite3-index-usage
|
||||
install_tool rbu sqlite3-rbu
|
||||
install_tool scrub sqlite3-scrub
|
||||
install_tool showdb sqlite3-show-db
|
||||
install_tool showjournal sqlite3-show-journal
|
||||
install_tool showshm sqlite3-show-shm
|
||||
install_tool showstat4 sqlite3-show-stat4
|
||||
install_tool showwal sqlite3-show-wal
|
||||
install_tool sqldiff sqlite3-diff
|
||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
||||
install_tool sqlite3_checker sqlite3-checker
|
||||
install_tool sqlite3_expert sqlite3-expert
|
||||
install_tool sqltclsh sqlite3-tclsh
|
||||
|
||||
unset -f install_tool
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
|
||||
doman sqlite3.1
|
||||
|
||||
if use doc; then
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die
|
||||
else
|
||||
pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die
|
||||
fi
|
||||
|
||||
find "(" -name "*.db" -o -name "*.txt" ")" -delete || die
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
rm search search.d/admin || die
|
||||
rmdir search.d || die
|
||||
find -name "*~" -delete || die
|
||||
fi
|
||||
|
||||
(
|
||||
docinto html
|
||||
dodoc -r *
|
||||
)
|
||||
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz 856769204 BLAKE2B 375021592470b1f17d7a69701f1ac3289ceb8ddbbdacf577fa51abfdad263102d3c6cedb24ac829c49e033300532e77b6064835a8ae1e05377e375f4320c9a15 SHA512 815ef678b7510e014181f3bf782e627771e8d00d218b34f2af11436b8a49331400269f98448854353c12721468365b71a8483eb7631777f0d628982e81942a8b
|
||||
DIST cudnn-linux-x86_64-8.3.2.44_cuda11.5-archive.tar.xz 857894928 BLAKE2B 7f0f4fe4d8ccd2e7385d5c4535f4543b3d8e80f65caa5a4d5fdaa1b386a76fe16d8d9e32745a098954eda8d0b803af6146c1ffc5b46c838ea0ccecd5923984cf SHA512 4f2159e48685613b436adb3995aa80cf6d5b395c146059ccc15ef2f5f7e47c94bfeebd14b09d8832f7df76d2379829aa32edb7b69852e17a8e7036084265ed39
|
||||
DIST cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xz 850711772 BLAKE2B 47e03d7a25f92cb2e2793e7d13b6182da62329a7868a785ca2224bccfc97960721fba26e1e8a933e8d449085e895c129871bb2fd7c690265d01ad10564a1b939 SHA512 bf2069edf5c73db325d4ef27e3976169b9bd32afc49f012bd1e6f7d9bd374179dd9312538e7be7b0f8d5da0f2edd79b6788868e183f00f8b99fda185302d07c3
|
||||
EBUILD cudnn-8.3.1.22.ebuild 700 BLAKE2B 7c3095b585ad73f24ea12fcb5dc580a648c634c8662c5fb3558bfbf66e08b3c3e6cc75d4cda856b44d2f7187ecff078c1b1a2ebfe1b74c78038184f3cc94feef SHA512 95b4da813d90fd828afefac712d4da9c5eea12445ce2fec8c0c7bc05a5f493428360b34da558610878d4c83b4dc5d8bd5d79c6bc17a367d52a5ee20e67db4835
|
||||
EBUILD cudnn-8.3.2.44.ebuild 700 BLAKE2B 7c3095b585ad73f24ea12fcb5dc580a648c634c8662c5fb3558bfbf66e08b3c3e6cc75d4cda856b44d2f7187ecff078c1b1a2ebfe1b74c78038184f3cc94feef SHA512 95b4da813d90fd828afefac712d4da9c5eea12445ce2fec8c0c7bc05a5f493428360b34da558610878d4c83b4dc5d8bd5d79c6bc17a367d52a5ee20e67db4835
|
||||
EBUILD cudnn-8.4.1.50.ebuild 829 BLAKE2B 30b96d6d449ddef4f5bef9a475cb2405e33916e18639d4c77be9e4aa4df04bf050e3fa564e91a31c1f49df4b680a6f7d1665d222409133fdfd8a419dcd06ad4e SHA512 df1e69746adef932b4cad9fd07b8b949269fb5d5df10a5bea7ba7c46be401a71dfac8d6582304879c253f1acd588456ffdddddfc344b3b9554eddb9301bf392d
|
||||
MISC metadata.xml 320 BLAKE2B 81dc88c34d1976ea918fd6b4b96743d157fe540455b9a1873c8e4e156a3d72dcf44c03cc642bcd10a202ba66a747bcdd5c5b290e9b30cdfacfbd32a2f1d99549 SHA512 3b837ea9aa38041bdd68cc03ad699a140bdadd353e355977a0a1865c8ed46491fe1f3e2778c66432ea43275c5017e684db45947671acc0db7db0ae75afa808a6
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
BASE_V="$(ver_cut 0-3)"
|
||||
# supports 11.x but URL has a specific version number
|
||||
CUDA_V="11.6"
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
|
||||
HOMEPAGE="https://developer.nvidia.com/cudnn"
|
||||
SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive.tar.xz"
|
||||
S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive"
|
||||
|
||||
LICENSE="NVIDIA-cuDNN"
|
||||
SLOT="0/8"
|
||||
KEYWORDS="~amd64 ~amd64-linux"
|
||||
IUSE=""
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="=dev-util/nvidia-cuda-toolkit-11*"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
insinto /opt/cuda/targets/x86_64-linux
|
||||
doins -r include
|
||||
|
||||
insinto /opt/cuda/targets/x86_64-linux/lib
|
||||
doins -r lib/.
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic cmake toolchain-funcs
|
||||
|
||||
MY_PN="swift-corelibs-${PN}"
|
||||
MY_PV="swift-${PV}-RELEASE"
|
||||
|
||||
DESCRIPTION="A library for concurrent code execution on multicore hardware"
|
||||
HOMEPAGE="https://github.com/apple/swift-corelibs-libdispatch"
|
||||
SRC_URI="https://github.com/apple/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
DEPEND="
|
||||
!gnustep-base/libobjc2
|
||||
!sys-libs/blocksruntime
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/clang
|
||||
sys-devel/llvm
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/remove-Werror.patch"
|
||||
"${FILESDIR}/libdispatch-5.3.3-musl.patch"
|
||||
)
|
||||
|
||||
src_configure () {
|
||||
if ! tc-is-clang ; then
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST libwacom-1.11.tar.bz2 519285 BLAKE2B fb26190d752316b5d25659d2ae76681bfff1803463360aa138eab91ed7d7ef2d04dfb6bdd4f8c2effc45a495ef3afc312a817d4fd41cd8167172cafd9f5cee9f SHA512 24e8183502dd2b928d53b3d26d8479210e855c94c225649d63ac33062a30615654ff0ab8666a25503fb3253125539cd845ca467fb228a01c608dc3adbbec73b5
|
||||
DIST libwacom-1.12.tar.bz2 543819 BLAKE2B fdbfba23d7b1e047757b0c0ff698a484cadc91c199459e1da49bfd5a5406aeb62d2ca43856f7d8363c3f36c7c05f4d3160e8fb576c3d18f085144dec259d49c5 SHA512 4e0084eda01e78f52336f3f1f1ea3ea86cb9c5fdd6d6c0316662405ebe2a328d6837f8db855e58f5fa95a640a5d456a081a7de339a372bf851bc0d5c69530379
|
||||
DIST libwacom-2.2.0.tar.xz 106444 BLAKE2B e47d07b8631f85cbde743cf3fe0f9ab5fc26673e62bf0a018463903e0f81a576ca3dd9bb3da8d0049338a87ca384f217e56dd3bc59ad713e6f7b4c20563d8ba4 SHA512 3bded4a72bec230f3318e72bdfd81fa577d4a86103a89367e01e993319f4dbb9ccc73c834c04d5a63f43a8b94457bf64e567d7e3f8d2a0e08b189300c63782a8
|
||||
EBUILD libwacom-1.11.ebuild 1361 BLAKE2B 5d1f2961c5b32db01681d9f2c044e89198130c2b9c18c7eab947a5157694d218ca9c8688491315e31cb1f64e703465bc2590bf4101dcffdfec20f06b1616a90f SHA512 43ba7996cd0926bf9ef34b2946f32db8aeed4263ae14377b5ce9f1107f753c04060a1ca9a802abd7ee7415eb62af7268bbf42ce171040cf4b7bdaaa6bf5cd7e2
|
||||
DIST libwacom-2.3.0.tar.xz 107872 BLAKE2B 5589067eabb0b0d5384015a0200950146d1c028ce8cd870b845de8ec22ca1710645755253952e49f9c1db585a945c6ea8da37318b900f16602a1a7081512ecd9 SHA512 ccbeddc55cc67d8102aa4536616f3c379877ba9154a72d7ad92941854c79b727a21efacf4282b9a8730ff181d094749bf84a9fe5850de6246d91a17e5029d888
|
||||
EBUILD libwacom-1.12.ebuild 1394 BLAKE2B 19152e1d6fb3cb580c2763dfd16812eae387eeeaa69b77524a321468c6244b6fa00a1012cd5b6f0f72dcb00ba2ddc6c8fcc3806b1631caf061a0c1865c428679 SHA512 5869d7cb13e8162410558c9d6f6af31c141be5d5469e125e9a451e8785bfce21cda27e6edd7b4b053491d4536adc618ecbc86d042f9c49d05bfb17f5cc0ad436
|
||||
EBUILD libwacom-2.2.0.ebuild 1470 BLAKE2B 86b316c963efea8de705cf2a7c5cbcaff26647f23d764aacd87c7875d2f9a9528c1deb527678ccabd69f0a3edf0b8e4eef641b35a2ec41237b362af564d58f91 SHA512 30a9a87bc61af1196501d5e45baa5f24379dd227f3db3b9942c78cbd8d823ae91dfb2a97fa3008b22d0e0676547f5282798182a54a99185d73291fc5527ae1b0
|
||||
EBUILD libwacom-2.3.0.ebuild 1501 BLAKE2B 5c575736f3559516261d5dde4d4134a1ce07c383dc1c271733a806507e5b7222d0b19f99bf72c5c87f8a15649149e3a8e1a8f905acb4640f398dfe83b9c7fb9d SHA512 ac6ff77254301395a4c3c75b8a74c99cb9a0bdb39c63a61c02a113e957a6e7e67f003ba185421412fa7d5d0a5b7285f312fb9a515764be754ad97ecb8ff3f07f
|
||||
MISC metadata.xml 309 BLAKE2B 707d30ff0df4fef9c458c658c8d8ae763cc48ded42b7acba94098236fb56bfa486e8be61974113c6234c1831d08939c0c94d65d17abd2bc7a5e092fdcdef2888 SHA512 49b894496ae441153607ef14034c0df9ce6c9582e788cd55afd414a2f8189f1828da1b056142d258f7edb38e8a6ec023994b1d00734010b65ad7b50c2a108837
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit meson python-any-r1 toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
|
||||
HOMEPAGE="https://github.com/linuxwacom/libwacom"
|
||||
SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgudev:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
dev-python/python-libevdev[${PYTHON_USEDEP}]
|
||||
dev-python/pyudev[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]" &&
|
||||
has_version -b "dev-python/pyudev[${PYTHON_USEDEP}]" &&
|
||||
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
tc-ld-disable-gold # bug https://github.com/linuxwacom/libwacom/issues/170
|
||||
|
||||
if use test; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature doc documentation)
|
||||
$(meson_feature test tests)
|
||||
-Dudev-dir=$(get_udevdir)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX libxls-1.4.0-asprintf.patch 190 BLAKE2B 36c39cce45025c5498fefae2de5f9fb78f377463b4a761ef1abe89d8194b90b798e03dfa82561bc7cecd505abbdd5412b75b05194991257c600e4bbb307167b1 SHA512 c5881d63742b50f923c74dcedb5d2149bb55ea19bc611ba51c879f9ae82b8f87d9ab477fae57ef40814bea42f27a27d3be272b1c9fbd5e6c04d69078c8e7c03d
|
||||
DIST libxls-1.6.2.tar.gz 443736 BLAKE2B 46f875613caa423dcb3acac0c38a68c7274993b25cc9be891266b8cf59e8eb0f17580e399305cf927854e090f34fa34f57f7fcbdceb75dffaf04c3362fa63095 SHA512 55e5cb33ec63484063d0893eee7352b89f993363762cd5ef42b5f918b09d1eafcf933fba076255267d9413c963481eb07c7054a2495d2d529db2e1d626353d22
|
||||
EBUILD libxls-1.6.2.ebuild 636 BLAKE2B f074728dad2854ba9c91618e05799d4614942c94c75f84dc7aba30614e52d1593337fabc31272cbbbbbda6b81a33c4a282a7e842a5d7c34175ff6cf64bf2c7cb SHA512 9cd01561afc1a257356676a801f0d0e390c7dd2da11ff8a74debf56efc8d0a179d8613555a776b8aebfe7b21336fc63a06bb4cea53534ecb05a394cfa9360bfd
|
||||
EBUILD libxls-1.6.2.ebuild 594 BLAKE2B 4d3e9079928a66e7e52d9487e522d3f24aa1197de7c5a9e236010db82bce5279ad98edd50fbe3512a9863fe5f8dcd1b9682c7e7bec999e34017e3d0feb73d0af SHA512 ce1d6a2f8f55f1df600c8a1365e23b42f8b7e0ea0b5320dfcf43a7372422405d2e873b027dff52e06d930a83027042de9454343a0012220fa24582c93122e45b
|
||||
MISC metadata.xml 304 BLAKE2B b1b6c500fe0d22b04f956c8adeeefaf3fa1a9776f485c8285b6c4774d6e8c32868c7f056b10ab743dd3a003fd833ce6df05e31b64ba7f496cd5061a9c9ad4f35 SHA512 5ee99e9cc9769d406b48e2f44895d1066bd02df0547df172fd08edfe8d614f56f97829645ede881f7dc65fbb03fb9cabd22e42b526222d21cdaa7db532ba7231
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue