parent
522cc10ca8
commit
5ecb4a692c
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29257 BLAKE2B d66c24d7e2a2629ea3af518f3f8fc44fb2e81a1f7d87c4bc418bc739c00687ec381cb75c6d54fbf67bf17d62851e0811ec02212314fed7c9c265c753c1c22221 SHA512 7f12ebe7946058ad27cf2e8c66ef51a72a977202095e77839ba34d0bd61db545ccae062abd0b9d2acca050cb80ddb006689c1604919e2c9085ddddaefe6486c9
|
||||
TIMESTAMP 2021-08-10T09:39:17Z
|
||||
MANIFEST Manifest.files.gz 29262 BLAKE2B 48f05c3ba40e6a3b9fca142b6d895ddd15f5662e37fbc1ff17ce54692a160fb8444163e5e73c5b885122b1f4b09064ffe56259a6cdf89059bdc95fdcc382cf75 SHA512 2f6e507e2bac927d3ed17e75dd6b28206061c1e326ae87983d4454836fae19ea400e7459acf5bab95176a6d31ee94ebd42dd6e8ecfa0d030bca5e9a4c3fcef8c
|
||||
TIMESTAMP 2021-08-11T05:09:19Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmESSUVfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmETW39fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBKnhAAkdCl+6gorc9bIRXU5ir00aMDMvB+5XZ3GnAnfuU7nj0t74ozJTJV2t75
|
||||
oybNLdyt0/JmQdm4pSyOJ+SAavvYhGxiAJVvgVPsVHoHwV2MtWl72NoQoKGFjGUp
|
||||
Tc2iYf8XWIKuJfus1AhXp9yZsno+V+sYZfhyLv73BBy1YJmXx086f8kMD8/KYsi6
|
||||
bBpgJHv+2FGlmJ9R7HNIbQGGgtWr0zb+8vcIbbdpOWDDrwbo0UiebLbxBdS16W4q
|
||||
HFfpDRpsnMQtarA5k7ItuAC7yeskTkY4SZCafVLNhNnl72QdwSSLVZzxozen95c0
|
||||
gFpXWDRtnshlrhDewKes04moBok4UKNR/Jxo2+ntfgTlM6tjUEFgRf6aIs0oyTgN
|
||||
Yflfs/L3vj7eW+y3okMxY3vXpTHSXbfYkkdmRcBqz8f4L2qmQilAuDmis1cPwLxJ
|
||||
aJ9n7XLSjS3ik+5MPp+oTt3nxaXMBU+wLPAq2t4hsnVcCSs+CWttnIjBcK034ZZ1
|
||||
Otdii2ndVqkBw+M3rT2ftIPmthNpVWns6/CgwM+6uB5jXnmC+ARuuCgZsBN/xSwS
|
||||
JCTuEZOSRRXBBLskpTtLSzH/XUpKPybDGxzLDL2o5Lgx8CJzpGoNUed+UuF2uZGe
|
||||
Ym0VeYjXKIn1A6n0FoAuky2CevWsklwO5qdrh9qqyvb6LVifs8A=
|
||||
=0gTf
|
||||
klC+xw//QG/UUVWhPIvr/8IzQV/E1a7db7h0HdnN8jycRWHRBp+QHFeBZmbRLkCv
|
||||
X5M2nESVXx3PmB7KcPzHCi60irgwVU/PgvxqgnY/m1hb0EBeue2zXae8rUybuDyu
|
||||
aam9R5xY8gzVwGbjAfT/bzyYscOaJihn+G4aszaVHTdqB4JKn1KTNG3FOKHrC2aU
|
||||
ml/9hOgm5A29dfO5cMz4w3Vp4N6ewi7jk1fmsQ9s+pbvdJmWEI0mafo+8Qv6IiSZ
|
||||
lGmZlViHtsr9T8bjGYvssfoBR4QMRzI6hfa+458wVZfnA2idDcOu+1/Iuvu2sqUc
|
||||
LX7bhPE2LmrHvMi4AI9WEsDxjafq20uBOmb8rPJzk/uEuoiIw7OLloFDp/pzMcVU
|
||||
5uAc86AgCuskZwVb5je70scXCAngSr5bIpQ7+fHdjjoCbNP1UqPLsirzP3A7/Uo6
|
||||
js+HpxJO5u18T0N8vJ2xfrGrdCmJXxTodWAeoFzzrHWLeFb8gGeApyU9wjFVHy8S
|
||||
Ac69XgDI0sFO62m/HjhODbTuJyQ3BMwVi6P+aI9JQg3jrLUquMnCIYvIHFBgmYgd
|
||||
fonh1S13KmImpqHV1D02QNm+VjVdRB+czMOrB5qiiDTicSnYpsY9UpEo5l0Vxnhy
|
||||
sFgoir/RdZ3sfEZAodY7mKCS7BqT2OSDTEHhTFqzKaPwcz94yk4=
|
||||
=FNaQ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST kontrast-20.12.3.tar.xz 122468 BLAKE2B 4e29c034ba87781ffef03a37ecc7219eed488585bc47b0b3420950cdfe8fa92e9f4fd2a35dea76ac296318cb8c8be38fcf92061bca105fcfafa9dc9121afbabe SHA512 d6a4b60416f43bc1e9ba2539b13f33233c988417c7e8f05dd295d7e4946301943db9493123a07c48b0844c7aa55a22a3f1b898c3a00cccc6f6aae295d89d90c8
|
||||
DIST kontrast-21.04.3.tar.xz 123764 BLAKE2B 8788b3b0e479b39a2065be61ae2e4fdc34c393a12be6547b596be1dd60fce8d3c8a98b2d7bb8ac7626c75570c92b52cd13cbfec1c61470c09abba931e5c7d7ab SHA512 fc966e28e790d49e2c87d45c506a7cf5170115f6528821f8634ab2e767ba725b9c6934cdfec5a308c751ff1b83fc59bea31dc50a462a81d71f47652a8b974e2a
|
||||
EBUILD kontrast-20.12.3.ebuild 816 BLAKE2B c014e86a0d6d9f93398ff8ad565e09e698c6a7bee12d7abe9d3fc1c88986e5f74f029ee960b11b81b146aace044758ab4f3c75a1cefbe085670cd6bced016604 SHA512 d5431072659281f8c691b3d4fbe004d64d2cdd97fe7f7a7add7e9d3dccf01603c4b959ee351f2d773f201ae1c61512ac0cc696d7c2acad5d0d3e822acbf100c7
|
||||
EBUILD kontrast-21.04.3.ebuild 806 BLAKE2B 9706d62d04e26a1c75873f91bb31857f1eb10e5b8f03ef9e51cf8a89b319b6638aa1fc9f405f1937c1285aa03cd6bae75e9413419608be4f77200845a324f299 SHA512 1db8812774d39298a6a6679f1288454a44aba10314d509a7daaff7cfeacbd52beb5fe400e8e949d39dce6bda06f414205ed3c0413f77b741ecef7d8d4c7542a5
|
||||
EBUILD kontrast-21.04.3.ebuild 805 BLAKE2B bcdfa53b33b9881ad6fe8208cfe8e8ebf296762ab28f30183d89710b4ec1680657c9c37a2b82670eee86715d27c440dbfd8f1dc71d272579ff4c2f34e4cb768c SHA512 d833194e4d3e98d1e642447eb0b0193743b93f0fa8df704898f98af787c6da3eb2335f2a2d4240c5c9cdbc5a4144cae496acca496319d76d8da51ea618bd0e72
|
||||
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST ccrypt-1.11.tar.gz 834575 BLAKE2B 6b3441f6b1c58ed63db43ddc999ee64e67afc3ce02222de2a41562bc066aad0f076e75ab496d94e7f3f1a9554b1382c083f3af04074904c1110f610cb5ac19b3 SHA512 75c2b93e855d36e717d3b7cabee7ce43ce372a21c8291beb43f24fd69e11114bb0e19e6dd03ec5d901e7e60eac9351afab65c346b7304b16054b91d392050313
|
||||
EBUILD ccrypt-1.11-r2.ebuild 398 BLAKE2B a1009bca5f276f7144c9beb6128f8faf9dc21abf4fd5c7a9ad7ea0f60a0dea418cdfb194556ede79dfcdf25f78717bb9dece4e3ae7653d42fa536f2e5a31ff4f SHA512 b793da00765700c218b6b5eb966bdd920f413a78b66572c289181327f859f254cfe0a64e36ff4f0f8051ec6d73091ba9743aae8a635080e6d671cf6550c8af7e
|
||||
EBUILD ccrypt-1.11-r3.ebuild 505 BLAKE2B 9073b171889a1334d7a62577afb509a96529a0426b8af31aebe32f4023b02bf86ee6f7eaeb7f43ac113c72a6a5647804da7a89665d2ea0424e9d08ece264eb16 SHA512 fd0de62b3a844bf3714f840ede7a2ee033509b0eac692aa8333b7958db7afa2f6606b85342f494bce9891af3ee677a39dfb962e3e273780bf1453947dabbedf9
|
||||
EBUILD ccrypt-1.11-r3.ebuild 502 BLAKE2B a976b6f2b5c989e0ae67711529870fb0dd529b3f210d68d6407e1f975f6572740f0a5e3d6ea8565deebb27883853fbf0c3f5509c4ccfdc55d59b4d53fb6ad274 SHA512 afa132f71a3aaa070176e3f5fdae3cd822cbc5534da781bb9487c8588ffea8e47994b58aeae0e00283d67da2dd3b30d1c74f5ddf913f21f138b9fad6464af480
|
||||
MISC metadata.xml 243 BLAKE2B e3a1fc2bc4765aa2137c932351c877495ebd1c2f61e3228f866e2573362ff990930d8e54b2365dd1fa943d3fd185c10e9616be14de8bcda8f72384834620ed40 SHA512 0f0e44291b0da4bded3871068dcde7ce0e49ecfddb26f8215fe2df0977434b3b78d9b7c8920b48c86e5518f8912c9e340890a5e92ac8dd659157ac7109afaf11
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST minisign-0.9.tar.gz 15664 BLAKE2B f9f358a27b069e752894326932a8c5c51f308ade49ed7088a5f693b4e8327639fc5578607f348994a7ab7484091ed93190894c1965cadbbbf2a27e939ccc117b SHA512 7970f3e72ff759f3f02416de5d6035e1c8dd4e92ea718083cc5091c7e2355b59c4e178c60ca934985ba1e1afcd970967d4fb39a434ba54b140f3fc9be661253d
|
||||
EBUILD minisign-0.9.ebuild 726 BLAKE2B f8039cb4d43952d4d4b983d29340b7abad994e98b1674421bff10f47d30b59fedeaca1cda702295916fa2e38ca3c6251e07025be612762fdf5439c3222473f9d SHA512 eafc7ef331648665a3813e3d4019bd801faf7c54b4dead6202e68ed56bba11c5e6ee21356b97ad1897c83395f242d63d1a80805de72afcd49b82f1a2108ca5e4
|
||||
EBUILD minisign-0.9.ebuild 720 BLAKE2B bee4d9a140bf4ea400bbad4e5efe54c9214a5dc3981a04aa1824cae7c25947e313c785d611bc0f5b2a2ed133a0fa591db594d39510b0222ebeefda53b95975fa SHA512 c03336c967a6de0871ed7593dfca0217f8df77bccfae7d0beba2c86e52ae6fc10b2d0b095599ba1ee9f81ffca097b9826fe9aa0b3e53467de437cdfeb3cbf18c
|
||||
EBUILD minisign-9999.ebuild 665 BLAKE2B 20395e22436151cbacb842badbf83ee829cdc278ac129b08db475cc87d35f7294097f87e4780a63a208d63b3f31edd244fb2da471d1de1dc95f744094c11f784 SHA512 b336ec7821b270de6f7b6a82d029cafde41ee685cd6a376d077e82451a6d223f0b0b5b6fbec6e994e009b8157b42d31c4ed7f0240b57a2877ffdb369742ff4a1
|
||||
MISC metadata.xml 681 BLAKE2B 590bbd6d73e1a9d5ac5e3381ffa5f29e8f8a0f329874e5372f52425a679c8966211b689a699d75cd6bc299e6d670f7724284fd87fc8f6ce0f8038133dfcc33eb SHA512 2840cf105039a5bb4a7564f4d10f759c1cf0f7f183a9684fabc2a1a158ea01a8dc7c552bad57991b30bf676c88b2b00d1f7304a2c565d388e798cf931e566242
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST tables_vista_free.zip 410609902 BLAKE2B 122f5f0dffdbfae7969f0930266fcbfd95fe68543b465c063f1a742c2d036334ee168331045914e822c2f01d7321925a09095d2a66343368bbbe672ed379bd0c SHA512 daadc06411a528d338862294ed5e9c5162c86bb7c784e2ae572af0d441afe4bf81844432bb543a9f711dd632271ed89e14ded515d1ef1befad8c44a1a7eb14db
|
||||
DIST tables_xp_free_fast.zip 701901509 BLAKE2B 7ff40f4a7a0eab6ef961b80e5aa7d86985191314697acc284d256f0a63794467947d236dde1cedf36597b138711bdabb9acaef5b04dd8e674e39ed94101bdcbb SHA512 d2849b2a48508bea830ecf1b39893f734e8bf1bcb6f71358ad344c0f584a3a9c9795e5c0d12851e44c332aeecf00e2da0c55b31fe0491d3bbd527058e45797a3
|
||||
DIST tables_xp_free_small.zip 370848194 BLAKE2B 1b1358bd3ddd4e3a574504f642aa5a7125641fc3c542d3e05084f228c11cb90d0dba41ae13227ca1fbc36a9241a53a6c44fe0f092da8e39485f7d2319b0f79c1 SHA512 50d0761a0d950d6492acb083b05c3e33dab905ab10f24a70fd8e25006ea583e871ae8d7908eabc2fed65b106f3ba994973ee881e40b147a6aa8ba297bf14ba61
|
||||
EBUILD ophcrack-tables-1.0-r2.ebuild 846 BLAKE2B 11b605d0e9e3333f7bf822c8ce7c76ae7ee3dc0be83f85224ecc83cbec4cb7a3871c4dfa64b19ce0430c850803ebad9b6575ffd00b9d75778dd61a73fd3ed75b SHA512 ece52ceaee81735bde58681960d48ff13c742499be135416ab29aff0d14e4f0e407b5a41a89ebfca8bd2b3176eb123fa1678a83c0acbd2aad3f7ec3f0889d3f3
|
||||
EBUILD ophcrack-tables-1.0-r2.ebuild 815 BLAKE2B 00000cf8e80be1f39bc3b152588d1a5c6ffb81c9e5c7e36ec45c39948b6d9d303e974d8371fb407924420f057f1fed511db1aa8faadd680c7083601544c7845b SHA512 dd66149590f349e11cb8a9abb0ac88e767060dc3b1fc56961f73b39deb3abf617bbd1328da23205e578f24af936d0596a8a629b3916ac4741d55ee0451b240fd
|
||||
MISC metadata.xml 471 BLAKE2B 72ec59c68c3914ac05449e9cb2eaff8958d76fd488ba5c55d6f8f2a331fcaaf869503ae2409bca2ed55528f72442f8ed7ffad4e67511d55481d544585a992307 SHA512 55bdedcda146069cca52d85626f9acacc23b3e0f310a4e482947df4b034ab62a688c93adcfba0040b9df37a5c4a22ad163aa696cb0afe74d4aad6b3338326e59
|
||||
|
@ -1,38 +1,36 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Tables available for ophcrack"
|
||||
HOMEPAGE="http://ophcrack.sourceforge.net/"
|
||||
SRC_URI="xpfast? ( mirror://sourceforge/ophcrack/tables_xp_free_fast.zip )
|
||||
xpsmall? ( mirror://sourceforge/ophcrack/tables_xp_free_small.zip )
|
||||
vistafree? ( mirror://sourceforge/ophcrack/tables_vista_free.zip )"
|
||||
SRC_URI="
|
||||
xpfast? ( mirror://sourceforge/ophcrack/tables_xp_free_fast.zip )
|
||||
xpsmall? ( mirror://sourceforge/ophcrack/tables_xp_free_small.zip )
|
||||
vistafree? ( mirror://sourceforge/ophcrack/tables_vista_free.zip )"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+xpfast xpsmall +vistafree"
|
||||
|
||||
REQUIRED_USE="|| ( xpfast xpsmall vistafree )"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
src_unpack() {
|
||||
for i in ${A};
|
||||
do
|
||||
local i table
|
||||
for i in ${A}; do
|
||||
table=${i#tables_}
|
||||
table=${table%.zip}
|
||||
mkdir "${S}/${table}"
|
||||
mkdir "${S}"/${table} || die
|
||||
cd $_ || die
|
||||
unpack "${i}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/ophcrack/
|
||||
cp -r "${S}"/* "${ED}"/usr/share/ophcrack/ || die
|
||||
insinto /usr/share/ophcrack
|
||||
doins -r .
|
||||
}
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
AUX mpg123.eselect-0.1 343 BLAKE2B 192ca6ef608cbdcab5b5c866515b25dd5e7110479fef2741fc6deed0b809dff3519ef36451cd017f03063381dca5d04023f4d885c5f9db9ee83075059640326f SHA512 b11891308231ff322c0028eca8fcbac999a74c31a26e5e0376195276fc52c210febc21a46a78b23a1ca6099abb27e5ef401d4b3f50de3c98eba3631dabee3593
|
||||
EBUILD eselect-mpg123-0.1-r1.ebuild 536 BLAKE2B c55bd4279fd11b586cad239c42cecf73289935ba7a31a4c3f03f5e61d0f97577d468aabeb9fcde0880f83643a07523d88e2ecadfed78e2fec0db5b7d94d80182 SHA512 a33653d469b7a08412af3d58e17c13f6f513d09cf518f3169db91e398a0849cff89921c643b4716eceeeb047ff704ed67fd63073992c558a8fcdb3471e43cc4a
|
||||
EBUILD eselect-mpg123-0.1-r1.ebuild 543 BLAKE2B 2782240ca4d781e2e56250ae5b03b37578dc3399db10ed88ec82e2850764f1d912df0a4667e906b1803c85d293402e3ce5e0eeb70d76b921abf2c144d8273092 SHA512 5b3a373e7a27826ce7fa2370f6b19c53d3058da8fb08a5607b2e056ad6f1efd0fa39991e5b69ff245b557ef89e6cc9c3d7e3a44b72e4774903c3ed583e85f606
|
||||
MISC metadata.xml 277 BLAKE2B 35a106d1d8e47c9f07c219869060cb03d99ffeff39280e946d5e20588db856f81f0d85b88fdc1579f3ffccefff0d8a78b1c5844822a4e89ec35f55e912f6f9d0 SHA512 ad7844b9de76df83b163da2bfda97755433e905fef9609753b7a7e809503cbfee67d115309f66cffbba94ee3175ecfa88e3403ac1103d6bcaa96484c6aca7d0a
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST blogc-0.20.0.tar.xz 347924 BLAKE2B faabb51237ff4ba3b431b84394cb8ca6f977770f9ed8c1ffbcc841773dc707b9a51694d7a5f3dbe5c573bdd7a16971004551b8ae2c0347273d8c246ae329bd82 SHA512 3738eb23341deb755dbfb0d2e98a73fe53f0e38b929606ebb0a3210d0564a626375d5c20ebff220e63be1f61299492da9061db5366d9d53a28f7ff18cff678a5
|
||||
EBUILD blogc-0.20.0.ebuild 1074 BLAKE2B e977b86c53d27f2d92a76c79cca188396f36edb55fc979fa32160e71a9397295e33605defe728b2675e38deab596f62dd878c6231246a26fdee2ff7f58762cf1 SHA512 d27b37ea1aec615fe9aafbdc26537e1ae33e7ae9ee6575c48ac1576f89c33782951e049bc345b173cd50f9fa24306ec3cf2ceefa83eba334d7340af537480931
|
||||
EBUILD blogc-9999.ebuild 1074 BLAKE2B e977b86c53d27f2d92a76c79cca188396f36edb55fc979fa32160e71a9397295e33605defe728b2675e38deab596f62dd878c6231246a26fdee2ff7f58762cf1 SHA512 d27b37ea1aec615fe9aafbdc26537e1ae33e7ae9ee6575c48ac1576f89c33782951e049bc345b173cd50f9fa24306ec3cf2ceefa83eba334d7340af537480931
|
||||
DIST blogc-0.20.1.tar.xz 346280 BLAKE2B b2cf2c0ac0eaa857d91c75f7bcdf9e6b6ce0132e5a999719f9da3d32c7c336b8557f0e76b13ca02e6a20d67aef5cccedf01b3abe7b77dce6be612501d208eb8e SHA512 0e64e3da70ce52cec148210c140000b34cdafb848ae1fbd6160979de47738257a08af236e53e908f256d610ae6680bb554376c049246c32867b64985a637746c
|
||||
EBUILD blogc-0.20.1.ebuild 1089 BLAKE2B d1a12e1b7c38d34f68a97aa1726e54d31355ebc542cbf91569f682d9aae3c6bbca28cda392d8ee2f3428c62d4891ab20d0a56eaddad49565c5db86f08cd4e3f8 SHA512 c38ff5d064b78091378e2ecdcaef710c15365ad138c04f093f9357bfab51b4fc5e46da4bae79563c28ebd0df1503caea8ed07477b3c92faaf52bd5186afd13cb
|
||||
EBUILD blogc-9999.ebuild 1089 BLAKE2B d1a12e1b7c38d34f68a97aa1726e54d31355ebc542cbf91569f682d9aae3c6bbca28cda392d8ee2f3428c62d4891ab20d0a56eaddad49565c5db86f08cd4e3f8 SHA512 c38ff5d064b78091378e2ecdcaef710c15365ad138c04f093f9357bfab51b4fc5e46da4bae79563c28ebd0df1503caea8ed07477b3c92faaf52bd5186afd13cb
|
||||
MISC metadata.xml 545 BLAKE2B bf387301e509f40e7c88c80a5037a7d565b36877ad8c477fc7282d51a80ad47e67406fd924c5d0de92c9b6748f4ee93e8e1a83b93c3e9fe68b868337c415e370 SHA512 9b3f2c1ce7eeedef493399cc554eccc51cbe18a81cd87a359fceeecd15c89825a91c09f79ac63d7692fce7c4a319d6c6e5b39f5ecfca2cb2332f756a9fe2ca38
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,32 +0,0 @@
|
||||
AUX qt-0_pre20200904-r1-disable_modules.patch 2394 BLAKE2B e0416492952a4ea211f86612fe6e20da30b0a1cfeb7fa7c1a280abbf15d280eeb6f8a6bdf5e14a91408c94abfcac0aee9ecf168e071be8e0ff6b1650a8f7117b SHA512 a5039170e6a4fe962477f338445a6385bcbc8aa192d3f76401f9f3ea8b143d5b397ac58da9247247f0921285c9a7029579803285fcfb6b306663b7a97b9ac9e8
|
||||
AUX qt-0_pre20200904-r1-go.mod 871 BLAKE2B a617826e6a90e8d9ae7e3d1fe134f63fc2e0db8be1bb2b156c3e1022b22008700655e0fb1a8792ae88955b3081339751739f18477c74f1fa1aab69cfaccaf5d4 SHA512 e11275b2323b2e6d3b753cea4037e59fdcdd060be80c90ed5cffbec0bf85f49deb45b72f79cddae96da3bbc1c320bdf56e5fba3cf93fa5fc67359570ccfc2c56
|
||||
AUX qt-0_pre20200904-r1-go.sum 2496 BLAKE2B 31fb8c8729d557a11eb2606554dd62df1a08a41543aabfc25c896e8ad4132c0b5f4727a99f105bad0d9991a6c1f11a1dee2defb4110aab4cba1726ef4c6afc16 SHA512 8facd9066f928adc3d143928b0c23c4c3c63dc2cd40a2eb9f776f262d9c257a8a4e6f9fb9a1e075b7eecee85787722e7ab04fffec4294ed840debb2934d29440
|
||||
AUX qt-0_pre20200904-r1-unbundle_qt.patch 255 BLAKE2B b0dd249bbb45367f17ba18d5d62d57e1367bef55f9121f10e9a3d3fb7f44b62283b44f403342057437974d7b2b756b20c004ce4340279d948ab9f9f74c79abee SHA512 9e3035018f0f99e478286cc029a8b48696c7ba64edf36fba1f2a1676a740f135f0c3882e535eeb2622a556a3cb534fa8dd0a8cfe5bb96082a565d52112952b50
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
|
||||
DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.1.zip 60320 BLAKE2B 86bdbc333e5c23ccf4f805945ca9f2aecc5c242d2ae824d20127eceaa2bf7bbab239ff2799572a2c8fa206166a36e97d5eccc8fc5021743d8ad32f39cd53b9eb SHA512 7b4e4df2fea731e23e05437f26f24e32b2e99028d685b72e3a726c1cb616ada4a77ca4fb9db4a6fae48178cc5172e724b74499bc776d63a9110cb97377d5edeb
|
||||
DIST github.com%2Fgolang%2Fcrypto%2F@v%2Fv0.0.0-20190418165655-df01cb2cc480.mod 88 BLAKE2B 22568b660b7e13eed0dd423bfb6b033adf659a2c2b59c6ab12d707aca9f6f7317b7b438640caf6233dea4d9840aec4eb997eff5fcccbcdb193ba81db52d814d7 SHA512 fcfc8d63d333065f1193e9c27efe32a1fab270e450fbe1db533156e00427a13c75691163cd1bc7e9aa26b84d4142625c9fbd755535c575f83d63d82d7a276066
|
||||
DIST github.com%2Fgolang%2Fcrypto%2F@v%2Fv0.0.0-20190418165655-df01cb2cc480.zip 1808119 BLAKE2B 0f68b4f4b15789f595f90d3661f3381487bd442307861ee19df64c033ae153cb41f27a8a1892c6095b9bc5927b84f132e9db994dbcaac9e40e7f5182c9a2fdc5 SHA512 f68cfc6a4a899c78117c5549401b653bd0fa0165d1d613d445e4abb664714f77dca561841a4633783af767632dc7b342dc19918628ea28d56b1f9360fb7f016e
|
||||
DIST github.com%2Fgolang%2Fnet%2F@v%2Fv0.0.0-20190420063019-afa5a82059c6.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
|
||||
DIST github.com%2Fgolang%2Fsys%2F@v%2Fv0.0.0-20190419153524-e8e3143a4f4a.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
|
||||
DIST github.com%2Fgolang%2Fsys%2F@v%2Fv0.0.0-20190419153524-e8e3143a4f4a.zip 1702173 BLAKE2B da455bfb6c4107f30d3874486e9fd6708b025f56661fae82b6fe08d6a254b6aed0939ad70e65ad4acda33633ce2ae6340b8c3e566ecb3b2cf6ec7df6cc1780fb SHA512 628680a42ad6f98b18be5b847573065bfa36975a1a53ee91fedf86b35a18c5e4ff6567f9570e73cf94972c4d0d2c4a76cd163ca2ab91e0c0113771705b1e6fc6
|
||||
DIST github.com%2Fgolang%2Ftext%2F@v%2Fv0.3.1-0.20190410012825-f4905fbd45b6.mod 88 BLAKE2B f3dd520e0e4e9b57feab62ecabb9169f37f1ce49b2846b949f9266f807767d38f55e4aa8ea006229c6f81cfc1e2c9dc0d1e3c186235e416dfb90fe7e04751d07 SHA512 d9361afb453b10c9d02787568ec33ea4c97a115899c6b3d1a1246547a749244e9218475ae5ae9f741d9b355260d2d3c33852673e805fcdd5f26f3ca40f035884
|
||||
DIST github.com%2Fgolang%2Ftools%2F@v%2Fv0.0.0-20190420181800-aa740d480789.mod 87 BLAKE2B 32cb406deea05323b1121386bf61f344f8eda0b5370e95bb73828ce0bea50bee375ae3e9b076b9d683a4d89561709c5e97e45e6b08344fbdf6b03b3ce4398dcd SHA512 18ae9b2f54109b4ec5cdea433ee0e3b7006e4d5ea57022d6e8151d4d364735a6b55cf7b5eb2f43b602ec786b2b6819ad78dfc33151ee1a63a0b1199f54ce34a1
|
||||
DIST github.com%2Fgolang%2Ftools%2F@v%2Fv0.0.0-20190420181800-aa740d480789.zip 2611426 BLAKE2B 7c8f8e4fb3637abbac095ca36371853c1a0b060c80d98cc3a51f0e1afc481cd191cb5e5f0a66795d1137c5dfbabc15bda2ee5f3610ced913b73e69ad32273c2f SHA512 da06a8e4dd3cef7eb2f83ce8733ca40b1606267017a5b872bd270e4b15f196293b8cdb81e550a6c6410807e8d2d779a9560f0e3658ae4a798b59edf1c609d35a
|
||||
DIST github.com%2Fgopherjs%2Fgopherjs%2F@v%2Fv0.0.0-20190411002643-bd77b112433e.mod 36 BLAKE2B d7cd8f31950392cb5de7f4223ff9fe3257568dd0a1c1b81c8b97934ba92379753dc936c81c39e5b553e4101bc7c035ce81c8d669d85ed1d1eee41a74218f3d88 SHA512 35151946ce44fde9d3bde1d0626749ac4bc68cc448736c3b0f056f40a9ae30aef591db614b271df3eba3a96dbc94052ea5bf7ff68749ec980088d60361934771
|
||||
DIST github.com%2Fgopherjs%2Fgopherjs%2F@v%2Fv0.0.0-20190411002643-bd77b112433e.zip 264366 BLAKE2B f868365dd345e7dc0c91157c86a5f0cf10a19550d6cab43de9b2540f8013ab46bece7cb64f1dc3b2645d803645b39a69cc652e5b8bb1e348ee345081e74d7054 SHA512 ce518f987925d02f550352b564cf956874724728a47f9b8514783ce27c023b563a9adede19f59fb25748c9bb282c2862e978d2d8fe858af83faabca009684fdf
|
||||
DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.1.mod 58 BLAKE2B 4cf48282c28d2b8237fe9ff852ad25d102cce038fbd1852a1938bcf69c895df05dfdef6e533b3c0b4da28103eb5e3a9561f802414ccdd99b2d3ec2e2db0807ee SHA512 fe33ca4de6588b95f0155458b8b6daab218553b58de5dac220efe54019dfab085838cc6a22012a106fa36a6094447f744825cad04aaf0b158fce5aa676048fe5
|
||||
DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.2.mod 58 BLAKE2B 4cf48282c28d2b8237fe9ff852ad25d102cce038fbd1852a1938bcf69c895df05dfdef6e533b3c0b4da28103eb5e3a9561f802414ccdd99b2d3ec2e2db0807ee SHA512 fe33ca4de6588b95f0155458b8b6daab218553b58de5dac220efe54019dfab085838cc6a22012a106fa36a6094447f744825cad04aaf0b158fce5aa676048fe5
|
||||
DIST github.com%2Fkonsorten%2Fgo-windows-terminal-sequences%2F@v%2Fv1.0.2.zip 3968 BLAKE2B 223cfe3604cb674a11d4558b8f5a35e2eb41cf11d536e2e2cbdccd6a3c6bed8abf66f450774b39e7247493ea8a382906617c5f297fda02a272b18eef8dcbcf47 SHA512 16c4bf83b78541d2d684113926813ce4cc91f3f13f34dc2cf8d643661dc9f21a988b8382d2c058e138fc87c1ca197e8f694b07595959e917c82bd6ca9101a5ec
|
||||
DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902
|
||||
DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2
|
||||
DIST github.com%2Fsirupsen%2Flogrus%2F@v%2Fv1.4.1.mod 337 BLAKE2B 41471db637c5c0363cd36be6d16a6228671ce9658ef71103ad2122a2cd8cfc13c30b87bf2b34df7ba9d6c1fff1ac821462fbb86b622c274cf26a1e3ecb7fd2e9 SHA512 29a4efc27c658b047fbfc6eb2ae311753b01fe878cc733e2fdfd83f5791b3e30ab50b08addd300dff37e7880f6b57662ac0cb0f4b98df2c5a5a9f7d555bc98a5
|
||||
DIST github.com%2Fsirupsen%2Flogrus%2F@v%2Fv1.4.1.zip 57938 BLAKE2B 18024e76142472974733a56e8b651e7844b91d5eae2c34300665ee1c1280573aa510af7dc7fcc5172c9911be798e7ccfde8990c3c57c927f7aeb6a9ef49bce0c SHA512 5d47ac47438118c7beb8cad929b95b5b7723b550fe08472cd389881a595761f7589ee3a01aec06edd96d76d087647558b537fe4d0033273307e67aa02670b9f9
|
||||
DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
|
||||
DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.1.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.2.2.mod 35 BLAKE2B 0357260904c9ba41892132c7e07d2add9b10ce4a09e8db4966219d1f515f917581e2afa0987094c90759634bc2aeb66e758074e023ff331a8337f5090c0102f6 SHA512 5b7ce867497852e4918b8cde5f75ecf2f24b9c95ad112478ac132322e904243f1cea3d16f5731646efb669256dbefc129ac70a499c8b1d25403a14c7e4fad10b
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.mod 154 BLAKE2B 60cd7801e7cd33746305cd636b048b25a86270ec3b29a21c3c078c7e95b769bce7e80c2c7c5474113786bd788c7f88f3719e34f02141038e0d161b36e32f39b9 SHA512 bb808fad059f5abd0171e4bdc724411eff2c7e8d303a4ffb3608a00e21bb3cfafe9e83b4b4e9bccd42c9a4331f67ddc6043e3dd5eaa9a122c86626eed43a8383
|
||||
DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.3.0.zip 83537 BLAKE2B 6d6de57cc5e393aaef1cdc7e2140143eb7fa324bb2ea3b9f63bfe1e8652c02d24eb441fc3b435c6b287f165c5540a008a7c21ab4070d8bc77c77e6fb608f7e46 SHA512 c5cd06f825bbfdcf2ae58ea21edbeea03c110de3fc20fcf69db07aae26c9ae67a8ac57a9ffedec9b3b4f1f3b016089935049d75d92a9a03e45ce6345b4c9c611
|
||||
DIST qt-0_pre20200904.tar.gz 125636107 BLAKE2B 1b9878e5f48a46b0d53610741c58356197c00897f1ea815376638008b6931a8f5a608b52cc45df40c4274e78edc8ebafba568a65740c4851c980935ef3986d77 SHA512 0e5ffa3662e92331dc0438bda09127eed186180570046c919ff5a33ed9ad3124a51279bbbe08fafe685f3fd5b0c61dc94ae217e2699a8ebcb24f4cd796c85b1a
|
||||
EBUILD qt-0_pre20200904-r1.ebuild 4286 BLAKE2B a40f476d0d89346e9e87608a572b23d5212824ec11b5d96b524de666b910a65932fa0395f4afbb9a9988f3d0225c79fba5cd5dd3eb544e9e1779c3ff3b97ec9e SHA512 1e44abe6e68007800a9e34e423a6e19dde8c82eb90b1602d6b3e47bb2af7315dea578f43feb0e35cf72f6ecbab063c767af3770cb67f830c46ea97a8bc3d6845
|
||||
MISC metadata.xml 245 BLAKE2B 1564b4d8e674e807191dcc857c12585eaf336e3418e110853e311b2851b382ca8931b46a96230677251bf3784004879d8498cae2dae11c9289f4a8606dfa5d7f SHA512 bd2ae86e550344a79551fe0383e4625d28ca6fad675d84c66fc5b22ed7fe3afbfc2b4d6a7b1a5d02f6efbc56950b8295270a3dba8a1e7e51fde80a370d0c868a
|
@ -1,75 +0,0 @@
|
||||
We cannot generate bindings for Nfc or RemoteObjects because they
|
||||
haven't been packaged for Gentoo yet. On the other hand, the modules:
|
||||
Script, ScriptTools and XmlPatterns have long since been deprecated.
|
||||
|
||||
--- a/internal/binding/parser/helper.go
|
||||
+++ b/internal/binding/parser/helper.go
|
||||
@@ -191,10 +191,8 @@
|
||||
"AndroidExtras": {"Core"},
|
||||
"Gui": {"Widgets", "Core"}, //Widgets
|
||||
"Network": {"Core"},
|
||||
- "Xml": {"XmlPatterns", "Core"}, //XmlPatterns
|
||||
+ "Xml": {"Core"}, //XmlPatterns
|
||||
"DBus": {"Core"},
|
||||
- "Nfc": {"Core"},
|
||||
- "Script": {"Core"},
|
||||
"Sensors": {"Core"},
|
||||
"Positioning": {"Core"},
|
||||
"Widgets": {"Gui", "Core"},
|
||||
@@ -202,7 +200,6 @@
|
||||
"MacExtras": {"Gui", "Core"},
|
||||
"Qml": {"Network", "Core"},
|
||||
"WebSockets": {"Network", "Core"},
|
||||
- "XmlPatterns": {"Network", "Core"},
|
||||
"Bluetooth": {"Core"},
|
||||
"WebChannel": {"Network", "Qml", "Core"}, //Network (needed for static linking ios)
|
||||
"Svg": {"Widgets", "Gui", "Core"},
|
||||
@@ -210,7 +207,6 @@
|
||||
"Quick": {"QuickWidgets", "Widgets", "Network", "Qml", "Gui", "Core"}, //QuickWidgets, Widgets, Network (needed for static linking ios)
|
||||
"Help": {"Sql", "Network", "Widgets", "Gui", "Core"}, //Sql + CLucene + Network (needed for static linking ios)
|
||||
"Location": {"Positioning", "Quick", "Gui", "Core"},
|
||||
- "ScriptTools": {"Script", "Widgets", "Core"}, //Script, Widgets
|
||||
"UiTools": {"Widgets", "Gui", "Core"},
|
||||
"X11Extras": {"Gui", "Core"},
|
||||
"WinExtras": {"Widgets", "Gui", "Core"},
|
||||
@@ -237,7 +233,6 @@
|
||||
"WebView": {"Core"},
|
||||
|
||||
"NetworkAuth": {"Network", "Gui", "Core"},
|
||||
- "RemoteObjects": {"Network", "Core"},
|
||||
|
||||
"WebKit": {"WebKitWidgets", "Multimedia", "Positioning", "Widgets", "Sql", "Network", "Gui", "Sensors", "Core"},
|
||||
|
||||
@@ -389,8 +384,6 @@
|
||||
"Network",
|
||||
"Xml",
|
||||
"DBus",
|
||||
- "Nfc",
|
||||
- "Script", //depreached (planned) in 5.6
|
||||
"Sensors",
|
||||
"Positioning",
|
||||
"Widgets",
|
||||
@@ -398,7 +391,6 @@
|
||||
"MacExtras",
|
||||
"Qml",
|
||||
"WebSockets",
|
||||
- "XmlPatterns",
|
||||
"Bluetooth",
|
||||
"WebChannel",
|
||||
"Svg",
|
||||
@@ -406,7 +398,6 @@
|
||||
"Quick",
|
||||
"Help",
|
||||
"Location",
|
||||
- "ScriptTools", //depreached (planned) in 5.6
|
||||
"UiTools",
|
||||
//"X11Extras", //TODO:
|
||||
"WinExtras",
|
||||
@@ -433,7 +424,6 @@
|
||||
"WebView",
|
||||
|
||||
//"NetworkAuth", //TODO:
|
||||
- "RemoteObjects",
|
||||
|
||||
"WebKit",
|
||||
|
@ -1,21 +0,0 @@
|
||||
module github.com/therecipe/qt
|
||||
|
||||
require (
|
||||
github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
|
||||
github.com/sirupsen/logrus v1.4.1
|
||||
github.com/stretchr/testify v1.3.0
|
||||
golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480
|
||||
golang.org/x/sys v0.0.0-20190419153524-e8e3143a4f4a // indirect
|
||||
golang.org/x/tools v0.0.0-20190420181800-aa740d480789
|
||||
)
|
||||
|
||||
replace golang.org/x/crypto => github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480
|
||||
|
||||
replace golang.org/x/net => github.com/golang/net v0.0.0-20190420063019-afa5a82059c6
|
||||
|
||||
replace golang.org/x/sys => github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a
|
||||
|
||||
replace golang.org/x/tools => github.com/golang/tools v0.0.0-20190420181800-aa740d480789
|
||||
|
||||
replace golang.org/x/text => github.com/golang/text v0.3.1-0.20190410012825-f4905fbd45b6
|
@ -1,25 +0,0 @@
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480 h1:nT2Q69o++qi4aL/3w3NWpemH6bNINqfJWym3+HKtE9w=
|
||||
github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE=
|
||||
github.com/golang/net v0.0.0-20190420063019-afa5a82059c6/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a h1:5bYuhgnDII4NSAAw1wRU+pCovYhB/AqYVmsK2JDnK2k=
|
||||
github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
github.com/golang/text v0.3.1-0.20190410012825-f4905fbd45b6/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
||||
github.com/golang/tools v0.0.0-20190420181800-aa740d480789 h1:Hy7qvbkxWJIZIprJ2rgaRVarxDIv9yfIDGXLocU3irs=
|
||||
github.com/golang/tools v0.0.0-20190420181800-aa740d480789/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
|
||||
github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e h1:XWcjeEtTFTOVA9Fs1w7n2XBftk5ib4oZrhzWk0B+3eA=
|
||||
github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k=
|
||||
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
|
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
@ -1,9 +0,0 @@
|
||||
--- a/internal/binding/files/docs/mod.go
|
||||
+++ b/internal/binding/files/docs/mod.go
|
||||
@@ -1,6 +1 @@
|
||||
package docs
|
||||
-
|
||||
-import (
|
||||
- _ "github.com/therecipe/qt/internal/binding/files/docs/5.12.0"
|
||||
- _ "github.com/therecipe/qt/internal/binding/files/docs/5.13.0"
|
||||
-)
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marecki@gentoo.org</email>
|
||||
<name>Marek Szuba</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,137 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module xdg-utils
|
||||
|
||||
# Warning: the current upstream go.sum is borked, this is what one gets having
|
||||
# run 'go mod tidy' and subsequently removed the packages related to bundled Qt libs.
|
||||
EGO_SUM=(
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480"
|
||||
"github.com/golang/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod"
|
||||
"github.com/golang/net v0.0.0-20190420063019-afa5a82059c6/go.mod"
|
||||
"github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a"
|
||||
"github.com/golang/sys v0.0.0-20190419153524-e8e3143a4f4a/go.mod"
|
||||
"github.com/golang/text v0.3.1-0.20190410012825-f4905fbd45b6/go.mod"
|
||||
"github.com/golang/tools v0.0.0-20190420181800-aa740d480789"
|
||||
"github.com/golang/tools v0.0.0-20190420181800-aa740d480789/go.mod"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20190411002643-bd77b112433e/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.2"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.4.1"
|
||||
"github.com/sirupsen/logrus v1.4.1/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
)
|
||||
|
||||
go-module_set_globals
|
||||
|
||||
EGIT_COMMIT="c0c124a5770d357908f16fa57e0aa0ec6ccd3f91"
|
||||
|
||||
DESCRIPTION="Qt5 Go bindings"
|
||||
HOMEPAGE="https://github.com/therecipe/qt/"
|
||||
SRC_URI="https://github.com/therecipe/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# As of 2021-01-20 the test 'widgets/textedit' calls methods which do not exist, at least in qt-5.15.
|
||||
# TODO: figure out how to disable this test.
|
||||
RESTRICT="test"
|
||||
|
||||
# We need qt-docs[html] because binding generation depends on core .index files
|
||||
# installed by this USE flag.
|
||||
RDEPEND="dev-qt/designer:5=
|
||||
dev-qt/qt-docs:5=[html]
|
||||
dev-qt/qtbluetooth:5=
|
||||
dev-qt/qtcharts:5=
|
||||
dev-qt/qtcore:5=
|
||||
dev-qt/qtdatavis3d:5=
|
||||
dev-qt/qtdbus:5=
|
||||
dev-qt/qtgamepad:5=
|
||||
dev-qt/qthelp:5=
|
||||
dev-qt/qtlocation:5=
|
||||
dev-qt/qtmultimedia:5=[widgets]
|
||||
dev-qt/qtpositioning:5=
|
||||
dev-qt/qtquickcontrols2:5=
|
||||
dev-qt/qtscxml:5=
|
||||
dev-qt/qtsensors:5=
|
||||
dev-qt/qtserialbus:5=
|
||||
dev-qt/qtserialport:5=
|
||||
dev-qt/qtspeech:5=
|
||||
dev-qt/qtsql:5=
|
||||
dev-qt/qtsvg:5=
|
||||
dev-qt/qtvirtualkeyboard:5=
|
||||
dev-qt/qtwebchannel:5=
|
||||
dev-qt/qtwebengine:5=
|
||||
dev-qt/qtwebsockets:5=
|
||||
dev-qt/qtwebview:5=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0_pre20200904-r1-disable_modules.patch
|
||||
"${FILESDIR}"/${PN}-0_pre20200904-r1-unbundle_qt.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
|
||||
|
||||
src_prepare() {
|
||||
xdg_environment_reset
|
||||
|
||||
cp "${FILESDIR}"/${PN}-0_pre20200904-r1-go.mod go.mod || die
|
||||
cp "${FILESDIR}"/${PN}-0_pre20200904-r1-go.sum go.sum || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export QT_PKG_CONFIG=true
|
||||
export QT_DOC_DIR="${EPREFIX}/usr/share/qt5-doc"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Not a typo, all that gets installed here is the bootstrap for generating
|
||||
# and building actual bindings
|
||||
go install -v -work -x -tags=no_env ./cmd/... || die
|
||||
|
||||
# qtsetup uses GOFLAGS as 'go list' arguments
|
||||
GOFLAGS='' "$(go env GOPATH)"/bin/qtsetup -failfast -test=false || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOOFLAGS='' "$(go env GOPATH)"/bin/qtsetup -failfast test || die
|
||||
}
|
||||
|
||||
#src_install() {
|
||||
# local EGO_PN="github.com/therecipe/qt"
|
||||
#
|
||||
# rm -rf vendor
|
||||
# rm -rf .git*
|
||||
# find internal/examples -type d -name deploy -exec rm -rf {} \;
|
||||
# find . -name '*.c' -exec rm -f {} \;
|
||||
# find . -name '*.h' -exec rm -f {} \;
|
||||
#
|
||||
# insinto $(dirname "$(get_golibdir)/src/${EGO_PN%/*}")
|
||||
# doins -r src/${EGO_PN%/*}
|
||||
#
|
||||
# insinto $(dirname "$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")
|
||||
# doins -r pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}
|
||||
#
|
||||
# # Not sure if we still need qtsetup - but just in case, install all binaries
|
||||
# exeinto "$(get_golibdir)"/bin
|
||||
# doexe bin/*
|
||||
#}
|
Binary file not shown.
@ -0,0 +1,818 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit alternatives flag-o-matic toolchain-funcs multilib multiprocessing
|
||||
|
||||
PATCH_VER=1
|
||||
CROSS_VER=1.3.6
|
||||
PATCH_BASE="perl-5.34.0-patches-${PATCH_VER}"
|
||||
PATCH_DEV=dilfridge
|
||||
|
||||
DIST_AUTHOR=XSAWYERX
|
||||
|
||||
# Greatest first, don't include yourself
|
||||
# Devel point-releases are not ABI-intercompatible, but stable point releases are
|
||||
# BIN_OLDVERSEN is contains only C-ABI-intercompatible versions
|
||||
PERL_BIN_OLDVERSEN=""
|
||||
|
||||
# Yes we can.
|
||||
PERL_SINGLE_SLOT=y
|
||||
|
||||
if [[ "${PV##*.}" == "9999" ]]; then
|
||||
DIST_VERSION=5.30.0
|
||||
else
|
||||
DIST_VERSION="${PV/_rc/-RC}"
|
||||
fi
|
||||
SHORT_PV="${DIST_VERSION%.*}"
|
||||
# Even numbered major versions are ABI intercompatible
|
||||
# Odd numbered major versions are not
|
||||
if [[ $(( ${SHORT_PV#*.} % 2 )) == 1 ]]; then
|
||||
SUBSLOT="${DIST_VERSION%-RC*}"
|
||||
else
|
||||
SUBSLOT="${DIST_VERSION%.*}"
|
||||
fi
|
||||
# Used only in tar paths
|
||||
MY_P="perl-${DIST_VERSION}"
|
||||
# Used in library paths
|
||||
MY_PV="${DIST_VERSION%-RC*}"
|
||||
|
||||
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
|
||||
|
||||
SRC_URI="
|
||||
mirror://cpan/src/5.0/${MY_P}.tar.xz
|
||||
mirror://cpan/authors/id/${DIST_AUTHOR:0:1}/${DIST_AUTHOR:0:2}/${DIST_AUTHOR}/${MY_P}.tar.xz
|
||||
https://github.com/gentoo-perl/perl-patchset/releases/download/${PATCH_BASE}/${PATCH_BASE}.tar.xz
|
||||
https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${PATCH_BASE}.tar.xz
|
||||
https://github.com/arsv/perl-cross/releases/download/${CROSS_VER}/perl-cross-${CROSS_VER}.tar.gz
|
||||
"
|
||||
HOMEPAGE="https://www.perl.org/"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0/${SUBSLOT}"
|
||||
|
||||
if [[ "${PV##*.}" != "9999" ]] && [[ "${PV/rc//}" == "${PV}" ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
IUSE="berkdb debug doc gdbm ithreads minimal"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3:= )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
PDEPEND="
|
||||
!minimal? (
|
||||
>=app-admin/perl-cleaner-2.5
|
||||
>=virtual/perl-Encode-3.120.0
|
||||
>=virtual/perl-File-Temp-0.230.400-r2
|
||||
>=virtual/perl-Data-Dumper-2.154.0
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
# bug 390719, bug 523624
|
||||
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
dual_scripts() {
|
||||
src_remove_dual perl-core/Archive-Tar 2.380.0 ptar ptardiff ptargrep
|
||||
src_remove_dual perl-core/CPAN 2.280.0 cpan
|
||||
src_remove_dual perl-core/Digest-SHA 6.20.0 shasum
|
||||
src_remove_dual perl-core/Encode 3.80.0 enc2xs piconv
|
||||
src_remove_dual perl-core/ExtUtils-MakeMaker 7.620.0 instmodsh
|
||||
src_remove_dual perl-core/ExtUtils-ParseXS 3.430.0 xsubpp
|
||||
src_remove_dual perl-core/IO-Compress 2.102.0 zipdetails
|
||||
src_remove_dual perl-core/JSON-PP 4.60.0 json_pp
|
||||
src_remove_dual perl-core/Module-CoreList 5.202.105.200 corelist
|
||||
src_remove_dual perl-core/Pod-Checker 1.740.0 podchecker
|
||||
src_remove_dual perl-core/Pod-Perldoc 3.280.100 perldoc
|
||||
src_remove_dual perl-core/Pod-Usage 2.10.0 pod2usage
|
||||
src_remove_dual perl-core/Test-Harness 3.430.0 prove
|
||||
src_remove_dual perl-core/podlators 4.140.0 pod2man pod2text
|
||||
src_remove_dual_man perl-core/podlators 4.140.0 /usr/share/man/man1/perlpodstyle.1
|
||||
}
|
||||
|
||||
check_rebuild() {
|
||||
# Fresh install
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
return 0;
|
||||
# Major Upgrade
|
||||
# doesn't matter if there's multiple copies, it still needs a rebuild
|
||||
# if the string is anything other than "5.CURRENTMAJOR"
|
||||
elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then
|
||||
echo ""
|
||||
ewarn "UPDATE THE PERL MODULES:"
|
||||
ewarn "After updating dev-lang/perl the installed Perl modules"
|
||||
ewarn "have to be re-installed. In most cases, this is done automatically"
|
||||
ewarn "by the package manager, but subsequent steps are still recommended"
|
||||
ewarn "to ensure system consistency."
|
||||
ewarn
|
||||
ewarn "You should start with a depclean to remove any unused perl dependencies"
|
||||
ewarn "that may confuse portage in future. Regular depcleans are also encouraged"
|
||||
ewarn "as part of your regular update cycle, as that will keep perl upgrades working."
|
||||
ewarn "Recommended: emerge --depclean -va"
|
||||
ewarn
|
||||
ewarn "You should then call perl-cleaner to clean up any old files and trigger any"
|
||||
ewarn "remaining rebuilds portage may have missed."
|
||||
ewarn "Use: perl-cleaner --all"
|
||||
return 0;
|
||||
|
||||
# Reinstall w/ USE Change
|
||||
elif ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
|
||||
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
|
||||
( use debug && ! has_version dev-lang/perl[debug] ) || \
|
||||
( ! use debug && has_version dev-lang/perl[debug] ) ; then
|
||||
echo ""
|
||||
ewarn "TOGGLED USE-FLAGS WARNING:"
|
||||
ewarn "You changed one of the use-flags ithreads or debug."
|
||||
ewarn "You must rebuild all perl-modules installed."
|
||||
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
case ${CHOST} in
|
||||
*-freebsd*) osname="freebsd" ;;
|
||||
*-dragonfly*) osname="dragonfly" ;;
|
||||
*-netbsd*) osname="netbsd" ;;
|
||||
*-openbsd*) osname="openbsd" ;;
|
||||
*-darwin*) osname="darwin" ;;
|
||||
*-solaris*) osname="solaris" ;;
|
||||
*-cygwin*) osname="cygwin" ;;
|
||||
*) osname="linux" ;;
|
||||
esac
|
||||
|
||||
myarch="${CHOST%%-*}-${osname}"
|
||||
if use debug ; then
|
||||
myarch+="-debug"
|
||||
fi
|
||||
if use ithreads ; then
|
||||
mythreading="-multi"
|
||||
myarch+="-thread"
|
||||
fi
|
||||
|
||||
PRIV_BASE="/usr/$(get_libdir)/perl5"
|
||||
SITE_BASE="/usr/local/$(get_libdir)/perl5"
|
||||
VENDOR_BASE="/usr/$(get_libdir)/perl5/vendor_perl"
|
||||
|
||||
LIBPERL="libperl$(get_libname ${MY_PV} )"
|
||||
|
||||
# This ENV var tells perl to build with a directory like "5.30"
|
||||
# regardless of its patch version. This is for experts only
|
||||
# at this point.
|
||||
if [[ -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
PRIV_LIB="${PRIV_BASE}/${MY_PV}"
|
||||
ARCH_LIB="${PRIV_BASE}/${MY_PV}/${myarch}${mythreading}"
|
||||
SITE_LIB="${SITE_BASE}/${MY_PV}"
|
||||
SITE_ARCH="${SITE_BASE}/${MY_PV}/${myarch}${mythreading}"
|
||||
VENDOR_LIB="${VENDOR_BASE}/${MY_PV}"
|
||||
VENDOR_ARCH="${VENDOR_BASE}/${MY_PV}/${myarch}${mythreading}"
|
||||
else
|
||||
PRIV_LIB="${PRIV_BASE}/${SUBSLOT}"
|
||||
ARCH_LIB="${PRIV_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||
SITE_LIB="${SITE_BASE}/${SUBSLOT}"
|
||||
SITE_ARCH="${SITE_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||
VENDOR_LIB="${VENDOR_BASE}/${SUBSLOT}"
|
||||
VENDOR_ARCH="${VENDOR_BASE}/${SUBSLOT}/${myarch}${mythreading}"
|
||||
fi
|
||||
|
||||
dual_scripts
|
||||
}
|
||||
|
||||
src_remove_dual_file() {
|
||||
local i pkg ver
|
||||
pkg="$1"
|
||||
ver="$2"
|
||||
shift 2
|
||||
case "${EBUILD_PHASE:-none}" in
|
||||
postinst|postrm)
|
||||
for i in "$@" ; do
|
||||
alternatives_auto_makesym "${i}" "${i}-[0-9]*"
|
||||
done
|
||||
;;
|
||||
setup)
|
||||
for i in "$@" ; do
|
||||
if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
|
||||
has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
install)
|
||||
for i in "$@" ; do
|
||||
if ! [[ -f "${ED}"${i} ]] ; then
|
||||
ewarn "${i} does not exist!"
|
||||
continue
|
||||
fi
|
||||
mv "${ED}"${i}{,-${ver}-${P}} || die
|
||||
done
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_remove_dual_man() {
|
||||
local i pkg ver ff
|
||||
pkg="$1"
|
||||
ver="$2"
|
||||
shift 2
|
||||
case "${EBUILD_PHASE:-none}" in
|
||||
postinst|postrm)
|
||||
for i in "$@" ; do
|
||||
ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
|
||||
ff=${ff##*${i#${i%.[0-9]}}}
|
||||
alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
|
||||
done
|
||||
;;
|
||||
install)
|
||||
for i in "$@" ; do
|
||||
if ! [[ -f "${ED}"${i} ]] ; then
|
||||
ewarn "${i} does not exist!"
|
||||
continue
|
||||
fi
|
||||
mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
|
||||
done
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_remove_dual() {
|
||||
local i pkg ver
|
||||
pkg="$1"
|
||||
ver="$2"
|
||||
shift 2
|
||||
for i in "$@" ; do
|
||||
src_remove_dual_file "${pkg}" "${ver}" "/usr/bin/${i}"
|
||||
src_remove_dual_man "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare_perlcross() {
|
||||
cp -a ../perl-cross-${CROSS_VER}/* . || die
|
||||
|
||||
# bug 794463, needs further analysis what is exactly wrong here
|
||||
eapply "${FILESDIR}/perl-5.34.0-crossfit.patch"
|
||||
|
||||
# bug 604072
|
||||
MAKEOPTS+=" -j1"
|
||||
export MAKEOPTS
|
||||
}
|
||||
src_prepare_dynamic() {
|
||||
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
|
||||
ln -s ${LIBPERL} libperl$(get_libname ) || die
|
||||
}
|
||||
|
||||
# Copy a patch into the patch series
|
||||
# add_patch SRC_PATH DEST_NAME ['description'] ['bug'] ['bug']
|
||||
# - description is optional, but recommended
|
||||
# - all arguments after descriptions are bug URLs
|
||||
add_patch() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
local infodir="${WORKDIR}/patch-info"
|
||||
local src_name dest_name desc
|
||||
src_name="$1"
|
||||
dest_name="$2"
|
||||
desc="$3"
|
||||
shift; shift; shift;
|
||||
einfo "Adding ${dest_name} to patch bundle"
|
||||
cp "${src_name}" "${patchdir}/${dest_name}" || die "Couldn't copy ${src_name} to ${dest_name}"
|
||||
if [[ -n "${desc}" ]]; then
|
||||
printf "%s" "${desc}" > "${infodir}/${dest_name}.desc" || die "Couldn't write ${dest_name}.desc"
|
||||
fi
|
||||
if [[ $# -gt 0 ]]; then
|
||||
# Note: when $@ is more than one element, this emits a
|
||||
# line for each element
|
||||
printf "%s\n" "$@" > "${infodir}/${dest_name}.bugs" || die "Couldn't write ${dest_name}.bugs"
|
||||
fi
|
||||
}
|
||||
# Remove a patch using a glob expr
|
||||
# eg:
|
||||
# rm_patch *-darin-Use-CC*
|
||||
#
|
||||
rm_patch() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
local expr="$1"
|
||||
local patch="$( cd "${patchdir}"; echo $expr )"
|
||||
einfo "Removing $patch ($expr) from patch bundle"
|
||||
if [[ -e "${patchdir}/${patch}" ]]; then
|
||||
rm -f "${patchdir}/${patch}" || die "Can't remove ${patch} ( $expr )"
|
||||
else
|
||||
ewarn "No ${expr} found in ${patchdir} to remove"
|
||||
fi
|
||||
}
|
||||
# Yes, this is a reasonable amount of code for something seemingly simple
|
||||
# but this is far easier to debug when things go wrong, and things went wrong
|
||||
# multiple times while I was getting the exact number of slashes right, which
|
||||
# requires circumnavigating both bash and sed escape mechanisms.
|
||||
c_escape_string() {
|
||||
local slash dquote
|
||||
slash='\'
|
||||
dquote='"'
|
||||
re_slash="${slash}${slash}"
|
||||
re_dquote="${slash}${dquote}"
|
||||
|
||||
# Convert \ to \\,
|
||||
# " to \"
|
||||
echo "$1" |\
|
||||
sed "s|${re_slash}|${re_slash}${re_slash}|g" |\
|
||||
sed "s|${re_dquote}|${re_slash}${re_dquote}|g"
|
||||
}
|
||||
c_escape_file() {
|
||||
c_escape_string "$(cat "$1")"
|
||||
}
|
||||
|
||||
apply_patchdir() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
local infodir="${WORKDIR}/patch-info"
|
||||
local patchoutput="patchlevel-gentoo.h"
|
||||
|
||||
# Inject Patch-Level info into description for patchlevel.h patch
|
||||
# to show in -V
|
||||
local patch_expr="*List-packaged-patches*"
|
||||
local patch="$( cd "${patchdir}"; echo $patch_expr )";
|
||||
einfo "Injecting patch-level info into ${patch}.desc ( $patch_expr )"
|
||||
|
||||
if [[ -e "${patchdir}/${patch}" ]]; then
|
||||
printf "List packaged patches for %s(%s) in patchlevel.h" "${PF}" "${PATCH_BASE}"\
|
||||
>"${infodir}/${patch}.desc" || die "Can't rewrite ${patch}.desc"
|
||||
else
|
||||
eerror "No $patch_expr found in ${patchdir}"
|
||||
fi
|
||||
|
||||
# Compute patch list to apply
|
||||
# different name other than PATCHES to stop default
|
||||
# reapplying it
|
||||
# Single depth is currently only supported, as artifacts can reside
|
||||
# from the old layout being multiple-directories, as well as it grossly
|
||||
# simplifying the patchlevel_gentoo.h generation.
|
||||
local PERL_PATCHES=($(
|
||||
find "${patchdir}" -maxdepth 1 -mindepth 1 -type f -printf "%f\n" |\
|
||||
grep -E '[.](diff|patch)$' |\
|
||||
sort -n
|
||||
))
|
||||
|
||||
for patch in "${PERL_PATCHES[@]}"; do
|
||||
eapply "${WORKDIR}"/patches/${patch}
|
||||
done
|
||||
|
||||
einfo "Generating $patchoutput"
|
||||
|
||||
# This code creates a header file, each iteration
|
||||
# creates one-or-more-lines for each entry found in PERL_PATCHES
|
||||
# and STDOUT is redirected to the .h file
|
||||
for patch in "${PERL_PATCHES[@]}"; do
|
||||
local desc_f="${infodir}/${patch}.desc"
|
||||
local bugs_f="${infodir}/${patch}.bugs"
|
||||
|
||||
printf ',"%s"\n' "${patch}"
|
||||
if [[ ! -e "${desc_f}" ]]; then
|
||||
ewarn "No description provided for ${patch} (expected: ${desc_f} )"
|
||||
else
|
||||
local desc="$(c_escape_file "${desc_f}")"
|
||||
printf ',"- %s"\n' "${desc}"
|
||||
fi
|
||||
if [[ -e "${bugs_f}" ]]; then
|
||||
while read -d $'\n' -r line; do
|
||||
local esc_line="$(c_escape_string "${line}")"
|
||||
printf ',"- Bug: %s"\n' "${esc_line}"
|
||||
done <"${bugs_f}"
|
||||
fi
|
||||
done > "${S}/${patchoutput}"
|
||||
printf "%s\n" "${patchoutput}" >> "${S}/MANIFEST"
|
||||
|
||||
}
|
||||
src_prepare() {
|
||||
local patchdir="${WORKDIR}/patches"
|
||||
|
||||
# Prepare Patch dir with additional patches / remove unwanted patches
|
||||
# Inject bug/desc entries for perl -V
|
||||
# Old example:
|
||||
# add_patch "${FILESDIR}/${PN}-5.26.2-hppa.patch" "100-5.26.2-hppa.patch"\
|
||||
# "Fix broken miniperl on hppa"\
|
||||
# "https://bugs.debian.org/869122" "https://bugs.gentoo.org/634162"
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# do NOT mess with nsl, on Solaris this is always necessary,
|
||||
# when -lsocket is used e.g. to get h_errno
|
||||
rm_patch "*-nsl-and-cl*"
|
||||
fi
|
||||
|
||||
apply_patchdir
|
||||
|
||||
tc-is-cross-compiler && src_prepare_perlcross
|
||||
|
||||
tc-is-static-only || src_prepare_dynamic
|
||||
|
||||
if use gdbm; then
|
||||
sed -i "s:INC => .*:INC => \"-I${EROOT}/usr/include/gdbm\":g" \
|
||||
ext/NDBM_File/Makefile.PL || die
|
||||
fi
|
||||
|
||||
# Use errno.h from prefix rather than from host system, bug #645804
|
||||
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
|
||||
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# set a soname, fix linking against just built libperl
|
||||
sed -i -e 's/netbsd\*/netbsd*|solaris*/' Makefile.SH || die
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fix install_name (soname) not to reference $D
|
||||
sed -i -e '/install_name `pwd/s/`pwd`/\\$(shrpdir)/' Makefile.SH || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
myconf() {
|
||||
# the myconf array is declared in src_configure
|
||||
myconf=( "${myconf[@]}" "$@" )
|
||||
}
|
||||
|
||||
# Outputs a list of versions which have been seen in any of the
|
||||
# primary perl @INC prefix paths, such as:
|
||||
# /usr/lib64/perl5/<NUMBER>
|
||||
# /usr/local/lib64/perl5/<NUMBER>
|
||||
# /usr/lib64/perl5/vendor_perl/<NUMBER>
|
||||
#
|
||||
# All values of NUMBER must be like "5.x.y", unless PERL_SUPPORT_SINGLE_SLOT
|
||||
# is enabled, where it will also allow numbers like "5.x"
|
||||
#
|
||||
# PERL_SUPPORT_SINGLE_SLOT should only be used to transition *away* from PERL_SINGLE_SLOT
|
||||
# if you used that.
|
||||
find_candidate_inc_versions() {
|
||||
local regex='.*/5[.][0-9]+[.][0-9]+$';
|
||||
if [[ ! -z "${PERL_SUPPORT_SINGLE_SLOT}" || ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
regex='.*/5[.][0-9]+\([.][0-9]+\|\)$'
|
||||
fi
|
||||
local dirs=(
|
||||
"${EROOT}${PRIV_BASE}"
|
||||
"${EROOT}${SITE_BASE}"
|
||||
"${EROOT}${VENDOR_BASE}"
|
||||
)
|
||||
for dir in "${dirs[@]}"; do
|
||||
if [[ ! -e "${dir}" ]]; then
|
||||
continue
|
||||
fi
|
||||
# Without access to readdir() on these dirs, find will not be able
|
||||
# to reveal any @INC directories inside them, and will subsequently prune
|
||||
# them from the built perl's @INC support, breaking our compatiblity options
|
||||
# entirely.
|
||||
if [[ ! -r "${dir}" || ! -x "${dir}" ]]; then
|
||||
eerror "Bad permissions on ${dir}, this will probably break things"
|
||||
eerror "Ensure ${dir} is +rx for at least uid=$EUID"
|
||||
eerror "Recommended permission is +rx for all"
|
||||
eerror "> chmod o+rx ${dir}"
|
||||
fi
|
||||
done
|
||||
einfo "Scanning for old @INC dirs matching '$regex' in: ${dirs[*]}"
|
||||
find "${dirs[@]}" -maxdepth 1 -mindepth 1 -type d -regex "${regex}" -printf "%f " 2>/dev/null
|
||||
}
|
||||
# Sort versions passed versiony-ly, remove self-version if present
|
||||
# dedup. Takes each version as an argument
|
||||
sanitize_inc_versions() {
|
||||
local vexclude="${DIST_VERSION%-RC}"
|
||||
if [[ ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
vexclude="${SUBSLOT}"
|
||||
fi
|
||||
einfo "Normalizing/Sorting candidate list: $*"
|
||||
einfo " to remove '${vexclude}'"
|
||||
# Note, general numeric sort has to be used
|
||||
# for the last component, or unique will convert
|
||||
# 5.30.0 + 5.30 into just 5.30
|
||||
printf "%s\n" "$@" |\
|
||||
grep -vxF "${vexclude}" |\
|
||||
sort -u -nr -t'.' -k1,1rn -k2,2rn -k3,3rg
|
||||
}
|
||||
|
||||
versions_to_inclist() {
|
||||
local oldv="${PERL_BIN_OLDVERSEN}"
|
||||
if [[ ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}"
|
||||
fi
|
||||
for v; do
|
||||
has "${v}" ${oldv} && echo -n "${v}/${myarch}${mythreading}/ ";
|
||||
echo -n "${v}/ ";
|
||||
done
|
||||
}
|
||||
versions_to_gentoolibdirs() {
|
||||
local oldv="${PERL_BIN_OLDVERSEN}"
|
||||
local root
|
||||
local v
|
||||
if [[ ! -z "${PERL_SINGLE_SLOT}" ]]; then
|
||||
oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}"
|
||||
fi
|
||||
for v; do
|
||||
for root in "${PRIV_BASE}" "${VENDOR_BASE}" "${SITE_BASE}"; do
|
||||
local fullpath="${EROOT}${root}/${v}"
|
||||
if [[ -e "${fullpath}" ]]; then
|
||||
has "${v}" ${oldv} && printf "%s:" "${fullpath}/${myarch}${mythreading}";
|
||||
printf "%s:" "${fullpath}"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
declare -a myconf
|
||||
|
||||
export LC_ALL="C"
|
||||
[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
|
||||
|
||||
# Perl has problems compiling with -Os in your flags with glibc
|
||||
use elibc_uclibc || replace-flags "-Os" "-O2"
|
||||
|
||||
# xlocale.h is going away in glibc-2.26, so it's counterproductive
|
||||
# if we use it and include it in CORE/perl.h ... Perl builds just
|
||||
# fine with glibc and locale.h only.
|
||||
# However, the darwin prefix people have no locale.h ...
|
||||
use elibc_glibc && myconf -Ui_xlocale
|
||||
|
||||
# This flag makes compiling crash in interesting ways
|
||||
filter-flags "-malign-double"
|
||||
|
||||
# Generic LTO broken since 5.28, triggers EUMM failures
|
||||
filter-flags "-flto"
|
||||
|
||||
use sparc && myconf -Ud_longdbl
|
||||
|
||||
export BUILD_BZIP2=0
|
||||
export BZIP2_INCLUDE=${EROOT}/usr/include
|
||||
export BZIP2_LIB=${EROOT}/usr/$(get_libdir)
|
||||
|
||||
export BUILD_ZLIB=False
|
||||
export ZLIB_INCLUDE=${EROOT}/usr/include
|
||||
export ZLIB_LIB=${EROOT}/usr/$(get_libdir)
|
||||
|
||||
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
|
||||
myndbm='U'
|
||||
mygdbm='U'
|
||||
mydb='U'
|
||||
if use gdbm ; then
|
||||
mygdbm='D'
|
||||
if use berkdb ; then
|
||||
myndbm='D'
|
||||
fi
|
||||
fi
|
||||
if use berkdb ; then
|
||||
mydb='D'
|
||||
has_version '=sys-libs/db-1*' && myndbm='D'
|
||||
fi
|
||||
|
||||
myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
|
||||
|
||||
if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
|
||||
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
|
||||
myconf -Ui_db -Ui_ndbm
|
||||
fi
|
||||
|
||||
use ithreads && myconf -Dusethreads
|
||||
|
||||
if use debug ; then
|
||||
append-cflags "-g"
|
||||
myconf -DDEBUGGING
|
||||
elif [[ ${CFLAGS} == *-g* ]] ; then
|
||||
myconf -DDEBUGGING=-g
|
||||
else
|
||||
myconf -DDEBUGGING=none
|
||||
fi
|
||||
|
||||
# Autodiscover all old version directories, some of them will even be newer
|
||||
# if you downgrade
|
||||
if [[ -z ${PERL_OLDVERSEN} ]]; then
|
||||
PERL_OLDVERSEN="$( find_candidate_inc_versions )"
|
||||
fi
|
||||
|
||||
# Fixup versions, removing self match, fixing order and dupes
|
||||
PERL_OLDVERSEN="$( sanitize_inc_versions ${PERL_OLDVERSEN} )"
|
||||
|
||||
# Experts who want a "Pure" install can set PERL_OLDVERSEN to an empty string
|
||||
if [[ -n "${PERL_OLDVERSEN// }" ]]; then
|
||||
local inclist="$( versions_to_inclist ${PERL_OLDVERSEN} )"
|
||||
einfo "This version of perl may partially support modules previously"
|
||||
einfo "installed in any of the following paths:"
|
||||
for incpath in ${inclist}; do
|
||||
[[ -e "${EROOT}${VENDOR_BASE}/${incpath}" ]] && einfo " ${EROOT}${VENDOR_BASE}/${incpath}"
|
||||
[[ -e "${EROOT}${PRIV_BASE}/${incpath}" ]] && einfo " ${EROOT}${PRIV_BASE}/${incpath}"
|
||||
[[ -e "${EROOT}${SITE_BASE}/${incpath}" ]] && einfo " ${EROOT}${SITE_BASE}/${incpath}"
|
||||
done
|
||||
einfo "This is a temporary measure and you should aim to cleanup these paths"
|
||||
einfo "via world updates and perl-cleaner"
|
||||
# myconf -Dinc_version_list="${inclist}"
|
||||
myconf -Dgentoolibdirs="$( versions_to_gentoolibdirs ${PERL_OLDVERSEN} )"
|
||||
fi
|
||||
|
||||
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
|
||||
|
||||
# Make sure we can do the final link #523730, need to set deployment
|
||||
# target to override hardcoded 10.3 which breaks on modern OSX
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
|
||||
|
||||
# Older macOS with non-Apple GCC chokes on inline in system headers
|
||||
# using c89 mode as injected by cflags.SH
|
||||
[[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \
|
||||
append-cflags -Dinline=__inline__
|
||||
|
||||
# flock on 32-bit sparc Solaris is broken, fall back to fcntl
|
||||
[[ ${CHOST} == sparc-*-solaris* ]] && \
|
||||
myconf -Ud_flock
|
||||
|
||||
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
|
||||
# Prefix itself we don't do multilib either, so make sure perl can find
|
||||
# something compatible.
|
||||
if use prefix ; then
|
||||
# Set a hook to check for each detected library whether it actually works.
|
||||
export libscheck="
|
||||
( echo 'main(){}' > '${T}'/conftest.c &&
|
||||
$(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
|
||||
) || xxx=/dev/null"
|
||||
|
||||
# Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
|
||||
local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
|
||||
myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
|
||||
elif [[ $(get_libdir) != "lib" ]] ; then
|
||||
# We need to use " and not ', as the written config.sh use ' ...
|
||||
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
# don't try building ODBM, bug #354453
|
||||
disabled_extensions="ODBM_File"
|
||||
|
||||
if ! use gdbm ; then
|
||||
# workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm"
|
||||
disabled_extensions="${disabled_extensions} GDBM_File NDBM_File"
|
||||
fi
|
||||
|
||||
myconf -Dnoextensions="${disabled_extensions}"
|
||||
|
||||
[[ "${PV##*.}" == "9999" ]] && myconf -Dusedevel -Uversiononly
|
||||
|
||||
[[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF}
|
||||
# allow fiddling via EXTRA_ECONF, bug 558070
|
||||
eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"
|
||||
|
||||
# setting -Dld= to tc-getLD breaks perl and all perl things
|
||||
# https://github.com/Perl/perl5/issues/17791#issuecomment-630145202
|
||||
myconf \
|
||||
-Duseshrplib \
|
||||
-Darchname="${myarch}" \
|
||||
-Dcc="$(tc-getCC)" \
|
||||
-Dar="$(tc-getAR)" \
|
||||
-Dnm="$(tc-getNM)" \
|
||||
-Dcpp="$(tc-getCPP)" \
|
||||
-Dranlib="$(tc-getRANLIB)" \
|
||||
-Doptimize="${CFLAGS}" \
|
||||
-Dldflags="${LDFLAGS}" \
|
||||
-Dprefix="${EPREFIX}"'/usr' \
|
||||
-Dsiteprefix="${EPREFIX}"'/usr/local' \
|
||||
-Dvendorprefix="${EPREFIX}"'/usr' \
|
||||
-Dscriptdir="${EPREFIX}"'/usr/bin' \
|
||||
-Dprivlib="${EPREFIX}${PRIV_LIB}" \
|
||||
-Darchlib="${EPREFIX}${ARCH_LIB}" \
|
||||
-Dsitelib="${EPREFIX}${SITE_LIB}" \
|
||||
-Dsitearch="${EPREFIX}${SITE_ARCH}" \
|
||||
-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
|
||||
-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
|
||||
-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
|
||||
-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
|
||||
-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
|
||||
-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
|
||||
-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
|
||||
-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
|
||||
-Dman1ext='1' \
|
||||
-Dman3ext='3pm' \
|
||||
-Dlibperl="${LIBPERL}" \
|
||||
-Dlocincpth="${EPREFIX}"'/usr/include ' \
|
||||
-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
|
||||
-Duselargefiles \
|
||||
-Dd_semctl_semun \
|
||||
-Dcf_by='Gentoo' \
|
||||
-Dmyhostname='localhost' \
|
||||
-Dperladmin='root@localhost' \
|
||||
-Ud_csh \
|
||||
-Dsh="${EPREFIX}"/bin/sh \
|
||||
-Dtargetsh="${EPREFIX}"/bin/sh \
|
||||
-Uusenm \
|
||||
"${myconf[@]}" \
|
||||
"${EXTRA_ECONF[@]}"
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
./configure \
|
||||
--target="${CHOST}" \
|
||||
--build="${CBUILD}" \
|
||||
-Dinstallprefix='' \
|
||||
-Dinstallusrbinperl='undef' \
|
||||
-Dusevendorprefix='define' \
|
||||
"${myconf[@]}" \
|
||||
|| die "Unable to configure"
|
||||
else
|
||||
sh Configure \
|
||||
-des \
|
||||
-Dinstallprefix="${EPREFIX}"'/usr' \
|
||||
-Dinstallusrbinperl='n' \
|
||||
"${myconf[@]}" \
|
||||
|| die "Unable to configure"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export NO_GENTOO_NETWORK_TESTS=1;
|
||||
export GENTOO_ASSUME_SANDBOXED="${GENTOO_ASSUME_SANDBOXED:-1}"
|
||||
export GENTOO_NO_PORTING_TESTS="${GENTOO_NO_PORTING_TESTS:-1}"
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
|
||||
return 0
|
||||
fi
|
||||
use elibc_uclibc && export MAKEOPTS+=" -j1"
|
||||
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
local coredir="${ARCH_LIB}/CORE"
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
rm -f "${ED}/usr/bin/perl${MY_PV}"
|
||||
ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die
|
||||
|
||||
if ! tc-is-static-only ; then
|
||||
dolib.so "${ED}"${coredir}/${LIBPERL}
|
||||
rm -f "${ED}"${coredir}/${LIBPERL}
|
||||
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
|
||||
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
|
||||
|
||||
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
|
||||
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
|
||||
ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
|
||||
|
||||
# This removes ${D} from Config.pm
|
||||
for i in $(find "${D}" -iname "Config.pm" ) ; do
|
||||
einfo "Removing ${D} from ${i}..."
|
||||
sed -i -e "s:${D}::" "${i}" || die "Sed failed"
|
||||
done
|
||||
|
||||
dodoc Changes* README AUTHORS
|
||||
|
||||
if use doc ; then
|
||||
# HTML Documentation
|
||||
# We expect errors, warnings, and such with the following.
|
||||
|
||||
dodir /usr/share/doc/${PF}/html
|
||||
LD_LIBRARY_PATH=. ./perl installhtml \
|
||||
--podroot='.' \
|
||||
--podpath='lib:ext:pod:vms' \
|
||||
--recurse \
|
||||
--htmldir="${ED}/usr/share/doc/${PF}/html"
|
||||
fi
|
||||
|
||||
[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
|
||||
|
||||
dual_scripts
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
check_rebuild
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
dual_scripts
|
||||
|
||||
if [[ "${ROOT}" = "/" ]] ; then
|
||||
local INC DIR file
|
||||
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
|
||||
einfo "Removing old .ph files"
|
||||
for DIR in ${INC} ; do
|
||||
if [[ -d "${DIR}" ]] ; then
|
||||
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
|
||||
rm -f "${file}"
|
||||
einfo "<< ${file}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
# Silently remove the now empty dirs
|
||||
for DIR in ${INC} ; do
|
||||
if [[ -d "${DIR}" ]] ; then
|
||||
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
dual_scripts
|
||||
}
|
@ -0,0 +1,454 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
# Patch version
|
||||
FIREFOX_PATCHSET="firefox-78esr-patches-16.tar.xz"
|
||||
SPIDERMONKEY_PATCHSET="spidermonkey-78-patches-04.tar.xz"
|
||||
|
||||
LLVM_MAX_SLOT=12
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic llvm multiprocessing prefix python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
|
||||
MY_MAJOR=$(ver_cut 1)
|
||||
|
||||
MOZ_ESR=yes
|
||||
|
||||
MOZ_PV=${PV}
|
||||
MOZ_PV_SUFFIX=
|
||||
if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
|
||||
MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
|
||||
|
||||
# Convert the ebuild version to the upstream Mozilla version
|
||||
MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
|
||||
MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
|
||||
MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
|
||||
fi
|
||||
|
||||
if [[ -n ${MOZ_ESR} ]] ; then
|
||||
# ESR releases have slightly different version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_PN="firefox"
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
|
||||
MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
|
||||
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
|
||||
|
||||
if [[ ${PV} == *_rc* ]] ; then
|
||||
MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
|
||||
fi
|
||||
|
||||
PATCH_URIS=(
|
||||
https://dev.gentoo.org/~{whissi,polynomial-c,axs}/mozilla/patchsets/${FIREFOX_PATCHSET}
|
||||
https://dev.gentoo.org/~{whissi,polynomial-c,axs}/mozilla/patchsets/${SPIDERMONKEY_PATCHSET}
|
||||
)
|
||||
|
||||
SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
|
||||
${PATCH_URIS[@]}"
|
||||
|
||||
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~s390 ~x86"
|
||||
|
||||
SLOT="78"
|
||||
LICENSE="MPL-2.0"
|
||||
IUSE="clang cpu_flags_arm_neon debug +jit lto test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
>=virtual/rust-1.41.0
|
||||
virtual/pkgconfig
|
||||
|| (
|
||||
(
|
||||
sys-devel/llvm:12
|
||||
clang? (
|
||||
sys-devel/clang:12
|
||||
lto? ( =sys-devel/lld-12* )
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:11
|
||||
clang? (
|
||||
sys-devel/clang:11
|
||||
lto? ( =sys-devel/lld-11* )
|
||||
)
|
||||
)
|
||||
(
|
||||
sys-devel/llvm:10
|
||||
clang? (
|
||||
sys-devel/clang:10
|
||||
lto? ( =sys-devel/lld-10* )
|
||||
)
|
||||
)
|
||||
)
|
||||
lto? (
|
||||
!clang? ( sys-devel/binutils[gold] )
|
||||
)"
|
||||
|
||||
CDEPEND=">=dev-libs/icu-67.1:=
|
||||
>=dev-libs/nspr-4.25
|
||||
sys-libs/readline:0=
|
||||
>=sys-libs/zlib-1.2.3"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
$(python_gen_any_dep 'dev-python/six[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if ! has_version -b "sys-devel/llvm:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/llvm:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use clang ; then
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if use lto ; then
|
||||
if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
|
||||
einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="7600M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6400M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then
|
||||
if use test ; then
|
||||
CHECKREQS_DISK_BUILD="7600M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6400M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_setup
|
||||
|
||||
llvm_pkg_setup
|
||||
|
||||
if use clang && use lto ; then
|
||||
local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
|
||||
[[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
|
||||
[[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
|
||||
|
||||
# temp fix for https://bugs.gentoo.org/768543
|
||||
# we can assume that rust 1.{49,50}.0 always uses llvm 11
|
||||
local version_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'release:' | awk '{ print $2 }')
|
||||
[[ -n ${version_rust} ]] && version_rust=$(ver_cut 1-2 "${version_rust}")
|
||||
[[ -z ${version_rust} ]] && die "Failed to read version from rustc!"
|
||||
|
||||
if ver_test "${version_rust}" -ge "1.49" && ver_test "${version_rust}" -le "1.50" ; then
|
||||
local version_llvm_rust="11"
|
||||
else
|
||||
local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
|
||||
[[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
|
||||
[[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
|
||||
fi
|
||||
|
||||
if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
|
||||
eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
|
||||
eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
|
||||
eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
|
||||
eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
|
||||
eerror " - Build ${CATEGORY}/${PN} without USE=lto"
|
||||
die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Build system is using /proc/self/oom_score_adj, bug #604394
|
||||
addpredict /proc/self/oom_score_adj
|
||||
|
||||
if ! mountpoint -q /dev/shm ; then
|
||||
# If /dev/shm is not available, configure is known to fail with
|
||||
# a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
|
||||
ewarn "/dev/shm is not mounted -- expect build failures!"
|
||||
fi
|
||||
|
||||
# Ensure we use C locale when building, bug #746215
|
||||
export LC_ALL=C
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd ../.. &>/dev/null || die
|
||||
|
||||
use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
|
||||
|
||||
eapply "${WORKDIR}"/firefox-patches
|
||||
eapply "${WORKDIR}"/spidermonkey-patches
|
||||
|
||||
default
|
||||
|
||||
# Make LTO respect MAKEOPTS
|
||||
sed -i \
|
||||
-e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
|
||||
build/moz.configure/lto-pgo.configure \
|
||||
|| die "sed failed to set num_cores"
|
||||
|
||||
# sed-in toolchain prefix
|
||||
sed -i \
|
||||
-e "s/objdump/${CHOST}-objdump/" \
|
||||
python/mozbuild/mozbuild/configure/check_debug_ranges.py \
|
||||
|| die "sed failed to set toolchain prefix"
|
||||
|
||||
# use prefix shell in wrapper linker scripts, bug #789660
|
||||
hprefixify "${S}"/../../build/cargo-{,host-}linker
|
||||
|
||||
einfo "Removing pre-built binaries ..."
|
||||
find third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
|
||||
|
||||
MOZJS_BUILDDIR="${WORKDIR}/build"
|
||||
mkdir "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
popd &>/dev/null || die
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Show flags set at the beginning
|
||||
einfo "Current CFLAGS: ${CFLAGS}"
|
||||
einfo "Current CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Current LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
local have_switched_compiler=
|
||||
if use clang && ! tc-is-clang ; then
|
||||
# Force clang
|
||||
einfo "Enforcing the use of clang due to USE=clang ..."
|
||||
have_switched_compiler=yes
|
||||
AR=llvm-ar
|
||||
CC=${CHOST}-clang
|
||||
CXX=${CHOST}-clang++
|
||||
NM=llvm-nm
|
||||
RANLIB=llvm-ranlib
|
||||
elif ! use clang && ! tc-is-gcc ; then
|
||||
# Force gcc
|
||||
have_switched_compiler=yes
|
||||
einfo "Enforcing the use of gcc due to USE=-clang ..."
|
||||
AR=gcc-ar
|
||||
CC=${CHOST}-gcc
|
||||
CXX=${CHOST}-g++
|
||||
NM=gcc-nm
|
||||
RANLIB=gcc-ranlib
|
||||
fi
|
||||
|
||||
if [[ -n "${have_switched_compiler}" ]] ; then
|
||||
# Because we switched active compiler we have to ensure
|
||||
# that no unsupported flags are set
|
||||
strip-unsupported-flags
|
||||
fi
|
||||
|
||||
# Ensure we use correct toolchain
|
||||
export HOST_CC="$(tc-getBUILD_CC)"
|
||||
export HOST_CXX="$(tc-getBUILD_CXX)"
|
||||
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
|
||||
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
|
||||
# ../python/mach/mach/mixin/process.py fails to detect SHELL
|
||||
export SHELL="${EPREFIX}/bin/bash"
|
||||
|
||||
local -a myeconfargs=(
|
||||
--host="${CBUILD:-${CHOST}}"
|
||||
--target="${CHOST}"
|
||||
--disable-jemalloc
|
||||
--disable-optimize
|
||||
--disable-strip
|
||||
--enable-readline
|
||||
--enable-shared-js
|
||||
--with-intl-api
|
||||
--with-system-icu
|
||||
--with-system-nspr
|
||||
--with-system-zlib
|
||||
--with-toolchain-prefix="${CHOST}-"
|
||||
$(use_enable debug)
|
||||
$(use_enable jit)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
||||
myeconfargs+=( --enable-rust-simd )
|
||||
fi
|
||||
|
||||
# Modifications to better support ARM, bug 717344
|
||||
if use cpu_flags_arm_neon ; then
|
||||
myeconfargs+=( --with-fpu=neon )
|
||||
|
||||
if ! tc-is-clang ; then
|
||||
# thumb options aren't supported when using clang, bug 666966
|
||||
myeconfargs+=( --with-thumb=yes )
|
||||
myeconfargs+=( --with-thumb-interwork=no )
|
||||
fi
|
||||
fi
|
||||
|
||||
# Tell build system that we want to use LTO
|
||||
if use lto ; then
|
||||
myeconfargs+=( --enable-lto )
|
||||
|
||||
if use clang ; then
|
||||
myeconfargs+=( --enable-linker=lld )
|
||||
else
|
||||
myeconfargs+=( --enable-linker=gold )
|
||||
fi
|
||||
fi
|
||||
|
||||
# LTO flag was handled via configure
|
||||
filter-flags '-flto*'
|
||||
|
||||
if tc-is-gcc ; then
|
||||
if ver_test $(gcc-fullversion) -ge 10 ; then
|
||||
einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
|
||||
append-cxxflags -fno-tree-loop-vectorize
|
||||
fi
|
||||
fi
|
||||
|
||||
# Show flags we will use
|
||||
einfo "Build CFLAGS: ${CFLAGS}"
|
||||
einfo "Build CXXFLAGS: ${CXXFLAGS}"
|
||||
einfo "Build LDFLAGS: ${LDFLAGS}"
|
||||
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
|
||||
|
||||
# Forcing system-icu allows us to skip patching bundled ICU for PPC
|
||||
# and other minor arches
|
||||
ECONF_SOURCE="${S}" \
|
||||
econf \
|
||||
${myeconfargs[@]} \
|
||||
XARGS="${EPREFIX}/usr/bin/xargs"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if "${MOZJS_BUILDDIR}/js/src/js" -e 'print("Hello world!")'; then
|
||||
einfo "Smoke-test successful, continuing with full test suite"
|
||||
else
|
||||
die "Smoke-test failed: did interpreter initialization fail?"
|
||||
fi
|
||||
|
||||
local -a KNOWN_TESTFAILURES
|
||||
KNOWN_TESTFAILURES+=( non262/Date/reset-time-zone-cache-same-offset.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/time-zone-path.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/time-zones-historic.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/time-zones-imported.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/toString-localized.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Date/toString-localized-posix.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Date/toLocaleString_timeZone.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Date/toLocaleDateString_timeZone.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/format.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/format_timeZone.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/timeZone_backward_links.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/tz-environment-variable.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DisplayNames/language.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/DisplayNames/region.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags.js )
|
||||
KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags-generated.js )
|
||||
KNOWN_TESTFAILURES+=( test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js )
|
||||
|
||||
if use x86 ; then
|
||||
KNOWN_TESTFAILURES+=( non262/Date/timeclip.js )
|
||||
KNOWN_TESTFAILURES+=( test262/built-ins/Number/prototype/toPrecision/return-values.js )
|
||||
KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.1.js )
|
||||
KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.2.js )
|
||||
fi
|
||||
|
||||
if [[ $(tc-endian) == "big" ]] ; then
|
||||
KNOWN_TESTFAILURES+=( test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js )
|
||||
fi
|
||||
|
||||
echo "" > "${T}"/known_failures.list || die
|
||||
|
||||
local KNOWN_TESTFAILURE
|
||||
for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do
|
||||
echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list
|
||||
done
|
||||
|
||||
PYTHONPATH="${S}/tests/lib" \
|
||||
${PYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js \
|
||||
|| die
|
||||
|
||||
if use jit ; then
|
||||
KNOWN_TESTFAILURES=()
|
||||
|
||||
echo "" > "${T}"/known_failures.list || die
|
||||
|
||||
for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do
|
||||
echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list
|
||||
done
|
||||
|
||||
PYTHONPATH="${S}/tests/lib" \
|
||||
${PYTHON} \
|
||||
"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
|
||||
--exclude-file="${T}"/known_failures.list \
|
||||
"${MOZJS_BUILDDIR}"/js/src/js basic \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MOZJS_BUILDDIR}" || die
|
||||
default
|
||||
|
||||
# fix soname links
|
||||
pushd "${ED}"/usr/$(get_libdir) &>/dev/null || die
|
||||
mv lib${MY_PN}-${MY_MAJOR}.so lib${MY_PN}-${MY_MAJOR}.so.0.0.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0.0.0 lib${MY_PN}-${MY_MAJOR}.so.0 || die
|
||||
ln -s lib${MY_PN}-${MY_MAJOR}.so.0 lib${MY_PN}-${MY_MAJOR}.so || die
|
||||
popd &>/dev/null || die
|
||||
|
||||
# remove unneeded files
|
||||
rm \
|
||||
"${ED}"/usr/bin/js${MY_MAJOR}-config \
|
||||
"${ED}"/usr/$(get_libdir)/libjs_static.ajs \
|
||||
|| die
|
||||
|
||||
# fix permissions
|
||||
chmod -x \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/*.pc \
|
||||
"${ED}"/usr/include/mozjs-${MY_MAJOR}/js-config.h \
|
||||
|| die
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST libburn-1.5.2.pl01.tar.gz 989073 BLAKE2B 4c62b236560d79ef528d9b0f419bb18a874a3feb6359d72f716ceda75cff9c5369417e85622f4016c352f255b0b4e46a6336be61e26b78a3ddc3adac5ac836e3 SHA512 40da5d4033b5f3b8e4fce8798d34c6608030f09bc1d98286b2b2e58f2fd1d348b115013b1a381eb9f1a3cf0c259c453507ee840e3aa24194521fe34fc3423a3e
|
||||
DIST libburn-1.5.4.tar.gz 991212 BLAKE2B 3fd4aa70eed2c9d0d33ef8bb967cd6208f1561aeebe8bc2b222fa4639fa3c215d49ee5ed3efc32813221fc4a9016ec9a3cabdcd8ae052d161794c0af11c7e6ee SHA512 dd7b14093e62e2c02011955c24e01d70ed78969b14faf7e5a63c0da97a80c438b628922532eb135af7dea8ee7c7b83554b3354160306dad852ce5bf6eb1d5ac9
|
||||
EBUILD libburn-1.5.2_p1.ebuild 889 BLAKE2B 981fee1ecbfca821dd15422f20963858807ccf0c7624157150c9f75eb4b9e4ab0527e8b63a50bb4efacecdb3460ae5fa3f2d471f0f0d7385763ac77c5ef8a86c SHA512 654cde093a0ac37397e4d0d63284259e2cb8230f0ae8d9934573501425c39049cd2b04238f284c62f8e13f3c885d3cabfb17ee70b8811533354b2ffa4b7e1f8d
|
||||
EBUILD libburn-1.5.4.ebuild 844 BLAKE2B 96d797754c11a6a50de248f73185888119a53bf143c8e303216bb551d3b65c52ac32ee026a3539bf518dd0f7edfd39e33cf54052e2021fd14f5b2b8d5057f6cd SHA512 63e79d1061c830fc68f9bffb5cc6275f0003aeb0bb16424ff012750e870d0c5dd80d6fca6a585208aa73dde05127bda858ae7e13a5e21e839939eb543669f429
|
||||
EBUILD libburn-1.5.4.ebuild 843 BLAKE2B 561a78121624ed8b48ea9665e863f6640fa807e3d2ee78187129af151e69afcaab3daf69a9b767ed13a45500bd9d586d8021e78cbf2cbd07e0befac0c6ace1de SHA512 c3813a34a0706bf6d97825b4c8b21b31445846a10ac7d2882c6c31ca8c30fb95e296c14a8b03b47aad520fe0caebc9e1a7497ff7d0028af6272f2e76012b557c
|
||||
MISC metadata.xml 243 BLAKE2B d63a20aa244e2d01198a2c4d25830ea1a68f7fa3fcb918ac373c31e99b303cb825bc33a753324b0999290c49421076f5fcb2450783a7e13a15cac8bfa8ebd044 SHA512 010182e2f4aa6b9ba90b1cc05b0efe19e0f40188917402ff7ef6034b5210376b33a35f9a2cc921b4cd90030bd6bd8d7e632928b34e2ed91a3e3a36a1e0b8dae7
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libgpiod-1.1.1.tar.xz 302672 BLAKE2B 71c624f923118b7c50970beb737f2c813d1470a34f95798f9ce821211e16f15e2a3fd42d0054e25529ddc9846725c0935d915784f22d2509b844a0bac61b66b6 SHA512 a1d902ce8e1c94d5550ade2fb4889ebe28b86523505b92ab907f58c8e6903eaf07ce16278126989462956b879f591b42ddd50fbc4537c1b5af459f23a4dfc12f
|
||||
DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04
|
||||
EBUILD libgpiod-1.1.1.ebuild 736 BLAKE2B e04de4a7ea0c97eb4a4b35b4f521bf3518c0ca405a6a1f6be33a9b86625dc1f14f3a662564cc36db38132569907e33c7b2027d921a469b67ac4f08277b3fb989 SHA512 7009091c715c3fe253bdf04ee1578de6bac4d3649d9c55b50e9d9e4ad7f2b261ba6cbfad30de6569c2676c46f8d665491a2aec6b2bd1d6a83325290e8ed76df8
|
||||
EBUILD libgpiod-1.4.1.ebuild 1158 BLAKE2B 46960c20d50db7496763df92276e7c8716b0c0ee1748dd4132d6478be13db5358b1356d1a5d191f276ae60ea43941da9a31a1db4d3384b8938fb0c08d0550d9d SHA512 8c27b7efe56d758be660d6c9a45e7e1da97907b8f1cfd553d6fec25bc6339384c44d0478d0ca1a9dd7bb9f05e84bcfe6237cb0b7f79cf72e2e7725f53ba524a9
|
||||
EBUILD libgpiod-1.4.1.ebuild 1165 BLAKE2B 190c2b8c0bfaf71973fb722717798b663ca73486f2b9724bfe53f4931169cf055451a7bf7fdabccc0689c5e0e148c99596cf3081b75ebdb759de4c562c07ae55 SHA512 b77d0c3b7f7354b99bb648312fb794253cdda9bdf333d29c34e563e4965555a35c201d3568a7881cd123a81fe7a8f48568680c60e2cdcdb728128eb1057a3846
|
||||
MISC metadata.xml 343 BLAKE2B fc70cc41ae2770c509013c4d1a5d8aaa441b6d52d1259b9e2f5cb2e8928e146f5451e399d1345901e88b1b488095990e8c9f9b296b43b38f91b38a22b3507c90 SHA512 051b47fa59f992bf8347e89d17eecf645d4a20457ac1d9db931982c9efa4a61d777df4e215a790d518ac77b2baa7497862fc724fbd581dccfa404bfd232d749b
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libisoburn-1.5.2.tar.gz 1564700 BLAKE2B 5c7a77f427adff46923f9dc8833f40db36f6ac1ee3b0e58d0111a03ee5c7ae5cc60d613f47d4bb64b848feeb24599b424284cffdbe5c1eebcf7b5e3c58b19b53 SHA512 b481aa5ff20bb35ab0ab19f3f4f3ebc4f2baa8366a14a5afe4f262788441679b6501e140e182f4e80045c747f1cf48db40832d8d5cd064e58a02de2882536897
|
||||
DIST libisoburn-1.5.4.tar.gz 1623904 BLAKE2B 3bb6ba88ad0422e1f3fbefdadb60231ea338a6bb8f39087fd25d58d68a4603c445d5d02b54c0a69897c321b4620f2ceb46eb8899552d2486e579a34f345a9d7f SHA512 5fc8532a13caf6caa5a0711753ca99ee2b3f4d5e2db9b3ed2aeef76714e3ae6de6d9c2db0d8297c0d749c42c5ab84fe92989751d8da24d41457b98656eb1bd86
|
||||
EBUILD libisoburn-1.5.2.ebuild 1833 BLAKE2B ac256b90ba3b81d78cdc0d06f02454203b1a961616e5c00820f1092a3021be875c96e79f2eb0c642a21c6ed4ca1e7d1c0a3ae962ae78d6ec30ee4f6bcb6c1cab SHA512 a8e7d0e64616cbafcda65ccbb59977270beabc0c0042a3ad8af4ce7af40896c625c4050ba4a6332139f7c9b7da494013e511ce0ef877665d7138b2ba385c3965
|
||||
EBUILD libisoburn-1.5.4.ebuild 1840 BLAKE2B 14bd24407c1e94ef3ab4d2e9a79fc5d74ae6f64706cebb900d37a916e7844d2ca1120820cae0eb79d11f949471c6c644d1f24c3d5264cfca191bd17af84a55a7 SHA512 4f2fe32bac03d61b7837e0754964c1f52393a54be6bcc29c988f33e3c89e82a0c0a6b3e7a6565b8c8d54105446af68436deee547eb377fb44c979a6241558a57
|
||||
EBUILD libisoburn-1.5.4.ebuild 1839 BLAKE2B 8a5a5088990fcc87547794cf45cb2a622aa46b00642a4c5222ff8774fb6a9bac94b9982c6dda56ade0f147483c02d037e788b5b25a2f368a5da0d0e8a72438a2 SHA512 4edcf569f060b599d118f0d1385aba1135d035cb21a2ca5822f4525e04faeb76ab0da944cd55a6f8b46eeab8b35634b7f5b9c2ee6563b5d227ed79131d272aa3
|
||||
MISC metadata.xml 829 BLAKE2B 3a7a3c710e8886e60f6447baba781e98cd29d64daeae498ed8423ba40ef08258e8b249530666c487a1ddff81e837a97dfa6a9746872ee1feb7c66dd949471edc SHA512 0a3690bc939275faf4c7179c1e26d4dd93464820d3c21e8694119faab3a417b823661ac399f33d423793b2cc234828445a5d6af7d5067150b5e5a3018ecdae7f
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libisofs-1.5.2.tar.gz 857346 BLAKE2B 25e03054e2bea2dfdbe07af77eed07a94e98288d059873c6fd06dab9b7dd3985af585a8938a11bb6834034a545fad4240546bd307ba83411d566b2a3dfbb7c70 SHA512 65048f2e33e96091ebce5b432ea607242050a3561c8eac18364bbe966d38c4f12ac1f4b38da5ea95ad4414f2b79b5fca99c1c0827e754bbbf6f7668d7e2c2bab
|
||||
DIST libisofs-1.5.4.tar.gz 870395 BLAKE2B 2cb9d247219c368e9808dbb2b7bcbe22829e78683a6dc6d8a182b54ebfe6d8c8a082990179b784f891fc79f2ed4830f09dd43c64bfdce60cbff6c34fae2150e7 SHA512 a06e834e81081358478cdd27d1dcc6f3bb52ffd2ea57ade59f3ff2f69868fb6886a0b38fd1580d24295b7ed936ac471f107df64d62c1ff42b57dd8ce0810e3f2
|
||||
EBUILD libisofs-1.5.2.ebuild 960 BLAKE2B 2484974ebec23a28c2dd5308c671a90a3f6ddad3aa85175796bf50118e1537be24cbcedff6c450ab2ce71ec39eebfa895d2b25518e4ae863029a501b5351289a SHA512 a8b19668e891970ce4e5b77f57ede6f8d9b8d718908098874de505208a86dc4dc2ccba51e6eddddb5d1bbe1da28cd1f0f1e9bd39d8e4041c60b8d3f6e8a8fc1a
|
||||
EBUILD libisofs-1.5.4.ebuild 965 BLAKE2B 0ee7305e5812223f7eb60abc58fb743806962496e3b7a164b0be437bc501cc5f755661c6164fa5f8f1ea911132c04b3a11d4b228ad5ea0c2442b6d35b0f1bf69 SHA512 b5537ab38e45d2ccac7a2b0147fcd92d36bfda4d25e87fe6cd6e0f0c47dddfe56d905b95aa06d43951533ef00c932e916da78ec1fceb0e182717bdcf94c49511
|
||||
EBUILD libisofs-1.5.4.ebuild 964 BLAKE2B f0fe2ee4be8b0542cc63de93e055f9143a9c2da784b6df928cb92cc070289409bb960cc55585dd84b1768bfff97cf38a48702e21b29c6065b751cf0f29eecb76 SHA512 be0ea2321dd4d6c13c6338af2257a42f132bd6d394e97197bf559976ba82c24984e1f7b28574de65bb7f557ef2f2c30f23435a484d3f89bd599ca2182cdfd21c
|
||||
MISC metadata.xml 320 BLAKE2B 04767bbd76091dc5cbb1d5aad9f7c8b1adf5f36a98b82efb2047ee8c60f7c341b8cbff45c966bc549d975a7d7f4234609a47090cd8919a19c51b9d290c263366 SHA512 cce70181ca955dc89d0d02186bbc8fca4608e41ac59b00ad1e10dca94fb259797bf93d9bf942b38d00feaad274f85c0b79ab0f5e672dff405af799a4799871ce
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libtasn1-4.16.0.tar.gz 1812442 BLAKE2B 1a79494da959808d1b05099409cab70a08bf8be039f32c2e487ec8cee240d92aca9a3ec137721bac3bfe1ecd59334f4f31e0e0c25c6f06ee850af69842c0fefc SHA512 b356249535d5d592f9b59de39d21e26dd0f3f00ea47c9cef292cdd878042ea41ecbb7c8d2f02ac5839f5210092fe92a25acd343260ddf644887b031b167c2e71
|
||||
DIST libtasn1-4.17.0.tar.gz 1906654 BLAKE2B a76798bdb8e68f2ca2337fa2648ff42adb7a9a51f27efefee5b9856e56ac09672237bd9a5b2afe808298e462eda31f2e8d3601c35ac00b84935f307ad981b2b1 SHA512 9cbd920196d1e4c8f5aa613259cded2510d40edb583ce20cc2702e2dee9bf32bee85a159c74600ffbebc2af2787e28ed0fe0adf15fc46839283747f4fe166d3d
|
||||
EBUILD libtasn1-4.16.0.ebuild 1215 BLAKE2B 601fac3afabc551f721cb9e810868a25ae481a353afa824300bfd86616b0fecca923e5cdd652cedf31a61ec409409a90b36d129a135bea274c4d4f072f06620f SHA512 0ee69325271d2f133754034615e2c73a9d73dce9e9b8de4990509d5f0cd90283af187c56933d70ec5f0090ef4cf777bae56901870469aad4262d8bdc69c89fe3
|
||||
EBUILD libtasn1-4.17.0.ebuild 1223 BLAKE2B 4cf24abf2d407b9c8a3c8a7ab82fa62f80fd014e7b9ff22782f08c10bfd30419b95186f3cf5b704c8f0e691e93157d0a6917eb92f638d00a6503adefe6d32b4e SHA512 93136d7a2a9bd1588251fc15204f970f702b7ee02b227717f62ec8d45b2eab850879790e0ec1cd77d6027208aeb05605c0ec728da0ba4e72f491c766a80e0d79
|
||||
EBUILD libtasn1-4.17.0.ebuild 1217 BLAKE2B f3fd05d8a28e0559ffbeb6b8d0427373fb3f189bc743a2967483d49296cf61bae665dbd07f614bc1d37a82b0046cd114598b4cb2613388edad80ef71863e3d5e SHA512 386e810ac54841b3e3d27d716d750816eaa8af46630bcc2941f0fe962e71fdffae20d6614f064f373f591f08c6e592cfeee404fb10c39594cd981c896bbb0572
|
||||
MISC metadata.xml 445 BLAKE2B 9b3976fd78a81ceda730e46f0c5f74ac3f24744bf5503ffdcc8ad617133b643fd535dc7decd0f5060bbf77e0e3307f501d6355daa4e07d32f98532a0407c5aba SHA512 9eed39ede450d1598c75c1ebc487e5520f6cd8e1819a14b4d448502b380ccd0a7dc1510be8887cedd4b94add0e24700b84a588544bfcc29dea5d55b12c7aa556
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX libusb-0.1-ansi.patch 4390 BLAKE2B c64a22623907ee5432d7f636642214221840df3721f226fedbe97da998e3503f9b6eb808e99a58f115f4bc1ac04a75b55928abd30786b9a6b5e3baa4b0f1edd9 SHA512 a3745567934bb8551b1fb0c7e43d5f749334ac763b05a23e15fb77af85034ca76fa6c65121c83cbfc44d82d6a879a43249148b1b894425956deb8eed3cf39e95
|
||||
DIST libusb-compat-0.1.5.tar.bz2 276769 BLAKE2B 66fa89c507d0454a587fa84d2ee2c34428963fa1770b44038fa45063466611ae263a3c790a167e5049393ef4d87073d1b16135d63cd0666256c3430bf36dae49 SHA512 fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857
|
||||
EBUILD libusb-compat-0.1.5-r3.ebuild 1090 BLAKE2B 7caddb67a8b91c8e58d81e4ef3a098780a0e792ca72614a91c510ffbc98b742054d83ec1636e1420bfb0e64548150c68c67fbc1947fda059f5f88d85ad47d2c1 SHA512 490e1ebc486137b56573a2db4b8f0cb07b7f2661f4f2438ba7bbf7102367e6e040152b0a1768a1a087cc52f604599a7941003f25ba743e0bfe6b062f160ebac9
|
||||
EBUILD libusb-compat-0.1.5-r3.ebuild 1097 BLAKE2B c40b3e590197a02fa915856f9815a392a9f66f0f057da8a12cddc890b7b4a76b4dd1789f94cade0344e59ea2f1e63dedbb398a61d4645fa276251ccbe3bb9290 SHA512 37bc0dd695b4b9b5f4891b011cb22c563e2f9b1de8c837fa05f4fe6f7dccc857949e4a001aa610c9f87a8b24f82247b8aa8ba1df68fc75fddc557bcbd1b68c43
|
||||
MISC metadata.xml 333 BLAKE2B ee2452df6eb77285ba7e918f882c543d413656aaf0a199ac369ef60d25b8790fa37e320101f9645d5042ed04826e00922d5d38752b31492deda2cc78e7c41b49 SHA512 10f5333485c01d415c73f195e22785a9584d9dcf9662317605d9c6f14507863be5769457d2080137d31ad79fd0e825b9f02ec4160c40a5347591726843148705
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue