summaryrefslogtreecommitdiff
path: root/sys-libs/ncurses
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-26 08:51:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-26 08:51:46 +0100
commitcf91c70bb5a537972156006c46756b9ac75bdb7b (patch)
tree6e7b518033e978a6ca81757578a07bed4cc59bb8 /sys-libs/ncurses
parentea6ec22f536553dcd417bc8b577418d3ebe5ce4c (diff)
gentoo auto-resync : 26:08:2022 - 08:51:46
Diffstat (limited to 'sys-libs/ncurses')
-rw-r--r--sys-libs/ncurses/Manifest42
-rw-r--r--sys-libs/ncurses/ncurses-6.3_p20220423-r1.ebuild16
-rw-r--r--sys-libs/ncurses/ncurses-6.3_p20220423.ebuild16
-rw-r--r--sys-libs/ncurses/ncurses-6.3_p20220820-r1.ebuild426
-rw-r--r--sys-libs/ncurses/ncurses-6.3_p20220820.ebuild424
5 files changed, 912 insertions, 12 deletions
diff --git a/sys-libs/ncurses/Manifest b/sys-libs/ncurses/Manifest
index c5603a6d5dca..25f9445e3987 100644
--- a/sys-libs/ncurses/Manifest
+++ b/sys-libs/ncurses/Manifest
@@ -59,12 +59,50 @@ DIST ncurses-6.3-20220416.patch.gz 67896 BLAKE2B c95a993f51beb87bb9891bd0eee0872
DIST ncurses-6.3-20220416.patch.gz.asc 729 BLAKE2B 52ab1bfcac4b5d7b3733c399509ba4c0a6b9531c02a05846d39344488ba3a9196326a8126db225845a3ff1ca3fdd609fa1d9264583e7e57e28d2f4e3b58b4389 SHA512 c5a60d2ef9996c02264e6656a966f4be910a3acbee777a4ff2a5131efd156bdf1d32418a39d6e3c07fcbb59c75554d4cc1e7e9f84f5b59f69e7e4c17fafc749f
DIST ncurses-6.3-20220423.patch.gz 3394 BLAKE2B ac93810f1e826fc82de72a85effe5479576af14fa86e0dd08b8823b6f4652922f79242e9c867b1c864f0049c9e6d9864d6efc9282ab1e734dc316cac05655f4c SHA512 5dc87f70793d8319c5ee2f07c7f9432b1128e05f3aa2841a74deeaf294e46859f4198483dc783bb80e5e98f81f05cfef148df75a5abc5acfa69a9d6ad3abb702
DIST ncurses-6.3-20220423.patch.gz.asc 729 BLAKE2B 7225d28f7e61ae584183e98d8c93c7d470e96984aea4e462333f115c329a8c187927196447b8368949986d4b8c96086f5839fde5b442936e76ac797685ee109b SHA512 b0eecbdad448f193fb255bec2fa458d3fea972c181891882d8dc1e09cc325ecda38e98f2d410993f768f513f3a48b9be4b36dbb2919d82a778496b8ef2051565
+DIST ncurses-6.3-20220430.patch.gz 8987 BLAKE2B bd9d2b39670718277dd71b22fab41b311ef3732b4c3ccf77c796dafd24f7e0ae3a7a759340fa734425728b32ae6b4719b77862d64155fff906a9be01eda14b69 SHA512 7bab780d96404c7e368363ce8a41d5fa1668df9daed62753112541a1ee1da04ef6f3d8d3c06a7442b704c477bbff1b4544f419e532ec7bbfbddd630f66f138ce
+DIST ncurses-6.3-20220430.patch.gz.asc 729 BLAKE2B 8308cf7483087d516756e8a16dd29e5137efc35bce1cb73454b022302dfb77da92357aa0a716dccd0be83534a92467837d199deb1f7765da57323dd1cf95ed92 SHA512 c022fdae0880d56bee1fcd9076e64619bbdf09737484f89fab4c7c5d2c4b4fad236e42cc30c9557463cfd05a9c1d7b87bf3a5aa2904a79ba5a071463f3ac422d
+DIST ncurses-6.3-20220501.patch.gz 1920 BLAKE2B d4b3b23219d43bbaeb42fbe44034f5f0cfd2c24527ab8690f882f42dbd9855d4686a49734d3b2e5f1c6692847149bd6b62fd9ad9d3dd283156ea39441334fc65 SHA512 43b91e96aa067960aee3c42f65bd0ef91ad78360f30a25cb0637f96ad69d40ccf943c888d982521c6d1851fe4590692ecf6cdb4467757a33e901f53ea2e6eac0
+DIST ncurses-6.3-20220501.patch.gz.asc 729 BLAKE2B d32d3ecb5c6f91943179799eccfd536d7a57739dcac62dd7ae9bbf1b4a0491aa4aff7ae147e9e9353ad37bba89475f0d0a408cfa41b3812a48c42055240f1a6c SHA512 177951901957534f78cd2d71045ff8d9457fee426aea830739ece24d69689605c9f2b99be0fbb6d9ca34d6f5894a7bfb594faa2e7a69a87def44695988548375
+DIST ncurses-6.3-20220507.patch.gz 7625 BLAKE2B a7598b9b5b2f6d871e7eb8b11de39964954222a2837377e656e9d1f83002ef47478bf7776b54fc63a085de265f9be1b60d0b039ec77c5c3eb01107ff9158ecad SHA512 f688c38a809f60734efbf5bd07645faa4716c9b263d5edb284ae9a2f2cde5284b8698dd5a3988f433b969e9d26e74451f5c996ada2d7aa7760177d7f9c104f19
+DIST ncurses-6.3-20220507.patch.gz.asc 729 BLAKE2B 5653edd427ead8dc6540b45860380a8066bb3b8ba3015b0858e57c8696defdd99e6d19aa1a6ec269ddfea7a97630a901c4e29680a847070503d4659f9d533dd0 SHA512 f66ae09c989a229d7a8faf9bef7764de08f9a9cd9ffb8b35bfc7421cc8b942428bfdb8918c6f038d3f5e1697d1cdf49a02218b05175515b4e0bf29ed139c3199
+DIST ncurses-6.3-20220514.patch.gz 3612 BLAKE2B 73b151ba2e7bbac38067035bfb742d26f7d0e745ef176b7de56e00d930da3bf630030acede3fa6c63fbad41819e7b90f14848a1ea0d2a07473228dbd32ef7f4d SHA512 b69ac7b2469d7b97404a0dd5d57f6a06c88e139b0bf69627d8e1b65373b513544dfd1583d2fc95ed40ec131f49c90667b65ca2c513eccf785ddcc3b470b1dc17
+DIST ncurses-6.3-20220514.patch.gz.asc 729 BLAKE2B 6e2acb6ee12785aea5a3d881d6cbbfde0579ea4975d6a2b5a412e1fd8a6fa63df88c20013535e38da7f9fd8b2eddbade80da7a9d80a1e72229d89a042678836a SHA512 3cdd8d9ba80ceb3ac359265a8d8479ed9827c7abaa13562069dc2ed819b933b07a00bbf1a280551d30fc97e8d45bddcf0999d282521541244499873892618b94
+DIST ncurses-6.3-20220521.patch.gz 7405 BLAKE2B 788601d52671421c26fc4a6b4c8a5bcdd807a7d88c6636e24a11c70a32f35a7c50bd6f7166f9cc12e30134c49220070c432b3fa72004eb52e15912528d0d7aaf SHA512 58dd6f51e1d9bdb394cc8e86c8f14b953a0749cbd05ae4b114da482dc5c93878ae6fff6f8993194d9ff94461c6e9e38803418812f38d087729d42dff69c738fb
+DIST ncurses-6.3-20220521.patch.gz.asc 729 BLAKE2B 34daeb98a3cf36a0c6a471e617f07496fa173d1b57158d9052ebf94e11c65c61b26a8c884c83104cd4e9c62abdc0abf44ecc680c19751bec7c1d2bdd40fe4018 SHA512 a6d1a14032fab5de28df2efedcbc065a07d9c7da1eafa0efd380df42b479c7e9e3a73381fe7d1243e5abad82d3d01dad645b7876fcc16e723aea8d2c6542fb75
+DIST ncurses-6.3-20220529.patch.gz 5923 BLAKE2B 88f9b87a426b1384b62234b59b6b4655f6af0a1b0100e17c971e419d2ed1ec3a197b3a44b2b82d6550a62323f71efd0a0774df26bc653a7543f3646d88679470 SHA512 9f8c0b91f98c72e0892e9369e0f95aa56699b27d28d68febf746bac07fab75883461f363cdc6da0bf4c5b340287ba4e4c076b00c89550821990bba059f56d5f4
+DIST ncurses-6.3-20220529.patch.gz.asc 729 BLAKE2B af52d71d2b04b11404d5ff468869b7f633c367d10a9a7f43ca198b98fe255b032af837efafafd13dc8aebbfb5f919b453a7850c7d2dcc8b2f5375bbe3e0ee9e9 SHA512 d7aec9551acde75089a097b848125c5f4501751e58c800e40dd5b7234240c039b10de97ad2a70404f9b178a94ee4a3b8484a94fb6aca4599122c6a527161572e
+DIST ncurses-6.3-20220604.patch.gz 8200 BLAKE2B ee331e4467071d3f6655df009966f18aae2a25dca3d24272cedf54d7ee50cd2600cee71a835c11983b168b1dabe1193731cffcbab2773b650dd768f6dd8840c4 SHA512 2d0e2139ee9a43de6b4a10df5c44bcf1fed9919c3e254b9ca0d16fb37b0858e14cc10acbb0027522b0cb64f058d61b3aad3b8178fb6d634a4da57f30ed505e95
+DIST ncurses-6.3-20220604.patch.gz.asc 729 BLAKE2B b9a9b0d90b6f4a19a9aa9e006b6cf9dad0e927c02605af63c6c67a7025f9090a4b76fbb3e758f11e9a0c2e557ed65851ddbd7c831486c851e1d469d7dd16da8a SHA512 acd57c8b27fce2b04bdadcbf2ff82e34aafcdb72b9b2d3a913abf56467f78ce601c70aae93e4959269656adf5562799ba4d9e4aeb6965f4e57fc37577ffb64bf
+DIST ncurses-6.3-20220612.patch.gz 3474 BLAKE2B 67c4820457291e5f325119220631debef475fdf95d66c283616898cb454b281a73e5dee8404c1730b5ca10bc3521a2243f26dadce8c02f082ce1d0fa30c50189 SHA512 ccf89a98a095c6c498170b831cfeff24d1329d7f5007be82463699595e1c6dc01e0b458d456a5b8bda4e8faceced1a4d8f1c1bca7def54a3c6c6c2a2c43e36c6
+DIST ncurses-6.3-20220612.patch.gz.asc 729 BLAKE2B ba1dedfa9a4e83bc85716cb89507e73f44750f14bbe41fb439f764b71477d1dd4df600b4111f465aa80bf37adbea75359442eee48e70e90b8715d0f13bbe13ed SHA512 c8260b56019a3c44c7708b9b41e043871eb06a6e8847d085acbf0a901c39f025b51b41f6ade8863b3fa2460c66cc52571880420d454168e742479bbf7769c5c4
+DIST ncurses-6.3-20220618.patch.gz 5376 BLAKE2B b4ecfc699c0ad8d5f17f5883aee6a7b700495f8db151e68518ae567fc22afbc738796b99ddcd03c0e0f44036fca459d742a2069e794ab476b1183c970ec4c573 SHA512 1efada728e34ca7d4bf1e73bceea18e2334a27ff09872eadcc63988a9d6e6f1fdc5eab717d114805cc5610ec9b35ca00e54931d6503afd5543d035108c788148
+DIST ncurses-6.3-20220618.patch.gz.asc 729 BLAKE2B 9f3b6f6a077b20baa03bec84db9119061777aaa307613b2e22092c743772cc920a3621ac1b0216285f6ebd74737fc09221b8f8103d69dfbf334c5f53e6428054 SHA512 10efd950619625bc673ea88db1bc22d09ddf92910ba204e8bebd029f48f098ec8a35351f368881fcf890d8862fccc3d31b8ba73d1b32acc71722e777f4a3a3c4
+DIST ncurses-6.3-20220625.patch.gz 9730 BLAKE2B ac99b401c51b71df71dab8075d0ea29016a4b159e24773704598bdede7d91ad051633869a9bb0a42ad701995895f5acb711731c0954573c29bca0c9efd70bdf7 SHA512 dc707393050116c0351b132d4b20e9782e2e9920c31ffa101518714431a7a424b05ad2cc23bfc977ff96d4cb6199ab6e98e4204803370c0d557ee65cf84ef870
+DIST ncurses-6.3-20220625.patch.gz.asc 729 BLAKE2B 67790febe058f9e910ac69472ca91370dccdbdd986665f2f864cce50aa4350f77894b3aec3fd3a080d546a201f17d942e311bbee057ba6979ab7c56e1e2270dd SHA512 c4ed979bc34293ebe6e5b1dab099c8ab5f7d1d6dfdfe877e02b6182756b754706a827ac30a41c163582ca9d79a086df9c9ad6f09a55884dd04752adf37c4064c
+DIST ncurses-6.3-20220703.patch.gz 15771 BLAKE2B 8d0b406aee1b432e4a0cedbd68dd86d30d3116c303b72d7e6e4636e870b05f942ae8d8538a0f9118412350718683cbc014f98d5fc22914a14e2eeae740ad89f8 SHA512 68f4e7822077405ee29470a95aa66d284d2defd0e2ccdca12d58e417999b964657ae4170b54977430d859b840998042efe0f36ca41aab007062c53b409b2d467
+DIST ncurses-6.3-20220703.patch.gz.asc 729 BLAKE2B fb052729d5259ed6a7381566c400060a08af6caf6753cbfe82a6c5c2cfac1eaa82b59b6c533aad5ed06a6d527ef31f7ce46c49365386e1735bb5027f2f00d98f SHA512 ae9b8cc007f3b017a021430181ee92ef0dcbed1603c84b21148d0950b823a0cc50ec3ee2cc97880c24080bf8feb5a6152d104bffe39333466ee98cd07333e66d
+DIST ncurses-6.3-20220709.patch.gz 3567 BLAKE2B 97a8106bb64c3f32ca0984dfdbb8cb0b3e5822e726cd08826989cf09cf13ae0afe97b84b728620aef2bdf40f5ca54fd8e81fa354602cb80e98f73861f081408c SHA512 b35516f07614533c40559e3ce2346e51ed93f5c0f127ef076a96d4aa4bbb717f6456765d37034e8479a981194216cd0cd6c45e266715e46a155eb496653cc56c
+DIST ncurses-6.3-20220709.patch.gz.asc 729 BLAKE2B b2d4aa3c15c315a0f09fff8bb9c74595f28aac242fc8eba4bbff53c2d63fe5ca5e0e1356fb88c31df565ceff08065b2da29a961173a7f86c16ad849ba9212616 SHA512 faec18d2a7cf179e1c11dcd76406a790ae254da543ceb666bef2fa3d6a9d03c11ffec0c45495b40691567337895153ebffd6d7b3b30294d0ee707966b99bfdd3
+DIST ncurses-6.3-20220716.patch.gz 26266 BLAKE2B da5b2e610fd32a50694971ed3cd91d4e919d9ae1c7a7077269e8ffadda2717447eef41ff7c7bee42f5ab2363600a417306f40f8429ffeae318c9888e6dd66c38 SHA512 b591df49a00ac3ab717b01c53f7bae47b9aedf30dfeea549ab5a7bf9d366ad653c6d7d0a610ed70e3f3b3ebb18f7d1867ac95f0fb740aecf0343fe1639898230
+DIST ncurses-6.3-20220716.patch.gz.asc 729 BLAKE2B cb6da7708351abaf08ae815c46a994ff81c9b15e6ba7de3e98fe238b274ccfee4bbc31e5707b0cde0b018eaa8d708ae3d10d006eca81a33ca8480f55faec64bf SHA512 4b9da2b760ebc6d3731dc8e5974128ab88b9a170bc3d609b4656c420cdf3f2da6ae4952a9fb6700e926d6a90080caba6ec439fe79d5a9e33d8add31dc1a0b25f
+DIST ncurses-6.3-20220724.patch.gz 9302 BLAKE2B 4d54e2fb503f946608c8c6dcc53129a61a8d210a1db03a87f12e2acc3d8a423bba792929e1f845ffca2eb5041f27d399b685c697c53f65ddc340d9177675ed08 SHA512 eeb5e82bce1199ea4c968b5e8102ca84f1f9a88d5ea7707caf4b24ca51c76aaea0c721b8fb8c373e9e595e7621e320d63a2ed5f387aec777c119c3b87dbba06a
+DIST ncurses-6.3-20220724.patch.gz.asc 729 BLAKE2B 580e4c14f62defbe21e77936cc7f797c3fe42b78c8a451ebaa9c426c25d770d1ddf66447abdb3c703defb46bd436e4342c649b46999337cf11a80e57ddeae48d SHA512 e6c515dda6a9404247693f5f99efa2ab3297042e44a94da99d4e5d1e1b42c0966a874850c5f3e429e0466ca6ed910879a65f7e22dd5210bb3549f8c5a039e3ca
+DIST ncurses-6.3-20220729.patch.gz 85147 BLAKE2B b094798cc56db06e0d13bbffd073eff080822244039984b339a18cb2337d979b6b75acaf61b1392ad3818e1e5234ea274491b15ac2686064c8ad5ddb6453d885 SHA512 d8a515a46277de407cc7f58523fd99ec8d6cb9688740cad7ea743bd3610b62b5cb0fd4d8570bf1a83f7dd0f8887381aea9e4bdde084637f4cbe58ee206a2db4f
+DIST ncurses-6.3-20220729.patch.gz.asc 729 BLAKE2B 8d04bd485ad53f6c2cd18dd1966ddc76d6f1e6f43f9a30635732a49b249a3162d192159f90540ed8102fada9bc3d204f4209ba1a403bcfd7dacbc08cb93994f4 SHA512 927a97416043ce7be208549b7c4f61bae48328e6c04136c45555f95836f7ab538c2e8b850d0c7dee3e0b279597f1f6621fccda8fac7aef7ddb59d764e3052d60
+DIST ncurses-6.3-20220806.patch.gz 2491 BLAKE2B 7cae7ba5cec0e52a2f24088dc33191eb12ded64eddb753879b1edc49e81276f5d2aa205da851a21e6884d72b70e683a711b13faf69444fe06da03170cbf23653 SHA512 adc1a7e4c106e12cbac9bda467d8ec3d7dccbed2c67ec74faa32cf8cbbf5897e4c041ac02e94ecd8266de46aae9ce4060dceea224265a9c5532160ca9a494151
+DIST ncurses-6.3-20220806.patch.gz.asc 729 BLAKE2B fb8ce4c6bd63e0abd611c90c967efe749140fd811ea9ee91cda63343f1c9545ea8814e606742d00fedda2a461141d2dccec778a0ccece6e0213db1d7b636a0ff SHA512 215efa0da6980ded3f5b4d980cfed6268a6b5c157d4ce76e46cbce3055ac875bcbab5e605d4426e0c221316f5922b9e92b105af08686d4f798f88d400adeff3a
+DIST ncurses-6.3-20220813.patch.gz 11762 BLAKE2B e8a269aef28639deccf5db2fc2e649361dac134210bbba6b4e4e9fbbacae2900aa6cbbe00cead74a1f18ff0f00e2c54be607b17fb1e0cacfc0be95af5761dcf3 SHA512 57f5801bfe19922f67b3d65af60b5b9f3177955f26e08978594cc88681a1a3a465ee754548574b206ca607bd4c04f71cfd1c195ed396ea30d94f56ce580274e2
+DIST ncurses-6.3-20220813.patch.gz.asc 729 BLAKE2B e964291deb463dbce2dace974e2d7d6dffa8656d6b3f1b3f5651e0df8bae0bbb3edfcfdd02ef016bd0d452610bd329230ebc0bf5dd0d747fa88608a4f18ee73f SHA512 ff8e14a50165d0281b4a48d96a211e9c613d95ad20d78e261e1febbb17a9b8415351a38f594ce1c06707fada76b9a15ccbc5ba532cd4074e8a89d6571ade7918
+DIST ncurses-6.3-20220820.patch.gz 32018 BLAKE2B 14a29ee43c4d8df82a9f939ef4e028a482a8695feb89fdf6ec234410e3c1db105a4610f71f04c94acb322ff7d474196e4cb472ea5bbfdb7ce57e57c9a07c9139 SHA512 bdc458134e9c0c50c6e8aeeb44f05292f838d147186f2be5f8c872a43b376a66482ad7dec7aaa8a3facecd2c404ed5309cc744a6173b0570c6bfb0db40385619
+DIST ncurses-6.3-20220820.patch.gz.asc 729 BLAKE2B 93179103d5465b5ddff8513a383099bbf07993a1286a164b69d213c176cc39144fc8afb407fbbb2596d975bd7017b677f75609fe8ddaa3415f46cc73c5bdcbe3 SHA512 5e589d29903a2c6c1e85dfb64d7267e3528d65e49a7c4851318139142524bed4824dd787f980b2fbe8327f0b804ecea1ca94bbb6c7615fee9d993ea6d1568773
DIST ncurses-6.3.tar.gz 3583550 BLAKE2B b2c174ac48d587b4d3aa054f04e4ec8bffd8a657a4aff5f090104965c741901e600712c8f8e5e98f3b8a26bc558996a1e14a746f113854832853b855e9d406c3 SHA512 5373f228cba6b7869210384a607a2d7faecfcbfef6dbfcd7c513f4e84fbd8bcad53ac7db2e7e84b95582248c1039dcfc7c4db205a618f7da22a166db482f0105
DIST ncurses-6.3.tar.gz.sig 438 BLAKE2B d7f9852292110fe7a048a9e38611ea06564b5142cb4cbeb8d99bba752d5df8eeffa3b57e5ca315c14024520bc008b30650e99669c995dca05a798399a0c85d39 SHA512 b9a2a25e0b1854c272bf89c610c81fc0ba061f0296eca5c0079a79cfe310e44eb16c46eb5a0dd018f1ca9114d569c9d5087a2b8e60b0344f1eb97f7c5addafc6
EBUILD ncurses-6.2_p20210619.ebuild 9938 BLAKE2B e051c20b6dc781586bbb7de7986983c33c1c74df8599148b23bf7e82754c696bd814b5e95e77e4cf346dcd08c507fa9d2e90898f4f77921379bfa155f9a2d9aa SHA512 dec3574e7afc360b2bb165c923b8ea27edd30269dbab96027ad4966b16f2a80aca8d677afbac01cbd0c215459d84d9c239fb03a684771485d3d9e0be0430cc45
EBUILD ncurses-6.3.ebuild 10059 BLAKE2B 49d54b5c55b66745ad0cb6467a59cad1f3774378ee42cd655d0a94627c5500ea5f045db81f7e774b0afcb966cfaaf8ef106fd081af5a0f83b90ee029ebe2a998 SHA512 5c2388851eb130dcaae8db6f411bfe441a46dc7ca8a5849978edb8d8ea47fb2aa55354ed600c17c01b59acb36c3027bb1c8cb622c8b43e118848de855f3bade6
EBUILD ncurses-6.3_p20211106-r1.ebuild 10864 BLAKE2B bf3eccc36c80765fbaa165ff7c954b4632a1ac48abb0abff29a20d3caa81a69659205930a3d97b1fa78157799918db2bb4fb2f404a613931ac12fc5b8c1d253d SHA512 2a99d0674be5e8b0f2316857ae0abeb1a98ce3d718ffb0e04a2b61eb5733d4d5b0c3b20e806df8cbe0eb7cc8fb6ec8a5817225b3896846dc3c2f801b1b8255e4
EBUILD ncurses-6.3_p20211106.ebuild 10920 BLAKE2B 582eaa0726501b6b5f6e16e7e2281d773629171c21b137923b29dd4a22aa19044ab637857d1b136fc05264d0782107eee6913ba9b5c72c2ac52e2250fed9a8c3 SHA512 18e7458493d49ccbeb70f63118e673a876f77d64b4ac91dc88f7759861eb8821de658e2fed6a22ec3e21d82238efde2cf00710185ecf9356845256e020d3f158
-EBUILD ncurses-6.3_p20220423-r1.ebuild 11962 BLAKE2B 43470396f06d3a5ee6cb3741ed28a6203ac62d9db867e916989be96a745719748f92a04ea946c9d7f8d3938b3f7b6bf62f0ecab51efcba9e7c08c265b09eff4b SHA512 bcdf29a0b1d73e0f160928b4da907525c3b88f9089f395955e7c2c7d97a0f9c78f8870356b46876507f80eff8b04b8b9978d5c7c7f56fc40a1c8e92dd275bd31
-EBUILD ncurses-6.3_p20220423.ebuild 11828 BLAKE2B 3876b4697ca4e2b93244b90669d0d2be72345da2a6d38b8e836efaf2a4365358e0336ab589f48670db911f8c6daf59de63b0a5273f398e18393e8c117539ebe1 SHA512 2cc50d4bd13291b196db8c5e6ae4c3308221ed9006700a139d6cb17a6caa718fc11c2ad2497646b187c9e5fdc715b0c2fdbdddb2f255b67bfe4b5b50de2eefe5
+EBUILD ncurses-6.3_p20220423-r1.ebuild 12301 BLAKE2B ec3174da7e91867039052294d5a846f7dfcadd0aa30f83c89e652fcbdcc0b8828d1c84dadede3ef9c943ecd72d77c0fafbfabfc0f6ff0ded2b72a3e4ad2e311a SHA512 2eff2ddcb16b22fc66e14507ed629868deb13f7ae3844863c3aa74ae5dbbba614a6bbf43ae650c08859b6bb5ab20976189fb2faa8ec66e79aa65c0319c33c323
+EBUILD ncurses-6.3_p20220423.ebuild 12167 BLAKE2B d7ea349cae22e242b2dabb4376f61e22902003137387a5a0af844961c3f2d64b2618fc3f9c654285491f2f80bb1de70124a8cd86345de4239331f3e69537a8be SHA512 7f5bcaed9bceb9eea739d4396ac0a1293aa3194d9d3f4085ece5db541fe86b8dbee76317e5b12ffbb7243eb09aa123b2c8efb376b1b3ebf5c795aed5a4dc9eef
+EBUILD ncurses-6.3_p20220820-r1.ebuild 12510 BLAKE2B 7d29382342aae4808b84f323396296dda9d078bb4b0ae03e2f8d96dfd55a2431e09d954c3cc05a473aa7c355aae1ba2e41f49009f8fc4a0f6d350fce831057c6 SHA512 72196f6fbe03b060017820f0ee3a4bd43dee4c78c44d4a1a84eb896f0db4f245e626afbb9acef9edf17640a63b4ea6706d19e15506cb493c095fa4bccbb14793
+EBUILD ncurses-6.3_p20220820.ebuild 12384 BLAKE2B ecaa250fe86c6d151834bab2e399e660e038b2440d1dff46852bee85ec0b4737ed15dae4613746c9c3718fdf41e979904f794774b9ef97f891ea4cadc3ba0286 SHA512 c90b2f4dce5b8c63e20881cb9f7cce11c4abb404841f5cb4a7aa643eba1ca48d23acd6892888f6a6fc2e1c50bde44012ce5818f2cf7fbb014d0d34b00e2ec22c
MISC metadata.xml 1094 BLAKE2B a65bbb9584f77fb07fff735e6471ef48a5d63e7fa79112bf75df67f2f94e816706165fdd42a482708a7fd2ab3b3e308f9766eac0b39c3a4e31dcff5b3db25d57 SHA512 adf0f939a1e14c964bfb44ab80b1b8c1ee897a036a994848ba3e40280ab3a73ddb3beef540c905efd623e71b890c4c91e0b7c24651561d0e2bb2a4c86f039dba
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220423-r1.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220423-r1.ebuild
index 1a8b50aab67f..f7f4f7c7d153 100644
--- a/sys-libs/ncurses/ncurses-6.3_p20220423-r1.ebuild
+++ b/sys-libs/ncurses/ncurses-6.3_p20220423-r1.ebuild
@@ -22,6 +22,10 @@ if [[ ${PV} == *_p* ]] ; then
# "At times (generally to mark a relatively stable point), I create a rollup
# patch, which consists of all changes from the release through the current date."
#
+ # Also, from https://lists.gnu.org/archive/html/bug-ncurses/2019-08/msg00039.html,
+ # the patches are considered to be acceptable to use after some testing. They
+ # are both for development but also bug fixes.
+ #
# This array should contain a list of all the snapshots since the last
# release if there's no megapatch available yet.
PATCH_DATES=(
@@ -120,6 +124,12 @@ src_configure() {
# bug #214642
BUILD_CPPFLAGS+=" -D_GNU_SOURCE"
+ # Should be fixed upstream soon:
+ # https://lists.gnu.org/archive/html/bug-ncurses/2022-08/msg00024.html
+ # bug #866398
+ sed -i -e 's/ld --verbose/${LD} --verbose/' configure || die
+ sed -i -e 's/pkg-config --version/${PKG_CONFIG} --version/' misc/gen-pkgconfig.in || die
+
# Build the various variants of ncurses -- narrow, wide, and threaded. #510440
# Order matters here -- we want unicode/thread versions to come last so that the
# binaries in /usr/bin support both wide and narrow.
@@ -258,11 +268,7 @@ do_configure() {
[[ -d ${cross_path} ]] && export TIC_PATH="${cross_path}/progs/tic"
fi
- # Force bash until upstream rebuilds the configure script with a newer
- # version of autotools. bug #545532
- #CONFIG_SHELL=${EPREFIX}/bin/bash \
- ECONF_SOURCE="${S}" \
- econf "${conf[@]}" "$@"
+ ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"
}
src_compile() {
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220423.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220423.ebuild
index 4b4374096d7a..223791bd1371 100644
--- a/sys-libs/ncurses/ncurses-6.3_p20220423.ebuild
+++ b/sys-libs/ncurses/ncurses-6.3_p20220423.ebuild
@@ -22,6 +22,10 @@ if [[ ${PV} == *_p* ]] ; then
# "At times (generally to mark a relatively stable point), I create a rollup
# patch, which consists of all changes from the release through the current date."
#
+ # Also, from https://lists.gnu.org/archive/html/bug-ncurses/2019-08/msg00039.html,
+ # the patches are considered to be acceptable to use after some testing. They
+ # are both for development but also bug fixes.
+ #
# This array should contain a list of all the snapshots since the last
# release if there's no megapatch available yet.
PATCH_DATES=(
@@ -120,6 +124,12 @@ src_configure() {
# bug #214642
BUILD_CPPFLAGS+=" -D_GNU_SOURCE"
+ # Should be fixed upstream soon:
+ # https://lists.gnu.org/archive/html/bug-ncurses/2022-08/msg00024.html
+ # bug #866398
+ sed -i -e 's/ld --verbose/${LD} --verbose/' configure || die
+ sed -i -e 's/pkg-config --version/${PKG_CONFIG} --version/' misc/gen-pkgconfig.in || die
+
# Build the various variants of ncurses -- narrow, wide, and threaded. #510440
# Order matters here -- we want unicode/thread versions to come last so that the
# binaries in /usr/bin support both wide and narrow.
@@ -258,11 +268,7 @@ do_configure() {
[[ -d ${cross_path} ]] && export TIC_PATH="${cross_path}/progs/tic"
fi
- # Force bash until upstream rebuilds the configure script with a newer
- # version of autotools. bug #545532
- #CONFIG_SHELL=${EPREFIX}/bin/bash \
- ECONF_SOURCE="${S}" \
- econf "${conf[@]}" "$@"
+ ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"
}
src_compile() {
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220820-r1.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220820-r1.ebuild
new file mode 100644
index 000000000000..ee652af5700d
--- /dev/null
+++ b/sys-libs/ncurses/ncurses-6.3_p20220820-r1.ebuild
@@ -0,0 +1,426 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
+inherit flag-o-matic toolchain-funcs multilib multilib-minimal preserve-libs usr-ldscript verify-sig
+
+MY_PV="${PV:0:3}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="Console display library"
+HOMEPAGE="https://www.gnu.org/software/ncurses/ https://invisible-island.net/ncurses/"
+SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz
+ https://invisible-island.net/archives/${PN}/${MY_P}.tar.gz
+ verify-sig? ( mirror://gnu/ncurses/${MY_P}.tar.gz.sig )"
+
+if [[ ${PV} == *_p* ]] ; then
+ # Sometimes, after releases, there's no megapatch available yet.
+ #
+ # From upstream README at e.g. https://invisible-island.net/archives/ncurses/6.3/:
+ #
+ # "At times (generally to mark a relatively stable point), I create a rollup
+ # patch, which consists of all changes from the release through the current date."
+ #
+ # Also, from https://lists.gnu.org/archive/html/bug-ncurses/2019-08/msg00039.html,
+ # the patches are considered to be acceptable to use after some testing. They
+ # are both for development but also bug fixes.
+ #
+ # This array should contain a list of all the snapshots since the last
+ # release if there's no megapatch available yet.
+ PATCH_DATES=(
+ 20211026
+ 20211030
+ 20211106
+ 20211113
+ 20211115
+ 20211120
+ 20211127
+ 20211204
+ 20211211
+ 20211219
+ 20211225
+ 20220101
+ 20220115
+ 20220122
+ 20220129
+ 20220205
+ 20220212
+ 20220219
+ 20220226
+ 20220305
+ 20220312
+ 20220319
+ 20220326
+ 20220402
+ 20220409
+ 20220416
+ 20220423
+ 20220430
+ 20220501
+ 20220507
+ 20220514
+ 20220521
+ 20220529
+ 20220604
+ 20220612
+ 20220618
+ 20220625
+ 20220703
+ 20220709
+ 20220716
+ 20220724
+ 20220729
+ 20220806
+ 20220813
+ 20220820
+
+ # Latest patch is just _pN = $(ver_cut 4)
+ $(ver_cut 4)
+ )
+
+ if [[ -z ${PATCH_DATES[@]} ]] ; then
+ SRC_URI+=" https://invisible-island.net/archives/${PN}/${PV/_p*}/${P/_p/-}.patch.sh.gz"
+ SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${PV/_p*}/${P/_p/-}.patch.sh.gz.asc"
+ else
+ patch_url=
+ my_patch_index=
+ for ((my_patch_index=0; my_patch_index < "${#PATCH_DATES[@]}"; my_patch_index++)); do
+ patch_url="$(printf "https://invisible-island.net/archives/${PN}/${PV/_p*}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)"
+ SRC_URI+=" ${patch_url}"
+ SRC_URI+=" verify-sig? ( ${patch_url}.asc )"
+ done
+ unset patch_url
+ unset my_patch_index
+ fi
+fi
+
+LICENSE="MIT"
+# The subslot reflects the SONAME.
+SLOT="0/6"
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="ada +cxx debug doc gpm minimal profile +stack-realign static-libs test tinfo trace"
+RESTRICT="!test? ( test )"
+
+DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )"
+# Block the older ncurses that installed all files w/SLOT=5, bug #557472
+RDEPEND="${DEPEND}
+ !<=sys-libs/ncurses-5.9-r4:5
+ !<sys-libs/slang-2.3.2_pre23
+ !<x11-terms/rxvt-unicode-9.06-r3
+ !<x11-terms/st-0.6-r1"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.7-nongnu.patch"
+ "${FILESDIR}/${PN}-6.0-rxvt-unicode-9.15.patch" # bug #192083, bug #383871
+ "${FILESDIR}/${PN}-6.0-pkg-config.patch"
+ "${FILESDIR}/${PN}-6.0-ticlib.patch" # bug #557360
+ "${FILESDIR}/${PN}-6.2_p20210123-cppflags-cross.patch" # bug #601426
+)
+
+src_prepare() {
+ if [[ ${PV} == *_p* ]] ; then
+ if [[ -z ${PATCH_DATES[@]} ]] ; then
+ # If we have a rollup patch, use that instead of the individual ones.
+ eapply "${WORKDIR}"/${P/_p/-}-patch.sh
+ else
+ eapply "${WORKDIR}"/
+ fi
+ fi
+
+ default
+}
+
+src_configure() {
+ # bug #115036
+ unset TERMINFO
+
+ tc-export_build_env BUILD_{CC,CPP}
+
+ # bug #214642
+ BUILD_CPPFLAGS+=" -D_GNU_SOURCE"
+
+ # Should be fixed upstream soon:
+ # https://lists.gnu.org/archive/html/bug-ncurses/2022-08/msg00024.html
+ # bug #866398
+ sed -i -e 's/ld --verbose/${LD} --verbose/' configure || die
+ sed -i -e 's/pkg-config --version/${PKG_CONFIG} --version/' misc/gen-pkgconfig.in || die
+
+ # Build the various variants of ncurses -- narrow, wide, and threaded. #510440
+ # Order matters here -- we want unicode/thread versions to come last so that the
+ # binaries in /usr/bin support both wide and narrow.
+ # The naming is also important as we use these directly with filenames and when
+ # checking configure flags.
+ NCURSES_TARGETS=(
+ ncurses
+ ncursesw
+ ncursest
+ ncursestw
+ )
+
+ # When installing ncurses, we have to use a compatible version of tic.
+ # This comes up when cross-compiling, doing multilib builds, upgrading,
+ # or installing for the first time. Build a local copy of tic whenever
+ # the host version isn't available. bug #249363, bug #557598
+ if ! has_version -b "~sys-libs/${P}:0" ; then
+ local lbuildflags="-static"
+
+ # some toolchains don't quite support static linking
+ local dbuildflags="-Wl,-rpath,${WORKDIR}/lib"
+ case ${CHOST} in
+ *-darwin*) dbuildflags= ;;
+ *-solaris*) dbuildflags="-Wl,-R,${WORKDIR}/lib" ;;
+ esac
+ echo "int main() {}" | \
+ $(tc-getCC) -o x -x c - ${lbuildflags} -pipe >& /dev/null \
+ || lbuildflags="${dbuildflags}"
+
+ # We can't re-use the multilib BUILD_DIR because we run outside of it.
+ BUILD_DIR="${WORKDIR}" \
+ CC=${BUILD_CC} \
+ CHOST=${CBUILD} \
+ CFLAGS=${BUILD_CFLAGS} \
+ CXXFLAGS=${BUILD_CXXFLAGS} \
+ CPPFLAGS=${BUILD_CPPFLAGS} \
+ LDFLAGS="${BUILD_LDFLAGS} ${lbuildflags}" \
+ do_configure cross --without-shared --with-normal --with-progs
+ fi
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ if [[ ${ABI} == x86 ]] ; then
+ # For compatibility with older binaries at slight performance cost.
+ # bug #616402
+ use stack-realign && append-flags -mstackrealign
+ fi
+
+ local t
+ for t in "${NCURSES_TARGETS[@]}" ; do
+ do_configure "${t}"
+ done
+}
+
+do_configure() {
+ local target=$1
+ shift
+
+ mkdir "${BUILD_DIR}/${target}" || die
+ cd "${BUILD_DIR}/${target}" || die
+
+ local conf=(
+ # We need the basic terminfo files in /etc, bug #37026. We will
+ # add '--with-terminfo-dirs' and then populate /etc/terminfo in
+ # src_install() ...
+ --with-terminfo-dirs="${EPREFIX}/etc/terminfo:${EPREFIX}/usr/share/terminfo"
+
+ # Enable installation of .pc files.
+ --enable-pc-files
+ # This path is used to control where the .pc files are installed.
+ --with-pkg-config-libdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"
+
+ # Now the rest of the various standard flags.
+ --with-shared
+ # (Originally disabled until bug #245417 is sorted out, but now
+ # just keeping it off for good, given nobody needed it until now
+ # (2022) and we're trying to phase out bdb.)
+ --without-hashed-db
+ $(use_with ada)
+ $(use_with cxx)
+ $(use_with cxx cxx-binding)
+ --with-cxx-shared
+ $(use_with debug)
+ $(use_with profile)
+ # The configure script uses ldd to parse the linked output which
+ # is flaky for cross-compiling/multilib/ldd versions/etc...
+ $(use_with gpm gpm libgpm.so.1)
+ # Required for building on mingw-w64, and possibly other windows
+ # platforms, bug #639670
+ $(use_enable kernel_Winnt term-driver)
+ --disable-termcap
+ --enable-symlinks
+ --with-rcs-ids
+ --with-manpage-format=normal
+ --enable-const
+ --enable-colorfgbg
+ --enable-hard-tabs
+ --enable-echo
+ $(use_enable !ada warnings)
+ $(use_with debug assertions)
+ $(use_enable !debug leaks)
+ $(use_with debug expanded)
+ $(use_with !debug macros)
+ $(multilib_native_with progs)
+ $(use_with test tests)
+ $(use_with trace)
+ $(use_with tinfo termlib)
+ --disable-stripping
+ --disable-pkg-ldflags
+ )
+
+ if [[ ${target} == ncurses*w ]] ; then
+ conf+=( --enable-widec )
+ else
+ conf+=( --disable-widec )
+ fi
+ if [[ ${target} == ncursest* ]] ; then
+ conf+=( --with-{pthread,reentrant} )
+ else
+ conf+=( --without-{pthread,reentrant} )
+ fi
+
+ # Make sure each variant goes in a unique location.
+ if [[ ${target} == "ncurses" ]] ; then
+ # "ncurses" variant goes into "${EPREFIX}"/usr/include
+ # It is needed on Prefix because the configure script appends
+ # "ncurses" to "${prefix}/include" if "${prefix}" is not /usr.
+ conf+=( --enable-overwrite )
+ else
+ conf+=( --includedir="${EPREFIX}"/usr/include/${target} )
+ fi
+ # See comments in src_configure.
+ if [[ ${target} != "cross" ]] ; then
+ local cross_path="${WORKDIR}/cross"
+ [[ -d ${cross_path} ]] && export TIC_PATH="${cross_path}/progs/tic"
+ fi
+
+ ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"
+}
+
+src_compile() {
+ # See comments in src_configure.
+ if ! has_version -b "~sys-libs/${P}:0" ; then
+ # We could possibly merge these two branches but opting to be
+ # conservative when merging some of the Prefix changes.
+
+ if [[ ${CHOST} == *-cygwin* ]] && ! multilib_is_native_abi ; then
+ # We make 'tic$(x)' here, for Cygwin having x=".exe".
+ BUILD_DIR="${WORKDIR}" \
+ do_compile cross -C progs all PROGS='tic$(x)'
+ else
+ BUILD_DIR="${WORKDIR}" \
+ do_compile cross -C progs tic
+ fi
+ fi
+
+ multilib-minimal_src_compile
+}
+
+multilib_src_compile() {
+ local t
+ for t in "${NCURSES_TARGETS[@]}" ; do
+ do_compile "${t}"
+ done
+}
+
+do_compile() {
+ local target=$1
+ shift
+
+ cd "${BUILD_DIR}/${target}" || die
+
+ # A little hack to fix parallel builds ... they break when
+ # generating sources so if we generate the sources first (in
+ # non-parallel), we can then build the rest of the package
+ # in parallel. This is not really a perf hit since the source
+ # generation is quite small.
+ emake -j1 sources
+
+ # For some reason, sources depends on pc-files which depends on
+ # compiled libraries which depends on sources which ...
+ # Manually delete the pc-files file so the install step will
+ # create the .pc files we want.
+ rm -f misc/pc-files || die
+ emake "$@"
+}
+
+multilib_src_install() {
+ local target
+ for target in "${NCURSES_TARGETS[@]}" ; do
+ emake -C "${BUILD_DIR}/${target}" DESTDIR="${D}" install
+ done
+
+ # Move main libraries into /.
+ if multilib_is_native_abi ; then
+ gen_usr_ldscript -a \
+ "${NCURSES_TARGETS[@]}" \
+ $(usex tinfo 'tinfow tinfo' '')
+ fi
+
+ # Don't delete '*.dll.a', needed for linking, bug #631468
+ if ! use static-libs; then
+ find "${ED}"/usr/ -name '*.a' ! -name '*.dll.a' -delete || die
+ fi
+
+ # Build fails to create this ...
+ # -FIXME-
+ # Ugly hackaround for riscv having two parts libdir (bug #689240)
+ # Replace this hack with an official solution once we have one...
+ # -FIXME-
+ dosym $(sed 's@[^/]\+@..@g' <<< $(get_libdir))/share/terminfo \
+ /usr/$(get_libdir)/terminfo
+
+ # Remove obsolete libcurses symlink that is created by the build
+ # system. Technically, this could be also achieved
+ # via --disable-overwrite but it also moves headers implicitly,
+ # and we do not want to do this yet.
+ # bug #836696
+ rm "${ED}"/usr/$(get_libdir)/libcurses* || die
+}
+
+multilib_src_install_all() {
+ # We need the basic terminfo files in /etc for embedded/recovery, bug #37026
+ einfo "Installing basic terminfo files in /etc..."
+ local terms=(
+ # Dumb/simple values that show up when using the in-kernel VT.
+ ansi console dumb linux
+ vt{52,100,102,200,220}
+ # [u]rxvt users used to be pretty common. Probably should drop this
+ # since upstream is dead and people are moving away from it.
+ rxvt{,-unicode}{,-256color}
+ # xterm users are common, as is terminals re-using/spoofing it.
+ xterm xterm-{,256}color
+ # screen is common (and reused by tmux).
+ screen{,-256color}
+ screen.xterm-256color
+ )
+ local x
+ for x in "${terms[@]}"; do
+ local termfile=$(find "${ED}"/usr/share/terminfo/ -name "${x}" 2>/dev/null)
+ local basedir=$(basename "$(dirname "${termfile}")")
+
+ if [[ -n ${termfile} ]] ; then
+ dodir "/etc/terminfo/${basedir}"
+ mv "${termfile}" "${ED}/etc/terminfo/${basedir}/" || die
+ dosym "../../../../etc/terminfo/${basedir}/${x}" \
+ "/usr/share/terminfo/${basedir}/${x}"
+ fi
+ done
+
+ echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" | newenvd - 50ncurses
+
+ use minimal && rm -r "${ED}"/usr/share/terminfo*
+ # Because ncurses5-config --terminfo returns the directory we keep it
+ # bug #245374
+ keepdir /usr/share/terminfo
+
+ cd "${S}" || die
+ dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
+ if use doc ; then
+ docinto html
+ dodoc -r doc/html/
+ fi
+}
+
+pkg_preinst() {
+ preserve_old_lib /$(get_libdir)/libncurses.so.5
+ preserve_old_lib /$(get_libdir)/libncursesw.so.5
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /$(get_libdir)/libncurses.so.5
+ preserve_old_lib_notify /$(get_libdir)/libncursesw.so.5
+}
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220820.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220820.ebuild
new file mode 100644
index 000000000000..d911bf424397
--- /dev/null
+++ b/sys-libs/ncurses/ncurses-6.3_p20220820.ebuild
@@ -0,0 +1,424 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
+inherit flag-o-matic toolchain-funcs multilib multilib-minimal preserve-libs usr-ldscript verify-sig
+
+MY_PV="${PV:0:3}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="Console display library"
+HOMEPAGE="https://www.gnu.org/software/ncurses/ https://invisible-island.net/ncurses/"
+SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz
+ https://invisible-island.net/archives/${PN}/${MY_P}.tar.gz
+ verify-sig? ( mirror://gnu/ncurses/${MY_P}.tar.gz.sig )"
+
+if [[ ${PV} == *_p* ]] ; then
+ # Sometimes, after releases, there's no megapatch available yet.
+ #
+ # From upstream README at e.g. https://invisible-island.net/archives/ncurses/6.3/:
+ #
+ # "At times (generally to mark a relatively stable point), I create a rollup
+ # patch, which consists of all changes from the release through the current date."
+ #
+ # Also, from https://lists.gnu.org/archive/html/bug-ncurses/2019-08/msg00039.html,
+ # the patches are considered to be acceptable to use after some testing. They
+ # are both for development but also bug fixes.
+ #
+ # This array should contain a list of all the snapshots since the last
+ # release if there's no megapatch available yet.
+ PATCH_DATES=(
+ 20211026
+ 20211030
+ 20211106
+ 20211113
+ 20211115
+ 20211120
+ 20211127
+ 20211204
+ 20211211
+ 20211219
+ 20211225
+ 20220101
+ 20220115
+ 20220122
+ 20220129
+ 20220205
+ 20220212
+ 20220219
+ 20220226
+ 20220305
+ 20220312
+ 20220319
+ 20220326
+ 20220402
+ 20220409
+ 20220416
+ 20220423
+ 20220430
+ 20220501
+ 20220507
+ 20220514
+ 20220521
+ 20220529
+ 20220604
+ 20220612
+ 20220618
+ 20220625
+ 20220703
+ 20220709
+ 20220716
+ 20220724
+ 20220729
+ 20220806
+ 20220813
+ 20220820
+
+ # Latest patch is just _pN = $(ver_cut 4)
+ $(ver_cut 4)
+ )
+
+ if [[ -z ${PATCH_DATES[@]} ]] ; then
+ SRC_URI+=" https://invisible-island.net/archives/${PN}/${PV/_p*}/${P/_p/-}.patch.sh.gz"
+ SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${PV/_p*}/${P/_p/-}.patch.sh.gz.asc"
+ else
+ patch_url=
+ my_patch_index=
+ for ((my_patch_index=0; my_patch_index < "${#PATCH_DATES[@]}"; my_patch_index++)); do
+ patch_url="$(printf "https://invisible-island.net/archives/${PN}/${PV/_p*}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)"
+ SRC_URI+=" ${patch_url}"
+ SRC_URI+=" verify-sig? ( ${patch_url}.asc )"
+ done
+ unset patch_url
+ unset my_patch_index
+ fi
+fi
+
+LICENSE="MIT"
+# The subslot reflects the SONAME.
+SLOT="0/6"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="ada +cxx debug doc gpm minimal profile +stack-realign static-libs test tinfo trace"
+RESTRICT="!test? ( test )"
+
+DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )"
+# Block the older ncurses that installed all files w/SLOT=5, bug #557472
+RDEPEND="${DEPEND}
+ !<=sys-libs/ncurses-5.9-r4:5
+ !<sys-libs/slang-2.3.2_pre23
+ !<x11-terms/rxvt-unicode-9.06-r3
+ !<x11-terms/st-0.6-r1"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.7-nongnu.patch"
+ "${FILESDIR}/${PN}-6.0-rxvt-unicode-9.15.patch" # bug #192083, bug #383871
+ "${FILESDIR}/${PN}-6.0-pkg-config.patch"
+ "${FILESDIR}/${PN}-6.0-ticlib.patch" # bug #557360
+ "${FILESDIR}/${PN}-6.2_p20210123-cppflags-cross.patch" # bug #601426
+)
+
+src_prepare() {
+ if [[ ${PV} == *_p* ]] ; then
+ if [[ -z ${PATCH_DATES[@]} ]] ; then
+ # If we have a rollup patch, use that instead of the individual ones.
+ eapply "${WORKDIR}"/${P/_p/-}-patch.sh
+ else
+ eapply "${WORKDIR}"/
+ fi
+ fi
+
+ default
+}
+
+src_configure() {
+ # bug #115036
+ unset TERMINFO
+
+ tc-export_build_env BUILD_{CC,CPP}
+
+ # bug #214642
+ BUILD_CPPFLAGS+=" -D_GNU_SOURCE"
+
+ # Should be fixed upstream soon:
+ # https://lists.gnu.org/archive/html/bug-ncurses/2022-08/msg00024.html
+ # bug #866398
+ sed -i -e 's/ld --verbose/${LD} --verbose/' configure || die
+ sed -i -e 's/pkg-config --version/${PKG_CONFIG} --version/' misc/gen-pkgconfig.in || die
+
+ # Build the various variants of ncurses -- narrow, wide, and threaded. #510440
+ # Order matters here -- we want unicode/thread versions to come last so that the
+ # binaries in /usr/bin support both wide and narrow.
+ # The naming is also important as we use these directly with filenames and when
+ # checking configure flags.
+ NCURSES_TARGETS=(
+ ncurses
+ ncursesw
+ ncursest
+ ncursestw
+ )
+
+ # When installing ncurses, we have to use a compatible version of tic.
+ # This comes up when cross-compiling, doing multilib builds, upgrading,
+ # or installing for the first time. Build a local copy of tic whenever
+ # the host version isn't available. bug #249363, bug #557598
+ if ! has_version -b "~sys-libs/${P}:0" ; then
+ local lbuildflags="-static"
+
+ # some toolchains don't quite support static linking
+ local dbuildflags="-Wl,-rpath,${WORKDIR}/lib"
+ case ${CHOST} in
+ *-darwin*) dbuildflags= ;;
+ *-solaris*) dbuildflags="-Wl,-R,${WORKDIR}/lib" ;;
+ esac
+ echo "int main() {}" | \
+ $(tc-getCC) -o x -x c - ${lbuildflags} -pipe >& /dev/null \
+ || lbuildflags="${dbuildflags}"
+
+ # We can't re-use the multilib BUILD_DIR because we run outside of it.
+ BUILD_DIR="${WORKDIR}" \
+ CC=${BUILD_CC} \
+ CHOST=${CBUILD} \
+ CFLAGS=${BUILD_CFLAGS} \
+ CXXFLAGS=${BUILD_CXXFLAGS} \
+ CPPFLAGS=${BUILD_CPPFLAGS} \
+ LDFLAGS="${BUILD_LDFLAGS} ${lbuildflags}" \
+ do_configure cross --without-shared --with-normal --with-progs
+ fi
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ if [[ ${ABI} == x86 ]] ; then
+ # For compatibility with older binaries at slight performance cost.
+ # bug #616402
+ use stack-realign && append-flags -mstackrealign
+ fi
+
+ local t
+ for t in "${NCURSES_TARGETS[@]}" ; do
+ do_configure "${t}"
+ done
+}
+
+do_configure() {
+ local target=$1
+ shift
+
+ mkdir "${BUILD_DIR}/${target}" || die
+ cd "${BUILD_DIR}/${target}" || die
+
+ local conf=(
+ # We need the basic terminfo files in /etc, bug #37026. We will
+ # add '--with-terminfo-dirs' and then populate /etc/terminfo in
+ # src_install() ...
+ --with-terminfo-dirs="${EPREFIX}/etc/terminfo:${EPREFIX}/usr/share/terminfo"
+
+ # Enable installation of .pc files.
+ --enable-pc-files
+ # This path is used to control where the .pc files are installed.
+ --with-pkg-config-libdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"
+
+ # Now the rest of the various standard flags.
+ --with-shared
+ # (Originally disabled until bug #245417 is sorted out, but now
+ # just keeping it off for good, given nobody needed it until now
+ # (2022) and we're trying to phase out bdb.)
+ --without-hashed-db
+ $(use_with ada)
+ $(use_with cxx)
+ $(use_with cxx cxx-binding)
+ --with-cxx-shared
+ $(use_with debug)
+ $(use_with profile)
+ # The configure script uses ldd to parse the linked output which
+ # is flaky for cross-compiling/multilib/ldd versions/etc...
+ $(use_with gpm gpm libgpm.so.1)
+ # Required for building on mingw-w64, and possibly other windows
+ # platforms, bug #639670
+ $(use_enable kernel_Winnt term-driver)
+ --disable-termcap
+ --enable-symlinks
+ --with-rcs-ids
+ --with-manpage-format=normal
+ --enable-const
+ --enable-colorfgbg
+ --enable-hard-tabs
+ --enable-echo
+ $(use_enable !ada warnings)
+ $(use_with debug assertions)
+ $(use_enable !debug leaks)
+ $(use_with debug expanded)
+ $(use_with !debug macros)
+ $(multilib_native_with progs)
+ $(use_with test tests)
+ $(use_with trace)
+ $(use_with tinfo termlib)
+ --disable-stripping
+ --disable-pkg-ldflags
+ )
+
+ if [[ ${target} == ncurses*w ]] ; then
+ conf+=( --enable-widec )
+ else
+ conf+=( --disable-widec )
+ fi
+ if [[ ${target} == ncursest* ]] ; then
+ conf+=( --with-{pthread,reentrant} )
+ else
+ conf+=( --without-{pthread,reentrant} )
+ fi
+
+ # Make sure each variant goes in a unique location.
+ if [[ ${target} == "ncurses" ]] ; then
+ # "ncurses" variant goes into "${EPREFIX}"/usr/include
+ # It is needed on Prefix because the configure script appends
+ # "ncurses" to "${prefix}/include" if "${prefix}" is not /usr.
+ conf+=( --enable-overwrite )
+ else
+ conf+=( --includedir="${EPREFIX}"/usr/include/${target} )
+ fi
+ # See comments in src_configure.
+ if [[ ${target} != "cross" ]] ; then
+ local cross_path="${WORKDIR}/cross"
+ [[ -d ${cross_path} ]] && export TIC_PATH="${cross_path}/progs/tic"
+ fi
+
+ ECONF_SOURCE="${S}" econf "${conf[@]}" "$@"
+}
+
+src_compile() {
+ # See comments in src_configure.
+ if ! has_version -b "~sys-libs/${P}:0" ; then
+ # We could possibly merge these two branches but opting to be
+ # conservative when merging some of the Prefix changes.
+
+ if [[ ${CHOST} == *-cygwin* ]] && ! multilib_is_native_abi ; then
+ # We make 'tic$(x)' here, for Cygwin having x=".exe".
+ BUILD_DIR="${WORKDIR}" \
+ do_compile cross -C progs all PROGS='tic$(x)'
+ else
+ BUILD_DIR="${WORKDIR}" \
+ do_compile cross -C progs tic
+ fi
+ fi
+
+ multilib-minimal_src_compile
+}
+
+multilib_src_compile() {
+ local t
+ for t in "${NCURSES_TARGETS[@]}" ; do
+ do_compile "${t}"
+ done
+}
+
+do_compile() {
+ local target=$1
+ shift
+
+ cd "${BUILD_DIR}/${target}" || die
+
+ # A little hack to fix parallel builds ... they break when
+ # generating sources so if we generate the sources first (in
+ # non-parallel), we can then build the rest of the package
+ # in parallel. This is not really a perf hit since the source
+ # generation is quite small.
+ emake -j1 sources
+
+ # For some reason, sources depends on pc-files which depends on
+ # compiled libraries which depends on sources which ...
+ # Manually delete the pc-files file so the install step will
+ # create the .pc files we want.
+ rm -f misc/pc-files || die
+ emake "$@"
+}
+
+multilib_src_install() {
+ local target
+ for target in "${NCURSES_TARGETS[@]}" ; do
+ emake -C "${BUILD_DIR}/${target}" DESTDIR="${D}" install
+ done
+
+ # Move main libraries into /.
+ if multilib_is_native_abi ; then
+ gen_usr_ldscript -a \
+ "${NCURSES_TARGETS[@]}" \
+ $(usex tinfo 'tinfow tinfo' '')
+ fi
+
+ if ! tc-is-static-only ; then
+ # Provide a link for -lcurses.
+ ln -sf libncurses$(get_libname) "${ED}"/usr/$(get_libdir)/libcurses$(get_libname) || die
+ fi
+
+ # Don't delete '*.dll.a', needed for linking, bug #631468
+ if ! use static-libs; then
+ find "${ED}"/usr/ -name '*.a' ! -name '*.dll.a' -delete || die
+ fi
+
+ # Build fails to create this ...
+ # -FIXME-
+ # Ugly hackaround for riscv having two parts libdir (bug #689240)
+ # Replace this hack with an official solution once we have one...
+ # -FIXME-
+ dosym $(sed 's@[^/]\+@..@g' <<< $(get_libdir))/share/terminfo \
+ /usr/$(get_libdir)/terminfo
+}
+
+multilib_src_install_all() {
+ # We need the basic terminfo files in /etc for embedded/recovery, bug #37026
+ einfo "Installing basic terminfo files in /etc..."
+ local terms=(
+ # Dumb/simple values that show up when using the in-kernel VT.
+ ansi console dumb linux
+ vt{52,100,102,200,220}
+ # [u]rxvt users used to be pretty common. Probably should drop this
+ # since upstream is dead and people are moving away from it.
+ rxvt{,-unicode}{,-256color}
+ # xterm users are common, as is terminals re-using/spoofing it.
+ xterm xterm-{,256}color
+ # screen is common (and reused by tmux).
+ screen{,-256color}
+ screen.xterm-256color
+ )
+ local x
+ for x in "${terms[@]}"; do
+ local termfile=$(find "${ED}"/usr/share/terminfo/ -name "${x}" 2>/dev/null)
+ local basedir=$(basename "$(dirname "${termfile}")")
+
+ if [[ -n ${termfile} ]] ; then
+ dodir "/etc/terminfo/${basedir}"
+ mv "${termfile}" "${ED}/etc/terminfo/${basedir}/" || die
+ dosym "../../../../etc/terminfo/${basedir}/${x}" \
+ "/usr/share/terminfo/${basedir}/${x}"
+ fi
+ done
+
+ echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" | newenvd - 50ncurses
+
+ use minimal && rm -r "${ED}"/usr/share/terminfo*
+ # Because ncurses5-config --terminfo returns the directory we keep it
+ # bug #245374
+ keepdir /usr/share/terminfo
+
+ cd "${S}" || die
+ dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
+ if use doc ; then
+ docinto html
+ dodoc -r doc/html/
+ fi
+}
+
+pkg_preinst() {
+ preserve_old_lib /$(get_libdir)/libncurses.so.5
+ preserve_old_lib /$(get_libdir)/libncursesw.so.5
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /$(get_libdir)/libncurses.so.5
+ preserve_old_lib_notify /$(get_libdir)/libncursesw.so.5
+}