1 |
commit: 7a6f3e5ca621a8a66a551184abfb8f1b73ff8bbf |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Thu Apr 28 20:04:10 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 21:06:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6f3e5c |
7 |
|
8 |
dev-db/sqlite: Delete old versions. |
9 |
|
10 |
dev-db/sqlite/Manifest | 24 -- |
11 |
dev-db/sqlite/files/maketcllib.sh | 40 ---- |
12 |
.../files/sqlite-3.8.1-autoconf-dlopen_check.patch | 12 - |
13 |
.../files/sqlite-3.8.1-src-dlopen_check.patch | 12 - |
14 |
.../sqlite/files/sqlite-3.8.1-tests-icu-52.patch | 49 ----- |
15 |
dev-db/sqlite/sqlite-3.10.0.ebuild | 239 -------------------- |
16 |
dev-db/sqlite/sqlite-3.10.2.ebuild | 239 -------------------- |
17 |
dev-db/sqlite/sqlite-3.11.0.ebuild | 243 --------------------- |
18 |
dev-db/sqlite/sqlite-3.8.10.1.ebuild | 210 ------------------ |
19 |
dev-db/sqlite/sqlite-3.8.10.2.ebuild | 210 ------------------ |
20 |
dev-db/sqlite/sqlite-3.8.11.1.ebuild | 216 ------------------ |
21 |
dev-db/sqlite/sqlite-3.9.1.ebuild | 225 ------------------- |
22 |
dev-db/sqlite/sqlite-3.9.2.ebuild | 225 ------------------- |
23 |
13 files changed, 1944 deletions(-) |
24 |
|
25 |
diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest |
26 |
index 340167a..c12a0b8 100644 |
27 |
--- a/dev-db/sqlite/Manifest |
28 |
+++ b/dev-db/sqlite/Manifest |
29 |
@@ -1,35 +1,11 @@ |
30 |
-DIST sqlite-autoconf-3081001.tar.gz 2049377 SHA256 5f8f2ae6461e637ff63e50fef10b6962764dfc3b81a8c0f80a19794b9d59f7ca SHA512 8e206952b351ef8a9cf523558574cba9630c8c07ef7ae90fb0712d2b99fea91742a26d0af1b01816593ea769fad343101fdbbab9c1626a4d712bb1a18b2b6b30 WHIRLPOOL 83fd822bd9eb6fedea29d968381726be24153375c06ad8c39d4ef34fd3d2e1001c8d5440880d6a880ba24242cd87782afa445ce145cdf7e75843419275136da5 |
31 |
-DIST sqlite-autoconf-3081002.tar.gz 2049387 SHA256 8382e55a4e7d853c93038562ca3dd00307937fccf1c6b65ddd813e503a56d626 SHA512 afdf11d5482a645c37cc0c4c5c2b3f8c56f26c95ee94658c92bfa0ffeb68981f67834215a45a658f733333c68f28231448e87995f9614a56f9f1672cedd13a65 WHIRLPOOL f3c7b1a11d63213a29f9dc6c04c02db9900b25dd0a8c0551bbf6d220493e7cc420d5775d99147d92c781b7f0068889e6dbeb32a10f447009341827908eee4ad8 |
32 |
-DIST sqlite-autoconf-3081101.tar.gz 2101885 SHA256 fb99b0ac038c4a7e48b44b61836cb41d4eeba36b4d0ee757beeab59031a1d3b6 SHA512 b87e3a94462c26e875833c7f83dcc453146377a403d173169e2db7198bede2467f8c480645141da678e0fd3071764558f2dd2630086964431ead25ac43212ee6 WHIRLPOOL 2045496055b02151211080110dc8fc2c474337788704a0e4db8841a1928b82d6490afa682c8d8b1bb6b9e98808d7eabf0f763a41e4768b1c21629107895bb66b |
33 |
-DIST sqlite-autoconf-3090100.tar.gz 2284128 SHA256 d89d0e1d93deafebd0aa067d20d9029d9914ccde244920d9dd09ea51944e1c6c SHA512 6465c22afa68a44b7a6e739d242d2c921147fba11c92bb3a7d0bc5b6a58bd3f85d42a1e2710f60c18c5d82e4fc6f5651255f3aebd684e0fdc69dd099337182cb WHIRLPOOL dfab45f06ed4bcadc0f4b3ba414cff679d74e32459b63580d337c02ef2621b0dad6697d88a22066b7cb9b4ac681eadc95402e157cd78befc391481a50976032b |
34 |
-DIST sqlite-autoconf-3090200.tar.gz 2284431 SHA256 064c0abe9c9177534d4c770bca7a5902f9924b629ac886b4c08956be6dfbc36b SHA512 c4fdd7dee58e2e4c83091f2a98d8099c6403a66f566be46b54d465c5a58404555fdc1d08050ca60edb6366d220407cfc7409921c123915f78a04cd9930217fa7 WHIRLPOOL c57c3a3f9a7186606a8de0f562490d6c1db27204e9799f39313ea139fabb64bfc918243a20173119bc73776dbd42fc4c316590eb3a4c4334ef669a93be819adf |
35 |
-DIST sqlite-autoconf-3100000.tar.gz 2331542 SHA256 43cc292d70711fa7580250c8a1cd7c64813a4a0a479dbd502cce5f10b5d91042 SHA512 0d34f511f386e841b60ca6354715e7196c2c3d47e0ae13f09b9ae8d0f95118104b2bd8e13697c4c97b994269c2b2e112841ab74e82a2a64c50243d8ec8d8f46e WHIRLPOOL 090ee131929573a71f3049ee9accf3e8df21dd9d6834e499baf0988cad6bd64f433ef5f05cdb0ba0a15254ced47d94591c913be5e15d0de76e4a41f391393d94 |
36 |
-DIST sqlite-autoconf-3100200.tar.gz 2332013 SHA256 a2b3b4bd1291ea7d6c8252f7edff36a4362f2f0e5d5370444ba6cbe313ae2971 SHA512 fa4e3757d76c9f0cf167481346c0844f41a3a7ea0e8fde186be7ebcc14f9b45b770386110e23860c6dcaaf1819aa12725fde7507271a0a8b59610dcc458c552f WHIRLPOOL 5bc1f324bb9fb7baa70a12e6e1519ccae7f2beef51ec48312df4a1a8890406bfbd4a9c0ee0b5a186619624763c65238fa34b88bb478c76e7a39b23c4a96eb66a |
37 |
-DIST sqlite-autoconf-3110000.tar.gz 2359347 SHA256 508d4dcbcf7a7181e95c717a1dc4ae3c0880b3d593be0c4b40abb6c3a0e201fb SHA512 208bb41e9b2a67ba5efdefe5393161996b7741a153647bd28b680a41a7d3c23f6c916bf6eede5325f507697fa92571c4982522ba9396a58e7a675564dec73865 WHIRLPOOL 9096de033729f27ccbdea0753b27a5170b1c1d7c6b016d00ad27c1a4b29dc8eabf15a1b8afcf97682f33b064552db3ceac5eb9d9612c8fd17d3602d3a592eb3d |
38 |
DIST sqlite-autoconf-3110100.tar.gz 2359545 SHA256 533ff1d0271c2e666f01591271cef01a31648563affa0c95e80ef735077d4377 SHA512 c3efd2693e6a9526a2901d9879982a421e81e7e979aef65a160e71b255339344079a1943395480d5c37a1acc6243a8d45f45fa688f7e996774da38a3a99e71a1 WHIRLPOOL b8062e2030dffd8b44cc0eba32c93312b8ae20064004c460321a4251806037fe62ec5ef83499e491cb248786b9302f0495de0c0624128d0063cbff71b77b8864 |
39 |
DIST sqlite-autoconf-3120000.tar.gz 2374101 SHA256 53ecdbb5287af673eca3710c5f6c2305e73bb2d034f2a28770bea2be92ed269e SHA512 84a9107ca9045ddc724d7e37dfe2b1dc00a106769260c7bd429a95beedc46a906985b65e0b2bf597de23dd56d132b9ef6888a8c4e5f8a731c8a5c026b971d89e WHIRLPOOL 4ec76b383670f2ee9c50870587696a3c86357161344851b487f54a03c668dac8c4272738b44e5a4048dd00bf2b3122904c53b6d2195f9b48aef3ad928f34b85b |
40 |
DIST sqlite-autoconf-3120100.tar.gz 2374576 SHA256 1c038519862b3983b0475f3ed3143ce4bbfcd21bfbd0741192f415838c831a7c SHA512 eb0b892bb6a1783df9b712d5f78c9f5fb5aa8ff1b1735fd2806e96b1c04e2a5f87b2e47469185195611a5cf6c446ec32935e9ae0b01734383a8fefc1bcaf5842 WHIRLPOOL 0284241a3fd6dbee16ba5fe4c1a0dc15b1b3134bd39ba8a2219c2da4e426e3572809459bbdc8bbf3fa4ea055406b85c547d8e7f05afcb57baa712653ce0d6f64 |
41 |
DIST sqlite-autoconf-3120200.tar.gz 2374804 SHA256 fd00770c9afd39db555c78400e52f55e8bd6568c78be23561abb472a22d09abb SHA512 e56b8d5b8fb41d27437659db669259198663c266c0b3faf44ba9b130441550fb79bd040e6488f56280b33230d9cf4e51c7906f968ffdd36206354bfabc4b6eb4 WHIRLPOOL bd1231f0cce91281c9e42338ae698a06446078d2070f4f16b5472ed4004dbf1913339a3f0e5a34d87d0e71390a130c347f3c97353967530b65b23e1492664b7e |
42 |
-DIST sqlite-doc-3081001.zip 5060040 SHA256 0b6c186a2da8b7d7397eb3942e97fd85b88734beb300702ace0dca4a3db729a6 SHA512 76caf476c98d8a0f5da55c4608bfc31235289e3ab2286089195fab86da6b5d98b2d5eb0fe7b81e3aff8f04939c9bcbfded6be22f0eeb21103478bf519e9ff78b WHIRLPOOL 5edd1d06babf19d54e326f6262d45851d43a0907adad66b130c93cf63efbfadcad6dbc98330bd4d2f80d1d528cd9088ada0727475b42005de6bcdbc4914e5d7c |
43 |
-DIST sqlite-doc-3081002.zip 5068441 SHA256 e355ec10989829d485d2df08f076f6c3f598f7fc1d45d307b4fd70d5e609e6c4 SHA512 c222b250de6c8e182da1b534f459600a81b300c87578f9484b7d6f1fbbfaad9e8be70c306d0200b163850f48c974c55ce25782fefd55672ef72f03dc0b5f8d19 WHIRLPOOL 148bbce9bc3ffb1f9101e45936ce060aa49dbc88647effabf5418fa95ccdb91a4971d171d940de3307a2d59144e73250c43f8d8d79927ac36a1e02784f143061 |
44 |
-DIST sqlite-doc-3081101.zip 5108061 SHA256 89e3fc4bce7463885da3b03602b4260fe07240f9ea674ba4ac7ce2ee4987357f SHA512 8a39e05b1647f4769126234b9759552138f3e3874bc008686ef2f9136833ddc30b3b0696222a736d604e8910a436acedc4954e46894f4adc085eb5f2b6ab9280 WHIRLPOOL f47308753f8df2c497e1bf3cd941b862d69d4f6bbabb2f0606d144966cbb186c5e1513022a5adc122939180fc6cfaa7c83a9537481cce455a83b7bf68deec9cd |
45 |
-DIST sqlite-doc-3090100.zip 5289099 SHA256 c8549a4261f74395496d1ebc4b7d36a51b2b3e57f36520d3c71052190a80ccb9 SHA512 f6d8248a6740b50a5c3cb5ab34bd3011adcec882066c203afd3da906e162a44019af4ffe485651e3ef6679610480f78e566bde46dbf2f15bf9577fcdfeec65f2 WHIRLPOOL e61ed3fba3cfd2865c2e79b3c87451f52c20037f453c90d20366317fedc8fcfb337be7d4424044171dd5bf793271bd926e9eb0ae7cfbbf7dc36cf33116f708d8 |
46 |
-DIST sqlite-doc-3090200.zip 5295693 SHA256 4b9ecb9d2b0424ca2a288184ee36fa16a11033400638117dd7c669ad2d39177c SHA512 aef3b340613eed376dca491fd25b98ced30b69454b24412cb094854c53496bddfb479293634b46f1c793377981d4094c38a6b9c3e67775b471407c4d8cc21435 WHIRLPOOL bf0a660a5fb88c50d71beb12b07cb1eb269d564817d9aaef0a5903d114af8d9d74c803346ca00dea9ac6c76a722a3d305c6303c1220cd712162325c916174cfe |
47 |
-DIST sqlite-doc-3100000.zip 5350213 SHA256 40af646d8c2109e5a15b1787e53524ed16c8e0d1705dda5f005b6186f18c2f2a SHA512 b04846e180d71c0bd3f76399f68df352ba663939a141fb1368f0099cfefb22e290ce1f5cf69eeb63a9136097c463ff9446670629f5b0662e5a230691c36e20c8 WHIRLPOOL 36802a6cb26b4f53945fcd79e5f665c0b9607ce8207fd647ac2735fb30fdba0419c0ecdfc946f74bd237fe646857bbb01a93c1e5135bd6aa13827c691d69c888 |
48 |
-DIST sqlite-doc-3100200.zip 5374707 SHA256 21637344807efb9b6c6f615fd98b72620d074c720660940182888a4dbc2af982 SHA512 188f7b982066ba6680b13966b2d6f2c466fb99bef0c5c8ee0ca1a18a6760e5a26eef43ef985f2c9031e4299c27dc91a444f113549353c3209c5b50b97015aabb WHIRLPOOL f614a00fe9cc12e97f5c1bff6af008c3eeca5aa761656b0af3a1b790bee697f8316da2b57c457eb4c252463834b51a89911b9117c7d4508d4eba85eb73780a6b |
49 |
-DIST sqlite-doc-3110000.zip 5382519 SHA256 4a942d89d5bf0aa70c0a01267a52961632b27512c293eb6452f6efe909dcec50 SHA512 1c9a17c1461bae78d34a89a7c2bc7e7108d95ece40c909835fc08a7f332823a152a7a357f83755d66307336ce116d9539ef67be44c5e11ec742721ac819fd708 WHIRLPOOL 742df247b6930062cf0904d03a9e543c1affc8f592f8675a99a95acf34501cc14b47ca9eb7ee8062f83960cfdb62b2a05656989e2438d45fe70c90c2c5ce518a |
50 |
DIST sqlite-doc-3110100.zip 5386958 SHA256 3f127c51c7936d13de96255b00a6be3862693ff025f61a1d3d17d3d57ee295d0 SHA512 b8fe71a852ce2fa3d7da27c09e3a1e8d019a9c55eb7e5516425754148f8d8a6cc88571d006768d5fd5b2c72aa513544bfc0ce4208f376099f8f08b7fee480d06 WHIRLPOOL 8cf7b3495ff184622dbf2842931d6b77061dc166c9d66e6bb6e400525c59ccc5b689b22cea45dad0fa7a7117692a1c16fea46aa4789084ce8c4de3655e973812 |
51 |
DIST sqlite-doc-3120000.zip 5402611 SHA256 346d9d56a0193d9396948192b7eca9e45c2adfeea6bbf71df62502830da510f3 SHA512 7879d006e528d692ea5718f27d03e2dfe2a5e54aa135be983b992836102720df4dc690d84795115a25ed19a663e895a3f3f8a59d0de079c451d215e07081281e WHIRLPOOL 00f5bc4b82af1ba8d43ae4d0761dacd2e608009812a12fee9aedd333baec9b36f74542c60de4acacd19f5ef898d3bd57dfb705f3b21219ba3862ca91c2f76402 |
52 |
DIST sqlite-doc-3120100.zip 5410493 SHA256 dbe53c076922c711a467dde57432583fbf9a12eac57cb75f6116a310880eb088 SHA512 d0117618d97744255248b9160816203147ba2afdb0bea5fe02d5e464541e09bc9147189317c6f849cc56059d6ae96e3e4b2a30cd8d0bc7b0e1ecacb573cfcdd4 WHIRLPOOL e3f054eda83301b9e4b5170bf9c56895756e4ac78a1c6256467c990fafccaeadec5f7ca54f1bf118bcb950f25db63df6c0972a138d36a10a0a9cfdf688eb207b |
53 |
DIST sqlite-doc-3120200.zip 5416790 SHA256 67c640c4b01b961016717db61e3e43c63c33248c78ce0de9f10b88ea7ce97670 SHA512 4ded937565b2d9b63ae55495d4b536bc0056e0d9aa7119ee54ddea127c42ba7de17986db7b85c172043fab1112132cbc126a102b248770fca6cde9a8fda438ae WHIRLPOOL 7eefecb6d0450c85ec3f30cdeb853117f4067e1bace7d3c0524e5c6cb13d2e31772211aec8562f972491da413d9bd79022bc29c16968b086562e7f17bff984eb |
54 |
-DIST sqlite-src-3081001.zip 7648823 SHA256 def6e2401c8da91b489de19d1a1734f722b4e629148ab804776d27b49ba49e7b SHA512 7604ac35eddd4aca53c02b0ab7ae7682856aec2eb4e6a9627da041ea19d464bb6080a70d84070a94abf77eb14ae616a0a8c5fe2f2a6c19fc899d1b21535d3e1a WHIRLPOOL c44e4f446d12af1f4df49e171276d853381784e979d3521cafbfdd5b5359c792586d298f3573bbda8a260b9008a4b7fcdc4ce0382fdda18574287018a2cb4f4c |
55 |
-DIST sqlite-src-3081002.zip 7648737 SHA256 fda379bc4590761838d02ac8008433b7c3eae6e120e45d639d24b09d0004b42d SHA512 99661c709ffe8d5776c3ed2c1a64c70f541b68f0c7745e3e769528273966f71eeb29e8911d42ede9420f179b7fcbda63c4d0980a9d7bc05e937d0a6deb7b814f WHIRLPOOL 4e13138a5f92f5c5fe65c8b670097b57ea778244a37a5bcabf75f86f4ac3f0bc17860f3e55833adc9adcc335b6aece396c685421b58ccb0ddca66f37edfda7fc |
56 |
-DIST sqlite-src-3081101.zip 9057103 SHA256 261ad454663f66fda6101b278bb7b3931cf01884deefbf4ea6b152f83a624662 SHA512 e84048a4a7f9c51219698b59d45c0c533ffe46ba6a20b96ca40f8066fd3825f80f963283d61dc22b2eb5bbca35db3ed4a6e13b1ab3c8b70b0af83469d2760f16 WHIRLPOOL c1add1e5a269546883e58c1666b8acdc58b16b6ad37ea546c99c8ece3348196d5ba33effb17fc773f4d49b1ee45583de7fec3fbe2f6d48e95fdfe4a802c6a824 |
57 |
-DIST sqlite-src-3090100.zip 9283333 SHA256 9a572415375d709d347c316b36c59a91818314422ef0314873a8c915e7e46204 SHA512 9f8b14f7978efc293c267cb4ef260cf83fcd0c91a6e45c0d3a1dae2fdcb998a41a2661ce0655e5295ce487501680b69dcec20712608ce8735c1bc4054362a3cc WHIRLPOOL 2e83bab66bcad91e492fd9bf2a7b4a23cbc6d5ec581c9a5e7774a68501cf36e723f72c160a6bd995191052cc9823240e64fcd8bb5a768c429380c0257792559f |
58 |
-DIST sqlite-src-3090200.zip 9284007 SHA256 d0899e14797ded1e3cfdd7280c8fb485a07c64f44559df1d0290937997c4451d SHA512 59dad1a6e6ac68b93a158b66758a529cbc1d3c0225746f5dd9acb79274e55c440be483b7796ba6da8686f448594dc13238f5e4f1a8fbedb9baf12ad9169d79f8 WHIRLPOOL cbde5d16b7540e1b1fb4c78d8c8fb978f65d022bab5e5c2448f5d81c003be19cd1905fa3108b7a8a50531755d3825e75405d42245381e6b1d61cc85b9c8b7434 |
59 |
-DIST sqlite-src-3100000.zip 9222423 SHA256 7dd893f5569f0aa2fdd4f463f1f4ee670cff3f493d880d5e365c72fcdd777566 SHA512 70f09a41e516a8152e5e3b08e4e2e2e54dbe2976c89c4dfca08efbf2124dd3f73ef1d3b49742e03ea92fb99061c1ac67e0d7ad6d327c194faec0f48a1550264e WHIRLPOOL 7ffa03e617c7d53eeccacb178f4fece689e4bf7bbdee07ab532e93fa018a977a9604ae967ca6aa325606ee69ed77a4c2e7fbb24fe1800dc94b91f84f18f6a446 |
60 |
-DIST sqlite-src-3100200.zip 9223036 SHA256 a45e1574e77951116cef6ad7eb79a683385a3a33fc78037e3cfcfd9243c4fb86 SHA512 08bd94f6fc282ab9e30e602c5eb27e0611bd7d9841f1135b037b9a3b09055f88a0351ce4973753fbd186ac912cdb2cf2e62835c67c35f9146697147bd7b7713d WHIRLPOOL 2a3de53f7eb944edb31602c121c2be518d1ce28d8b21933ac262fac7f48e803b9267ea0abbc7b578b44bc1104d65c4610a862c821f9797806fb674a7ab32729c |
61 |
-DIST sqlite-src-3110000.zip 9293025 SHA256 ac670e151222f5deee88d7883d8d509a874fe0e5df288659ada011ca8b435db0 SHA512 c83c1449e4f39f3aa22522a0ae8afa875259a7e1db7af129a7d185246567337435093d1f3a21a5038bbc97e35bb582b240ecffbe24d9fd6b60012016b9ebeecc WHIRLPOOL bcee84e44827a2a051b7d7b99e6e636373d656cf682eb12dae33bb884f4596f5223007a0e4f13993edb8da13551acb2d0957e6c53260d1ff056ac44c3fecb7d8 |
62 |
DIST sqlite-src-3110100.zip 9294249 SHA256 ade6aa93fd1d52dec0d8712f9ba4df59ecc6ec442f32ef28631c3b9341aadf97 SHA512 350c3019922a6adc1b7372f5e27c810a08f4bf576ea4e07d46bc59e1939a919d1bda1a29581f4df258f577202d79253292f719ca56ba30d1e7a1a2d801b65a48 WHIRLPOOL 3f7cc7baa7c59930e2e676d859478a68fddd392ccc4747630aa68c3909eb0b633d6031e9a998c1a741054594935dd52b3143ce05b574ff1b14f20f6ededc0a6e |
63 |
DIST sqlite-src-3120000.zip 9367749 SHA256 d891e7ffd56cd97d069a6ed99d7e85cbe655b0a97ca6b5398c7806e888642df1 SHA512 9669e33e328b826f4692725ec09e21d85f4f2c386c624a81b0535f41ca7d2f996ebf5018db8ecdfdac18cff39a881a953111801499705dfb599f00e3bb5d10e4 WHIRLPOOL 865aaecbe331ec93b1a8c5b965c3edc43d35994c2db79d336febb27860ee91d68753d3ea274b4639f3e05d3f0a589fb21aedac33bc2120a4de8d094383d7b923 |
64 |
DIST sqlite-src-3120100.zip 9368459 SHA256 49b9819683f8f7329a78d2008e3f7c4e02126b556b95e5dfe3be102b9e741cff SHA512 6d0d7230343ca460215b5764d4a546631ddc2bcfc0777051379fb4632ccf9c36a53d26eda6811823156be166643c001c994a0f52498c6196ed13b34e931d55e1 WHIRLPOOL e41fd7a1ba870efb5421657975990c1d7e1ecc27023882771474a62e82b2ae305bc3d0b8556e0627de886d35e1b375fec223b3f70582d64fc5345c525b293131 |
65 |
|
66 |
diff --git a/dev-db/sqlite/files/maketcllib.sh b/dev-db/sqlite/files/maketcllib.sh |
67 |
deleted file mode 100644 |
68 |
index ad87ce1..0000000 |
69 |
--- a/dev-db/sqlite/files/maketcllib.sh |
70 |
+++ /dev/null |
71 |
@@ -1,40 +0,0 @@ |
72 |
-#!/bin/bash |
73 |
-# |
74 |
-# This script was adapted from the one used by Hwaci to build it's |
75 |
-# documentation and binaries for shipping to their website. |
76 |
-# |
77 |
-# Any similarity to the original has probably been trampled into |
78 |
-# oblivion modifying everything for Gentoo. |
79 |
-# |
80 |
-echo "Starting TCL Build" |
81 |
- |
82 |
-# Set srcdir to the name of the directory that contains the publish.sh |
83 |
-# script. |
84 |
-# |
85 |
-srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'` |
86 |
- |
87 |
-# |
88 |
-# Build the tclsqlite.so shared library for import into tclsh or wish |
89 |
-# under Linux |
90 |
-# |
91 |
-make target_source |
92 |
-source /etc/make.conf |
93 |
-cd tsrc |
94 |
-rm shell.c |
95 |
- |
96 |
-OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1' |
97 |
-TCLSTUBLIB=${TCL_BUILD_STUB_LIB_PATH} |
98 |
- |
99 |
-export CFLAGS |
100 |
-gcc -fPIC $CFLAGS $OPTS -I. -shared *.c $TCLSTUBLIB -o tclsqlite.so |
101 |
- |
102 |
-strip tclsqlite.so |
103 |
-cp tclsqlite.so .. |
104 |
- |
105 |
-cd .. |
106 |
- |
107 |
-echo "pkg_mkIndex [pwd] tclsqlite.so" >> make_pkgIndex.tcl |
108 |
-tclsh make_pkgIndex.tcl |
109 |
- |
110 |
-echo "Done TCL Build" |
111 |
- |
112 |
|
113 |
diff --git a/dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch b/dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch |
114 |
deleted file mode 100644 |
115 |
index bd55a07..0000000 |
116 |
--- a/dev-db/sqlite/files/sqlite-3.8.1-autoconf-dlopen_check.patch |
117 |
+++ /dev/null |
118 |
@@ -1,12 +0,0 @@ |
119 |
---- configure.ac |
120 |
-+++ configure.ac |
121 |
-@@ -70,6 +70,9 @@ |
122 |
- [], [enable_dynamic_extensions=yes]) |
123 |
- if test x"$enable_dynamic_extensions" != "xno"; then |
124 |
- AC_SEARCH_LIBS(dlopen, dl) |
125 |
-+ if test "${ac_cv_search_dlopen}" = "no" ; then |
126 |
-+ DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1 |
127 |
-+ fi |
128 |
- else |
129 |
- DYNAMIC_EXTENSION_FLAGS=-DSQLITE_OMIT_LOAD_EXTENSION=1 |
130 |
- fi |
131 |
|
132 |
diff --git a/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch b/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch |
133 |
deleted file mode 100644 |
134 |
index 0c5b48d..0000000 |
135 |
--- a/dev-db/sqlite/files/sqlite-3.8.1-src-dlopen_check.patch |
136 |
+++ /dev/null |
137 |
@@ -1,12 +0,0 @@ |
138 |
---- configure.ac |
139 |
-+++ configure.ac |
140 |
-@@ -611,6 +611,9 @@ |
141 |
- if test "${use_loadextension}" = "yes" ; then |
142 |
- OPT_FEATURE_FLAGS="" |
143 |
- AC_SEARCH_LIBS(dlopen, dl) |
144 |
-+ if test "${ac_cv_search_dlopen}" = "no" ; then |
145 |
-+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1" |
146 |
-+ fi |
147 |
- else |
148 |
- OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1" |
149 |
- fi |
150 |
|
151 |
diff --git a/dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch b/dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch |
152 |
deleted file mode 100644 |
153 |
index c6cbb33..0000000 |
154 |
--- a/dev-db/sqlite/files/sqlite-3.8.1-tests-icu-52.patch |
155 |
+++ /dev/null |
156 |
@@ -1,49 +0,0 @@ |
157 |
---- test/fts4unicode.test |
158 |
-+++ test/fts4unicode.test |
159 |
-@@ -366,27 +366,26 @@ |
160 |
- do_isspace_test 6.$T.1 $T 32 |
161 |
- do_isspace_test 6.$T.2 $T 160 |
162 |
- do_isspace_test 6.$T.3 $T 5760 |
163 |
-- do_isspace_test 6.$T.4 $T 6158 |
164 |
-- do_isspace_test 6.$T.5 $T 8192 |
165 |
-- do_isspace_test 6.$T.6 $T 8193 |
166 |
-- do_isspace_test 6.$T.7 $T 8194 |
167 |
-- do_isspace_test 6.$T.8 $T 8195 |
168 |
-- do_isspace_test 6.$T.9 $T 8196 |
169 |
-- do_isspace_test 6.$T.10 $T 8197 |
170 |
-- do_isspace_test 6.$T.11 $T 8198 |
171 |
-- do_isspace_test 6.$T.12 $T 8199 |
172 |
-- do_isspace_test 6.$T.13 $T 8200 |
173 |
-- do_isspace_test 6.$T.14 $T 8201 |
174 |
-- do_isspace_test 6.$T.15 $T 8202 |
175 |
-- do_isspace_test 6.$T.16 $T 8239 |
176 |
-- do_isspace_test 6.$T.17 $T 8287 |
177 |
-- do_isspace_test 6.$T.18 $T 12288 |
178 |
-+ do_isspace_test 6.$T.4 $T 8192 |
179 |
-+ do_isspace_test 6.$T.5 $T 8193 |
180 |
-+ do_isspace_test 6.$T.6 $T 8194 |
181 |
-+ do_isspace_test 6.$T.7 $T 8195 |
182 |
-+ do_isspace_test 6.$T.8 $T 8196 |
183 |
-+ do_isspace_test 6.$T.9 $T 8197 |
184 |
-+ do_isspace_test 6.$T.10 $T 8198 |
185 |
-+ do_isspace_test 6.$T.11 $T 8199 |
186 |
-+ do_isspace_test 6.$T.12 $T 8200 |
187 |
-+ do_isspace_test 6.$T.13 $T 8201 |
188 |
-+ do_isspace_test 6.$T.14 $T 8202 |
189 |
-+ do_isspace_test 6.$T.15 $T 8239 |
190 |
-+ do_isspace_test 6.$T.16 $T 8287 |
191 |
-+ do_isspace_test 6.$T.17 $T 12288 |
192 |
- |
193 |
-- do_isspace_test 6.$T.19 $T {32 160 5760 6158} |
194 |
-- do_isspace_test 6.$T.20 $T {8192 8193 8194 8195} |
195 |
-- do_isspace_test 6.$T.21 $T {8196 8197 8198 8199} |
196 |
-- do_isspace_test 6.$T.22 $T {8200 8201 8202 8239} |
197 |
-- do_isspace_test 6.$T.23 $T {8287 12288} |
198 |
-+ do_isspace_test 6.$T.18 $T {32 160 5760} |
199 |
-+ do_isspace_test 6.$T.19 $T {8192 8193 8194 8195} |
200 |
-+ do_isspace_test 6.$T.20 $T {8196 8197 8198 8199} |
201 |
-+ do_isspace_test 6.$T.21 $T {8200 8201 8202 8239} |
202 |
-+ do_isspace_test 6.$T.22 $T {8287 12288} |
203 |
- } |
204 |
- |
205 |
- #------------------------------------------------------------------------- |
206 |
|
207 |
diff --git a/dev-db/sqlite/sqlite-3.10.0.ebuild b/dev-db/sqlite/sqlite-3.10.0.ebuild |
208 |
deleted file mode 100644 |
209 |
index af7620d..0000000 |
210 |
--- a/dev-db/sqlite/sqlite-3.10.0.ebuild |
211 |
+++ /dev/null |
212 |
@@ -1,239 +0,0 @@ |
213 |
-# Copyright 1999-2016 Gentoo Foundation |
214 |
-# Distributed under the terms of the GNU General Public License v2 |
215 |
-# $Id$ |
216 |
- |
217 |
-EAPI="5" |
218 |
- |
219 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
220 |
- |
221 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
222 |
-DOC_PV="${SRC_PV}" |
223 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
224 |
- |
225 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
226 |
-HOMEPAGE="http://sqlite.org/" |
227 |
-SRC_URI="doc? ( http://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip ) |
228 |
- tcl? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
229 |
- test? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
230 |
- tools? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
231 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2016/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
232 |
- |
233 |
-LICENSE="public-domain" |
234 |
-SLOT="3" |
235 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
236 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
237 |
- |
238 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
239 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
240 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
241 |
- tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
242 |
- abi_x86_32? ( |
243 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
244 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
245 |
- )" |
246 |
-DEPEND="${RDEPEND} |
247 |
- doc? ( app-arch/unzip ) |
248 |
- tcl? ( app-arch/unzip ) |
249 |
- test? ( |
250 |
- app-arch/unzip |
251 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
252 |
- ) |
253 |
- tools? ( app-arch/unzip )" |
254 |
- |
255 |
-full_tarball() { |
256 |
- use tcl || use test || use tools |
257 |
-} |
258 |
- |
259 |
-pkg_setup() { |
260 |
- if full_tarball; then |
261 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
262 |
- else |
263 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
264 |
- fi |
265 |
-} |
266 |
- |
267 |
-src_prepare() { |
268 |
- if full_tarball; then |
269 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
270 |
- |
271 |
- # Increase timeout for fuzzcheck from 120 s to 3600 s. |
272 |
- # (iTimeout in test/fuzzcheck.c:main) |
273 |
- sed -e "/\.\/fuzzcheck\$(TEXE)/s/\$(FUZZDATA)/--timeout 3600 &/" -i Makefile.in || die "sed failed" |
274 |
- |
275 |
- # Fix shell1-5.0 test. |
276 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
277 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
278 |
- |
279 |
- # Fix vtabH-2.0.2.2 and vtabH-2.0.3.2 tests. |
280 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-January/002722.html |
281 |
- # http://sqlite.org/src/info/19c1f4483e3df7fa |
282 |
- sed -e "s/\(db func [^ ]\+\) \([^ ]\+\)/\1 -argcount 2 \2/" -i test/vtabH.test |
283 |
- else |
284 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
285 |
- fi |
286 |
- |
287 |
- eautoreconf |
288 |
- |
289 |
- multilib_copy_sources |
290 |
-} |
291 |
- |
292 |
-multilib_src_configure() { |
293 |
- local CPPFLAGS="${CPPFLAGS}" options=() |
294 |
- |
295 |
- options+=( |
296 |
- --enable-$(full_tarball && echo load-extension || echo dynamic-extensions) |
297 |
- --enable-threadsafe |
298 |
- ) |
299 |
- if ! full_tarball; then |
300 |
- options+=(--disable-static-shell) |
301 |
- fi |
302 |
- |
303 |
- # Support detection of misuse of SQLite API. |
304 |
- # http://sqlite.org/compile.html#enable_api_armor |
305 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
306 |
- |
307 |
- # Support column metadata functions. |
308 |
- # http://sqlite.org/c3ref/column_database_name.html |
309 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
310 |
- |
311 |
- # Support dbstat virtual table. |
312 |
- # http://sqlite.org/dbstat.html |
313 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
314 |
- |
315 |
- # Support Full-Text Search versions 3, 4 and 5. |
316 |
- # http://sqlite.org/fts3.html |
317 |
- # http://sqlite.org/fts5.html |
318 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
319 |
- options+=(--enable-fts5) |
320 |
- |
321 |
- # Support hidden columns. |
322 |
- append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS |
323 |
- |
324 |
- # Support JSON1 extension. |
325 |
- # http://sqlite.org/json1.html |
326 |
- append-cppflags -DSQLITE_ENABLE_JSON1 |
327 |
- |
328 |
- # Support Resumable Bulk Update extension. |
329 |
- # http://sqlite.org/rbu.html |
330 |
- append-cppflags -DSQLITE_ENABLE_RBU |
331 |
- |
332 |
- # Support R*Trees. |
333 |
- # http://sqlite.org/rtree.html |
334 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
335 |
- |
336 |
- # Support scan status functions. |
337 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
338 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
339 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
340 |
- |
341 |
- # Support unlock notification. |
342 |
- # http://sqlite.org/unlock_notify.html |
343 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
344 |
- |
345 |
- # Support soundex() function. |
346 |
- # http://sqlite.org/lang_corefunc.html#soundex |
347 |
- append-cppflags -DSQLITE_SOUNDEX |
348 |
- |
349 |
- # debug USE flag. |
350 |
- if full_tarball; then |
351 |
- options+=($(use_enable debug)) |
352 |
- else |
353 |
- if use debug; then |
354 |
- append-cppflags -DSQLITE_DEBUG |
355 |
- else |
356 |
- append-cppflags -DNDEBUG |
357 |
- fi |
358 |
- fi |
359 |
- |
360 |
- # icu USE flag. |
361 |
- if use icu; then |
362 |
- # Support ICU extension. |
363 |
- # http://sqlite.org/compile.html#enable_icu |
364 |
- append-cppflags -DSQLITE_ENABLE_ICU |
365 |
- if full_tarball; then |
366 |
- sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
367 |
- else |
368 |
- sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
369 |
- fi |
370 |
- fi |
371 |
- |
372 |
- # readline USE flag. |
373 |
- options+=( |
374 |
- --disable-editline |
375 |
- $(use_enable readline) |
376 |
- ) |
377 |
- if full_tarball && use readline; then |
378 |
- options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline") |
379 |
- fi |
380 |
- |
381 |
- # secure-delete USE flag. |
382 |
- if use secure-delete; then |
383 |
- # Enable secure_delete pragma by default. |
384 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
385 |
- append-cppflags -DSQLITE_SECURE_DELETE |
386 |
- fi |
387 |
- |
388 |
- # static-libs USE flag. |
389 |
- options+=($(use_enable static-libs static)) |
390 |
- |
391 |
- # tcl, test, tools USE flags. |
392 |
- if full_tarball; then |
393 |
- options+=(--enable-tcl) |
394 |
- fi |
395 |
- |
396 |
- if [[ "${CHOST}" == *-mint* ]]; then |
397 |
- append-cppflags -DSQLITE_OMIT_WAL |
398 |
- fi |
399 |
- |
400 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
401 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
402 |
- append-cppflags -DUSE_PREAD |
403 |
- fi |
404 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
405 |
- append-cppflags -DUSE_PREAD64 |
406 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
407 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
408 |
- fi |
409 |
- |
410 |
- econf "${options[@]}" |
411 |
-} |
412 |
- |
413 |
-multilib_src_compile() { |
414 |
- emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
415 |
- |
416 |
- if use tools && multilib_is_native_abi; then |
417 |
- emake showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer |
418 |
- fi |
419 |
-} |
420 |
- |
421 |
-multilib_src_test() { |
422 |
- if [[ "${EUID}" -eq 0 ]]; then |
423 |
- ewarn "Skipping tests due to root permissions" |
424 |
- return |
425 |
- fi |
426 |
- |
427 |
- emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test) |
428 |
-} |
429 |
- |
430 |
-multilib_src_install() { |
431 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
432 |
- |
433 |
- if use tools && multilib_is_native_abi; then |
434 |
- newbin showdb sqlite3-show-db |
435 |
- newbin showjournal sqlite3-show-journal |
436 |
- newbin showstat4 sqlite3-show-stat4 |
437 |
- newbin showwal sqlite3-show-wal |
438 |
- newbin sqldiff sqlite3-diff |
439 |
- newbin sqlite3_analyzer sqlite3-analyzer |
440 |
- fi |
441 |
-} |
442 |
- |
443 |
-multilib_src_install_all() { |
444 |
- prune_libtool_files |
445 |
- |
446 |
- doman sqlite3.1 |
447 |
- |
448 |
- if use doc; then |
449 |
- dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
450 |
- fi |
451 |
-} |
452 |
|
453 |
diff --git a/dev-db/sqlite/sqlite-3.10.2.ebuild b/dev-db/sqlite/sqlite-3.10.2.ebuild |
454 |
deleted file mode 100644 |
455 |
index af7620d..0000000 |
456 |
--- a/dev-db/sqlite/sqlite-3.10.2.ebuild |
457 |
+++ /dev/null |
458 |
@@ -1,239 +0,0 @@ |
459 |
-# Copyright 1999-2016 Gentoo Foundation |
460 |
-# Distributed under the terms of the GNU General Public License v2 |
461 |
-# $Id$ |
462 |
- |
463 |
-EAPI="5" |
464 |
- |
465 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
466 |
- |
467 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
468 |
-DOC_PV="${SRC_PV}" |
469 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
470 |
- |
471 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
472 |
-HOMEPAGE="http://sqlite.org/" |
473 |
-SRC_URI="doc? ( http://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip ) |
474 |
- tcl? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
475 |
- test? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
476 |
- tools? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
477 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2016/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
478 |
- |
479 |
-LICENSE="public-domain" |
480 |
-SLOT="3" |
481 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
482 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
483 |
- |
484 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
485 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
486 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
487 |
- tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
488 |
- abi_x86_32? ( |
489 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
490 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
491 |
- )" |
492 |
-DEPEND="${RDEPEND} |
493 |
- doc? ( app-arch/unzip ) |
494 |
- tcl? ( app-arch/unzip ) |
495 |
- test? ( |
496 |
- app-arch/unzip |
497 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
498 |
- ) |
499 |
- tools? ( app-arch/unzip )" |
500 |
- |
501 |
-full_tarball() { |
502 |
- use tcl || use test || use tools |
503 |
-} |
504 |
- |
505 |
-pkg_setup() { |
506 |
- if full_tarball; then |
507 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
508 |
- else |
509 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
510 |
- fi |
511 |
-} |
512 |
- |
513 |
-src_prepare() { |
514 |
- if full_tarball; then |
515 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
516 |
- |
517 |
- # Increase timeout for fuzzcheck from 120 s to 3600 s. |
518 |
- # (iTimeout in test/fuzzcheck.c:main) |
519 |
- sed -e "/\.\/fuzzcheck\$(TEXE)/s/\$(FUZZDATA)/--timeout 3600 &/" -i Makefile.in || die "sed failed" |
520 |
- |
521 |
- # Fix shell1-5.0 test. |
522 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
523 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
524 |
- |
525 |
- # Fix vtabH-2.0.2.2 and vtabH-2.0.3.2 tests. |
526 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2016-January/002722.html |
527 |
- # http://sqlite.org/src/info/19c1f4483e3df7fa |
528 |
- sed -e "s/\(db func [^ ]\+\) \([^ ]\+\)/\1 -argcount 2 \2/" -i test/vtabH.test |
529 |
- else |
530 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
531 |
- fi |
532 |
- |
533 |
- eautoreconf |
534 |
- |
535 |
- multilib_copy_sources |
536 |
-} |
537 |
- |
538 |
-multilib_src_configure() { |
539 |
- local CPPFLAGS="${CPPFLAGS}" options=() |
540 |
- |
541 |
- options+=( |
542 |
- --enable-$(full_tarball && echo load-extension || echo dynamic-extensions) |
543 |
- --enable-threadsafe |
544 |
- ) |
545 |
- if ! full_tarball; then |
546 |
- options+=(--disable-static-shell) |
547 |
- fi |
548 |
- |
549 |
- # Support detection of misuse of SQLite API. |
550 |
- # http://sqlite.org/compile.html#enable_api_armor |
551 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
552 |
- |
553 |
- # Support column metadata functions. |
554 |
- # http://sqlite.org/c3ref/column_database_name.html |
555 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
556 |
- |
557 |
- # Support dbstat virtual table. |
558 |
- # http://sqlite.org/dbstat.html |
559 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
560 |
- |
561 |
- # Support Full-Text Search versions 3, 4 and 5. |
562 |
- # http://sqlite.org/fts3.html |
563 |
- # http://sqlite.org/fts5.html |
564 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
565 |
- options+=(--enable-fts5) |
566 |
- |
567 |
- # Support hidden columns. |
568 |
- append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS |
569 |
- |
570 |
- # Support JSON1 extension. |
571 |
- # http://sqlite.org/json1.html |
572 |
- append-cppflags -DSQLITE_ENABLE_JSON1 |
573 |
- |
574 |
- # Support Resumable Bulk Update extension. |
575 |
- # http://sqlite.org/rbu.html |
576 |
- append-cppflags -DSQLITE_ENABLE_RBU |
577 |
- |
578 |
- # Support R*Trees. |
579 |
- # http://sqlite.org/rtree.html |
580 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
581 |
- |
582 |
- # Support scan status functions. |
583 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
584 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
585 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
586 |
- |
587 |
- # Support unlock notification. |
588 |
- # http://sqlite.org/unlock_notify.html |
589 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
590 |
- |
591 |
- # Support soundex() function. |
592 |
- # http://sqlite.org/lang_corefunc.html#soundex |
593 |
- append-cppflags -DSQLITE_SOUNDEX |
594 |
- |
595 |
- # debug USE flag. |
596 |
- if full_tarball; then |
597 |
- options+=($(use_enable debug)) |
598 |
- else |
599 |
- if use debug; then |
600 |
- append-cppflags -DSQLITE_DEBUG |
601 |
- else |
602 |
- append-cppflags -DNDEBUG |
603 |
- fi |
604 |
- fi |
605 |
- |
606 |
- # icu USE flag. |
607 |
- if use icu; then |
608 |
- # Support ICU extension. |
609 |
- # http://sqlite.org/compile.html#enable_icu |
610 |
- append-cppflags -DSQLITE_ENABLE_ICU |
611 |
- if full_tarball; then |
612 |
- sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
613 |
- else |
614 |
- sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
615 |
- fi |
616 |
- fi |
617 |
- |
618 |
- # readline USE flag. |
619 |
- options+=( |
620 |
- --disable-editline |
621 |
- $(use_enable readline) |
622 |
- ) |
623 |
- if full_tarball && use readline; then |
624 |
- options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline") |
625 |
- fi |
626 |
- |
627 |
- # secure-delete USE flag. |
628 |
- if use secure-delete; then |
629 |
- # Enable secure_delete pragma by default. |
630 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
631 |
- append-cppflags -DSQLITE_SECURE_DELETE |
632 |
- fi |
633 |
- |
634 |
- # static-libs USE flag. |
635 |
- options+=($(use_enable static-libs static)) |
636 |
- |
637 |
- # tcl, test, tools USE flags. |
638 |
- if full_tarball; then |
639 |
- options+=(--enable-tcl) |
640 |
- fi |
641 |
- |
642 |
- if [[ "${CHOST}" == *-mint* ]]; then |
643 |
- append-cppflags -DSQLITE_OMIT_WAL |
644 |
- fi |
645 |
- |
646 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
647 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
648 |
- append-cppflags -DUSE_PREAD |
649 |
- fi |
650 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
651 |
- append-cppflags -DUSE_PREAD64 |
652 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
653 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
654 |
- fi |
655 |
- |
656 |
- econf "${options[@]}" |
657 |
-} |
658 |
- |
659 |
-multilib_src_compile() { |
660 |
- emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
661 |
- |
662 |
- if use tools && multilib_is_native_abi; then |
663 |
- emake showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer |
664 |
- fi |
665 |
-} |
666 |
- |
667 |
-multilib_src_test() { |
668 |
- if [[ "${EUID}" -eq 0 ]]; then |
669 |
- ewarn "Skipping tests due to root permissions" |
670 |
- return |
671 |
- fi |
672 |
- |
673 |
- emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test) |
674 |
-} |
675 |
- |
676 |
-multilib_src_install() { |
677 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
678 |
- |
679 |
- if use tools && multilib_is_native_abi; then |
680 |
- newbin showdb sqlite3-show-db |
681 |
- newbin showjournal sqlite3-show-journal |
682 |
- newbin showstat4 sqlite3-show-stat4 |
683 |
- newbin showwal sqlite3-show-wal |
684 |
- newbin sqldiff sqlite3-diff |
685 |
- newbin sqlite3_analyzer sqlite3-analyzer |
686 |
- fi |
687 |
-} |
688 |
- |
689 |
-multilib_src_install_all() { |
690 |
- prune_libtool_files |
691 |
- |
692 |
- doman sqlite3.1 |
693 |
- |
694 |
- if use doc; then |
695 |
- dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
696 |
- fi |
697 |
-} |
698 |
|
699 |
diff --git a/dev-db/sqlite/sqlite-3.11.0.ebuild b/dev-db/sqlite/sqlite-3.11.0.ebuild |
700 |
deleted file mode 100644 |
701 |
index f73b1ad..0000000 |
702 |
--- a/dev-db/sqlite/sqlite-3.11.0.ebuild |
703 |
+++ /dev/null |
704 |
@@ -1,243 +0,0 @@ |
705 |
-# Copyright 1999-2016 Gentoo Foundation |
706 |
-# Distributed under the terms of the GNU General Public License v2 |
707 |
-# $Id$ |
708 |
- |
709 |
-EAPI="5" |
710 |
- |
711 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
712 |
- |
713 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
714 |
-DOC_PV="${SRC_PV}" |
715 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
716 |
- |
717 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
718 |
-HOMEPAGE="http://sqlite.org/" |
719 |
-SRC_URI="doc? ( http://sqlite.org/2016/${PN}-doc-${DOC_PV}.zip ) |
720 |
- tcl? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
721 |
- test? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
722 |
- tools? ( http://sqlite.org/2016/${PN}-src-${SRC_PV}.zip ) |
723 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2016/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
724 |
- |
725 |
-LICENSE="public-domain" |
726 |
-SLOT="3" |
727 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
728 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
729 |
- |
730 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
731 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
732 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
733 |
- tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
734 |
- abi_x86_32? ( |
735 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
736 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
737 |
- )" |
738 |
-DEPEND="${RDEPEND} |
739 |
- doc? ( app-arch/unzip ) |
740 |
- tcl? ( app-arch/unzip ) |
741 |
- test? ( |
742 |
- app-arch/unzip |
743 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
744 |
- ) |
745 |
- tools? ( app-arch/unzip )" |
746 |
- |
747 |
-full_tarball() { |
748 |
- use tcl || use test || use tools |
749 |
-} |
750 |
- |
751 |
-pkg_setup() { |
752 |
- if full_tarball; then |
753 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
754 |
- else |
755 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
756 |
- fi |
757 |
-} |
758 |
- |
759 |
-src_prepare() { |
760 |
- if full_tarball; then |
761 |
- epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-build.patch" |
762 |
- epatch "${FILESDIR}/${PN}-3.11.0-full_tarball-SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER.patch" |
763 |
- |
764 |
- # Fix shell1-5.0 test. |
765 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
766 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
767 |
- else |
768 |
- epatch "${FILESDIR}/${PN}-3.11.0-nonfull_tarball-build.patch" |
769 |
- epatch "${FILESDIR}/${PN}-3.11.0-nonfull_tarball-SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER.patch" |
770 |
- fi |
771 |
- |
772 |
- eautoreconf |
773 |
- |
774 |
- multilib_copy_sources |
775 |
-} |
776 |
- |
777 |
-multilib_src_configure() { |
778 |
- local CPPFLAGS="${CPPFLAGS}" options=() |
779 |
- |
780 |
- options+=( |
781 |
- --enable-$(full_tarball && echo load-extension || echo dynamic-extensions) |
782 |
- --enable-threadsafe |
783 |
- ) |
784 |
- if ! full_tarball; then |
785 |
- options+=(--disable-static-shell) |
786 |
- fi |
787 |
- |
788 |
- # Support detection of misuse of SQLite API. |
789 |
- # http://sqlite.org/compile.html#enable_api_armor |
790 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
791 |
- |
792 |
- # Support column metadata functions. |
793 |
- # http://sqlite.org/c3ref/column_database_name.html |
794 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
795 |
- |
796 |
- # Support dbstat virtual table. |
797 |
- # http://sqlite.org/dbstat.html |
798 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
799 |
- |
800 |
- # Support Full-Text Search versions 3, 4 and 5. |
801 |
- # http://sqlite.org/fts3.html |
802 |
- # http://sqlite.org/fts5.html |
803 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
804 |
- options+=(--enable-fts5) |
805 |
- |
806 |
- # Support hidden columns. |
807 |
- append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS |
808 |
- |
809 |
- # Support JSON1 extension. |
810 |
- # http://sqlite.org/json1.html |
811 |
- append-cppflags -DSQLITE_ENABLE_JSON1 |
812 |
- |
813 |
- # Support Resumable Bulk Update extension. |
814 |
- # http://sqlite.org/rbu.html |
815 |
- append-cppflags -DSQLITE_ENABLE_RBU |
816 |
- |
817 |
- # Support R*Trees. |
818 |
- # http://sqlite.org/rtree.html |
819 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
820 |
- |
821 |
- # Support scan status functions. |
822 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
823 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
824 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
825 |
- |
826 |
- # Support unlock notification. |
827 |
- # http://sqlite.org/unlock_notify.html |
828 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
829 |
- |
830 |
- # Support soundex() function. |
831 |
- # http://sqlite.org/lang_corefunc.html#soundex |
832 |
- append-cppflags -DSQLITE_SOUNDEX |
833 |
- |
834 |
- # debug USE flag. |
835 |
- if full_tarball; then |
836 |
- options+=($(use_enable debug)) |
837 |
- else |
838 |
- if use debug; then |
839 |
- append-cppflags -DSQLITE_DEBUG |
840 |
- else |
841 |
- append-cppflags -DNDEBUG |
842 |
- fi |
843 |
- fi |
844 |
- |
845 |
- # icu USE flag. |
846 |
- if use icu; then |
847 |
- # Support ICU extension. |
848 |
- # http://sqlite.org/compile.html#enable_icu |
849 |
- append-cppflags -DSQLITE_ENABLE_ICU |
850 |
- if full_tarball; then |
851 |
- sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
852 |
- else |
853 |
- sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
854 |
- fi |
855 |
- fi |
856 |
- |
857 |
- # readline USE flag. |
858 |
- options+=( |
859 |
- --disable-editline |
860 |
- $(use_enable readline) |
861 |
- ) |
862 |
- if full_tarball && use readline; then |
863 |
- options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline") |
864 |
- fi |
865 |
- |
866 |
- # secure-delete USE flag. |
867 |
- if use secure-delete; then |
868 |
- # Enable secure_delete pragma by default. |
869 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
870 |
- append-cppflags -DSQLITE_SECURE_DELETE |
871 |
- fi |
872 |
- |
873 |
- # static-libs USE flag. |
874 |
- options+=($(use_enable static-libs static)) |
875 |
- |
876 |
- # tcl, test, tools USE flags. |
877 |
- if full_tarball; then |
878 |
- options+=(--enable-tcl) |
879 |
- fi |
880 |
- |
881 |
- if [[ "${CHOST}" == *-mint* ]]; then |
882 |
- append-cppflags -DSQLITE_OMIT_WAL |
883 |
- fi |
884 |
- |
885 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
886 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
887 |
- append-cppflags -DUSE_PREAD |
888 |
- fi |
889 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
890 |
- append-cppflags -DUSE_PREAD64 |
891 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
892 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
893 |
- fi |
894 |
- |
895 |
- econf "${options[@]}" |
896 |
-} |
897 |
- |
898 |
-multilib_src_compile() { |
899 |
- emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
900 |
- |
901 |
- if use tools && multilib_is_native_abi; then |
902 |
- emake rbu showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer |
903 |
- fi |
904 |
-} |
905 |
- |
906 |
-multilib_src_test() { |
907 |
- if [[ "${EUID}" -eq 0 ]]; then |
908 |
- ewarn "Skipping tests due to root permissions" |
909 |
- return |
910 |
- fi |
911 |
- |
912 |
- emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test) |
913 |
-} |
914 |
- |
915 |
-multilib_src_install() { |
916 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
917 |
- |
918 |
- if use tools && multilib_is_native_abi; then |
919 |
- install_tool() { |
920 |
- if [[ -f ".libs/${1}" ]]; then |
921 |
- newbin ".libs/${1}" "${2}" |
922 |
- else |
923 |
- newbin "${1}" "${2}" |
924 |
- fi |
925 |
- } |
926 |
- |
927 |
- install_tool rbu sqlite3-rbu |
928 |
- install_tool showdb sqlite3-show-db |
929 |
- install_tool showjournal sqlite3-show-journal |
930 |
- install_tool showstat4 sqlite3-show-stat4 |
931 |
- install_tool showwal sqlite3-show-wal |
932 |
- install_tool sqldiff sqlite3-diff |
933 |
- install_tool sqlite3_analyzer sqlite3-analyzer |
934 |
- |
935 |
- unset -f install_tool |
936 |
- fi |
937 |
-} |
938 |
- |
939 |
-multilib_src_install_all() { |
940 |
- prune_libtool_files |
941 |
- |
942 |
- doman sqlite3.1 |
943 |
- |
944 |
- if use doc; then |
945 |
- dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
946 |
- fi |
947 |
-} |
948 |
|
949 |
diff --git a/dev-db/sqlite/sqlite-3.8.10.1.ebuild b/dev-db/sqlite/sqlite-3.8.10.1.ebuild |
950 |
deleted file mode 100644 |
951 |
index 2d69088..0000000 |
952 |
--- a/dev-db/sqlite/sqlite-3.8.10.1.ebuild |
953 |
+++ /dev/null |
954 |
@@ -1,210 +0,0 @@ |
955 |
-# Copyright 1999-2015 Gentoo Foundation |
956 |
-# Distributed under the terms of the GNU General Public License v2 |
957 |
-# $Id$ |
958 |
- |
959 |
-EAPI="5" |
960 |
- |
961 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
962 |
- |
963 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
964 |
-DOC_PV="${SRC_PV}" |
965 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
966 |
- |
967 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
968 |
-HOMEPAGE="http://sqlite.org/" |
969 |
-SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip ) |
970 |
- tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
971 |
- test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
972 |
- tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
973 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
974 |
- |
975 |
-LICENSE="public-domain" |
976 |
-SLOT="3" |
977 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
978 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
979 |
- |
980 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
981 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
982 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
983 |
- abi_x86_32? ( |
984 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
985 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
986 |
- )" |
987 |
-DEPEND="${RDEPEND} |
988 |
- doc? ( app-arch/unzip ) |
989 |
- tcl? ( app-arch/unzip ) |
990 |
- test? ( |
991 |
- app-arch/unzip |
992 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
993 |
- ) |
994 |
- tools? ( dev-lang/tcl:0 )" |
995 |
- |
996 |
-amalgamation() { |
997 |
- ! use tcl && ! use test && ! use tools |
998 |
-} |
999 |
- |
1000 |
-pkg_setup() { |
1001 |
- if amalgamation; then |
1002 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
1003 |
- else |
1004 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
1005 |
- fi |
1006 |
-} |
1007 |
- |
1008 |
-src_prepare() { |
1009 |
- if amalgamation; then |
1010 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
1011 |
- |
1012 |
- # http://www.sqlite.org/cgi/src/info/85bfa9a67f997084 |
1013 |
- sed \ |
1014 |
- -e "s/^sqlite3_SOURCES = shell.c sqlite3.h$/sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h/" \ |
1015 |
- -e "s/^sqlite3_LDADD = sqlite3.\$(OBJEXT) @READLINE_LIBS@$/sqlite3_LDADD = @READLINE_LIBS@\nsqlite3_CFLAGS = \$(AM_CFLAGS)/" \ |
1016 |
- -i Makefile.am |
1017 |
- else |
1018 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
1019 |
- epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch" |
1020 |
- |
1021 |
- # Fix shell1-5.0 test. |
1022 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
1023 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
1024 |
- fi |
1025 |
- |
1026 |
- eautoreconf |
1027 |
- |
1028 |
- # At least ppc-aix, x86-interix and *-solaris need newer libtool. |
1029 |
- # use prefix && eautoreconf |
1030 |
- |
1031 |
- if use icu; then |
1032 |
- if amalgamation; then |
1033 |
- sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1034 |
- else |
1035 |
- sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1036 |
- fi |
1037 |
- fi |
1038 |
- |
1039 |
- multilib_copy_sources |
1040 |
-} |
1041 |
- |
1042 |
-src_configure() { |
1043 |
- # `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag. |
1044 |
- if amalgamation; then |
1045 |
- if use debug; then |
1046 |
- append-cppflags -DSQLITE_DEBUG |
1047 |
- else |
1048 |
- append-cppflags -DNDEBUG |
1049 |
- fi |
1050 |
- fi |
1051 |
- |
1052 |
- # Support detection of misuse of SQLite API. |
1053 |
- # http://sqlite.org/compile.html#enable_api_armor |
1054 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
1055 |
- |
1056 |
- # Support column metadata functions. |
1057 |
- # http://sqlite.org/c3ref/column_database_name.html |
1058 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
1059 |
- |
1060 |
- # Support dbstat virtual table. |
1061 |
- # http://sqlite.org/dbstat.html |
1062 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
1063 |
- |
1064 |
- # Support Full-Text Search versions 3 and 4. |
1065 |
- # http://sqlite.org/fts3.html |
1066 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
1067 |
- |
1068 |
- # Support R*Trees. |
1069 |
- # http://sqlite.org/rtree.html |
1070 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
1071 |
- |
1072 |
- # Support scan status functions. |
1073 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
1074 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
1075 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
1076 |
- |
1077 |
- # Support unlock notification. |
1078 |
- # http://sqlite.org/unlock_notify.html |
1079 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
1080 |
- |
1081 |
- # Support soundex() function. |
1082 |
- # http://sqlite.org/lang_corefunc.html#soundex |
1083 |
- append-cppflags -DSQLITE_SOUNDEX |
1084 |
- |
1085 |
- if use icu; then |
1086 |
- # Support ICU extension. |
1087 |
- # http://sqlite.org/compile.html#enable_icu |
1088 |
- append-cppflags -DSQLITE_ENABLE_ICU |
1089 |
- fi |
1090 |
- |
1091 |
- if use secure-delete; then |
1092 |
- # Enable secure_delete pragma by default. |
1093 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
1094 |
- append-cppflags -DSQLITE_SECURE_DELETE |
1095 |
- fi |
1096 |
- |
1097 |
- if [[ "${CHOST}" == *-mint* ]]; then |
1098 |
- append-cppflags -DSQLITE_OMIT_WAL |
1099 |
- fi |
1100 |
- |
1101 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
1102 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1103 |
- append-cppflags -DUSE_PREAD |
1104 |
- fi |
1105 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1106 |
- append-cppflags -DUSE_PREAD64 |
1107 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1108 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
1109 |
- fi |
1110 |
- |
1111 |
- multilib-minimal_src_configure |
1112 |
-} |
1113 |
- |
1114 |
-multilib_src_configure() { |
1115 |
- # `configure` from amalgamation tarball does not support |
1116 |
- # --with-readline-inc and --(enable|disable)-tcl options. |
1117 |
- econf \ |
1118 |
- --enable-$(amalgamation && echo dynamic-extensions || echo load-extension) \ |
1119 |
- --enable-threadsafe \ |
1120 |
- $(use_enable readline) \ |
1121 |
- $(use_enable static-libs static) \ |
1122 |
- $(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \ |
1123 |
- $(amalgamation || use_enable debug) \ |
1124 |
- $(amalgamation || if use tcl || use test; then echo --enable-tcl; else echo --disable-tcl; fi) |
1125 |
-} |
1126 |
- |
1127 |
-multilib_src_compile() { |
1128 |
- emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
1129 |
- |
1130 |
- if use tools && multilib_is_native_abi; then |
1131 |
- emake showdb showjournal showstat4 showwal sqldiff |
1132 |
- fi |
1133 |
-} |
1134 |
- |
1135 |
-multilib_src_test() { |
1136 |
- if [[ "${EUID}" -eq 0 ]]; then |
1137 |
- ewarn "Skipping tests due to root permissions" |
1138 |
- return |
1139 |
- fi |
1140 |
- |
1141 |
- emake $(use debug && echo fulltest || echo test) |
1142 |
-} |
1143 |
- |
1144 |
-multilib_src_install() { |
1145 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
1146 |
- |
1147 |
- if use tools && multilib_is_native_abi; then |
1148 |
- newbin showdb sqlite3-show-db |
1149 |
- newbin showjournal sqlite3-show-journal |
1150 |
- newbin showstat4 sqlite3-show-stat4 |
1151 |
- newbin showwal sqlite3-show-wal |
1152 |
- newbin sqldiff sqlite3-diff |
1153 |
- fi |
1154 |
-} |
1155 |
- |
1156 |
-multilib_src_install_all() { |
1157 |
- prune_libtool_files |
1158 |
- |
1159 |
- doman sqlite3.1 |
1160 |
- |
1161 |
- if use doc; then |
1162 |
- dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
1163 |
- fi |
1164 |
-} |
1165 |
|
1166 |
diff --git a/dev-db/sqlite/sqlite-3.8.10.2.ebuild b/dev-db/sqlite/sqlite-3.8.10.2.ebuild |
1167 |
deleted file mode 100644 |
1168 |
index 30dd78e..0000000 |
1169 |
--- a/dev-db/sqlite/sqlite-3.8.10.2.ebuild |
1170 |
+++ /dev/null |
1171 |
@@ -1,210 +0,0 @@ |
1172 |
-# Copyright 1999-2015 Gentoo Foundation |
1173 |
-# Distributed under the terms of the GNU General Public License v2 |
1174 |
-# $Id$ |
1175 |
- |
1176 |
-EAPI="5" |
1177 |
- |
1178 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
1179 |
- |
1180 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
1181 |
-DOC_PV="${SRC_PV}" |
1182 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
1183 |
- |
1184 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
1185 |
-HOMEPAGE="http://sqlite.org/" |
1186 |
-SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip ) |
1187 |
- tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1188 |
- test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1189 |
- tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1190 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
1191 |
- |
1192 |
-LICENSE="public-domain" |
1193 |
-SLOT="3" |
1194 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1195 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
1196 |
- |
1197 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
1198 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
1199 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
1200 |
- abi_x86_32? ( |
1201 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
1202 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
1203 |
- )" |
1204 |
-DEPEND="${RDEPEND} |
1205 |
- doc? ( app-arch/unzip ) |
1206 |
- tcl? ( app-arch/unzip ) |
1207 |
- test? ( |
1208 |
- app-arch/unzip |
1209 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
1210 |
- ) |
1211 |
- tools? ( dev-lang/tcl:0 )" |
1212 |
- |
1213 |
-amalgamation() { |
1214 |
- ! use tcl && ! use test && ! use tools |
1215 |
-} |
1216 |
- |
1217 |
-pkg_setup() { |
1218 |
- if amalgamation; then |
1219 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
1220 |
- else |
1221 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
1222 |
- fi |
1223 |
-} |
1224 |
- |
1225 |
-src_prepare() { |
1226 |
- if amalgamation; then |
1227 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
1228 |
- |
1229 |
- # http://www.sqlite.org/cgi/src/info/85bfa9a67f997084 |
1230 |
- sed \ |
1231 |
- -e "s/^sqlite3_SOURCES = shell.c sqlite3.h$/sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h/" \ |
1232 |
- -e "s/^sqlite3_LDADD = sqlite3.\$(OBJEXT) @READLINE_LIBS@$/sqlite3_LDADD = @READLINE_LIBS@\nsqlite3_CFLAGS = \$(AM_CFLAGS)/" \ |
1233 |
- -i Makefile.am |
1234 |
- else |
1235 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
1236 |
- epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch" |
1237 |
- |
1238 |
- # Fix shell1-5.0 test. |
1239 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
1240 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
1241 |
- fi |
1242 |
- |
1243 |
- eautoreconf |
1244 |
- |
1245 |
- # At least ppc-aix, x86-interix and *-solaris need newer libtool. |
1246 |
- # use prefix && eautoreconf |
1247 |
- |
1248 |
- if use icu; then |
1249 |
- if amalgamation; then |
1250 |
- sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1251 |
- else |
1252 |
- sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1253 |
- fi |
1254 |
- fi |
1255 |
- |
1256 |
- multilib_copy_sources |
1257 |
-} |
1258 |
- |
1259 |
-src_configure() { |
1260 |
- # `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag. |
1261 |
- if amalgamation; then |
1262 |
- if use debug; then |
1263 |
- append-cppflags -DSQLITE_DEBUG |
1264 |
- else |
1265 |
- append-cppflags -DNDEBUG |
1266 |
- fi |
1267 |
- fi |
1268 |
- |
1269 |
- # Support detection of misuse of SQLite API. |
1270 |
- # http://sqlite.org/compile.html#enable_api_armor |
1271 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
1272 |
- |
1273 |
- # Support column metadata functions. |
1274 |
- # http://sqlite.org/c3ref/column_database_name.html |
1275 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
1276 |
- |
1277 |
- # Support dbstat virtual table. |
1278 |
- # http://sqlite.org/dbstat.html |
1279 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
1280 |
- |
1281 |
- # Support Full-Text Search versions 3 and 4. |
1282 |
- # http://sqlite.org/fts3.html |
1283 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
1284 |
- |
1285 |
- # Support R*Trees. |
1286 |
- # http://sqlite.org/rtree.html |
1287 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
1288 |
- |
1289 |
- # Support scan status functions. |
1290 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
1291 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
1292 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
1293 |
- |
1294 |
- # Support unlock notification. |
1295 |
- # http://sqlite.org/unlock_notify.html |
1296 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
1297 |
- |
1298 |
- # Support soundex() function. |
1299 |
- # http://sqlite.org/lang_corefunc.html#soundex |
1300 |
- append-cppflags -DSQLITE_SOUNDEX |
1301 |
- |
1302 |
- if use icu; then |
1303 |
- # Support ICU extension. |
1304 |
- # http://sqlite.org/compile.html#enable_icu |
1305 |
- append-cppflags -DSQLITE_ENABLE_ICU |
1306 |
- fi |
1307 |
- |
1308 |
- if use secure-delete; then |
1309 |
- # Enable secure_delete pragma by default. |
1310 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
1311 |
- append-cppflags -DSQLITE_SECURE_DELETE |
1312 |
- fi |
1313 |
- |
1314 |
- if [[ "${CHOST}" == *-mint* ]]; then |
1315 |
- append-cppflags -DSQLITE_OMIT_WAL |
1316 |
- fi |
1317 |
- |
1318 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
1319 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1320 |
- append-cppflags -DUSE_PREAD |
1321 |
- fi |
1322 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1323 |
- append-cppflags -DUSE_PREAD64 |
1324 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1325 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
1326 |
- fi |
1327 |
- |
1328 |
- multilib-minimal_src_configure |
1329 |
-} |
1330 |
- |
1331 |
-multilib_src_configure() { |
1332 |
- # `configure` from amalgamation tarball does not support |
1333 |
- # --with-readline-inc and --(enable|disable)-tcl options. |
1334 |
- econf \ |
1335 |
- --enable-$(amalgamation && echo dynamic-extensions || echo load-extension) \ |
1336 |
- --enable-threadsafe \ |
1337 |
- $(use_enable readline) \ |
1338 |
- $(use_enable static-libs static) \ |
1339 |
- $(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \ |
1340 |
- $(amalgamation || use_enable debug) \ |
1341 |
- $(amalgamation || if use tcl || use test; then echo --enable-tcl; else echo --disable-tcl; fi) |
1342 |
-} |
1343 |
- |
1344 |
-multilib_src_compile() { |
1345 |
- emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
1346 |
- |
1347 |
- if use tools && multilib_is_native_abi; then |
1348 |
- emake showdb showjournal showstat4 showwal sqldiff |
1349 |
- fi |
1350 |
-} |
1351 |
- |
1352 |
-multilib_src_test() { |
1353 |
- if [[ "${EUID}" -eq 0 ]]; then |
1354 |
- ewarn "Skipping tests due to root permissions" |
1355 |
- return |
1356 |
- fi |
1357 |
- |
1358 |
- emake $(use debug && echo fulltest || echo test) |
1359 |
-} |
1360 |
- |
1361 |
-multilib_src_install() { |
1362 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
1363 |
- |
1364 |
- if use tools && multilib_is_native_abi; then |
1365 |
- newbin showdb sqlite3-show-db |
1366 |
- newbin showjournal sqlite3-show-journal |
1367 |
- newbin showstat4 sqlite3-show-stat4 |
1368 |
- newbin showwal sqlite3-show-wal |
1369 |
- newbin sqldiff sqlite3-diff |
1370 |
- fi |
1371 |
-} |
1372 |
- |
1373 |
-multilib_src_install_all() { |
1374 |
- prune_libtool_files |
1375 |
- |
1376 |
- doman sqlite3.1 |
1377 |
- |
1378 |
- if use doc; then |
1379 |
- dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
1380 |
- fi |
1381 |
-} |
1382 |
|
1383 |
diff --git a/dev-db/sqlite/sqlite-3.8.11.1.ebuild b/dev-db/sqlite/sqlite-3.8.11.1.ebuild |
1384 |
deleted file mode 100644 |
1385 |
index 0056f34..0000000 |
1386 |
--- a/dev-db/sqlite/sqlite-3.8.11.1.ebuild |
1387 |
+++ /dev/null |
1388 |
@@ -1,216 +0,0 @@ |
1389 |
-# Copyright 1999-2015 Gentoo Foundation |
1390 |
-# Distributed under the terms of the GNU General Public License v2 |
1391 |
-# $Id$ |
1392 |
- |
1393 |
-EAPI="5" |
1394 |
- |
1395 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
1396 |
- |
1397 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
1398 |
-DOC_PV="${SRC_PV}" |
1399 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
1400 |
- |
1401 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
1402 |
-HOMEPAGE="http://sqlite.org/" |
1403 |
-SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip ) |
1404 |
- tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1405 |
- test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1406 |
- tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1407 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
1408 |
- |
1409 |
-LICENSE="public-domain" |
1410 |
-SLOT="3" |
1411 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1412 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
1413 |
- |
1414 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
1415 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
1416 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
1417 |
- abi_x86_32? ( |
1418 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
1419 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
1420 |
- )" |
1421 |
-DEPEND="${RDEPEND} |
1422 |
- doc? ( app-arch/unzip ) |
1423 |
- tcl? ( app-arch/unzip ) |
1424 |
- test? ( |
1425 |
- app-arch/unzip |
1426 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
1427 |
- ) |
1428 |
- tools? ( dev-lang/tcl:0 )" |
1429 |
- |
1430 |
-amalgamation() { |
1431 |
- ! use tcl && ! use test && ! use tools |
1432 |
-} |
1433 |
- |
1434 |
-pkg_setup() { |
1435 |
- if amalgamation; then |
1436 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
1437 |
- else |
1438 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
1439 |
- fi |
1440 |
-} |
1441 |
- |
1442 |
-src_prepare() { |
1443 |
- if amalgamation; then |
1444 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
1445 |
- else |
1446 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
1447 |
- |
1448 |
- # Fix shell1-5.0 test. |
1449 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
1450 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
1451 |
- fi |
1452 |
- |
1453 |
- eautoreconf |
1454 |
- |
1455 |
- # At least ppc-aix, x86-interix and *-solaris need newer libtool. |
1456 |
- # use prefix && eautoreconf |
1457 |
- |
1458 |
- # Fix building with Full-Text Search version 5. |
1459 |
- sed \ |
1460 |
- -e "/^LIBOBJS1 =/s/$/ fts5.lo/" \ |
1461 |
- -e "s/\$(LIBOBJ) \$(TLIBS)/& -lm/" \ |
1462 |
- -e "/^TESTFIXTURE_SRC1 =/s/$/ fts5.c/" \ |
1463 |
- -e "s/\$(TESTFIXTURE_SRC) \$(LIBTCL) \$(TLIBS)/& -lm/" \ |
1464 |
- -i Makefile.in || die "sed failed" |
1465 |
- |
1466 |
- if use icu; then |
1467 |
- if amalgamation; then |
1468 |
- sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1469 |
- else |
1470 |
- sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1471 |
- fi |
1472 |
- fi |
1473 |
- |
1474 |
- multilib_copy_sources |
1475 |
-} |
1476 |
- |
1477 |
-src_configure() { |
1478 |
- # `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag. |
1479 |
- if amalgamation; then |
1480 |
- if use debug; then |
1481 |
- append-cppflags -DSQLITE_DEBUG |
1482 |
- else |
1483 |
- append-cppflags -DNDEBUG |
1484 |
- fi |
1485 |
- fi |
1486 |
- |
1487 |
- # Support detection of misuse of SQLite API. |
1488 |
- # http://sqlite.org/compile.html#enable_api_armor |
1489 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
1490 |
- |
1491 |
- # Support column metadata functions. |
1492 |
- # http://sqlite.org/c3ref/column_database_name.html |
1493 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
1494 |
- |
1495 |
- # Support dbstat virtual table. |
1496 |
- # http://sqlite.org/dbstat.html |
1497 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
1498 |
- |
1499 |
- # Support Full-Text Search versions 3, 4 and 5. |
1500 |
- # http://sqlite.org/fts3.html |
1501 |
- # http://sqlite.org/fts5.html |
1502 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 |
1503 |
- |
1504 |
- # Support Resumable Bulk Update extension. |
1505 |
- # http://sqlite.org/rbu.html |
1506 |
- append-cppflags -DSQLITE_ENABLE_RBU |
1507 |
- |
1508 |
- # Support R*Trees. |
1509 |
- # http://sqlite.org/rtree.html |
1510 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
1511 |
- |
1512 |
- # Support scan status functions. |
1513 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
1514 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
1515 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
1516 |
- |
1517 |
- # Support unlock notification. |
1518 |
- # http://sqlite.org/unlock_notify.html |
1519 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
1520 |
- |
1521 |
- # Support soundex() function. |
1522 |
- # http://sqlite.org/lang_corefunc.html#soundex |
1523 |
- append-cppflags -DSQLITE_SOUNDEX |
1524 |
- |
1525 |
- if use icu; then |
1526 |
- # Support ICU extension. |
1527 |
- # http://sqlite.org/compile.html#enable_icu |
1528 |
- append-cppflags -DSQLITE_ENABLE_ICU |
1529 |
- fi |
1530 |
- |
1531 |
- if use secure-delete; then |
1532 |
- # Enable secure_delete pragma by default. |
1533 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
1534 |
- append-cppflags -DSQLITE_SECURE_DELETE |
1535 |
- fi |
1536 |
- |
1537 |
- if [[ "${CHOST}" == *-mint* ]]; then |
1538 |
- append-cppflags -DSQLITE_OMIT_WAL |
1539 |
- fi |
1540 |
- |
1541 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
1542 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1543 |
- append-cppflags -DUSE_PREAD |
1544 |
- fi |
1545 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1546 |
- append-cppflags -DUSE_PREAD64 |
1547 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1548 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
1549 |
- fi |
1550 |
- |
1551 |
- multilib-minimal_src_configure |
1552 |
-} |
1553 |
- |
1554 |
-multilib_src_configure() { |
1555 |
- # `configure` from amalgamation tarball does not support |
1556 |
- # --with-readline-inc and --(enable|disable)-tcl options. |
1557 |
- econf \ |
1558 |
- --enable-$(amalgamation && echo dynamic-extensions || echo load-extension) \ |
1559 |
- --enable-threadsafe \ |
1560 |
- $(use_enable readline) \ |
1561 |
- $(use_enable static-libs static) \ |
1562 |
- $(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \ |
1563 |
- $(amalgamation || use_enable debug) \ |
1564 |
- $(amalgamation || if use tcl || use test; then echo --enable-tcl; else echo --disable-tcl; fi) |
1565 |
-} |
1566 |
- |
1567 |
-multilib_src_compile() { |
1568 |
- emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
1569 |
- |
1570 |
- if use tools && multilib_is_native_abi; then |
1571 |
- emake showdb showjournal showstat4 showwal sqldiff |
1572 |
- fi |
1573 |
-} |
1574 |
- |
1575 |
-multilib_src_test() { |
1576 |
- if [[ "${EUID}" -eq 0 ]]; then |
1577 |
- ewarn "Skipping tests due to root permissions" |
1578 |
- return |
1579 |
- fi |
1580 |
- |
1581 |
- emake $(use debug && echo fulltest || echo test) |
1582 |
-} |
1583 |
- |
1584 |
-multilib_src_install() { |
1585 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
1586 |
- |
1587 |
- if use tools && multilib_is_native_abi; then |
1588 |
- newbin showdb sqlite3-show-db |
1589 |
- newbin showjournal sqlite3-show-journal |
1590 |
- newbin showstat4 sqlite3-show-stat4 |
1591 |
- newbin showwal sqlite3-show-wal |
1592 |
- newbin sqldiff sqlite3-diff |
1593 |
- fi |
1594 |
-} |
1595 |
- |
1596 |
-multilib_src_install_all() { |
1597 |
- prune_libtool_files |
1598 |
- |
1599 |
- doman sqlite3.1 |
1600 |
- |
1601 |
- if use doc; then |
1602 |
- dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
1603 |
- fi |
1604 |
-} |
1605 |
|
1606 |
diff --git a/dev-db/sqlite/sqlite-3.9.1.ebuild b/dev-db/sqlite/sqlite-3.9.1.ebuild |
1607 |
deleted file mode 100644 |
1608 |
index 235974d..0000000 |
1609 |
--- a/dev-db/sqlite/sqlite-3.9.1.ebuild |
1610 |
+++ /dev/null |
1611 |
@@ -1,225 +0,0 @@ |
1612 |
-# Copyright 1999-2015 Gentoo Foundation |
1613 |
-# Distributed under the terms of the GNU General Public License v2 |
1614 |
-# $Id$ |
1615 |
- |
1616 |
-EAPI="5" |
1617 |
- |
1618 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
1619 |
- |
1620 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
1621 |
-DOC_PV="${SRC_PV}" |
1622 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
1623 |
- |
1624 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
1625 |
-HOMEPAGE="http://sqlite.org/" |
1626 |
-SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip ) |
1627 |
- tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1628 |
- test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1629 |
- tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1630 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
1631 |
- |
1632 |
-LICENSE="public-domain" |
1633 |
-SLOT="3" |
1634 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1635 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
1636 |
- |
1637 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
1638 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
1639 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
1640 |
- tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
1641 |
- abi_x86_32? ( |
1642 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
1643 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
1644 |
- )" |
1645 |
-DEPEND="${RDEPEND} |
1646 |
- doc? ( app-arch/unzip ) |
1647 |
- tcl? ( app-arch/unzip ) |
1648 |
- test? ( |
1649 |
- app-arch/unzip |
1650 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
1651 |
- ) |
1652 |
- tools? ( app-arch/unzip )" |
1653 |
- |
1654 |
-full_tarball() { |
1655 |
- use tcl || use test || use tools |
1656 |
-} |
1657 |
- |
1658 |
-pkg_setup() { |
1659 |
- if full_tarball; then |
1660 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
1661 |
- else |
1662 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
1663 |
- fi |
1664 |
-} |
1665 |
- |
1666 |
-src_prepare() { |
1667 |
- if full_tarball; then |
1668 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
1669 |
- |
1670 |
- # Increase timeout for fuzzcheck from 120 s to 3600 s. |
1671 |
- # (iTimeout in test/fuzzcheck.c:main) |
1672 |
- sed -e "/\.\/fuzzcheck\$(TEXE)/s/\$(FUZZDATA)/--timeout 3600 &/" -i Makefile.in || die "sed failed" |
1673 |
- |
1674 |
- # Fix shell1-5.0 test. |
1675 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
1676 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
1677 |
- else |
1678 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
1679 |
- fi |
1680 |
- |
1681 |
- eautoreconf |
1682 |
- |
1683 |
- multilib_copy_sources |
1684 |
-} |
1685 |
- |
1686 |
-multilib_src_configure() { |
1687 |
- local CPPFLAGS="${CPPFLAGS}" options=() |
1688 |
- |
1689 |
- options+=( |
1690 |
- --enable-$(full_tarball && echo load-extension || echo dynamic-extensions) |
1691 |
- --enable-threadsafe |
1692 |
- ) |
1693 |
- |
1694 |
- # Support detection of misuse of SQLite API. |
1695 |
- # http://sqlite.org/compile.html#enable_api_armor |
1696 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
1697 |
- |
1698 |
- # Support column metadata functions. |
1699 |
- # http://sqlite.org/c3ref/column_database_name.html |
1700 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
1701 |
- |
1702 |
- # Support dbstat virtual table. |
1703 |
- # http://sqlite.org/dbstat.html |
1704 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
1705 |
- |
1706 |
- # Support Full-Text Search versions 3, 4 and 5. |
1707 |
- # http://sqlite.org/fts3.html |
1708 |
- # http://sqlite.org/fts5.html |
1709 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
1710 |
- options+=(--enable-fts5) |
1711 |
- |
1712 |
- # Support JSON1 extension. |
1713 |
- # http://sqlite.org/json1.html |
1714 |
- append-cppflags -DSQLITE_ENABLE_JSON1 |
1715 |
- |
1716 |
- # Support Resumable Bulk Update extension. |
1717 |
- # http://sqlite.org/rbu.html |
1718 |
- append-cppflags -DSQLITE_ENABLE_RBU |
1719 |
- |
1720 |
- # Support R*Trees. |
1721 |
- # http://sqlite.org/rtree.html |
1722 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
1723 |
- |
1724 |
- # Support scan status functions. |
1725 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
1726 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
1727 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
1728 |
- |
1729 |
- # Support unlock notification. |
1730 |
- # http://sqlite.org/unlock_notify.html |
1731 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
1732 |
- |
1733 |
- # Support soundex() function. |
1734 |
- # http://sqlite.org/lang_corefunc.html#soundex |
1735 |
- append-cppflags -DSQLITE_SOUNDEX |
1736 |
- |
1737 |
- # debug USE flag. |
1738 |
- if full_tarball; then |
1739 |
- options+=($(use_enable debug)) |
1740 |
- else |
1741 |
- if use debug; then |
1742 |
- append-cppflags -DSQLITE_DEBUG |
1743 |
- else |
1744 |
- append-cppflags -DNDEBUG |
1745 |
- fi |
1746 |
- fi |
1747 |
- |
1748 |
- # icu USE flag. |
1749 |
- if use icu; then |
1750 |
- # Support ICU extension. |
1751 |
- # http://sqlite.org/compile.html#enable_icu |
1752 |
- append-cppflags -DSQLITE_ENABLE_ICU |
1753 |
- if full_tarball; then |
1754 |
- sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1755 |
- else |
1756 |
- sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1757 |
- fi |
1758 |
- fi |
1759 |
- |
1760 |
- # readline USE flag. |
1761 |
- options+=($(use_enable readline)) |
1762 |
- if full_tarball && use readline; then |
1763 |
- options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline") |
1764 |
- fi |
1765 |
- |
1766 |
- # secure-delete USE flag. |
1767 |
- if use secure-delete; then |
1768 |
- # Enable secure_delete pragma by default. |
1769 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
1770 |
- append-cppflags -DSQLITE_SECURE_DELETE |
1771 |
- fi |
1772 |
- |
1773 |
- # static-libs USE flag. |
1774 |
- options+=($(use_enable static-libs static)) |
1775 |
- |
1776 |
- # tcl, test, tools USE flags. |
1777 |
- if full_tarball; then |
1778 |
- options+=(--enable-tcl) |
1779 |
- fi |
1780 |
- |
1781 |
- if [[ "${CHOST}" == *-mint* ]]; then |
1782 |
- append-cppflags -DSQLITE_OMIT_WAL |
1783 |
- fi |
1784 |
- |
1785 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
1786 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1787 |
- append-cppflags -DUSE_PREAD |
1788 |
- fi |
1789 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1790 |
- append-cppflags -DUSE_PREAD64 |
1791 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
1792 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
1793 |
- fi |
1794 |
- |
1795 |
- econf "${options[@]}" |
1796 |
-} |
1797 |
- |
1798 |
-multilib_src_compile() { |
1799 |
- emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
1800 |
- |
1801 |
- if use tools && multilib_is_native_abi; then |
1802 |
- emake showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer |
1803 |
- fi |
1804 |
-} |
1805 |
- |
1806 |
-multilib_src_test() { |
1807 |
- if [[ "${EUID}" -eq 0 ]]; then |
1808 |
- ewarn "Skipping tests due to root permissions" |
1809 |
- return |
1810 |
- fi |
1811 |
- |
1812 |
- emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test) |
1813 |
-} |
1814 |
- |
1815 |
-multilib_src_install() { |
1816 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
1817 |
- |
1818 |
- if use tools && multilib_is_native_abi; then |
1819 |
- newbin showdb sqlite3-show-db |
1820 |
- newbin showjournal sqlite3-show-journal |
1821 |
- newbin showstat4 sqlite3-show-stat4 |
1822 |
- newbin showwal sqlite3-show-wal |
1823 |
- newbin sqldiff sqlite3-diff |
1824 |
- newbin sqlite3_analyzer sqlite3-analyzer |
1825 |
- fi |
1826 |
-} |
1827 |
- |
1828 |
-multilib_src_install_all() { |
1829 |
- prune_libtool_files |
1830 |
- |
1831 |
- doman sqlite3.1 |
1832 |
- |
1833 |
- if use doc; then |
1834 |
- dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
1835 |
- fi |
1836 |
-} |
1837 |
|
1838 |
diff --git a/dev-db/sqlite/sqlite-3.9.2.ebuild b/dev-db/sqlite/sqlite-3.9.2.ebuild |
1839 |
deleted file mode 100644 |
1840 |
index 0a52c69..0000000 |
1841 |
--- a/dev-db/sqlite/sqlite-3.9.2.ebuild |
1842 |
+++ /dev/null |
1843 |
@@ -1,225 +0,0 @@ |
1844 |
-# Copyright 1999-2015 Gentoo Foundation |
1845 |
-# Distributed under the terms of the GNU General Public License v2 |
1846 |
-# $Id$ |
1847 |
- |
1848 |
-EAPI="5" |
1849 |
- |
1850 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
1851 |
- |
1852 |
-SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
1853 |
-DOC_PV="${SRC_PV}" |
1854 |
-# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
1855 |
- |
1856 |
-DESCRIPTION="A SQL Database Engine in a C Library" |
1857 |
-HOMEPAGE="http://sqlite.org/" |
1858 |
-SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip ) |
1859 |
- tcl? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1860 |
- test? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1861 |
- tools? ( http://sqlite.org/2015/${PN}-src-${SRC_PV}.zip ) |
1862 |
- !tcl? ( !test? ( !tools? ( http://sqlite.org/2015/${PN}-autoconf-${SRC_PV}.tar.gz ) ) )" |
1863 |
- |
1864 |
-LICENSE="public-domain" |
1865 |
-SLOT="3" |
1866 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1867 |
-IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" |
1868 |
- |
1869 |
-RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] ) |
1870 |
- readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) |
1871 |
- tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
1872 |
- tools? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] ) |
1873 |
- abi_x86_32? ( |
1874 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r14 |
1875 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
1876 |
- )" |
1877 |
-DEPEND="${RDEPEND} |
1878 |
- doc? ( app-arch/unzip ) |
1879 |
- tcl? ( app-arch/unzip ) |
1880 |
- test? ( |
1881 |
- app-arch/unzip |
1882 |
- dev-lang/tcl:0[${MULTILIB_USEDEP}] |
1883 |
- ) |
1884 |
- tools? ( app-arch/unzip )" |
1885 |
- |
1886 |
-full_tarball() { |
1887 |
- use tcl || use test || use tools |
1888 |
-} |
1889 |
- |
1890 |
-pkg_setup() { |
1891 |
- if full_tarball; then |
1892 |
- S="${WORKDIR}/${PN}-src-${SRC_PV}" |
1893 |
- else |
1894 |
- S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
1895 |
- fi |
1896 |
-} |
1897 |
- |
1898 |
-src_prepare() { |
1899 |
- if full_tarball; then |
1900 |
- epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch" |
1901 |
- |
1902 |
- # Increase timeout for fuzzcheck from 120 s to 3600 s. |
1903 |
- # (iTimeout in test/fuzzcheck.c:main) |
1904 |
- sed -e "/\.\/fuzzcheck\$(TEXE)/s/\$(FUZZDATA)/--timeout 3600 &/" -i Makefile.in || die "sed failed" |
1905 |
- |
1906 |
- # Fix shell1-5.0 test. |
1907 |
- # http://mailinglists.sqlite.org/cgi-bin/mailman/private/sqlite-dev/2015-May/002575.html |
1908 |
- sed -e "/if {\$i==0x0D /s/\$i==0x0D /&|| (\$i>=0xE0 \&\& \$i<=0xEF) /" -i test/shell1.test |
1909 |
- else |
1910 |
- epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch" |
1911 |
- fi |
1912 |
- |
1913 |
- eautoreconf |
1914 |
- |
1915 |
- multilib_copy_sources |
1916 |
-} |
1917 |
- |
1918 |
-multilib_src_configure() { |
1919 |
- local CPPFLAGS="${CPPFLAGS}" options=() |
1920 |
- |
1921 |
- options+=( |
1922 |
- --enable-$(full_tarball && echo load-extension || echo dynamic-extensions) |
1923 |
- --enable-threadsafe |
1924 |
- ) |
1925 |
- |
1926 |
- # Support detection of misuse of SQLite API. |
1927 |
- # http://sqlite.org/compile.html#enable_api_armor |
1928 |
- append-cppflags -DSQLITE_ENABLE_API_ARMOR |
1929 |
- |
1930 |
- # Support column metadata functions. |
1931 |
- # http://sqlite.org/c3ref/column_database_name.html |
1932 |
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
1933 |
- |
1934 |
- # Support dbstat virtual table. |
1935 |
- # http://sqlite.org/dbstat.html |
1936 |
- append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB |
1937 |
- |
1938 |
- # Support Full-Text Search versions 3, 4 and 5. |
1939 |
- # http://sqlite.org/fts3.html |
1940 |
- # http://sqlite.org/fts5.html |
1941 |
- append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 |
1942 |
- options+=(--enable-fts5) |
1943 |
- |
1944 |
- # Support JSON1 extension. |
1945 |
- # http://sqlite.org/json1.html |
1946 |
- append-cppflags -DSQLITE_ENABLE_JSON1 |
1947 |
- |
1948 |
- # Support Resumable Bulk Update extension. |
1949 |
- # http://sqlite.org/rbu.html |
1950 |
- append-cppflags -DSQLITE_ENABLE_RBU |
1951 |
- |
1952 |
- # Support R*Trees. |
1953 |
- # http://sqlite.org/rtree.html |
1954 |
- append-cppflags -DSQLITE_ENABLE_RTREE |
1955 |
- |
1956 |
- # Support scan status functions. |
1957 |
- # http://sqlite.org/c3ref/stmt_scanstatus.html |
1958 |
- # http://sqlite.org/c3ref/stmt_scanstatus_reset.html |
1959 |
- append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS |
1960 |
- |
1961 |
- # Support unlock notification. |
1962 |
- # http://sqlite.org/unlock_notify.html |
1963 |
- append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
1964 |
- |
1965 |
- # Support soundex() function. |
1966 |
- # http://sqlite.org/lang_corefunc.html#soundex |
1967 |
- append-cppflags -DSQLITE_SOUNDEX |
1968 |
- |
1969 |
- # debug USE flag. |
1970 |
- if full_tarball; then |
1971 |
- options+=($(use_enable debug)) |
1972 |
- else |
1973 |
- if use debug; then |
1974 |
- append-cppflags -DSQLITE_DEBUG |
1975 |
- else |
1976 |
- append-cppflags -DNDEBUG |
1977 |
- fi |
1978 |
- fi |
1979 |
- |
1980 |
- # icu USE flag. |
1981 |
- if use icu; then |
1982 |
- # Support ICU extension. |
1983 |
- # http://sqlite.org/compile.html#enable_icu |
1984 |
- append-cppflags -DSQLITE_ENABLE_ICU |
1985 |
- if full_tarball; then |
1986 |
- sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1987 |
- else |
1988 |
- sed -e "s/^LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
1989 |
- fi |
1990 |
- fi |
1991 |
- |
1992 |
- # readline USE flag. |
1993 |
- options+=($(use_enable readline)) |
1994 |
- if full_tarball && use readline; then |
1995 |
- options+=(--with-readline-inc="-I${EPREFIX}/usr/include/readline") |
1996 |
- fi |
1997 |
- |
1998 |
- # secure-delete USE flag. |
1999 |
- if use secure-delete; then |
2000 |
- # Enable secure_delete pragma by default. |
2001 |
- # http://sqlite.org/pragma.html#pragma_secure_delete |
2002 |
- append-cppflags -DSQLITE_SECURE_DELETE |
2003 |
- fi |
2004 |
- |
2005 |
- # static-libs USE flag. |
2006 |
- options+=($(use_enable static-libs static)) |
2007 |
- |
2008 |
- # tcl, test, tools USE flags. |
2009 |
- if full_tarball; then |
2010 |
- options+=(--enable-tcl) |
2011 |
- fi |
2012 |
- |
2013 |
- if [[ "${CHOST}" == *-mint* ]]; then |
2014 |
- append-cppflags -DSQLITE_OMIT_WAL |
2015 |
- fi |
2016 |
- |
2017 |
- # Use pread(), pread64(), pwrite(), pwrite64() functions for better performance if they are available. |
2018 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread_pwrite_test" <<< $'#include <unistd.h>\nint main()\n{\n pread(0, NULL, 0, 0);\n pwrite(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
2019 |
- append-cppflags -DUSE_PREAD |
2020 |
- fi |
2021 |
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
2022 |
- append-cppflags -DUSE_PREAD64 |
2023 |
- elif $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_LARGEFILE64_SOURCE -Werror=implicit-function-declaration -x c - -o "${T}/pread64_pwrite64_test" <<< $'#include <unistd.h>\nint main()\n{\n pread64(0, NULL, 0, 0);\n pwrite64(0, NULL, 0, 0);\n return 0;\n}' &> /dev/null; then |
2024 |
- append-cppflags -DUSE_PREAD64 -D_LARGEFILE64_SOURCE |
2025 |
- fi |
2026 |
- |
2027 |
- econf "${options[@]}" |
2028 |
-} |
2029 |
- |
2030 |
-multilib_src_compile() { |
2031 |
- emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" |
2032 |
- |
2033 |
- if use tools && multilib_is_native_abi; then |
2034 |
- emake showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer |
2035 |
- fi |
2036 |
-} |
2037 |
- |
2038 |
-multilib_src_test() { |
2039 |
- if [[ "${EUID}" -eq 0 ]]; then |
2040 |
- ewarn "Skipping tests due to root permissions" |
2041 |
- return |
2042 |
- fi |
2043 |
- |
2044 |
- emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test) |
2045 |
-} |
2046 |
- |
2047 |
-multilib_src_install() { |
2048 |
- emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install |
2049 |
- |
2050 |
- if use tools && multilib_is_native_abi; then |
2051 |
- newbin showdb sqlite3-show-db |
2052 |
- newbin showjournal sqlite3-show-journal |
2053 |
- newbin showstat4 sqlite3-show-stat4 |
2054 |
- newbin showwal sqlite3-show-wal |
2055 |
- newbin sqldiff sqlite3-diff |
2056 |
- newbin sqlite3_analyzer sqlite3-analyzer |
2057 |
- fi |
2058 |
-} |
2059 |
- |
2060 |
-multilib_src_install_all() { |
2061 |
- prune_libtool_files |
2062 |
- |
2063 |
- doman sqlite3.1 |
2064 |
- |
2065 |
- if use doc; then |
2066 |
- dohtml -A ico,odf,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/" |
2067 |
- fi |
2068 |
-} |