parent
9600880e68
commit
3b99164159
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29461 BLAKE2B f43cfab49491e9abccc899e389cda1d4da6f757c177c616dc68b1b3e13b9e1535aa77cb1ff8b468e7fe52c1ebea0e051d3e91b2e1c92778cc860a0951fe0a825 SHA512 5d4c5e8365b9954287633f726257b83e7da32fa74fab7c22371be38b8c192f4fafacf0d87e754e5a1ada00b9158c089157a00f9086463aa831d497f46a490118
|
||||
TIMESTAMP 2023-02-01T17:10:03Z
|
||||
MANIFEST Manifest.files.gz 29480 BLAKE2B e5d043b6794c0f73873617729b3c37ca0f0a7bbbde5250331a5ae86efcf4030d1f77e02b2f1d3fbd16f1e6db2e8c9eac0f08e3377fed96358db9cb9918f22308 SHA512 c245d7dd640db55377366fb3589bc3f04d4c6eaaae6e2b7dd0f282dd584682c46f8960e8d26c0d2ed85b65c01917dfff1462c2c1c40a75e6fb838c0021c83b79
|
||||
TIMESTAMP 2023-02-03T19:39:50Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmPanOtfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmPdYwZfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klA+jw//b88v12GUMlY2KlU++lghpscvtNn0bWHBUHaEu86Iq4LhrbMoJNqnW0Uw
|
||||
rJ7+y/JIxxxB6iyNj6pkykLib9hSfdT2P9cgDgYD1S6x79TPyqo/SV8wMMFuO+gX
|
||||
O/eiw2DOzp4+/uqKe1DEE4e3PaBOnwsc8RPhuYFtSSSYe8UuG61WDd96QXGaNybD
|
||||
LqgwByBLI4fcmDIIs/5yQPoXaUKJjB5EGS6qeGl/dPkyuGYZZNgDDSS+aYeX7KHo
|
||||
gKj9mkBHpUtQe+HVbUZ2svsfQ0l6HNgDxxK9rb54yZ9GVTbnZfeL5DKcQgAW+43h
|
||||
QreGz0uMTjOGO+mP0yDYIsmKag8Plk83V0ApQVHSfHwuPshwEsFkCLXwH/gZL5q0
|
||||
YQrCwWmDwq+i4YzBNnrMcRTXxzsTECByE4ROGVBPEmddd9oOuzVBNVSAxZaV3u6C
|
||||
veTcS6jO7Kb8Iy7QNP8FEvF/ZB89q2a8FEddc/TtpSDpQFrtwLchvnX2onbEn6NZ
|
||||
aUPaL3HAIlhnMk9BBa8zHWQXRuDpcIlCc9Xcw3DYf3khwUK6178fJibEBi1URY6J
|
||||
eIFAKHknI6a3cZUskFWi0pLUazpat6vak+soh2Kdlmk+ytgYE0RsQwif9oEKhfGZ
|
||||
yfWJ3Vda9IyUllrzEVKW++cRNZkv4oUBQOKkOfELOK/TB29cv6k=
|
||||
=V68l
|
||||
klBC9hAAs8n+xtCYqVwoa2NxXngyovr+4CqwHrZJpjkvdCo5GyUmbD45BXAskY2I
|
||||
0DISFLAYwpN4nDCc0Cp3OVkXZwu+L2QFCkoq8OQb7SpRFNxWp2nshp2UTt4nZ0Hp
|
||||
JfT+JUJjoakDVUJgbdsMDBb/wIi05SXt3vImD/+Q8klPIcd84SkBDC/rp2lfeRwP
|
||||
5cnvOi55XDLOz5r31e4iH6qVsSQoB7P5qAtMNO1PYiN0UcxPMYV37RHFZXbizWhm
|
||||
QD2rcmebEyhty6QB37Eq9J3QfvBdVBEl3We5eoRkhwk9rxIiPDC9oNpBSBVTW1RJ
|
||||
BUkgMck+I8sCFGl6OrLV+AKEk002QJgkfpEaPbeapSKTRlivOt4z0cq6fkMW702y
|
||||
k54gDp4uqAdKPmf9oC1BS9SJxinanUHu7RN6+pscw0zxmOXnXf1OcacHyxFNK79T
|
||||
0SqZ3IemybLi8jsb1lQYDRQZ2QLicZsbOqUV8bjlr8eLn3dRt/M4MfjLZtd3QUk+
|
||||
GZn6kqzPjvPtBK3anIPo3CO1C4dG/Ba1N1NRhalVlrieGhULeJgTWvLPCjvZG8SO
|
||||
CX9PXLbFW7A4I+OT+UQXiXQ9kaws6ShkaVFG2duWsV+n7DDmp++iY7Tk7R3kfL4A
|
||||
xrQskPojMk3Gha5HJoyBdiZkVRiaX9yxNvfgHqdiSpplqkOfu/M=
|
||||
=bucT
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD gkrellmd-0-r1.ebuild 151 BLAKE2B c077d551b13cd099b591cf05f5cc879c89bfff6a883f87a85ee642ef5237e0fc23a6f3d7e208220a06f6a7efa9ad8be1dae1d29187f8020485b9084461686d63 SHA512 b2277a80783de6683384877bb0d434f3dc4607e342ddff1591ebb247aeff4dbc8dc70f8082b0378ad208161e85c4e84719bce7543a75860807dd089ec003ad79
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
MISC metadata.xml 240 BLAKE2B 20c22d2d446cfcd6f2f430f2c444cd6d854d840e5161f595e4f738096d38db01c8cd305870b26623e98d8bbba239260975a53802caf4b678d1fe61a146aa660f SHA512 1af3286c63a60e89c2f87bd060eebb279858f4b21f9daedf4edcacd5906f35ddd6271397806771d6de1853cae1f3ecdd00ee6e05718fd7083ebc039e5cfa4832
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD gkrellmd-0-r1.ebuild 237 BLAKE2B 9d500334891a892f1938560f638900fab2ad167ed8f8153dc980a8ff5867ea683758c5e059c94521325bfdba44001dcbe6a77ef9ceb6cb563492a1510a5215fc SHA512 ef6e61d74dd7694935900f622d1a8f24ef3371e5c919c1e38d4a88495ff06671f2e55eef558c0bf633044ef20db02b0e61974df85564e3e1c95425d0d0db3b9c
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
MISC metadata.xml 240 BLAKE2B 20c22d2d446cfcd6f2f430f2c444cd6d854d840e5161f595e4f738096d38db01c8cd305870b26623e98d8bbba239260975a53802caf4b678d1fe61a146aa660f SHA512 1af3286c63a60e89c2f87bd060eebb279858f4b21f9daedf4edcacd5906f35ddd6271397806771d6de1853cae1f3ecdd00ee6e05718fd7083ebc039e5cfa4832
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST kontrast-22.08.3.tar.xz 128100 BLAKE2B c30380c716ace5f9d1987a9244350fb58592babc963d3b0bf312ca75e966fd9abe254898bd80b4f7bfdeb1d7bccc7424781ccdb0cd1b28784add6bf4edafe764 SHA512 18a1df4c888457f42c9a7273d6462479b8c44d87529b54868ea80c8fd8d9a8a20a96c25b9508a8cb4e93e94d6dd23d7251af1ca908d81a588002d1a29410d843
|
||||
DIST kontrast-22.12.1.tar.xz 201280 BLAKE2B c90b05b2b39b4b9964d631a93fce2d8b2d1827a55d21c7edfa0a9494d607ae19f397a1362c6565a88422634eb5db9c478180f7f40962df0ad13731094e1c666f SHA512 87fb736adb8056d04162fba8ac1640897d1e51814b770df7da635cda39f957a6a59ceadebb04f671adf4efc8bf5054d421a234015c3db6ddc3df787194249c42
|
||||
DIST kontrast-22.12.2.tar.xz 201536 BLAKE2B c7440ac19c8218fe2733952404525c1c2f644d7f07aa6a2940a6560423e01b92c9c2aba9d40e462b00cef0fa56ede5761e667d76de9e1d285cbd68ac7fde7927 SHA512 e0d2bef06bfeb254137d34e76764396406d78f6b2b7298c05931407e0c6076cb39e0ad1b904f81a75131c742d42a1193e1d5503e45ef1f2b7687e255e825e2f9
|
||||
EBUILD kontrast-22.08.3.ebuild 759 BLAKE2B b27f7e0da34001918842d1fcc208ce15e576d676231e39c082612e9530f335410eb453f65aff39d5a39e9801a4b7192718b61851c60fb9753747409a37928773 SHA512 2f6ab079e9fe1062046d497cbec5a09b0de0d00fd6affb8ca9a97090d34836497cd389dcf123ba8a4291b9cbfffdb82b4489313c1d39785d1cdfd44e14f67d8c
|
||||
EBUILD kontrast-22.12.1.ebuild 763 BLAKE2B 9e1dafc54f7a9e6e2bda4e9f6eb12ecf7c26ed24a05c7fa2772ddf7c39c4130bc5ade10f70979b9d7e2f99d286289390caa0ca71430bbe358fb2c78b3327dd1d SHA512 d056eedd984cc4935d604b4a864eba24cb98a8b482e4cd54f98fad3a36ab5586caad7b787ff867e2f3aa2d75a9d4af103813d699964bd7af18883f181c4cde65
|
||||
EBUILD kontrast-22.12.2.ebuild 763 BLAKE2B 9e1dafc54f7a9e6e2bda4e9f6eb12ecf7c26ed24a05c7fa2772ddf7c39c4130bc5ade10f70979b9d7e2f99d286289390caa0ca71430bbe358fb2c78b3327dd1d SHA512 d056eedd984cc4935d604b4a864eba24cb98a8b482e4cd54f98fad3a36ab5586caad7b787ff867e2f3aa2d75a9d4af103813d699964bd7af18883f181c4cde65
|
||||
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
|
||||
|
Binary file not shown.
@ -1,11 +1,9 @@
|
||||
AUX ansible-lint-6.8.1_test-module-check.patch 1576 BLAKE2B 4a5959f8528e7a9679a1fee76573a0e1bab602900efcd8c785473b9fa048cb0b771e58e3286b2353b800db42f78e05b2ee38b9ddf9b3b1dfb8af670a7770a754 SHA512 c8616dfdaec597ac914cd21598cb2e77af4422bae4ffb3d019715f9d825a13c4d7f2e5ec173b1f8bed025ac69b264cede8dd9362326390998dfc2d54ae287f24
|
||||
AUX ansible-lint-6.8.6_test-module-check.patch 1882 BLAKE2B e42bae381ba29c224768295d7bca4e13d1d6baf3cbfc8fa73bd827bff61f29c25855884cf0e9ad0fdb9b345a8b29d6ce718eafb004a9ef1e5c48401b0bfc1032 SHA512 6470e68f91b1e62cc24fedb1486bf059644f9b79c87bc621363c58fe45141ccacfeda316f495971a4f7e2ff7ab721668aabdec7f0a45cca09e9c252c65c26255
|
||||
DIST ansible-lint-6.11.0.tar.gz 427423 BLAKE2B 7b32afdfe25965b2fcb24af1587ab3d5a0c29a2ddad64180638a779050525c1a1f8406d97199e6118d83c2e51d3c0a8e81eda85381cf34292d3bfc93b79c1d34 SHA512 96221a7b409b2e68570d8731a721aea0eab0612b8a95fbb25701142ee65e4939c1c6dd59869c5d4ee07474d2a9ec84c2a7c913954740b9cbf89243bf3d35be9a
|
||||
DIST ansible-lint-6.12.0.tar.gz 466270 BLAKE2B 917a4266048799da15b0be4da3074b7e8987551eddfbaef9998d75346b41d5326b5003eae50e74a7303b9db923c49fe9dfc07bd19ac9a1bf168573673c401734 SHA512 cfea6bca35e835400eaec9bc1a00b4e0d7af9bd3505e924b1e9a9fe5a451103d02cfa6b5bb3dda7a154b52f1f2849a90ed5dff7f3873b93d1b16ca2333abc975
|
||||
DIST ansible-lint-6.8.2.gh.tar.gz 288616 BLAKE2B 4ae9c344d834a3d69a05689df296c7915e6eb7cb2a85b773f3adcc4efd898c3e1c9f32d8b1efda31afb7a5466d1966aa754cd5529c7dcfd6c1f45517d39e1750 SHA512 101be050772f6df827a697faa5ff9650c98959d9bd6e7a025a19c0ac94faa6b06e114b9122ae8f09f650be565b226189f4706ef8dd0f27548774664adccf3d18
|
||||
DIST ansible-lint-6.8.6.gh.tar.gz 293630 BLAKE2B aa43acb9cca21d3cdafebddb18d82781ab708d5696edc51567a8c56cc3eacb3bd96d08f97436eab54e69866f55fa6fc6537eb62e44e4d26eb3ee46ee13e7322d SHA512 0beb16ecff432444a25d3efa70f67eb55437faed593dfbb4bcaf080b06558403e711218f5a021268a2450ceeab1127d8dc8de027d1e4889350f20ca3d9ed9dca
|
||||
DIST ansible-lint-6.9.1.gh.tar.gz 388343 BLAKE2B 73035bdbd6c1bdee5566d5dee5a8461953d99bbaf896d7a9764c32419e74c3d23883ac1a7548de3e21372195f99c325c371cead7397bf64d6d033d9a2f81ed01 SHA512 eaf255c53fb8355b06e7013f6676a09e2d7e67aa332306448f530c345925c80ff5ea54c580f7f6720a25ebed9e8deb4c0a8e4e22af4183e8a8ef7b6999be6099
|
||||
EBUILD ansible-lint-6.11.0-r1.ebuild 1630 BLAKE2B 0cd57c18cf70715f6422238955ded92271e688ec639fc3f4c3d25e74b1891a1c78da835e031de182a9f57caf71092fc364fb6dec10c8927d0731d1f7201682b9 SHA512 a9ae982c7fed989d184fe5a84b8baa47a857110efa70da670bfc60cb5e4830a599aa5a3f21dcd19ce1fc8cd997ca37b3644d07f40c59a3b3179bd479f7bdba03
|
||||
EBUILD ansible-lint-6.12.0.ebuild 1630 BLAKE2B 0cd57c18cf70715f6422238955ded92271e688ec639fc3f4c3d25e74b1891a1c78da835e031de182a9f57caf71092fc364fb6dec10c8927d0731d1f7201682b9 SHA512 a9ae982c7fed989d184fe5a84b8baa47a857110efa70da670bfc60cb5e4830a599aa5a3f21dcd19ce1fc8cd997ca37b3644d07f40c59a3b3179bd479f7bdba03
|
||||
EBUILD ansible-lint-6.8.2.ebuild 2911 BLAKE2B 82e54612dff719f575aeb92460119932e83dd5896297a18ddca59a64bd831d9be67c308d7a3b6a7f2c564ba4fc9cfbda933044ba3c400a7cd09ea269ccef6dbf SHA512 b924b1ee6a3d60d1be14ed3c799a39a02aa9100b832bc7916af822dd5506da1da35243b5210cc044b1aa8815143cc3b817a2ed3b3fad504d009d670bb4b4a176
|
||||
EBUILD ansible-lint-6.8.6.ebuild 2932 BLAKE2B 13ef3958c1d6223366203b8a1572576c5a0473ab47666e75300a83b1425283efdc5e47b4bf6c91694e9b9fe95ffde689d8c0a0522fe08a360a1ef3a03a6e65a5 SHA512 b94d19d721de45d5d67f539479fb0cf773b94a22ce31c01074ae638bb7beeb109207b56f7ea4154df173ecfbf3a31ee2a0110efecc8d74097b8da4229b70ca5b
|
||||
EBUILD ansible-lint-6.9.1.ebuild 2961 BLAKE2B e25d4e539178cee703ceba44ac5c2752814a6dffed335f9da6b1eb57b5dfe4afe1d6d74bf0effdeaa1ebf839277e066599f0709d05659fedff9c15cf0704da58 SHA512 57acab5fab20c55d95ff509d57e9484d30c57d033d0eeaf48309df85e3d646d91cf9a1647138c5cbbe228f84e4dd1cb01dc5d7c2c5292805eb5b9be488879ed5
|
||||
EBUILD ansible-lint-6.9.1.ebuild 2960 BLAKE2B 5973a94b369f513e5def0b254ad306b0b2d5687818df498480fea723c0d304c4e60d954f1abf7a1e842c09d6289b19a4a80f1d2e159b5e1c4a1de448e4730dc2 SHA512 5a8985fbb9c9d877c4849b015135dcce4369f56bd5f3f922eff8309a61d108478c53d742c221c60f36b1510c092ed95f29078d311a58c4549c78a73aba150d24
|
||||
MISC metadata.xml 561 BLAKE2B 0f55fc4da270c495c445e5afff0a8f7aaedd01abf3640f848cd9dc21e01fa7324c78846ee4bf917e4869b6c377fef61254a2288fa3d572c1bb77279571fb6631 SHA512 bd6bf6b916a0b736a0bfdd633f6569ce3124458169d77ef1cd86d6dda4099774088871560ce0106e11f139a2b48f13445e7a844e03a8669160c7e3fa44be5f36
|
||||
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
|
||||
HOMEPAGE="https://github.com/ansible/ansible-lint"
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ansible-compat-2.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/black-22.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-4.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}]
|
||||
>=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/flaky-3.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.8.6_test-module-check.patch
|
||||
)
|
||||
|
||||
# Skip problematic tests:
|
||||
# - test_rules_id_format has been giving an internal error since 6.5.4 or so (TODO: follow this up with upstream)
|
||||
# - similar problem with test_example_custom_module and 6.8.6
|
||||
# - test_call_from_outside_venv doesn't play nicely with the sandbox
|
||||
# - all the others require Internet access, mostly in order to access Ansible Galaxy
|
||||
EPYTEST_DESELECT=(
|
||||
test/test_ansiblesyntax.py::test_null_tasks
|
||||
test/test_cli_role_paths.py::test_run_playbook_github
|
||||
test/test_eco.py
|
||||
test/test_examples.py::test_example_custom_module
|
||||
test/test_examples.py::test_custom_kinds
|
||||
test/test_import_playbook.py::test_task_hook_import_playbook
|
||||
test/test_list_rules.py::test_list_rules_includes_opt_in_rules
|
||||
test/test_list_rules.py::test_list_rules_with_format_option
|
||||
test/test_list_rules.py::test_list_tags_includes_opt_in_rules
|
||||
test/test_main.py::test_call_from_outside_venv
|
||||
test/test_prerun.py::test_install_collection
|
||||
test/test_prerun.py::test_prerun_reqs_v1
|
||||
test/test_prerun.py::test_prerun_reqs_v2
|
||||
test/test_prerun.py::test_require_collection_wrong_version
|
||||
test/test_profiles.py::test_profile_listing
|
||||
test/test_rules_collection.py::test_rich_rule_listing
|
||||
test/test_rules_collection.py::test_rules_id_format
|
||||
test/test_skip_inside_yaml.py::test_role_meta
|
||||
test/test_utils.py::test_cli_auto_detect
|
||||
test/test_utils.py::test_template_lookup
|
||||
test/test_verbosity.py::test_default_verbosity
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Test suite fails to start without this. Bug in the eclass, maybe?
|
||||
python_test() {
|
||||
epytest test
|
||||
}
|
@ -1,15 +1,7 @@
|
||||
DIST aws-cli-1.27.50.gh.tar.gz 2347235 BLAKE2B cacfe2c8d4fce7de6452a02fa8bcbcde58dbf010328a161e5eecc7305b225264ae68d3e20c6107cfa3b817e2030ffb20dc09a938f8bff59036fab5969e3e6da0 SHA512 af95ad60f2537c12c1353ab0cee045b55834b92b51d0b2fb1bf48991d34f4aa3b61ab20ca438ecba5d8019009065f7993bab64b7e7e0edf89765351c3f4fa168
|
||||
DIST aws-cli-1.27.54.gh.tar.gz 2349811 BLAKE2B 08cb317ea4621273644c39c1152e1a3f8bd9f52ed8c30d7c37dfea9e986ca1597fda1dfbdea8c4043fa783f061609d6f24895997e9f9a3f27d5677c0f9e6c3de SHA512 af4783eef3c1c666b8b3c6d20f1c0177db6d4ce01645b092770cba535dad95609b4bece366355ce6d6a505ac7ab5a2e390d64fb84d6c00e402f9f8ab88db91d9
|
||||
DIST aws-cli-1.27.57.gh.tar.gz 2359650 BLAKE2B 637674f1726828b43a8135b9f7ff9d1f4a05716680aa909829148e4acf7104290c49f90b453294e16cc74d0d200bdfa4049b470a5194df5e3098308d0c088d3b SHA512 be1ac08e57012751f59e63996395b39bf5a9f42381e9a08baffacc2ac9d104c3560c250b2b210608bf6b460fdc31cc1f794a90949a52ebdbb3c22f03e5fb00c2
|
||||
DIST aws-cli-1.27.58.gh.tar.gz 2359921 BLAKE2B da3ead9140407faff60384fa7aafbc27a8a86d088e4516599e573b9e968f00d3e292a8ea6a0eb0a80449f1fef3bb62204dad2a788f10ba87a959218d909da77b SHA512 2bc4dfe5058c847510f4f43006191153b23e5efecc51bb010f9b06ba127504ee40c953bcb6e47d921760f1bc6eb87747971a9a3514f781dd4bd76f30ecd7de81
|
||||
DIST aws-cli-1.27.59.gh.tar.gz 2360458 BLAKE2B e60117e41cf95d442db333cf49c146e4ed02247007b8f46228799c5dee8c486aec34b236c9a0a6d152d690ff86c34fd797a6f35227a6e443805cdfe1b1b30f00 SHA512 87b9aebe812415223285c09ab5a36de2b9c0da49775d1162a5b5d7489ad61c16ca5361b721bc9e4ec4ccc09306be24513f42d7263b315d6856be20fdf0779686
|
||||
DIST aws-cli-1.27.60.gh.tar.gz 2361068 BLAKE2B ee5b5b1129bcdfe261d0b7ddbfa905b4c97a799ba7c494cad74bcb3c74dcff39131b908d602a60c023c26cf4c733a52b385c4ad8266c53e5d60d8036c5abd2e6 SHA512 aa14729040d4dcfdbb75936eb29d651c03ea28a3c18f5ad4b9e685899e07f03703f2058d508a16c753df1b1e66af3ff84ec9e31476fc2f969786235ce15ae425
|
||||
DIST aws-cli-1.27.61.gh.tar.gz 2362178 BLAKE2B 512fd70f5688289b79807e679aded5085af89a14e5724dc70a771fed846060a4ef1265b3ef9d598c24d228649412204cf48d02a2ff840575a8e9a3fc3a2fe12a SHA512 c8b0640fd2aba05617e3ed60d5cfc6749102e16477eaae2e94d5be7750d5bfea14c8020a4dc7bac5c2b2bae2f46f302930b03b6d47a1cf778ae08be761f7274f
|
||||
EBUILD awscli-1.27.50.ebuild 2278 BLAKE2B a074ad11e996c7c4e5c0366e5e5d3856cb1bdd7984b8eaf9ac959108e0c5737b064be5d7a579f46669403efb0c3111e8814570f041106e920102cf2a6ddf3687 SHA512 060c06ae5d2295b74940bc86eabf279eeb7a81f7cafa4a9d89e9af8076feff5a23cc3f9bad5a631e75155af64b948abe4c0de7283883a53d4b1ee5791765176b
|
||||
EBUILD awscli-1.27.54.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.57.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.58.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
DIST aws-cli-1.27.63.gh.tar.gz 2363224 BLAKE2B 4fe7971271d4359f9d29cdf4c028bd8d06a1a8188e6aef108c33d6b137bb2aee84f3655f3666381fdbf8166dd5ea071c564faac32fb0c06a461249385dbc503d SHA512 01c578f13c0f316c41bdf3bbc5e8532f01d0bfa108207899b8c56b990acdbf5b80d0ffbf1be944088f34e623494b1a1f6d52823d654c192b07133291e4bd7deb
|
||||
EBUILD awscli-1.27.54.ebuild 2278 BLAKE2B a074ad11e996c7c4e5c0366e5e5d3856cb1bdd7984b8eaf9ac959108e0c5737b064be5d7a579f46669403efb0c3111e8814570f041106e920102cf2a6ddf3687 SHA512 060c06ae5d2295b74940bc86eabf279eeb7a81f7cafa4a9d89e9af8076feff5a23cc3f9bad5a631e75155af64b948abe4c0de7283883a53d4b1ee5791765176b
|
||||
EBUILD awscli-1.27.59.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.60.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.61.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.63.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
|
||||
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,80 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,80 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,80 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,540 @@
|
||||
From 7df25a85ccbd28e22dee437272202fe966f861d1 Mon Sep 17 00:00:00 2001
|
||||
From: A Schenck <galiven@users.sourceforge.net>
|
||||
Date: Fri, 27 Jan 2023 15:09:58 -0800
|
||||
Subject: [PATCH] Declare arguments on function pointers
|
||||
|
||||
Solves the errors with -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types -Werror=deprecated-non-prototype
|
||||
--- a/server/mail.c
|
||||
+++ b/server/mail.c
|
||||
@@ -42,12 +42,13 @@
|
||||
#define MBOX_MH_DIR 2
|
||||
|
||||
|
||||
-typedef struct
|
||||
+typedef struct Mailbox Mailbox;
|
||||
+struct Mailbox
|
||||
{
|
||||
gchar *path;
|
||||
gchar *homedir_path;
|
||||
gint mboxtype;
|
||||
- gboolean (*check_func)();
|
||||
+ gboolean (*check_func)(Mailbox *mbox);
|
||||
gint mail_count;
|
||||
gint new_mail_count;
|
||||
gint old_mail_count;
|
||||
@@ -57,8 +58,7 @@ typedef struct
|
||||
off_t last_size;
|
||||
gboolean is_internal; /* Internal mail message (ie: localmachine) */
|
||||
gboolean changed;
|
||||
- }
|
||||
- Mailbox;
|
||||
+ };
|
||||
|
||||
static GList *mailbox_list;
|
||||
|
||||
--- a/src/alerts.c
|
||||
+++ b/src/alerts.c
|
||||
@@ -765,7 +765,7 @@ gkrellm_alert_plugin_add(GkrellmMonitor *mon, gchar *name)
|
||||
void
|
||||
gkrellm_alert_plugin_alert_connect(GkrellmAlertPlugin *gap,
|
||||
void (*alarm_func)(), void (*warn_func)(),
|
||||
- void (*update_func)(), void (*check_func)(),
|
||||
+ void (*update_func)(), void (*check_func)(GkrellmAlert* alert, gpointer data, gfloat value),
|
||||
void (*destroy_func)())
|
||||
{
|
||||
gap->alarm_func = alarm_func;
|
||||
--- a/src/chart.c
|
||||
+++ b/src/chart.c
|
||||
@@ -2107,7 +2107,7 @@ gkrellm_get_chartconfig_grid_resolution(GkrellmChartconfig *cf)
|
||||
|
||||
void
|
||||
gkrellm_chartconfig_grid_resolution_connect(GkrellmChartconfig *cf,
|
||||
- void (*func)(gpointer), gpointer data)
|
||||
+ void (*func)(GkrellmChartconfig *, gpointer), gpointer data)
|
||||
{
|
||||
if (!cf)
|
||||
return;
|
||||
@@ -2206,7 +2206,7 @@ gkrellm_get_chartconfig_fixed_grids(GkrellmChartconfig *cf)
|
||||
|
||||
void
|
||||
gkrellm_chartconfig_fixed_grids_connect(GkrellmChartconfig *cf,
|
||||
- void (*func)(gpointer), gpointer data)
|
||||
+ void (*func)(GkrellmChartconfig*, gpointer), gpointer data)
|
||||
{
|
||||
if (!cf)
|
||||
return;
|
||||
@@ -2224,7 +2224,7 @@ gkrellm_get_chartconfig_height(GkrellmChartconfig *cf)
|
||||
|
||||
void
|
||||
gkrellm_chartconfig_height_connect(GkrellmChartconfig *cf,
|
||||
- void (*func)(gpointer), gpointer data)
|
||||
+ void (*func)(GkrellmChartconfig*, gpointer), gpointer data)
|
||||
{
|
||||
if (!cf)
|
||||
return;
|
||||
--- a/src/cpu.c
|
||||
+++ b/src/cpu.c
|
||||
@@ -50,7 +50,8 @@ static void cb_alert_config_create(GkrellmAlert *ap, GtkWidget *vbox,
|
||||
#endif
|
||||
|
||||
|
||||
-typedef struct
|
||||
+typedef struct CpuMon CpuMon;
|
||||
+struct CpuMon
|
||||
{
|
||||
gchar *name;
|
||||
gchar *panel_label;
|
||||
@@ -87,8 +88,7 @@ typedef struct
|
||||
nice,
|
||||
sys,
|
||||
idle;
|
||||
- }
|
||||
- CpuMon;
|
||||
+ };
|
||||
|
||||
|
||||
static GkrellmMonitor
|
||||
@@ -575,7 +575,7 @@ cb_cpu_extra(GtkWidget *widget, GdkEventButton *ev)
|
||||
}
|
||||
|
||||
static void
|
||||
-setup_cpu_scaling(GkrellmChartconfig *cf)
|
||||
+setup_cpu_scaling(GkrellmChartconfig *cf, gpointer data)
|
||||
{
|
||||
gint grids;
|
||||
|
||||
@@ -741,7 +741,7 @@ static gchar *nice_color_string,
|
||||
*nice_grid_color_string;
|
||||
|
||||
static void
|
||||
-cb_height(GkrellmChartconfig *cf, CpuMon *cpu)
|
||||
+cb_height(GkrellmChartconfig *cf, gpointer data)
|
||||
{
|
||||
GList *list;
|
||||
GkrellmChart *cp;
|
||||
@@ -879,7 +879,7 @@ create_cpu(GtkWidget *vbox, gint first_create)
|
||||
gkrellm_chartconfig_fixed_grids_connect(cp->config,
|
||||
setup_cpu_scaling, NULL);
|
||||
gkrellm_chartconfig_height_connect(cp->config, cb_height, cpu);
|
||||
- setup_cpu_scaling(cp->config);
|
||||
+ setup_cpu_scaling(cp->config, NULL);
|
||||
|
||||
cpu->sensor_decal = cpu->fan_decal = NULL;
|
||||
if (show_panel_labels)
|
||||
--- a/src/disk.c
|
||||
+++ b/src/disk.c
|
||||
@@ -104,8 +104,8 @@ static gboolean sys_handles_composite_reset;
|
||||
static gboolean units_are_blocks;
|
||||
|
||||
static void (*read_disk_data)();
|
||||
-static gchar *(*name_from_device)();
|
||||
-static gint (*order_from_name)();
|
||||
+static gchar *(*name_from_device)(gint device_number, gint uint_number, gint *order);
|
||||
+static gint (*order_from_name)(const gchar *name);
|
||||
|
||||
|
||||
|
||||
@@ -703,9 +703,10 @@ cb_disk_extra(GtkWidget *widget, GdkEventButton *ev)
|
||||
}
|
||||
|
||||
static void
|
||||
-setup_disk_scaling(GkrellmChartconfig *cf, GkrellmChart *cp)
|
||||
+setup_disk_scaling(GkrellmChartconfig *cf, gpointer data)
|
||||
{
|
||||
gint grids, res;
|
||||
+ GkrellmChart *cp = (GkrellmChart*)data;
|
||||
|
||||
grids = gkrellm_get_chartconfig_fixed_grids(cf);
|
||||
if (!grids)
|
||||
--- a/src/fs.c
|
||||
+++ b/src/fs.c
|
||||
@@ -115,7 +115,7 @@ static GList *fstab_list;
|
||||
static gint uid;
|
||||
|
||||
void (*get_mounts_list)(),
|
||||
- (*get_fsusage)(),
|
||||
+ (*get_fsusage)(gpointer mon, gchar *dir),
|
||||
(*get_fstab_list)();
|
||||
gboolean (*get_fstab_modified)();
|
||||
|
||||
@@ -123,8 +123,8 @@ gboolean (*get_fstab_modified)();
|
||||
/* If ejecting is available via an ioctl() or if there is an eject command,
|
||||
| set these up in gkrellm_sys_fs_init() by calling gkrellm_fs_setup_eject().
|
||||
*/
|
||||
-void (*eject_cdrom_func)(),
|
||||
- (*close_cdrom_func)();
|
||||
+void (*eject_cdrom_func)(gchar *dev),
|
||||
+ (*close_cdrom_func)(gchar *dev);
|
||||
static gchar *eject_cdrom_command,
|
||||
*close_cdrom_command;
|
||||
static gboolean cdrom_thread_busy; /* for the cdrom_funcs */
|
||||
@@ -1536,7 +1536,7 @@ static GtkWidget *alert_button;
|
||||
|
||||
static GtkWidget *data_format_combo_box;
|
||||
|
||||
-static gboolean (*original_row_drop_possible)();
|
||||
+static gboolean (*original_row_drop_possible)(GtkTreeDragDest *dest, GtkTreePath *path, GtkSelectionData *selection_data);
|
||||
|
||||
|
||||
static void
|
||||
--- a/src/gkrellm-public-proto.h
|
||||
+++ b/src/gkrellm-public-proto.h
|
||||
@@ -116,8 +116,8 @@ void gkrellm_chartconfig_grid_resolution_adjustment(
|
||||
void gkrellm_set_chartconfig_grid_resolution(GkrellmChartconfig *,
|
||||
gint);
|
||||
gint gkrellm_get_chartconfig_grid_resolution(GkrellmChartconfig *);
|
||||
-void gkrellm_chartconfig_grid_resolution_connect(
|
||||
- GkrellmChartconfig *, void (*fn)(), gpointer);
|
||||
+void gkrellm_chartconfig_grid_resolution_connect(GkrellmChartconfig* cf,
|
||||
+ void (*fn)(GkrellmChartconfig*, gpointer), gpointer);
|
||||
void gkrellm_set_chartconfig_flags(GkrellmChartconfig *, gint);
|
||||
|
||||
void gkrellm_chartconfig_grid_resolution_label(
|
||||
@@ -131,10 +131,10 @@ void gkrellm_set_chartconfig_sequence_125(GkrellmChartconfig *,
|
||||
void gkrellm_set_chartconfig_fixed_grids(GkrellmChartconfig *, gint);
|
||||
gint gkrellm_get_chartconfig_fixed_grids(GkrellmChartconfig *);
|
||||
void gkrellm_chartconfig_fixed_grids_connect(GkrellmChartconfig *,
|
||||
- void (*fn)(), gpointer);
|
||||
+ void (*fn)(GkrellmChartconfig*, gpointer), gpointer);
|
||||
gint gkrellm_get_chartconfig_height(GkrellmChartconfig *);
|
||||
-void gkrellm_chartconfig_height_connect(GkrellmChartconfig *,
|
||||
- void (*fn)(), gpointer);
|
||||
+void gkrellm_chartconfig_height_connect(GkrellmChartconfig* cf,
|
||||
+ void (*fn)(GkrellmChartconfig*, gpointer), gpointer);
|
||||
void gkrellm_chartconfig_callback_block(GkrellmChartconfig *, gboolean);
|
||||
void gkrellm_save_chartconfig(FILE *, GkrellmChartconfig *,
|
||||
gchar *, gchar *);
|
||||
@@ -274,7 +274,7 @@ GkrellmDecalbutton *gkrellm_make_scaled_button(GkrellmPanel *p,
|
||||
GkrellmDecalbutton *gkrellm_decal_is_button(GkrellmDecal *);
|
||||
void gkrellm_set_in_button_callback(GkrellmDecalbutton *,
|
||||
gint (*func)(), gpointer data);
|
||||
-gboolean gkrellm_in_button(GkrellmDecalbutton *button, GdkEventButton *);
|
||||
+gboolean gkrellm_in_button(GkrellmDecalbutton *button, GdkEventButton *, gpointer data);
|
||||
gboolean gkrellm_in_decal(GkrellmDecal *, GdkEventButton *);
|
||||
void gkrellm_decal_button_connect(GkrellmDecalbutton *, void (*func)(),
|
||||
void *);
|
||||
@@ -415,7 +415,7 @@ GkrellmAlertPlugin *gkrellm_alert_plugin_add(GkrellmMonitor *mon,
|
||||
gchar *name);
|
||||
void gkrellm_alert_plugin_alert_connect(GkrellmAlertPlugin *gap,
|
||||
void (*alarm_func)(), void (*warn_func)(),
|
||||
- void (*update_func)(), void (*check_func)(),
|
||||
+ void (*update_func)(), void (*check_func)(GkrellmAlert* alert, gpointer data, gfloat value),
|
||||
void (*destroy_func)());
|
||||
void gkrellm_alert_plugin_config_connect(GkrellmAlertPlugin *gap,
|
||||
gchar *tab_name,
|
||||
--- a/src/gkrellm.h
|
||||
+++ b/src/gkrellm.h
|
||||
@@ -546,14 +546,15 @@ typedef struct
|
||||
#define NO_CONFIG_AUTO_GRID_RESOLUTION 1
|
||||
#define NO_CONFIG_FIXED_GRIDS 2
|
||||
|
||||
-typedef struct
|
||||
+typedef struct GkrellmChartconfig GkrellmChartconfig;
|
||||
+struct GkrellmChartconfig
|
||||
{
|
||||
gint flags;
|
||||
gboolean config_loaded;
|
||||
gboolean log;
|
||||
|
||||
gint h;
|
||||
- void (*cb_height)();
|
||||
+ void (*cb_height)(GkrellmChartconfig *config, gpointer data);
|
||||
gpointer cb_height_data;
|
||||
GtkWidget *height_spin_button;
|
||||
|
||||
@@ -566,7 +567,7 @@ typedef struct
|
||||
gboolean auto_grid_resolution;
|
||||
gboolean auto_resolution_stick;
|
||||
gboolean sequence_125;
|
||||
- void (*cb_grid_resolution)();
|
||||
+ void (*cb_grid_resolution)(GkrellmChartconfig *config, gpointer data);
|
||||
gpointer cb_grid_resolution_data;
|
||||
GtkWidget *grid_resolution_spin_button;
|
||||
GtkWidget *auto_resolution_control_menubar;
|
||||
@@ -583,7 +584,7 @@ typedef struct
|
||||
width;
|
||||
|
||||
gboolean fixed_grids;
|
||||
- void (*cb_fixed_grids)();
|
||||
+ void (*cb_fixed_grids)(GkrellmChartconfig *config, gpointer data);
|
||||
gpointer cb_fixed_grids_data;
|
||||
GtkWidget *fixed_grids_spin_button;
|
||||
|
||||
@@ -591,8 +592,7 @@ typedef struct
|
||||
GList **chart_cd_list;
|
||||
|
||||
gboolean cb_block;
|
||||
- }
|
||||
- GkrellmChartconfig;
|
||||
+ };
|
||||
|
||||
/* GkrellmCharts are drawn in layers and each data value drawn has its own
|
||||
| layer (the GkrellmChartdata struct -> image/color of the drawn data and
|
||||
@@ -750,13 +750,14 @@ typedef struct
|
||||
GkrellmChartdata;
|
||||
|
||||
|
||||
-typedef struct
|
||||
+typedef struct GkrellmDecalbutton GkrellmDecalbutton;
|
||||
+struct GkrellmDecalbutton
|
||||
{
|
||||
GkrellmPanel *panel;
|
||||
GkrellmDecal *decal;
|
||||
- void (*cb_button_click)();
|
||||
+ void (*cb_button_click)(GkrellmDecalbutton *b, gpointer data);
|
||||
gpointer data;
|
||||
- gint (*cb_in_button)();
|
||||
+ gint (*cb_in_button)(GkrellmDecalbutton *b, GdkEventButton *ev, gpointer data);
|
||||
gpointer in_button_data;
|
||||
gpointer privat;
|
||||
gint cur_index;
|
||||
@@ -764,10 +765,9 @@ typedef struct
|
||||
gint saved_index;
|
||||
gint sensitive;
|
||||
gint type;
|
||||
- void (*cb_button_right_click)();
|
||||
+ void (*cb_button_right_click)(GkrellmDecalbutton *b, gpointer data);
|
||||
gpointer right_data;
|
||||
- }
|
||||
- GkrellmDecalbutton;
|
||||
+ };
|
||||
|
||||
|
||||
|
||||
@@ -791,20 +791,21 @@ typedef struct
|
||||
/* ------- Alerts ------- */
|
||||
#define GKRELLM_ALERTCONFIG_KEYWORD "alert_config"
|
||||
|
||||
+typedef struct GkrellmAlert GkrellmAlert;
|
||||
typedef struct
|
||||
{
|
||||
struct _GkrellmMonitor *mon;
|
||||
gchar *name,
|
||||
*tab_name;
|
||||
- void (*warn_func)(),
|
||||
- (*alarm_func)(),
|
||||
- (*update_func)(),
|
||||
- (*check_func)(),
|
||||
- (*destroy_func)();
|
||||
- void (*config_create_func)(),
|
||||
- (*config_apply_func)(),
|
||||
- (*config_save_func)(),
|
||||
- (*config_load_func)();
|
||||
+ void (*warn_func)(GkrellmAlert *alert, gpointer data, gboolean state),
|
||||
+ (*alarm_func)(GkrellmAlert *alert, gpointer data, gboolean state),
|
||||
+ (*update_func)(GkrellmAlert *alert, gpointer data),
|
||||
+ (*check_func)(GkrellmAlert *alert, gpointer data, gfloat value),
|
||||
+ (*destroy_func)(GkrellmAlert *alert, gpointer data);
|
||||
+ void (*config_create_func)(GtkWidget *vbox, GkrellmAlert *alert, gpointer data),
|
||||
+ (*config_apply_func)(GkrellmAlert *alert, gpointer data, gboolean closing),
|
||||
+ (*config_save_func)(GkrellmAlert *alert, gpointer data, FILE *f, gchar *p, gchar *id),
|
||||
+ (*config_load_func)(GkrellmAlert *alert, gchar *config_id, gchar *alert_id);
|
||||
}
|
||||
GkrellmAlertPlugin;
|
||||
|
||||
@@ -847,7 +848,7 @@ typedef struct
|
||||
}
|
||||
GkrellmAlertkrell;
|
||||
|
||||
-typedef struct
|
||||
+struct GkrellmAlert
|
||||
{
|
||||
GkrellmPanel *panel;
|
||||
gchar *name,
|
||||
@@ -870,15 +871,15 @@ typedef struct
|
||||
alarm_repeat;
|
||||
gint delay;
|
||||
|
||||
- void (*cb_trigger)();
|
||||
+ void (*cb_trigger)(GkrellmAlert *alert, gpointer data);
|
||||
gpointer cb_trigger_data;
|
||||
void (*cb_stop)();
|
||||
gpointer cb_stop_data;
|
||||
- void (*cb_config)();
|
||||
+ void (*cb_config)(GkrellmAlert *alert, gpointer data);
|
||||
gpointer cb_config_data;
|
||||
- void (*cb_config_create)();
|
||||
+ void (*cb_config_create)(GkrellmAlert *alert, GtkWidget *vbox1, gpointer data);
|
||||
gpointer cb_config_create_data;
|
||||
- void (*cb_command_process)();
|
||||
+ void (*cb_command_process)(GkrellmAlert *alert, gchar *src, gchar *buf, gint size, void* target);
|
||||
gpointer cb_command_process_data;
|
||||
|
||||
GtkWidget *config_window,
|
||||
@@ -910,8 +911,7 @@ typedef struct
|
||||
|
||||
gchar *id_string; /* For unique alert names for alert plugins */
|
||||
GList *plugin_list;
|
||||
- }
|
||||
- GkrellmAlert;
|
||||
+ };
|
||||
|
||||
/* ------------------------ */
|
||||
|
||||
--- a/src/inet.c
|
||||
+++ b/src/inet.c
|
||||
@@ -36,7 +36,8 @@
|
||||
#include "gkrellm-sysdeps.h"
|
||||
#include "inet.h"
|
||||
|
||||
-typedef struct
|
||||
+typedef struct InetMon InetMon;
|
||||
+struct InetMon
|
||||
{
|
||||
GtkWidget *vbox;
|
||||
gchar *name;
|
||||
@@ -87,8 +88,7 @@ typedef struct
|
||||
port1_1;
|
||||
|
||||
gulong krell_hits;
|
||||
- }
|
||||
- InetMon;
|
||||
+ };
|
||||
|
||||
static GkrellmMonitor *mon_inet;
|
||||
|
||||
@@ -824,9 +824,10 @@ cb_panel_press(GtkWidget *widget, GdkEventButton *ev)
|
||||
/* Lock the hour and minute heights together.
|
||||
*/
|
||||
static void
|
||||
-cb_inet_height(GkrellmChartconfig *cf, InetMon *in)
|
||||
+cb_inet_height(GkrellmChartconfig *cf, gpointer data)
|
||||
{
|
||||
gint h;
|
||||
+ InetMon *in = (InetMon*) data;
|
||||
|
||||
h = gkrellm_get_chartconfig_height(cf);
|
||||
if (in->chart_minute->h != h)
|
||||
--- a/src/krell.c
|
||||
+++ b/src/krell.c
|
||||
@@ -1483,7 +1483,7 @@ gkrellm_show_button(GkrellmDecalbutton *b)
|
||||
}
|
||||
|
||||
gboolean
|
||||
-gkrellm_in_button(GkrellmDecalbutton *b, GdkEventButton *ev)
|
||||
+gkrellm_in_button(GkrellmDecalbutton *b, GdkEventButton *ev, gpointer data)
|
||||
{
|
||||
return gkrellm_in_decal(b->decal, ev);
|
||||
}
|
||||
--- a/src/mail.c
|
||||
+++ b/src/mail.c
|
||||
@@ -255,12 +255,13 @@ typedef struct
|
||||
}
|
||||
MailAccount;
|
||||
|
||||
-typedef struct
|
||||
+typedef struct Mailbox Mailbox;
|
||||
+struct Mailbox
|
||||
{
|
||||
MailAccount *account;
|
||||
gboolean busy;
|
||||
GString *tcp_in;
|
||||
- gboolean (*check_func)();
|
||||
+ gboolean (*check_func)(Mailbox *mbox);
|
||||
gpointer data; /* For external mailboxes (in plugins) */
|
||||
GThread* thread;
|
||||
gint mail_count;
|
||||
@@ -277,8 +278,7 @@ typedef struct
|
||||
gchar *uidl;
|
||||
gboolean warned;
|
||||
void *private;
|
||||
- }
|
||||
- Mailbox;
|
||||
+ };
|
||||
|
||||
static GList *mailbox_list;
|
||||
|
||||
@@ -2309,9 +2309,8 @@ reset_mail_fetch(void)
|
||||
}
|
||||
|
||||
static gboolean
|
||||
-run_fetch_program(void)
|
||||
+run_fetch_program(Mailbox *mbox)
|
||||
{
|
||||
- Mailbox *mbox;
|
||||
Mailproc *mp = (Mailproc *) mail_fetch->private;
|
||||
GList *list;
|
||||
|
||||
--- a/src/mem.c
|
||||
+++ b/src/mem.c
|
||||
@@ -662,8 +662,9 @@ cb_panel_motion(GtkWidget *widget, GdkEventButton *ev)
|
||||
}
|
||||
|
||||
static void
|
||||
-setup_scaling(GkrellmChartconfig *cf, MeminfoChart *mc)
|
||||
+setup_scaling(GkrellmChartconfig *cf, gpointer data)
|
||||
{
|
||||
+ MeminfoChart* mc = (MeminfoChart*)data;
|
||||
GkrellmChart *cp = mc->chart;
|
||||
gint res = DEFAULT_GRID_RES,
|
||||
grids = FULL_SCALE_GRIDS;
|
||||
--- a/src/net.c
|
||||
+++ b/src/net.c
|
||||
@@ -1165,8 +1165,9 @@ grid_resolution_default(NetMon *net)
|
||||
}
|
||||
|
||||
static void
|
||||
-setup_net_scaling(GkrellmChartconfig *cf, NetMon *net)
|
||||
+setup_net_scaling(GkrellmChartconfig *cf, gpointer data)
|
||||
{
|
||||
+ NetMon *net = (NetMon*)data;
|
||||
GkrellmChart *cp = net->chart;
|
||||
gint grids, res;
|
||||
|
||||
--- a/src/proc.c
|
||||
+++ b/src/proc.c
|
||||
@@ -333,7 +333,7 @@ cb_proc_extra(GtkWidget *widget, GdkEventButton *ev)
|
||||
}
|
||||
|
||||
static void
|
||||
-setup_proc_scaling(void)
|
||||
+setup_proc_scaling(GkrellmChartconfig *config, gpointer data)
|
||||
{
|
||||
GkrellmChart *cp = proc.chart;
|
||||
gint grids, res, new_fork_scaling;
|
||||
@@ -567,7 +567,7 @@ create_proc_monitor(GtkWidget *vbox, gint first_create)
|
||||
_("Average process load per minute"));
|
||||
|
||||
gkrellm_alloc_chartdata(cp);
|
||||
- setup_proc_scaling();
|
||||
+ setup_proc_scaling(NULL, NULL);
|
||||
|
||||
/* I put motherboard temp on Proc panel (if temperature sensors found)
|
||||
*/
|
||||
--- a/src/sensors.c
|
||||
+++ b/src/sensors.c
|
||||
@@ -1985,7 +1985,7 @@ static Sensor *dragged_sensor;
|
||||
|
||||
static gint sensor_last_group;
|
||||
|
||||
-static gboolean (*original_row_drop_possible)();
|
||||
+static gboolean (*original_row_drop_possible)(GtkTreeDragDest *drag_dest, GtkTreePath *path, GtkSelectionData *selection_data);
|
||||
|
||||
|
||||
|
||||
--- a/src/sysdeps-unix.c
|
||||
+++ b/src/sysdeps-unix.c
|
||||
@@ -89,7 +89,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined(SENSORS_COMMON) && !defined(WIN32)
|
||||
-static gboolean (*mbmon_check_func)();
|
||||
+static gboolean (*mbmon_check_func)(gboolean);
|
||||
#endif
|
||||
|
||||
gchar *
|
||||
--- a/src/sysdeps/sensors-common.c
|
||||
+++ b/src/sysdeps/sensors-common.c
|
||||
@@ -54,7 +54,7 @@ static gchar gkrellm_decimal_point,
|
||||
mbmon_decimal_point;
|
||||
static gboolean mbmon_need_decimal_point_fix;
|
||||
|
||||
-static gboolean (*mbmon_check_func)();
|
||||
+static gboolean (*mbmon_check_func)(gboolean);
|
||||
|
||||
static gboolean
|
||||
mbmon_decimal_point_fix(gchar *buf)
|
||||
--
|
||||
2.39.1
|
||||
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PLOCALES="bg cs da de es fr it ja nl pl po pt pt_BR ru sl sv uk"
|
||||
PLOCALE_BACKUP="en"
|
||||
inherit desktop plocale systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Single process stack of various system monitors"
|
||||
HOMEPAGE="http://gkrellm.srcbox.net/"
|
||||
if [[ "${PV}" == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.srcbox.net/gkrellm/gkrellm.git"
|
||||
else
|
||||
SRC_URI="http://gkrellm.srcbox.net/releases/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="2"
|
||||
IUSE="gnutls hddtemp lm-sensors nls ntlm ssl X"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/gkrellmd
|
||||
acct-user/gkrellmd
|
||||
dev-libs/glib:2
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls )
|
||||
!gnutls? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
lm-sensors? ( sys-apps/lm-sensors:= )
|
||||
nls? ( virtual/libintl )
|
||||
ntlm? ( net-libs/libntlm )
|
||||
X? (
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.3.5-config.patch"
|
||||
"${FILESDIR}/${PN}-2.3.5-width.patch"
|
||||
"${FILESDIR}/${PN}-2.3.5-sansfont.patch"
|
||||
"${FILESDIR}/${PN}-2.3.11-clang16.patch"
|
||||
)
|
||||
|
||||
DOCS=( Changelog CREDITS README )
|
||||
|
||||
pkg_pretend() {
|
||||
if use gnutls && ! use ssl ; then
|
||||
ewarn "You have enabled the \"gnutls\" USE flag but not the \"ssl\" USE flag."
|
||||
ewarn "No ssl backend will be built!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-O2 ::' \
|
||||
-e 's:override CC:CFLAGS:' \
|
||||
-e 's:-L/usr/X11R6/lib::' \
|
||||
-i */Makefile || die "sed Makefile(s) failed"
|
||||
|
||||
sed -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):" \
|
||||
-e "s:/usr/local/lib:${EPREFIX}/usr/local/$(get_libdir):" \
|
||||
-i src/${PN}.h || die "sed ${PN}.h failed"
|
||||
|
||||
delete_locale() {
|
||||
local locale=${1}
|
||||
rm -f po/${locale}{.po,.mo} || die
|
||||
}
|
||||
|
||||
plocale_for_each_disabled_locale delete_locale
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
TARGET=
|
||||
|
||||
if use X ; then
|
||||
emake \
|
||||
${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
STRIP="" \
|
||||
INSTALLROOT="${EPREFIX}/usr" \
|
||||
INCLUDEDIR="${EPREFIX}/usr/include/gkrellm2" \
|
||||
LOCALEDIR="${EPREFIX}/usr/share/locale" \
|
||||
$(usex nls "" "enable_nls=0") \
|
||||
$(usex lm-sensors "" "without-libsensors=yes") \
|
||||
$(usex ntlm "" "without-ntlm=yes") \
|
||||
$(usex ssl $(usex gnutls 'without-ssl=yes' 'without-gnutls=yes') 'without-ssl=yes without-gnutls=yes')
|
||||
else
|
||||
cd server || die
|
||||
emake \
|
||||
${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
LINK_FLAGS="$LDFLAGS -Wl,-E" \
|
||||
STRIP="" \
|
||||
$(usex nls "" "enable_nls=0") \
|
||||
$(usex lm-sensors "" "without-libsensors=yes")
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
emake \
|
||||
install${TARGET:+_}${TARGET} \
|
||||
$(usex nls "" "enable_nls=0") \
|
||||
STRIP="" \
|
||||
INSTALLDIR="${ED}/usr/bin" \
|
||||
INCLUDEDIR="${ED}/usr/include" \
|
||||
LOCALEDIR="${ED}/usr/share/locale" \
|
||||
PKGCONFIGDIR="${ED}/usr/$(get_libdir)/pkgconfig" \
|
||||
MANDIR="${ED}/usr/share/man/man1"
|
||||
|
||||
docinto html
|
||||
dodoc *.html
|
||||
|
||||
newicon src/icon.xpm ${PN}.xpm
|
||||
make_desktop_entry ${PN} GKrellM ${PN}
|
||||
else
|
||||
dobin server/gkrellmd
|
||||
|
||||
insinto /usr/include/gkrellm2
|
||||
doins server/gkrellmd.h
|
||||
doins shared/log.h
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/gkrellmd.initd gkrellmd
|
||||
newconfd "${FILESDIR}"/gkrellmd.conf gkrellmd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/gkrellmd.service
|
||||
|
||||
insinto /etc
|
||||
doins server/gkrellmd.conf
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX sysstat.init.d 378 BLAKE2B fe781f1a53e183023da2b46ecefb37881eedf8e8df2623927b24f33aa3344776b39db038d598ad050f1d48462d52300fb17731f29b0a8ab9c800fbe379efa249 SHA512 328ee3d40d45a0b1702c74fe0195ce4444cc8f63cb0fa68ba40ca20cfa183dd7acf4fc846cd76a4bcf426a3b4064316061dbbf26ca20047711528399e17b20b4
|
||||
DIST sysstat-12.6.2.tar.gz 1455025 BLAKE2B aba2d8fd5fae8d6df740173d7ccd60beb0628c4c2205342f72ec03d6c48995d397de0d6f2cace24accf1a9274da37cf3bba86888717bc8d62d262ffd1c6f995e SHA512 376047de55598c6f671b999203809219a40206a9c58499399681af9ebe6048dd4da96c8ef5827d75cc369a7b69c3f1aadef1a5e8deec318a12b230d61f09fc08
|
||||
DIST sysstat-12.7.1.tar.gz 1464847 BLAKE2B dd4cb510d45879665945d7c3efcb9e1011f6b77d152c7f989ef6a3e8f203c05c1ca708959030cb864c31810ec27a5e880a9cfcd805f26c4f3537d55bdd9fd763 SHA512 5c1da0f5a1bf26091f029c5ea138f836616becb1e531843aa2c150a66ddc1f07b43cffeac98445855bf70319942fe22838a682c2f7685893bead7d8de7e9e2a8
|
||||
EBUILD sysstat-12.6.2.ebuild 1717 BLAKE2B 53da1437831aa58048e0dce44f3208f1a0b23432a903c457b6f34df4eeb0da5d1b74d75a1a3087418019510f3f9925afd8dc6d258f4c3179907e2a31358e06c8 SHA512 8b073afca9132cefb1e2111eb9e496012cf688c121b16531b1e59a8c77dfa6168214973aab01faeba4c42300b102a79d8076c41d513044e1d64e694c9c7e17ac
|
||||
EBUILD sysstat-12.7.1.ebuild 1710 BLAKE2B a80b09459bcfcf523f7346545a3a904166e53f067a79eef11c7ad232f9133b01359158cef1f0a9c0b277ae9e2637d1dbbdce4fb8f7b700e1099622d59ee01f76 SHA512 1b3ef2572970945d0b2809755854d83d63eedbc738293c7d6edc0e8472499623dd1931b9ff77ee210770ccf53893e121d3a46b2864b530672dc5651b4891da64
|
||||
MISC metadata.xml 537 BLAKE2B 96a62a60f2e483414fdbe7c2d2e11c25528e5c3301b50079a32fa91deaeae37f63f7e78c73a4b749c3cbca6d438aaf0387edc655fe0575fd15ee641619529d02 SHA512 57724ab12c814c17c3c44c234409fcca149058ae678d4dd26fac4fdc11eb4234885948862880db038e82190d665a664d6449a22da49f2fe08b42106aac2058e6
|
||||
MISC metadata.xml 617 BLAKE2B e890e68addd784d7478e282d4518a7cab0d7ca4fc86ad44db58063e5c7027084b66d1e4fe63b702b992a60f0d9cd5816cf8ad6016b17e185760a820f08907579 SHA512 1dcf5a80e3f3cfdf1cc8cd3730847c6ed9107eec7286b37e1de01287189e8811e729e16328a283abe196443c5355d905d7c95104c43e23f7d4ce3c56e2fa4ad9
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="System performance tools for Linux"
|
||||
HOMEPAGE="http://sebastien.godard.pagesperso-orange.fr/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="dcron debug nls lm-sensors lto selinux systemd"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
nls? ( virtual/libintl )
|
||||
lm-sensors? ( sys-apps/lm-sensors:= )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
!dcron? ( !sys-process/dcron )
|
||||
selinux? ( sec-policy/selinux-sysstat )
|
||||
"
|
||||
|
||||
REQUIRED_USE="dcron? ( !systemd )"
|
||||
|
||||
src_prepare() {
|
||||
if use dcron; then
|
||||
sed -i 's/@CRON_OWNER@ //g' cron/sysstat.crond.in || die
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
|
||||
sa_lib_dir=/usr/lib/sa \
|
||||
conf_dir=/etc \
|
||||
econf \
|
||||
$(use_enable !systemd use-crond) \
|
||||
$(use_enable lm-sensors sensors) \
|
||||
$(use_enable lto) \
|
||||
$(use_enable nls) \
|
||||
$(usex debug --enable-debuginfo '') \
|
||||
--disable-compress-manpg \
|
||||
--disable-stripping \
|
||||
--disable-pcp \
|
||||
--enable-copy-only \
|
||||
--enable-documentation \
|
||||
--enable-install-cron \
|
||||
--with-systemdsystemunitdir=$(systemd_get_systemunitdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LFLAGS="${LDFLAGS}" default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/sa
|
||||
|
||||
emake \
|
||||
CHOWN=true \
|
||||
DESTDIR="${D}" \
|
||||
DOC_DIR=/usr/share/doc/${PF} \
|
||||
MANGRPARG='' \
|
||||
install
|
||||
|
||||
dodoc -r contrib/
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init.d ${PN}
|
||||
systemd_dounit ${PN}.service
|
||||
|
||||
rm "${D}"/usr/share/doc/${PF}/COPYING || die
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
AUX testdisk-7.1-backport-ntfs-3g-ioctl-prototype.patch 1268 BLAKE2B 9c57329b3576cef7f23177fe07d45cd49a449b4353a9abd3a3196a9ec2896a05e900b1d7785d087f4587642d786efb36ea655d8b2c35833c8736014fbdad9cfb SHA512 7325ff2d83350512acf2e0b3f2269cdc4a92f775eafeae62c0b337fa4f31dac0c4f56d9ed7397fbd8a29d7679eb259401ca934d48c51438bfc4e3d0e0bcf7e00
|
||||
DIST testdisk-7.1.tar.bz2 742006 BLAKE2B ad67cbef73e502df39cd04537bae9226d043a0f5ed824ed24d5a5ac7c3262060d0c78bfcf38159890ee0c270e1cd7690cbf276eb919e1b4721357fffc8679c61 SHA512 ad6531eec45c1ed8d4a0ce6132692bb609c4c269fbca57f788ce808214e0b00b5fb1187745a859c5da8a3cb8de18b29904792d3246b15cedfa24bf24cbfe3df5
|
||||
EBUILD testdisk-7.1-r1.ebuild 2354 BLAKE2B afc950294c018dbff1423bbfa67e07a9ba6de3166629d8c09bbaafd878071658c9e462d8cf9cdbc5fd85bfdf994050527d164dceee9c7c9f395f1d6d1d2162d6 SHA512 9f878e51186866e6b8d5621e629f020218f24544b611733fb581925fb8fa916cde3ffbf42a29dd5a77e4224e88a0be1029eaaaaf84ec716ebcbc7eb5ed5e4a64
|
||||
EBUILD testdisk-7.1-r2.ebuild 2488 BLAKE2B fce98752a6cea2713ff003d9b6140ed071142c6ad7896f8ca7813714fad5cee6f8e2059c7bc5a2523478d30560baf3da43f085c5f8b847c325f70cf3efee556e SHA512 f0d18b3f24b00075380a561a6aed75dbe43dcc28e567c6c3d65422a38a066274b878b631443716b9a5425548d4ced0a45f8cd439814575c74d0456b9e9b4b7c5
|
||||
EBUILD testdisk-7.1-r2.ebuild 2487 BLAKE2B ee5dcbaced5760bec08a8956a90537c724fbe252111fc2a415652fec7790e29ee2926cd8b47ec2ed5ee3fa81d85f76ce90725b50a71d5e70996773f072708c0f SHA512 d37a02399c2001fbef952e4b3c4ec3fb56a26b48cd5e88bb8e6f95f81345f73c4cde29b84553807801f0cd1fd8f7adf9cbce602d1e9280a3f026c14fb9aaa08b
|
||||
MISC metadata.xml 640 BLAKE2B 2c906cdb19a874657ac6f51ea5ec0035b27b0644e73faac95b9234a888a991bc8d9026252a0bf1bd32841295519fe2a966f77101396ca8071dd96c3f742bfd24 SHA512 8996a1f5afaaf7cf18f088d342b717d43316737e92c7b891c63613f9698e4b60bcdc6c65d3d87e4ce4da129b40993e3a60c75544dd5503e9d104d2652460b58c
|
||||
|
Binary file not shown.
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
MY_PN="${PN}src"
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/unrar"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0/6" # subslot = soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.9.3-build.patch
|
||||
"${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin} || die
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
|
||||
find "${ED}" -type f -name "*.a" -delete || die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST dolphin-plugins-22.08.3.tar.xz 260088 BLAKE2B 2927d42a603776cc3b600606ff2f27a77c8bbbe6b089d3e691571c7594d0e4d53023064afbf07e02f546073823a873fd45f200ea13b9e2765b61046602d8239b SHA512 2201858d9d349c28cced78dcfd9a31c3fde05b3ab107a28615af4cc5c32d4315074881f78dfb255638a13269de16ab68b7c53b68d013cf46ded091f8b059173e
|
||||
DIST dolphin-plugins-22.12.1.tar.xz 268820 BLAKE2B e2468bb550d779d89808a59839f191fc5dd75a0146dfd3a2ba6dac823df8ea62b6425d5ca074b189f5d06e5f461b2edeb49423718e4da767e11edac3e6c35154 SHA512 7f3a3795050371b38e77b726eb74b2c0b0bc777056402a36c3f85e3e58103f2a56d73fa599a45572516aaa2e173f0fc3adf4ced6a5d8aabd4d07939c05deb62c
|
||||
DIST dolphin-plugins-22.12.2.tar.xz 271696 BLAKE2B b2a8fecc15ad80f4bdc8ca21517f39354576dac6e81e93a276266d6e2b4d4d09142794972c5b4d09b71019a11aad3f80dd9a07064759c05c0a13ee572980e7d6 SHA512 bc54ceaa845ec5e5493f687cd0c7b3f6a0bab264de5c03f65e219ccd9bbc4c3f348bd48cbb885bea41ed68fd8d0bfc30420f9959bde2bb04b5a37b33210b6667
|
||||
EBUILD dolphin-plugins-mountiso-22.08.3.ebuild 1495 BLAKE2B d9404609de4af8bd17be37c309851e1d5cc32af3346cd73d699762af73a32b71b46666f3a7fe8c2f659f8dd730007a8275959f9623b6a1312fe8784b135aa988 SHA512 964fa75a38b57b835b11abc6774f4e81f803c7b8f57a60b4f8184555ecd1c49ae5417b5613816d5c3c952a3796253fe5cbe2dbba5d9226e838f7b526862c31b5
|
||||
EBUILD dolphin-plugins-mountiso-22.12.1.ebuild 1450 BLAKE2B 81aa825cde28f58685bd17fa19b8119fda5722dfb02372b6b5986ecceca6b5b5bf09785e06a41e71205341d9c8641def93dec0a32b4ad5542a7bebb4ecc55cda SHA512 881a00dc5cd2094aea94ab7c9285ae64a0a44e1d95f32028973c1a7e95164f164dd90dd8c51c1679c388ad6210f1a5a40a90b68421bc09eb8b20204a283ac300
|
||||
EBUILD dolphin-plugins-mountiso-22.12.2.ebuild 1450 BLAKE2B 81aa825cde28f58685bd17fa19b8119fda5722dfb02372b6b5986ecceca6b5b5bf09785e06a41e71205341d9c8641def93dec0a32b4ad5542a7bebb4ecc55cda SHA512 881a00dc5cd2094aea94ab7c9285ae64a0a44e1d95f32028973c1a7e95164f164dd90dd8c51c1679c388ad6210f1a5a40a90b68421bc09eb8b20204a283ac300
|
||||
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24.4
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Compatibility libraries for Emacs"
|
||||
HOMEPAGE="https://github.com/emacs-compat/compat/
|
||||
https://git.sr.ht/~pkal/compat/"
|
||||
SRC_URI="https://github.com/emacs-compat/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
|
||||
src_compile() {
|
||||
emake compile ${PN}.info
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local has_json="$("${EMACS}" ${EMACSFLAGS} --eval "(princ (fboundp 'json-parse-string))")"
|
||||
if [[ "${has_json}" != t ]] ; then
|
||||
local line
|
||||
while read line ; do
|
||||
ewarn "${line}"
|
||||
done <<-EOF
|
||||
Your current Emacs version does not support native JSON parsing,
|
||||
which is required for running tests of ${CATEGORY}/${PN}.
|
||||
Emerge >=app-editors/emacs-27 with USE="json" and use "eselect emacs"
|
||||
to select that version.
|
||||
EOF
|
||||
else
|
||||
emake test
|
||||
fi
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX 50mu-cite-gentoo.el 142 BLAKE2B f6631cf5bb32bf66af28c56cf21e0dd51ffc545a47ac82edb0db125b78bbf6a183553b6d0afedcde766df0ae349085253f3edb91718b949341a899f01e6f1733 SHA512 737b4c0c5ae0790e7cc8dbf0d253aadf7cd2680c54940967d93f95dbf6fe80fdbf5290560ef4eacfa16c1a26ab9567726228af7b3b649f859c01b021c10563ef
|
||||
DIST mu-cite-201808232348.tar.gz 20443 BLAKE2B 814ebbd3ab45af4af65fee54884a1960a0cecccd07e1e0e084e860fcab4884ca0d97f4042f14f530b8ead4ee4347d13dbde9ecc96f5e82121bad44e0b93855ac SHA512 5a30124041ea5a807f5d8ea8a1ef18afcc7020d3f2d2bee4dd163fa1098d37d27b43db81c1b538bf1d1b06720840fb5c3f95d999fddd624437dd251fa061f699
|
||||
EBUILD mu-cite-8.1_p201808232348.ebuild 616 BLAKE2B 79e1b6002f78a7cff3efe8eae072563b91fb37c625e378280a9a513913db86bda87e8e50fdc93a00115a166b218f1da5a52da657a7d37667b0ba1392788d68cc SHA512 a04ea2f2776bbd7bd3bbbe05df93baec2f19bbe4476eea309f65991dffd945be6996f82cb8eea513000a977ec7ee5481cb27f6d9beaeb9e5afbc8f16dd350ed2
|
||||
DIST mu-cite-202011031127.tar.gz 21170 BLAKE2B 222aa03b42161d435d2aa09059d5b923fc4e336fce7a61e0a98535decdedb7c1a7c75129f3485118392acb569713b5ad8e0fd3b9be088a67ab15312ad4e94ba8 SHA512 d9fc6f7ad449506b6cd0f72f2e67e9f3c726b90fba39a3ff267aad25cc12a2b34a19c39371e7e58cb66bc9f9ed1b215e6b92f74e20aada4292441b6733ec73eb
|
||||
EBUILD mu-cite-8.1_p202011031127.ebuild 617 BLAKE2B 4dd947a13a23081c3fbe9cd5bae8a11cd98d015183e7c3874ee37eb8d400b53057d89381735d8c7d26db03732bfc3eab149e789a38509f7c2783cfe0ef0a0d89 SHA512 7d7dae0182cca9fdc1e465fe1476c32ca1e255a4cfa8ace9270af3141884327ab5a86ab8c2faa66d09f97b4bdfe70e341989f0d40ce1976dfba00b42ffc9ebfe
|
||||
MISC metadata.xml 462 BLAKE2B 5169fdf55a196037484ea95fbc8d856878f57bbd6c048cd69d38f24ba3d2f77d673c379993ada6b477615dad99406cc8b397ab43e9a012d2cbcaba51ceff71bf SHA512 bf673b7d2ff05bbfbb18d228a8d29150c92d7e4a784d557c2e37353f8c78acd8c5cefed81904c3829aef575fcdf9e9a71f2693d2b0184666b80edf993e5b955a
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX 50pandoc-mode-gentoo.el 254 BLAKE2B f979086ad1a06836f67c6fff750ef0a28f7e3a9fbbed996305d4b2c55e2f40ec5ba1c446680d9eaed499a400091000d02f397ab88949ec86ca4d95508b4a718f SHA512 dce6c925f16627fe1d572816a3304a5d605e0fbef9c3f4b5044c461d8ac0d5f47ee426d7b2faa1d6c163da7364f02255ee258e7aefc2c94e70e7430aabc95505
|
||||
DIST pandoc-mode-2.32.tar.gz 97596 BLAKE2B 2a1c8a6080fbba1cf278d78f9dbe4e6824daed52ad6422378d6b5c00fd4ec9466391474fdbaad5f1cd96d89080c24968b33c0911cb5f834ddd64dc1339b78c01 SHA512 6717bf238a9f71acce8135d5fa0542c23f2b48d78415f92dda2ef58aa0355ca0fe900e1015d0da674abf7780ed614bd7d4414519bf6d0d7f5aee7e3b7a7f447f
|
||||
EBUILD pandoc-mode-2.32-r1.ebuild 598 BLAKE2B 5f7120a6b9de6e35921e7a8368f47ddfd1888c86e61c13193828897d4b6ce70f2382634fe72ee596df158247ec4b8edf41b8fed687edd206235e1c9a25efa797 SHA512 1cad1707611e4b4cd3c48ea595bda4cd3dda8ca97a5203349cb448d3feeffa3f26d72f21edd23a204ee04ac8882e65ad2408997a222de44e4e7d9c82f01aa60c
|
||||
EBUILD pandoc-mode-2.32-r1.ebuild 611 BLAKE2B edc8e16b3094ac7bc88bfc421f6ad5043672be3ccc9a12fda3b22627c5434879d44fd54315d2c65c9c15b7a863c26b3fb02b9efb07b181e9ae55be445c2804b6 SHA512 187deb460a2be76c016ef357c6e7e3d7498431a2686d935bf71e2f208e4aa41863c28df7da236c1521fe6fd7c6a29a4c0e6372f36a0d9bebc117da2757e2ffc9
|
||||
MISC metadata.xml 798 BLAKE2B 2925d06732675f3478e4a7e57f077b1878c94c3f7986aae722867bab0654ce1aa77cc8b00a6ec2a08cfd1a8066670699ad59fda1504f4f4dbfc2bb23ab0a1d36 SHA512 7e4d3a0fc951f1f18f117c42bbb9f37aa90adb9412dcfec2e1461550fe1310784ffde6bd7097cf0708e1dd685f75eb139cde0c4cd8cbe1e6dd698234bc63f3f2
|
||||
|
@ -0,0 +1,4 @@
|
||||
AUX 50rg-gentoo.el 66 BLAKE2B 51ca91eda1462dcbcd9ae5bd917ab44b5e1259afd72bfb5cb8eb884dacca545677d00e0feac5e7d90f8b49c5f308afc354f5df08d2cca275e78e008fa15b94a7 SHA512 84a87f247455cfeadd80335fa686c1bfee28b3a006249fc5894880c2e2848bbe4795c71dd212bfc2aae5e599755ae335653e5a78457d1e04324b8b5ca82ed2b3
|
||||
DIST rg-2.2.1.tar.gz 202686 BLAKE2B 43abfdc5d631d5551272788dc31f8767f2b638604f180dfd0cb96df8d142f97ec644482da660c279f1877ab77477e5f25810de3850439d0210be1e4040c77a98 SHA512 eac9c21db6a13299e24f3e6166ff45f378f44454bc02ad8c04b42580d03c67eb28fbaee17feaa53096b7dced2e4e7dbf64a50608c61fe9188530fa0102a0f240
|
||||
EBUILD rg-2.2.1.ebuild 988 BLAKE2B 014d3b05938e9a85d8a24b3075c0ce0941811fdc66e14cd9c227b50dba49b05b38fef125829c7171a66e54d780e74a3e2821586645d289f32e86b14ccb55f2f2 SHA512 f8766cc1815e5c7ec3469ee99d7b19b7cea3183cf8e9389df07fe0309475ec56b89e6ce355392d99cf925d39df0ac6f8b7f89542c9b11bfcdfb1e4529b42a060
|
||||
MISC metadata.xml 1083 BLAKE2B aa777fe0b99335ca705401879d333e921bb480798c85a2213822461e4b60a5b8d660592d8dab7f1d81dff98dc2808aeff11992890842fc7657deee2516006288 SHA512 aca5ee92739a5e12ef60f539b74f2bb9449ec472d2ee2169528cb76cc716e0829427c9e3ddbb8ce7857266fc31a5143538a369afb59f5f00f26dd31e8af67d5c
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "rg-autoloads" nil t)
|
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
A search package based on the ripgrep command line tool. It allows you to
|
||||
interactively create searches, doing automatic searches based on the
|
||||
editing context, refining and modifying search results and much more. It is
|
||||
also highly configurable to be able to fit different users' needs. If you
|
||||
are used to built-in Emacs rgrep command, transitioning to rg should be
|
||||
simple. rg provides a lot of extra features but the basics are similar. The
|
||||
big benefit of using ripgrep instead of grep as a backend is speed.
|
||||
Especially when searching large source code repositories where ripgrep
|
||||
really shines.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/dajva/rg.el/issues/</bugs-to>
|
||||
<remote-id type="github">dajva/rg.el</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="GNU Emacs search tool based on ripgrep"
|
||||
HOMEPAGE="https://rgel.readthedocs.io/
|
||||
https://github.com/dajva/rg.el/"
|
||||
SRC_URI="https://github.com/dajva/rg.el/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/rg.el-${PV}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-emacs/transient
|
||||
app-emacs/wgrep
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
sys-apps/ripgrep
|
||||
"
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
app-emacs/ert-runner
|
||||
app-emacs/s
|
||||
app-emacs/undercover
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
ELISP_REMOVE="test/rg.el-test.el test/rg-isearch.el-test.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ert-runner -L . -L test --reporter ert+duration --script test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
doinfo rgel.info
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST protontricks-1.10.1.tar.gz 160943 BLAKE2B 12361ce009a62bdba8c420069f87879bf22e047df8bd6d843fb8672222fe6ab04d61f03a44c43a147729461a2f872e2239ee97d737aba28ffdbb273e797be218 SHA512 0b6e3277ea8a106d2bc52cc805b0c3a023733f0a6554fabfe9f32ff27d1bdf04058a419a719c7ca81dc45759a803a83b03408806e4b9328664e572655a3c4df0
|
||||
DIST protontricks-1.9.2.tar.gz 158505 BLAKE2B ea4bc39d835d28c3f1ba50fa64d9a646ec9ef535b7369517b77bccaceb62cb922bed8844a8a4ea1d4561e248e302628379326a4760b25ac24411e679d018cee0 SHA512 75158c5a8a86edaafcb5be1b01053db91e45754488db0febe026ef0cbfbbb67fa6f3f17d60fec997c6dd19a73245ee408bd2220e09a3983ccd253e6e4c10457d
|
||||
EBUILD protontricks-1.10.1.ebuild 1401 BLAKE2B db3405b031b5154c161584a07d35a1c584029e608d1c1b4a96d4972ff5071af4f3169a66199237aa752ddbd479f6ff92ea48b2f07dfa73a83a3e64b3e87e046a SHA512 a14ebea4005bf8953c5e8f7daa1c9f78868783777672f8321dec821cb2718c3c07776099c4a8862713508d5930ea5e7f803d22f3f85c9229d7a10258f3af900e
|
||||
EBUILD protontricks-1.9.2.ebuild 1561 BLAKE2B b30f9971768797de3bbf3afd30bb20e27203c6dcc1feb05ff3d31380f983dcf3fca1f984f73c6e5d86910382f095ef89be429e3a595322a9cd04a4300cb2fe25 SHA512 7f059e7ba7149120b9337b164d4731a8339f9f927e9a4e6424a97cad4777bf2006b9aa2e4d9243375152393aba25d977d77b4a09c70164d06510952d152bd809
|
||||
EBUILD protontricks-1.10.1.ebuild 1400 BLAKE2B 16d9cb0944d10a8be65b57240d1579b098825c5232086ce2fe9cb4236aeef7d062b03e154b0bc58a61b9baddd6e3a8de56812f37a205027a36ae11ba43960c78 SHA512 64a15c53a2ca859a93b55d3f3b98f2882b59cb515c39252a2682da69ca4218264ea5f2a19ad9b5fb37c72f35454950e2c7ca2489538443345d151bb178518be5
|
||||
MISC metadata.xml 809 BLAKE2B dc0506e6f3224adc867438699359c4eafc389041846c644818732036e04bcb9c789e358a08effdb4b9ff4430521f7fe8ff6800b75aa93d6313e3d85395467741 SHA512 351bb79dc7921e6c62100b3354546185d31578b044393ea5e5b5fea089eb47164882ff4ede30d8a575dea31ec9d0927793f8109d9e63ca4ad6954c1affdbe6f4
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
|
||||
HOMEPAGE="https://github.com/Matoking/protontricks"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="+gui"
|
||||
|
||||
RDEPEND="app-emulation/winetricks
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/vdf[${PYTHON_USEDEP}]
|
||||
')
|
||||
gui? ( gnome-extra/zenity
|
||||
|| (
|
||||
app-emulation/winetricks[gtk]
|
||||
app-emulation/winetricks[kde]
|
||||
)
|
||||
)"
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
echo "version = '${PV}'" > "${S}"/src/${PN}/_version.py || die "Failed to generate the version file"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
|
||||
elog
|
||||
|
||||
if ! use gui; then
|
||||
ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option,"
|
||||
ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "Protontricks can only find games for which a Proton prefix already exists."
|
||||
elog "Make sure to run a Proton game at least once before trying to use protontricks on it."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
AUX uxn-build.sh.patch 363 BLAKE2B 5283c0a42a2e2ec96bbc15ea88bd7a4ff2a3b0f81274f87f6508fde09f1b6563b0bda6d96c2939e4a6d7bf4fc2fa5cadc1c79a7ab29bb0ffebaa3cdf03b86eb3 SHA512 f5b1df9b62ee9dc88a11e0950f7dd606e699ef6b23664cb37ba75c96e663cca1364fbff1597333db06bd6b3a7b5f797af612e2ea52002254dd30f03f13d723d0
|
||||
DIST uxn-0_p20220921.tar.gz 286803 BLAKE2B 98230eec1f5071451a25dbe0136f3fd2d7e9ad08287df40bef611ae3012e3775d787a653a43fb4f1cb6c8f213cb8d39684e48c4f6c225bc19e86f1e4b94d73ba SHA512 8568114ddd98672aab4ca59ab279d39ff7a30c04d0b2a53da85b342a17a80d82b5b0ab90f04f63aa0491f8feaa91655f8fa725ec0d76a559b6201407b47bf1f5
|
||||
DIST uxn-0_p20221022.tar.gz 287106 BLAKE2B 3ca3f1363a71c2c974e95c75cba09d13ff81f320e1ec5ecf3b9a93de6d834447105fd49aa04c0c94a53f01a79bfda68f24662c7eac3993937d9870e5fd7dd4f6 SHA512 77fa297cdd02856cc1a6ddd4515f459d77e216434319a3e7901598d1c28dc34fe49429ae6875745f412bbc977c44041c2c65dc5d0dc4fdb25708e8e666995d81
|
||||
DIST uxn-0_p20221211.tar.gz 284943 BLAKE2B de116e87120bc71975271c9ad0c1b01cba6e13a78cba0faaf811a2cace72204f15fca620bb4c87518542208e1c2af49e6db98b1b3b442ec3a855fb8b592acb2d SHA512 d59504f994b487aff151fefdb2f0f87a707fe998c1ea08539dc8d67aed28a4c93c9ff4bde036a9eb44401e8e6a12b7a15c17e434d5cab7b44a17e2e18e50e978
|
||||
EBUILD uxn-0_p20220921.ebuild 1135 BLAKE2B 15c891ba488ee44a5195fc5bb829463ae168ef2eb064751e5dda1a3dbea567bb9cdc3d8329b817ddd94a37546593521025358cbd62785fe26ed7019868936df4 SHA512 ee293d9e588e35766d3e898cfd6824f99aebdefcf09aa016cadc08b14acdbfe7c40129e6b0f8a3ba880b4adf5c47fd38bc334658c545ae27322871275775fb45
|
||||
EBUILD uxn-0_p20221022.ebuild 1132 BLAKE2B cfef631b690e38faa5885485af9f1c41e46033c5db7c0d934a199a21ca33afa5066575144c947493563a873632b58d445b52240c3c650f3130ef7b864a1dbac5 SHA512 ad8ceb12d17715916f0d6c6c9a1c285e13d39e22931e556e6774f05316957d591f6e252f477ec62334e6c5334898ebb8b1e8d3be84f4ceb20b7de43b330d8e02
|
||||
EBUILD uxn-0_p20221211.ebuild 1132 BLAKE2B a24a24e2a1ecfc3725e588b9c88471c4620d154ca3fbfe6d878df5d3cb484dd9b41c68864739a61b185e29e58e8ca96be482ca5b8d01b1e98b712b4d3668a726 SHA512 10f0d1b56474f29bff823437daa2665bbfeb21df0919ed62a79ed8101afc400d127889d2e24b945bcdd51fd26e2a268319060006fd024d3e5ec92a4d3b4a2088
|
||||
EBUILD uxn-9999.ebuild 1135 BLAKE2B c7bbe65d7cefcaf2906269c1cbf6b4b80fc87a90bd8e50160130847cca3a5a5557324acdab8bcf5981c503a0857162fcd5d7a4b800755605d2f889fa6c71b5eb SHA512 d3f79d6f5ca928081b885c8e62c7d52c4339eae336e0c07d22484edceab01ce79b3f0671a0f7cc09ec0a3120d3181faf906df193987be30d5fd643d7fb7745b7
|
||||
DIST uxn-0_p20230201.tar.gz 285942 BLAKE2B 2ace9aba9e7c5c7cd60c8db2208e16b4af4830dee5bb10eaa228028ada8701154069423a6b920a09821f63e52dd8955c48e2f13b58061aa08256045e20aaf020 SHA512 e33ff693124d14ee94c8192adb47d940f08d37c22067264afdcae7f4f9ac713915c4daa3bbee3e38385cb71b988a30991ca8ea123dd542438367eaf3a4c88f84
|
||||
EBUILD uxn-0_p20221022.ebuild 1179 BLAKE2B 5c2cde51f7d71a67f9eeb06db823e304f8a1b48fd1c3a2d927d2238996f5fb9a441270f1a0e3acd92757a9e46d2388f7fb7faa429bcbb08fac8076b6103377a6 SHA512 f7aba115518a169f5e40a3e152bf21c8e67b16913042dc596bb46f6375fbb5911c3614bfc51051b49f0d9ed0f8cd026fa7b8aaeab0e2dab3397c5efab8bc584a
|
||||
EBUILD uxn-0_p20221211.ebuild 1179 BLAKE2B bea397175899c3959d1a751ffb074dac2fb1e8e17721573c4caaac4038f02868dda1b4e26580d2eeb7cdb54c5c3d000f8c5f3d39c4af73c736969644ca3dce70 SHA512 61ece82931c7579d5b44cf7bdf531598f86c6136fac9785c00d016eaf71ffaba868bcdf07b47c3f101de10e3cb4f8db211543f4a288926b0e486ee769b914d3a
|
||||
EBUILD uxn-0_p20230201.ebuild 1179 BLAKE2B b85f01d306f9f256457ea36d7d2a38b16409c0309ab21a8b79c04854ffe36567c85e9d3dc54fcf73d67a73e17603e76712fb17f88f542bef232600adea2d0890 SHA512 ce09c20c8e8a11df89102e80fe36fced275b2cb75e13ea3cc80cefa79d57accad1e8317ae82f42517fea1e621ee3d0f123a440ab268d515ba1290d4168fb849d
|
||||
EBUILD uxn-9999.ebuild 1103 BLAKE2B e96ef87b30263310787425c109694b3d15c3d3733ea1ead43546fe225380bb6621738d134c9a1b8492db1e9f1bd643f2283e9106eae3e17738fd131e3311e8c1 SHA512 63afc5ea36ac4c5a96121ed8081db3efd1a9b0eaf7474849b3829449ab67ce174c619bcc266fff8f703450cc624c2cdb445aabeda1e238da76d0bc61b65e6d3a
|
||||
MISC metadata.xml 643 BLAKE2B 11f4437dbab961e620e204294cb8b18e1ef43c2c79411f8b1224a36276c6a4781e3cb5e854040c979eaa27dc145eb606576ba20076d16a301e33aea6bdcd0df4 SHA512 b5bf43fdcafed44459ac77576f631105175691078b8094d505657fdacc0519856ca063890d432051aa5bff8853ca55f7b10d3b8f680230605de63f69b0acf997
|
||||
|
@ -1,24 +1,23 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=cbc61578b77881232fda4cc42aa914a0806b786f
|
||||
[[ ${PV} == *_p20230201 ]] && COMMIT=0dcc3b4c2e12bf2a61e682e9168e8bdb469caae0
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="An assembler and emulator for the Uxn stack-machine, written in ANSI C"
|
||||
HOMEPAGE="
|
||||
https://wiki.xxiivv.com/site/uxn.html
|
||||
https://git.sr.ht/~rabbits/uxn/
|
||||
"
|
||||
HOMEPAGE="https://wiki.xxiivv.com/site/uxn.html
|
||||
https://git.sr.ht/~rabbits/uxn/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~rabbits/uxn.git"
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
SRC_URI="https://git.sr.ht/~rabbits/uxn/archive/${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${COMMIT}
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
@ -1,5 +1,8 @@
|
||||
AUX README.gentoo 707 BLAKE2B 1a33b734540d0321aa91e4ad6b05f9f10b13fa2fdfe3ac28c2c54432bb5d0c773ae07e39c3c6e6e3da21b39f7b63d2df82ed1dd1d306133c2c0b9d407cfdffdc SHA512 42aa73f1a189521f67addfff3da3eb5ad6df81d5525284338812862dcd6f57b9be6af7625cec1a828318ac453de8d361480daf864a6cf32b713e316847bec722
|
||||
DIST virtio-win-0.1.221.iso 531486720 BLAKE2B aa4914cf3a8298c7949b365a1f3e224c28eecc1a73897aec9c2a54d79976e6bcac5827b2c258e82f1faa86b2787e042e575003f6975ec11d875cf8ee2a4e184f SHA512 ee2608a4bb873911541cf884d1840845173e64b309fad23d744aaaa058d7c3ef8bf89fadf316d8d93363585402690923ffd6252660b4f609a439c561decfece0
|
||||
DIST virtio-win-0.1.225.iso 532060160 BLAKE2B ed0fbf486f0c576bed25f02ea09cfd957a00a42d85063feb1dd2977e2cd816601fe2b013e00abbccf07eb765da3b64b88b5675c95175fdc971a20d784c28d503 SHA512 c0a940ca747983d88876f805f7266a8aae61b83857983738d06e9d555569d2b42a9cddb77d535b4f9dbc4b1099583f8b6844f13e4bd98ea1f0f6aec22c6c9be7
|
||||
EBUILD virtio-win-0.1.221.1.ebuild 697 BLAKE2B 581983043dc8f8fc48fe7578d2ec0540d5665b2db60c2b435fe919ef3c690b8e030febbe932e036e5ee26e11e5c7fe3063f3273ec4fc708365676a138067fbca SHA512 f59ca38dff52c2389f8b5027734c572f66809082c921c0df81b09584ab3b5a572bd5fe002a84eb8320765f21e68a89bca5b3ff250cc681ee5cbe16a3b6eac1be
|
||||
EBUILD virtio-win-0.1.225.2.ebuild 697 BLAKE2B 581983043dc8f8fc48fe7578d2ec0540d5665b2db60c2b435fe919ef3c690b8e030febbe932e036e5ee26e11e5c7fe3063f3273ec4fc708365676a138067fbca SHA512 f59ca38dff52c2389f8b5027734c572f66809082c921c0df81b09584ab3b5a572bd5fe002a84eb8320765f21e68a89bca5b3ff250cc681ee5cbe16a3b6eac1be
|
||||
DIST virtio-win-0.1.229.iso 534818816 BLAKE2B 29442b70e5809fc935940497b4bc021f6fe890beba97605b048e0c5236764d08bc164974be25bf8331136ebbdf664ea440efe1f219129a30a171134bfe369942 SHA512 e9ccb513b07cb28ab490f5d4e299d0d52ade956f82e1a708e91c1ee3af9b142fa144af0fe5287d3bbb369f586857791952de45d1241058073f5a59c1f2f913ca
|
||||
EBUILD virtio-win-0.1.221.1.ebuild 858 BLAKE2B 5eb9258a937492dde09ad905011f76ec5a83a91d1422e4acb23cdf4ef9f178464b8ce86993009d1ca4be7640209d4bdd6d3c2f12799865eabc783fd9829844f6 SHA512 95a1e230a35a36097485e6fd24231940c7090b5f9d1a381e40803f00b9275db647f5b1969676f303f1afb5d81ca0af52da79fc1ba3bd24352c52d25ad2065b01
|
||||
EBUILD virtio-win-0.1.225.2.ebuild 858 BLAKE2B 5eb9258a937492dde09ad905011f76ec5a83a91d1422e4acb23cdf4ef9f178464b8ce86993009d1ca4be7640209d4bdd6d3c2f12799865eabc783fd9829844f6 SHA512 95a1e230a35a36097485e6fd24231940c7090b5f9d1a381e40803f00b9275db647f5b1969676f303f1afb5d81ca0af52da79fc1ba3bd24352c52d25ad2065b01
|
||||
EBUILD virtio-win-0.1.229.1.ebuild 858 BLAKE2B 5eb9258a937492dde09ad905011f76ec5a83a91d1422e4acb23cdf4ef9f178464b8ce86993009d1ca4be7640209d4bdd6d3c2f12799865eabc783fd9829844f6 SHA512 95a1e230a35a36097485e6fd24231940c7090b5f9d1a381e40803f00b9275db647f5b1969676f303f1afb5d81ca0af52da79fc1ba3bd24352c52d25ad2065b01
|
||||
MISC metadata.xml 411 BLAKE2B a720d6789e46cf48d3d2a668b1edbc8bb6d6b837eebd19b1adfcc557dbb1313fccdd8fa174af0cc4e742c0d7f29d5f9ebef3de3e779819ab82a1ce8fc5635e27 SHA512 3729f816fad822a562ff5a8a1345c2ca20f990d35af5565008ef98370872ee0f313d0e89f0de27d08793a212737d6dd6662ce4c22b3c2a2bc43f7c8a69db46a4
|
||||
|
@ -0,0 +1,15 @@
|
||||
VirtIO drivers have been installed as a CD-ROM image to
|
||||
|
||||
/usr/share/drivers/windows/virtio-win.iso
|
||||
|
||||
To install the drivers on a Windows guest machine, either during or after the
|
||||
installation of Windows, pass the iso file to the guest machine and mount it as
|
||||
a CD-ROM image. Then, in the Windows guest, open the Device Manager and start
|
||||
the driver update wizard. Locate the appropriate device and click to update its
|
||||
driver. In the pop-up window, click to browse in the guest machine to locate
|
||||
the iso image, and select the driver(s) from it to install.
|
||||
|
||||
For an example, see: https://wiki.gentoo.org/wiki/QEMU/Windows_guest
|
||||
|
||||
For information on using the Device Manager, refer to the Windows
|
||||
documentation.
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
MY_PV=$(ver_cut 1-3)
|
||||
MY_DW=$(ver_rs 3 -)
|
||||
|
||||
DESCRIPTION="VirtIO drivers for Windows virtual machines running on KVM"
|
||||
HOMEPAGE="https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html"
|
||||
SRC_URI="https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/${PN}-${MY_DW}/${PN}-${MY_PV}.iso"
|
||||
|
||||
LICENSE="BSD Apache-2.0 GPL-2 GPL-2+ GPL-3+ LGPL-2+ Ms-RL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}"
|
||||
INSTALL_PATH=/usr/share/drivers/windows
|
||||
|
||||
src_install() {
|
||||
insinto "${INSTALL_PATH}"
|
||||
doins "${DISTDIR}/${PN}-${MY_PV}.iso"
|
||||
dosym "${PN}-${MY_PV}.iso" "${INSTALL_PATH}/${PN}.iso"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Add a few missing includes.
|
||||
|
||||
Bug: https://bugs.gentoo.org/892852
|
||||
|
||||
--- a/src/libs/dxvk-native-1.9.2a/src/util/util_matrix.cpp
|
||||
+++ b/src/libs/dxvk-native-1.9.2a/src/util/util_matrix.cpp
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <cstdint>
|
||||
#include "util_matrix.h"
|
||||
|
||||
namespace dxvk {
|
||||
@@ -229,4 +230,4 @@
|
||||
return os;
|
||||
}
|
||||
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
--- a/src/libs/dxvk-native-1.9.2a/src/util/util_vector.h
|
||||
+++ b/src/libs/dxvk-native-1.9.2a/src/util/util_vector.h
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
+#include <cstdint>
|
||||
|
||||
#include "util_bit.h"
|
||||
#include "util_math.h"
|
@ -0,0 +1,729 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# To add a new Python here:
|
||||
# 1. Patch src/libs/xpcom18a4/python/Makefile.kmk (copy the previous impl's logic)
|
||||
# Do NOT skip this part. It'll end up silently not-building the Python extension
|
||||
# or otherwise misbehaving if you do.
|
||||
#
|
||||
# 2. Then update PYTHON_COMPAT & set PYTHON_SINGLE_TARGET for testing w/ USE=python.
|
||||
#
|
||||
# May need to look at other distros (e.g. Arch Linux) to find patches for newer
|
||||
# Python versions as upstream tends to lag. Upstream may have patches on their
|
||||
# trunk branch but not release branch.
|
||||
#
|
||||
# See bug #785835, bug #856121.
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit desktop edo flag-o-matic java-pkg-opt-2 linux-info multilib optfeature pax-utils \
|
||||
python-single-r1 tmpfiles toolchain-funcs udev xdg
|
||||
|
||||
MY_PN="VirtualBox"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
|
||||
HOMEPAGE="https://www.virtualbox.org/"
|
||||
SRC_URI="
|
||||
https://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2
|
||||
https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-6.1.36.tar.bz2
|
||||
gui? ( !doc? ( https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${PN}-help-${PV}.tar.xz ) )
|
||||
"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="GPL-2+ GPL-3 LGPL-2.1 MIT dtrace? ( CDDL )"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa dbus debug doc dtrace +gui java lvm nls pam pch pulseaudio +opengl python +sdk +sdl +udev vboxwebsrv vde vnc"
|
||||
|
||||
unset WATCOM #856769
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
acct-group/vboxusers
|
||||
~app-emulation/virtualbox-modules-${PV}
|
||||
dev-libs/libtpms
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:0=
|
||||
media-libs/libpng:0=
|
||||
media-libs/libvpx:0=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
dbus? ( sys-apps/dbus )
|
||||
gui? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qthelp:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtxml:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
opengl? ( dev-qt/qtopengl:5 )
|
||||
)
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
opengl? (
|
||||
media-libs/libglvnd[X]
|
||||
media-libs/vulkan-loader
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
sdl? (
|
||||
media-libs/libsdl:0[X,video]
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXt
|
||||
)
|
||||
vboxwebsrv? ( net-libs/gsoap[-gnutls(-),debug?] )
|
||||
vde? ( net-misc/vde )
|
||||
vnc? ( >=net-libs/libvncserver-0.9.9 )
|
||||
"
|
||||
# We're stuck on JDK (and JRE, I guess?) 1.8 because of need for wsimport
|
||||
# with USE="vboxwebsrv java". Note that we have to put things in DEPEND,
|
||||
# not (only, anyway) BDEPEND, as the eclass magic to set the environment variables
|
||||
# based on *DEPEND doesn't work for BDEPEND at least right now.
|
||||
#
|
||||
# There's a comment in Config.kmk about it
|
||||
# ("With Java 11 wsimport was removed, usually part of a separate install now.")
|
||||
# but it needs more investigation.
|
||||
#
|
||||
# See bug #878299 to track this issue.
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
virtual/libcrypt:=
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
gui? (
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libxcb:=
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrandr
|
||||
)
|
||||
java? ( virtual/jdk:1.8 )
|
||||
opengl? (
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrandr
|
||||
virtual/glu
|
||||
)
|
||||
sdl? ( x11-libs/libXinerama )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
udev? ( >=virtual/udev-171 )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
gui? ( x11-libs/libxcb:= )
|
||||
java? ( virtual/jre:1.8 )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/tar
|
||||
>=dev-lang/yasm-0.6.2
|
||||
dev-libs/libIDL
|
||||
dev-util/glslang
|
||||
>=dev-util/kbuild-0.1.9998.3127
|
||||
sys-apps/which
|
||||
sys-devel/bin86
|
||||
sys-libs/libcap
|
||||
sys-power/iasl
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/docbook-sgml-dtd:4.4
|
||||
app-text/docbook-xsl-ns-stylesheets
|
||||
dev-texlive/texlive-basic
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-qt/qthelp:5
|
||||
)
|
||||
gui? ( dev-qt/linguist-tools:5 )
|
||||
nls? ( dev-qt/linguist-tools:5 )
|
||||
java? ( virtual/jdk:1.8 )
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib64/virtualbox/VBoxDDR0.r0
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.r0
|
||||
usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.debug
|
||||
"
|
||||
|
||||
QA_TEXTRELS="
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.r0
|
||||
"
|
||||
|
||||
QA_EXECSTACK="
|
||||
usr/lib64/virtualbox/iPxeBaseBin
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
usr/lib64/virtualbox/VBoxDDR0.r0
|
||||
usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.r0
|
||||
usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.debug
|
||||
"
|
||||
|
||||
QA_WX_LOAD="
|
||||
usr/lib64/virtualbox/iPxeBaseBin
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/lib64/virtualbox/VMMR0.r0
|
||||
usr/lib64/virtualbox/VBoxDDR0.r0
|
||||
usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.r0
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
java? ( sdk )
|
||||
python? ( sdk )
|
||||
vboxwebsrv? ( java )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.1.26-configure-include-qt5-path.patch # bug #805365
|
||||
|
||||
# This patch is needed to avoid automagic detection based on a hardcoded
|
||||
# list of Pythons in configure. It's necessary but not sufficient
|
||||
# (see the rest of the ebuild's logic for the remainder) to handle
|
||||
# proper Python selection.
|
||||
"${FILESDIR}"/${PN}-6.1.34-r3-python.patch
|
||||
|
||||
# 865361
|
||||
"${FILESDIR}"/${PN}-6.1.36-fcf-protection.patch
|
||||
|
||||
"${FILESDIR}"/${PN}-7.0.4-fix-compilation.patch
|
||||
"${FILESDIR}"/${PN}-7.0.0-fix-compilation-clang.patch
|
||||
"${FILESDIR}"/${PN}-7.0.0-python3_11.patch
|
||||
"${FILESDIR}"/${PN}-7.0.6-gcc-13.patch
|
||||
|
||||
# Downloaded patchset
|
||||
"${WORKDIR}"/virtualbox-patches-6.1.36/patches
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if ! use gui; then
|
||||
einfo "No USE=\"gui\" selected, this build will not include any Qt frontend."
|
||||
fi
|
||||
|
||||
if ! use opengl; then
|
||||
einfo "No USE=\"opengl\" selected, this build will lack"
|
||||
einfo "the OpenGL feature."
|
||||
fi
|
||||
if ! use python; then
|
||||
einfo "You have disabled the \"python\" USE flag. This will only"
|
||||
einfo "disable the python bindings being installed."
|
||||
fi
|
||||
if ! use nls && use gui; then
|
||||
einfo "USE=\"gui\" also selects USE=\"nls\". This build"
|
||||
einfo "will have NLS support."
|
||||
fi
|
||||
|
||||
# 749273
|
||||
local d=${ROOT}
|
||||
for i in usr "$(get_libdir)"; do
|
||||
d="${d}/$i"
|
||||
if [[ "$(stat -L -c "%g %u" "${d}")" != "0 0" ]]; then
|
||||
die "${d} should be owned by root, VirtualBox will not start otherwise"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Only add nopie patch when we're on hardened
|
||||
if gcc-specs-pie; then
|
||||
eapply "${FILESDIR}"/050_virtualbox-5.2.8-nopie.patch
|
||||
fi
|
||||
|
||||
# Remove shipped binaries (kBuild, yasm) and tools, see bug #232775
|
||||
rm -r kBuild/bin || die
|
||||
# Remove everything in tools except kBuildUnits
|
||||
find tools -mindepth 1 -maxdepth 1 -name kBuildUnits -prune -o -exec rm -r {} \+ || die
|
||||
|
||||
# Disable things unused or split into separate ebuilds
|
||||
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
"${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
|
||||
|
||||
if ! use pch; then
|
||||
# bug #753323
|
||||
printf '\n%s\n' "VBOX_WITHOUT_PRECOMPILED_HEADERS=1" \
|
||||
>> LocalConfig.kmk || die
|
||||
fi
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
|
||||
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
|
||||
|
||||
# Do not use hard-coded ld (related to bug #488176)
|
||||
sed -e '/QUIET)ld /s@ld @$(LD) @' \
|
||||
-i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
|
||||
|
||||
# Use PAM only when pam USE flag is enbaled (bug #376531)
|
||||
if ! use pam; then
|
||||
einfo "Disabling PAM removes the possibility to use the VRDP features."
|
||||
sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
|
||||
sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
|
||||
src/VBox/HostServices/Makefile.kmk || die
|
||||
fi
|
||||
|
||||
# add correct java path
|
||||
if use java; then
|
||||
sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
|
||||
-i "${S}"/Config.kmk || die
|
||||
java-pkg-opt-2_src_prepare
|
||||
fi
|
||||
|
||||
#856811 #864274
|
||||
# cannot filter out only one flag, some combinations of these flags produce buggy executables
|
||||
for i in abm avx avx2 bmi bmi2 fma fma4 popcnt; do
|
||||
append-cflags $(test-flags-CC -mno-$i)
|
||||
append-cxxflags $(test-flags-CXX -mno-$i)
|
||||
done
|
||||
|
||||
# bug #843437
|
||||
cat >> LocalConfig.kmk <<-EOF || die
|
||||
CXXFLAGS=${CXXFLAGS}
|
||||
CFLAGS=${CFLAGS}
|
||||
EOF
|
||||
|
||||
if use sdl; then
|
||||
echo -e "\nVBOX_WITH_VBOXSDL=1" >> LocalConfig.kmk || die
|
||||
fi
|
||||
|
||||
#443830
|
||||
echo -e "\nVBOX_WITH_VBOX_IMG=1" >> LocalConfig.kmk || die
|
||||
|
||||
# clang assembler chokes on comments starting with /
|
||||
if tc-is-clang; then
|
||||
sed -i -e '/^\//d' src/libs/xpcom18a4/nsprpub/pr/src/md/unix/os_Linux_x86_64.s || die
|
||||
fi
|
||||
|
||||
# fix doc generation
|
||||
echo -e "\nVBOX_PATH_DOCBOOK=/usr/share/sgml/docbook/xsl-ns-stylesheets" >> LocalConfig.kmk || die
|
||||
# replace xhtml names with numeric equivalents
|
||||
find doc/manual -name \*.xml -exec sed -i \
|
||||
-e 's/ /\ /g' \
|
||||
-e 's/–/\–/g' \
|
||||
-e 's/←/\←/g' \
|
||||
-e 's/→/\→/g' \
|
||||
-e 's/↔/\↔/g' {} \+ || die
|
||||
|
||||
# fix help path #891879
|
||||
echo -e "\nVBOX_PATH_PACKAGE_DOCS=/usr/share/doc/${PF}" >> LocalConfig.kmk || die
|
||||
|
||||
# 489208
|
||||
# Cannot patch the whole text, many translations. Use sed instead to replace the command
|
||||
find src/VBox/Frontends/VirtualBox/nls -name \*.ts -exec sed -i \
|
||||
's/'[^&]*\(vboxdrv setup\|vboxconfig\)'/\'emerge -1 virtualbox-modules\'/' {} \+ || die
|
||||
sed -i "s:'/sbin/vboxconfig':'emerge -1 virtualbox-modules':" \
|
||||
src/VBox/Frontends/VirtualBox/src/main.cpp \
|
||||
src/VBox/VMM/VMMR3/VM.cpp || die
|
||||
|
||||
# 890561
|
||||
echo -e "\nVBOX_GTAR=gtar" >> LocalConfig.kmk || die
|
||||
|
||||
if ! use nls && ! use gui; then
|
||||
cat >> LocalConfig.kmk <<-EOF || die
|
||||
VBOX_WITH_NLS :=
|
||||
VBOX_WITH_MAIN_NLS :=
|
||||
VBOX_WITH_PUEL_NLS :=
|
||||
VBOX_WITH_VBOXMANAGE_NLS :=
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-ld-disable-gold # bug #488176
|
||||
|
||||
tc-export AR CC CXX LD RANLIB
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
|
||||
local myconf=(
|
||||
--with-gcc="$(tc-getCC)"
|
||||
--with-g++="$(tc-getCXX)"
|
||||
|
||||
--disable-kmods
|
||||
|
||||
$(usev !alsa --disable-alsa)
|
||||
$(usev !dbus --disable-dbus)
|
||||
$(usev debug --build-debug)
|
||||
$(usev !doc --disable-docs)
|
||||
$(usev !java --disable-java)
|
||||
$(usev !lvm --disable-devmapper)
|
||||
$(usev !pulseaudio --disable-pulse)
|
||||
$(usev !python --disable-python)
|
||||
$(usev vboxwebsrv --enable-webservice)
|
||||
$(usev vde --enable-vde)
|
||||
$(usev vnc --enable-vnc)
|
||||
)
|
||||
|
||||
if use gui || use sdl || use opengl; then
|
||||
myconf+=(
|
||||
$(usev !opengl --disable-opengl)
|
||||
$(usev !gui --disable-qt)
|
||||
$(usev !sdl --disable-sdl)
|
||||
)
|
||||
else
|
||||
myconf+=(
|
||||
--build-headless
|
||||
)
|
||||
fi
|
||||
|
||||
if use amd64 && ! has_multilib_profile; then
|
||||
myconf+=( --disable-vmmraw )
|
||||
fi
|
||||
|
||||
# not an autoconf script
|
||||
edo ./configure "${myconf[@]}"
|
||||
|
||||
# Force usage of chosen Python implementation
|
||||
# bug #856121, bug #785835
|
||||
sed -i \
|
||||
-e '/VBOX_WITH_PYTHON.*=/d' \
|
||||
-e '/VBOX_PATH_PYTHON_INC.*=/d' \
|
||||
-e '/VBOX_LIB_PYTHON.*=/d' \
|
||||
AutoConfig.kmk || die
|
||||
|
||||
cat >> AutoConfig.kmk <<-EOF || die
|
||||
VBOX_WITH_PYTHON=$(usev python 1)
|
||||
VBOX_PATH_PYTHON_INC=$(python_get_includedir)
|
||||
VBOX_LIB_PYTHON=$(python_get_library_path)
|
||||
EOF
|
||||
|
||||
if use python; then
|
||||
local mangled_python="${EPYTHON#python}"
|
||||
mangled_python="${mangled_python/.}"
|
||||
|
||||
# Stub out the script which defines what the Makefile ends up
|
||||
# building for. gen_python_deps.py gets called by the Makefile
|
||||
# with some args and it spits out a bunch of paths for a hardcoded
|
||||
# list of Pythons. We just override it with what we're actually using.
|
||||
# This minimises the amount of patching we have to do for new Pythons.
|
||||
cat > src/libs/xpcom18a4/python/gen_python_deps.py <<-EOF || die
|
||||
print("VBOX_PYTHON${mangled_python}_INC=$(python_get_includedir)")
|
||||
print("VBOX_PYTHON${mangled_python}_LIB=$(python_get_library_path)")
|
||||
print("VBOX_PYTHONDEF_INC=$(python_get_includedir)")
|
||||
print("VBOX_PYTHONDEF_LIB=$(python_get_library_path)")
|
||||
EOF
|
||||
|
||||
chmod +x src/libs/xpcom18a4/python/gen_python_deps.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
source ./env.sh || die
|
||||
|
||||
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
|
||||
MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS})
|
||||
MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS})
|
||||
MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
|
||||
|
||||
local myemakeargs=(
|
||||
VBOX_BUILD_PUBLISHER=_Gentoo
|
||||
VBOX_WITH_VBOXIMGMOUNT=1
|
||||
|
||||
KBUILD_VERBOSE=2
|
||||
|
||||
AS="$(tc-getCC)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
TOOL_GCC3_CC="$(tc-getCC)"
|
||||
TOOL_GCC3_LD="$(tc-getCC)"
|
||||
TOOL_GCC3_AS="$(tc-getCC)"
|
||||
TOOL_GCC3_AR="$(tc-getAR)"
|
||||
TOOL_GCC3_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
|
||||
TOOL_GXX3_CC="$(tc-getCC)"
|
||||
TOOL_GXX3_CXX="$(tc-getCXX)"
|
||||
TOOL_GXX3_LD="$(tc-getCXX)"
|
||||
TOOL_GXX3_AS="$(tc-getCXX)"
|
||||
TOOL_GXX3_AR="$(tc-getAR)"
|
||||
TOOL_GXX3_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
|
||||
TOOL_GCC3_CFLAGS="${CFLAGS}"
|
||||
TOOL_GCC3_CXXFLAGS="${CXXFLAGS}"
|
||||
VBOX_GCC_OPT="${CXXFLAGS}"
|
||||
VBOX_NM="$(tc-getNM)"
|
||||
|
||||
TOOL_YASM_AS=yasm
|
||||
)
|
||||
|
||||
if use amd64 && has_multilib_profile; then
|
||||
myemakeargs+=(
|
||||
CC32="$(tc-getCC) -m32"
|
||||
CXX32="$(tc-getCXX) -m32"
|
||||
|
||||
TOOL_GCC32_CC="$(tc-getCC) -m32"
|
||||
TOOL_GCC32_CXX="$(tc-getCXX) -m32"
|
||||
TOOL_GCC32_LD="$(tc-getCC) -m32"
|
||||
TOOL_GCC32_AS="$(tc-getCC) -m32"
|
||||
TOOL_GCC32_AR="$(tc-getAR)"
|
||||
TOOL_GCC32_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
|
||||
TOOL_GXX32_CC="$(tc-getCC) -m32"
|
||||
TOOL_GXX32_CXX="$(tc-getCXX) -m32"
|
||||
TOOL_GXX32_LD="$(tc-getCXX) -m32"
|
||||
TOOL_GXX32_AS="$(tc-getCXX) -m32"
|
||||
TOOL_GXX32_AR="$(tc-getAR)"
|
||||
TOOL_GXX32_OBJCOPY="$(tc-getOBJCOPY)"
|
||||
)
|
||||
fi
|
||||
|
||||
MAKE="kmk" emake "${myemakeargs[@]}" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die
|
||||
|
||||
local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
|
||||
|
||||
vbox_inst() {
|
||||
local binary="${1}"
|
||||
local perms="${2:-0750}"
|
||||
local path="${3:-${vbox_inst_path}}"
|
||||
|
||||
[[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
|
||||
[[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
|
||||
|
||||
insinto ${path}
|
||||
doins ${binary}
|
||||
fowners root:vboxusers ${path}/${binary}
|
||||
fperms ${perms} ${path}/${binary}
|
||||
}
|
||||
|
||||
# Create configuration files
|
||||
insinto /etc/vbox
|
||||
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
|
||||
|
||||
# Set the correct libdir
|
||||
sed \
|
||||
-e "s@MY_LIBDIR@$(get_libdir)@" \
|
||||
-i "${ED}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
|
||||
|
||||
# Install the wrapper script
|
||||
exeinto ${vbox_inst_path}
|
||||
newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
|
||||
fowners root:vboxusers ${vbox_inst_path}/VBox
|
||||
fperms 0750 ${vbox_inst_path}/VBox
|
||||
|
||||
# Install binaries and libraries
|
||||
insinto ${vbox_inst_path}
|
||||
doins -r components
|
||||
|
||||
for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,VMMPreload,XPCOMIPCD} \
|
||||
vboximg-mount vbox-img *so *r0; do
|
||||
vbox_inst ${each}
|
||||
done
|
||||
|
||||
# These binaries need to be suid root.
|
||||
for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
|
||||
vbox_inst ${each} 4750
|
||||
done
|
||||
|
||||
# Install EFI Firmware files (bug #320757)
|
||||
for each in VBoxEFI{32,64}.fd ; do
|
||||
vbox_inst ${each} 0644
|
||||
done
|
||||
|
||||
# VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
|
||||
# VBoxXPCOMIPCD (bug #524202)
|
||||
for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/${each}
|
||||
done
|
||||
|
||||
# Symlink binaries to the shipped wrapper
|
||||
for each in vbox{autostart,balloonctrl,bugreport,headless,manage} \
|
||||
VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
|
||||
done
|
||||
dosym ${vbox_inst_path}/vboximg-mount /usr/bin/vboximg-mount
|
||||
dosym ${vbox_inst_path}/vbox-img /usr/bin/vbox-img
|
||||
|
||||
if use pam; then
|
||||
# VRDPAuth only works with this (bug #351949)
|
||||
dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
|
||||
fi
|
||||
|
||||
# set an env-variable for 3rd party tools
|
||||
echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
|
||||
doenvd "${T}/90virtualbox"
|
||||
|
||||
if use sdl; then
|
||||
vbox_inst VBoxSDL 4750
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/VBoxSDL
|
||||
|
||||
for each in vboxsdl VBoxSDL ; do
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
|
||||
done
|
||||
fi
|
||||
|
||||
if use gui; then
|
||||
vbox_inst VirtualBox
|
||||
vbox_inst VirtualBoxVM 4750
|
||||
for each in VirtualBox{,VM} ; do
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/${each}
|
||||
done
|
||||
|
||||
if use opengl; then
|
||||
vbox_inst VBoxTestOGL
|
||||
pax-mark -m "${ED}"${vbox_inst_path}/VBoxTestOGL
|
||||
fi
|
||||
|
||||
for each in virtualbox{,vm} VirtualBox{,VM} ; do
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
|
||||
done
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r nls
|
||||
doins -r UnattendedTemplates
|
||||
|
||||
domenu ${PN}.desktop
|
||||
|
||||
pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
|
||||
for size in 16 32 48 64 128 ; do
|
||||
newicon -s ${size} ${PN}-${size}px.png ${PN}.png
|
||||
done
|
||||
newicon ${PN}-48px.png ${PN}.png
|
||||
doicon -s scalable ${PN}.svg
|
||||
popd &>/dev/null || die
|
||||
pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
|
||||
for size in 16 24 32 48 64 72 96 128 256 512 ; do
|
||||
for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
|
||||
icofile="${PN}-${ico}-${size}px.png"
|
||||
if [[ -f "${icofile}" ]]; then
|
||||
newicon -s ${size} ${icofile} ${PN}-${ico}.png
|
||||
fi
|
||||
done
|
||||
done
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
if use lvm; then
|
||||
vbox_inst VBoxVolInfo 4750
|
||||
dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
|
||||
fi
|
||||
|
||||
if use sdk; then
|
||||
insinto ${vbox_inst_path}
|
||||
doins -r sdk
|
||||
|
||||
if use java; then
|
||||
java-pkg_regjar "${ED}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
|
||||
java-pkg_regso "${ED}/${vbox_inst_path}/libvboxjxpcom.so"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use udev; then
|
||||
local udevdir="$(get_udevdir)"
|
||||
local udev_file="VBoxCreateUSBNode.sh"
|
||||
local rules_file="10-virtualbox.rules"
|
||||
|
||||
insinto ${udevdir}
|
||||
doins ${udev_file}
|
||||
fowners root:vboxusers ${udevdir}/${udev_file}
|
||||
fperms 0750 ${udevdir}/${udev_file}
|
||||
|
||||
insinto ${udevdir}/rules.d
|
||||
sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/${rules_file} \
|
||||
> "${T}"/${rules_file} || die
|
||||
doins "${T}"/${rules_file}
|
||||
fi
|
||||
|
||||
if use vboxwebsrv; then
|
||||
vbox_inst vboxwebsrv
|
||||
dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
|
||||
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
|
||||
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
|
||||
fi
|
||||
|
||||
# Remove dead symlinks (bug #715338)
|
||||
find "${ED}"/usr/$(get_libdir)/${PN} -xtype l -delete || die
|
||||
|
||||
# Fix version string in extensions or else they don't get accepted
|
||||
# by the virtualbox host process (see bug #438930)
|
||||
find ExtensionPacks -type f -name "ExtPack.xml" -exec sed -i '/Version/s@_Gentoo@@' {} \+ || die
|
||||
|
||||
local extensions_dir="${vbox_inst_path}/ExtensionPacks"
|
||||
|
||||
if use vnc; then
|
||||
insinto ${extensions_dir}
|
||||
doins -r ExtensionPacks/VNC
|
||||
fi
|
||||
|
||||
if use dtrace; then
|
||||
insinto ${extensions_dir}
|
||||
doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
dodoc UserManual.pdf UserManual.q{ch,hc}
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
elif use gui; then
|
||||
dodoc "${WORKDIR}"/${PN}-help-${PV}/UserManual.q{ch,hc}
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
local python_path_ext="${ED}/usr/$(get_libdir)/virtualbox/VBoxPython3.so"
|
||||
if [[ ! -x "${python_path_ext}" ]]; then
|
||||
eerror "Couldn't find ${python_path_ext}! Bindings were requested with USE=python"
|
||||
eerror "but none were installed. This may happen if support for a Python target"
|
||||
eerror "(listed in PYTHON_COMPAT in the ebuild) is incomplete within the Makefiles."
|
||||
die "Incomplete installation of Python bindings! File a bug with Gentoo!"
|
||||
fi
|
||||
fi
|
||||
|
||||
newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if use udev; then
|
||||
udev_reload
|
||||
udevadm trigger --subsystem-match=usb
|
||||
fi
|
||||
|
||||
tmpfiles_process virtualbox-vboxusb.conf
|
||||
|
||||
if use gui; then
|
||||
elog "To launch VirtualBox just type: \"virtualbox\"."
|
||||
fi
|
||||
|
||||
elog "You must be in the vboxusers group to use VirtualBox."
|
||||
elog ""
|
||||
elog "The latest user manual is available for download at:"
|
||||
elog "https://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
|
||||
elog ""
|
||||
|
||||
optfeature "Advanced networking setups" net-misc/bridge-utils sys-apps/usermode-utilities
|
||||
optfeature "USB2, USB3, PXE boot, and VRDP support" app-emulation/virtualbox-extpack-oracle
|
||||
optfeature "Guest additions ISO" app-emulation/virtualbox-additions
|
||||
|
||||
if ! use udev; then
|
||||
ewarn "Without USE=udev, USB devices will likely not work in ${PN}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
|
||||
use udev && udev_reload
|
||||
}
|
@ -0,0 +1,325 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=7.4.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz"
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="
|
||||
https://www.winehq.org/
|
||||
https://gitlab.winehq.org/wine/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos +mingw +mono netapi nls odbc opencl +opengl
|
||||
osmesa pcap perl pulseaudio samba scanner +sdl selinux +ssl
|
||||
+truetype udev udisks +unwind usb v4l +vulkan +xcomposite xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? ( games-emulation/dosbox )
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(usev !odbc ac_cv_lib_soname_odbc=)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-clash-protection' #758914
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX ibam-0.5.2-build.patch 1316 BLAKE2B 200652e267f32eafdaf0d702f64fba10cec8f4e43776ddb8b6079ed845968e04cfb8ddd1143e4961bb2d157b2d78d498941c2abd6248249cf57563cf6128d6a1 SHA512 d8e9902b8fa68e1fed33723c70cfdcc24d15b4fd9c03ccc415ad742be46423dd00119de60ba9ae79fe6cb300c494f729798723d49de5a41e371034d747ee425b
|
||||
DIST ibam-0.5.2.tar.gz 22149 BLAKE2B a3d9398dc34004203643d3198a3994ef3b432b909bdf9713a91a1d938a19ab9d0345105a60f3357288c2f3d2a325498a0787138e50fb445f1ea11851f1d7de1c SHA512 c70d728a2f1250ed291e663bd9f4e9ba01308fce14edf1ffd1902057de7e5527548bd06e2e3caaaeabc064d0ee123f536a626fd50b84092f6fc9201fc6bdba58
|
||||
DIST ibam_0.5.2-2.1.diff.gz 6115 BLAKE2B 8a1ada53ed39a379f11158583b337166d74d17de808a44e3d3fb225eecef5e3f3b782088072f94dbad387b258254ccbe3fdce7d5655ff201c41d66dbeb7c6d61 SHA512 f6707e42626891aa87697bc28f124345f9f1d0dfb35620f6386dc1dca6b9c5e3a73571bf04e933091c1995d1156925029c0199c5caace497ff891c93f9011ac3
|
||||
EBUILD ibam-0.5.2-r5.ebuild 1135 BLAKE2B a9e573cdc4922836422f858af34639422e96beda1c266827d0b624884ee31160f90cad8a0b56264132e901239d5fcc59839a5a61b9bd6e25c81c84be0d2a5fcf SHA512 b159de607b74ffb86efb43f654f32912523db49472b51388f3a9f5fe497968f0b46f5fb554f6a864fd556b00985613b4fdb42db51b773cdc9951bdb61d34ea1c
|
||||
MISC metadata.xml 342 BLAKE2B 21668d66676e605cd1a8d2bb7aac70c241b3e9dc47a14abfffe1f40da5c8d3625044280b751ee1b667b2f00ade349224ba738e8ab3329101eac298081b14d98a SHA512 a61143e3ab09efc8c0c07e7a359dc116ba24c25ea63576bc0a50f2ffff35bb78991ec111cbf0c9a0d20a5143ebd8bb51e3024a1a24f1845f024554ca86bb0cb3
|
||||
EBUILD ibam-0.5.2-r5.ebuild 1183 BLAKE2B 1e9b033127fd3f37b9815771db41660085af517c1f984019bce697082d1a6a4d5669de6fe186fe62da7944f73af4c7bbf937186a484258fda428c1c6a591df15 SHA512 f035101bb386cf8017d453fb689f68d38242562261b7cf1a7a6dabd6901869a447417fa0454532d597ac4c04d0f9692e2c62921830eb6e89fdfec035c221e91d
|
||||
MISC metadata.xml 414 BLAKE2B 6b18219524dcdb523c30373c20e427bd8d63da5ebe94b9f10a42035a8147f5fe5f611400f9dd5b9d08602d1dd9679d4365359b1803db8733383b5cf52b6c6bfa SHA512 a365931c747686695f2d9d16c5014ffedae4e1bcc08dab679daf587ab486105c3088cc8168bbc75e5ab2a33ebe22b29fc80a7fb3b202c857bec808aa94c2e795
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST check-jsonschema-0.21.0.gh.tar.gz 214872 BLAKE2B 0ee013e379523e5a957e745d550c2014872eab9fc3281aad575f92abfada30b7e0853177bd06147b69a81100bf6b987b485342a087830845c32648efc1c7a9a0 SHA512 dd839a9bb104e1fc68e4a7507077dc991dfc9e840f785c4b7024f2838488eb8b8c6a8f7718f0f821981f5b6b23b1d67745948f48db55a0c589395cf43bfdd2a7
|
||||
EBUILD check-jsonschema-0.21.0-r1.ebuild 1178 BLAKE2B 00f1f0b6d66b51c242b4f2ad2e1ca0a3296dd160c9cc71146317a688f88066e7def5eb210710651af9f7cae7b760e0aba535f92a062e2999d163ccdfb85f8477 SHA512 19571da6b59151f582bd77121b4dfe77634852c3fc2f788a07e567ba83c4bf82cdfff8e26f95e309d255532959e97361b797f22262ccd946d479690e48cc57f7
|
||||
MISC metadata.xml 403 BLAKE2B d0254150920ea63313734ad154391cf5d61176b56f53f26c2c8d8408ee571ce0fb4fb1383a6c63ec9f2542fdd66c35feee6b4d926f5cee3cf50253458305c346 SHA512 37cf237a2d7fdf5fe238e42a91d14d29fc01c807546a313b605cead57b50eff9a3fb2b66ed65c5aa019a727778356be659a0466cba5bc7f1b3a1bff8be8da42e
|
@ -0,0 +1,51 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A CLI and set of pre-commit hooks for jsonschema validation"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/check-jsonschema/
|
||||
https://github.com/python-jsonschema/check-jsonschema
|
||||
"
|
||||
SRC_URI="https://github.com/python-jsonschema/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
CONTRIBUTING.md
|
||||
CHANGELOG.rst
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/sphinx-issues \
|
||||
dev-python/furo
|
||||
|
||||
python_prepare_all() {
|
||||
# relax deps in setup.cfg
|
||||
sed -r -e 's:([a-zA-Z.-]+)([<>]|==|[<>]=)+.+:\1: ; /importlib-resources/ d' -i setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chutzpah@gentoo.org</email>
|
||||
<name>Patrick McLean</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">python-jsonschema/check-jsonschema</remote-id>
|
||||
<remote-id type="pypi">check-jsonschema</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,4 +1,10 @@
|
||||
AUX openrgb-plugin-effects-0.8-dep.patch 730 BLAKE2B 546d4ded2b5207d168e21f3057ca3c83bc3d01c0486bbe699e50401120227115ac0d4652de154832464d6f41f382d3f1d312d8fa6d86bb68aed8b9a91fe5cd68 SHA512 8ed26dfd686b40ac54a6920725e25a80af11a4c4707d3f071e70039ba4ce7f67f8ed19d819fdae3543aa0d1117d228e43d2e51ca5c171019e81301d782a74aad
|
||||
AUX openrgb-plugin-effects-0.8-qrc.patch 285 BLAKE2B 48a9a0090927599723bee4d131f7394dd9a5d2d139e1fbce933bd39e91ec48693f595b3b75cdc1a4fd1ea3527ce679ef1f9dc4f188986c7ad2d805868c4e76b3 SHA512 e0a9b194dcd790c3e9e1b02a813611d3e338e30d49dbf315da2a0019c8ab947407befdabc29dd79f9573fa5c3b7f3e6e7961039d03d70dec1c9b9fb2d14287f0
|
||||
AUX openrgb-plugin-effects-0_p20220110-dep.patch 926 BLAKE2B fb1fc3fe50bcd2bd7acc07adcf371ae388185bbd735da695b43ed734b6939c9af7cc982250d6de3441d0cc9d78e7e0556e05076b0cc744a80fa428d41926dc6d SHA512 e458254ced95844dfe5f04e5e82c2f9a02acb6fc1c5302237b32629c12319c8272a89d9d530b8fa98bca702308fb3beda3a83258272d97a6dd1b669ba6d4c731
|
||||
DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 255129 BLAKE2B 8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0 SHA512 386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
|
||||
DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4 SHA512 c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
|
||||
DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a SHA512 4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
|
||||
DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854 SHA512 b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd
|
||||
EBUILD openrgb-plugin-effects-0.8.ebuild 1942 BLAKE2B 37ba67245858ddaeb782a3128d20d523f6ad0430900ebe2411dc1088824d7c27238f93853173128ee81b7c8915f835f27989ceb8f03dd66930200dabf5ed6b69 SHA512 35963109a2982098336e29a060d4b9cb7fc8a1e98854e626f39c5078a690cdff3c9889e725db37d34178f3eaefeda7ad7c70453319b84e0aed87ed3971695e44
|
||||
EBUILD openrgb-plugin-effects-0_p20220110.ebuild 1159 BLAKE2B 0cbccd6bdb5bcde75f53fff8bd6ee451687f125c9feb888c2bc9ebf3f90dddc4d35d64e5b8913aee79043188ebae096a5ef724865c9c3ada80eff80c6763e63e SHA512 14d56e6584a835c5b7b5544c0a25ff401ff4130632420389a3f682183017f02b8259ee4590256b865c34b62c41431ee5782175f66011dc1bcdd599cb90e5b11f
|
||||
MISC metadata.xml 484 BLAKE2B fd1a7614f29a1040964e8f43b99240608d34b41b1f3904e3a2b8f33c8cae130cc46dc87e9eb51aea1be82c48dd3ba377150a3b39f2a6399c27e422521ab38e18 SHA512 5b43156294061c4ff508d206e7621e31c493b403aacd648120e240c164203fc1508410f732c24b1e9df489d07d28eb21469df6c01111da413f076530838cf778
|
||||
|
@ -0,0 +1,15 @@
|
||||
Fix dependency on app-misc/openrgb
|
||||
|
||||
--- a/OpenRGBEffectsPlugin.pro
|
||||
+++ b/OpenRGBEffectsPlugin.pro
|
||||
@@ -60,10 +60,6 @@ HEADERS +=
|
||||
OpenRGB/qt/hsv.h \
|
||||
|
||||
|
||||
-SOURCES += \
|
||||
- OpenRGB/RGBController/RGBController.cpp \
|
||||
- OpenRGB/dependencies/ColorWheel/ColorWheel.cpp \
|
||||
- OpenRGB/qt/hsv.cpp \
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------#
|
@ -0,0 +1,11 @@
|
||||
Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
|
||||
conflicts with the openrgb's one. So rename it.
|
||||
|
||||
--- a/OpenRGBEffectsPlugin.pro
|
||||
+++ b/OpenRGBEffectsPlugin.pro
|
||||
@@ -472,4 +472,4 @@ macx: {
|
||||
}
|
||||
|
||||
RESOURCES += \
|
||||
- resources.qrc
|
||||
+ resources_effects_plugin.qrc
|
@ -0,0 +1,66 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
|
||||
|
||||
MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c"
|
||||
MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61"
|
||||
SRC_URI="
|
||||
https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2
|
||||
https://github.com/SRombauts/SimplexNoise/archive/${MY_NOISE_COMMIT}.tar.gz -> SimplexNoise-2019-12-03.tar.gz
|
||||
https://github.com/justxi/QCodeEditor/archive/${MY_QCODEEDITOR_COMMIT}.tar.gz -> QCodeEditor-2021-08-17.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
|
||||
|
||||
LICENSE="GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.7:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5[-gles2-only]
|
||||
dev-qt/qtwidgets:5[-gles2-only]
|
||||
media-libs/openal
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/openrgb-plugin-effects-0.8-dep.patch"
|
||||
"${FILESDIR}/openrgb-plugin-effects-0.8-qrc.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
|
||||
sed -e '/^GIT_/d' -i *.pro || die
|
||||
|
||||
rmdir Dependencies/SimplexNoise || die
|
||||
ln -s "${WORKDIR}/SimplexNoise-${MY_NOISE_COMMIT}" Dependencies/SimplexNoise || die
|
||||
|
||||
rmdir Dependencies/QCodeEditor || die
|
||||
ln -s "${WORKDIR}/QCodeEditor-${MY_QCODEEDITOR_COMMIT}" Dependencies/QCodeEditor || die
|
||||
|
||||
# Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
|
||||
# conflicts with the openrgb's one. So rename it.
|
||||
mv --no-clobber resources.qrc resources_effects_plugin.qrc || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBEffectsPlugin.so.1.0
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST timew-1.4.2.tar.gz 1316841 BLAKE2B c451f37aeb32e999fe2cdca2eb5f234c7424b76f489324d5723a3649da37f53f5094989bdf8d5c2d27f5daa0d75c72ec4a01e3c19b8b064f28e4db82587498b9 SHA512 fe4c3def6b2cd78793dd97a38a61497b3910cd87a3315f826c64893b96a998bf30363f0df1892b74b718d03a279d51c1a636739225e101c5c126794e434076f0
|
||||
DIST timew-1.4.3.tar.gz 3188726 BLAKE2B ded92b2ba801023e7f6bc59c0fc17ce069c8279ee92f39280c50dabec0a2425b8612f73edf7842abdbb0b21772244eda325512070c091f32d17ff69cfcd844fa SHA512 89c98ad19d3a5ab5d4e02819d79e553cca4e93da99ec02bbf845b96b421cd084f6786de160e90c97854b50da49448472e9a4c7d23e75c8a93ecd67dda768b24a
|
||||
EBUILD timew-1.4.2.ebuild 894 BLAKE2B e49b99f272b8cdbf269a889d9aa1184fa8af8f67e849edc8f43cb41fa8190718b8c952a639234537e9ea5a886fa8e9fa02a64a0389bc0018fd0e5bcc08ec6926 SHA512 be5c84043f5e862fa90ffc0c634eb5672396d2c017f812c9d05b1ef89a370d8adc811d4fae78838a95ac15ddee0f72e0324b69e2a4ea569e4b8c49d1c7db75c1
|
||||
EBUILD timew-1.4.3-r1.ebuild 1002 BLAKE2B 7eb1c039c77f64171f4d04ebcd5f4599a7af210d077a8e2e36a5aa9eeba42f7e7e17fc4b6c207b2b3ee2d4dc803e39b2580fb35d7cfe9d287437c53684278c4f SHA512 c6fd2c0d7d6fca331fad0dece84d47bbc7a91efae08211c504d358884e2998398d6915be19410460268d120a194c3a81fa068df96d94d67197b69a63946156ef
|
||||
MISC metadata.xml 708 BLAKE2B 3b8781f0aad86446298f0bff09bc9be053865a114227341cbde00586dc678401ceb8ee7a20e6b03dd23c14dda678c882b18174f9d38fc0fa0d2a7260898ae0e6 SHA512 294c6b699e084282feaf9b1409dd12c8cd7aff0757dba80efcb261d68d4e29449a1f708628a6c80ceac819640144fa6a019f869bbe6fef7390d1353f97c8b86f
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tracks your time from the command line, and generates reports"
|
||||
HOMEPAGE="https://timewarrior.net"
|
||||
SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DTIMEW_DOCDIR=share/doc/${PF}
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
dodoc -r ext
|
||||
docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To integrate timewarrior with taskwarrior, issue the following commands:"
|
||||
elog "cp /usr/share/doc/${PF}/ext/on-modify.timewarrior ~/.task/hooks/"
|
||||
elog "chmod +x ~/.task/hooks/on-modify.timewarrior"
|
||||
elog "see https://timewarrior.net/docs/taskwarrior.html"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue