parent
6926dfe2f8
commit
f957ab55e3
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29815 BLAKE2B 8b2c29efcf25ae9cea821401d3f9661e37cff616ff70e059deb5f486b795d12e7f1f43fbc324b546e232a3af96d571da77f014f220b416642b4718b664851e7e SHA512 7d4cf37a4305831e7624b151c777c875df88e17fd51b10b411827f4436bab04a176cdb7ad5e22fe41487f7797012186dda29feac3086423474d911c5ffb7aea9
|
||||
TIMESTAMP 2023-01-07T21:09:40Z
|
||||
MANIFEST Manifest.files.gz 29772 BLAKE2B 1f56d110e2057c8f45495a37edb783c3c3bffd2ac8c2feb4d2310c4bc63937f29258cf3547acf67a583c12ced67f2f279be7d7aca45b47014cd020a8cc7ce75d SHA512 f98edb7197f6af5424cdf555509c33a0ec2ba989e4bead81a2a02aaa9f2bab47532578c7a4b5f4ce8964eafeb27dafcc2edafe88bfb126799f0acfebf86343c3
|
||||
TIMESTAMP 2023-01-08T12:09:40Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmO535RfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmO6soRfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAe9A/+NsLMWUYms/UNqdm9NX37R3tzmEtfw9DzJ69FYJmFfFDShm6tR0OIw5aD
|
||||
FoA8b5KfWHcxpH1En2ejymSgPUuS/WApOB7wyGTUC07Hx9Zo98WclSb44icrmgDn
|
||||
+eWvfKNCX5kkwmvsKsuATPffXCh5iLKiJv5oyxqK7nTVCXfLq4JL3jTq7xnH5tRM
|
||||
CU5JPKJDMl+WKLw9xZ4Pivd9IIfJq3v+2+njckvOWSkReMmRhjYVxl9I+ySXhIYy
|
||||
vAyF/TMHL+BfAvBzGkd9SlIJLtKw0Ho5JOzFU1SWyrODDMZOfTD/h1+C0H/F/UcL
|
||||
gax2GN7StM9OPjH2aWWa6cEybWHAK4OO1ri0+MW7NtP/zCjlO1ndzkVFmf2JzGh/
|
||||
0IpondnhwrUlNYQcRrOEHidey2ySR3577r0+rF3SiLtvmlTpjEgDYCF5BZSXwUQa
|
||||
/pZ0rNDq/DykCD5HhzEqdK/sizky2lkYJ6NxheNq2Ul4oqLa7EtZKPokuweLQzCH
|
||||
xgiHcqMIKnVsVJ0Q7eC1VfBgTF2UqRDyaaEhT3zzI2uZjSAiC/eWe3bIre0t/ApP
|
||||
WOL8R66ljO4OO4LUIxVn1N/+QfPDgpDkCyvK824vrmKD1QfECkmggMiD7ZMet0K3
|
||||
xD7DlQOaX4G5p50Clm1HzKnn25WKqAG/Zp6UOkpDrEpjiZh8XBQ=
|
||||
=dTvS
|
||||
klAqDg//XQ1Z10HkUF6mgSy8znpzo19tsb76sOw9oJgF3aKDx6ivNrEHHATktMnZ
|
||||
uYp5Ov0B4YSSUGck4dx7qtYM3DqQw3wm29DcrUrbHQeFqpsqkKCuXe7x+ckHwOKQ
|
||||
E68wxyh5oiz/id0OCy2OPxwGj2l5TVGeqs7aJCIvnQiBMd3JKY5ZtHoXreNGCMWD
|
||||
sq5pHLGQRJy0NyPxkSQcBtEmG5cyMtFXeN/RLsy+pMLidSZ2UQ9Gd1asY+ZuV9nF
|
||||
bPrigw86fpS0cDpkbhmgatKkxyI4Hc8W5RlPCz2iCH8C/YpCn0O2BNTofKD311rd
|
||||
q8zjCSjjh4GulWoa+LNXTtPUGHWO69PogHHEjzj9IQqNy/exnhakwu1nK1+xi1S3
|
||||
hopCJi7+uYc/DnCd2Evgt5dbMMNahZaXx5pmPWgIy7XvHq3Dm3XIi4+gvHliSLXs
|
||||
H3VwSQYmDykRBq/Kz0EfY6xe5jYR73lc4rOKTFL7KoCYkknXy1HAy5FzQYbMrG3+
|
||||
Ei7Y8anbsSXzyYzpj/6YgZpKfWHFI4pSUXDQKXSigxr06K7zAGTm+D0pdjDJfzuK
|
||||
i9RALkgUtL+smcRXmUM6bus3nSLSF8DzOXi3OLBtwwYf9Upzphz+YxxQji4FBKpQ
|
||||
V9ramoHkq6zd9IjEN1LSbLe3PVreg4SVbhIxHKFJNaPNg8z5Q8I=
|
||||
=F4x2
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST Bitwarden-2022.6.0-amd64.deb 64084380 BLAKE2B 8729385160c07be0056ee9b17f70aa53b5c5e240fbe5ecbc20d3f4b5e2af69524a4042b07d619c04c6521cd1696459346e6812796bea78f5ba7538de22ff7965 SHA512 70de5d3c626543bfe3f8e3ecde1abe427154e73456f989b6b0219db79c2f61d09a72d37034f9f37a14bd2ddd82ecbb23515551fc7eabc6bc1aa87bc8b44d4474
|
||||
DIST Bitwarden-2022.12.0-amd64.deb 65434808 BLAKE2B 81e7f1b0d7a95fa08554fced72440d65c4fb5fb86371f4ce773904f53543a3586f56eb53d2a4f79034a475430d3b2926404a2bc178e49bb97999295100a6a352 SHA512 ca1fafe48b3dcbab8c2152ed84337c7ebd8cc1934f24d2eabf7ef65733c163e84fc9e49f8566cf2201ab557144e81360db8d8ee1883a92c275804d7c3ddf886b
|
||||
DIST Bitwarden-2022.9.1-amd64.deb 64957370 BLAKE2B 05d1f206503b41ed2a118948b3bd74cb6418dde661f3e620644abe15108391fcd48e3211cb6ff48560eb6092dc2bd08620f3df24bb92de5b832301202456ecb9 SHA512 5907b58d4da1933809342f482f26833b4513e2b2d2a62a7f2ddec02e571069f3d0a5b509a57c4390f00677dd9c6a6164217e32a5911268da683ef94713345505
|
||||
EBUILD bitwarden-desktop-bin-2022.6.0-r1.ebuild 1730 BLAKE2B 2226e3152f230b99ed941b7f8d25031ec19cf09736a10d36b887e9b9e53be4c3c5bf8ff9915232149e3918914b12a234f433f12ab623c4726721fa5d1ca33935 SHA512 671a325dc040743d343d82852af3bde1e1f979a06ad3db23547389303209aa6a64bfc4968a62d46461fee428bcb8556b73679d89a8fe4d3ab3949dc591ad1a51
|
||||
EBUILD bitwarden-desktop-bin-2022.12.0.ebuild 1730 BLAKE2B 64d1e3e6b4e10ef547f8d35c3b4f840aaeba6300941c01eb06de11f336a8178d86877d7012dddb2b9535a9a74d4c848297f47d63df13a6dd24cb8df1d42724a7 SHA512 da37a6c3c5addbff1398a8b68255f2afe0765b98ba232d9e0aa5056c95435ad18b999ded5c5ec139c5f215ebbe15e35d096f0e96af8992dc2e12db6e442e1b90
|
||||
EBUILD bitwarden-desktop-bin-2022.9.1-r1.ebuild 1730 BLAKE2B 2226e3152f230b99ed941b7f8d25031ec19cf09736a10d36b887e9b9e53be4c3c5bf8ff9915232149e3918914b12a234f433f12ab623c4726721fa5d1ca33935 SHA512 671a325dc040743d343d82852af3bde1e1f979a06ad3db23547389303209aa6a64bfc4968a62d46461fee428bcb8556b73679d89a8fe4d3ab3949dc591ad1a51
|
||||
MISC metadata.xml 336 BLAKE2B f78a5036df5cc4dc407d59fbfb0900eceecb4532926d24e0b1c32371214742bbf7a5596c24c473bb4e85a864cac453128e52097024814aed9104753cf1061e20 SHA512 457031ca1a915ab598497cc84944a4c1379ab74df3c7cae62051258bbb0ffe64203dd71b19e698df9b0afc931d56d8bb910a9dcd40c29f8a00eb2abd759c41cd
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_P="${P/+/}"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Real Time Log Monitoring and Alerting"
|
||||
HOMEPAGE="https://www.crypt.gen.nz/logsurfer/"
|
||||
SRC_URI="mirror://sourceforge/logsurfer/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="freedist GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
RESTRICT="bindist" #444330
|
||||
|
||||
RDEPEND="
|
||||
acct-group/logsurfer
|
||||
acct-user/logsurfer
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-etcdir=/etc
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/logsurfer
|
||||
doman man/logsurfer.1 man/logsurfer.conf.4
|
||||
|
||||
newinitd "${FILESDIR}"/logsurfer-1.8.initd-r1 logsurfer
|
||||
newconfd "${FILESDIR}"/logsurfer.confd logsurfer
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">logsurfer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST patool-1.12.tar.gz 69146 BLAKE2B e97f64b4ba41860c1f7e506f63f249adeb02974b71bf83eb1673ae1fd93b8f9b698818cb57f961b3d3a5d4e445c5e7a3a349db54e1eb11a8fc165ad07722ace9 SHA512 b8c67526ce79448de703b03ca9b363c0e04cfe56bfc6168bcb96202f95022b6bbcaa92be86a85ee9608070206acd09382b0dfd08a2f805c5e8e5683c7c3f18cc
|
||||
EBUILD patool-1.12.ebuild 356 BLAKE2B ce73a4d3c784e644d8a250af3d6ebe15144f7ebe827f07ed0ffa3cb4b6095e7b1951a6df07f1d2d18d9b3d425ee186beacd4cd1e9e1b13286cb26d4356c08edd SHA512 2f4d517ad77dc71b8f8c7b2d8ee678f8079230560b25afdfc1f452d3ad785f67903922dc0034e89cdb0ad5a1f59519d56a2e8ff9d9cb7943eab66daa214eac9d
|
||||
MISC metadata.xml 536 BLAKE2B b8f2cebcc015251c350fdba0ba0f98c21be53c5e59ab01cfdad0ef196619b451af1348be2b813358a403dd2a43058ac34318ef0f12e2326d9227e454cf492b0b SHA512 6a79bf61a102437687845d1b794409f770fe97677aef5bd8c6ce42cb34a6bed893ad93446c2f13c1fb69216cab1120c02939f304ffd9c83fc926750c3d4a57cf
|
||||
MISC metadata.xml 297 BLAKE2B 138dbdc9e037c29e668c846a1f2bdf26e6a868e2b3212f2a698ed50d58f65dc0254d6ad7ea90cad41e0ef17079926855f729c9e971c9c77ffd9218f6a5fabe7d SHA512 d16456723d4eb13816bc7797f7e24e22c7b15bcb555dbf1f3ccea77eb67ddf05b164ff9ffa051d3649cc66c4ffb38c82d35a84ea40fc6965a5f7a6f806ea8efa
|
||||
|
@ -1,3 +1,5 @@
|
||||
AUX pigz-2.7-memcpy-ub.patch 863 BLAKE2B 33cb4879445cb296031b7579a358a8188e7d856506911c0a02cdc93b542feda0e617b53b566b005ed544ef2c4b14bf347a3bacd3822af61fa281a9e3ca369cc3 SHA512 4edb365718e6649264388e6f60be7867ae240f096f828ff3cf0ec355dcf93ca65c54453525e2103f71b8a16673d0e7908fb7f917316d3cde47113eab7eccc420
|
||||
DIST pigz-2.7.tar.gz 108102 BLAKE2B d391522fd6f8eb6918d671fb1c9517034941f3ae8e05ffcd7bece141e6dae110cde1560bad02bd2bcca2f868cdba2a8a16b5606ad6637d40d5ced5ec9bfffcc8 SHA512 9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5
|
||||
EBUILD pigz-2.7-r1.ebuild 934 BLAKE2B 13222b5619d778eb78fc9a650707ad09a83238a81ee693a885b5afe5c7b59a54f220667420c03bfae12e191421481577cce50b02dbe452bdfd5cbf2d7102c06e SHA512 e2074cc806565850aa22e249bc3e192f2c7054d2f28b1847015b4c0b1c009c0e6c55226c144e87012d686390562f4544beb6ef577fa889f1d63c0a6b2bf061ef
|
||||
EBUILD pigz-2.7.ebuild 877 BLAKE2B 6abf1e5602039f5ab0e2759d6f7279b8a55ba92458a30f03388aa307becbbb431a562699e035a8db3863cc5f6af029e0d66fc037ad9f4e1de17f70987ebbca15 SHA512 c91c8eb9ae2fe111ceaf44225ca54503ee039ae9056ff1a187e211f861311ec073f4a9d688af51211903c8ac43959c4b51430441267dfd1d25aeae382738babf
|
||||
MISC metadata.xml 623 BLAKE2B d072cc2f7d8e182752cc3c4ae118ec674782f2e0cb08c4ca6b2d4d56a6e4621a837143bf782ae0f65af418f0a90c01f24b5603bfe7f75d0221be68f9d193d34f SHA512 3a7fdb19cf75dd27f1c7a30707ee23d8e4c300f5fa419820e7aaf9b75aa9c09add1dcc488e0241a75552cc91a45a37e8603285da7c631d1c7860a18c28929859
|
||||
|
@ -0,0 +1,26 @@
|
||||
https://github.com/madler/pigz/commit/e1ed230a1599a3cb64c8f5c003cced60e10e3314
|
||||
https://github.com/madler/pigz/issues/107
|
||||
|
||||
From e1ed230a1599a3cb64c8f5c003cced60e10e3314 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Adler <madler@alumni.caltech.edu>
|
||||
Date: Sat, 31 Dec 2022 21:28:26 -0800
|
||||
Subject: [PATCH] Avoid calling memcpy() with a NULL pointer.
|
||||
|
||||
This is not permitted by the C99 standard even when the length is
|
||||
zero. Go figure.
|
||||
--- a/pigz.c
|
||||
+++ b/pigz.c
|
||||
@@ -3414,8 +3414,10 @@ local int outb(void *desc, unsigned char *buf, unsigned len) {
|
||||
|
||||
// copy the output and alert the worker bees
|
||||
out_len = len;
|
||||
- g.out_tot += len;
|
||||
- memcpy(out_copy, buf, len);
|
||||
+ if (len) {
|
||||
+ g.out_tot += len;
|
||||
+ memcpy(out_copy, buf, len);
|
||||
+ }
|
||||
twist(outb_write_more, TO, 1);
|
||||
twist(outb_check_more, TO, 1);
|
||||
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="https://www.zlib.net/pigz/"
|
||||
SRC_URI="https://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~sparc64-solaris"
|
||||
IUSE="static test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-memcpy-ub.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST upx-4.0.0-src.tar.xz 1159308 BLAKE2B d2626a63b626f9b4e913b822e699fa93b7080d322b19555d44d7cf4ce17b37f0d50ec1381d07d0e4f8827e8edcd29d525d497fa79acd18d520ac58e176fb2b72 SHA512 fe3e8c594e845a91338b1e11fe3cb6371430af40a567187d63835e27da8b2abf993a104b0693063f4db984234bada7b2bd16ad79e3ad90861a1f495d99de7de6
|
||||
DIST upx-4.0.1-src.tar.xz 1154032 BLAKE2B 0da23cedf73506e06e5dcf19ab0d194d8e578188bb4d75e760fe3f7dc7f24a9d42ff4b75fd9514162f48ae7cfad347b5bd65789805071354a74129960807843b SHA512 f2e42c83fd4a0d273a20c8b0f0d1eb201edcd1f10c779d2a6e8ac0812741c3af0c887382e54894190ecc4c7002a910524b2ed79ae7a7b595b8392598ad2e1235
|
||||
EBUILD upx-4.0.0.ebuild 651 BLAKE2B 79aca51cc6fa40e8a39fecd5d512cd191d9981c3e584ab18629c52253d036fd52802476f24060c40117273853d7862c6359c47d8da69732402c89cf2e7c07398 SHA512 168ee21480b5b065f0ec20b3a6916a479db25a358b4a7894d7bdccad4a2505fe12d975ee363b8a687fe0f395e5a07f12d3fc44eb0eacae5bbbe087cfbc4e259c
|
||||
EBUILD upx-4.0.1.ebuild 749 BLAKE2B 85ee83807e32ce8331ea780f0e103fc44a6af3b7a7ce868b033dab90c9a2063be47e66a87639e95c0856db4c84d2ee7f88026979001ed11d52b8f64c1e47ce08 SHA512 9e22bec203f8bf4c69c873156286f9e16c7c725435148f8537554f1dad3ffc3eba441623a22fe07aa5b335b8a7474f21617530c2ba74de32c2506af899fbec35
|
||||
EBUILD upx-4.0.1.ebuild 748 BLAKE2B e4562c894bd26240bb21dc4e579aa56c9c6bf27ef1fd00b6c30da6739cea4458a9de9154a7b1bcf5efa4f5fbd01fe595126f48f593ea2c8b336cc1cec84b3343 SHA512 93e947ff8f3794c0e61637e2587dc9acba3ce6f27024c8f1e9729fa4f915eec7467a62a70694c3d23fb2dbc10e9f5f115cbe9831899df2b77ecc8d4fffec15a6
|
||||
MISC metadata.xml 479 BLAKE2B fafbeeb827ba16ec14c3682982e7cbb1ef9264b637086d58aca32a632b1f273f1cc7ede069d61439a498f04e09368e4095829de7dd95b17afafc80f7ceb15695 SHA512 956e31235fec93e773f9bdbe62de739e3994d92b3a56ea97f65db5b20f182f4fbeed62370a28bf98447fddfa89efec4b8b4d63daf9020210810bd8bb201534e4
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,7 +1,3 @@
|
||||
AUX adcli-0.9.1-glibc-2.34-resolv.patch 1160 BLAKE2B d32a1b3a02558a17c60b8804c9b8dfe50a4f11645150c9ca39cefc5205d1961834e9a051f8d9d15987b4969f47fef17296f1576d9a523be8e633d38d307565ed SHA512 8123f3b09b38d78c2caab0a6445bf04ea7c3d2badea0cb8b35200403f28fb43b0e3863bf00628c5f3986a30d437c483871fcb50139954ccbfa885d3e8f7c8b11
|
||||
AUX adcli-0.9.1-library-include-endian.h-for-le32toh.patch 586 BLAKE2B c48b0dede264e9eb26038ef6c80480229d93d6cde351f0c1fc951ea1efc77d0a18da4d045e01953e99b8ff5280c4081fd2f9a4425c289a4ff01a1e207dc79804 SHA512 8aec26b0f21ddebcf2529ae9e4052c38150d06fe5f4a95f1f011e0af5ae0781b58d40a9b3515178f1986f465ea076516ec1dc9fa81c451fdcc7dd5fe4a9cc85e
|
||||
DIST adcli-0.9.1.tar.bz2 89684 BLAKE2B deaf6d3a13ad29c77a35b9f9c195dd646f384ad7c9782c15b50b26efceabae268bbb287d488ec7ed8d783d92ce7d8399f05898d30201d0d7fab7c0369c22fce1 SHA512 7e41fb51bfcb8837f9e5f6fd1fceacece0762c237dbc0f58dd581e2be8841d7a613d57507aea4534a66a2bd10ef4d01c4e04885437038c71238739db6e357d6e
|
||||
DIST adcli-0.9.2.tar.bz2 93680 BLAKE2B b5958b276ee43a0ee54aa922f27ed266d4e9fbd1c86e0c007dac9fcf9cc022e1b3ba043b782fceb00066be2577390773dc99fb8d476a6b5e6523d44d008fb667 SHA512 ae8414a0af389b6845dd92d41446a80a9dc1734b874175323c0e491d99944eab442b95ae6d3a29fc69638d2e73bf8d2c369f6fa50e9ed3968527444b78606286
|
||||
EBUILD adcli-0.9.1-r2.ebuild 795 BLAKE2B f00333f24261cd5628e358c0dc597b02f8fdb25274c4770332628bf57c71f296f68fbb26381756f229bbe43f8fee040cdf41864e73be2679b807a2f9c2938d36 SHA512 fab4109877430cfb7233cde305d083ca013b4d128c69ac8dc6cb6ebbf484da4906acff3fcda1447718397386c4b8cf617ce8848897109d1cfe9dd05071b21e68
|
||||
EBUILD adcli-0.9.2.ebuild 675 BLAKE2B cd29a60aa1c0e251e29bd7cbd9dd50d547bb17713e09cba4cdee463adb93036b33a8924cde9e22f7167c4c3a091450daba00fbd59d656698e84227af5581d382 SHA512 7c91122c29b743fdd5046164219178e21f35aa04df8f515ed7dac860a366f5d6ac74b9e449b32981662ed420718d7ec4d126b57ac678f9ee11060f24aec13da2
|
||||
MISC metadata.xml 501 BLAKE2B 426bc6a40ebda29bd46e41ef626075357d34952234f115d80963c2bc9498b04c23f4d017b86f34934a50a9a480ee794536c53a3b2b68c5f8c4861f630d659d66 SHA512 337f2c31ae03ba2b1e7d6bf357a3376c23caa00434b1cd11634b37a354c7c54dacaa6e72783a6280781f1e9dce2b2fe4d4a753bac5969093fe21b32cabd66a18
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Tool for performing actions on an Active Directory domain"
|
||||
HOMEPAGE="https://www.freedesktop.org/software/realmd/adcli/adcli.html"
|
||||
SRC_URI="https://gitlab.freedesktop.org/realmd/adcli/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/mit-krb5
|
||||
net-nds/openldap:=[sasl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
app-text/xmlto
|
||||
dev-libs/libxslt
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-glibc-2.34-resolv.patch
|
||||
"${FILESDIR}"/${P}-library-include-endian.h-for-le32toh.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable doc)
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
https://gitlab.freedesktop.org/realmd/adcli/-/commit/e841ba7513f3f8b6393183d2dea9adcbf7ba2e44
|
||||
https://bugs.gentoo.org/820224
|
||||
|
||||
From: Sumit Bose <sbose@redhat.com>
|
||||
Date: Wed, 28 Jul 2021 12:55:16 +0200
|
||||
Subject: [PATCH] configure: check for ns_get16 and ns_get32 as well
|
||||
|
||||
With newer versions of glibc res_query() might ba already available in
|
||||
glibc with ns_get16() and ns_get32() still requires libresolv.
|
||||
|
||||
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1984891
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -98,13 +98,15 @@ AC_SUBST(LDAP_CFLAGS)
|
||||
# -------------------------------------------------------------------
|
||||
# resolv
|
||||
|
||||
-AC_MSG_CHECKING(for which library has res_query)
|
||||
+AC_MSG_CHECKING([for which library has res_query, ns_get16 and ns_get32])
|
||||
for lib in "" "-lresolv"; do
|
||||
saved_LIBS="$LIBS"
|
||||
LIBS="$LIBS $lib"
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([#include <resolv.h>],
|
||||
- [res_query (0, 0, 0, 0, 0)])
|
||||
+ [res_query (0, 0, 0, 0, 0);
|
||||
+ ns_get32 (NULL);
|
||||
+ ns_get16 (NULL);])
|
||||
],
|
||||
[ AC_MSG_RESULT(${lib:-libc}); have_res_query="yes"; break; ],
|
||||
[ LIBS="$saved_LIBS" ])
|
||||
GitLab
|
@ -1,21 +0,0 @@
|
||||
https://bugs.gentoo.org/830325
|
||||
https://gitlab.freedesktop.org/realmd/adcli/-/merge_requests/47
|
||||
|
||||
From: Henning Schild <henning@hennsch.de>
|
||||
Date: Tue, 11 Jan 2022 08:22:55 +0100
|
||||
Subject: [PATCH] library: include endian.h for le32toh
|
||||
|
||||
upstream commit 938065a751c0876eb837a27f8c1443fc7d0d2551
|
||||
|
||||
linking against musl libc we need to include that specifically, actually
|
||||
also according to "man 3 endian".
|
||||
--- a/library/adutil.c
|
||||
+++ b/library/adutil.c
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
+#include <endian.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
Binary file not shown.
@ -0,0 +1,367 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/vim
|
||||
|
||||
VIM_VERSION="9.0"
|
||||
VIM_PATCHES_VERSION="9.0.1000"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic lua-single prefix python-single-r1 ruby-single toolchain-funcs vim-doc 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://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
fi
|
||||
S="${WORKDIR}"/vim-${PV}
|
||||
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="acl aqua crypt cscope debug lua minimal motif netbeans nls perl python racket ruby selinux session sound tcl"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
aqua? ( !motif )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
~app-editors/vim-core-${PV}
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2:0=
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
!aqua? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libXft
|
||||
)
|
||||
)
|
||||
crypt? ( dev-libs/libsodium:= )
|
||||
cscope? ( dev-util/cscope )
|
||||
lua? (
|
||||
${LUA_DEPS}
|
||||
$(lua_gen_impl_dep 'deprecated' lua5-1)
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( ${RUBY_DEPS} )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
session? ( x11-libs/libSM )
|
||||
sound? ( media-libs/libcanberra )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# configure runs the Lua interpreter
|
||||
BDEPEND="
|
||||
sys-devel/autoconf
|
||||
virtual/pkgconfig
|
||||
lua? ( ${LUA_DEPS} )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
# various failures (bugs #630042 and #682320)
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug 82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
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}/vim-patches-vim-${VIM_PATCHES_VERSION}-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
|
||||
|
||||
# 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
|
||||
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'
|
||||
|
||||
# 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 -e \
|
||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -v src/auto/configure || die "rm failed"
|
||||
|
||||
# --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 "couldn't disable cscope"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# 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
|
||||
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
local file
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e ${file} ]]; then
|
||||
addwrite $file
|
||||
fi
|
||||
done
|
||||
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
local myconf=(
|
||||
--with-features=huge
|
||||
--disable-gpm
|
||||
--with-gnome=no
|
||||
$(use_enable sound canberra)
|
||||
$(use_enable acl)
|
||||
$(use_enable crypt libsodium)
|
||||
$(use_enable cscope)
|
||||
$(use_enable netbeans)
|
||||
$(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 session xsmp)
|
||||
$(use_enable tcl tclinterp)
|
||||
)
|
||||
|
||||
if use lua; then
|
||||
# -DLUA_COMPAT_OPENLIB=1 is required to enable the
|
||||
# deprecated (in 5.1) luaL_openlib API (#874690)
|
||||
use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
|
||||
|
||||
myconf+=(
|
||||
--enable-luainterp
|
||||
$(use_with lua_single_target_luajit luajit)
|
||||
--with-lua-prefix="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
# Default is gtk unless aqua or motif are enabled
|
||||
echo ; echo
|
||||
if use aqua; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=(
|
||||
--enable-darwin
|
||||
--enable-gui=carbon
|
||||
)
|
||||
elif use motif; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=( --enable-gui=motif )
|
||||
else
|
||||
myconf+=( --enable-gtk3-check )
|
||||
einfo "Building gvim with the gtk+-3 GUI"
|
||||
myconf+=( --enable-gui=gtk3 )
|
||||
fi
|
||||
echo ; echo
|
||||
|
||||
# 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 )
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
# avoid finding of this function, to avoid having to patch either
|
||||
# configure or the source, which would be much more hackish.
|
||||
# after all vim does it right, only interix is badly broken (again)
|
||||
export ac_cv_func_sigaction=no
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
export vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_toupper_broken=no
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--with-vim-name=gvim \
|
||||
--with-x \
|
||||
"${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
|
||||
|
||||
# Make gvim not try to connect to X. See :help gui-x11-start in vim for how
|
||||
# this evil trickery works.
|
||||
ln -s "${S}"/src/gvim "${S}"/src/testvim || die
|
||||
|
||||
# Make sure our VIMPROG is used.
|
||||
sed -i -e 's:\.\./vim:../testvim:' src/testdir/test49.vim || die
|
||||
|
||||
# Don't do additional GUI tests.
|
||||
emake -j1 VIMPROG=../testvim -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/.}
|
||||
|
||||
dobin src/gvim
|
||||
dosym gvim /usr/bin/gvimdiff
|
||||
dosym gvim /usr/bin/evim
|
||||
dosym gvim /usr/bin/eview
|
||||
dosym gvim /usr/bin/gview
|
||||
dosym gvim /usr/bin/rgvim
|
||||
dosym gvim /usr/bin/rgview
|
||||
|
||||
emake -C src DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install-icons
|
||||
|
||||
dodir /usr/share/man/man1
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1 || die "echo failed"
|
||||
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1 || die "echo failed"
|
||||
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1 || \
|
||||
die "echo failed"
|
||||
|
||||
insinto /etc/vim
|
||||
newins "${FILESDIR}"/gvimrc-r1 gvimrc
|
||||
eprefixify "${ED}"/etc/vim/gvimrc
|
||||
|
||||
# bash completion script, bug #79018.
|
||||
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
|
||||
|
||||
# don't install vim desktop file
|
||||
rm -v "${ED}"/usr/share/applications/vim.desktop || die "failed to remove vim.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update fdo mime stuff, bug #78394
|
||||
xdg_desktop_database_update
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
|
||||
# call eselect vi update
|
||||
eselect_vi_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update fdo mime stuff, bug #78394
|
||||
xdg_desktop_database_update
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
|
||||
# call eselect vi update
|
||||
eselect_vi_update
|
||||
}
|
@ -0,0 +1,231 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-editors/vim and app-editors/gvim
|
||||
|
||||
VIM_VERSION="9.0"
|
||||
VIM_PATCHES_VERSION="9.0.1000"
|
||||
inherit bash-completion-r1 desktop flag-o-matic prefix toolchain-funcs vim-doc 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://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||
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"
|
||||
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"
|
||||
|
||||
# ncurses is only needed by ./configure, so no subslot operator required
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2:0"
|
||||
BDEPEND="sys-devel/autoconf"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
eapply "${WORKDIR}"/vim-patches-vim-${VIM_PATCHES_VERSION}-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 || die
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h || die
|
||||
|
||||
# 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'
|
||||
|
||||
# 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"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# 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
|
||||
|
||||
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"
|
||||
|
||||
local myconf=(
|
||||
--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)
|
||||
)
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
export vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_toupper_broken=no
|
||||
fi
|
||||
|
||||
econf "${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-r6 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.
|
||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die
|
||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die
|
||||
rm -v "${ED}"/usr/bin/vimtutor || die
|
||||
|
||||
for f in "${ED}${vimfiles}"/colors/*.vim; do
|
||||
if [[ ${f} != */@(default).vim ]] ; then
|
||||
printf '%s\0' "${f}"
|
||||
fi
|
||||
done | xargs -0 rm -f || die
|
||||
|
||||
for f in "${ED}${vimfiles}"/syntax/*.vim; do
|
||||
if [[ ${f} != */@(conf|crontab|fstab|inittab|resolv|sshdconfig|syntax|nosyntax|synload).vim ]] ; then
|
||||
printf '%s\0' "${f}"
|
||||
fi
|
||||
done | xargs -0 rm -f || die
|
||||
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
|
||||
}
|
@ -0,0 +1,372 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/gvim
|
||||
|
||||
VIM_VERSION="9.0"
|
||||
VIM_PATCHES_VERSION="9.0.1000"
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
|
||||
inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single toolchain-funcs 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://gitweb.gentoo.org/proj/vim-patches.git/snapshot/vim-patches-vim-${VIM_PATCHES_VERSION}-patches.tar.bz2"
|
||||
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"
|
||||
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 )
|
||||
"
|
||||
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"
|
||||
|
||||
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}"/vim-patches-vim-${VIM_PATCHES_VERSION}-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'
|
||||
|
||||
# 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"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# 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
|
||||
|
||||
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
|
||||
|
||||
local myconf=()
|
||||
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
|
||||
# -DLUA_COMPAT_OPENLIB=1 is required to enable the
|
||||
# deprecated (in 5.1) luaL_openlib API (#874690)
|
||||
use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1
|
||||
|
||||
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 )
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
export vim_cv_getcwd_broken=no \
|
||||
vim_cv_memmove_handles_overlap=yes \
|
||||
vim_cv_stat_ignores_slash=yes \
|
||||
vim_cv_terminfo=yes \
|
||||
vim_cv_toupper_broken=no
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
# Arch and opensuse seem to do this and at this point, I'm willing
|
||||
# to try anything to avoid random test hangs!
|
||||
export TERM=xterm
|
||||
|
||||
# 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.
|
||||
# - Test_fuzzy_completion_env
|
||||
# Too sensitive to leaked environment variables.
|
||||
# - Test_term_mouse_multiple_clicks_to_select_mode
|
||||
# Hangs.
|
||||
# - Test_spelldump
|
||||
# Hangs.
|
||||
export TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\|Test_spelldump_bang\|Test_fuzzy_completion_env\|Test_term_mouse_multiple_clicks_to_select_mode\|Test_spelldump\)'
|
||||
|
||||
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST jedi-0.11.0.tar.gz 41606 BLAKE2B 146f60f43a3fc764c66e2ca94c2b4051be3e25b5a94ca3f6d82533b624433946013c7df38e61262e6ac40a00de9d3b9b0e647e794191b6deb8ed09124d2accc7 SHA512 a151fdf4d58adc36dbe9ede8e091ae00c8bd8237b66c512b4addfb6e7e436651848da2b3a0dbcbbef615bcc394e7e28a6e127e53f2205dc61f4d46a2ff0faa12
|
||||
EBUILD jedi-0.11.0.ebuild 2045 BLAKE2B bce0951b1aa604bb3fd12b0dcb7eef3ceef6026acdbf45f974299d2296a38fc9540eec2e3473fe9e0e74037ce5f1d77e51f141373889a1096c77cb9d04e4c9bf SHA512 c69e9a46287727325c8acfe92b4b3b6d77c2075382f69b35afbf1a3e5db3aebfdfc76dfc50bac6ecf51c49449c5b7b755734af928b531ed1617f61287c54ddcb
|
||||
MISC metadata.xml 766 BLAKE2B d8f5fb163c91e7d140bc7921a21e7e939be641d69abf2c1048dc1bf6b766732dbd431b12f3de3f8ff5dbfefa2260375a811972a605f3c5aa863653a983cfcd59 SHA512 017ca02cb4643b7911bfb472cad02df81075fed0d139af7c818b78b1e972f5641e7def278427647ff294bc4cd5fa430ae2b49b5f92e5a7e783dbad54e1be355d
|
||||
MISC metadata.xml 510 BLAKE2B b9370a0dc09e9e6f6c2df57d63326dd91e2431204e8d6e988908043ea07e29bfc62ab966f3e2179036124e6ab26a6773355be0227236d80528114cdd8b479202 SHA512 5f45136d169d68157c02b7050e79b00f963d6f54842dfe4cfd14a6e0fca50c47f24fbe95206215be653fbc0dda6c67f5667f456550bdf95e11bad66fc67ecce1
|
||||
|
Binary file not shown.
@ -1,11 +1,12 @@
|
||||
AUX catch-1.12.2-glibc-2.34-sigstksz.patch 2667 BLAKE2B 890af64dcf7fb85d02a00d22b3c297ffcf6c6cc5ce4ef21310cdc030587cb2d26841040ae73a15bca0c86be1813de49667904648baf89df34779fb6e97b18e19 SHA512 bc524945b7570fad29482bafdc0f7d35a180dc3a000a5e2cdc14c5fbc54684cabfa0448d53418c122a99fca6955fda5afbac25c46fc1e7c6aa16f4ad687bac76
|
||||
AUX catch-2.13.8-musl-tests.patch 854 BLAKE2B c593febfdd8d18912a0ceac2d63c3af21ed917df0b8ba416fe6d40adee5c2f5472c282e5c325fbd98ece23b27ef6b1975bfc4855808c8e7df86ee08c06a79845 SHA512 7a54bc2c06204203da6277866f793adcf14edcff915a12f3ad75b0b5d919dc06bcc5798188d3b002a0a872e2d8589178123c9960a25d0ff42b7be227be52fddf
|
||||
AUX catch-3.0.1-gcc13.patch 3163 BLAKE2B a67e75852c879bddd585011c31a337f0d77edd85210726c573f16d9aae137edc260738e85d05ae1af8e46b2958126889e810865010c40fe083c6d260c6c8016d SHA512 654cc9ce82d07dacbf469e5d8a937343d9844c07b010332236ffdb11dc652dcf8dcaee00a877278aab00997386d2e6aec3cf10fbf04c2d65f6b2ab5d989029c1
|
||||
DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee27a8dc28c35b89e33f414d68ba4cf00951e476688eddf9e4c0514036bd6916fa6cfa9e3359e6c625984f114f SHA512 ed963cdca9fe307ee02928677f81cafcb41cd607faaa315182fdf898d0f2aa28f0be2141bd642f46fdfac400c38f6d065e00a595a1e5879fe2335c4a3851e844
|
||||
DIST Catch2-2.13.8.tar.gz 661711 BLAKE2B 973cc73c1d158140645003e76c0baf85a65252041fdcae3c6ecb1857021f2d24d8e879fec5f00368f4f458e69b450603a1613ac587417725980f1dbfe3ff2e65 SHA512 68a45efa47beb3c85d2d7b8a8eba89b8ec1664b4a72bb223227fef1632778aeaf5cf5cc09f40e47aef50426c8661c7d6a69c2dab0b88fbbf7d9a6b2974d6e32e
|
||||
DIST Catch2-3.0.1.tar.gz 1020413 BLAKE2B 91c207bb67b9d97191fcd5b3f50df66c7d671aabb4deb989b6d838eba205e981d6dc51fb82d7c13d65751746215abc769a0274da9ee0512a53c4afbeb3540efb SHA512 065094c19cdf98b40f96a390e887542f895495562a91cdc28d68ce03690866d846ec87d320405312a2b97eacaa5351d3e55f0012bb9de40073c8d4444d82b0a1
|
||||
EBUILD catch-1.12.2-r1.ebuild 896 BLAKE2B 185ad88f37e5fc1b66d865be02c20989fd215c5ff50a63c6e91ea3fdc1af497b1f499693e24e66b980c367d387aaa328feffb3e11a37513e0191a43236e6c0d8 SHA512 b076e9b7b233dd067b55592382798d7ad7a85666e46a287ba5de688cbbedc9c6226b39a5c448821bb2fb6ba90c654cb33d111aded9e4a38d82d8d3f402bae1f2
|
||||
EBUILD catch-1.9999.ebuild 794 BLAKE2B 905f186ecb29ac1d24caeb62b50c3d2fa9f66753a5e67dafe629a0e75dd1f97e59bf9296e3ecbec7e9dfe40ea7f3ceabb892a2397dc920ab021ffdf356b17aa7 SHA512 3f19e38f17bdda9dec4362ac063f1d542b7d97bce48e0c854a8adf4aba12cd745c2dda6be6f2cddc5ef0b93d4eb72bdf09a14ab66764fc78c6330d3da5d5b01e
|
||||
EBUILD catch-2.13.8.ebuild 1012 BLAKE2B be333f775e98a1f82628a9183e10ac4cc5a6dbc1c334c8884f5873088d4d8af2de91bec3676eb898876cd6e667d6ef9b1a14a12147f12c34a1eb50ec1b77df7b SHA512 00fc4467df4a80b480262b0b8b07ab8867a42318fd574519a883bf5b4f10c65234ab14cfe71d00dd2ce75ae6dc47977fef3c625d449950bef905b22971a6c983
|
||||
EBUILD catch-3.0.1.ebuild 995 BLAKE2B b22d59ee9a26e08a4b5b904852f31cab4a667e275f8e7bb34c26030f0d1d49a49c4965b7e1c26f7ee3194d79a93bc903e31effd42991e6c4d9e7c18b6cfa9f48 SHA512 81705c11ce090836a3d4ecca1189349a84a4720ff824936bf870c45a4f59d950d1e355dd16d2af855f2dd1c6d21b8fdd83f7e6c3237986b0a2fa0873f240859e
|
||||
EBUILD catch-3.0.1.ebuild 1046 BLAKE2B a2da569944dc7bcb77fb51649d5b165fa715a1d3361e732cbbba055367a9dfc75d60d49d0b15dd416ed1f9aba8a197a51ef6d76383b7ac3df0f33fe982429486 SHA512 ce2ae3049b3c8d2f83bda37014da99a090b67a14d193ceded369538671286f86f8d55503c8e5b3c450ee3e29408429bb9dab5613c89170436dce5921ffa09b38
|
||||
EBUILD catch-9999.ebuild 1001 BLAKE2B 1b889c57cfbffa4b0afb68c8945bc682ac857a3201a0a2870a8fb8412dd386e2af5a6f4cabcaeab9baeffb18f869033d4c22468b5e9b68c6005de1e1f5ac1757 SHA512 885f95f3d4d569e754e7c9579e432c8a2e78998d9ff1121dbbbdd5d2d9755778fd210f0337421c382c4125ddb42284c763993c78fef86ee1e919c56c5e56f6bb
|
||||
MISC metadata.xml 325 BLAKE2B 170690d843389d8befc37befe36d57a20f791f6520a08a8eafae196c6ada323a9afb00f58b55d0df30aa67f3e96430a46c3ee0355911b2289056e8bed48509ff SHA512 d2e3d74294189b3c639a16084b7a3745af6854f295c529fc2dc76d05ed6d7ac7e84c8a760f47f07f0744cdd257b5bf851a900ae48482efceea4a8d6ac6ace7c4
|
||||
|
@ -0,0 +1,61 @@
|
||||
https://github.com/catchorg/Catch2/pull/2611
|
||||
|
||||
From 12a93b20b9aec1df537781c9c0712ec24d31d739 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Sun, 8 Jan 2023 02:03:32 +0000
|
||||
Subject: [PATCH] Fix build with GCC 13 (add missing <cstdint> include)
|
||||
|
||||
GCC 13 (as usual for new compiler releases) shuffles around some
|
||||
internal includes and so <cstdint> is no longer transitively included.
|
||||
|
||||
Explicitly include <cstdint> for uint64_t.
|
||||
|
||||
```
|
||||
FAILED: src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o
|
||||
/usr/lib/ccache/bin/g++-13 -I/var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1/src/catch2/.. -I/var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1_build/generated-includes -O2 -pipe
|
||||
-march=native -fdiagnostics-color=always -frecord-gcc-switches -Wreturn-type -D_GLIBCXX_ASSERTIONS -ggdb3 -fdiagnostics-color=always
|
||||
-ffile-prefix-map=/var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1=. -Wall -Wc++20-compat -Wcast-align -Wcatch-value -Wdeprecated -Wexceptions -Wextra -Wextra-semi -Wfloat-equal -Winit-self
|
||||
-Wmisleading-indentation -Wmismatched-new-delete -Wmismatched-tags -Wmissing-braces -Wmissing-declarations -Wmissing-noreturn -Wnull-dereference -Wold-style-cast -Woverloaded-virtual -Wparentheses
|
||||
-Wpedantic -Wreorder -Wshadow -Wstrict-aliasing -Wsuggest-override -Wundef -Wuninitialized -Wunreachable-code -Wunused -Wunused-function -Wunused-parameter -Wvla -MD -MT
|
||||
src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o -MF src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o.d -o src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o -c
|
||||
/var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1/src/catch2/internal/catch_clara.cpp
|
||||
In file included from /var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1/src/catch2/internal/catch_clara.cpp:12:
|
||||
/var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1/src/catch2/../catch2/internal/catch_string_manip.hpp:47:14: error: 'uint64_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
|
||||
47 | std::uint64_t m_count;
|
||||
| ^~~~~~~~
|
||||
| wint_t
|
||||
/var/tmp/portage/dev-cpp/catch-3.0.1/work/Catch2-3.0.1/src/catch2/../catch2/internal/catch_string_manip.hpp:51:42: error: expected ')' before 'count'
|
||||
51 | constexpr pluralise(std::uint64_t count, StringRef label):
|
||||
| ~ ^~~~~~
|
||||
| )
|
||||
```
|
||||
--- a/src/catch2/catch_test_case_info.hpp
|
||||
+++ b/src/catch2/catch_test_case_info.hpp
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <catch2/internal/catch_unique_ptr.hpp>
|
||||
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
--- a/src/catch2/internal/catch_string_manip.hpp
|
||||
+++ b/src/catch2/internal/catch_string_manip.hpp
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <catch2/internal/catch_stringref.hpp>
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <iosfwd>
|
||||
#include <vector>
|
||||
--- a/src/catch2/internal/catch_xmlwriter.cpp
|
||||
+++ b/src/catch2/internal/catch_xmlwriter.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <catch2/internal/catch_enforce.hpp>
|
||||
#include <catch2/internal/catch_xmlwriter.hpp>
|
||||
|
||||
+#include <cstdint>
|
||||
#include <iomanip>
|
||||
#include <type_traits>
|
||||
|
@ -0,0 +1,3 @@
|
||||
DIST magic_enum-0.8.2.tar.gz 171915 BLAKE2B e8915aa7cafa9407d5d4ab3b6837fafde6b1cb75877c8b56f82568e6291ca317720950947b2dfc7e12ca459279ba4e809a8c5782fc04adc2d7636eddcb80122d SHA512 849c426484156faf91dde3f32f6c755c7698879b16dd83e13fb86b299b53ec9bbe4d55267581386302c8acb93d80ec044cc248371fdc8608cdd8f4ab12099f0a
|
||||
EBUILD magic_enum-0.8.2.ebuild 667 BLAKE2B ab86c8b78609890abaa2e98cb4e2f6b5fc51a95513e78d5c026607e57e5c144ceb247785ee2ee609c5f424225e26daac40eb1bebeabd6091f41118f79dc75879 SHA512 f9025b49b7dfc53d3ca30dd2da068c233b8525e827ecc3393952e57d2040ac67b9f0299a592ffaa0a94f258575ef126e3c4f41d2b996e5df68fa0f0a85b8ba52
|
||||
MISC metadata.xml 337 BLAKE2B eabb1d9eee57714c609421664a9c4c20ad428bb04293b73b229ad35fd9f49bf0ecd6b8b3b1ff7499ca8a9ac47a34e413ae641fc0d0fb519e0f0362ce06b101fa SHA512 0b40ac7094d30a55aaee08f37268eae8b793768aa2f0d5eba53ef0dc1f3f763f3066cd0a2cfb46bb3002fcebde6e631ccb4cf3a8da2db2742ccd2cf536e67012
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# As of 0.8.2, it has meson, but only for subproject use(?)
|
||||
# Doesn't install anything.
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Static reflection for enums in header-only C++"
|
||||
HOMEPAGE="https://github.com/Neargye/magic_enum"
|
||||
SRC_URI="https://github.com/Neargye/magic_enum/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
# Tests fail to compile
|
||||
RESTRICT="!test? ( test ) test"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMAGIC_ENUM_OPT_BUILD_TESTS=$(usex test)
|
||||
-DMAGIC_ENUM_OPT_INSTALL=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Neargye/magic_enum</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,8 +1,7 @@
|
||||
AUX mysql-workbench-6.2.5-wbcopytables.patch 496 BLAKE2B 4666f32098ec43ad36f1c726903472e829873002521262d6781a2febfc1394dac6f9708fbb99a3fa52a032a5b8f695c9b98579b28a63e74727eac21a8ef3fbe6 SHA512 c0766315cd345893af57880eccdc2c1dd9ffa456a27d0c736af1382ca24c507de865188588753f212f35d8781305dcbd8d555f128edd6454dc2299bd0357fd5b
|
||||
AUX mysql-workbench-8.0.19-mysql-connector-8.patch 624 BLAKE2B 0cb899a8b0127664471877bb9cdcda946c35ed7a159646b94891a791a618c77201cc7696d6f2893e95fd78dbc13325cef752740f76e69974e10c0f88084594fb SHA512 09c2349cb42393f6d32f24804e2c3438a5d846fc9611e0684ccf2139fd30b0abcb0f2aa7b205c60a081259e073fb345cd72837dab1a216e6a8aaaba5ec3decf7
|
||||
DIST antlr-4.9.1-complete.jar 2100605 BLAKE2B 6fcdc184900cd30e42b3e1b6f56bcccbf1d3c975edc8475b92b9c0779568148f711e9bcbb77859d8fbff2d31f362a9b562847b9b9ece03c8c4b7792341fab57e SHA512 a01815324c15fbff9cb917fa2cdef85aabf34c77730913026257e92c195d11f059c73a1579ffa74616b76b5aba34fd6074b19e1de8f2f3bec1c55cd950f4947b
|
||||
DIST mysql-workbench-community-8.0.29-src.tar.gz 19353576 BLAKE2B 7562da75534261e128e990e64dbdbe7486bbf7a5d3c777f505178be9f33c6266e2e5c3efcad2cb14fdb53878fc485bbc13dce7f37bc0aaaf114d41e9c86335a7 SHA512 f2ce224154c35ee7076d044ec0db3d23bec466f22361ed5d0cd1f49a34a4aeb963405db6d9bd1923bd176163652a54f0501b53ad34c5c0a999f6a39f137bce3e
|
||||
DIST mysql-workbench-community-8.0.31-src.tar.gz 19350289 BLAKE2B eac2024763f1129020584f1f0d019567b88a5de6236607d9c5c140e3041c6570a50bed50d3783f5a51ac2d16331300d49095f16f786d5152bb378f0d8f5cb548 SHA512 7ff9b6636292d6fa1708903e5fd26fdcd07150e34217ddb6fe552dd46c026ed49cd5086e7f43daea09d90f390cd14b59ddd8371b308dc6c9b3f0fe3455e04b7a
|
||||
EBUILD mysql-workbench-8.0.29-r1.ebuild 2768 BLAKE2B e60559e2a7ea25723a6b15af251d28a44373242a6439ba02c5366e51e6398d528dd531d87fbff566fc5976820b35b2e34a86412d25f543e7881be21d533855fa SHA512 607eed04308f2200655334cf0b39e3aa9c1e141571ebbf23f5ec5573196667351782bb223ecd740e73c676017efba88d94d46a5a4318b2eb67540bddcab96962
|
||||
EBUILD mysql-workbench-8.0.31-r1.ebuild 2721 BLAKE2B 55092d00e595a7897b96b4eb61a83420dfd4e45e8e226ebca338ec4a28bbd2889408b410e583ae6c8e24f11ab98bac51bd1a952ac191b0449e07ad662c2a9dd6 SHA512 b646b9052cb0d286569bd2bbb0bb20dcc58e004f180fb98013bd29f23d57c97845e0c761c682c2ac45cedca4302fef50d55cb53874109de88ce51edf1e73bc7c
|
||||
EBUILD mysql-workbench-8.0.31.ebuild 2715 BLAKE2B bf012b7d2ba2648287c08111de4768f2e1d8592a3805275d834a3cc6b0fe8f561bba03f7792edca289e92241b0869cb8660caa46f5d78dec903eb9caa37078ba SHA512 cc1aca3a18e1bccc2ba2264da80b0ac6d3e023df3ad6b268bbb004f0a98057cc88e90eac7ff9f0b43b829ce7b67d0864a10be62e05a0055cddbba749840615d3
|
||||
MISC metadata.xml 312 BLAKE2B 8c491f0d45e24b9e367ef63f8822daf6925a17f8d44ff822b8faf7485f729524de02309b91e18411421b4533aa086853914c4a0b2a93d3fd5573a289fa1e3715 SHA512 01f2f645d167290bdb313e6c1c386b0426b41edd0ee9b50acf538a7353855c84321111ffd11c213c71424c7df73aa48b8fb9f3f2af914b595fb2961cc6b3186c
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST mill-bin-0.10.10 71059080 BLAKE2B acca082500d69ad87031dda36df363db38a5559188abc5eeea07b928892812063761566d4b909b3176e8a8a1d434540aafebfea0a46f368216c8273543817b34 SHA512 8bd4b3f86d6c85a15ee62c4ab3640d40f0e08232e1954a246915efa4f98f6cc78938cf042180f401daa1a40dad5ba98d7e3a2c4ecf2af6f0d27a3158157b2e0a
|
||||
DIST mill-bin-0.10.9 71023828 BLAKE2B 6cd71ad3a293b92957b504b850110103290f0017416c370f6de172247e96a42daffe94f7460325bff89b3136e3890eddb0ff7857418a0166327684e785a8e956 SHA512 494ad57e036180a285e44ff24ab8a7070b1b444e4267eb9ea76823f3717db4ca7bcab17013932764ed04fd7127272d87fef08cb59bc43ae257a76fdd715581e9
|
||||
EBUILD mill-bin-0.10.10.ebuild 482 BLAKE2B bd450dd8e02ed513d1d9a2546220e91556ccdc46a515bd41ca1450f9f36c602e25a36830c65211dcf87946b1dd028a474c84638e3f1039d83b4cc048b7100e33 SHA512 0c47890e11f7b3d2fcfb1469213dcb2f7103ff7f3460968dee8d4ce54bb0fe7efd80e0604a5a6ed5cbfb0c47fe68f43b02b6c653ea2401707bb9f318a6ddfddc
|
||||
EBUILD mill-bin-0.10.10.ebuild 480 BLAKE2B e21f94640f4e4898397995d6e3e0da843b3add05198fa17f4b78f2ad7e9a25cb9c7abe305858841b785f5257848abd2e38c09468490901f4754aceb8ecf7af19 SHA512 6999a1976f2e503aa16f5b09baef81f032d5358ddd65836efbb4a5e2795cb45810a6b375da786edb3b3119e843c7b1284244824672ad0e263587689d820c9a59
|
||||
EBUILD mill-bin-0.10.9.ebuild 480 BLAKE2B 975ae40b61d1aee9e011cd04fddac1b6adfb788cfb6218648284330e1d936611b73473e82383524e4be1a4ce6bff26bcc047bfb1ab9c67c9c646a85d892bdff4 SHA512 1625db9ae485f31f37033d30c5de765850f77a57d22f772645c38de7077f87431d41826241e108b9f8deab2d8e04bea4b98e7aeaba35a13ca1693888b6d1e67f
|
||||
MISC metadata.xml 462 BLAKE2B 33fc9bc7b46cf529c83a5f554abf0ac46f109b72e9060b45c442aaae815c0845a0d5c8aa799ad369a75b5749e6499458763ca1913e88cae0d07fb6233e6badf6 SHA512 bd8831c79f4f164f509ee6415ef922fee49d40282d655785ec289f06da0e4735f3857041911236f2c7cf319f72458807ee5fb8a008e31774d90f03634161a2d2
|
||||
|
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
DIST swipl-8.4.1.tar.gz 11386908 BLAKE2B bd53355abe63ffde348ed38b0e7fee4bcba4e74128c73904a72ca3ba2021a8b650d08480a643ea3336f3fc6d1d7bcf7651deb1d32608581ce43bc118288df6da SHA512 22806d8abd0b729e27a6d7bbbd0df37af8af21bb186a8de58ec5f9a1d32c9a477838fd10155ff21998737fcc2aaf4711d1d4d5457ce5d62e328d5da032474ee5
|
||||
DIST swipl-8.4.2.tar.gz 11396705 BLAKE2B c0835bdbc09171ef00ccc52df14d07651ac42e36ab7bd6e6a72348050d3547a817bec13f2facd8fe051291dc3f0f80f64ed5c8a55e22dba314ccf896434013cf SHA512 1578d01c09ab7ee97c92703f58bab4d0fa5b94dc09092f87059e5002f3e4efbe0b9e85483e8b0a350837825c8b16d3b15c2e75df020571740fab6f1978d69669
|
||||
DIST swipl-8.5.11.tar.gz 11480652 BLAKE2B eb812a272d3fbcb181c5cee0dd033f6b7ffdee467bf37c645a98a34ce455189ded7b7c678482e992918477160a6a585ea07dcc38a4aa123eb5f4e04a35dc20d0 SHA512 00387d25548198e0d738cc210a0769130a6ad6fb0596dec04539b1fb85ab8d660a73fec1fe5f5d01878b90e8736018dbb0c8cfd240e1d6b2b62c0bb892f0826c
|
||||
DIST swipl-8.5.12.tar.gz 11489072 BLAKE2B 1c8ce7a0386c20be8e2eeac9d31df5862adf78ce0341e31b1ebcc42a923403c28707da12b88ba0773f5ebfdd61efe5a8d38a99f8f20aa47672fd51cdc4fbfb8e SHA512 d530fb7048cd80fa0f07b7b026279915cbb58dd7b8199daafe13c22659c5ffeac62168bcc9208c7bbd72616f54d453f5161c1fc08bf5497ba87abc12e5e8e7df
|
||||
DIST swipl-9.1.2.tar.gz 11827220 BLAKE2B e4bf40d1b4d0c48af5e630728208ca849b9a3d0f4129c827b98cd8d666b934218bbbee4c357b67cdd72b9e15046b70a873ffd9e31eaacac620a9aba6a7aec7fd SHA512 d47375c21ed33a2822b9df294a709141fc2e1f0aa61a297bd51a504f6f7859a1deb0ea6705d30b6f8198c71f440b176c7259bd83bff1ac5393ced77fdfbf564a
|
||||
EBUILD swi-prolog-8.4.1.ebuild 3177 BLAKE2B 2c3984b0a9aff83643922c5d8ad4beaab21a6ddcf6cd4090e23ad4a770d104e6d3f2f75c9d4bf910e720e23eb5e1f73ae999c5dc7012c2b0ddd660171478f9c2 SHA512 488763c483a760a468319742bca8df6135dbb8f754176dfc21b337d051c48f42d7ceddb210bddaaa3a599d5b162a474694bfbb8a68f16d146496d1d087ec9c29
|
||||
EBUILD swi-prolog-8.4.2.ebuild 3250 BLAKE2B 7f9187ceaa1e9321b65451ccd79ca4840d9eeea297af79d8ddf8f1e54bd69a6abf37e9cda66ab991345d0c5802833a34f1381b7fc28f542645fa59854a71b489 SHA512 1863da90675ec911ae3a9c5d66d618a2aa12ea324d2e928873a313c8b2842330bf5657ab25fc74137af64826635fc2035ca1f0d565eb806ac6c37275c433d48c
|
||||
EBUILD swi-prolog-8.5.11.ebuild 3191 BLAKE2B 4a7e883cb444a54f71acd8fa37bdef88b900c0dcaa948a9429ea1d320cb650c1fa381a0780570f69e96eeb341f20d54ec4715700aa645255c5d140c6dcc798bd SHA512 efb05a84a5876bda9c55970f98b3a0195fa34a495e1c7b16d6058d18c9ac1091e01e975f0fc00d3416b84bcfdc086268e5e3c206fdbcf49e546a921bcbf47785
|
||||
EBUILD swi-prolog-8.5.12.ebuild 3249 BLAKE2B a0fee95fa73564d28ca8fdba9293ab89d6abb64c029f9166a181aee4c4adf0afba0bda99cac671b1b61c564f0cb4fac2cc8941010e38384cc63dfdef37fe82da SHA512 df2624efb0fc37a7a445860c62599bbc615eb4b3e90b172b0721985be178e851e0ff81ee0c8dd1adab061a122ab9bdd5408b0d5be13e821ca73e14bc1c5fd847
|
||||
MISC metadata.xml 420 BLAKE2B 9818164553dd7e47db556eebaa71cabc54621317465c3ef09a0fae22259c9d20bede548a61ffa383e9df8eaf6efa6b5ac800d49b1ee5cae3691d0112ed4a2a30 SHA512 6ce90a29c77852e822d5c35c4a1b0b4a093cb90070656b06b09337c57f00fb6ff42ae3c8178a22bee17ffcec8f40ea4ed6c9d0cecf4afe74e01b3389479fa4ff
|
||||
EBUILD swi-prolog-9.1.2.ebuild 3908 BLAKE2B a5675a9fc7e275280f914a5a32d88ac05308667a3fa683e19d12ebb0cb7060152a1142416a4851548c0c0b5894341116ec0010e9ec41b85f28eb7d8923b4fe63 SHA512 f2069e7488df16ec00b050f75b230611c6241068351ea32704d293bd989462f9649563e9834d6ce4ec17130fedbedaa84c049703c41335e31039125c6b55a597
|
||||
MISC metadata.xml 835 BLAKE2B 74eb565d22c6f7767dcb593fddff34fefff136f81558f674d62ce259d0988b15294c9947fff4b594e800108906a7f024c36c0b52d2ce090e86da0cb88cde163c SHA512 5f337a4020d75a08af811b76661c6e0206be0765f3a3a467947465217676665c5ba8f19d1914435d072e1d12383405801696342259984e2a0e72e80ad5073dd6
|
||||
|
@ -1,4 +1,5 @@
|
||||
AUX zig-0.10.0-avoid-cmake-bug.patch 2200 BLAKE2B 6c06d318f2da258f3c003c5d8eaf66261ec736cb4ea0a87f3b0ff3d7c350bd51523ba2f23ea2bccbaed237fe76dfd6e1b56b1741a5ac6ba3539f7551e2347f70 SHA512 8e5ff85b26fe3f5a19e73aa9ad8d9f6446f936e3c2157b50212218a77747913e1199c0b52181e884755a90dfa839b23f305da82edeba6e8d3ceaff1d20a16efd
|
||||
DIST zig-0.10.0.tar.xz 14530912 BLAKE2B 5949a44ee039b7d5a163344a0fc26af8dd9cf311ed25c7092a665bb59ec7dec8dc3cd39918d81ef02c707aa8989b038fb21dfba3927fd31153a1404739b4ea3c SHA512 9d83ce51cc0ce404c06da820179c1cc47aa50e573fb1c831a96baa12c6b5226abe85b384110f2ffc4cbdc5f24eaba1f14a4e3249ffeaa248c0d73ba29859e682
|
||||
EBUILD zig-0.10.0.ebuild 2797 BLAKE2B 30422ca28bc6bbd61ac5381e59189a96916acb6963670d8ffe0a12b64ace4be8a72a55ac11af485dbe7c806f81d1aaaa1febb6fafa6ffa24704d9301bab6f1c4 SHA512 98ff2f9be1c0eb3327e7645ff3c74d010b15f4ea315fcaeb5c5fc85de5c49d96b7dffa487d1f05be256cef0791c2fb8628788572f41dda70294e70cf68edc2b8
|
||||
EBUILD zig-0.10.0.ebuild 2852 BLAKE2B bc2bbb18252167fad93698a172e9ef8ebc386481bcc4d729b9b9769463bc56a9167f86abd715a9fe0da69227d763f9df16b7c173f04bb1d966e2c501b98f6543 SHA512 bf87ad4a824921573bb39d5849b22bc6b9a22e7e706743394b43f543462aca2d067343804d7daf70fe25b968751ed9f826e2823fa02494920af2ca58398c14c3
|
||||
EBUILD zig-9999.ebuild 1671 BLAKE2B b753bbd37c7f1f60bdb2bc8fe3914d21f5b30787768460b55bd9e1980dc4727eb4f71c63a03da17a8a98c681df5e33e311b48c9c42fde8ab1b43a3bc9b3f4f90 SHA512 2b4d5a8fdfe5eba60896915b81168d5eb0aa3bcf53d6df8326c593f275556cf8652c401f0780f977325e877d36aa9348a196168f3e2c3dc3af99a8f5a1b46301
|
||||
MISC metadata.xml 541 BLAKE2B 6f5c7fbf759f0430f69073a17a0dae4b8bebf335b54c3b43da6b24104dc3de05a3b686cddbbd31e4dae1fc31695a2f08d000d22437ed6f1847de8fa95e3b1952 SHA512 d49cf0a8ad76ac9a6f6fb091effddbbcd812b56f91df6d3c782e15197cb4ff4423fb1076671a232aabcb9833af19ef8c820ad6df312a1e4d72e665680314c083
|
||||
|
@ -0,0 +1,63 @@
|
||||
https://github.com/ziglang/zig/commit/fe2bd9dda8467b775da4fe3bd535aece9e07ee1b
|
||||
Bug https://bugs.gentoo.org/886569
|
||||
|
||||
From fe2bd9dda8467b775da4fe3bd535aece9e07ee1b Mon Sep 17 00:00:00 2001
|
||||
From: Eric Joldasov <bratishkaerik@getgoogleoff.me>
|
||||
Date: Wed, 4 Jan 2023 01:04:48 +0600
|
||||
Subject: [PATCH] cmake: move 'continue' statement to avoid cmake bug
|
||||
|
||||
---
|
||||
cmake/Findllvm.cmake | 32 +++++++++++---------------------
|
||||
1 file changed, 11 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/cmake/Findllvm.cmake b/cmake/Findllvm.cmake
|
||||
index 60a52056d8d..d8662034579 100644
|
||||
--- a/cmake/Findllvm.cmake
|
||||
+++ b/cmake/Findllvm.cmake
|
||||
@@ -79,7 +79,11 @@ if(ZIG_USE_LLVM_CONFIG)
|
||||
OUTPUT_VARIABLE LLVM_TARGETS_BUILT_SPACES
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
string(REPLACE " " ";" LLVM_TARGETS_BUILT "${LLVM_TARGETS_BUILT_SPACES}")
|
||||
- function(NEED_TARGET TARGET_NAME)
|
||||
+
|
||||
+ set(ZIG_LLVM_REQUIRED_TARGETS "AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore")
|
||||
+
|
||||
+ set(ZIG_LLVM_REQUIRED_TARGETS_ENABLED TRUE)
|
||||
+ foreach(TARGET_NAME IN LISTS ZIG_LLVM_REQUIRED_TARGETS)
|
||||
list (FIND LLVM_TARGETS_BUILT "${TARGET_NAME}" _index)
|
||||
if (${_index} EQUAL -1)
|
||||
# Save the error message, in case this is the last llvm-config we find
|
||||
@@ -87,27 +91,13 @@ if(ZIG_USE_LLVM_CONFIG)
|
||||
|
||||
# Ignore this directory and try the search again
|
||||
list(APPEND CMAKE_IGNORE_PATH "${LLVM_CONFIG_DIR}")
|
||||
- continue()
|
||||
+ set(ZIG_LLVM_REQUIRED_TARGETS_ENABLED FALSE)
|
||||
+ break()
|
||||
endif()
|
||||
- endfunction(NEED_TARGET)
|
||||
- NEED_TARGET("AArch64")
|
||||
- NEED_TARGET("AMDGPU")
|
||||
- NEED_TARGET("ARM")
|
||||
- NEED_TARGET("AVR")
|
||||
- NEED_TARGET("BPF")
|
||||
- NEED_TARGET("Hexagon")
|
||||
- NEED_TARGET("Lanai")
|
||||
- NEED_TARGET("Mips")
|
||||
- NEED_TARGET("MSP430")
|
||||
- NEED_TARGET("NVPTX")
|
||||
- NEED_TARGET("PowerPC")
|
||||
- NEED_TARGET("RISCV")
|
||||
- NEED_TARGET("Sparc")
|
||||
- NEED_TARGET("SystemZ")
|
||||
- NEED_TARGET("VE")
|
||||
- NEED_TARGET("WebAssembly")
|
||||
- NEED_TARGET("X86")
|
||||
- NEED_TARGET("XCore")
|
||||
+ endforeach()
|
||||
+ if (NOT ZIG_LLVM_REQUIRED_TARGETS_ENABLED)
|
||||
+ continue()
|
||||
+ endif()
|
||||
|
||||
# Got it!
|
||||
break()
|
Binary file not shown.
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OpenCL C library"
|
||||
HOMEPAGE="https://libclc.llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi"
|
||||
|
||||
LLVM_MAX_SLOT=16
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
(
|
||||
sys-devel/clang:16
|
||||
spirv? ( dev-util/spirv-llvm-translator:16 )
|
||||
)
|
||||
(
|
||||
sys-devel/clang:15
|
||||
spirv? ( dev-util/spirv-llvm-translator:15 )
|
||||
)
|
||||
(
|
||||
sys-devel/clang:14
|
||||
spirv? ( dev-util/spirv-llvm-translator:14 )
|
||||
)
|
||||
(
|
||||
sys-devel/clang:13
|
||||
spirv? ( dev-util/spirv-llvm-translator:13 )
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( libclc )
|
||||
llvm.org_set_globals
|
||||
|
||||
llvm_check_deps() {
|
||||
if use spirv; then
|
||||
has_version -b "dev-util/spirv-llvm-translator:${LLVM_SLOT}" ||
|
||||
return 1
|
||||
fi
|
||||
has_version -b "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libclc_targets=()
|
||||
|
||||
use spirv && libclc_targets+=(
|
||||
"spirv-mesa3d-"
|
||||
"spirv64-mesa3d-"
|
||||
)
|
||||
use video_cards_nvidia && libclc_targets+=(
|
||||
"nvptx--"
|
||||
"nvptx64--"
|
||||
"nvptx--nvidiacl"
|
||||
"nvptx64--nvidiacl"
|
||||
)
|
||||
use video_cards_r600 && libclc_targets+=(
|
||||
"r600--"
|
||||
)
|
||||
use video_cards_radeonsi && libclc_targets+=(
|
||||
"amdgcn--"
|
||||
"amdgcn-mesa-mesa3d"
|
||||
"amdgcn--amdhsa"
|
||||
)
|
||||
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
|
||||
|
||||
libclc_targets=${libclc_targets[*]}
|
||||
local mycmakeargs=(
|
||||
-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST miniaudio-0.11.11.tar.gz 1419564 BLAKE2B 63f23637b2a53e5438695b71d60b76ca16fdb63e08fbf17df7701e4c20aaffa7f635368e6bc21e2564da52b3f51127e76145ed8b7492b6f3f8f0b493dd459f05 SHA512 396608d8326777adfffb50216322198b9f86d73c6a83c5886dc9eaef93b82a4e8f44f446192990b7b9fabac53fad073546214692a000415307e70812a50fb0c2
|
||||
EBUILD miniaudio-0.11.11.ebuild 505 BLAKE2B 6ffe9aa635e284a0c8b3bbad2972637b7211bede38e3d658819e506237233207a545f3afc458700599e08633facd2dee077cbeab52b87a9f1406917165955f35 SHA512 08165a34943e7f57f7ecc35a440c34088f6430929e321069953011871bdcca9ee9ecc5184818c9b4c1d70f3d6c46e0e6d55fa062143e3f3246b514fc26a8f713
|
||||
MISC metadata.xml 465 BLAKE2B 8aa6ef99bd949c038385c1e8a031cd0cc6c47981b91107d686545b508bc5c7cc7e121e152cf24c8ff88cc06355b958cba392bf651b5f124faaa851e469018a8b SHA512 95913d127844a0cc7ac6a72a77475bac7aaacb307b4f5bd452ccb3045c05483761427309f56770f8e7732d6d726180444f29df7409d85597531371b37579a55c
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>misanthropos@gmx.net</email>
|
||||
<name>Richard Fröhning</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jmackron/miniaudio</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="a0dc1037f99a643ff5fad7272cd3d6461f2d63fa"
|
||||
DESCRIPTION="A single file library for audio playback and capture"
|
||||
HOMEPAGE="https://miniaudio.io"
|
||||
SRC_URI="https://github.com/mackron/miniaudio/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="|| ( public-domain MIT-0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include/${PN}/
|
||||
doins -r *
|
||||
}
|
Binary file not shown.
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit cmake llvm llvm.org python-any-r1
|
||||
|
||||
DESCRIPTION="OCaml bindings for LLVM"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS=""
|
||||
IUSE="debug test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.00.0:0=
|
||||
dev-ml/ocaml-ctypes:=
|
||||
~sys-devel/llvm-${PV}:=[debug?]
|
||||
!sys-devel/llvm[ocaml(-)]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
dev-ml/findlib
|
||||
>=dev-util/cmake-3.16
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( llvm cmake third-party )
|
||||
LLVM_USE_TARGETS=llvm
|
||||
llvm.org_set_globals
|
||||
|
||||
pkg_setup() {
|
||||
LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local libdir=$(get_libdir)
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
|
||||
-DLLVM_BUILD_TESTS=$(usex test)
|
||||
|
||||
# disable various irrelevant deps and settings
|
||||
-DLLVM_ENABLE_FFI=OFF
|
||||
-DLLVM_ENABLE_TERMINFO=OFF
|
||||
-DHAVE_HISTEDIT_H=NO
|
||||
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
|
||||
-DLLVM_ENABLE_EH=ON
|
||||
-DLLVM_ENABLE_RTTI=ON
|
||||
|
||||
-DLLVM_HOST_TRIPLE="${CHOST}"
|
||||
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
|
||||
# TODO: ocamldoc
|
||||
)
|
||||
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
# also: custom rules for OCaml do not work for CPPFLAGS
|
||||
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
|
||||
cmake_src_configure
|
||||
|
||||
local llvm_libdir=$(llvm-config --libdir)
|
||||
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
|
||||
cd "${BUILD_DIR}/${libdir}" || die
|
||||
ln -s "${llvm_libdir}"/*.so . || die
|
||||
|
||||
if use test; then
|
||||
local llvm_bindir=$(llvm-config --bindir)
|
||||
# Force using system-installed tools.
|
||||
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
|
||||
"${BUILD_DIR}"/test/lit.site.cfg.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_build ocaml_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# respect TMPDIR!
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-llvm-bindings-ocaml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
|
||||
|
||||
dodoc bindings/ocaml/README.txt
|
||||
}
|
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit llvm.org python-r1
|
||||
|
||||
DESCRIPTION="Python bindings for sys-devel/clang"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# The module is opening libclang.so directly, and doing some blasphemy
|
||||
# on top of it.
|
||||
DEPEND="
|
||||
>=sys-devel/clang-${PV}:*
|
||||
!sys-devel/llvm:0[clang(-),python(-)]
|
||||
!sys-devel/clang:0[python(-)]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
test? (
|
||||
sys-devel/clang:${LLVM_MAJOR}
|
||||
)
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( clang/bindings/python )
|
||||
llvm.org_set_globals
|
||||
|
||||
python_test() {
|
||||
# tests rely on results from a specific clang version, so override
|
||||
# the search path
|
||||
local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir)
|
||||
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl python_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl python_domodule clang
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST comm-0.1.0.tar.gz 5364 BLAKE2B 25715bce2ca51ef81de742ab04dd17120cab1f2f6d563ef566bbefda71daeafe5c2361a56944329d7549610c8c8fbe84100dc5e85f550eb93056d81eb7081f28 SHA512 075c1c1126d4de4321470de4e5cce5b6c9bcbe3f3cc1676f80a464bd559977816d92ce609b58884a195699e1f1713f535045f6070ecf2726e47ff61feedc66f0
|
||||
DIST comm-0.1.1.gh.tar.gz 5382 BLAKE2B 8749ae33ecead77c1e3e0130c7d68082ac465fb733ad0908cf42a91d5a1aeca90c987fc469bcf47b5a384e108bafadbe009368162507c8a751b9e16eb5bbc2b0 SHA512 31ce4a1f1f35a3e1790e5a9896fd3f453a952c5fb0de094286bb31b806138a6661b143c1beb076b6fb73328304768e52c0ae6015f040b0451540a2d850f9d448
|
||||
DIST comm-0.1.2.gh.tar.gz 5382 BLAKE2B 698cd4823c86d5e589c6bfa1e99d534fc05c34d9c12ea417c0702f6e5b1397db9e334a78fcc445e59b55e4693e5460cb980357c7e299f01db8df3d0bdb2b6ddc SHA512 9cec9909676edc0c8abf41e6d90f83a6ebfa88266023b3b5fd9c1ffe3fe16ba324b68ab92e788bfa01d5304d5de6e6dc96c7238973f3b39f8c77fa5165df8379
|
||||
EBUILD comm-0.1.0.ebuild 568 BLAKE2B ce67afca071ce2bdc0280c5c915b2a0344b5129b2570d37f2b1d405f9bd5b25bd2afea3b8fc0de604348b5f9b6083e507b8b96dfff3d2ad355f7ab7bd4dfeb2a SHA512 796b9dabac4f7fd608ac9f6f533f1824931f3661c2b642ebe2f521ff0e0744ce83aeb636192c4e36af65bfc364cd770f5ce575b90362d40a3956dab372e0fd4a
|
||||
EBUILD comm-0.1.1.ebuild 638 BLAKE2B 804765b915bde00685f7c9704cdcbac11c62040315c2aec62226a7104d7b99d77daa00a69243025afad0b58e26be4791fb09f28ac123a617cd14560797a7ecda SHA512 4995e8d7422c794fde87d8c08e34b9bc66aeae0d6f8bc8f565ef38a35c498c8ec19ed393757eb33ffaed37c13f6d348a6f7546757d9d1e3b4199ddab518a5dfd
|
||||
EBUILD comm-0.1.2.ebuild 644 BLAKE2B 583e6611e7de9bfd90df661f3c7e42be6ac9883bcea47aa3326dcae6c20378661146a5470c8873589231687a96956891c05e3e8d4b8a5003e4e40e0f8f2489d2 SHA512 2818c3ce91902a6f503d74c0fa3edad08d5d4aa93c103a68e090938d4bc7372d920a4a21e04271139b5e87b23efad3051e2f7003c9036d2eba04ffc8147d5802
|
||||
MISC metadata.xml 384 BLAKE2B c122aaf6c2b9e6776b19efa2549030f0267c1d553f92862c5ecf21926f30a9c3cd7564434a573cca6fdbb85485eb49213b4d95100e8de2a29ced9c9c1fa81153 SHA512 b06853ad3cb1775ad70e44c48bca74bcf85c11715291974e7e3ee496344256fc57b91920812f19809e7cf14f6a7f7938531934d6a12740baec0dd984d5d48632
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Jupyter Python Comm implementation, for usage in ipykernel, xeus-python"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/comm/
|
||||
https://github.com/ipython/comm
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc"
|
||||
|
||||
RDEPEND="
|
||||
>dev-python/traitlets-5.3[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,29 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Jupyter Python Comm implementation, for usage in ipykernel, xeus-python"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/comm/
|
||||
https://github.com/ipython/comm/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/ipython/comm/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>dev-python/traitlets-5.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
PYTHON_REQ_USE='sqlite?,threads(+)'
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
||||
|
||||
DESCRIPTION="High-level Python web framework"
|
||||
HOMEPAGE="
|
||||
https://www.djangoproject.com/
|
||||
https://github.com/django/django/
|
||||
https://pypi.org/project/Django/
|
||||
"
|
||||
SRC_URI="
|
||||
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${P^}.tar.gz
|
||||
verify-sig? ( https://media.djangoproject.com/pgp/${P^}.checksum.txt )
|
||||
"
|
||||
S="${WORKDIR}/${P^}"
|
||||
|
||||
LICENSE="BSD"
|
||||
# admin fonts: Roboto (media-fonts/roboto)
|
||||
LICENSE+=" Apache-2.0"
|
||||
# admin icons, jquery, xregexp.js
|
||||
LICENSE+=" MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
|
||||
IUSE="doc sqlite test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/asgiref-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/asgiref-3.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
||||
' 3.8)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
${RDEPEND}
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/selenium[${PYTHON_USEDEP}]
|
||||
dev-python/tblib[${PYTHON_USEDEP}]
|
||||
sys-devel/gettext
|
||||
!!<dev-python/ipython-7.21.0-r1
|
||||
!!=dev-python/ipython-7.22.0-r0
|
||||
)
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.0-bashcomp.patch
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs --no-autodoc
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
cd "${DISTDIR}" || die
|
||||
verify-sig_verify_signed_checksums \
|
||||
"${P^}.checksum.txt" sha256 "${P^}.tar.gz"
|
||||
cd "${WORKDIR}" || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests have non-standard assumptions about PYTHONPATH,
|
||||
# and don't work with ${BUILD_DIR}/lib.
|
||||
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp extras/django_bash_completion ${PN}-admin
|
||||
bashcomp_alias ${PN}-admin django-admin.py
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature_header "Additional Backend support can be enabled via:"
|
||||
optfeature "MySQL backend support" dev-python/mysqlclient
|
||||
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
||||
optfeature_header
|
||||
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
||||
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
||||
optfeature "ImageField Support" dev-python/pillow
|
||||
optfeature "Password encryption" dev-python/bcrypt
|
||||
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST docstring-to-markdown-0.10.gh.tar.gz 24732 BLAKE2B 8e45db90642a1426da138807d4f8b8147fbf125160463a094f5adfc8e0d76f75b39493560df7cadf39e9b63c1e01763867fff38aac6454d4d7bc7ebea8d873f8 SHA512 cb716fbaa8311bd563f9275eb64bb67d2870803a6c6c6ffce7b15b672260b46359008dc9ff80a99fee3033f3105fdfd77d7a248e7d8a22df695af820eba8e319
|
||||
DIST docstring-to-markdown-0.11.gh.tar.gz 25349 BLAKE2B ea5c5d568146422826075bddc1acfe64ebe9d8c2a1631aae2afc50e99e380b038becc8f589097b329c80287fb2308dc3ce4c898252eb45086a893c74fa7a7aeb SHA512 6f593628f1dc49897359f7366ee7cb380e5f5e68f6cefd16f349eb470df62804c8f20d679484b987dbb33155e2c97ee98c6759e17ebb1ca38499ea5e984baede
|
||||
EBUILD docstring-to-markdown-0.10.ebuild 695 BLAKE2B b90fb8c9a6e7e7ccb67074e3009cf6688fcdb738d34d64a9a07cdd5a7ff9bf19ce7b934909a957c80d84aff41fbe7a6f35c15410dc6f655b74f79c56f78bba94 SHA512 8f2bae2d8f72a13938e98a55d1e16533809bed7e29c6fa976c85249b6bb15bc1c28159ee0de8ab336de13513b291d341eb902a1f3210fffa8724721090450056
|
||||
EBUILD docstring-to-markdown-0.11.ebuild 700 BLAKE2B 89086cd58fa7e86cc1b369b1b0db5d01ed69a25df53e10a6a339d56fc9393ece4bcdff9ef630879afe7c46ba3a3f629ec1cd3faf3d41a94fafc029ef513df1e8 SHA512 e4c9e46a3d05839c72b2f34297d9b246f7603433bbdb3e969bb7eaece8886f3b164b1b55181774d6253da9cb5d340e4ba7c1047dd38792975f7fc11a0354d1db
|
||||
MISC metadata.xml 421 BLAKE2B a6bf8b83336e2e1b67af703c3ddc6d68a5ce94a3477902a9f6d7d35f8a5635cad265365820548959ccf861a14c1c24d5bb2fd934a6fc297ca20182b5686c3ec5 SHA512 952b36476833618a51a6c05181213fb8598237157e887fb81369084db327fc360e827ff2393e00f99141efa2256ea0701ca17005ddd337661a6d9e8f81fd3494
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="On the fly conversion of Python docstrings to markdown"
|
||||
HOMEPAGE="https://github.com/python-lsp/docstring-to-markdown"
|
||||
SRC_URI="https://github.com/python-lsp/docstring-to-markdown/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Do not depend on pytest-cov/pytest-flake8
|
||||
sed -e '/--cov/d' -e '/--flake8/d' -i setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue