parent
3fc6f2a0a7
commit
31cd44a616
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29586 BLAKE2B 439f5c74b739449e24214e9051e27aaf22eeea9bcdfafd75f6a75296ed0925a82481327f329efeca774fb0b079ca2b353d01e93af6541e4fbb96925a4a2bd304 SHA512 db4bf6b94b0f6f33258a20e9ed43800be5322e9c38a23e5cbda7a3c1cfab0be18524649a1cb32ac3614ab4305bbbad70e7bc6d1b8b52c92bef10335cb39c0f5f
|
||||
TIMESTAMP 2022-03-21T06:09:13Z
|
||||
MANIFEST Manifest.files.gz 29595 BLAKE2B 3942ee7b5b300c7fac86d24f248a12780bd107780bf1893332fe94bf050150673d3d0660ae3179abec3ebe6e3bdd40825382b08d3ff12d89246e5ed5daee3cf3 SHA512 a7367016cc3174a41cee2a742aa082ecd758805d698c8b5b291e7faf68f698c01bfbe2fb2c7a1fcc23a2762a781a56d245d7bc1f821a63f31aac596d513a86c2
|
||||
TIMESTAMP 2022-03-22T07:09:12Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmI4FolfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmI5dhhfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBqzA//U4OSqJ/iFxD9I+U8NuvsXA9RgRY4paefib77IyI6cG5ceUQ/xeTo0a/w
|
||||
LqhyG0CShyYqpUfbIzwNMBEKC/iOxqNBV/nMlhSkr7XnBYrX0Z/0daTpWR+noxNK
|
||||
UtPEyJxqZgbjL26u/bGWVjwKaSOxHEbQ7rG7Dbl0Nag1H5HDSVj7KGQ1qhwZWFkL
|
||||
t2PNqgMkHEpwcpYF/Bj/L0Kz+83iOrw6jINXKDDycQVI8aprr/SDmQB28IpWYgvL
|
||||
V3ZOkfj8K36ZwO4Rh10HEAgAsMq2zSsDPloEiFVgqjV9nXcR09JjhbWpx0zRrPrF
|
||||
+5LBq+6R9WaEBKq3nVSr24idv7exEHIb4bSPLz4pMSmWy0BATl3ZYJgdMRPNi/tH
|
||||
42bPN/vzjfJRLwy5Ezgc2xgEOsFa/TDZXyiWw7k94YMHGmNDpwutnkY9apV6yAew
|
||||
Q9bXGW2pcaHuWwjAkJazjqnRPrx5wnB0568mVNGOMNxfehN3dWNCrfspriZ6OBe8
|
||||
PUKFYvNi2Rc4/iH0oIoZyVaFA/i+pyfw2NLcsTdPZkTBZK5Kavs9hqLGwbJXm5mb
|
||||
lJcGp3fdd8R4+Jr3WeUvw+yQCHJBbAyFJrjsUqvfx/dbrHPIpUWTTvh5SYJiZxIW
|
||||
iCn3mLpZHo99NlsfolMKxlwSO6cFFQHyDwqodnKeSByO5HXpDVs=
|
||||
=BzZK
|
||||
klDUjxAAoD8r8bBeEG93HBLe7ejNADMoGmzlgHleiA68Rq8iq4soLRSbLGDPplNs
|
||||
FO/Cq2ZeeyahJrHZ9bkeU8QN8Qjhbquc7u0tBWGCA3TGKzYPfSALAMw5jiKFfMIS
|
||||
P69cUEF/eWd8Rp1u+JnnUlQ0Q5nsQJx9G4Cu3TqNrLKSfTLbSaWvK/6vk484A93m
|
||||
CtY0dSv4fnrtDm90jDVM42hSFDB16MS5rswfAf7qbeFnNcegpbpbvAjHlp4kBkZa
|
||||
wpPVzL/b/ziQevwiHDKyJMZYcVrOUfULkxBpguLOjn2EkrH7yzOUYx/oMeZ77M0P
|
||||
spo+9LcbBJlD44CJUN+ERAA6tg1uBt6wTy1NSHKPtnGZ3zesKOpIHJpGqCbcjNP0
|
||||
meMHiL5v/Er93JlnPUZPvpXcitIiZT+9dHGcbvkydisqYiJWyKVKlFc+evaIVSYR
|
||||
P7Hyb8lrHG967sMZgLEwZgGAl8x4z70zjbAYr8wnMVohsz+4hiaar9p8x+7WuFZu
|
||||
TeOMrYEweluSKY+vozdKUX5ApwWpdD6PQjbH8/lSBMK49QeLkxKLoBoK+A6X+b4l
|
||||
l9GA8uChjJqN0R6HlduNgDUzmRj11oU2LaM2LYkDO9INKHFg2ZS+Edw5JfWuajm6
|
||||
ALl+5Y/KmtqwGM/mJl66W4ceykSH9XVN25XneZTX9kCQxpaI9ho=
|
||||
=bp5O
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
AUX 2.44.0-Fix-build-with-X11-disabled.patch 1374 BLAKE2B 70c2b51dddc55c537b9e8f95d651b7148f94ac737b0f42a1c8ca8a00a8e4ade80d3f390fe3bccc6df04ce86e2730d6fb38cbbd4b37c197498f709074b8d576a0 SHA512 789a4c191428b74ca488dcfa2f6304d4388ad0ea910f045d58ce832689d94f03ba40fc961ea1695ef6528886789409023e4cf497524c3c370feb5cae82c5cfd5
|
||||
AUX at-spi2-core-2.0.2-disable-teamspaces-test.patch 302 BLAKE2B 4165c68b7e8d9835273a55f6bd7a05435a4b3982399871563da7ed1b37444377718a4e31766529dfdd320bf9e2cfb89fc9aad98b7e757c633cfbc1dfaf61487e SHA512 866a2e372999491a74aa3bd230e666151b8fbf74554f70b7ff01891c62a6b2e87459107d885340076c049ebba656e399cb13ea6cb93af88552a328e17b4f8753
|
||||
AUX at-spi2-core-2.42.0-fix-disabling-x11.patch 1017 BLAKE2B 7db683a92ff8587444a34a6c4ad12be8e8a31b26128c843f6c89fa42b1604d55e25a72855272930082c3a1ca2b73f2d3a51ae5274770aa0cc0c530f691e062be SHA512 22ff6474e7fdcee3e00c979e56d23b40f8625236f0cc885171ded9434af6ea12900d29577fbdf08cd655919b9b623c172bca4dada7f2b9d15a57c900b326c333
|
||||
DIST at-spi2-core-2.42.0.tar.xz 198016 BLAKE2B 9b14d7d0f5845c7510f7b256a05f5e30c3d3d893a9ae63eee81b3d378dfa9f6ebaa9853f60b23734929692efc4b8c652d4bd7bd035bd989fe0006975bdbea427 SHA512 befcab94b3aa99471723238d9666fc6667041b058a2bac3b012cfa15a91950996431296f33c921764e0ec4ffd0cc41ebe00be461a8460d6f4d2bafff19a38e10
|
||||
DIST at-spi2-core-2.44.0.tar.xz 209692 BLAKE2B 149251ba4061f5dbfac1e27775491bb6d7cee279cb7bd58c05f97cdec8a4e0208e5a129651a07c9febea681cc3fe36a7d7fa57c43c2b558249cdd321466729dd SHA512 6d74a56d7ad6c643985e98aebbbf0cdaad69c03b8030f8968bd9cce9357805cd846d71d35d2cc4a193770cd6d4a83cbfb98ef082e17719f3dee7b839c48bda44
|
||||
EBUILD at-spi2-core-2.42.0.ebuild 1510 BLAKE2B f9ccee7e9bf28fc0c9865284cdf2fd76215d6cc90a7130c17ee21eb67d56998594a130530a467758ccf095c2de5ed560e1686ea1751b8b22f73040fc173c6ea8 SHA512 d4da094c2b88c0eb26a41c89bde4be1793888a50cb43c88dd4801bca5c02d24e744d19ce73f5c3dab5f07b15d6426a85c2f8530068f05acc46899dfb39d776fe
|
||||
EBUILD at-spi2-core-2.44.0.ebuild 1465 BLAKE2B 74255d325bbac9c6d4e7800178b2a7b519a7272d3dab8c1740a85c26f221374cd872a06d2ab515a30add7b31e321493fe4ab820645790f100db3d99e153db94f SHA512 36d7fd8b245dd5e5c410cf19eb69d248357deddc051da3280007880c631357236ecf1c0488618e2ef6054fda67db30c20582e917008ed9a6668dcf148f428d72
|
||||
EBUILD at-spi2-core-2.44.0.ebuild 1520 BLAKE2B e43adcb6ff0f55e4ea43f2a87a442e108b4e144d3fc1b2ce7da3872d6b6606f92fbd5f202a7af005033985fd60abb1c67dd9a3626b25c957d1ea66f1c792b2ea SHA512 ea203e37cebb4d89c9bc4f5b23085ac4c275368ba62f69350b5a4d6936d4dfa3e17256d83779d5652b06de0b7c93f13d50f03cba2a34ca4f593d9e65229bc09a
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
||||
|
@ -0,0 +1,38 @@
|
||||
From 08036a4c4491eea57d7b713bb4440f541584204b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gorse <mgorse@suse.com>
|
||||
Date: Mon, 21 Mar 2022 10:19:03 -0500
|
||||
Subject: [PATCH] Fix build with X11 disabled
|
||||
|
||||
Closes #51
|
||||
---
|
||||
registryd/deviceeventcontroller.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/registryd/deviceeventcontroller.c b/registryd/deviceeventcontroller.c
|
||||
index 8a321adc..3068ec4b 100644
|
||||
--- a/registryd/deviceeventcontroller.c
|
||||
+++ b/registryd/deviceeventcontroller.c
|
||||
@@ -1720,16 +1720,16 @@ spi_dec_synth_keysym (SpiDEController *controller, long keysym)
|
||||
if (synth_mods != modifiers) {
|
||||
lock_mods = synth_mods & ~modifiers;
|
||||
spi_dec_plat_lock_modifiers (controller, lock_mods);
|
||||
- if (modifiers & LockMask)
|
||||
- spi_dec_plat_unlock_modifiers (controller, LockMask);
|
||||
+ if (modifiers & SPI_KEYMASK_SHIFTLOCK)
|
||||
+ spi_dec_plat_unlock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
|
||||
}
|
||||
spi_dec_plat_synth_keycode_press (controller, key_synth_code);
|
||||
spi_dec_plat_synth_keycode_release (controller, key_synth_code);
|
||||
|
||||
if (synth_mods != modifiers) {
|
||||
spi_dec_plat_unlock_modifiers (controller, lock_mods);
|
||||
- if (modifiers & LockMask)
|
||||
- spi_dec_plat_lock_modifiers (controller, LockMask);
|
||||
+ if (modifiers & SPI_KEYMASK_SHIFTLOCK)
|
||||
+ spi_dec_plat_lock_modifiers (controller, SPI_KEYMASK_SHIFTLOCK);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
--
|
||||
2.34.1
|
||||
|
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# 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..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# awscli 1.22.55 → botocore 1.24.0
|
||||
# so botocore is x.(y+2).(z-55)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST exo-1.51.1.tar.gz 5592624 BLAKE2B d50b182bcaf0ef29557e5582dbebab491b5a24b416f634dc37853685590f7f15a6dd48112dc7584eef3574f8efbab5c6448c4fa71e58b1d2f32b4a020b36cd42 SHA512 9d9328c954604088d50bc283983eb4deb865bd47e8d1e66b66cdbcdac72b271fdaab2fcf5f0e434b25e8acbadc09712cba08dcfe59ef9ff91285dbf942b78262
|
||||
EBUILD exo-1.51.1.ebuild 703 BLAKE2B fbee615ad22bcdc4efdce1344136056d3366c31ff1240c3c86b1fff39787b18f99f896d455ebde5cc4c2bee05e28cbaf216d1ab973b5f100d4a9957c8989ee65 SHA512 21b1e8bb20a9db8f635374ff64e9724679188cd356f975818e2390d3f369f2ff8886710d9c202cb4e72df39ba900948a392c6da296f95dc18344492d86e56d98
|
||||
DIST exo-1.52.0.tar.gz 5593768 BLAKE2B e1299a57bfe06050d06d735a6d351a3d913260e0b5fc0183ac9a4cd53ba0d50a39e3e5d796484dcc560d6b8c68ab32420da3d269c48a0a4c6b251b9469fa1950 SHA512 6e18204c9485ce538448a8f000b3c9eea58ae35141cdfed4f9a1671567a58965b907e18efa62524de62d111c5fe0a24ea7b196d20fce5d17ecb9c60fcb757b80
|
||||
EBUILD exo-1.52.0.ebuild 703 BLAKE2B fbee615ad22bcdc4efdce1344136056d3366c31ff1240c3c86b1fff39787b18f99f896d455ebde5cc4c2bee05e28cbaf216d1ab973b5f100d4a9957c8989ee65 SHA512 21b1e8bb20a9db8f635374ff64e9724679188cd356f975818e2390d3f369f2ff8886710d9c202cb4e72df39ba900948a392c6da296f95dc18344492d86e56d98
|
||||
MISC metadata.xml 334 BLAKE2B 230d1a47a3e39f796c16a9e9a622fbc27560c951da0c49adf7aca135970c0c944f42da7eb624c7193d44830c72cf95da9d69d977562853de6a00fd8fb6408977 SHA512 cd1366d99abc260c6f2899000e2a517be9a4c43e921078764fdc996871df34c1827e512087c3eb6f95bf3b685c2f34cbc1f1462eaa303a948640a362b4501b01
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST keepassxc-2.6.6-src.tar.xz 7640532 BLAKE2B ed55dfe992c02e78354d7aeb9f63853380dbcdec0e834232997cb6f5ecc303ff18ed50dcc48f54497031d6fc8b741c620202e78c3eacbe50d4dcfa7e4d59a92c SHA512 175702ef3ae5b048ba23a794ddf4e17d61f2640955de7ec21a3e49e4abe7cab8c93c9a2bc61c5c052c62382a69bd8dcb4a4f0cf6daa162f5e00cff3f7a1a713b
|
||||
DIST keepassxc-2.7.0_beta1.tar.gz 10634757 BLAKE2B 3ec079dacbf6f13f60ac68084d167e90f213894f3141a55962720646673de0bf466c81493a4f449b4871298d8067b1971e7e25477b7cbecb47a277e5594b425e SHA512 b1fbdf5afea1514a8e42338ea26077b0a6d3088674baf1761e8ac0060ffd5c14da6f7bf11d31cd04f90d02c30e6db39e559c2995863cb3f563d7e6894f7680a9
|
||||
DIST keepassxc-2.7.0-src.tar.xz 8846780 BLAKE2B 74c4e9c6d06239950f1b8a64c5bce894799fdd73a562ee22d1189c60dedfff3555132c0619488e0682e94de8759e096627520b96d664f472645e4b6375d68ff9 SHA512 0fc436ae5fb8fb82765a0c2df20c9567b1baf6aceff1e08c843a151ddcc0920d4cb2d416aebd89bdd8f1b53efb0a4ad0f579955c6943ee66c20b0becbb978e12
|
||||
EBUILD keepassxc-2.6.6.ebuild 2310 BLAKE2B befacb8a5edf657b7dc182b4c1b5580a30e037342d590df9ba4450d2344c0a208ba09b59047880638cbc8c68f4bdd5653cfba873e6682949f967c40d545952fd SHA512 6f5d85aa92508284a335374c4b4c190104e4e70c4c4c228f7015e0c15efdb28931f2d97748ed30edd7fc09d65a0017cef2cb5bd28731cc3cace80dfc2b01db4f
|
||||
EBUILD keepassxc-2.6.9999.ebuild 2414 BLAKE2B d25231ddef6df71cf2574b46b8c902ba89ad046144a26d011dd3c26ba5061b5e474f80e00d0370fc04bc86e448a377c4dfd1f99535b6e29894b7d951e4a8ed53 SHA512 f3accbf2750712fb4302e7fbd792680b3d3a7094975a56e10bdc205089e8d90520cbc9b29b1cab82196abff1ccd94101d7f49f7ba49ea6ab7cef1fb74b091a33
|
||||
EBUILD keepassxc-2.7.0_beta1.ebuild 2267 BLAKE2B f8398a4b3508d94cd391d401e7fd4f78999e729329859f90d4ecbec7ebf80960e5b3e92d37d4aa6f0c4b0a751e44b9d0acc67888541bb6e22e3e5187ddfeb2aa SHA512 c42dd509dbab70047c1ef710c0abbfd93359ba1d5ec030f077d787db44f913358a5111b0c096bfd562dd7a0d33e8eb6c34a3629e2b90e6433324ea7a737e06f1
|
||||
EBUILD keepassxc-2.7.0.ebuild 2267 BLAKE2B f8398a4b3508d94cd391d401e7fd4f78999e729329859f90d4ecbec7ebf80960e5b3e92d37d4aa6f0c4b0a751e44b9d0acc67888541bb6e22e3e5187ddfeb2aa SHA512 c42dd509dbab70047c1ef710c0abbfd93359ba1d5ec030f077d787db44f913358a5111b0c096bfd562dd7a0d33e8eb6c34a3629e2b90e6433324ea7a737e06f1
|
||||
EBUILD keepassxc-9999.ebuild 2267 BLAKE2B f8398a4b3508d94cd391d401e7fd4f78999e729329859f90d4ecbec7ebf80960e5b3e92d37d4aa6f0c4b0a751e44b9d0acc67888541bb6e22e3e5187ddfeb2aa SHA512 c42dd509dbab70047c1ef710c0abbfd93359ba1d5ec030f077d787db44f913358a5111b0c096bfd562dd7a0d33e8eb6c34a3629e2b90e6433324ea7a737e06f1
|
||||
MISC metadata.xml 1042 BLAKE2B 2fd425f8c61e45707a1f1c18a3ee5db9b902eaeb347ced5302495d92e82495fa5f87d73400ee849e5b97302d02faeeeb91f403646132c5e8b0206af04385af56 SHA512 d59770092ee152198e217f12207a257a58cfc5dd794170bbd8fb7f3ad6ed644714285874ecd70c77389bba95f4587e70dbb2a120067631d33acebb75f3f2f352
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST yadm-2.4.0.tar.gz 96877 BLAKE2B 462a5816e106c4502007ff34ab338904e14a9851ebcfc7ff79a32a8b11fbbe3e0b7e6538ed6b489ab67e2205c84b2250749e3091c77fa663886dc9792078a576 SHA512 43e16a9502f9dd9f6c6dba3bb5403bb048244a406d44cb42a96a43e62bf7342efd5f302304dbedede61423546787fc929f378d68da9031207e70239ec4e265ce
|
||||
DIST yadm-3.1.1.tar.gz 106890 BLAKE2B c85bfdaf15da8e88aea8e1b41af5396111fe95922f38c9709d09d76b6cb515d4aff99f0caaa225baf36bc408f6efe7f53e7b2febd45c78acf2b5f3c897b87290 SHA512 6be40ff6b1130be93649bb533d63ddc2dad626bb3022392863b600b31eef2529df443a9eb24915979bef2d1ea4ef04124668723ffb0ce0f86727f481a3997c74
|
||||
DIST yadm-3.2.1.tar.gz 109838 BLAKE2B 4e0b829ca6f74c1300b78831d64fd95250bcea7779cca672707751e38129a7e618e8a69b2f3862ac6e87cb086de09380e4e624d54c4672c125d16ea8cc3ea11c SHA512 8ce9bc66a33fc3841e47293e002b834fac5760dc771ede37adfc47a9e911ddade23c0ef5379cf8f00cf9b24853abbc1263198b8439ca4e8a3acd5787fbd935cb
|
||||
EBUILD yadm-2.4.0.ebuild 1566 BLAKE2B ee2b55e4039b9d3718ecc08dc23b393a8999369fab0c5bc01c279a54de2922a1c79215dea8f05d95735a6e19f98b30e4fdf476afa2c8c26e4f2d784c944efa0e SHA512 833c8a2822ad71029bfce0d36b500d0f278ad831785465193b2abf3b3ee293a9674002dbb8483449d2bae28dd3dd27e40b16ecf3624af23aa420b8373c7e3223
|
||||
EBUILD yadm-3.1.1.ebuild 2147 BLAKE2B c41819203892ca9a8e4d917a764467e726ce7b744fcce2ae88c0954e92d6db865e6b554c188cdf5954afa58098b0827db2197a810306bf8536d4c685868d4458 SHA512 9802bec047a4790a250585fb660ae7481bb0fc5e5a09f7495977d6d06572ae08b3242f6678ef082a1d8c499c066008660d4e4b59fd86dca48417178e8715afcb
|
||||
EBUILD yadm-3.2.1.ebuild 2201 BLAKE2B a7d1f048a203565d09167eeee008fccbba8172dd946f89d9dbd496d0c179dad49c811e718ee8cef0efe5b433101782c290aa5d25ec69d3d08552e9f94ab2dfa0 SHA512 600fbe8c09d87a964db7e29f5e07f0f0f962b99806543b9bbff9a401631d97dffba7f09bca2cd704aeee072ff4493ca0a69bf40fb4166953ade8b751f057a4ed
|
||||
MISC metadata.xml 826 BLAKE2B 79c41680142d275a20557b3a0aca5f664542f45a34f3a09c42ab7dc15cec352462521b94f2c647b09e3801883c4a8c37d14b2d71e75fe12e16c7346cc7fb733e SHA512 d3d6100185add752cd59346eb6c6c4ee0026a6f409d63ae37ca58b9e7396b5be76794a341846d898a3c1724967e71097ff30ee331c4d0640ed0de8430ab177e9
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 python-any-r1 python-utils-r1
|
||||
|
||||
DESCRIPTION="Git based tool for managing dotfiles"
|
||||
HOMEPAGE="https://github.com/TheLocehiliosan/yadm"
|
||||
SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-shells/bash
|
||||
app-crypt/gnupg
|
||||
dev-vcs/git
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
')
|
||||
dev-tcltk/expect
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGES README.md ${PN}.md )
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake "${PN}.md"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# prevent system config having influence on tests
|
||||
local -x GIT_CONFIG_NOSYSTEM=1
|
||||
|
||||
# prevent git branch warning, it confuses tests
|
||||
local -x GIT_CONFIG_GLOBAL="${HOME}/.gitconfig"
|
||||
git config --global init.defaultBranch master || die "setting default branch name failed"
|
||||
|
||||
# un-hardcode path to tmp, otherwise encryption tests fail
|
||||
sed -e "/^cache_dir/s@/tmp@${T}@" -i pytest.ini || die "cannot patch cache dir"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
test/test_alt.py # requires envtpl, not packaged
|
||||
test/test_compat_jinja.py # ditto
|
||||
test/test_unit_template_j2.py # ditto
|
||||
test/test_syntax.py # needs new yamllint, not packaged yet
|
||||
test/test_upgrade.py::test_upgrade # needs old version of yadm
|
||||
test/test_compat_alt.py # tests obsolete features, broken
|
||||
test/test_unit_template_esh.py # requires esh, not packaged
|
||||
test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_exists-bad_phrase] # hangs in sandbox
|
||||
test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_exists-bad_phrase] # ditto
|
||||
)
|
||||
|
||||
epytest
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
dobin "${PN}"
|
||||
doman "${PN}.1"
|
||||
|
||||
dobashcomp completion/bash/yadm
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completion/zsh/_${PN}
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completion/fish/${PN}.fish
|
||||
}
|
Binary file not shown.
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
#CMAKE_REMOVE_MODULES=yes
|
||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
AUX reg-0.16.0-config.patch 8488 BLAKE2B d1c60fe817ef722f522ecd7503a7000b065c01853a01c22c2c37b1c0d10f8062c73636b40565f65de885e8fb583d318230e0c0ed8ca8f958f48369d14595089d SHA512 05a30d6cd08ff823be993cba4089d2290f6f58272c50f79ed3d84c915cdf5154789f9f809e4225b39397eab16052d1a5f002e43794d992184bc9528c2d378ccf
|
||||
AUX reg-0.16.1-config.patch 11018 BLAKE2B 9aaf726dc6784e25a064e3a19911588553df2e12a9c4c6fd84554a44f0eebecda143a3e13b6ec29a6160f83f42a443bbfedfebb313f10066c050d8af1f05df96 SHA512 fad50bca6d8fee88d7bd1e8b2460b54bfcc8dc50cdb0c054872fde23f80e86874a1f31d9cca6386320765d130dc1f56a5f87fc9bad8aa640c626b40cd9e1a1ca
|
||||
AUX reg.confd 68 BLAKE2B 90fbc7677653b2e1389a0a0dd4c06f8a108fc70f6ae8d53fb94a5ef4669296679cf0f15bf985594837b0d455206f1b928df8a65596e81c0c717c5908c1987b0c SHA512 c0e7e68e8fd09cd46af3a01dc3507ef55dc25016b00e425e673734c864f05c63fcf3dc10b7ca987f166b33cfbfea62ca6c3458b73e28d3683d5bc81cbda84c4e
|
||||
AUX reg.initd 595 BLAKE2B 36a5fd61c46810c1924c86c00392348e0907501f896114c3c523daebfd110e5ea292d4087fc4a41ba91ccd952c1c6b27fe1b1db60364575352a9eb9e4b207258 SHA512 96919a0d2f29631c4296bcf8adfb78d63f5d732ed350491f7df14f45744c945559110454a0c24726962da7519dd790a37a6c6a2e0d3586599dc7231743fbe03a
|
||||
DIST github.com-go-yaml-yaml-eb3733d160e7.tar.gz 64789 BLAKE2B a59db73ba751c932695913770550e115d46df28c4cff402325cf5324c97069e3acccb9faf39826a5da416f8c5b0cc69377cef41a6b1451afa82c7ae8bd620544 SHA512 9e34c34c907d1177e072eb5f3b421b8a3af0e68b490508691d745cdcf1145d9bcfd2592d909a4b05e7f12bfb62355d49861f6d2e1bd29b69cf026ef631965289
|
||||
DIST reg-0.16.1-deps.tar.xz 64969744 BLAKE2B 40cc07bc6b24660e945f0a20ea8a8de98e987c23fb44bfc2793ff808b7ef86b01956dbb17af70d13071ffa8ca1301409ca2ad350c73297263b7b24224f816642 SHA512 7c3c41c9b891118504b03c0996d2b6f50928e6f0d9300a2430574d4f39a810c2f8fa0f3d2c2405d4ef5a17509e84d2a19b040f89195885eacd7ae33c9ef67c50
|
||||
DIST reg-0.16.1.tar.gz 3163977 BLAKE2B b161200e7b96b26054e121853bafb4751865de1146f07fa48418a6624beeebd10eb8fcde1af90f9dd3c20ffd8d5807a106d012bf996944c96b5ff841b0079fb4 SHA512 77fbd543de6e94c504e98a0364895b19099e3cde55a85a4413730de58de8e84f50889fdcfaffa1c76ae412a603ed6d5f4b1d57566ec814cf88df70278e91aee6
|
||||
EBUILD reg-0.16.1.ebuild 1363 BLAKE2B 6ed76524b8f00b8669886f214f2cb702e93b89cf1d44db5373e7ff60830c1dd94e1a26ef95711cae8958a7a2ded0e1ce4b9638aa03fb22ba082a695961d6c080 SHA512 d31c2dcc3d1e1b1f1ddfc1563c49441670602a2ed345ffa78b0e7a3e1edc98ca1b04cc1c77395724704bf5331189e99683564176937df5cf8d98fffcd0e43f9f
|
||||
EBUILD reg-0.16.1-r1.ebuild 1089 BLAKE2B a78a5fc153f0dc05a5858385fbe035699c8fdcd9ee5c0fd3b1cde5c424b2be184db5c70290d2e395bd46a5ab1044242906692e5e65d29c691dfdad84eafe5e85 SHA512 348cb94e16d7e7ca2a2150c04266490198b7f233eb8c0976e0649c918ceb3f868557d55717a1be53a32f5df2a7d59f46ac5ab1410a12a4aefc257678f16d444b
|
||||
MISC metadata.xml 330 BLAKE2B 737fada2e7d6372eabfe0187e1c499e307404c111718319f57a825b2c997e1599fd9081f2ec357bab008f1e58312222080887a724f725a9245891b54c5652208 SHA512 150d486491972769b48b1cf2e7b867d81ed23ed86ea3f08d9d22b245d925f2adac514c51927d0bda94a252329c393378d71a9d0120eb794aae65c405390c972c
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
GIT_COMMIT=4203e559f331009df04a3ca47820989c6c43e138
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Docker registry v2 command line client"
|
||||
HOMEPAGE="https://github.com/genuinetools/reg"
|
||||
SRC_URI="https://github.com/genuinetools/reg/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="acct-group/reg
|
||||
acct-user/reg
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT+=" test "
|
||||
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-config.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
export -n XDG_CACHE_HOME
|
||||
ego build -ldflags "
|
||||
-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT}
|
||||
-X ${EGO_PN}/version.VERSION=${PV}" \
|
||||
-o reg .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin reg
|
||||
dodoc README.md
|
||||
insinto /var/lib/${PN}
|
||||
doins -r server/*
|
||||
newinitd "${FILESDIR}"/reg.initd reg
|
||||
newconfd "${FILESDIR}"/reg.confd reg
|
||||
keepdir /var/log/reg
|
||||
fowners -R reg:reg /var/log/reg /var/lib/reg/static
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_VENDOR=( "gopkg.in/yaml.v2 eb3733d160e7 github.com/go-yaml/yaml" )
|
||||
|
||||
inherit golang-build golang-vcs-snapshot user
|
||||
|
||||
EGO_PN="github.com/genuinetools/reg"
|
||||
GIT_COMMIT="4203e559f331009df04a3ca47820989c6c43e138"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Docker registry v2 command line client"
|
||||
HOMEPAGE="https://github.com/genuinetools/reg"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="MIT Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup reg
|
||||
enewuser reg -1 -1 /var/lib/reg reg
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd src/${EGO_PN} || die
|
||||
eapply "${FILESDIR}"/reg-0.16.0-config.patch
|
||||
default
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
pushd src/${EGO_PN} || die
|
||||
GO111MODULE=on go build -mod=vendor -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc src/${EGO_PN}/README.md
|
||||
insinto /var/lib/${PN}
|
||||
doins -r src/${EGO_PN}/server/*
|
||||
newinitd "${FILESDIR}"/reg.initd reg
|
||||
newconfd "${FILESDIR}"/reg.confd reg
|
||||
|
||||
keepdir /var/log/reg
|
||||
fowners -R reg:reg /var/log/reg /var/lib/reg/static
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST NaturalDocs-1.52.zip 460793 BLAKE2B d4ecd8bb8dd3fa92a8d9366077c65ddd70e9c4944519cb453e0752e2df0ed22d7fe23aa1edb1e63ffea16b0d0f56794d50a6a0520b2b91f0193a83326ac34c5b SHA512 45d79dd2bf55a8cb7356eb5321a8c99cbab9d69a4d9a97033737090df2bfd86ee7a058a03016646c7fd6f20daf6523b2d77cd2248a7503a6c5c22684f08431c1
|
||||
EBUILD NaturalDocs-1.52-r1.ebuild 1259 BLAKE2B 5380a17e2694df229c1c38d4a7a6402ddd7df5eda4841f28afd80e13419d9df7853989881c2e3ad953c802c5f73c7cf039cfa05d02036a78b3091b64268bae4d SHA512 cc87f90e83170eaa44669d60ad44e3556b6bfdbc18cce2c134e6cb3b814bff03050d7b3c785f98e1f7e4ac76d2faa73cd8d94410f51213f4ea98ccfc298a2432
|
||||
EBUILD NaturalDocs-1.52-r2.ebuild 1210 BLAKE2B c8db1a6622e6b3e1bb780b7a10eac94e7696d25dcf8f127640dd4225a2ea41a44792eba8a93dc9c7967de97f8437fdaf1bb5d9fe9811cb362e5b1d8136331381 SHA512 638472a03103ceca8c1ad161937ecc3c13d0989170423c2d1e74c3440057c9f418db81113aa82b296e1b57d7a9b215ff466c382382b2338d874e047b7962098c
|
||||
MISC metadata.xml 750 BLAKE2B ac18ca6a34b91431c46771911c80dd37945febcd8c356b317f95153ec605fb2ae5a46cde4326ad94b89c7c146cb7654b7d2fc8793ea8f6b5b650f2fccd3d86b4 SHA512 270e00374ac5315783991a4e24ba0e8786b42fc430d4c402636e991c6e72ca212a7b16818b16fdfbfe3a2b95445a6206c68dfd679bcd54e6f4764df0d35e7f9a
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST kicad-doc-5.1.12.tar.bz2 74217615 BLAKE2B f0906fdb0cf697348e06b63ef0003630a9035d47732c9a22ed3c4fee2f21c02f85fda51eee5149291b72326adc4899b31198178ee6e6ac0d494361cec6c06208 SHA512 db678d91ea5f564ca3f266829c297362cfd6cf35a5dced2ede5e7c9c38a37ca1037b264ee9314fa5c4a9d8197fcd92484ad4cae3668ea9741947d38c7ac7f910
|
||||
DIST kicad-doc-6.0.2.tar.gz 78035381 BLAKE2B f78ce40c35ca39ee10ebd1322ed299d02a7a688f3d47d875420aea3270ba26d644521659ff5c34b395736454e03fc5c64bd345ea30e9b88b63472f21731a2c28 SHA512 f219d5f13a873fa90c105f376c456ac68b5a36eef3eb65fc08e1bc26d6be70b31fa43e4c6cee0371a6a64469c54d4e0721d9e15f19d1e952da3cefd6bbd3e09c
|
||||
DIST kicad-doc-6.0.3.tar.gz 78919608 BLAKE2B 32330e452a2284e41090bda0c01723795c719a4affb6f34dbc2f5f3bf4c66e03acb4af1c2fd1404faee731f2507eed167fb771adbb366061e5a1ee38f3301fd6 SHA512 29b5ab6472529aebbb9576014453d5141597a7afce81811f43b89e14ce41fd1d831901d0fcad548ff58e8da0cf37283f43bdce9d8838d89bb1bdfce4046ffb84
|
||||
EBUILD kicad-doc-5.1.12.ebuild 1433 BLAKE2B 61ab869971082533455fdaed043c899d3e06057c646587ad1913f81f50827e1cbaf10cf7ee7554b01dc26c5af2e0039b55515b9f4c69ad0801ac9ac820a1651d SHA512 ee92e2d045ce6174617369bd37b3390c6292b0688f779bc01b37ccc5f368ff9dfb2780695c700a054e80f5ab401f174b601371fbd0048de597863845d85e5f3f
|
||||
EBUILD kicad-doc-6.0.2.ebuild 1952 BLAKE2B 969b242a5958ebf769bfa97af3efade6f75b836d6ae0865e33b5ec374efea582bac93f99e2f3251dee62688d0d97f1054919c3a7b08e32431829cd8c2a54ad94 SHA512 b45d9c3400cfddfeae471750e9d2cfd2b2ceb6ea1595277ec8f76e9e806f927714e9bbae079cfbc222eb3a5806283159b07ac4331e31b2ae1683316a00119b55
|
||||
EBUILD kicad-doc-6.0.3.ebuild 1952 BLAKE2B 969b242a5958ebf769bfa97af3efade6f75b836d6ae0865e33b5ec374efea582bac93f99e2f3251dee62688d0d97f1054919c3a7b08e32431829cd8c2a54ad94 SHA512 b45d9c3400cfddfeae471750e9d2cfd2b2ceb6ea1595277ec8f76e9e806f927714e9bbae079cfbc222eb3a5806283159b07ac4331e31b2ae1683316a00119b55
|
||||
MISC metadata.xml 852 BLAKE2B 9b21d1f5ae47786e87fdf3703b2e65645cbc4746b861f023f8ca94a9d32dd8c50594eec0e316538943abe7f93a261b3fb2e96f1ac56bccbc316e2f9ef06cfb77 SHA512 aed642bd4c57be8cdae2dc31c81db0915b30032b72dbce3ea157163e2713bd3fe6812aa96c3ee3894f84cfa9126577fb69c2da35525eee2124728c004b436fad
|
||||
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST gnome-text-editor-42.rc1.tar.xz 1093060 BLAKE2B 14bddc82e4dd410b357cff7274ed35c07b13da7648db5840eb2c8dae7c057935b9b6f5f249c8c04f3a8ed27543014de8f7fc38b98985cd481064752f28a0b623 SHA512 debebccceb4bbe2bfc87a1c1f0813b10fc0c565cc89c6b3a826daa0a3344c88b9f20135087335f61d7b736a8c8ada7e2f823795c1e6c8d3d03ac7325afd0a9ae
|
||||
EBUILD gnome-text-editor-42_rc1.ebuild 1035 BLAKE2B 8dfae66f2828821092940062df160dac39b838083b95bf386a1285f96c30185b748278bd7d78eab632b00112a7d34120172fbfaa13322009f70d38ee4e94c3f9 SHA512 23da6adfe47b5cb4aef50dbad287a746947f5bab606b8862984acc8b06390ec4b115d29167dcb25cc2e8e527c8111fe420629c44e6e3051aec42af1e134dfc8a
|
||||
AUX 42.0-appdata-fix-appstream-validation.patch 712 BLAKE2B d8d19718488343f41c0144a293ff094cb498a44beb57c487601891eb79338fbcaf2991f9fecd75ebe586dcd0fa504a9780e64c1e50afd0352b5c7fb9233b87ad SHA512 6c88ab7162e8e3ae1068da2b9eeb2ada66915edfd153d5911945c88eaee05124893ccc7a7b9447b62d4867d941bd1bc707453da350bfc4f76af7e379f442900c
|
||||
DIST gnome-text-editor-42.0.tar.xz 1126224 BLAKE2B 7e02cea493696630284d7994f1d227a5589ad7aa7d7b98e5f67655ebcd69f7e2ded1195368e666ad26621b6b32168c7defde1cd3c2e278ca8741bf572979154e SHA512 4462ef0e0113863e752ce2c4d499386cbf9d72c67126fb60512eea39bd53bed6d56b2a62511e9af62024f9704ba722411ebbd5040aabcefce0b460925b91ad1f
|
||||
EBUILD gnome-text-editor-42.0.ebuild 1108 BLAKE2B a27db557a0419cb0ce7797b14e6552f19c4aa98cdd4ade357e9e12d7c3e92b0a1470d20d0f2c1101abb1e3c61bcc24dd741f17fed3aac9a5a58d031b36da61ac SHA512 154f0fc1bd5fe9eb64388b458a6a60d7d97e3c90b9a8805a817cdd4e29d677ffb66fdb710946b74754604aa445b174aeecfe3ad2e800aa62f49095a17819ea24
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 985c8dd411a27ad067fe9ac8951d644bad57324a Mon Sep 17 00:00:00 2001
|
||||
From: Christian Hergert <chergert@redhat.com>
|
||||
Date: Fri, 18 Mar 2022 22:35:37 -0700
|
||||
Subject: [PATCH] appdata: fix appstream validation
|
||||
|
||||
Fixes #329
|
||||
---
|
||||
data/org.gnome.TextEditor.appdata.xml.in.in | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/data/org.gnome.TextEditor.appdata.xml.in.in b/data/org.gnome.TextEditor.appdata.xml.in.in
|
||||
index f4e751f..3a39a8d 100644
|
||||
--- a/data/org.gnome.TextEditor.appdata.xml.in.in
|
||||
+++ b/data/org.gnome.TextEditor.appdata.xml.in.in
|
||||
@@ -45,7 +45,6 @@
|
||||
|
||||
<releases>
|
||||
<release version="42.0" date="2022-03-18"/>
|
||||
- <release version="42.rc1" date="2022-03-07"/>
|
||||
</releases>
|
||||
|
||||
<kudos>
|
||||
--
|
||||
2.34.1
|
||||
|
@ -0,0 +1,383 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/gvim
|
||||
|
||||
VIM_VERSION="8.2"
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
inherit vim-doc flag-o-matic xdg-utils bash-completion-r1 prefix lua-single python-single-r1 ruby-single
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 gtk gtk2 lua motif neXt netbeans nls perl python racket ruby selinux session sound tcl"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
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? (
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libXft
|
||||
)
|
||||
!gtk? (
|
||||
gtk2? (
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
x11-libs/libXft
|
||||
)
|
||||
!gtk2? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
!neXt? ( x11-libs/libXaw )
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
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 )
|
||||
"
|
||||
|
||||
# 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"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home || die
|
||||
export HOME="${T}"/home
|
||||
|
||||
use lua && lua-single_pkg_setup
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
eapply "${WORKDIR}"/patches/
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i -e \
|
||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug 29398 (27 Sep 2003 agriffis)
|
||||
sed -i -e \
|
||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug 43885 (20 Mar 2004 agriffis)
|
||||
sed -i -e \
|
||||
's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# 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'
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug 37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i -e \
|
||||
's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm -v src/auto/configure || die "rm failed"
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
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"
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
# --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
|
||||
|
||||
if use lua; then
|
||||
myconf+=(
|
||||
--enable-luainterp
|
||||
$(use_with lua_single_target_luajit luajit)
|
||||
--with-lua-prefix="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
# gvim's GUI preference order is as follows:
|
||||
# aqua CARBON (not tested)
|
||||
# -aqua gtk GTK3
|
||||
# -aqua -gtk gtk2 GTK2
|
||||
# -aqua -gtk -gtk motif MOTIF
|
||||
# -aqua -gtk -gtk -motif neXt NEXTAW
|
||||
# -aqua -gtk -gtk -motif -neXt ATHENA
|
||||
echo ; echo
|
||||
if use aqua; then
|
||||
einfo "Building gvim with the Carbon GUI"
|
||||
myconf+=(
|
||||
--enable-darwin
|
||||
--enable-gui=carbon
|
||||
)
|
||||
elif use gtk; then
|
||||
myconf+=( --enable-gtk3-check )
|
||||
einfo "Building gvim with the gtk+-3 GUI"
|
||||
myconf+=( --enable-gui=gtk3 )
|
||||
elif use gtk2; then
|
||||
myconf+=( --enable-gtk2-check )
|
||||
einfo "Building gvim with the gtk+-2 GUI"
|
||||
myconf+=( --enable-gui=gtk2 )
|
||||
elif use motif; then
|
||||
einfo "Building gvim with the MOTIF GUI"
|
||||
myconf+=( --enable-gui=motif )
|
||||
elif use neXt; then
|
||||
einfo "Building gvim with the neXtaw GUI"
|
||||
myconf+=( --enable-gui=nextaw )
|
||||
else
|
||||
einfo "Building gvim with the Athena GUI"
|
||||
myconf+=( --enable-gui=athena )
|
||||
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
|
||||
|
||||
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() {
|
||||
einfo "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-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Please bump with app-editors/vim and app-editors/gvim
|
||||
|
||||
VIM_VERSION="8.2"
|
||||
inherit estack vim-doc flag-o-matic bash-completion-r1 prefix desktop xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/vim-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
|
||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
S="${WORKDIR}"/vim-${PV}
|
||||
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="nls acl minimal"
|
||||
|
||||
BDEPEND="sys-devel/autoconf"
|
||||
# Avoid icon file collision, bug #673880
|
||||
RDEPEND="!!<app-editors/gvim-8.1.0648
|
||||
!<app-editors/vim-8.2.4328-r1"
|
||||
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home || die "mkdir -p failed"
|
||||
export HOME="${T}"/home
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
eapply "${WORKDIR}"/patches
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i \
|
||||
-e '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "sed failed"
|
||||
|
||||
# See bug #77841. We remove this file after the tarball extraction.
|
||||
rm -v "${S}"/runtime/tools/vimspell.sh || die "rm failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug #29398 (27 Sep 2003 agriffis)
|
||||
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug #43885 (20 Mar 2004 agriffis)
|
||||
sed -i 's/ libc\.h / /' "${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
|
||||
sed -i -e \
|
||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# Fix bug #37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug 57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug #76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug #18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
|
||||
# Remove src/auto/configure file.
|
||||
rm -v src/auto/configure || die "rm configure failed"
|
||||
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug 24447). The hvc
|
||||
# things are for ppc64, see bug 86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e "${file}" ]]; then
|
||||
addwrite ${file}
|
||||
fi
|
||||
done
|
||||
|
||||
# Let Portage do the stripping. Some people like that.
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# Keep Gentoo Prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=" --without-local-dir"
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
--enable-gui=no \
|
||||
--without-x \
|
||||
--disable-darwin \
|
||||
--disable-perlinterp \
|
||||
--disable-pythoninterp \
|
||||
--disable-rubyinterp \
|
||||
--disable-gpm \
|
||||
--disable-selinux \
|
||||
$(use_enable nls) \
|
||||
$(use_enable acl) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
emake tools
|
||||
}
|
||||
|
||||
src_test() { :; }
|
||||
|
||||
src_install() {
|
||||
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
|
||||
|
||||
dodir /usr/{bin,share/{man/man1,vim}}
|
||||
emake -C src \
|
||||
installruntime \
|
||||
installmanlinks \
|
||||
installmacros \
|
||||
installtutor \
|
||||
installtutorbin \
|
||||
installtools \
|
||||
install-languages \
|
||||
DESTDIR="${D}" \
|
||||
BINDIR="${EPREFIX}"/usr/bin \
|
||||
MANDIR="${EPREFIX}"/usr/share/man \
|
||||
DATADIR="${EPREFIX}"/usr/share
|
||||
|
||||
keepdir ${vimfiles}/keymap
|
||||
|
||||
# default vimrc is installed by vim-core since it applies to
|
||||
# both vim and gvim
|
||||
insinto /etc/vim/
|
||||
newins "${FILESDIR}"/vimrc-r5 vimrc
|
||||
eprefixify "${ED}"/etc/vim/vimrc
|
||||
|
||||
if use minimal; then
|
||||
# To save space, install only a subset of the files.
|
||||
# Helps minimalize the livecd, bug 65144.
|
||||
eshopts_push -s extglob
|
||||
|
||||
rm -rv "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent} || die "rm failed"
|
||||
rm -rv "${ED}${vimfiles}"/{macros,print,tools,tutor} || die "rm failed"
|
||||
rm -v "${ED}"/usr/bin/vimtutor || die "rm failed"
|
||||
|
||||
local keep_colors="default"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
|
||||
|
||||
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
|
||||
# tinkering with the next line might make bad things happen ...
|
||||
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
|
||||
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
|
||||
|
||||
# Delete skip_defaults_vim config not supported by vim[minimal]
|
||||
sed -i '/skip_defaults_vim/d' "${ED}"/etc/vim/vimrc || die "sed failed"
|
||||
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
newbashcomp "${FILESDIR}"/xxd-completion xxd
|
||||
|
||||
# install gvim icon since both vim/gvim desktop files reference it
|
||||
doicon -s scalable "${FILESDIR}"/gvim.svg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Update documentation tags (from vim-doc.eclass)
|
||||
update_vim_helptags
|
||||
|
||||
# update icon cache
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -0,0 +1,350 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Please bump with app-editors/vim-core and app-editors/gvim
|
||||
|
||||
VIM_VERSION="8.2"
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
|
||||
inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single desktop xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/vim/vim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="X acl crypt cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
vim-pager? ( !minimal )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=app-eselect/eselect-vi-1.1
|
||||
>=sys-libs/ncurses-5.2-r2:0=
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
crypt? ( dev-libs/libsodium:= )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( >=sys-libs/gpm-1.19.3 )
|
||||
lua? ( ${LUA_DEPS}
|
||||
$(lua_gen_impl_dep 'deprecated' lua5-1)
|
||||
)
|
||||
~app-editors/vim-core-${PV}
|
||||
!<app-editors/vim-core-8.2.4328-r1
|
||||
vim-pager? ( app-editors/vim-core[-minimal] )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
racket? ( dev-scheme/racket )
|
||||
ruby? ( ${RUBY_DEPS} )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
sound? ( media-libs/libcanberra )
|
||||
tcl? ( dev-lang/tcl:0= )
|
||||
X? ( x11-libs/libXt )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# configure runs the Lua interpreter
|
||||
BDEPEND="
|
||||
sys-devel/autoconf
|
||||
lua? ( ${LUA_DEPS} )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
# people with broken alphabets run into trouble. bug #82186.
|
||||
unset LANG LC_ALL
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Gnome sandbox silliness. bug #114475.
|
||||
mkdir -p "${T}"/home || die "mkdir failed"
|
||||
export HOME="${T}"/home
|
||||
|
||||
use lua && lua-single_pkg_setup
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999* ]] ; then
|
||||
# Gentoo patches to fix runtime issues, cross-compile errors, etc
|
||||
eapply "${WORKDIR}"/patches/
|
||||
fi
|
||||
|
||||
# Fixup a script to use awk instead of nawk
|
||||
sed -i -e \
|
||||
'1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' \
|
||||
"${S}"/runtime/tools/mve.awk || die "mve.awk sed failed"
|
||||
|
||||
# Read vimrc and gvimrc from /etc/vim
|
||||
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' \
|
||||
>> "${S}"/src/feature.h || die "echo failed"
|
||||
|
||||
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
|
||||
# Hopefully this pattern won't break for a while at least.
|
||||
# This fixes bug #29398 (27 Sep 2003 agriffis)
|
||||
sed -i -e \
|
||||
's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
|
||||
"${S}"/runtime/doc/syntax.txt \
|
||||
"${S}"/runtime/doc/tagsrch.txt \
|
||||
"${S}"/runtime/doc/usr_29.txt \
|
||||
"${S}"/runtime/menu.vim \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
|
||||
# this is NeXT, but it's actually just a file in dev-libs/9libs
|
||||
# This fixes bug #43885 (20 Mar 2004 agriffis)
|
||||
sed -i -e \
|
||||
's/ libc\.h / /' \
|
||||
"${S}"/src/configure.ac || die 'sed failed'
|
||||
|
||||
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
|
||||
# correctly. To avoid some really entertaining error messages about stuff
|
||||
# which isn't even in the source file being invalid, we'll do some trickery
|
||||
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
|
||||
find "${S}" -name '*.c' | while read c; do
|
||||
echo >> "$c" || die "echo failed"
|
||||
done
|
||||
|
||||
# conditionally make the manpager.sh script
|
||||
if use vim-pager; then
|
||||
cat > "${S}"/runtime/macros/manpager.sh <<-_EOF_ || die "cat EOF failed"
|
||||
#!/bin/sh
|
||||
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
|
||||
vim \\
|
||||
-c 'let no_plugin_maps = 1' \\
|
||||
-c 'set nolist nomod ft=man ts=8' \\
|
||||
-c 'let g:showmarks_enable=0' \\
|
||||
-c 'runtime! macros/less.vim' -
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# Try to avoid sandbox problems. Bug #114475.
|
||||
if [[ -d "${S}"/src/po ]]; then
|
||||
sed -i -e \
|
||||
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
|
||||
"${S}"/src/po/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
cp -v "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk || die "cp failed"
|
||||
|
||||
sed -i -e \
|
||||
"s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
|
||||
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=()
|
||||
|
||||
# Fix bug #37354: Disallow -funroll-all-loops on amd64
|
||||
# Bug #57859 suggests that we want to do this for all archs
|
||||
filter-flags -funroll-all-loops
|
||||
|
||||
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
|
||||
# everyone since previous flag filtering bugs have turned out to affect
|
||||
# multiple archs...
|
||||
replace-flags -O3 -O2
|
||||
|
||||
# Fix bug 18245: Prevent "make" from the following chain:
|
||||
# (1) Notice configure.ac is newer than auto/configure
|
||||
# (2) Rebuild auto/configure
|
||||
# (3) Notice auto/configure is newer than auto/config.mk
|
||||
# (4) Run ./configure (with wrong args) to remake auto/config.mk
|
||||
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
|
||||
rm src/auto/configure || die "rm failed"
|
||||
emake -j1 -C src autoconf
|
||||
|
||||
# This should fix a sandbox violation (see bug #24447). The hvc
|
||||
# things are for ppc64, see bug #86433.
|
||||
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc*; do
|
||||
if [[ -e "${file}" ]]; then
|
||||
addwrite ${file}
|
||||
fi
|
||||
done
|
||||
|
||||
if use minimal; then
|
||||
myconf=(
|
||||
--with-features=tiny
|
||||
--disable-nls
|
||||
--disable-canberra
|
||||
--disable-acl
|
||||
--enable-gui=no
|
||||
--without-x
|
||||
--disable-darwin
|
||||
--disable-luainterp
|
||||
--disable-perlinterp
|
||||
--disable-pythoninterp
|
||||
--disable-mzschemeinterp
|
||||
--disable-rubyinterp
|
||||
--disable-selinux
|
||||
--disable-tclinterp
|
||||
--disable-gpm
|
||||
)
|
||||
else
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
myconf=(
|
||||
--with-features=huge
|
||||
$(use_enable sound canberra)
|
||||
$(use_enable acl)
|
||||
$(use_enable crypt libsodium)
|
||||
$(use_enable cscope)
|
||||
$(use_enable gpm)
|
||||
$(use_enable nls)
|
||||
$(use_enable perl perlinterp)
|
||||
$(use_enable python python3interp)
|
||||
$(use_with python python3-command "${PYTHON}")
|
||||
$(use_enable racket mzschemeinterp)
|
||||
$(use_enable ruby rubyinterp)
|
||||
$(use_enable selinux)
|
||||
$(use_enable tcl tclinterp)
|
||||
$(use_enable terminal)
|
||||
)
|
||||
|
||||
# --with-features=huge forces on cscope even if we --disable it. We need
|
||||
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
|
||||
if ! use cscope; then
|
||||
sed -i -e \
|
||||
'/# define FEAT_CSCOPE/d' src/feature.h || die "sed failed"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
myconf+=(
|
||||
--enable-luainterp
|
||||
$(use_with lua_single_target_luajit luajit)
|
||||
--with-lua-prefix="${EPREFIX}/usr"
|
||||
)
|
||||
fi
|
||||
|
||||
# don't test USE=X here ... see bug #19115
|
||||
# but need to provide a way to link against X ... see bug #20093
|
||||
myconf+=(
|
||||
--enable-gui=no
|
||||
--disable-darwin
|
||||
$(use_with X x)
|
||||
)
|
||||
fi
|
||||
|
||||
# let package manager strip binaries
|
||||
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
|
||||
|
||||
# keep prefix env contained within the EPREFIX
|
||||
use prefix && myconf+=( --without-local-dir )
|
||||
|
||||
econf \
|
||||
--with-modified-by=Gentoo-${PVR} \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The following allows emake to be used
|
||||
emake -j1 -C src auto/osdef.h objects
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo
|
||||
einfo "Starting vim tests. Several error messages will be shown"
|
||||
einfo "while the tests run. This is normal behaviour and does not"
|
||||
einfo "indicate a fault."
|
||||
einfo
|
||||
ewarn "If the tests fail, your terminal may be left in a strange"
|
||||
ewarn "state. Usually, running 'reset' will fix this."
|
||||
einfo
|
||||
|
||||
# Don't let vim talk to X
|
||||
unset DISPLAY
|
||||
|
||||
# See https://github.com/vim/vim/blob/f08b0eb8691ff09f98bc4beef986ece1c521655f/src/testdir/runtest.vim#L5
|
||||
# for more information on test variables we can use.
|
||||
# Note that certain variables need vim-compatible regex (not PCRE), see e.g.
|
||||
# http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml.
|
||||
#
|
||||
# Skipped tests:
|
||||
# - Test_expand_star_star
|
||||
# Hangs because of a recursive symlink in /usr/include/nodejs (bug #616680)
|
||||
# - Test_exrc
|
||||
# Looks in wrong location? (bug #742710)
|
||||
# - Test_job_tty_in_out
|
||||
# Fragile and depends on TERM(?)
|
||||
# - Test_spelldump_bang
|
||||
# Hangs.
|
||||
export TEST_SKIP_PAT='\(Test_expand_star_star\|Test_exrc\|Test_job_tty_in_out\|Test_spelldump_bang\)'
|
||||
|
||||
emake -j1 -C src/testdir nongui
|
||||
}
|
||||
|
||||
# Call eselect vi update with --if-unset
|
||||
# to respect user's choice (bug #187449)
|
||||
eselect_vi_update() {
|
||||
einfo "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
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST zile-2.4.15.tar.gz 1490611 BLAKE2B 3744ab2459edf9b0dc9ca976c5f37625d06e0766e3a1fbb59112fe375af6f6cc5e8c068dcb127b338091f3130d32190ad4bc3a79eac7f9a4f87b46723d5a4a82 SHA512 e2a04c280ae0c0038e6ef18abec0be55063a472f77a511bf31459712be24659edcaa2d1c861d7c00bdab87a1881af03d14eb561047c386cbff5f90b13b1a2575
|
||||
DIST zile-2.6.2.tar.gz 1152751 BLAKE2B db51b534c8d76e1def91bbfe49cab501ff1bccd6fbeddd5622d8fca3695305c53e480eed1978e880621e09955e2b98519cfa02cf259006a08d1a8722122148ea SHA512 16d5cece403fc215d53b35c31fe6f743d53d7a01cdc7d101cabe6760173539c9c31e092b29c374f28a723708027f6de626fcfee302962848091f85078fa81761
|
||||
EBUILD zile-2.4.15.ebuild 1093 BLAKE2B 5f94a7c04aeaa447571d806bcf4029d3c6cbdda2d31dcfdbcea2810800c1aa2a7e3b097df3edf923e6e30b223ce450154f2e4923ee501ee7e4b663099b5c072c SHA512 ea016a21bf45f2e2cbfcc09fb23ff25b39d63f8e96b01dcf45f3636c11f24be6cb3130d0b429a6bec4d956e893985228b3757440a1eed5bb5d9c3746962bfd3d
|
||||
EBUILD zile-2.6.2-r1.ebuild 1176 BLAKE2B 8223428bc7394d28e4eaa0bbfc95eb68a2dcbe1f0cf1f76ea2ae3380c5c702eff9257fa32983e63ca0371916bf970753a9a2751bc7de6510db2203a6f6b8b0be SHA512 b7e0d7e9fc225e04ec40aa4c9ef19d89019df4affe1c4d6eb758c4b943b05341e7ed6100ac5dcf2b7aa96050aa45fda202da26432522d1d488c9afb9c456bb91
|
||||
EBUILD zile-2.6.2-r1.ebuild 1175 BLAKE2B 4b60a1e017c2414ec9528822b07a542d4e9c68d12db27f15cc4d220dbb96fca799e8824ca54918b8f54dc29de65ea81dcd3bb9d0da2e2577e9ca1300f3acca01 SHA512 0b0dc684a67800caff203e0ee7808d542c89020339b42bcc0b96754f7397c215fcdc8bd2dccd94af75e7e3fa3561bdc47df1801814ca57f81151208935e5b566
|
||||
MISC metadata.xml 537 BLAKE2B 3a084218fac3dad29b7a80d6f707e7e8c769eb0e755a1a482814d67b0064c274fc80a50dac09cc6d04e963271fd526f34805dc9c49ffb6d5681dc6178ff43032 SHA512 d1de1757bd448535892b60dd6cc739c9b8cb92affd0c7a1cfffcddbcc1d18a1f17d054e751aa4362e26111e6e59206d086e3afb1552a2061503db6459ec34424
|
||||
|
Binary file not shown.
@ -1,8 +1,10 @@
|
||||
DIST solaar-1.0.5.tar.gz 920452 BLAKE2B 44aa0f9abd63629a5a4e737c14e468922c4aa501341717d595f045c5f40369ade6ff296120931557f1e8f04b99aa4f690454aa8f6bceaa526f370f93b312f6d6 SHA512 28603c30f0e9f2f0fe2549722062548031c69a0d9c98f732fdd8fbb51ed1d55ef033262113b2f88044a68f8b26c8c51fb0b45d4f4689fb3619e143d159618c47
|
||||
DIST solaar-1.0.7.tar.gz 1265664 BLAKE2B 6bb221d603dc74bf21ac44ca6611d817889285c8711c565b7393b875a934bf9125fc366569c1f677d657463484f2ec5fa077703f311ef2aec74e9f6813a5f1d7 SHA512 24b6b861f90d5747f150afb38b32041885b61cbf7df7794d780b311aef50d334347d5c5c722a0a7d5de3f91b96228e90e2a61dc108054452f46750a04340df83
|
||||
DIST solaar-1.1.1.tar.gz 1418025 BLAKE2B c6fd053002727a372bf9672fc22c0acc123f814003c14172f7d13e59b82ab42ecee9b71a09289b2d234874850e0921debaa069506a07d8957f52a2e9953a47f4 SHA512 c4da0c5521724c00afbc54ee9d10a4709246bb6f57635637b77e5944293b285a055b7df623e7e2a810a0764021813929e0f4fa7f21d4afc39abd516416a2bf25
|
||||
DIST solaar-1.1.2rc2.tar.gz 1462081 BLAKE2B b5bcf37f75631d39ac726b564bfd7f329f80e9931461fceb5ce7442113df50db82679dabfd08150a87ebe9a9de68aeb111138a005e450c3e025c57e5f1219312 SHA512 65320d7193124d1444ecddf5a162e925f373c7c06d0e582af29b1c9d82ea16a32a69accd53f53568b228474691eacd5c0f16bce1bccef1e9a1846151e86dc203
|
||||
EBUILD solaar-1.0.5-r2.ebuild 1776 BLAKE2B 3413685b7eae0f5030f11f6944b36750f53eb2eaf4432c0e505390a3c695141006df4b4a8ddb66a8dae63940e42cf55f63cb0c5662ef4ea2dbdf9f556de2a5f9 SHA512 b153a3897b8e3bb0f442c7f08530c3e676631197c9367b0f6a8575287a83be285796e28854101ef9012910d8b27ab09809f3fae2d890a3f5302e9eaaf8ce4663
|
||||
EBUILD solaar-1.0.7.ebuild 1778 BLAKE2B 5b0e5eff7da81d9047095e9f349ceb44a268873f4d971accf763355bc45567aa96d479e867da73d9d2b31291b71d7c70f670d025b3d8007c7d9d293686d55dfa SHA512 59e307e1f0b714e1cdb98a0835fb13a500faceb34ef28bde9da88a15b3056c851a672cdcf19a093f8f17380f5b74bba71134fd215bc87fefb16881560552c6f3
|
||||
EBUILD solaar-1.1.1.ebuild 1778 BLAKE2B 5b0e5eff7da81d9047095e9f349ceb44a268873f4d971accf763355bc45567aa96d479e867da73d9d2b31291b71d7c70f670d025b3d8007c7d9d293686d55dfa SHA512 59e307e1f0b714e1cdb98a0835fb13a500faceb34ef28bde9da88a15b3056c851a672cdcf19a093f8f17380f5b74bba71134fd215bc87fefb16881560552c6f3
|
||||
EBUILD solaar-1.1.1.ebuild 1790 BLAKE2B da70652eab86d1c7d379fb4f465be4dbad75e09d80a82037a7352f21081fa4f77af74ce5ae0067f66cddc2373ffad35628c6a80c7b501918f050901e6bb0381e SHA512 8755bd1a0a06cf23d0d2d7ff2a8986c61521218cece1f839350819adda47567cd46d9a6f5ef480a1cd65eb7ae6669256f060b78c7d06dd55e6f923d9d9714356
|
||||
EBUILD solaar-1.1.2_rc2.ebuild 1791 BLAKE2B 3d38579d0cbf62620ef6b0fd0f4aa54c7bfc2e2ce44d956b0a9c9da13959a0993f6b4bd171be84ccfb4e4faeba33f296dc3037a39e70101de8ce417d9a208904 SHA512 033b09abbb31ba1885b08d2eb6c46d810b84f9cd06dffef2c9170382459871acdad20e8c83f3cf7f2d33d318ef2c0cf8c8b55dd2b75cdeeacbf949f4b3007811
|
||||
EBUILD solaar-9999.ebuild 1778 BLAKE2B 5b0e5eff7da81d9047095e9f349ceb44a268873f4d971accf763355bc45567aa96d479e867da73d9d2b31291b71d7c70f670d025b3d8007c7d9d293686d55dfa SHA512 59e307e1f0b714e1cdb98a0835fb13a500faceb34ef28bde9da88a15b3056c851a672cdcf19a093f8f17380f5b74bba71134fd215bc87fefb16881560552c6f3
|
||||
MISC metadata.xml 302 BLAKE2B 55938561021d105894875ec5158bd1a744c91039744ff789bffed4ab483eebe73450a9cd62cb4a97c984213fa2f1e8799f8b0d97bd6202e826e4609434086f5e SHA512 3bff70d27a9934d48f848cf0131e01415e13426ea705ef7721a9b59e29ff7bf32718d015de9e4a4f89f23405a8f372f038d2f0c3485cf9a7939a33ebda9d1681
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit linux-info udev xdg distutils-r1
|
||||
|
||||
DESCRIPTION="Linux Device Manager for Logitech Unifying Receivers and Paired Devices"
|
||||
HOMEPAGE="https://pwr-solaar.github.io/Solaar/"
|
||||
if [[ ${PV} =~ 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/pwr-Solaar/Solaar"
|
||||
else
|
||||
SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
S="${WORKDIR}"/Solaar-${PV/_rc/rc}
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc appindicator libnotify"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/plugdev
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/python-xlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
|
||||
')
|
||||
x11-libs/gtk+:3[introspection]
|
||||
appindicator? ( dev-libs/libappindicator:3[introspection] )
|
||||
libnotify? ( x11-libs/libnotify[introspection] )"
|
||||
# libappindicator & libnotify are entirely optional and detected at runtime
|
||||
|
||||
CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW"
|
||||
|
||||
python_prepare_all() {
|
||||
# don't autostart (bug #494608)
|
||||
sed -i \
|
||||
-e '/yield autostart_path/d' \
|
||||
setup.py || die
|
||||
|
||||
sed -i -r \
|
||||
-e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \
|
||||
setup.py || die
|
||||
|
||||
# grant plugdev group rw access
|
||||
sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc docs/devices.md ChangeLog.md
|
||||
if use doc; then
|
||||
dodoc -r docs/*
|
||||
else
|
||||
newdoc docs/index.md README.md
|
||||
fi
|
||||
udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
DIST task-2.5.3.tar.gz 788760 BLAKE2B 3e8a4f2ebf6c39d3d51dc9b044cf1c8fbce23ab8178b6645405f26522bbb6f29e9f78247fe52601f6c8f87f966a3b7aad130417d0f416b9d969e9e396c10eafc SHA512 e906c8f42ad4b9a7e20a82defe31b89194d72957f18dd5129ecc41a2a60a9d8b0d01abb9b44ecce79b65cd9064af4a4a4c9dd695f98152e77908f130dc3f9677
|
||||
DIST task-2.6.1.tar.gz 836830 BLAKE2B 18531a462e9466d2bfc21af70c05ec75f504c82e67ff4160378dd1dc2438955284eb430ec92969ffd212e9e92b14d6bea6013beda8eb353bfb7b8aac03bbbb2d SHA512 996690831967b5b248d336f0848aa243d5929a34238d05a78d49930f477a7927966d097119cf2dd935aa1c159e930f74bac07b05327504b15d235348927b657b
|
||||
DIST task-2.6.2.tar.gz 838933 BLAKE2B 47761b1d172f823b35cb5d44edda2ac8d37daf9c54c6e3af267b880bf7f6246c6fbfa436ff63179b415f22c4e6d4253768bb7e9321893ebeaf46089761f309ad SHA512 3c592552c1baada09ef4e06cf2266c9897ffae42a75998b70767f2cfbabd2e1de7d1a900f16f3b8eb164ce19637dabd21e246f84732a20a646f39716895cdf98
|
||||
DIST tests-2.5.3.tar.gz 223579 BLAKE2B 89a7fda3726d9923388675f34fe40a6a597901b2ab6c90a345b89d4ba00660e6a7533c4752fc4fe6f77344594a322c17eb43866028c26d005ce44cf12c11c355 SHA512 f6a58407f172385e9955b21b7fffeb510f852bd055ada4869547e396856c7df01b8414a51de6bc8530b29d8ca0fa7e74a8e35aa7bc88fe1e15bda7035a5fadd1
|
||||
DIST tests-2.6.1.tar.gz 221364 BLAKE2B 6aac691ba1828abb3469dfa2a9c093b92431591ac21113f71550676f7f9c40394770ddd2c649bf6cda5655d5f1c25aa6c7ef174e9da7ea0c647109d25771dc2d SHA512 df252b252ac7e319d46ef7e72c587c52a97bf7b496ad401342611114db15b7fdab501b4fffc60ea6a8dca7820abc267120375a1aafd1da0a0c41b925e9fd62da
|
||||
DIST tests-2.6.2.tar.gz 222713 BLAKE2B e65e2da08264a0dcceeb839efdfad4733312d645fa0dad9eb9fd7e1f260ed21db3009f1c2b3c939dc1a1bf8cf4389f228a0ba05844483fcb5e44de82c2d33fb5 SHA512 98946332f898c4cf621e1dfb2b48761ca9496a43935aca45bf5965029d74f87ff37154693348f13aeed0b61836fab7d2a3cec8161ddd2f65ed9402162fe21239
|
||||
EBUILD task-2.5.3.ebuild 1369 BLAKE2B 9a9697292649fccd81b763cb645879c7cd8a46ec8b7cf222ad3be528e2f9244e529fbf14a7a3151b535cfb2674daaae42a851821250f132216d305300b2a09b5 SHA512 6306303a1e824e13d14588d56f79559da8ae54dd237b64fc249dde94da842daf7ece3ea8ed7a5127261ac8e4f245adfd9de514a2d41e73c6248933c73c20a31c
|
||||
EBUILD task-2.6.1-r2.ebuild 1452 BLAKE2B 10da76901d78dc09c9b0672413e51cb5c7c93b44be28a1d85302b5d3a26a4bbecb01a37f88e00e81fd59aa5374b7f6ddb9d633215127740be4d7bfe0c5f426f9 SHA512 e5052aeec3bac269c135822ca9bb5c079f4715547265937cfe7823fd9b84789a01cc53182e36f0c8c4e33df595a3af1e9d5c7efad39ea6aa24d640a0039c6ab6
|
||||
EBUILD task-2.6.1.ebuild 1363 BLAKE2B 194af9d8ec57b6ee79b11cbb1f9c8443a83b3fb27f777284515042bcdcec1a26ccbbaa258ae399dd12b53ed621ecde55e2ceb281b62519424092d323ae2f97b4 SHA512 db59c98871348a7d2baf95f36ec1cafd325287971a2bc677523c511433539e09a4d1d6a7778855e470067b252a6aed7939921219f04160e2c69d280830a87457
|
||||
EBUILD task-2.6.1-r2.ebuild 1450 BLAKE2B 71be676510265b2b326275c15445deb2147fef1e674e1250dd0eaf5f8484151651b23f057480b6492c38274387cac89bacff048d9a81e2d41e49e27b29d039e2 SHA512 f50076068d96231d6d25d19a6c980bf701b35a14400f17e0166b2802c54681df81735a689a386e021337cc6c050fd34d99a9e68d40a1778c5b20f416cbebbe97
|
||||
EBUILD task-2.6.2.ebuild 1452 BLAKE2B 10da76901d78dc09c9b0672413e51cb5c7c93b44be28a1d85302b5d3a26a4bbecb01a37f88e00e81fd59aa5374b7f6ddb9d633215127740be4d7bfe0c5f426f9 SHA512 e5052aeec3bac269c135822ca9bb5c079f4715547265937cfe7823fd9b84789a01cc53182e36f0c8c4e33df595a3af1e9d5c7efad39ea6aa24d640a0039c6ab6
|
||||
MISC metadata.xml 466 BLAKE2B f2da2e60c939ef2864d1463434c7581457f8d05435cd428038f18fd00ce7cc24a92dc57430e35ff82927188f4a82f9e20f9f0da5272b7c63d0cf00901740747f SHA512 2211e19b9bec481fb3723596e8aba2c560071910c96f9225b4eb33da132a0563e36b2c6edb574c54061bcf480033cc5eecb3095b6ca1bd56fc7e8c3d38a08225
|
||||
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg
|
||||
|
||||
DESCRIPTION="Collection of data extractors for Tracker/Nepomuk"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="3"
|
||||
IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg networkmanager +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps"
|
||||
|
||||
REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); so choose ICU over enca always here for the time being (ICU is preferred)
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.70:2
|
||||
>=app-misc/tracker-3.2.0:3=
|
||||
gstreamer? (
|
||||
>=media-libs/gstreamer-1.20:1.0
|
||||
>=media-libs/gst-plugins-base-1.20:1.0
|
||||
>=media-plugins/gst-plugins-meta-1.20:1.0 )
|
||||
!gstreamer? (
|
||||
ffmpeg? ( media-video/ffmpeg:0= ) )
|
||||
|
||||
>=sys-apps/dbus-1.3.1
|
||||
xmp? ( >=media-libs/exempi-2.1.0:= )
|
||||
raw? ( media-libs/gexiv2 )
|
||||
>=dev-libs/icu-4.8.1.2:=
|
||||
cue? ( media-libs/libcue:= )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
gsf? ( >=gnome-extra/libgsf-1.14.24:= )
|
||||
xps? ( app-text/libgxps )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
iso? ( >=sys-libs/libosinfo-0.2.10 )
|
||||
>=media-libs/libpng-1.2:0=
|
||||
seccomp? ( >=sys-libs/libseccomp-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
pdf? ( >=app-text/poppler-0.16.0[cairo] )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-3:= )
|
||||
upower? ( >=sys-power/upower-0.9.0 )
|
||||
sys-libs/zlib:0
|
||||
gif? ( media-libs/giflib:= )
|
||||
|
||||
networkmanager? ( net-misc/networkmanager:= )
|
||||
|
||||
rss? ( >=net-libs/libgrss-0.7:0 )
|
||||
app-arch/gzip
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
dev-util/glib-utils
|
||||
dev-util/gdbus-codegen
|
||||
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[introspection]
|
||||
|| (
|
||||
media-plugins/gst-plugins-libav:1.0
|
||||
media-plugins/gst-plugins-openh264:1.0
|
||||
)
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/tappy[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Avoid gst-inspect calls that may trigger sandbox; instead assume the detection will succeed and add the needed test deps for that
|
||||
if use gstreamer; then
|
||||
sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die
|
||||
else
|
||||
sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die
|
||||
fi
|
||||
xdg_src_prepare
|
||||
gnome2_environment_reset # sets gstreamer safety variables
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
local media_extractor="none"
|
||||
if use gstreamer ; then
|
||||
media_extractor="gstreamer"
|
||||
elif use ffmpeg ; then
|
||||
media_extractor="libav"
|
||||
fi
|
||||
|
||||
local emesonargs=(
|
||||
-Dtracker_core=system
|
||||
|
||||
-Dman=true
|
||||
-Dextract=true
|
||||
$(meson_use test functional_tests)
|
||||
$(meson_use test tests_tap_protocol)
|
||||
-Dminer_fs=true
|
||||
$(meson_use rss miner_rss)
|
||||
-Dwriteback=true
|
||||
-Dabiword=true
|
||||
-Dicon=true
|
||||
-Dmp3=true
|
||||
-Dps=true
|
||||
-Dtext=true
|
||||
-Dunzip_ps_gz_files=true # spawns gunzip
|
||||
|
||||
$(meson_feature networkmanager network_manager)
|
||||
$(meson_feature cue)
|
||||
$(meson_feature exif)
|
||||
$(meson_feature gif)
|
||||
$(meson_feature gsf)
|
||||
$(meson_feature iptc)
|
||||
$(meson_feature iso)
|
||||
$(meson_feature jpeg)
|
||||
$(meson_feature pdf)
|
||||
$(meson_feature playlist)
|
||||
-Dpng=enabled
|
||||
$(meson_feature raw)
|
||||
$(meson_feature tiff)
|
||||
$(meson_feature xml)
|
||||
$(meson_feature xmp)
|
||||
$(meson_feature xps)
|
||||
|
||||
-Dbattery_detection=$(usex upower upower none)
|
||||
-Dcharset_detection=icu # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca
|
||||
-Dgeneric_media_extractor=${media_extractor}
|
||||
# gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default
|
||||
-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
|
||||
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
VALA_MIN_API_VERSION="0.40"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic gnome.org gnome2-utils linux-info meson python-any-r1 systemd vala xdg
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="3/0" # libtracker-sparql-3.0 soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="gtk-doc +miners stemmer test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PV_SERIES=$(ver_cut 1-2)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.52:2
|
||||
>=sys-apps/dbus-1.3.2
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
>=dev-libs/icu-4.8.1.2:=
|
||||
>=dev-libs/json-glib-1.4
|
||||
>=net-libs/libsoup-2.40.1:2.4
|
||||
>=dev-libs/libxml2-2.7
|
||||
>=dev-db/sqlite-3.29.0
|
||||
stemmer? ( dev-libs/snowball-stemmer:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
app-text/asciidoc
|
||||
dev-libs/libxslt
|
||||
$(vala_depend)
|
||||
gtk-doc? (
|
||||
>=dev-util/gtk-doc-1.8
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
|
||||
$(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
PDEPEND="miners? ( >=app-misc/tracker-miners-${PV_SERIES} )"
|
||||
|
||||
function inotify_enabled() {
|
||||
if linux_config_exists; then
|
||||
if ! linux_chkconfig_present INOTIFY_USER; then
|
||||
ewarn "You should enable the INOTIFY support in your kernel."
|
||||
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
|
||||
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
|
||||
die 'missing CONFIG_INOTIFY'
|
||||
fi
|
||||
else
|
||||
einfo "Could not check for INOTIFY support in your kernel."
|
||||
fi
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
use test || return 0
|
||||
has_version -b "dev-python/tappy[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
inotify_enabled
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
vala_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc docs)
|
||||
-Dman=true
|
||||
$(meson_feature stemmer)
|
||||
-Dunicode_support=icu
|
||||
-Dbash_completion_dir="$(get_bashcompdir)"
|
||||
-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
|
||||
$(meson_use test tests)
|
||||
-Dintrospection=enabled
|
||||
-Dsoup=soup2
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST gash-0.3.0.tar.gz 334781 BLAKE2B a654978f7ea4bb36ab3c6e194219e3796fae1f1c19d36919a068e384aa8b896445409186c2f34e92e447254cdac5e6fb86b2ea0c0810ea0fa72ea40f4c8f89e2 SHA512 14e4d6a4eababe07a59f694baad3942122d3df3109478bc52c352431b0e0c13f7246ba722276d314f04a15cec78159cbbb390ce6df4d2eacecc2eaaf6987af59
|
||||
EBUILD gash-0.3.0.ebuild 683 BLAKE2B f4d07ebc45f44089bb0b4ad36c8f6085c12c5c26ec0bd9b91c769f57a92716e5cb575ae682b521c8f4e39c12d41b66046e4d46d2591d2fd1737357728b4ce7e9 SHA512 74428f09897c29be45b68fbcec6ed5c079410439a581917d004865bbee8ad689dde5501148d3b9a3c679068e91370183b532dae7c02ebae9d475db866dd5bd1b
|
||||
MISC metadata.xml 540 BLAKE2B a905bcb1a3444f162e5f94d301ff937e07c47c60e3def129d66368c7f98def5692c69c84a76fb4dd11c0ca5f22659e6b053cdaf96b4c88f4fd8c259288296a9b SHA512 a6aefe996e229f86b9298024e543610a9ab199d55800abc1e21b712dfd93419d91637acd458b1ed6cdb0eabbcd4527546c92b2b6727fc5b4cdee1f7a7a54f6b1
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="POSIX-compatible shell written in Guile Scheme"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/gash/"
|
||||
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND=">=dev-scheme/guile-2.0.0:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
# guile generates ELF files without use of C or machine code
|
||||
# It's a portage's false positive. bug #677600
|
||||
QA_PREBUILT='*[.]go'
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
|
||||
find "${S}" -name "*.scm" -exec touch {} + || die
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>scheme@gentoo.org</email>
|
||||
<name>Gentoo Scheme Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Gash is a POSIX-compatible shell written in Guile Scheme. It provides both
|
||||
the shell interface, as well as a Guile library for parsing shell scripts.
|
||||
Gash is designed to bootstrap Bash as part of the Guix bootstrap process.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST yelp-tools-41.0.tar.xz 38696 BLAKE2B 6e742e0a5c05c07fb3eb80fc10201650597fb36702edb1d9fc022895daf2837daed15a2b69b8bed7aaf0106139c7138e8f13b65b63cf18971e14eaeb0068b061 SHA512 76b8f9568942426698716d655bc2e7a614a26e40a820d1f4ce5021a54c6baa081d494bda06657cfc1c11999e14a8601c97ae51bb3519555b8ee1111489c0e10e
|
||||
DIST yelp-tools-42.0.tar.xz 38788 BLAKE2B 9dc34f4b32c9e705f427bccad5ff3c2cd222a1391a780dde145ea894e1065fc873fd4ef020d1b7809b653c8237fbedb7f0b07d684d8d906b7af7a0fd8ebf79e4 SHA512 ff6168a33b2dedd12f7fb5d5aa6394a554b7ad8956cc7121e5f1a520f9fb20bd4cad93e22b5e8b2f8aa82ca5a1711a0634d8619c731e46730084e28f29725786
|
||||
EBUILD yelp-tools-41.0.ebuild 938 BLAKE2B fcf0fe7e317d01bebcb1367f6b4fc2a6634031bf699b6f1b3f1dd4466904214f026e12a81cf5090c72ce0593715f1ba8dea4ee597161258c38f1cd46cde3dbb5 SHA512 b510ec02125d500cd606cab89f52230ecbb1339d71c97d4287f66e0583ad7584034cc39af7d987a8d01bb5357819f3dee918ef11f0a303853852f47369d72d8a
|
||||
EBUILD yelp-tools-42.0.ebuild 942 BLAKE2B 9c603b683ff08aa4bbe6843fb253e28cb217759a1e285bc617df00da9ea4edab1412c51e86ff841a352b5da449532db5d9dee0dd0ecf2b08f9a0d348d8599a2c SHA512 1ab63b8274adf359b1bd87740b78ec0077b998be4a684ac90945c238210a1ea698ffe2204600affdf7b2cc3e73407ded3e781d5ec933de3e43e789991ca47291
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit gnome2 meson python-single-r1
|
||||
|
||||
DESCRIPTION="Collection of tools for building and converting documentation"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Yelp/Tools"
|
||||
|
||||
LICENSE="|| ( GPL-2+ freedist ) GPL-2+" # yelp.m4 is GPL2 || freely distributable
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
|
||||
>=dev-libs/libxml2-2.6.12
|
||||
>=dev-libs/libxslt-1.1.8
|
||||
dev-util/itstool
|
||||
>=gnome-extra/yelp-xsl-3.38
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_fix_shebang "${ED}"/usr/bin/yelp-{build,check,new}
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
AUX zathura-pdf-mupdf-0.3.8-meson-mupdfthird.patch 719 BLAKE2B e8fee9b67dd4e3156eb48a69505bb81533751e29c9f05a46c5f93ea069eda042f72a24c4af1f804c28d2058ffe0d6ed646ba8f97610b113069cbadf05c841664 SHA512 a4b4a5b2d207ecd37a05d38f18f1f6a2df2acfaacf7a03fc97b14c3bf04441b3e0caa9aca30551fb4e12e0d41d1c4760d8033fb1c7a6b13dd8475453b59b529e
|
||||
DIST zathura-pdf-mupdf-0.3.6.tar.gz 8925 BLAKE2B ee74a1655da7d16070b8909dd0f44239eb21055a40a525b766dc3d9e81f84377abe0623ba33925a25739bccf885f8967496be30c27e421d30b1a78dd64b84aee SHA512 f6783c3fc08849d7dc6fd527b7fcdb51d4ef9214379ca6b4dc6d29e75b10f37e3ada2046e205449a7d0465f07e65a6cf3f2f44fba98360cba16676e705390a97
|
||||
DIST zathura-pdf-mupdf-0.3.7.tar.gz 8957 BLAKE2B e25412423ba8ec7c9c96d320129f9a3e71a974a118476f2720a356a0c51476f7c827d16b4fbb00d4cebcd803e75ff34b5e7d5c024db57fae17861c137487e021 SHA512 1e27bcf0fc2eb730e77d3dab7c25575e0ae830ca251f380d740a4b8bef588122d279b2c97a7b75fb749daaf24bb458cd54ec7a11321d75bfb5c1b4b0dc0fccac
|
||||
DIST zathura-pdf-mupdf-0.3.8.tar.gz 9198 BLAKE2B b873d3352d4f324d5dfceebe0ca1cd13e5e5b9bbedf89a5fdae553a2d2cf59ece455bbe931fc021310a7be3c765663ef73931016d48abaedaf2d3488f96d0866 SHA512 5742f22fc919af390a8a42f64640c36aaf1499a20d1c6603e70cc47b3f6634dafc94a31bfbb30c88524ac0c18c040f0fd6c63d236dbb556784cb17a9b0446374
|
||||
EBUILD zathura-pdf-mupdf-0.3.6.ebuild 802 BLAKE2B 0d21f475acdc3b1db922101a735e23aa981ed6eac5f9998cd9f6c149ffbf4f127a76bff6dd2bb95fc610ad29367f498325de498f259a14ff46a5c8462b9822c5 SHA512 9f9e1d8f6600d6689a8f67d20cfea8a98b2884522e2e213ae48b33b6c229433f2e10cc502b7ee60672ead65ac6385096f812b07318dd4f082faaf7eae8a96c84
|
||||
EBUILD zathura-pdf-mupdf-0.3.7-r1.ebuild 770 BLAKE2B b03dbb81d5570940d90c4f91c755a5c95ff9e09b9932a44e8a0edcad2811762f8ddf20d78fa17dafe91d3e7984c9bbe5f0c9b7cb89032f1d6fee4a1dbf42db9a SHA512 3284605db9a02201670e81ce465bd8c3005b4755114ba2e92dfe76fd60242d5cfaa5ce32bc1ed53f90be60213a5ed7e089db4ae98ae6f81380b5d06e4ec8b6d6
|
||||
EBUILD zathura-pdf-mupdf-0.3.8.ebuild 831 BLAKE2B c2f8f64744a4aaa57708745edb3d3256e22f51d0e96643376fb79b3af96e2904000b2a2b0fb5af9123d886da83d91544787e1e29e3bc485b507f3e7e2a33bd3e SHA512 1bafe45d1a7c84105845607d3676c5cfb912d49d1263316d6a1f39eee2315078ff3b52231d9f07a4276cd30aa789e92c75d467c26e5c3453739181d487676424
|
||||
EBUILD zathura-pdf-mupdf-9999.ebuild 846 BLAKE2B d950486cfcd743d7eb94028936de5987a8e179fb27b4b7bed7bc777990839b917beaaaf817deb847d7f7397a316940f608e5e7eea7f32b7a40a399a6884a0f5c SHA512 239dfe881f0c965a5e61efae8add848111e2f3734743bf4c66aefce9b1076ec05b4dac92ba64c122358ba50e3764fcda3c549eec629d82e484f0b6223c5cf905
|
||||
EBUILD zathura-pdf-mupdf-0.3.8-r1.ebuild 785 BLAKE2B 336dfbe9ca9871b1d71fee5cbd51f6fc769f5b9907c8a00ba61863df404448d127cfe7fe406eb2fc21f1f40bf4651d37a2260584356f18d5b2c62e650f356653 SHA512 92bcb8d41fcaf8c50db35bb4e32c03112e09713a67741acf52897063679251337a5c29ea6fed0d3cfdd0c6f68c3b9911b0017e2b8c928dd01fce3b5a93262f10
|
||||
EBUILD zathura-pdf-mupdf-9999.ebuild 800 BLAKE2B 8ba3913b6ba61dbc596710d20d0eac03ff8b9b7e047cb813068967535581ccfce9e090e207c050612e40f349e9ae261cba9946de0b8a1b63ef2df61ef761b8c4 SHA512 67a0f4320d42f8dcebe092ccb71fa3b1e21afd9292d7a7cd549ff6ef7fa79d9a493d61be06996b180787cdcfbd02934685c0ee83f4cf923e7aa3ec302e715bb2
|
||||
MISC metadata.xml 827 BLAKE2B 3260695042be5b2fa3df9337f1888467d43d79c210d466c9cad94c12f50400563e3c7a34aaa920d43160835fa90267c39a8266a927c184b60b86ab520a9deafc SHA512 1129c85640589275b1a973de6b5b61cfd1e54a294cb405e9e6b42e6b58bc92e3f82cfded1f6e7e8d49f2d81203f761a871085771c4eb0b2fe11cb1da190b3e5c
|
||||
|
@ -0,0 +1,24 @@
|
||||
https://bugs.gentoo.org/835592
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -20,7 +20,6 @@ girara = dependency('girara-gtk3')
|
||||
glib = dependency('glib-2.0')
|
||||
cairo = dependency('cairo')
|
||||
mupdf = dependency('mupdf', required: false)
|
||||
-mupdfthird = cc.find_library('mupdf-third')
|
||||
|
||||
build_dependencies = [
|
||||
zathura,
|
||||
@@ -32,10 +31,10 @@ build_dependencies = [
|
||||
if not mupdf.found()
|
||||
# normal build of mupdf
|
||||
mupdf = cc.find_library('mupdf')
|
||||
- build_dependencies += [mupdf, mupdfthird]
|
||||
+ build_dependencies += [mupdf]
|
||||
else
|
||||
# build from Debian's libmupdf-dev
|
||||
- build_dependencies += [mupdf, mupdfthird]
|
||||
+ build_dependencies += [mupdf]
|
||||
|
||||
libjpeg = dependency('libjpeg')
|
||||
libjbig2dec = cc.find_library('jbig2dec')
|
Binary file not shown.
@ -1,9 +1,8 @@
|
||||
AUX asio-1.22.1-cpp20ex.patch 664 BLAKE2B bef8ef8e761832f1268f3dfca4fb666fd2a3e70a6cd69c1aa9ed0c0a78d6ba0b9d10f08028285925a1aaa5a1fbb80cf4f402b0ad185a89b473328e3654346c0a SHA512 4f7edcc30206c1d9048352e11a28e31fa24c19419560fbeb4456f9481ac0b7c22dcf09a27e446b4eea656126a7322b9e00ba0175c581fe0b4dd9ed61955e7a36
|
||||
DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
|
||||
DIST asio-1.19.2.tar.bz2 1842597 BLAKE2B b2236c33432984ab660eba4c93be32374bb49f688a1e6a0711d7bac322cc4a7f817db209278f216468c6a72b9d3dd564cf298e1f49f8098c3fd9aec7acd66eb7 SHA512 07f9c29d8f02090b4d4b6a1867bcc07a8e9f3388556dff787ca3ba143022eeb63bfac0b5bc264076fed4db3b2e5ec6b7ff0ebefde40ba4753c832032a72d54cc
|
||||
DIST asio-1.20.0.tar.bz2 1845826 BLAKE2B a768dc0b9ae380bef07d674507f7571d0bc47e182cdde10b24cee246814874dd7739c523b071dfede61a12059f52e04d7bbd309a03d93070bc1dd4640c253c19 SHA512 6421960abd2cf0c205cc50e86adfe492bca2870b486328b4825dc0cefc9c40cdc085516d474c23e15a73f4c108c0e69add5fab6dbe594a1e53636c5c3027e4c5
|
||||
DIST asio-1.21.0.tar.bz2 1967398 BLAKE2B 95e0ba44910e7450e614011b487acac0cd292302c0f502ec678639b70af7e6f9b86ee2c50c7f7e3e3437ce4474323e44b5e371c08f3a9ed464ffb3f428de728b SHA512 62252b2d3ca4fb99579c5fe57bf64b700792198dd7fa45acb4af7f64e83494bade1885b848f9e364f4c42d9db025841324cbd9a0fd3fe45526e7e4be6f60f8c0
|
||||
DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479
|
||||
EBUILD asio-1.10.8.ebuild 921 BLAKE2B b71d193effac85b1774bf187f61b92d40d23fca104a210d18471dfb1b5c7e0d9d9615ba740627013493428ed355156bc927e4502eaf21d2c83c3340ff8ce865f SHA512 022d5a995aa8b5aedcc864fe903c8c4611dc7d5bd0f6e5e3492444d4d5ca374093cf74c08b5a2119f851894bfbe9bfb760f2c3ed2e2945a09ae0df3cb7626849
|
||||
EBUILD asio-1.19.2.ebuild 941 BLAKE2B 451a472e38271e36d7bf4dc660c251475ef2781b748c4215330ea0b7db93ff1fa940f119d2fc98893a9667d68a34f9cc7132ee8b3e8b8867450beca8a7436830 SHA512 2cab95165d0414b7d5209cc8938a3f33423679e5909540aa2cdf23ba988e7c122dcb93564b4746566ac369306f495dfdc125082a62a2f0ebaf7352a0880c9fe4
|
||||
EBUILD asio-1.20.0.ebuild 941 BLAKE2B 451a472e38271e36d7bf4dc660c251475ef2781b748c4215330ea0b7db93ff1fa940f119d2fc98893a9667d68a34f9cc7132ee8b3e8b8867450beca8a7436830 SHA512 2cab95165d0414b7d5209cc8938a3f33423679e5909540aa2cdf23ba988e7c122dcb93564b4746566ac369306f495dfdc125082a62a2f0ebaf7352a0880c9fe4
|
||||
EBUILD asio-1.21.0.ebuild 941 BLAKE2B 451a472e38271e36d7bf4dc660c251475ef2781b748c4215330ea0b7db93ff1fa940f119d2fc98893a9667d68a34f9cc7132ee8b3e8b8867450beca8a7436830 SHA512 2cab95165d0414b7d5209cc8938a3f33423679e5909540aa2cdf23ba988e7c122dcb93564b4746566ac369306f495dfdc125082a62a2f0ebaf7352a0880c9fe4
|
||||
EBUILD asio-1.22.1.ebuild 1187 BLAKE2B afd85ce684e834dd8a0e02c7e5551af496e3da72b9f3c658ed9a543b1fe518b91647b3e4467a5c117f6a9a8eea141009b296d4026feb458164425de13834837d SHA512 ee2dcdf16fac6d3a9615a0c8f4f6ece8c855d7277bc039710e11165478e06fefe0204b53efa652645c7edd996da9e948d68dcef459d1caa96c41c7ce8e0cac29
|
||||
MISC metadata.xml 487 BLAKE2B 57785b73f498590d36241612367eda9036cc4ce85baa6c59e45a4c4f0b696f24f7bbe012eef33dd2e29a9c82fad82f75639e55f9c7a6e2e001b7ab48b65787cc SHA512 4a4f9713ea7274f730707dda0f2de0e0c19e50166466c0b8c3e5053e44fa5df02866235cfd97ebeaff15271cce662f1ae19383c0023813d429eded937d9b9cfb
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Asynchronous Network Library"
|
||||
HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-libs/boost
|
||||
dev-libs/openssl
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use test; then
|
||||
# Don't build nor install any examples or unittests
|
||||
# since we don't have a script to run them
|
||||
cat > src/Makefile.in <<-EOF || die
|
||||
all:
|
||||
|
||||
install:
|
||||
|
||||
clean:
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( doc/. )
|
||||
default
|
||||
|
||||
if use examples; then
|
||||
# Get rid of the object files
|
||||
emake clean
|
||||
dodoc -r src/examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
The cpp20 dir doesn't exist
|
||||
https://github.com/chriskohlhoff/asio/issues/1026
|
||||
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -15,7 +15,6 @@ EXAMPLES_CPP17 = examples/cpp17
|
||||
endif
|
||||
|
||||
if HAVE_CXX20
|
||||
-EXAMPLES_CPP20 = examples/cpp20
|
||||
endif
|
||||
|
||||
SUBDIRS = \
|
||||
@@ -23,7 +22,6 @@ SUBDIRS = \
|
||||
$(EXAMPLES_CPP11) \
|
||||
$(EXAMPLES_CPP14) \
|
||||
$(EXAMPLES_CPP17) \
|
||||
- $(EXAMPLES_CPP20) \
|
||||
tests
|
||||
|
||||
DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -241,4 +241,4 @@ AC_OUTPUT([
|
||||
src/examples/cpp11/Makefile
|
||||
src/examples/cpp14/Makefile
|
||||
src/examples/cpp17/Makefile
|
||||
- src/examples/cpp20/Makefile])
|
||||
+ ])
|
@ -1,7 +1,9 @@
|
||||
DIST folly-2022.02.28.00.tar.gz 3600258 BLAKE2B 5943b0e4b6178c8293714f673ed289daed26b1dad22dcb52dc80475f385961cf0a690accc44139f245f2df5cf10c0bdb5638c8bed52cb97fefd3ad6d8dc147b8 SHA512 91ee21e463ffc6eee3b0e5e0244721a9612337b9afe92645556a154f521aec1070f4f381962247bb9bf11592efb5b8bb01f70d1a66acd3444967538062dfe826
|
||||
DIST folly-2022.03.07.00.tar.gz 3604306 BLAKE2B fe255678d6f827c82ada3e136742d07bd62dfb81c1250ca6bae9a4f3e1f015904032da8de1488342da1326fa520b448c63a59ef7e0139ecb0844a1ae19c1dfed SHA512 e63eff137711ca71b5a78469e4feff1b4e7b65465413eefb91b7c0cb26b94e1d581a305a9df9937ce05bcd8af3dc465adb816ad95538689811d8ab5b5b9f269f
|
||||
DIST folly-2022.03.14.00.tar.gz 3605018 BLAKE2B 11a58e3c23c1e1299c16821e552d500f8215d2fb2fbdee3699b8487e1073196dfc322461e7670d3968c703d84b0b526d2479bcb74005b763f195ce48f04a419d SHA512 0b3710862360788eb55dc40703e3862f57819acf217287f13ce125b56692c4e5b1de12289f02520ecca9007fa872a69e8936df0ec9260adf974a88286489a9b1
|
||||
DIST folly-2022.03.21.00.tar.gz 3611725 BLAKE2B 6b0d3431810a26484b2c15a8ba4b245e720d717364a4305269b3adabaa2d005466dfd7ad086b38cb06ee2a2d5908e903e68486aadc62834a32b4fe59cd313095 SHA512 4e0fda55f007179883af30024fe1d389642159b1b4c915f7ef1a3c1003c8c52e2370f53ffa79d5fa75533d33becfb946d2bcbb2abdc62b9a297f977403d13dd7
|
||||
EBUILD folly-2022.02.28.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||
EBUILD folly-2022.03.07.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||
EBUILD folly-2022.03.14.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||
EBUILD folly-2022.03.21.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||
MISC metadata.xml 319 BLAKE2B 0c8d18b906a50ee77fef7db1f99206b1c4d38dfa7913de363474609bcce38956be8d0958bc400c704ad743396db7230fb0098c83f1caa16ca998d6fd5576369c SHA512 8b077d5d5bf60f0ed5b36aef48188f431ca0675f80190beb407a58fa48fc6f8a48db161b8cde775ab6cfb54a01438fa5edddf0098e80a65b29a403a7f3a2c027
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="An open-source C++ library developed and used at Facebook"
|
||||
HOMEPAGE="https://github.com/facebook/folly"
|
||||
SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="llvm-libunwind test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
app-arch/lz4:=
|
||||
app-arch/snappy:=
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd:=
|
||||
dev-cpp/gflags:=
|
||||
dev-cpp/glog[gflags]
|
||||
dev-libs/boost:=[context,threads(+)]
|
||||
dev-libs/double-conversion:=
|
||||
dev-libs/libaio
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/libsodium:=
|
||||
dev-libs/openssl:=
|
||||
sys-libs/liburing:=
|
||||
sys-libs/zlib
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:= )"
|
||||
# libiberty is linked statically
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/binutils-libs"
|
||||
BDEPEND="test? ( sys-devel/clang )"
|
||||
|
||||
pkg_setup() {
|
||||
if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then
|
||||
ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)"
|
||||
ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)"
|
||||
|
||||
export CC=${CHOST}-clang
|
||||
export CXX=${CHOST}-clang++
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# TODO: liburing could in theory be optional but fails to link
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST gtkmm-2.24.5.tar.xz 12022024 BLAKE2B 6b2bca9fe6ad81cd956e1f3cc3140bc503b78386cf3931c8eeac08c8b2a08c73450bdbb703d1febaee67cdf834093ff5e89790f866357190822613a68a596ad3 SHA512 c50e52830977c37181439f4b82a30ac8bead0cf9022d2bec8225f8dc33e08414f863bf67056e1938fae8f888c09a5a6d757acc011fa9331a78caa6bb626dd51e
|
||||
DIST gtkmm-3.24.5.tar.xz 13540488 BLAKE2B b55c55e4bb56bc835be9c09dae59ee103fb0ae80ee99bb54c36c366686f4f1a0309435e91c2e323d7ebfabf7922b76ac85de6a1132c53ab708ba17be661d834b SHA512 8cc5aed26cc631123a5b38bc19643cf9e900beb38681b29ead9049f6b8f930f0b8ace317b8290279ab89cad85075dcb66863174082f77a2b67e4d8bd3c29de49
|
||||
DIST gtkmm-4.6.0.tar.xz 13910344 BLAKE2B fd46c2e0fbda32daf472cae00591ab2cff6027dc0dfeee627ab1e3ac8d44066e702781ba452926dd808b30de260f9f6700242b0d80abd91b2b3ee5faef6eee17 SHA512 d1040be44d133cfa016efc581b79c5303806d0d441b57dcc22bd84a05c3e7934f9b7b894e71d7f4a0be332daba3dd58ef558f58070b83bf8a9de7d1027d92199
|
||||
DIST gtkmm-4.6.1.tar.xz 13911284 BLAKE2B a456d19a7a5146f6a4ba93a77a053318353f14152488703c77c5a5d8532b1caa074954af875559bea8739022e4ca2cda49ed6a424946362bf39c0acd94a3a69c SHA512 87867deb2b4b0e50841e42d5957f9030c31c4ec1178b71a884a84c3c3aca178100ceb011729559f8f8f761dbe241c3cf4d420cc16c5b5aedcdd1d78f582d006d
|
||||
EBUILD gtkmm-2.24.5-r1.ebuild 1536 BLAKE2B a2e3b097ac226e72ca62ee4f66cb6cab334de7422a4c61f45a30898df261d0ee7b7cdce4267ad1e2e1e1410e2eba6773d5c42a7374ba16f43a2bac27607b48a2 SHA512 552d38fbb89a06580a2f1ea7305357198e5d8b329aec1d0b38352f443442d489688d00c702181c30aba2708826a926092604cda8d5200065a792be623920cdf9
|
||||
EBUILD gtkmm-3.24.5.ebuild 1372 BLAKE2B fad17eb7a7aa67b1fdba65d42558bc5facef1a28b036635bcb2ec2813114ce259f3200d9b6aa06f0fc78353b1abbd8ed0fe9bee2668786b90b06e3e818d9db49 SHA512 8b8d26eb6b3d15c159ba466ee12cf28dff55d5c95622c31647b8a85cf65c4caf820a8e135019fc97cce7ef2ba10710b8ebdc0450568e8bc3f54299549a3df89c
|
||||
EBUILD gtkmm-4.6.0.ebuild 991 BLAKE2B 7299f8bfdc1dcc8e9ddc75d251540368555f09c9c32112dee19d4f0c4151b9f655cde42b8bee58748225743369d58754252cb96b1041c3801d9a6fab684f0027 SHA512 516c52e0839d3ca3349358f32b167ee5e6bc9dd8cf59da58e42f6eaa1a542b6a5e75c2f3d649dd99e29717d0a1b2327995d7a682905e1d1c6339fc91242ae3bf
|
||||
EBUILD gtkmm-4.6.1.ebuild 992 BLAKE2B f0ab512aed881459c4c4c2804aaa90b58d161be5fc8c8f8e468991a6042aa63a0f356b4218dcbf2889c0c8f6a35dc61710be4bb9a9dee18d98e0fb42449dbee8 SHA512 a4648c8a24f80ea069b9ac063c73bc1a6bc664ce10a6e313e3e080ab11f913a135291d0ece42431b642c0f258d054b25c8be413b2a51444cf83219b6b273a9f7
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit gnome.org meson python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="C++ interface for GTK+"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="doc test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/glibmm-2.68.0:2.68[doc?]
|
||||
>=gui-libs/gtk-4.6.0:4
|
||||
>=dev-cpp/cairomm-1.15.4:1.16[doc?]
|
||||
>=dev-cpp/pangomm-2.50.0:2.48[doc?]
|
||||
>=x11-libs/gdk-pixbuf-2.35.5:2
|
||||
>=media-libs/libepoxy-1.2
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
doc? ( dev-libs/libsigc++:3 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
)
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dbuild-demos=false
|
||||
$(meson_use doc build-documentation)
|
||||
$(meson_use test build-tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST platformio-5.2.4.tar.gz 254337 BLAKE2B e29b69a514b5f3bc6faefb15dd4e3195152d74b763961c35c33cd9e44bcd430920dc2f4d553244c2ac1bb83d745c006c67d2d52973fa07562c8b98d8e74a2ac3 SHA512 f90c1f5d9dcada99c610003b26ccaa4e08c214757d0c26daeea3cae006a02179aea1eb0bc656751913d0b2c4161195b1afe9ab0eaab5ad594ff986f6b56728f8
|
||||
EBUILD platformio-5.2.4-r1.ebuild 2499 BLAKE2B c44903b8f9b69f5c6056ff3daa9aa6693bf4de3885071c82e35a824c0340d425413c54fe80597c4f7675bf67753716b27c252c1c56d4e00af0412496586bdc7a SHA512 95fe995e292bbc7fc9dcb26e6992d5f4415d7643c5afcccf6735c0467ad6650dd2aa52f493342b446f5a725789d464599171dd4dcf0553c14929d6596d0010d4
|
||||
EBUILD platformio-5.2.4.ebuild 2362 BLAKE2B 19f53c899a5ae8af72fc92cea34ca287d011b539e2516ad591b4a3ee7ab7f7c6cab31d84c42972088c05b82a974e72196da564d7798ba010b9e89dd65750ebc8 SHA512 0097bcfe69144912e94599b83cec2cba90c41ae6eed4afb43b11ae4eea8cedbb52878b7d5e9642c4bd2128fbe21a387052dbbcf29e17646840d7c728f4e01d17
|
||||
DIST platformio-5.2.5.tar.gz 254813 BLAKE2B 96911a64f8e73567820ef2c7b2297ed9e32c36c65c49572af6037c2666da4072bdf920dc31e8de7e07296eb7f1b407c47191d68a80ed212a9c351dfca604b408 SHA512 cf939254c231bb2cb97ac509175b7235a6a2ba447e55a2d9a59a9fe610656743c190f00cb7bfa1fc2e6b64487be7f02a193e2f270236bbb9200537f19175dc22
|
||||
EBUILD platformio-5.2.5.ebuild 2496 BLAKE2B 5f76581a4d3f25b5782111e8ddccf698f2192700817f1d4217fab83d54206ce22db4acce8af731f8ed9d0b47a38ce2ed984f12b23a39f5d52c90e6374e56e74a SHA512 20d19030b8f4373653df4185931bfe71760fbb5ce9fdd8772bd3717d066f7fc9bcd896a002c56d5ce61d642334a02313e66e97fa89b2d5898d75ccf390e43d53
|
||||
MISC metadata.xml 249 BLAKE2B 0d8c6b8e9873180a796f77c5194270389ae642d0d888d7fa1bbada89861dc1ba1bd9f238acd76f7a07a3eb694ac8bdb19927012814a03ed8d3e87f40676979d1 SHA512 1ac8ddbe837cb8db85bb6e4ee59a6e98554c04231c54cb5158fbe7dda3230aaeb02ab66ff374f5bb348e84159588b0740c43acd99ed590939db70bbd2f15d265
|
||||
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1 udev
|
||||
|
||||
DESCRIPTION="An open source ecosystem for IoT development"
|
||||
HOMEPAGE="https://platformio.org/"
|
||||
SRC_URI="https://github.com/platformio/platformio-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-core-${PV}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/aiofiles-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/ajsonrpc[${PYTHON_USEDEP}]
|
||||
<dev-python/bottle-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/click-9[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyserial-3[${PYTHON_USEDEP}]
|
||||
<dev-python/pyserial-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.4[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/semantic_version-2.8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/semantic_version-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]
|
||||
<dev-python/tabulate-1[${PYTHON_USEDEP}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyelftools-0.25[${PYTHON_USEDEP}]
|
||||
<dev-python/pyelftools-1[${PYTHON_USEDEP}]
|
||||
>=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/starlette-0.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/uvicorn-0.16[${PYTHON_USEDEP}]
|
||||
dev-python/wsproto[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/udev"
|
||||
DEPEND="virtual/udev"
|
||||
BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )"
|
||||
|
||||
# This list could be refined a bit to have individual tests which need network
|
||||
# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now.
|
||||
EPYTEST_IGNORE=(
|
||||
# Requires network access
|
||||
tests/test_builder.py
|
||||
tests/package/test_manager.py
|
||||
tests/package/test_manifest.py
|
||||
tests/commands/test_platform.py
|
||||
tests/commands/test_test.py
|
||||
tests/commands/test_ci.py
|
||||
tests/commands/test_init.py
|
||||
tests/commands/test_lib.py
|
||||
tests/commands/test_lib_complex.py
|
||||
tests/commands/test_boards.py
|
||||
tests/commands/test_check.py
|
||||
tests/test_ino2cpp.py
|
||||
tests/test_maintenance.py
|
||||
tests/test_misc.py
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
udev_dorules scripts/99-platformio-udev.rules
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
|
||||
inherit python-r1 systemd
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-2)"
|
||||
MY_BASE_URL="https://archive.raspberrypi.org/debian/pool/main/r/${PN}/${PN}_$(ver_cut 1-2)"
|
||||
DESCRIPTION="Updater for Raspberry Pi 4 bootloader and the VL805 USB controller"
|
||||
HOMEPAGE="https://github.com/raspberrypi/rpi-eeprom/"
|
||||
SRC_URI="${MY_BASE_URL}-$(ver_cut 4).debian.tar.xz
|
||||
${MY_BASE_URL}.orig.tar.gz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="BSD rpi-eeprom"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~arm64"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
BDEPEND="sys-apps/help2man"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
sys-apps/flashrom
|
||||
sys-apps/pciutils
|
||||
|| (
|
||||
>=media-libs/raspberrypi-userland-0_pre20201022
|
||||
>=media-libs/raspberrypi-userland-bin-1.20201022
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's:/etc/default/rpi-eeprom-update:/etc/conf.d/rpi-eeprom-update:' \
|
||||
"${MY_P}/rpi-eeprom-update" || die "Failed sed on rpi-eeprom-update"
|
||||
sed -i \
|
||||
-e 's:/usr/bin/rpi-eeprom-update:/usr/sbin/rpi-eeprom-update:' \
|
||||
"debian/rpi-eeprom.rpi-eeprom-update.service" || die "Failed sed on rpi-eeprom.rpi-eeprom-update.service"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${MY_P}" 1>/dev/null || die "Cannot change into directory ${MY_P}"
|
||||
|
||||
python_scriptinto /usr/sbin
|
||||
python_foreach_impl python_newscript rpi-eeprom-config rpi-eeprom-config
|
||||
|
||||
dosbin rpi-eeprom-update rpi-eeprom-digest
|
||||
keepdir /var/lib/raspberrypi/bootloader/backup
|
||||
|
||||
for dir in critical stable beta; do
|
||||
insinto /lib/firmware/raspberrypi/bootloader
|
||||
doins -r firmware/${dir}
|
||||
done
|
||||
|
||||
dodoc firmware/release-notes.md
|
||||
|
||||
help2man -N \
|
||||
--version-string="${PV}" --help-option="-h" \
|
||||
--name="Bootloader EEPROM configuration tool for the Raspberry Pi 4B" \
|
||||
--output=rpi-eeprom-config.1 ./rpi-eeprom-config || die "Failed to create manpage for rpi-eeprom-config"
|
||||
|
||||
help2man -N \
|
||||
--version-string="${PV}" --help-option="-h" \
|
||||
--name="Checks whether the Raspberry Pi bootloader EEPROM is \
|
||||
up-to-date and updates the EEPROM" \
|
||||
--output=rpi-eeprom-update.1 ./rpi-eeprom-update || die "Failed to create manpage for rpi-eeprom-update"
|
||||
|
||||
doman rpi-eeprom-update.1 rpi-eeprom-config.1
|
||||
|
||||
newconfd rpi-eeprom-update-default rpi-eeprom-update
|
||||
|
||||
popd 1>/dev/null || die
|
||||
|
||||
pushd debian 1>/dev/null || die "Cannot change into directory debian"
|
||||
|
||||
systemd_newunit rpi-eeprom.rpi-eeprom-update.service rpi-eeprom-update.service
|
||||
newdoc changelog changelog.Debian
|
||||
|
||||
popd 1>/dev/null || die
|
||||
|
||||
newinitd "${FILESDIR}/init.d_rpi-eeprom-update-1" "rpi-eeprom-update"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'To have rpi-eeprom-update run at each startup, enable and start either'
|
||||
elog '/etc/init.d/rpi-eeprom-update (for openrc users)'
|
||||
elog 'or'
|
||||
elog 'rpi-eeprom-update.service (for systemd users)'
|
||||
elog '/etc/conf.d/rpi-eeprom-update contains the configuration.'
|
||||
elog 'FIRMWARE_RELEASE_STATUS="critical|stable|beta" determines'
|
||||
elog 'which release track you get. "critical" is recommended and the default.'
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue