parent
69fac72431
commit
2cd0c61401
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29600 BLAKE2B 85a4e75c164b7350589158adea9448267f3cd10ff930eb484d912a250db3a6c7c65ff4f6f80e1f1a7c68d043a9ccf46dda1dab3cee2b2402c9373f192b3352dd SHA512 5fc2e323a22c6635b020c8255949d780240a84e6c8611b4494d60114e1278f6e41a3f3dd171fb38460c0c87f808ea2ada58acb8a720930a58cd726a78117da5e
|
||||
TIMESTAMP 2022-01-13T13:39:26Z
|
||||
MANIFEST Manifest.files.gz 29610 BLAKE2B 16031f5a3944ae248c9c30296bae1f7c4354bd449719183071df258788ba9c3fc7eb76d598d48c006e967659d67d0f29861003e49efedf40a2914f23d8815e8b SHA512 8d8fd79a3799a5d5ba43cfd89053ebe2f2a34a7831a7c642afeef8af1b4cd15892bdae1e122dc4968172952c57f5d3daed1c85c89a7c9babb7af60fbf075c0ef
|
||||
TIMESTAMP 2022-01-14T13:09:24Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHgK45fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHhdgRfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCSFg//W/J6OjkVoafBvkDD+3nvIPmxZZlyD2oLVo2IQNEUYPTJeM4Glt5OLjQq
|
||||
Y6fuLz6Vv8O+Td2FcMufZ4YWQrworLiJpMSL2LbRwu1uOnTo+cMnEdBfoweSa00I
|
||||
64P/FWjD/IU6XoQpJnQaBnPqcVV8kGam9LhUVD43xjpVQka60U4DvjsYaNDiB3QZ
|
||||
zKk6e7ETZUiPctPoe01HgUbIFuJzkQr9PuLQtaNWmNvBNldjWLW1SWBUnGPzN1IX
|
||||
UpjAJXWRU+lz9bI03gTVsAWTmFuL4WIB4N+MEAxB6DBDKMCKcjOoD7ljY3pZr0L7
|
||||
EA6fvyLrn+MR5A3GL8XQmEeJ8J3xh044b0hUE7Zqr1Pe4UJIwav7qJzJRPEegqvN
|
||||
MMNChpgJ0fDFFHNMTarzM4sIJECXSzajMHGMH+q7VykMjqTayTOhdLzUcnqX1O/w
|
||||
Lm1Epuhc8ksciirXz4fDi6r0qmh1LAZ3ld0yorI3K/vkNSKw2DfGCQFu5oXfnPs+
|
||||
nB3sZiE816aN5l4muEAWbnjxeVZWYXHK3c90JcAt1sdRF3cmdlEfQuWHekAp6ubY
|
||||
xtK4CNbxJMfxHRAY+r4uCH3KsO/gUoJ50a0Zb4hXlDZeJGC34vAHx40BPTBXE+DH
|
||||
mXr/tfnoyUQxcg4u7rc1HeIAGHSZweHjxBFj/QsyxTQBBfMBxjI=
|
||||
=dFRz
|
||||
klC83g//XGg1YHvpFJ/P2UfFHcETJt2k1H9wwfyPxlI4wA0khc4aE5X8ctiO+9T1
|
||||
NHFzVe/1wprIZgaToaBLNEox800b6FGSiW7lxGu+RSErUXMKahtwW/6JwV5ZCQIA
|
||||
RKKy3gWIPW1Op3gbRfmeSUPvNcux8zXg6Sit4b3ifPNagZQL8t9n1GOv1mFPtzTU
|
||||
CUoxniyAAyzVhD7K1N5VebPzNYmTMDpjGrJKA9LiWotMmVv1VKAsIECbp9BwTLFy
|
||||
qhOveNTuS+oh7LF3YpbkAy7IXojwQIhWDji7Z1HOzthsUpRIyCS5VWLHZmaCHwOF
|
||||
zlHJgpCVRbaa/6eViqWx+n+jUCCIVCnVJWqVs1SxF1JhIADVGRORz8P7Y6EvtpSe
|
||||
Ta82HXWu1zlZoGr4UEUv6IOpf2be0b3VsfuilCr8ZlPC/MhHqWe+0vPwEqxbq+YQ
|
||||
RuyHFmqHcPJGJAXAabmgg2TZQhv7gVTJCqqdYC+6CwHAg1304Y1Rfd7Fua6bniwx
|
||||
5n+RXdleI7BsUk5dDS/VQDxmfDwUXZAQLVHRiNdmOD8kNGSkhPSJe7nEe7q2mWW/
|
||||
kaTp7C8Hq2++Q4dOq0AxevzKS2UareNB2oTMXXEmi/lF4KLpLMccQ/jFQqFUVUi/
|
||||
MT8VsrKsUzWvJmG0m2KbIUBCfgStihPCHnc8u6netOOjl3tNqsU=
|
||||
=uND9
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(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.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install 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() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX glean.initd 241 BLAKE2B ea451713203da8dd61eef5155e2ab2d5fa7be5d9cd210ce2d0ce890fe54af05b461671702d1a2b60b8e6b8e0cb0f4d12f90ff2884409e9f2a3dcc380ba48bb60 SHA512 a5af77b16e1864158dfe858f932dd4eecb5633bd71fbdd00085863e56bd1862d7eba4500d0f4ac8c692b06750fcfe3f9f5b2bb7a4ca6a4ba72dbc43bb12856c5
|
||||
DIST glean-1.18.2.tar.gz 67642 BLAKE2B b346fc63b361e7c7bf0b8fc100da4a047004950aff3e17fce96d47ae5a7887828a09f4b107f2af1afcf9d866e5bc0857049ddd2d9c49413e9fe4b61d1de99fd3 SHA512 de80c06952ebbbc24c8cf198f61be788fb32974652c8253787ed5a165e26bb162b48c84836779420bb7c331edeb50a7796f5a2ff578d2e612068c5fbadd343c7
|
||||
EBUILD glean-1.18.2.ebuild 594 BLAKE2B 37d1256760eebac23b04623ac55a053f3b736239c04398da7c04e1a6c18a73c0d8ed77166dcd24497d0d803c659637a844810d4d1e522f6887c2a118003ccabb SHA512 31c863490274f539320ca4dc202c435354d28f8bc5c5bfe4926f1a33102b32c444e6843753593a63272ad1a47cf442c3842a4fc8a306f4d83b22815ae211f2a5
|
||||
DIST glean-1.19.0.tar.gz 68806 BLAKE2B 14569fafe05ee0abd626c8302d54721d321b1c69bd0e72bb850c2fab7d7c49a0c5f27c20e4542e5c32a818d51f1fc29e8a14ff730ebbc4619399e710e6b9f9d4 SHA512 a4d063a921f6dac51d2e610121d359f289817cf57a52fadd6b8fd2c8c7f761433920c5d43b415edcaf3c4956bb67b3c19274aa6ec061b057a6bcb975d2662cd0
|
||||
EBUILD glean-1.18.2.ebuild 583 BLAKE2B ef1f2f39b65bca15a5d2ed9ffec7b18595f6ac22d58e406544f693eaccb953f7ff2c1c7168b29dbb5b6ff2f410abb01d28d223a36256a8d031bb5ab6d8cfe03a SHA512 678b4218234ba65d95b9cf8d62a79ae8c9c26de8cc258990754e6a533cb7f87e9377476b9aecf86e4823eaaa97ca36962009f640a483b7461eec0c99662a3b8d
|
||||
EBUILD glean-1.19.0.ebuild 585 BLAKE2B 3638fd76040326d2494fc5105a0525df8a7c2c239a1b91a04e4d15916d3fc984b7796917e35f9ff38b06aab90489a37f94a3d858a8e542b59ec4c57e3ec09157 SHA512 6c85f871f086ab03752b3292e55b9c3d246b321ae80c425e0c6de00301448f30464389afb84862f94d60803a27451ce4a77a41fd648d9ddd066d46df5b494ad7
|
||||
MISC metadata.xml 698 BLAKE2B a0702c57b38fbe6c2f8493833895d6a411ac75d35b6e216338dd51fb2f13dc35756174ad8f5b6e36ec584046973fb8644cc32c0c010184f945065fe58eb95d1e SHA512 4e9e178d4030e02fa469412886fb40cecebc4611daf31028840a36b55521992c278780f7a5cd1dd57faa4d98eabcdd7bdc925aacfed3aa3235c87f1906259e26
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9,10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple program to write static config from config-drive"
|
||||
HOMEPAGE="https://opendev.org/opendev/glean"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/pbr[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,219 @@
|
||||
https://bugs.gentoo.org/831161
|
||||
Backport of https://github.com/scribusproject/scribus/commit/80405ce
|
||||
|
||||
From: Jean Ghali <jghali@libertysurf.fr>
|
||||
Date: Mon, 10 Jan 2022 20:38:51 +0000
|
||||
Subject: [PATCH] Rename byte() to to_byte() in order to avoid potential
|
||||
conflict with std::byte in c++17 mode
|
||||
--- a/scribus/third_party/prc/oPRCFile.cc
|
||||
+++ b/scribus/third_party/prc/oPRCFile.cc
|
||||
@@ -76,3 +76,3 @@
|
||||
// Map [0,1] to [0,255]
|
||||
-inline uint8_t byte(double r)
|
||||
+inline uint8_t to_byte(double r)
|
||||
{
|
||||
@@ -451,5 +451,5 @@
|
||||
{
|
||||
- tess->rgba_vertices.push_back(byte(lit->color.red));
|
||||
- tess->rgba_vertices.push_back(byte(lit->color.green));
|
||||
- tess->rgba_vertices.push_back(byte(lit->color.blue));
|
||||
+ tess->rgba_vertices.push_back(to_byte(lit->color.red));
|
||||
+ tess->rgba_vertices.push_back(to_byte(lit->color.green));
|
||||
+ tess->rgba_vertices.push_back(to_byte(lit->color.blue));
|
||||
}
|
||||
@@ -595,19 +595,19 @@
|
||||
{
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].A));
|
||||
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].A));
|
||||
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].A));
|
||||
}
|
||||
@@ -622,19 +622,19 @@
|
||||
{
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].A));
|
||||
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[2].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[2].A));
|
||||
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].A));
|
||||
}
|
||||
@@ -646,19 +646,19 @@
|
||||
{
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[3].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[3].A));
|
||||
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[1].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[1].A));
|
||||
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[0].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[0].A));
|
||||
}
|
||||
@@ -1650,17 +1650,17 @@
|
||||
{
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].A));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].A));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].A));
|
||||
}
|
||||
@@ -1794,33 +1794,33 @@
|
||||
// first triangle
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][0]].A));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][0]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].A));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].A));
|
||||
// second triangle
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][1]].A));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][1]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][2]].A));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].R));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].G));
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].B));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][2]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].R));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].G));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].B));
|
||||
if(tessFace->is_rgba)
|
||||
- tessFace->rgba_vertices.push_back(byte(C[CI[i][3]].A));
|
||||
+ tessFace->rgba_vertices.push_back(to_byte(C[CI[i][3]].A));
|
||||
}
|
||||
@@ -1912,7 +1912,7 @@
|
||||
{
|
||||
- tess->rgba_vertices.push_back(byte(C[CI[i]].R));
|
||||
- tess->rgba_vertices.push_back(byte(C[CI[i]].G));
|
||||
- tess->rgba_vertices.push_back(byte(C[CI[i]].B));
|
||||
+ tess->rgba_vertices.push_back(to_byte(C[CI[i]].R));
|
||||
+ tess->rgba_vertices.push_back(to_byte(C[CI[i]].G));
|
||||
+ tess->rgba_vertices.push_back(to_byte(C[CI[i]].B));
|
||||
if(tess->is_rgba)
|
||||
- tess->rgba_vertices.push_back(byte(C[CI[i]].A));
|
||||
+ tess->rgba_vertices.push_back(to_byte(C[CI[i]].A));
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST eix-0.36.0.tar.xz 640820 BLAKE2B 952e6a354cc5fd1145ef36fed6047bc6f10dd7a51166028581e3b392be66b5df07eabb96cba362dc4f7a50fbe19e6ccb3744d30928c4763a91af21ad02cee38d SHA512 891e343b01d3887cbc7e61933b43e79949ff702dcd8ada2f15ff57a628dc6ebc9a4b6817d3aa3d814474db3131aefcbbf56cec2520868dcb2182cbee780125b5
|
||||
DIST eix-0.36.1.tar.xz 640084 BLAKE2B 10014bb847d71b803967354f3a415dc1c74ad37385b7b440f0c162c573453042d06bbc575582831ffc0aad6b0f7abeedbcb4e23b869505d4f85d6bd6b7cfbba4 SHA512 915a364b0f63124c53e43eb35165ce553f6eadaf8708f0c075dc2f4871fe83378cd0c8650d5605c1f87c512563fdd62f28efdc586b358fc7cd63ae42a404981d
|
||||
EBUILD eix-0.36.0.ebuild 2526 BLAKE2B 1d11b56a81b9d87108fe73937060719706a442b876aeecc1ddf4c2901f59cb0b95f74198fa73792c889076c9743a489e9d9f6b06f93aaae22ac175379ef95e98 SHA512 4895eb3f06f19680a23762e14611345dbf6e2669f0401cf412d6ff6babb2da8f489f33ed1edd0832dfbb269e9a3532c2d9d9f30b74f90abee8f15176e52ea9fe
|
||||
EBUILD eix-0.36.1.ebuild 2534 BLAKE2B 72c633558698b9e1813b69239206a43d3779e8bbb12a0bc44ea2331354f13b5465716f7e7d7fa9d72993ebd8034d7449257090dc3cb3166a72b94949b942c0a6 SHA512 ff145de4924ed73a6ad4a0a5860d851ae2727ac6bf2428a7de6fc17a80ed9d4be9990f428ba852644187caea2cabaae97f0152daf7dadc895d5fe8e47da2fb2c
|
||||
MISC metadata.xml 1066 BLAKE2B d86d5ac2b57cb98b85fb31719d76cfa74d8ca4e18473d4bea8c4c9c63ce35e6b1e1c0e41b3a6dc20f5ba464e3273f51035929ae1d37d36d0da8a3e8a30ca7a68 SHA512 c161c1e63cc7e9ca25bea3902f5c5806e6cde1253d74b8f2fbb876667b9fb8502edc81a309b0bde4a5de033594927da6b12254784fceb8e9a7452ae914ee5373
|
||||
|
@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1 tmpfiles
|
||||
|
||||
DESCRIPTION="Search and query ebuilds"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls sqlite"
|
||||
|
||||
DEPEND="
|
||||
nls? ( virtual/libintl )
|
||||
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||
RDEPEND="${DEPEND}
|
||||
>=app-shells/push-2.0-r1
|
||||
>=app-shells/quoter-3.0_p2-r1"
|
||||
BDEPEND="
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# remove stale cache file to prevent collisions
|
||||
local old_cache=${EROOT}/var/cache/${PN}
|
||||
if [[ -f ${old_cache} ]]; then
|
||||
rm "${old_cache}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||
|
||||
sed -e "/eixf_source=/s:push.sh:cat \"${EPREFIX}/usr/share/push/push.sh\":" \
|
||||
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \
|
||||
-i src/eix-functions.sh.in || die
|
||||
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/usr/share/eix/eix-functions\\\\\":" \
|
||||
-i src/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug paranoic-asserts)
|
||||
$(use_enable nls)
|
||||
$(use_with doc extra-doc)
|
||||
$(use_with sqlite)
|
||||
--without-protobuf
|
||||
|
||||
# default configuration
|
||||
$(use_with prefix always-accept-keywords)
|
||||
--with-dep-default
|
||||
--with-required-use-default
|
||||
|
||||
# paths
|
||||
--with-portage-rootpath="${ROOTPATH}"
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
|
||||
# build a single executable with symlinks
|
||||
--disable-separate-binaries
|
||||
--disable-separate-tools
|
||||
|
||||
# used purely to control/disrespect *FLAGS
|
||||
--disable-debugging
|
||||
--disable-new_dialect
|
||||
--disable-optimization
|
||||
--disable-strong-optimization
|
||||
--disable-security
|
||||
--disable-nopie-security
|
||||
--disable-strong-security
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
dotmpfiles tmpfiles.d/eix.conf
|
||||
|
||||
rm -r "${ED}"/usr/bin/eix-functions.sh || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process eix.conf
|
||||
|
||||
local obs=${EROOT}/var/cache/eix.previous
|
||||
if [[ -f ${obs} ]]; then
|
||||
ewarn "Found obsolete ${obs}, please remove it"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||
rm -rf "${EROOT}/var/cache/${PN}" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST platformio-5.2.3.tar.gz 252483 BLAKE2B f60b83f6647333d42b5d864ea468c8104dcd5a83085a6d52f456a21792d9c94641a60f698c2a606ddd7d7b3a588723831f35ac0d3027cb0ff8b8226dabe3b62c SHA512 c11f58a984b15a3363cd29bf9a0234c1ffc772cc153310d420037416bb8834cb2b74899ccb465d69db862cc088cfcb17dcbc7d919f690b6e836dec982d5b136b
|
||||
DIST platformio-5.2.4.tar.gz 254337 BLAKE2B e29b69a514b5f3bc6faefb15dd4e3195152d74b763961c35c33cd9e44bcd430920dc2f4d553244c2ac1bb83d745c006c67d2d52973fa07562c8b98d8e74a2ac3 SHA512 f90c1f5d9dcada99c610003b26ccaa4e08c214757d0c26daeea3cae006a02179aea1eb0bc656751913d0b2c4161195b1afe9ab0eaab5ad594ff986f6b56728f8
|
||||
EBUILD platformio-5.2.3-r2.ebuild 2315 BLAKE2B e6fa4088a90e73fe978e5e1ed2f2a07df0e165a676e236be60b0303cb19cef9b5a5dd09bf3b7a362298849bfe97ec3905c79b9b36919d1b377244c8dd2ee01e3 SHA512 164cafc40c53c7f74035e21a76249b09d2249f4c484c11b88b888b315b0f0a057f233a0490b514152e864b6c02703514b1f53f5a4f9084f8fc5b61e6c57d8467
|
||||
EBUILD platformio-5.2.4.ebuild 2357 BLAKE2B 088d560ae0b4451ba4dc0dbc0fa9a1296523d98804eb89e20787e0cb33f1037f482de5f883c20b73856a47d2ed12bf0033421784e234a2431a144bf3c62e3786 SHA512 310411670f92ec4579f5690dd42584e8d48014170e8ff5f87e084b7aa35936014068a511484ba5244438a61adba967b2dbb8b1d9c40e0ea12f563042e309c8f6
|
||||
MISC metadata.xml 249 BLAKE2B 0d8c6b8e9873180a796f77c5194270389ae642d0d888d7fa1bbada89861dc1ba1bd9f238acd76f7a07a3eb694ac8bdb19927012814a03ed8d3e87f40676979d1 SHA512 1ac8ddbe837cb8db85bb6e4ee59a6e98554c04231c54cb5158fbe7dda3230aaeb02ab66ff374f5bb348e84159588b0740c43acd99ed590939db70bbd2f15d265
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1 udev
|
||||
|
||||
DESCRIPTION="An open source ecosystem for IoT development"
|
||||
HOMEPAGE="https://platformio.org/"
|
||||
SRC_URI="https://github.com/platformio/platformio-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-core-${PV}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
=dev-python/aiofiles-0.7.0*[${PYTHON_USEDEP}]
|
||||
<dev-python/bottle-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/click-9[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyserial-3[${PYTHON_USEDEP}]
|
||||
<dev-python/pyserial-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.4[${PYTHON_USEDEP}]
|
||||
<dev-python/requests-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/semantic_version-2.8.1[${PYTHON_USEDEP}]
|
||||
<dev-python/semantic_version-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]
|
||||
<dev-python/tabulate-1[${PYTHON_USEDEP}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyelftools-0.25[${PYTHON_USEDEP}]
|
||||
<dev-python/pyelftools-1[${PYTHON_USEDEP}]
|
||||
>=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}]
|
||||
dev-python/starlette[${PYTHON_USEDEP}]
|
||||
=dev-python/uvicorn-0.15*[${PYTHON_USEDEP}]
|
||||
dev-python/wsproto[${PYTHON_USEDEP}]
|
||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/udev"
|
||||
DEPEND="virtual/udev"
|
||||
BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/jsondiff[${PYTHON_USEDEP}]') )"
|
||||
|
||||
# This list could be refined a bit to have individual tests which need network
|
||||
# (within EPYTEST_DESELECT) but so many need it that it doesn't seem worth it right now.
|
||||
EPYTEST_IGNORE=(
|
||||
# Requires network access
|
||||
tests/test_builder.py
|
||||
tests/package/test_manager.py
|
||||
tests/package/test_manifest.py
|
||||
tests/commands/test_platform.py
|
||||
tests/commands/test_test.py
|
||||
tests/commands/test_ci.py
|
||||
tests/commands/test_init.py
|
||||
tests/commands/test_lib.py
|
||||
tests/commands/test_lib_complex.py
|
||||
tests/commands/test_boards.py
|
||||
tests/commands/test_check.py
|
||||
tests/test_ino2cpp.py
|
||||
tests/test_maintenance.py
|
||||
tests/test_misc.py
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
udev_dorules scripts/99-platformio-udev.rules
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST bsh-2.0b6.tar.gz 1720334 BLAKE2B 7ade7d35ac66dad8c79dd2cb541c8851b321601bc6239f4d82e6b37269fdefc5cfa5efd1198f58030bb9dcc4712b42c1ca07071f0b042a59ebdbc4168e472fb0 SHA512 3d4458153f5e2a3b30d9afd79f0fe28862effa8e490fd1649d435c03bf90b060c255949a49780afee95069da4e8e8d2e4e2c5d979908370a525b3ca9a396458c
|
||||
EBUILD bsh-2.0_beta6-r1.ebuild 1314 BLAKE2B 38c49242b1adc9b755ce5e38552f4a30b1297dd514a1032e7a2c0565e544e4b9f44a3b98f451f4313ec50f1648ea245778aa8fc51c4aebff3e228c208481b8f6 SHA512 dd44c684e999fc5fce6e7bcf390b932067795f0addc7c3c37ddba193d910cc5cade97dc8f317e34845263eed392681578325b3dcbf459944390cd9e42076c710
|
||||
EBUILD bsh-2.0_beta6-r1.ebuild 1363 BLAKE2B cc838347fd0951d3e5fc26e473d6fb1febea04080bb85f30aee9bb33bc48f4e1784d55f73e81e47dc726ae4b200ef4c997765c96e9c062b9835effec40d0b310 SHA512 6ec85dc3b5cfe11e32821ed5f62cf63f06a9adf88978140c21846b5659d89bb3767e0e5e47d8cafd26d448a69f3865fc8548dff49740a3049bc72820b8d50695
|
||||
MISC metadata.xml 331 BLAKE2B faccf5565dc11dfae5b8874e970f2d055f49319264c1c2d11a685659cd5c0dacbd2f915c8e45d376e8b210dac6221e172909f62be63030e4e257157feface3bb SHA512 bce4790cca3f4c4c883c1befc7d2dcabb1456dd88fef57cd2ffb25f45f9505f921a428c830d17c0ca92f876d921d56684bf7bce3bbe277c33ddd19fb03118381
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST javassist-3.18.2.tar.gz 1179428 BLAKE2B cc7dfebca2e47576f902e6249c1efb65c18823e75ba3698c2d94541bdc910b9b7547e8619c1f19a84c158771230ddd112ddb0445ed97cd64810beacf3468a1ba SHA512 67f22a70584eba31088d63b7862f0f7872a6a7ec57f4397b95044695af75be005e86aa5a5f20fe8e650c2178a9b63b4b922accf940b46ceb1c8e7ce9c51798ca
|
||||
EBUILD javassist-3.18.2-r1.ebuild 1028 BLAKE2B 9bc9eccea4e5d896eddbbad826a95504d54cc4b352189b3dd0ad6a56dfc34641e3e800dc99aa2348c565e03fee46534b3ad19633283670380a0bdf44a635cce0 SHA512 75eb795cd8a27728e57fc168c78fb1b2aaa5d2666432690e1e20690b64a955a6471aacba04101dc2c80f1dd4afd68ebe00e9c176d1b6bce412032ff173cefbb3
|
||||
EBUILD javassist-3.18.2.ebuild 1000 BLAKE2B 26fa128fb46bb3746bdc9efb3556329b78f612bf5d419eed5719ba0e98d2e2314a9cc2e325ba0c9100265d756b5b53857f03a6540afd2dc4d7740b154a23b7f5 SHA512 ae7b080aac74f5973431125e8351aba6c533743d1df0e157ba624523efb8628eef3824261161d6091c6cba14683767145721f750dd3523d62799b38fa9806a81
|
||||
MISC metadata.xml 377 BLAKE2B 4503d9387a65e6f722a3694870c9a9b36a2a1ccc09a2635372d386484a4113c507ade595283ee1f77038517f87814e923bb2f342e226eabb900abb9fdea9b407 SHA512 159f9374d2b9ce20eb531961e35dff0cf90b93eac4a929d1c4cf85242b50bac082ee3bd6dab5cae10dd9cd50a19b7af650df379e27d3238f12794b75ddcbeeb8
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
MAVEN_ID="javassist:javassist:3.18.2"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Javassist makes Java bytecode manipulation simple"
|
||||
HOMEPAGE="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
|
||||
SRC_URI="https://github.com/jboss-javassist/javassist/archive/rel_${PV//./_}_ga_build.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${PN}-rel_${PV//./_}_ga_build"
|
||||
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
JAVA_ANT_REWRITE_CLASSPATH=y
|
||||
EANT_NEEDS_TOOLS="yes"
|
||||
|
||||
java_prepare() {
|
||||
find -name "*.jar" -delete || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
dohtml Readme.html
|
||||
use doc && java-pkg_dojavadoc html
|
||||
use source && java-pkg_dosrc src/main/javassist
|
||||
use examples && java-pkg_doexamples sample/*
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-vm-2
|
||||
|
||||
abi_uri() {
|
||||
echo "${2-$1}? (
|
||||
https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}U-jre_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz
|
||||
)"
|
||||
}
|
||||
|
||||
MY_PV=${PV/_p/+}
|
||||
SLOT=${MY_PV%%[.+]*}
|
||||
|
||||
SRC_URI="
|
||||
$(abi_uri x64 amd64)
|
||||
"
|
||||
|
||||
DESCRIPTION="Prebuilt Java JRE binaries provided by AdoptOpenJDK"
|
||||
HOMEPAGE="https://adoptopenjdk.net"
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa cups +gentoo-vm headless-awt selinux"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/freetype:2
|
||||
>net-libs/libnet-1.1
|
||||
>=sys-apps/baselayout-java-0.1.0-r1
|
||||
>=sys-libs/glibc-2.2.5:*
|
||||
sys-libs/zlib
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
)"
|
||||
|
||||
RESTRICT="preserve-libs splitdebug"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/jdk-${MY_PV}-jre"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED%/}/${dest#/}"
|
||||
|
||||
# Not sure why they bundle this as it's commonly available and they
|
||||
# only do so on x86_64. It's needed by libfontmanager.so. IcedTea
|
||||
# also has an explicit dependency while Oracle seemingly dlopens it.
|
||||
rm -vf lib/libfreetype.so || die
|
||||
|
||||
# Oracle and IcedTea have libjsoundalsa.so depending on
|
||||
# libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird.
|
||||
if ! use alsa ; then
|
||||
rm -v lib/libjsound.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -v lib/lib*{[jx]awt,splashscreen}* || die
|
||||
fi
|
||||
|
||||
rm -v lib/security/cacerts || die
|
||||
dosym ../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR * "${ddest}" || die
|
||||
|
||||
# provide stable symlink
|
||||
dosym "${P}" "/opt/${PN}-${SLOT}"
|
||||
|
||||
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use gentoo-vm ; then
|
||||
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JRE"
|
||||
ewarn "recognised by the system. This will almost certainly break things."
|
||||
else
|
||||
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JRE"
|
||||
ewarn "will not be recognised by the system. For example, simply calling"
|
||||
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
|
||||
ewarn "fully supports Java 11. This JRE must therefore be invoked using its"
|
||||
ewarn "absolute location under ${EPREFIX}/opt/${P}."
|
||||
fi
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-vm-2
|
||||
|
||||
abi_uri() {
|
||||
echo "${2-$1}? (
|
||||
https://github.com/adoptium/temurin${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}U-jre_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz
|
||||
)"
|
||||
}
|
||||
|
||||
MY_PV=${PV/_p/+}
|
||||
SLOT=${MY_PV%%[.+]*}
|
||||
|
||||
SRC_URI="
|
||||
$(abi_uri x64 amd64)
|
||||
"
|
||||
|
||||
DESCRIPTION="Prebuilt Java JRE binaries provided by Eclipse Temurin"
|
||||
HOMEPAGE="https://adoptium.net"
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa cups +gentoo-vm headless-awt selinux"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/freetype:2
|
||||
>net-libs/libnet-1.1
|
||||
>=sys-apps/baselayout-java-0.1.0-r1
|
||||
>=sys-libs/glibc-2.2.5:*
|
||||
sys-libs/zlib
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
)"
|
||||
|
||||
RESTRICT="preserve-libs splitdebug"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/jdk-${MY_PV}-jre"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED%/}/${dest#/}"
|
||||
|
||||
# Not sure why they bundle this as it's commonly available and they
|
||||
# only do so on x86_64. It's needed by libfontmanager.so. IcedTea
|
||||
# also has an explicit dependency while Oracle seemingly dlopens it.
|
||||
rm -vf lib/libfreetype.so || die
|
||||
|
||||
# Oracle and IcedTea have libjsoundalsa.so depending on
|
||||
# libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird.
|
||||
if ! use alsa ; then
|
||||
rm -v lib/libjsound.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -v lib/lib*{[jx]awt,splashscreen}* || die
|
||||
fi
|
||||
|
||||
rm -v lib/security/cacerts || die
|
||||
dosym ../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR * "${ddest}" || die
|
||||
|
||||
# provide stable symlink
|
||||
dosym "${P}" "/opt/${PN}-${SLOT}"
|
||||
|
||||
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use gentoo-vm ; then
|
||||
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JRE"
|
||||
ewarn "recognised by the system. This will almost certainly break things."
|
||||
else
|
||||
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JRE"
|
||||
ewarn "will not be recognised by the system. For example, simply calling"
|
||||
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
|
||||
ewarn "fully supports Java 11. This JRE must therefore be invoked using its"
|
||||
ewarn "absolute location under ${EPREFIX}/opt/${P}."
|
||||
fi
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-vm-2
|
||||
|
||||
abi_uri() {
|
||||
echo "${2-$1}? (
|
||||
https://github.com/adoptium/temurin${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}U-jre_${1}_linux_hotspot_${MY_PV//+/_}.tar.gz
|
||||
)"
|
||||
}
|
||||
|
||||
MY_PV=${PV/_p/+}
|
||||
SLOT=${MY_PV%%[.+]*}
|
||||
|
||||
SRC_URI="
|
||||
$(abi_uri x64 amd64)
|
||||
"
|
||||
|
||||
DESCRIPTION="Prebuilt Java JRE binaries provided by AdoptOpenJDK"
|
||||
HOMEPAGE="https://adoptopenjdk.net"
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa cups +gentoo-vm headless-awt selinux"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/freetype:2
|
||||
>net-libs/libnet-1.1
|
||||
>=sys-apps/baselayout-java-0.1.0-r1
|
||||
>=sys-libs/glibc-2.2.5:*
|
||||
sys-libs/zlib
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
!headless-awt? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
)"
|
||||
|
||||
RESTRICT="preserve-libs splitdebug"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/jdk-${MY_PV}-jre"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED%/}/${dest#/}"
|
||||
|
||||
# Not sure why they bundle this as it's commonly available and they
|
||||
# only do so on x86_64. It's needed by libfontmanager.so. IcedTea
|
||||
# also has an explicit dependency while Oracle seemingly dlopens it.
|
||||
rm -vf lib/libfreetype.so || die
|
||||
|
||||
# Oracle and IcedTea have libjsoundalsa.so depending on
|
||||
# libasound.so.2 but AdoptOpenJDK only has libjsound.so. Weird.
|
||||
if ! use alsa ; then
|
||||
rm -v lib/libjsound.* || die
|
||||
fi
|
||||
|
||||
if use headless-awt ; then
|
||||
rm -v lib/lib*{[jx]awt,splashscreen}* || die
|
||||
fi
|
||||
|
||||
rm -v lib/security/cacerts || die
|
||||
dosym ../../../../etc/ssl/certs/java/cacerts "${dest}"/lib/security/cacerts
|
||||
|
||||
dodir "${dest}"
|
||||
cp -pPR * "${ddest}" || die
|
||||
|
||||
# provide stable symlink
|
||||
dosym "${P}" "/opt/${PN}-${SLOT}"
|
||||
|
||||
use gentoo-vm && java-vm_install-env "${FILESDIR}"/${PN}-${SLOT}.env.sh
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
java-vm-2_pkg_postinst
|
||||
|
||||
if use gentoo-vm ; then
|
||||
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JRE"
|
||||
ewarn "recognised by the system. This will almost certainly break things."
|
||||
else
|
||||
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JRE"
|
||||
ewarn "will not be recognised by the system. For example, simply calling"
|
||||
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
|
||||
ewarn "fully supports Java 11. This JRE must therefore be invoked using its"
|
||||
ewarn "absolute location under ${EPREFIX}/opt/${P}."
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST oracle-javamail-1.5.6.zip 1812631 BLAKE2B 9fd43058b10726db9359c4b59fd42226da329268ec4974a510940a4e7d6bd16afc3a3a73b6ee17914cd5d3577c42ddf22f29bc93e2ca185660ea03196ed2bd28 SHA512 3fde7901f5975f4a58d675d94e397bf1a169db227b138bfd684c0e2d0f6522ea1c8e2a5425b23fc08775a6824a9e9e68b2d6e6312f20c53af127f00a897363e2
|
||||
EBUILD oracle-javamail-1.5.6-r1.ebuild 1315 BLAKE2B 25b78259ed0a8c7c65ee5dbdeb36b1965b18cc301d40c34bafda6a5f8c62fb96647fec6a367ccae1e7c1eeea2c679c15c73428b68544ad2e101afaf8852f2993 SHA512 f774febcdc5cea9ecb01af6ead62830aceaa99f38637276f52b39715ae36e08400910e96c6d24f69770c11f0829b2f387e6bef2d9ce2db9f22b88610433a6fa6
|
||||
EBUILD oracle-javamail-1.5.6-r1.ebuild 1356 BLAKE2B 4c0f25dfd8d7613c448283a0cf5f5f6715690cbd44ce2a0f53a7d2daf5eebf39593ec2c4d89b915e227bc4cb80d1c189dc2ac88f6868bdb1a8b3af1a5ac81035 SHA512 743f97c0b99206bead63cb404773eee300553f1601d0186946dd0b8159614a3dddbfe7697ab5086e8ddd737f8cbf304f640cb51748c060f72fe9c719a804602b
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX jflex-1.6.1.patch 680 BLAKE2B 2dba9bdba8ce77ebe28a608b505891ff49d51e9d7549bb17f21935ad9511fcdf4428a79b5243e5eb8cfb5747eaaaafb97eb6edca980ce337d37ed48772ff5ea5 SHA512 73e8067a31392a1975877470a2a239c9ca0913f807faa3e5c660bc2487dca9a46c1753ab86526e66581111fcded89229a4e9e3a16fa787ce3669ef6c07a28081
|
||||
DIST qdox-1.12.1.tar.gz 519833 BLAKE2B 83a732f1582b714cf943ede61bacc5216804c00cfbb642a479afb74739564f4fdbcd923dd7cb84a9626a97c5ad0a0f04895e0ae68252891cb25299e1fe1c9c72 SHA512 17ac933854ebd0560921805ea4339c151a7fd095bf8d50d5d71e656afda77ba30efac7926cfcc7543e4a8420b12d1eb75cdd305c50d1c28ad8cd6b0f4d95f5c5
|
||||
DIST qdox-1.6.3.jar 63731 BLAKE2B 77d117f0f76f531f9320b5eb3650db315aab838d5d79a9df8997649b498b375db3fb0c694ea8b5911512097dd2325554d7599bed51a978e38af6fa55600d7c24 SHA512 0b05620809e3830c7e12c289cd4765f96d845adabc1f09497993bd9f39852784f454eb4aff1deecb325608a5773e86fbb1f5863e0f25387805472b59b46cf965
|
||||
EBUILD qdox-1.12.1-r2.ebuild 2180 BLAKE2B 56dc79ef274fcdd857eedaa49386831e091a2d095f67a7967a207b0f98c7fa3d5c5afeb54df8e086b50c858f6f3cae70d52e41f8cb915ba646af2bb540a5d04c SHA512 585e5c92a4cf237cdb5a8e5da7a6fae018b27b2479b34895a0dc1d2813b66b164ac22946f617319da492ffd0d03042d0cd16a827d02b938eb2914db134c795e0
|
||||
EBUILD qdox-1.12.1-r2.ebuild 2225 BLAKE2B caf3e51d9d81e1a597092a5c20c2468266dda3559de0b07f948cd6026b983718941060f066a004464c4b177ec6a859139fd0549ff48dc82aff6fba24e8a60f90 SHA512 51a8c940ba702933bad4367de1f6a2a54d4d66710d3631529f61137ce27be1aaa0ce9dadb83005aa22331c241947637fe9a17a802923eef1002c0dad37051582
|
||||
EBUILD qdox-1.6.3-r2.ebuild 687 BLAKE2B e4cb8a16f5f5c116b7d4a6247b5c9a8aae67ea29725a25c8d6a6ee5e3bbdd19140d1ed4b33c32d6c5c0c81deb4b7d391e04af784eb3f0ca26d6458b061a9a72c SHA512 e154d9ae1c0528d248e24ffb3063dee953be8f3b69e93ff1331f2d111f61c7337210a2421192027066307caa6341f307e50b0bee4f41d29047736ee6d05c2913
|
||||
MISC metadata.xml 490 BLAKE2B 0074cd0a7da6af8028ff8bc8eba4b26f86d4ae5ea55da7a6fe0bfbcc73e779a9a6deeed0e82f95abc28324dcd1a89634b504d02265dea16ac26e576b6f29ace8 SHA512 039a450284a930e163cd9cd4c39c5ee6dd0a2f5678b5f77db7f809bbe0a141a564fa7232cbe3a428b31170068b1377cb953a8ccda4ee3b14b5ddb4d313180496
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX rhino-1.7.7-testsrc-build.xml.patch 1414 BLAKE2B c96d595d6c0bcd0225f8df9ac63e28a68cd6045b0f5395a13826fd7b7c7bce01ccc6963e58e2a07e41cd3c138de92cabd2627163cb16b5b2c21bc4f91b4a7eac SHA512 f7fa8d77a584399e6049414ed46b138c14f984148b6dda6e20e376c4312295728de24f31331d20c2b1dc62f81c8d9bd8732227ad64fcf430f2ba721b8de490fe
|
||||
DIST Rhino1_7_7_RELEASE.zip 6059127 BLAKE2B 431885bf287da524cfc82e6594802c93e75d48177b4056e9b893d7c852c3c3b30291d616a140981e520fdebacf5cbc8b802a6137f0e29a369f1d01cc771c6b77 SHA512 ce89b6a153d62dd459a86360c67d6db4b05922d8ab49a8d45ccb0deb0f639cd819f0ad75cb4929eda6b7f0fd6ddb5879a4035de6968283317bfd0e93d2bb744e
|
||||
EBUILD rhino-1.7.7-r1.ebuild 2048 BLAKE2B 49665d6459ad3c5ad9307e1c8233d1ff514629d51931bda111424b47844d56f160ec6682970205fc8e52241b90c1cc3dfc4bed5fa35ac8fd5b22a2a86a034c02 SHA512 2384afcb7de09ffadb3f480bd64be455b2756659e216cdac59bfc1ee703ace63249ff0391a0489859f1784d0ad9517a6d6304c5e366398bfc0477d1a4c201207
|
||||
EBUILD rhino-1.7.7-r1.ebuild 2084 BLAKE2B e943aa034cf71150da32db6af5301d5a094564715a3e2ae660e91abb50563e47eac6b5d9003a03e7bf8cd37c3184409f7cd005772a2131aea6cdbe3d88ad3a5c SHA512 c04269f891908b81b38da033eb111941cc6248ff3308ceb3d75c5d6f3a36eebe42547cb0df8fc5fa014ade8277e713b262f8bcfbce6c24fdfd898470f19b120d
|
||||
MISC metadata.xml 510 BLAKE2B 9b51ffca1a744e3a725e3966e25e60744e50fac1dfad6099ee24c4c1a671b986c777979ee9307e928a2adb132e6e8ab21dae8e358d160b93286d6827a209f76a SHA512 612798c48a62f7bbfe40219643d9ddcf0658384b50f0fc8bc511c054870c81a94e60636a533b647c89e5233dc900e0f8899b17d0e831f89423909073cb7e0c0e
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST xalan-j_2_7_2-bin.zip 17740075 BLAKE2B 244fd71011fa957ff1988dbbb58e40af4ad218aafbd92f2a6ec305d59ec0fb221a283442b24e4290f6d2e853cfad39d689c1397b4d18f34f4c94403610079328 SHA512 ae2be0bfc5e794b159c2d16718275a6ce6e8f63d681e2d13875f233d334a37aba872206c6c1f70565698ceaf4c66261c7df6db6c524e6e8da5dafe2f17cefddf
|
||||
DIST xalan-j_2_7_2-src.tar.gz 8416261 BLAKE2B be67c9f2f7ec1140965dc148aea94347e60a2969deb1fac5834c1458d10b3dca91b448a44ed6ebbbb227e4f04780ce0142e812cd99d8862a4cbbf5e8e2af4cb3 SHA512 2f1fa105b3cb8082594e3121a245464e1b7c15464b1ead2d10e306e51ef61ded5d7fcd70c034fa46f41c4a8c14316e376cc14d8045c8aadfce80f2e4bd1b61d8
|
||||
EBUILD xalan-2.7.2-r1.ebuild 1804 BLAKE2B 232fc0f7afdaf42e099c6d96af1123f88a53a66f061bb0966604b38818d7189efa3d3c8e37e1378a3ac0310ae46b12ac918495cc943fa1084b25cef8496a241f SHA512 ba00767a262f80fb54498cc47661bf605e9f0d72c30cd7c6d4370d29a1bfa69a31c558a32ffa3948f07e2609bb06cbd89e701c1bef8e6740958fca1a5b7dd598
|
||||
EBUILD xalan-2.7.2-r1.ebuild 1833 BLAKE2B 1e38d3c135a004e958b4163d6e761828ce3f60035b8a66b57e0eca3f4fdee81fa6b764bc20e900c51b3354b068ec37411da08730d1733ebda99a86ed5fd464a2 SHA512 bd191467077a2e0ccd769655ac7a0d8506169bf592538bfb1292348f4f02c7a47df1886a11c81b5407883969b9386d4bd645301d4870c5639c247571175e9731
|
||||
MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f
|
||||
|
Binary file not shown.
@ -0,0 +1,214 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib prefix rust-toolchain toolchain-funcs verify-sig multilib-minimal
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
# curl -L static.rust-lang.org/dist/channel-rust-${PV}.toml 2>/dev/null | grep "xz_url.*rust-src"
|
||||
MY_SRC_URI="${RUST_TOOLCHAIN_BASEURL%/}/2022-01-13/rust-src-${PV}.tar.xz"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
SRC_URI="$(rust_all_arch_uris ${MY_P})
|
||||
rust-src? ( ${MY_SRC_URI} )
|
||||
"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="clippy cpu_flags_x86_sse2 doc prefix rls rust-src rustfmt"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-eselect/eselect-rust-20190311"
|
||||
BDEPEND="
|
||||
prefix? ( dev-util/patchelf )
|
||||
verify-sig? ( sec-keys/openpgp-keys-rust )
|
||||
"
|
||||
|
||||
REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/.*
|
||||
opt/${P}/lib/.*.so
|
||||
opt/${P}/libexec/.*
|
||||
opt/${P}/lib/rustlib/.*/bin/.*
|
||||
opt/${P}/lib/rustlib/.*/lib/.*
|
||||
"
|
||||
|
||||
# An rmeta file is custom binary format that contains the metadata for the crate.
|
||||
# rmeta files do not support linking, since they do not contain compiled object files.
|
||||
# so we can safely silence the warning for this QA check.
|
||||
QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/rust.asc"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
|
||||
die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# sadly rust-src tarball does not have corresponding .asc file
|
||||
# so do partial verification
|
||||
if use verify-sig; then
|
||||
for f in ${A}; do
|
||||
if [[ -f ${DISTDIR}/${f}.asc ]]; then
|
||||
verify-sig_verify_detached "${DISTDIR}/${f}" "${DISTDIR}/${f}.asc"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
default_src_unpack
|
||||
|
||||
mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
|
||||
}
|
||||
|
||||
patchelf_for_bin() {
|
||||
local filetype=$(file -b ${1})
|
||||
if [[ ${filetype} == *ELF*interpreter* ]]; then
|
||||
einfo "${1}'s interpreter changed"
|
||||
patchelf ${1} --set-interpreter ${2} || die
|
||||
elif [[ ${filetype} == *script* ]]; then
|
||||
hprefixify ${1}
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
|
||||
# start native abi install
|
||||
pushd "${S}" >/dev/null || die
|
||||
local analysis std
|
||||
analysis="$(grep 'analysis' ./components)"
|
||||
std="$(grep 'std' ./components)"
|
||||
local components="rustc,cargo,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
use clippy && components="${components},clippy-preview"
|
||||
use rls && components="${components},rls-preview,${analysis}"
|
||||
use rustfmt && components="${components},rustfmt-preview"
|
||||
# Rust component 'rust-src' is extracted from separate archive
|
||||
if use rust-src; then
|
||||
einfo "Combining rust and rust-src installers"
|
||||
mv -v "${WORKDIR}/rust-src-${PV}/rust-src" "${S}" || die
|
||||
echo rust-src >> ./components || die
|
||||
components="${components},rust-src"
|
||||
fi
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${ED}/opt/${P}" \
|
||||
--mandir="${ED}/opt/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
if use prefix; then
|
||||
local interpreter=$(patchelf --print-interpreter ${EPREFIX}/bin/bash)
|
||||
ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${P}/bin"
|
||||
find "${ED}/opt/${P}/bin" -type f -print0 | \
|
||||
while IFS= read -r -d '' filename; do
|
||||
patchelf_for_bin ${filename} ${interpreter} \; || die
|
||||
done
|
||||
eend $?
|
||||
fi
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use rls && symlinks+=( rls )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /opt/rust-bin-<ver>/bin/rustc-<ver>
|
||||
local ver_i="${i}-bin-${PV}"
|
||||
ln -v "${ED}/opt/${P}/bin/${i}" "${ED}/opt/${P}/bin/${ver_i}"
|
||||
dosym "../../opt/${P}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "../../../opt/${P}/lib" "/usr/lib/rust/lib-bin-${PV}"
|
||||
dosym "../../../opt/${P}/man" "/usr/lib/rust/man-bin-${PV}"
|
||||
dosym "../../opt/${P}/lib/rustlib" "/usr/lib/rustlib-bin-${PV}"
|
||||
dosym "../../../opt/${P}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
# musl logic can be improved a bit, but fine as is for now
|
||||
cat <<-_EOF_ > "${T}/50${P}"
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
$(use amd64 && usex elibc_musl 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
$(use arm64 && usex elibc_musl 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
_EOF_
|
||||
doenvd "${T}/50${P}"
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rls; then
|
||||
echo /usr/bin/rls >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
popd >/dev/null || die
|
||||
#end native abi install
|
||||
|
||||
else
|
||||
local rust_target
|
||||
rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
|
||||
dodir "/opt/${P}/lib/rustlib"
|
||||
cp -vr "${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
|
||||
"${ED}/opt/${P}/lib/rustlib" || die
|
||||
fi
|
||||
|
||||
# BUG: installs x86_64 binary on other arches
|
||||
rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV}."
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
@ -0,0 +1,691 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing \
|
||||
multilib multilib-build python-any-r1 rust-toolchain toolchain-funcs verify-sig
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz"
|
||||
else
|
||||
ABI_VER="$(ver_cut 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="
|
||||
https://static.rust-lang.org/dist/${SRC}
|
||||
verify-sig? ( https://static.rust-lang.org/dist/${SRC}.asc )
|
||||
!system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) )
|
||||
"
|
||||
|
||||
# keep in sync with llvm ebuild of the same version as bundled one.
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clippy cpu_flags_x86_sse2 debug doc miri nightly parallel-compiler rls rustfmt rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
|
||||
|
||||
# Please keep the LLVM dependency block separate. Since LLVM is slotted,
|
||||
# we need to *really* make sure we're not pulling more than one slot
|
||||
# simultaneously.
|
||||
|
||||
# How to use it:
|
||||
# List all the working slots in LLVM_VALID_SLOTS, newest first.
|
||||
LLVM_VALID_SLOTS=( 13 )
|
||||
LLVM_MAX_SLOT="${LLVM_VALID_SLOTS[0]}"
|
||||
|
||||
# splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation
|
||||
# (-) usedep needed because we may build with older llvm without that target
|
||||
LLVM_DEPEND="|| ( "
|
||||
for _s in ${LLVM_VALID_SLOTS[@]}; do
|
||||
LLVM_DEPEND+=" ( "
|
||||
for _x in ${ALL_LLVM_TARGETS[@]}; do
|
||||
LLVM_DEPEND+="
|
||||
${_x}? ( sys-devel/llvm:${_s}[${_x}(-)] )"
|
||||
done
|
||||
LLVM_DEPEND+=" )"
|
||||
done
|
||||
unset _s _x
|
||||
LLVM_DEPEND+=" )
|
||||
<sys-devel/llvm-$(( LLVM_MAX_SLOT + 1 )):=
|
||||
wasm? ( sys-devel/lld )
|
||||
"
|
||||
|
||||
# to bootstrap we need at least exactly previous version, or same.
|
||||
# most of the time previous versions fail to bootstrap with newer
|
||||
# for example 1.47.x, requires at least 1.46.x, 1.47.x is ok,
|
||||
# but it fails to bootstrap with 1.48.x
|
||||
# https://github.com/rust-lang/rust/blob/${PV}/src/stage0.txt
|
||||
RUST_DEP_PREV="$(ver_cut 1).$(($(ver_cut 2) - 1))*"
|
||||
RUST_DEP_CURR="$(ver_cut 1).$(ver_cut 2)*"
|
||||
BOOTSTRAP_DEPEND="||
|
||||
(
|
||||
=dev-lang/rust-"${RUST_DEP_PREV}"
|
||||
=dev-lang/rust-bin-"${RUST_DEP_PREV}"
|
||||
=dev-lang/rust-"${RUST_DEP_CURR}"
|
||||
=dev-lang/rust-bin-"${RUST_DEP_CURR}"
|
||||
)
|
||||
"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
app-eselect/eselect-rust
|
||||
|| (
|
||||
>=sys-devel/gcc-4.7
|
||||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
!system-llvm? (
|
||||
>=dev-util/cmake-3.13.4
|
||||
dev-util/ninja
|
||||
)
|
||||
test? ( sys-devel/gdb )
|
||||
verify-sig? ( sec-keys/openpgp-keys-rust )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/xz-utils-5.2
|
||||
net-misc/curl:=[http2,ssl]
|
||||
sys-libs/zlib:=
|
||||
dev-libs/openssl:0=
|
||||
elibc_musl? ( sys-libs/libunwind:= )
|
||||
system-llvm? ( ${LLVM_DEPEND} )
|
||||
"
|
||||
|
||||
# we need to block older versions due to layout changes.
|
||||
RDEPEND="${DEPEND}
|
||||
app-eselect/eselect-rust
|
||||
!<dev-lang/rust-1.47.0-r1
|
||||
!<dev-lang/rust-bin-1.47.0-r1
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
|
||||
miri? ( nightly )
|
||||
parallel-compiler? ( nightly )
|
||||
rls? ( rust-src )
|
||||
test? ( ${ALL_LLVM_TARGETS[*]} )
|
||||
wasm? ( llvm_targets_WebAssembly )
|
||||
x86? ( cpu_flags_x86_sse2 )
|
||||
"
|
||||
|
||||
# we don't use cmake.eclass, but can get a warning
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib/${PN}/${PV}/bin/.*
|
||||
usr/lib/${PN}/${PV}/libexec/.*
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
QA_SONAME="
|
||||
usr/lib/${PN}/${PV}/lib/lib.*.so.*
|
||||
usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/lib/rust/${PV}/lib/rustlib/.*/bin/rust-llvm-dwp
|
||||
"
|
||||
# An rmeta file is custom binary format that contains the metadata for the crate.
|
||||
# rmeta files do not support linking, since they do not contain compiled object files.
|
||||
# so we can safely silence the warning for this QA check.
|
||||
QA_EXECSTACK="usr/lib/${PN}/${PV}/lib/rustlib/*/lib*.rlib:lib.rmeta"
|
||||
|
||||
# causes double bootstrap
|
||||
RESTRICT="test"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.55.0-ignore-broken-and-non-applicable-tests.patch
|
||||
"${FILESDIR}"/1.49.0-gentoo-musl-target-specs.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
toml_usex() {
|
||||
usex "${1}" true false
|
||||
}
|
||||
|
||||
bootstrap_rust_version_check() {
|
||||
# never call from pkg_pretend. eselect-rust may be not installed yet.
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))"
|
||||
local rustc_toonew="$(ver_cut 1).$(($(ver_cut 2) + 1))"
|
||||
local rustc_version=( $(eselect --brief rust show 2>/dev/null) )
|
||||
rustc_version=${rustc_version[0]#rust-bin-}
|
||||
rustc_version=${rustc_version#rust-}
|
||||
|
||||
[[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output"
|
||||
|
||||
if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then
|
||||
eerror "Rust >=${rustc_wanted} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too old"
|
||||
elif ver_test "${rustc_version}" -ge "${rustc_toonew}" ; then
|
||||
eerror "Rust <${rustc_toonew} is required"
|
||||
eerror "please run 'eselect rust' and set correct rust version"
|
||||
die "selected rust version is too new"
|
||||
else
|
||||
einfo "Using rust ${rustc_version} to build"
|
||||
fi
|
||||
}
|
||||
|
||||
pre_build_checks() {
|
||||
local M=4096
|
||||
# multiply requirements by 1.5 if we are doing x86-multilib
|
||||
if use amd64; then
|
||||
M=$(( $(usex abi_x86_32 15 10) * ${M} / 10 ))
|
||||
fi
|
||||
M=$(( $(usex clippy 128 0) + ${M} ))
|
||||
M=$(( $(usex miri 128 0) + ${M} ))
|
||||
M=$(( $(usex rls 512 0) + ${M} ))
|
||||
M=$(( $(usex rustfmt 256 0) + ${M} ))
|
||||
# add 2G if we compile llvm and 256M per llvm_target
|
||||
if ! use system-llvm; then
|
||||
M=$(( 2048 + ${M} ))
|
||||
local ltarget
|
||||
for ltarget in ${ALL_LLVM_TARGETS[@]}; do
|
||||
M=$(( $(usex ${ltarget} 256 0) + ${M} ))
|
||||
done
|
||||
fi
|
||||
M=$(( $(usex wasm 256 0) + ${M} ))
|
||||
M=$(( $(usex debug 2 1) * ${M} ))
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
M=$(( 15 * ${M} / 10 ))
|
||||
fi
|
||||
eshopts_pop
|
||||
M=$(( $(usex system-bootstrap 0 1024) + ${M} ))
|
||||
M=$(( $(usex doc 256 0) + ${M} ))
|
||||
CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
llvm_check_deps() {
|
||||
has_version -r "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
pre_build_checks
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pre_build_checks
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
export LIBGIT2_NO_PKG_CONFIG=1 #749381
|
||||
|
||||
use system-bootstrap && bootstrap_rust_version_check
|
||||
|
||||
if use system-llvm; then
|
||||
llvm_pkg_setup
|
||||
|
||||
local llvm_config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
export LLVM_LINK_SHARED=1
|
||||
export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use system-bootstrap; then
|
||||
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
|
||||
|
||||
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
|
||||
--without=rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local rust_target="" rust_targets="" arch_cflags
|
||||
|
||||
# Collect rust target names to compile standard libs for all ABIs.
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
|
||||
done
|
||||
if use wasm; then
|
||||
rust_targets="${rust_targets},\"wasm32-unknown-unknown\""
|
||||
if use system-llvm; then
|
||||
# un-hardcode rust-lld linker for this target
|
||||
# https://bugs.gentoo.org/715348
|
||||
sed -i '/linker:/ s/rust-lld/wasm-ld/' compiler/rustc_target/src/spec/wasm_base.rs || die
|
||||
fi
|
||||
fi
|
||||
rust_targets="${rust_targets#,}"
|
||||
|
||||
local tools="\"cargo\","
|
||||
if use clippy; then
|
||||
tools="\"clippy\",$tools"
|
||||
fi
|
||||
if use miri; then
|
||||
tools="\"miri\",$tools"
|
||||
fi
|
||||
if use rls; then
|
||||
tools="\"rls\",\"analysis\",$tools"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
tools="\"rustfmt\",$tools"
|
||||
fi
|
||||
if use rust-src; then
|
||||
tools="\"src\",$tools"
|
||||
fi
|
||||
|
||||
local rust_stage0_root
|
||||
if use system-bootstrap; then
|
||||
local printsysroot
|
||||
printsysroot="$(rustc --print sysroot || die "Can't determine rust's sysroot")"
|
||||
rust_stage0_root="${printsysroot}"
|
||||
else
|
||||
rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
fi
|
||||
# in case of prefix it will be already prefixed, as --print sysroot returns full path
|
||||
[[ -d ${rust_stage0_root} ]] || die "${rust_stage0_root} is not a directory"
|
||||
|
||||
rust_target="$(rust_abi)"
|
||||
|
||||
cat <<- _EOF_ > "${S}"/config.toml
|
||||
changelog-seen = 2
|
||||
[llvm]
|
||||
download-ci-llvm = false
|
||||
optimize = $(toml_usex !debug)
|
||||
release-debuginfo = $(toml_usex debug)
|
||||
assertions = $(toml_usex debug)
|
||||
ninja = true
|
||||
targets = "${LLVM_TARGETS// /;}"
|
||||
experimental-targets = ""
|
||||
link-shared = $(toml_usex system-llvm)
|
||||
[build]
|
||||
build-stage = 2
|
||||
test-stage = 2
|
||||
doc-stage = 2
|
||||
build = "${rust_target}"
|
||||
host = ["${rust_target}"]
|
||||
target = [${rust_targets}]
|
||||
cargo = "${rust_stage0_root}/bin/cargo"
|
||||
rustc = "${rust_stage0_root}/bin/rustc"
|
||||
rustfmt = "${rust_stage0_root}/bin/rustfmt"
|
||||
docs = $(toml_usex doc)
|
||||
compiler-docs = false
|
||||
submodules = false
|
||||
python = "${EPYTHON}"
|
||||
locked-deps = true
|
||||
vendor = true
|
||||
extended = true
|
||||
tools = [${tools}]
|
||||
verbose = 2
|
||||
sanitizers = false
|
||||
profiler = false
|
||||
cargo-native-static = false
|
||||
[install]
|
||||
prefix = "${EPREFIX}/usr/lib/${PN}/${PV}"
|
||||
sysconfdir = "etc"
|
||||
docdir = "share/doc/rust"
|
||||
bindir = "bin"
|
||||
libdir = "lib"
|
||||
mandir = "share/man"
|
||||
[rust]
|
||||
# https://github.com/rust-lang/rust/issues/54872
|
||||
codegen-units-std = 1
|
||||
optimize = true
|
||||
debug = $(toml_usex debug)
|
||||
debug-assertions = $(toml_usex debug)
|
||||
debug-assertions-std = $(toml_usex debug)
|
||||
debuginfo-level = $(usex debug 2 0)
|
||||
debuginfo-level-rustc = $(usex debug 2 0)
|
||||
debuginfo-level-std = $(usex debug 2 0)
|
||||
debuginfo-level-tools = $(usex debug 2 0)
|
||||
debuginfo-level-tests = 0
|
||||
backtrace = true
|
||||
incremental = false
|
||||
default-linker = "$(tc-getCC)"
|
||||
parallel-compiler = $(toml_usex parallel-compiler)
|
||||
channel = "$(usex nightly nightly stable)"
|
||||
description = "gentoo"
|
||||
rpath = false
|
||||
verbose-tests = true
|
||||
optimize-tests = $(toml_usex !debug)
|
||||
codegen-tests = true
|
||||
dist-src = false
|
||||
remap-debuginfo = true
|
||||
lld = $(usex system-llvm false $(toml_usex wasm))
|
||||
# only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it
|
||||
# https://github.com/rust-lang/rust/issues/74976
|
||||
# https://github.com/rust-lang/rust/issues/76526
|
||||
deny-warnings = $(usex wasm $(usex doc false true) true)
|
||||
backtrace-on-ice = true
|
||||
jemalloc = false
|
||||
[dist]
|
||||
src-tarball = false
|
||||
compression-formats = ["gz"]
|
||||
_EOF_
|
||||
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
|
||||
arch_cflags="$(get_abi_CFLAGS ${v##*.})"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.env
|
||||
CFLAGS_${rust_target}=${arch_cflags}
|
||||
_EOF_
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${rust_target}]
|
||||
ar = "$(tc-getAR)"
|
||||
cc = "$(tc-getCC)"
|
||||
cxx = "$(tc-getCXX)"
|
||||
linker = "$(tc-getCC)"
|
||||
ranlib = "$(tc-getRANLIB)"
|
||||
_EOF_
|
||||
# librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
|
||||
if use elibc_musl; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
crt-static = false
|
||||
_EOF_
|
||||
fi
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
done
|
||||
if use wasm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.wasm32-unknown-unknown]
|
||||
linker = "$(usex system-llvm lld rust-lld)"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
if [[ -n ${I_KNOW_WHAT_I_AM_DOING_CROSS} ]]; then # whitespace intentionally shifted below
|
||||
# experimental cross support
|
||||
# discussion: https://bugs.gentoo.org/679878
|
||||
# TODO: c*flags, clang, system-llvm, cargo.eclass target support
|
||||
# it would be much better if we could split out stdlib
|
||||
# complilation to separate ebuild and abuse CATEGORY to
|
||||
# just install to /usr/lib/rustlib/<target>
|
||||
|
||||
# extra targets defined as a bash array
|
||||
# spec format: <LLVM target>:<rust-target>:<CTARGET>
|
||||
# best place would be /etc/portage/env/dev-lang/rust
|
||||
# Example:
|
||||
# RUST_CROSS_TARGETS=(
|
||||
# "AArch64:aarch64-unknown-linux-gnu:aarch64-unknown-linux-gnu"
|
||||
# )
|
||||
# no extra hand holding is done, no target transformations, all
|
||||
# values are passed as-is with just basic checks, so it's up to user to supply correct values
|
||||
# valid rust targets can be obtained with
|
||||
# rustc --print target-list
|
||||
# matching cross toolchain has to be installed
|
||||
# matching LLVM_TARGET has to be enabled for both rust and llvm (if using system one)
|
||||
# only gcc toolchains installed with crossdev are checked for now.
|
||||
|
||||
# BUG: we can't pass host flags to cross compiler, so just filter for now
|
||||
# BUG: this should be more fine-grained.
|
||||
filter-flags '-mcpu=*' '-march=*' '-mtune=*'
|
||||
|
||||
local cross_target_spec
|
||||
for cross_target_spec in "${RUST_CROSS_TARGETS[@]}";do
|
||||
# extracts first element form <LLVM target>:<rust-target>:<CTARGET>
|
||||
local cross_llvm_target="${cross_target_spec%%:*}"
|
||||
# extracts toolchain triples, <rust-target>:<CTARGET>
|
||||
local cross_triples="${cross_target_spec#*:}"
|
||||
# extracts first element after before : separator
|
||||
local cross_rust_target="${cross_triples%%:*}"
|
||||
# extracts last element after : separator
|
||||
local cross_toolchain="${cross_triples##*:}"
|
||||
use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled"
|
||||
command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"
|
||||
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
[target.${cross_rust_target}]
|
||||
ar = "${cross_toolchain}-ar"
|
||||
cc = "${cross_toolchain}-gcc"
|
||||
cxx = "${cross_toolchain}-g++"
|
||||
linker = "${cross_toolchain}-gcc"
|
||||
ranlib = "${cross_toolchain}-ranlib"
|
||||
_EOF_
|
||||
if use system-llvm; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
_EOF_
|
||||
fi
|
||||
if [[ "${cross_toolchain}" == *-musl* ]]; then
|
||||
cat <<- _EOF_ >> "${S}"/config.toml
|
||||
musl-root = "$(${cross_toolchain}-gcc -print-sysroot)/usr"
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# append cross target to "normal" target list
|
||||
# example 'target = ["powerpc64le-unknown-linux-gnu"]'
|
||||
# becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]'
|
||||
|
||||
rust_targets="${rust_targets},\"${cross_rust_target}\""
|
||||
sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" config.toml || die
|
||||
|
||||
ewarn
|
||||
ewarn "Enabled ${cross_rust_target} rust target"
|
||||
ewarn "Using ${cross_toolchain} cross toolchain"
|
||||
ewarn
|
||||
if ! has_version -b 'sys-devel/binutils[multitarget]' ; then
|
||||
ewarn "'sys-devel/binutils[multitarget]' is not installed"
|
||||
ewarn "'strip' will be unable to strip cross libraries"
|
||||
ewarn "cross targets will be installed with full debug information"
|
||||
ewarn "enable 'multitarget' USE flag for binutils to be able to strip object files"
|
||||
ewarn
|
||||
ewarn "Alternatively llvm-strip can be used, it supports stripping any target"
|
||||
ewarn "define STRIP=\"llvm-strip\" to use it (experimental)"
|
||||
ewarn
|
||||
fi
|
||||
done
|
||||
fi # I_KNOW_WHAT_I_AM_DOING_CROSS
|
||||
|
||||
einfo "Rust configured with the following flags:"
|
||||
echo
|
||||
echo RUSTFLAGS="${RUSTFLAGS:-}"
|
||||
echo RUSTFLAGS_BOOTSTRAP="${RUSTFLAGS_BOOTSTRAP:-}"
|
||||
echo RUSTFLAGS_NOT_BOOTSTRAP="${RUSTFLAGS_NOT_BOOTSTRAP:-}"
|
||||
env | grep "CARGO_TARGET_.*_RUSTFLAGS="
|
||||
cat "${S}"/config.env || die
|
||||
echo
|
||||
einfo "config.toml contents:"
|
||||
cat "${S}"/config.toml || die
|
||||
echo
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we need \n IFS to have config.env with spaces loaded properly. #734018
|
||||
(
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
|
||||
"${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://rustc-dev-guide.rust-lang.org/tests/intro.html
|
||||
|
||||
# those are basic and codegen tests.
|
||||
local tests=(
|
||||
codegen
|
||||
codegen-units
|
||||
compile-fail
|
||||
incremental
|
||||
mir-opt
|
||||
pretty
|
||||
run-make
|
||||
)
|
||||
|
||||
# fails if llvm is not built with ALL targets.
|
||||
# and known to fail with system llvm sometimes.
|
||||
use system-llvm || tests+=( assembly )
|
||||
|
||||
# fragile/expensive/less important tests
|
||||
# or tests that require extra builds
|
||||
# TODO: instead of skipping, just make some nonfatal.
|
||||
if [[ ${ERUST_RUN_EXTRA_TESTS:-no} != no ]]; then
|
||||
tests+=(
|
||||
rustdoc
|
||||
rustdoc-js
|
||||
rustdoc-js-std
|
||||
rustdoc-ui
|
||||
run-make-fulldeps
|
||||
ui
|
||||
ui-fulldeps
|
||||
)
|
||||
fi
|
||||
|
||||
local i failed=()
|
||||
einfo "rust_src_test: enabled tests ${tests[@]/#/src/test/}"
|
||||
for i in "${tests[@]}"; do
|
||||
local t="src/test/${i}"
|
||||
einfo "rust_src_test: running ${t}"
|
||||
if ! (
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) RUST_BACKTRACE=1 \
|
||||
"${EPYTHON}" ./x.py test -vv --config="${S}"/config.toml \
|
||||
-j$(makeopts_jobs) --no-doc --no-fail-fast "${t}"
|
||||
)
|
||||
then
|
||||
failed+=( "${t}" )
|
||||
eerror "rust_src_test: ${t} failed"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${#failed[@]} -ne 0 ]]; then
|
||||
eerror "rust_src_test: failure summary: ${failed[@]}"
|
||||
die "aborting due to test failures"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
(
|
||||
IFS=$'\n'
|
||||
env $(cat "${S}"/config.env) DESTDIR="${D}" \
|
||||
"${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
|
||||
)
|
||||
|
||||
# bug #689562, #689160
|
||||
rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
|
||||
rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
|
||||
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
|
||||
|
||||
local symlinks=(
|
||||
cargo
|
||||
rustc
|
||||
rustdoc
|
||||
rust-gdb
|
||||
rust-gdbgui
|
||||
rust-lldb
|
||||
)
|
||||
|
||||
use clippy && symlinks+=( clippy-driver cargo-clippy )
|
||||
use miri && symlinks+=( miri cargo-miri )
|
||||
use rls && symlinks+=( rls )
|
||||
use rustfmt && symlinks+=( rustfmt cargo-fmt )
|
||||
|
||||
einfo "installing eselect-rust symlinks and paths: ${symlinks[@]}"
|
||||
local i
|
||||
for i in "${symlinks[@]}"; do
|
||||
# we need realpath on /usr/bin/* symlink return version-appended binary path.
|
||||
# so /usr/bin/rustc should point to /usr/lib/rust/<ver>/bin/rustc-<ver>
|
||||
# need to fix eselect-rust to remove this hack.
|
||||
local ver_i="${i}-${PV}"
|
||||
if [[ -f "${ED}/usr/lib/${PN}/${PV}/bin/${i}" ]]; then
|
||||
einfo "Installing ${i} symlink"
|
||||
ln -v "${ED}/usr/lib/${PN}/${PV}/bin/${i}" "${ED}/usr/lib/${PN}/${PV}/bin/${ver_i}" || die
|
||||
else
|
||||
ewarn "${i} symlink requested, but source file not found"
|
||||
ewarn "please report this"
|
||||
fi
|
||||
dosym "../lib/${PN}/${PV}/bin/${ver_i}" "/usr/bin/${ver_i}"
|
||||
done
|
||||
|
||||
# symlinks to switch components to active rust in eselect
|
||||
dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}"
|
||||
dosym "${PV}/libexec" "/usr/lib/${PN}/libexec-${PV}"
|
||||
dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}"
|
||||
dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
|
||||
dosym "../../lib/${PN}/${PV}/share/doc/rust" "/usr/share/doc/${P}"
|
||||
|
||||
newenvd - "50${P}" <<-_EOF_
|
||||
LDPATH="${EPREFIX}/usr/lib/rust/lib"
|
||||
MANPATH="${EPREFIX}/usr/lib/rust/man"
|
||||
$(use amd64 && usex elibc_musl 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
$(use arm64 && usex elibc_musl 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
|
||||
_EOF_
|
||||
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}"/*.old || die
|
||||
rm -rf "${ED}/usr/lib/${PN}/${PV}/doc"/*.old || die
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-_EOF_ > "${T}/provider-${P}"
|
||||
/usr/bin/cargo
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
/usr/lib/rustlib
|
||||
/usr/lib/rust/lib
|
||||
/usr/lib/rust/libexec
|
||||
/usr/lib/rust/man
|
||||
/usr/share/doc/rust
|
||||
_EOF_
|
||||
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use miri; then
|
||||
echo /usr/bin/miri >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rls; then
|
||||
echo /usr/bin/rls >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update
|
||||
|
||||
if has_version sys-devel/gdb || has_version dev-util/lldb; then
|
||||
elog "Rust installs a helper script for calling GDB and LLDB,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
|
||||
fi
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST darts-0.32.tar.gz 234001 BLAKE2B e40f16e6ead25809d981c98924867903e1d0f3734682b61ad1be40a10a4212795dfdef55a0eb6f9d0f60ef7676ed27929a6812bf8f57972dcf00875e99d9917b SHA512 b9af8ce60688f5858dac2cac35a8666848dba6729f9f4364786123a1c0484e56c8b981ec04e59653afbcf20cce3b326a49243095213efb525b5669472ac7358e
|
||||
DIST darts-0.32h_pre20181117064816.tar.gz 38856 BLAKE2B db4bf7ca88ceb81dcaee4494708d3f469dfc4f1ce53aa731f291d4b7d73f2c48a9e8d97caf32fd0bdd66aaba1c9e3e2e0289a5f2fdf7f5f1f2351c3808d6a98c SHA512 092cc833fff937365117f5b780f09a1ffdd25104ab57e36f7cba25a9a6bee289c105cae997a50b61b5b542c1c34d71bddf132d0ca14d563198b57caa9af2ac22
|
||||
EBUILD darts-0.32.ebuild 729 BLAKE2B 1dc4fef45e356b9a262761d3856ef7f738b410abf05ae38b3e9234d7add6628373742188d5de7e7d909e03da6ab80116f78758c18d82d90228dc0ea1c1ae6e4f SHA512 00b64494e1fe11c587c0a6112e6934574d081657a87f3ae0e9dce4fb5f769b946e52d58039f2d07b4d8ec57a048769fdd6e0830e73b5e1ca4ed11726dfbed954
|
||||
EBUILD darts-0.32h_pre20181117064816.ebuild 1357 BLAKE2B c0eee36028697b35794ce14a3d65bdd7da25ee0c45dbe56b31d93be03d217e5f90763e58652f9226736b5782c10a7075db845d1e2d1f22d893ec32754820a1a2 SHA512 bc0358838e02e05583489d3059d26765970c3b063a946b0400abb62c8c61f00e60c56434c08458ef197d6b15ce6ecc4d923a2cc30895907c627374f5c7d7c702
|
||||
EBUILD darts-0.32h_pre20181117064816.ebuild 1363 BLAKE2B 102360f0fa77fbf713aa9efda46f6559c49f7310b7be1156d5d62eb769351b3978751545548f55f7763b064f95a7a030f81adf2e19dd41d8f63ba8f4bd9db6a6 SHA512 6d39b9f3a053123c6092dcfcbc585c78371e96681704340f7b4f8791913ddfa91b512dcc9f4cdb1d9d1831aa4b30f2a922c7bfc8a15f723ed17b5364c48c3758
|
||||
EBUILD darts-9999.ebuild 1209 BLAKE2B fc98dc93002e7a6e7d4269cf2a13b8228056b29b72f8dee5519587bf8d4888678ee0748a86074d5e6b73d877a8d8fea7fa77eb31b998295cd99145b36496a0f2 SHA512 892651f7fdebb19693f99e03d1f3fda914aef6b91d56192692292252a1a3978bbf58e229bd0e9e051b3845ce7d5046d6aac05f86da850e252e3bf85913516592
|
||||
MISC metadata.xml 318 BLAKE2B 67d2ac0f28e51ff5c9b2d21a216a674285ada72e7c7de4d705cb9a767a086abf1779cf7f877c540c18d64d5a70de7df570af42b278f57d27d3ed24739e476856 SHA512 52935d348cee3b72a2f5da851b5600414da7f923fa8be357006f06392f7496f98d04bbc92a52696ac42c70b1315a53107d2378bc5e3a79b2cacd5623e8f0619e
|
||||
|
@ -1,9 +1,5 @@
|
||||
AUX libbpf-9999-paths.patch 883 BLAKE2B 663e03ae01afd7be73c281e8b83cf5534717c28f5960b4b7ca5530096840568dedf4e5f58f2139ab56c5f57382a80540294cb492f6ad619f174184172b3441af SHA512 de78131baa08874000cc52b0b21db4055246a653503301bd82c2e8f5818c955d63727d957d7834f1aed63abad42607480911fa0c2ea8d07d833ebd1f8b338039
|
||||
DIST libbpf-0.5.0.tar.gz 815083 BLAKE2B 9097d808f03cbbe61cd59b24347075e2937603f51350f83f8897123900c911392d7545af8135f39f749132c6518296f1a4d22d37c0c7b4371631f5c63a0dd9ac SHA512 3c578d3e6e93a306a1f182978e54f35fec8acfa51fad5d7de72c5003f10c266d7474e82d6dd045311fcaf8c18aa8cebe64a3336a458a9ea477e5a58e5111dd85
|
||||
DIST libbpf-0.6.0.tar.gz 858210 BLAKE2B a6076ae7465eb9c99ff1b2c63a388ef2d15c71882d7de0b5279604ad7b91ef3fce583c88710126a9384d96a810775409daadb0adaea41dd9dfc12af183fa50d7 SHA512 923eac64dca015939cbbd51cb0a7daf609d9873d249d6e621d73776b51c52f6087f2a957976163474d359a471250b27b44ad93179948335e949a82ed9613ed43
|
||||
DIST libbpf-0.6.1.tar.gz 858232 BLAKE2B 239e7bf47c24d09eb8e177e61d00bd834a0155c8773918246514858fe27688911f79dc4a22d02ab256c7c137010875f8d39d4fec9cecfd7a2b77e6b4df7610ea SHA512 5a8ca70c571fb306dd280f0526db48b78b13b57b4012f7bd3933d6e07d5e41e9370b2db6ed9bbc283c6dcbb21036810bf3093f462906b66557ce0d850c89083a
|
||||
EBUILD libbpf-0.5.0.ebuild 1069 BLAKE2B c9ace876e75903f9bdb7da6db127b90245e66fa668d5080c495acabd37b1b9d967950c5edead15fe7bff9d6b862f11fa4e73c9a8d298666e5faa7b7056b68a55 SHA512 c11e3a7597b88908ad4293e53fe21922d6e8f25b210cfa68526844544b5f3728d47eca34f83e93a47735bccb4304283e9689c5dbbb44d28936b020f683d79918
|
||||
EBUILD libbpf-0.6.0.ebuild 1077 BLAKE2B 82ce5fe750c70a860b686d6f7cefd7ba51c7070f5c6d49c234407e5afa7e2479f0bcd7cda059d4d4dd222ced2b8b0b13c039ff4b3f3731b21d543d00c551b0b4 SHA512 e42a838c5b6d6ba55dce73ed46cb772f66402979674382e5617905a0b4443ee43c391deb4a0f52854da4b2eebc0ea25758d338cf5ef320a375d56936ca2ef2a8
|
||||
EBUILD libbpf-0.6.1.ebuild 1079 BLAKE2B d25073fbc47b4cab376898f3b9d2b5f1a20034970ee4aeae13e0e1c0ce7aaa4d08629d4b58a8aafc270b3f57284cf642fec1d4db305e8fd9f477cd76849736db SHA512 dc65f1357f6d40549bee13fc4c57b38875a675fc1286ec2d35785b87769a65ad908f9b12f916206e1d694e001449d7ddb4d4827fcb2891a598bc5c76190582ac
|
||||
EBUILD libbpf-0.6.1.ebuild 1077 BLAKE2B 82ce5fe750c70a860b686d6f7cefd7ba51c7070f5c6d49c234407e5afa7e2479f0bcd7cda059d4d4dd222ced2b8b0b13c039ff4b3f3731b21d543d00c551b0b4 SHA512 e42a838c5b6d6ba55dce73ed46cb772f66402979674382e5617905a0b4443ee43c391deb4a0f52854da4b2eebc0ea25758d338cf5ef320a375d56936ca2ef2a8
|
||||
EBUILD libbpf-9999.ebuild 1076 BLAKE2B d44039d1bfd55ddc95d912ed484d247b1724e426f90cc37cd6dda84a5272f061c83811504d25c2f05c4394e57c3285bf256a3287b2bf320ed1fa0d677de16612 SHA512 15e0913d7eb9f8497c86cb2845662f2986a16ce1f5829ce34054c09e3be3a8165e1e7e91cf453e79d968bf8d9d1f69be539b1136e5fd9b4eb6adbbd0e5d794cb
|
||||
MISC metadata.xml 420 BLAKE2B c61b50bd86dd9d110c35d57a9352ca3862790460f0a6f8e4be9e4ac2eb603fe6c1d6bbe8d77e9fdf32d08e7aaf19349516f25a0fdcb29e2671d71d2c230fc1f5 SHA512 131f77e33aa5b3cbc037a297fe0ed9affbcb956b4c7ddc64889eba5f8315f5090ae4fd7a6054f8961461072ca77d13f8bc6674f3ed27372b7b96c4322c487676
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/libbpf/libbpf.git"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
|
||||
HOMEPAGE="https://github.com/libbpf/libbpf"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 BSD-2"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
sys-kernel/linux-headers
|
||||
virtual/libelf"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/libbpf-9999-paths.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-cflags -fPIC
|
||||
tc-export CC AR
|
||||
export LIBSUBDIR="$(get_libdir)"
|
||||
export V=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
install install_uapi_headers
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${PN}.pc
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/libbpf/libbpf.git"
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
|
||||
HOMEPAGE="https://github.com/libbpf/libbpf"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 BSD-2"
|
||||
SLOT="0/$(ver_cut 1-2 ${PV})"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
sys-kernel/linux-headers
|
||||
virtual/libelf
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/libbpf-9999-paths.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-cflags -fPIC
|
||||
tc-export CC AR
|
||||
export LIBSUBDIR="$(get_libdir)" V=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
install install_uapi_headers
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins ${PN}.pc
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST mmtf-cpp-1.0.0.tar.gz 59363 BLAKE2B afcb03ce1f83e10348b148bd6218e5e10ab3e425b0f8105d292f9e265800ea6ca4562dc11fa4453df05d8a698576fba9dfe982aa91a8dcc1983480c0c52dbcf7 SHA512 0e502ae76e31689d440bff2fbc90fdab7ff62d5369e26f7ab2836966a30bda72625d6d5da33bc0770cf471a1549a02f7478ea16a01dd6be2809568d8daecb073
|
||||
EBUILD mmtf-cpp-1.0.0.ebuild 482 BLAKE2B 04da2878d56fc37354a4693225cc1431b6b31dfb414965640896dc983515112c056f8959afb3bad0720fd83de188d6118542e5c852b4269c00608926cf0493c7 SHA512 1e49d7dcac2b3fe3fb963c24032563ecc35ac379bb089341a0dd27989e0207f881112aa116f2ecd43d42ac38956ea0a66682112446fa4d52fbfd870ec38c9a61
|
||||
EBUILD mmtf-cpp-1.0.0-r1.ebuild 476 BLAKE2B 41ab5557ca52751a77aab013709b3e9b0897e248b902b36c3f3acccfc38b1c49a2ad2f039969275208f40d7bf767c4b904adbdb401fe1cfb7fe939506e7bdae2 SHA512 a1099655707c9c1d6eb24b812bab09b379f86a7cf649510977daf33f9d8d17d31facea0ab7926b112a5f6c3236259a12bf8b2bfa2df3db3a2c66c18d1c1b2f9d
|
||||
MISC metadata.xml 441 BLAKE2B b55284cf0df7ee0750b0a2058b95ee0e83b556cacf506d41f8c58c5f4ae6e283f61b288bf2b5f00d86f4636e1ea2f9c1824524db83d3ddcc77c10e0fb0452ec7 SHA512 c7d481aa61f4a5fa627e72bc2307eec74e1bbfcc70efa6b1ff6132ced2df8d9b55d5710a78bac639c09375d2314a74dd9e46e20a9058aceb2b7e3b85cf8c3f35
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="The pure C++ implementation of the MMTF API, decoder and encoder"
|
||||
HOMEPAGE="https://github.com/rcsb/mmtf-cpp"
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST logs-0.7.0.tbz 18458 BLAKE2B 091d1778166af0b67e17e932a775a73e31e5d167b94b1b378063a7112c21bf1ac935c7e51fe29bcc0121cd5e60ea46ed3c7381f4db5df400b463feedfbe89663 SHA512 657f66eeaf5788947a3ff4b2a179f7e192ad4ce086fc8968286066d4b83af476523b3befce50ee58abf2d9b8c8dc65573ba8ed62f9c5e7933db29a7fb769646a
|
||||
EBUILD logs-0.7.0-r1.ebuild 1389 BLAKE2B 6e6e9d777b186683bccc06ef41cf866d13bc2a77574490bd4d75c7d40cae13ea687b6343a8a87f8b557586c4a00d87f28969bc3a558021d256c21ce3698545bb SHA512 5d70fb38482d30f0a57c5afd50e9561248aeb2c053850d70c784878a7a3abdf5b347c284a6a52fdb616e694595aae517032089b78f84974f4f81f68f3592123f
|
||||
EBUILD logs-0.7.0-r1.ebuild 1389 BLAKE2B cc6197391eea37ff7d91c0b670c9dcc0bf7b4857ccfa41b1e821f8e3764792698b66bec8ff0dffae8deb77b8c3f1e8743770f4a60d39e04a36055bf35c78b077 SHA512 dfcf2145152fc1373e607277dfce4c18f1e37a223efb8b1c186bb12e5cc4b9766876cca353d8947ab2f6b8c96155d3fb0fed3dab252ef046bd939a6aa6ae7d87
|
||||
MISC metadata.xml 587 BLAKE2B 9280d7927d1cc4fdb3e48feda36a486cf45a8cfc4da9248d3b4908958c6a4ce01e12e76ec5c32500c8e5d7ab7f228c12d47e44fddcbbbfa6e731ee14e88314c1 SHA512 a3ef80fa82dedd15f554eb59fe0da20d004eb0e0a5ca9bc110c4c0d0e466037239bd460bc303111143ca00256f28069195f17038e5eef3d5da9cc63492c56a69
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST X11-Protocol-Other-31.tar.gz 271459 BLAKE2B 88534e2dc0c52709c307695970e558403acdc3e57c497373746fb7ac7874fcbafbe6ca8efe807aaa2460b09c05decb15d4d1cd164227acd3ff6e272e65d70da5 SHA512 e9fb0df63a2b920d1348fd5b725f1aa68ad8bf6a6d16cea80ed6c2da9ccbbaabb4daa09eec09276efe74cc75575b1207e883b3ec4286a729ce71d3eeea9bc80a
|
||||
EBUILD X11-Protocol-Other-31.ebuild 339 BLAKE2B 37276b426f3869ac102b7f2be21ea82a59488aa677c87f469bcaf0780b3a20c61345afdd6930c963830d925b85fb150c1f4c661ed48eb89f545e878416f88882 SHA512 0a6679fe35d2962e358571de67bcf6a72a60eff8b1cc7b76f7c55743290a2f02b595a725e6e9e71b175f712b6910a0b0cac51777637c9dceb7a627b3546f3713
|
||||
EBUILD X11-Protocol-Other-31.ebuild 338 BLAKE2B 1969d63847bdc3d6210d19f62054cb5379e6b9968901c2d357cb1f76d6f4e2eccd86ba6691b79bc68659798809870bccb0d66797f2236c94a54580dadc82f1e3 SHA512 4bd65775eed58a48736e2ec2b3064dbc1782b591b78c6cf00b22bce61f8087ec04121da10485fde02789e8fb3b29e4bbe4ad997a8628577efb1949c9f2594286
|
||||
MISC metadata.xml 400 BLAKE2B 06bcef2a4325f8a4f3b1e59b53fd77913d34d2ee17e23df7ff38d0084c3cb98f21dd0021ee8afe34f80e513d416fd86ad6a9b7d263e7ef91a73bb809a69cb9b5 SHA512 b86fd72f5cfe30fe66f991c335fd2863002f23fc7eb8052403240b13fbc96668f4eae26df2e6e2f9ac9775b09be70ef9c02a0463090d79c0a6e35f384773a4b5
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST argon2-cffi-21.1.0.tar.gz 1807800 BLAKE2B 47b1e785b7eb173b671a44e9212af76a59f453c3c0d0e5f2c437e7a62132abf86ab6baa8bdd656ad28d00a151296a66211d365c0afe228821c8c1ff1a0a66c46 SHA512 bbfebd2c075f360a6c1c187c0789be2aae7480b9398f36db7bdfe74f288d9e00b44a788918c54f4cc8bb1947136ab0493f61975de408c482a5131e2bf1a8f4d0
|
||||
DIST argon2-cffi-21.3.0.tar.gz 38446 BLAKE2B e0464f501efcdfbf33d93e0c1c6dbc519ad6aee06c0b8692417156de608f6c6acf947f86b866c064601fe994087677e51d954ae2c1225cbbbba3534cf70c6296 SHA512 6cb2a075f3bb7040ee7f552d082bfa2f3df0854649d9c84fdfdb42bb4bee2133b8a35a20be2b3c887931efda12fbbb00815d8d88170b7e20b3ca19c86f97057e
|
||||
EBUILD argon2-cffi-21.1.0-r1.ebuild 763 BLAKE2B 25fa5be24583bc6cba16ff5b60c305b7b358d23fd849ed8b006e704dd9d5f09098bd51d22516b32d0527e6fa5a388e24450599a71b6238b6a59f670b8537157d SHA512 db9f3fb5464f2f5eb0d86dce73c70c45683a589469eff9297da0e9c01634a61d0c7effb1d2e13965da1a40c5824432a2a3acc4dedd6b3a52e4ec1b8ab0932a53
|
||||
EBUILD argon2-cffi-21.3.0-r1.ebuild 1181 BLAKE2B 95dae85545216d3e58181a6a8529e3bde7d1c90baac329dcd706b5590aa93d10ae102e83bfccb4ca7c95c9e3174c2a1dc68f1159d49e661e63bd4973592767f1 SHA512 12d1d7158f29894517055945ef4c9a08aea7367cb51503f533c4550429f7afabfb6467e9bd5bce5fb51bb5b4e00a26c434146194bef8549a3cff567e7350b7b1
|
||||
EBUILD argon2-cffi-21.3.0-r1.ebuild 1179 BLAKE2B 3cb16a09840228599a07c4f68f06ed390b4d7a2d81dced0bf0bf071f674d3432a5dc96fbe476284d58669560d4e479a0c7f3893d753a28c4bdb8e7a63363d76e SHA512 37f93417f4f312ff78002e67de1eb50843e339bb96dd3d7ed40c9a90acaee593a109c122a208196fdf4533fa53d7af14dd566787ec783f20993f0a8e9d40ac73
|
||||
MISC metadata.xml 666 BLAKE2B 831fde25c0b52ed8610f39ab589f339783bace8dc2cc60ffa4736257c352bc82b89e110bf44181790e4a16db967e4c516f21fbc3cd1526a9975cc86b21f723f7 SHA512 543bb0e37fdf96b8c2fa4ec26eae837317dda4688b4293e82268100ce69e3f9987e91b2f141cac1be4becba9698f9806d22242801523bec825271b8fa4f14bc8
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue