Several updates
This commit is contained in:
commit
42b4268f73
@ -1,34 +0,0 @@
|
|||||||
AUX wine-1.1.15-winegcc.patch 1556 SHA256 dbd89db561d7583faf317d795b8c11231575d885e21c6414add39079604dbd0d SHA512 a6a6dbde16c1f850a5cb4d6b6fe1a8129bb267c44c19de63a4eb26933fd69ff98e440d257e467d766a6a6ac326d72dd621cae37fb593c8c62e43f588ccef3f25 WHIRLPOOL 3aea848b17217ab215f860c3526c44a5d9bd9e7adfe35c02bb5c841461bdaf4bd8ac4f8e8b990c0558980381fc1b2441b79edc3ff6dcde7455203fbd1fc3f49c
|
|
||||||
AUX wine-1.2.3-msxml3-libxml2-headers.patch 14328 SHA256 0a046e532343f9a4508307434a2f39e0a3a50a66c165b69e56dd671488d4ba7d SHA512 837bde9cfefa12b81197c9fa2978c8b17f760594eb9d6b8fe96ab4baf2f34b5d2330db245c0ee180a9d5aa59657f52b8500fd976bb70b111d0f32d4103f71f94 WHIRLPOOL e74ff9ad63b95878337d4eac342e9abbc60c73af2f4017cdd87671c472c49bee953759b9786d5b245669352dc23ac338178b415d2c4f01516c385fee66a167b5
|
|
||||||
AUX wine-1.4_rc2-multilib-portage.patch 1256 SHA256 9d0acd304d11d1bf73f56699754aaa1bfe1facba90648ee330fdbe08d9ff4938 SHA512 ac0b29e2b4c9b04bb6694a4e4da654446f68efbf90cda6809b45dad51e6679ac5410398763fde7e9505ef959493a037aa588cee58d14906563a4746702d2b0e9 WHIRLPOOL 8ea26266c327bc8313eca9b5d39c9741b226037750ca2d1d33262420093e05c306e7f004656c362c3c50b330d050cf9e5fceaa2b024a82809aae8b3617b0ae18
|
|
||||||
AUX wine-1.5.11-osmesa-check.patch 1888 SHA256 8aa70a10a215d5a10e70a404701cf70c0efc674ca6e2f093bbd243f70153e3bb SHA512 5c53e19efa4e080e4bc46c955d2f53beaaa55726e3ee528a5d41374452d6a75817f2145df4a2b05e0d168ed78fe81da35bab1322d6fcc736bf59ba6282e7ff9b WHIRLPOOL d35b52ddcace0fcb043894f00b14a90ecef8af87ff16d2ff091e64b34d8629a5d49ff59cae355c0457b7b9213f1ec66ae53747cb096b23c4f0a2ec8b7c8c8431
|
|
||||||
AUX wine-1.5.17-osmesa-check.patch 1774 SHA256 dc7dde67c416bb067e528b85228cff01833a2a20c802248ef56d74184014e50e SHA512 12325e75db5e63e1d4c4e2463c3e164b1eba0d3d88455cfcd698a8bb790d7c0b3c947a06e7a09e232b1a14202e64ea2dc9331cbc4b503833f78a7c1034410c79 WHIRLPOOL 2d9bb86a5d683301c75ea275302f67616a8e9c6ebfc436b05f8f1b3d5d815c310999ca9518747abcf4d248bd18f34388dcb323c526d633c50e66ffb4bf94e5d6
|
|
||||||
AUX wine-1.5.23-winebuild-CCAS.patch 6101 SHA256 34143c55618870dd31eea1e260ae973572d99557a20f24a4f217bb0ff1d615eb SHA512 f44580efcf4a406517a2fc65d7509a42b0b0b180a4c63f5980c894e708934d60155d87634e406763426415d00c1ea2f8f3894ac4797a2e2527ca0d9ed23430af WHIRLPOOL d62fb5c27fba3b8297ae2151a432f80d9655c0c2ccee9dee12beea84a2186c0e7965a6902d6bc5638cdb1c853c188a49b790825c8741a9dc4bb1516ff6ca9a53
|
|
||||||
AUX wine-1.5.26-winegcc.patch 1808 SHA256 91c1012059b93a421b2eae9f2ea46b7b327d6d3d58ba0cb47021c8a57f6d8228 SHA512 fce9daf40a96f4a7502c249a30107c8dfc5d8edd4a171b863d2bf14c3ad46d18e4c29932ab4a6ede7da5d589d777b962d2f577f5360ee4db8019d71362c51d47 WHIRLPOOL 71cbe36c6bac87071472541b7f5cd3ed1b08f05479bc0016262b3f86e75738e467dad197563b4898f2b24fd0ab4e27c40dce04f244a3e7f5ea1582b4db1c5cc2
|
|
||||||
AUX wine-1.5.30-libwine.patch 1777 SHA256 2f0155c2c1d11fd9a06deab54dd753c1161e32217eae82604f8c1d542e87af4f SHA512 e6d566f75632065def197cf27b5705a3f2f736a7b3bb4ae03df19fea00fd980a5b5d0517981469fef0fa5347c1c3b9651894fb23d937b5dbbd993cd292f67183 WHIRLPOOL 62ed15db6bddda47dcf74d846e15a9904c11abdf63e0321e7e2bc3197f60c819992b3a95a4395f85edeef9181a1866749194b9744be8d42bd94acab37470aad6
|
|
||||||
AUX wine-1.5.31-gnutls-3.2.0.patch 1616 SHA256 3ce82009b05fe997b0d198ad83533026d6410811ecfc6254c1505d0b9d18caf0 SHA512 09de6ff03da996197cd6833c1f53e9f39b43fc43e02ad3b4e12648a57288c1fa200886a805e6811372e12665f9a5d463603f9a9ba39cb1392b2cf4d11f3f9a65 WHIRLPOOL 590a9206913a51eae81e236057bbed346dae8f895575dcc948ba7168edf5c0605db6278344fad727c2a828a2aeef258f72a57a12b5dca244a3b7b82cfe43452a
|
|
||||||
AUX wine-1.6-memset-O3.patch 695 SHA256 1f04496713e8a401ba068702c5c3e104b18635bfb54808e5641a3c48a9b9bad4 SHA512 ad7231f8dedf98f9e9b91fcb8bbe72a716d78285127b0c33396de0b1e17a191f91f9a4a377c0e90671bb5f4e57bfb087ef7e80c9537c6c73b3c9bb90b3885968 WHIRLPOOL 91689c31054b896609493e2b0b4fe67e3d752d889f4ccae9c3e15229543341998809fd19a2040457e04fbdbd45505f0f2b49052844004193872713053d7239f8
|
|
||||||
AUX wine-1.7.12-osmesa-check.patch 1722 SHA256 42648efa15040011ef868f92fd615924a83b5a30dab25505928226d8bc48159d SHA512 faca80f9747f3d7bfd05c3410bcccfaf17b3f397e30dd9ec382eccc326de346d195d6a184ec78e44b26d5e5e4b2af749ce58a0e6bad0b15a4fd1f2ea610d3124 WHIRLPOOL c5314849d15a53dc00af80f44249c10107b17825c4a2ab4510a5799b154bb1cdb516b3b632e1e959802588f673b9eac8ed6de2dfb59bde34acdd5b752115f695
|
|
||||||
AUX wine-1.7.19-missing-fonts-compholio-replacement.patch 1059601 SHA256 b25b169c625279fb5754beb0100756356ce572ac3fb9ec5b4b7cc1bcd92096fc SHA512 c701c9e7bf79f2a2ca076583a657036190397be14f8012828f1df8cb796a72467146be177aad7424c5194f9d92654d21b0359e6bc62516364323adfba76dcad3 WHIRLPOOL 2ceef4185da333de84ee30e809ee3e9ca3830ad6c521ae70e5a3746ce9030458cece77b110eb64951e4c5877ad60a37a3807e463881f8c5b7fb1dba862434f82
|
|
||||||
AUX wine-1.7.2-osmesa-check.patch 1740 SHA256 5264ac291435eb64c70cef4bdccbf8d4448472b4f014ab15ede35bcceebb6579 SHA512 4738a381923df7b45ea68092efb7ccb967907976d6d2f8bb0167af4211c377a73e296481b94092ac232f9ae09edf21447da92a134ebfff9b32acdd9e20340b95 WHIRLPOOL 95a90f8ff5a649833b39cb28de997c3b516cd09a53cf71d616c4fd412dfa6e71c47a1255a4d0597d85a62966cd9d6b9fae1c21c88e67d8650d31d414fca8fd42
|
|
||||||
DIST v1.7.16-1.tar.gz 729163 SHA256 ebe35b35e8ec28800f979baf732ecb31c25eae4026200eab76afacc87df00b75 SHA512 674e954582f3b00e9c0a0c491ba96c5c13d3a0da43509cbb8fc8178ac087f63ef8f961567fd22445f5785de456a2e626bcedc519c65333ec07b3e563e3de6580 WHIRLPOOL 1750ae8f6d23c5718f90b8482e70be4c66d7f79c39308d0ac89740be7fa2fbd1c20918f838fa9a4dea472b86c120f6ced19f61ab79d0e6d6ab9b4ce7be87e355
|
|
||||||
DIST wine-1.7.16.tar.bz2 21478085 SHA256 071ed89d9c76219aa73df6472b99f9f0b35e4977235e2b8e388c11416a2d1c6a SHA512 7baa99280f78eb8881dba470c3a17ab093f9cfb0950eb4dea1a89849ee0794ddda373049fda2fde5551963b231e4548345892e759cf4690ab047c49147fa504e WHIRLPOOL b6ef7a096837d406b0f9a67f6719dae85c12e2f0d00dc9fdcefacd9db5485fccacdfa788e68abf0a279c20daee246ab7d25aeb14f1e96c5bb3187f38550157c1
|
|
||||||
DIST wine-1.7.19.tar.bz2 21633142 SHA256 c5ea9b00c9029ecf47a25881b284d8ea02079dfbabc22aa789d6d07e38b32ff2 SHA512 3bf6399027752150469046c3ea51ff0c7e56bca7ed8db7def16c16c41f31c118c5217bb67882b7de88eb710f2af4a89e2858b82071523d5f9cd00ec66dd0348c WHIRLPOOL b125e2ec48801349bc73483527213daee20674a2e93f30f41e6fe138884ec7a4dbe0698b15ed69ed1062f0a045e11526fab8f23ed701147c85ebc1db0afb7f2d
|
|
||||||
DIST wine-1.7.20.tar.bz2 21635815 SHA256 9c431b0b96222d0c27a2c2326ed88298ac0dae50ea783ef764c48c4373bf5f15 SHA512 ffc168ff4342fb5d8fb4a4a242c37f91613e983d644bd6b6d8798110b12339806d58d3abca8856855c286e40b9e4344a17fc834731dd03a42ea0743d1f24bd44 WHIRLPOOL 5ad69f9355897b4ce72c18c239dca2909d0c6094ff2c763731834d5b313fe04806648966e9d60408a14c0cf0dcb981587ffc0edaec8af07fe0a138364062fa53
|
|
||||||
DIST wine-1.7.21.tar.bz2 21635330 SHA256 a14723104135c21414c61e146144a2c527430057255f8c35a3a7d354e68b9401 SHA512 73db3256d04c681ea7a4524767f9f93c24a4cc96aa901c6fdfd700c7e8968cdb127a110df56f10423cac90aadc783ceafcd0dc571e36ea096c1de03c619164d8 WHIRLPOOL 32bcf10f8665dab43339e79240b534f3fa29087787acd752553b4b717f6c26f8e98d36185f61e928e2c5ef9a3663b9eac7ec42cd9898800ba12efab74c78634c
|
|
||||||
DIST wine-compholio-daily-1.7.18-1.tar.gz 874844 SHA256 3b42267d2e8b06895cbd16b1941d933efa6d1c01f0a396a12dedbbfb3be4a41f SHA512 d33aed231c64e713967770e2b118fde03b14b6e32cea42037c4940ea9bdacfec2299e9253fe4cb67d557e77d695d5e3ad8363b2c7c8ab788e5e8914bb2102a06 WHIRLPOOL 5997677575dfd9823e6e14f0d4e668ccbf6b75a555e33692c1b986629f438271821c3d68de684202e9cf67d044643577cb63f46645e17386017afb6a68c0add1
|
|
||||||
DIST wine-compholio-daily-1.7.20.tar.gz 887611 SHA256 d61244de8ed14bba4fff12b2c9fa8e16bef485efc60567019a18674444c691d9 SHA512 7eb763e908bf960060f7932273c330ac263290fbce0803ae1b4fbe000ec60cf7b3221749c4b5af7f7001963446c5b24484ec192bf13b28cdbf7953727b6e6132 WHIRLPOOL 49885b58eafebb756d15599dc3bfbd766b2557f157c27f735c5d73147ef74fcdef0ecbd8b724bf3e6a6a68eb36126af486e204ffb1afa1b31feacf6e1a9952cc
|
|
||||||
DIST wine-compholio-daily-1.7.21.tar.gz 883833 SHA256 eda345e48ca4b1ff8c191703b3d853fab39527543e96e41bbe0f253b21b9ab68 SHA512 96dea0b5e8d448ef6e54497c222c4c5b5ab3ed727dececfaf1af11f9695749fe53cf52c9f5ecdc9b454ed0fc01a30d0ebae3847bd99e527b99c63fa4942380e8 WHIRLPOOL 3a837e6f0e399db889c8428e01fd52d78dae002f212c570ca1dfa6841dd33a89214913977a2f280fd6363c8a21d27973e20c43f481bfbc02cd7882a9d2d79bc7
|
|
||||||
DIST wine-gentoo-2013.06.24.tar.bz2 85442 SHA256 bfbf6b25e98f717320de2ede467e3628fbc749d936b8449f8477c9dc6f41e04b SHA512 b6819889314f6a6ea16c1332f4b177c43623116763969c31b23b61754cd304dd085f5d3eafbe847159331eb97dddd9b4c10699430129ea4a71da418c1fe175f0 WHIRLPOOL 227e0ac6569736d4ad5813cef49f775dae956f4fc9255de95753d5d3cba1bf6cf3db31d23d3702bb54d2e60c5a6f779b602f0efb2096e4c827c924565b273d00
|
|
||||||
DIST wine-mono-4.5.2.msi 52502528 SHA256 d9124edb41ba4418af10eba519dafb25ab4338c567d25ce0eb4ce1e1b4d7eaad SHA512 73c907f63b73836d5afd0753197358aaea43a74a47800f929ef0627112298256f1fa46d1b9ff297b117468d953cdeab21fb5962db13c5debbcb71004462df609 WHIRLPOOL 18d3544c6753c5a01917bfc1b694f31ce45213108527f13317ec0bb8b2d2339ce41800534967e067cd15cd186ef9e186a5d3252275e443dfa1a6ae3641d4d17c
|
|
||||||
DIST wine_gecko-2.24-x86.msi 22373888 SHA256 6e38acae87ea66e2c1e8f2f0afe88f89eed3e6e0b431cd3da38dea814b71202c SHA512 f158d28ca09bc900a2680892e7ac10770e06050a9251e1ec3a953fee0bf9b1c326e166f92fb88a4648297b6587c91a5ef5af35f267bb2ba5f679da4c8fdb6898 WHIRLPOOL bbe7a2572d89dc5e0347ba11b2014bac79fc4427d7551655313a46b147a79c1607b7f46596877c459ddaa0e202337fb3d217429ddd6a4df49ee33b373a788487
|
|
||||||
DIST wine_gecko-2.24-x86_64.msi 23608320 SHA256 47557da68bcb2aedaebb93af73275aac96ba23e896bd98f25f2acbfd216d9cc8 SHA512 45ce0dcf42c3e2fe2198092812242e3467b19db4a4946e0b1a2d6327fd48aa936fb85cc1930bace6eaba0c61bff3a6536767ba0a91a0f085f307d1bddd171f0c WHIRLPOOL b6ba7c784d3a79d7afc11f0e12f0372b52b9f194eedfd083abed36a461e7301d2dd936be3be12619364f6ac5aae9cfbfb7fc47141bff92b62826f209365210ec
|
|
||||||
DIST winepulse-patches-1.7.12.tar.bz2 49171 SHA256 6c5b3f46ea1c4615c49ee0f6f65936cf650cce6640f0feb4236c707064a9d392 SHA512 ec41f6024d6e2325f14f8caa15bbe38c8dca6c69beb5343063365f58dd8b7edbbc4d24ad176de72cf0e37acae03eb9769b68fcbd40a672680e06156f4a59b12c WHIRLPOOL de8a33ee784606e76a60166e3e29a1fb748ce4b3af1db136558888bd09bb0a044e4a1a9a61ce3de59d55f93c98575ac8d77c3ff17de4d69cda3b8fbd8f6c33c5
|
|
||||||
DIST winepulse-patches-1.7.20.tar.bz2 52583 SHA256 95d0febb72baa73d5faeb82de774b49eaa9e38aa74448ea313c62f6eb1f4faf3 SHA512 9d7108fd2076d9a19dff5e72a25aa57f0946e6d17cfcc07422cce3fca34dfe04521d09cbfe611701781e10ad1f0d00562cba974214a4d189b16f6ded96ef61bf WHIRLPOOL 815d1cbf43b64a7a1a3aae965c6521ee3c6147458913f13236ccec7848340663d8372280f53eed381f3f68969bb06b272c30c605c290e31a678fc8d01575a766
|
|
||||||
DIST winepulse-patches-1.7.21.tar.bz2 52679 SHA256 38daf95ea99cf831c56634e1dd4a4ea5fa4c11f570dfbddff06ceb7cd05e7303 SHA512 8feb729461a0e9791eeae11bd354407bdb389aefd1d30454781cd56072deeb507dccf5a825e580194d1a26c2c83b631d38967011c5360c46340dc3ceb7c0096d WHIRLPOOL e5cd496a7a66036825cff73dcdb76d787948b05d604b26042b024f7c9e991f4ea61efbd41a53fe667bd023e04cd5763f806166ab3aa9de757105ee3fbe6f65e8
|
|
||||||
EBUILD wine-1.7.16.ebuild 13430 SHA256 3e8e6453f24612607204540dc20d57ee0cccda744c1059ff8179999eb2ca2e30 SHA512 d5e292b66abadec40744d9f61d17a7e1cd81b8a2be364b776bbc8d45a8e2ac18099670c95dea15a8471bd6c69cc281235ebb218dba68e0583e1e46d2add5b78c WHIRLPOOL 5258dd59ea5e5ddfe139f2582c3b3266f689a0fb77d859d52611aab6405ddb66ebf4076f60c7c538e73a24ec89b6c4e325551cb1a87cb3f16c56e07e579fb52d
|
|
||||||
EBUILD wine-1.7.19-r1.ebuild 14632 SHA256 41590bbeb71a52fd8b524abfcc6353348ff4c6f201a7d7927a0fdb0f2f49f912 SHA512 5f02239cadc87f41356f92d3c41367d581f22984279bf6d1e27a0edb3c67e973c0ec21da9778cb5f33296fcd5b8f9ef89c125d4b480c29f7e0ffc3e58b14bc78 WHIRLPOOL c90d66e344ab21c6a5c4fc4cb2388b158bf3b1b1714724514b926e8b12ccea3cd8e8fd5f72fb2fc368a161bb6f8fe00d29e2fedfed50094febace6c4d6f6f7b2
|
|
||||||
EBUILD wine-1.7.20-r1.ebuild 15067 SHA256 16e8b0ed03e7415888c661b3de1e9f244d2f8e5423f2d6b7fb1bcdbedc34de57 SHA512 ffce8425cfa90fee0d7959ca56a3bc28d194fcfa97a7cac047f089f89e58dbafc77fd05610510dd180a74f29617f310719933a5cab6513773d8062e9b166a0ff WHIRLPOOL 356e2772b459defe979ae5a41a4449b62bbc162c869f1a4c819a1e8840264beafcdc6c51e5606928c337346b89a247939d4321ff576f1d9af69ac3912b957988
|
|
||||||
EBUILD wine-1.7.20.ebuild 15319 SHA256 a0eff0a56de659af8a143404053e6052548f14f2a07760a8c7b6bd0e9e678367 SHA512 1ece5a8be9cdd5ff40464efb20f1f244fda0aa53b41603f144d7a0443ea516f8e4686c4ecc14e8fac77ba115203f7d038845fd81df40f158c0996dade0159411 WHIRLPOOL 177385a653da950fced9d549974925ba3cbb03abcc6ea836abb1bdc99702ad5d17bbdca86beed298404956dd5297b5f6f6dfba1a28372b249a691167f2b7c61b
|
|
||||||
EBUILD wine-1.7.21.ebuild 15240 SHA256 2c561b103710a318da7871e135b6bc7e94fc82de692f53f844927fadb6754105 SHA512 5e745fe554287eee7ee2a613b353082868d548daeaa2ee2f9601c20a93934c2608f7ab60862058e5bb705199a2450921cdcc50e17ff22cdaea52a6031c43f7e2 WHIRLPOOL 12baa5611e09e13ffac8b8e423e08ff07853784cd20fc4d3c653e4c6d65dab6d61373602a0872ffd9221380343e6836f73efda7358cb776af049cd18c655dd4c
|
|
||||||
MISC metadata.xml 2140 SHA256 e8225539d8f936aa53dac82fb8e9be8aa7cc927bb4a35ee3167c0b8b99664d7b SHA512 766de816a5a43bea96f30abc8d2af603507c42017d215190c7fd7edfcb0bcc8005e235b5a14bed06f3647a9a72e3f8bfd65d77cb7614bd54ee7af9d2caed04b0 WHIRLPOOL 1be00991622964d97c642be73a300d47a3320ff8eaa82c7782c618009a977b8f09c79eb12ddf7a38c3cc4c8fc3497c9aa75a8ee8e0545a0f616428d82822c49c
|
|
@ -1,55 +0,0 @@
|
|||||||
http://bugs.gentoo.org/260726
|
|
||||||
|
|
||||||
--- wine-1.1.15/tools/winegcc/winegcc.c
|
|
||||||
+++ wine-1.1.15/tools/winegcc/winegcc.c
|
|
||||||
@@ -215,10 +215,13 @@
|
|
||||||
strarray* files;
|
|
||||||
};
|
|
||||||
|
|
||||||
+#undef FORCE_POINTER_SIZE
|
|
||||||
#ifdef __i386__
|
|
||||||
static const enum target_cpu build_cpu = CPU_x86;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__x86_64__)
|
|
||||||
static const enum target_cpu build_cpu = CPU_x86_64;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__sparc__)
|
|
||||||
static const enum target_cpu build_cpu = CPU_SPARC;
|
|
||||||
#elif defined(__ALPHA__)
|
|
||||||
@@ -968,6 +971,9 @@
|
|
||||||
opts.linker_args = strarray_alloc();
|
|
||||||
opts.compiler_args = strarray_alloc();
|
|
||||||
opts.winebuild_args = strarray_alloc();
|
|
||||||
+#ifdef FORCE_POINTER_SIZE
|
|
||||||
+ opts.force_pointer_size = sizeof(size_t);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* determine the processor type */
|
|
||||||
if (strendswith(argv[0], "winecpp")) opts.processor = proc_cpp;
|
|
||||||
--- wine-1.1.15/tools/winebuild/main.c
|
|
||||||
+++ wine-1.1.15/tools/winebuild/main.c
|
|
||||||
@@ -50,10 +50,13 @@
|
|
||||||
int link_ext_symbols = 0;
|
|
||||||
int force_pointer_size = 0;
|
|
||||||
|
|
||||||
+#undef FORCE_POINTER_SIZE
|
|
||||||
#ifdef __i386__
|
|
||||||
enum target_cpu target_cpu = CPU_x86;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__x86_64__)
|
|
||||||
enum target_cpu target_cpu = CPU_x86_64;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__sparc__)
|
|
||||||
enum target_cpu target_cpu = CPU_SPARC;
|
|
||||||
#elif defined(__ALPHA__)
|
|
||||||
@@ -574,6 +577,10 @@
|
|
||||||
signal( SIGTERM, exit_on_signal );
|
|
||||||
signal( SIGINT, exit_on_signal );
|
|
||||||
|
|
||||||
+#ifdef FORCE_POINTER_SIZE
|
|
||||||
+ force_pointer_size = sizeof(size_t);
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
output_file = stdout;
|
|
||||||
argv = parse_options( argc, argv, spec );
|
|
||||||
|
|
@ -1,574 +0,0 @@
|
|||||||
From 26603f25f73142a45b5b964bb9bb2e59bc0908d4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Julliard <julliard@winehq.org>
|
|
||||||
Date: Thu, 24 Feb 2011 13:11:53 +0100
|
|
||||||
Subject: [PATCH] msxml3: Include the system libxml headers before the Windows
|
|
||||||
headers.
|
|
||||||
|
|
||||||
[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to wine-1.2.3]
|
|
||||||
---
|
|
||||||
dlls/msxml3/attribute.c | 6 ++++++
|
|
||||||
dlls/msxml3/bsc.c | 6 ++++++
|
|
||||||
dlls/msxml3/cdata.c | 5 +++++
|
|
||||||
dlls/msxml3/comment.c | 5 +++++
|
|
||||||
dlls/msxml3/dispex.c | 5 +++++
|
|
||||||
dlls/msxml3/docfrag.c | 5 +++++
|
|
||||||
dlls/msxml3/domdoc.c | 11 +++++++++--
|
|
||||||
dlls/msxml3/domimpl.c | 5 +++++
|
|
||||||
dlls/msxml3/element.c | 5 +++++
|
|
||||||
dlls/msxml3/entityref.c | 5 +++++
|
|
||||||
dlls/msxml3/factory.c | 5 +++++
|
|
||||||
dlls/msxml3/httprequest.c | 6 ++++++
|
|
||||||
dlls/msxml3/main.c | 15 +++++++++++++++
|
|
||||||
dlls/msxml3/msxml_private.h | 23 -----------------------
|
|
||||||
dlls/msxml3/node.c | 31 +++++++++++++++++++++++++++----
|
|
||||||
dlls/msxml3/nodelist.c | 5 +++++
|
|
||||||
dlls/msxml3/nodemap.c | 5 +++++
|
|
||||||
dlls/msxml3/parseerror.c | 5 +++++
|
|
||||||
dlls/msxml3/pi.c | 5 +++++
|
|
||||||
dlls/msxml3/queryresult.c | 9 +++++++--
|
|
||||||
dlls/msxml3/regsvr.c | 4 ++++
|
|
||||||
dlls/msxml3/saxreader.c | 10 +++++++---
|
|
||||||
dlls/msxml3/schema.c | 12 ++++++++++++
|
|
||||||
dlls/msxml3/text.c | 5 +++++
|
|
||||||
dlls/msxml3/xmldoc.c | 5 +++++
|
|
||||||
dlls/msxml3/xmlelem.c | 5 +++++
|
|
||||||
26 files changed, 174 insertions(+), 34 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/dlls/msxml3/attribute.c b/dlls/msxml3/attribute.c
|
|
||||||
index d78fa47..3df93d6 100644
|
|
||||||
--- a/dlls/msxml3/attribute.c
|
|
||||||
+++ b/dlls/msxml3/attribute.c
|
|
||||||
@@ -23,6 +23,12 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/HTMLtree.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/bsc.c b/dlls/msxml3/bsc.c
|
|
||||||
index b24e04c..01a09a5 100644
|
|
||||||
--- a/dlls/msxml3/bsc.c
|
|
||||||
+++ b/dlls/msxml3/bsc.c
|
|
||||||
@@ -23,6 +23,12 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <assert.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/HTMLtree.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/cdata.c b/dlls/msxml3/cdata.c
|
|
||||||
index 3fba66c..caf8cd8 100644
|
|
||||||
--- a/dlls/msxml3/cdata.c
|
|
||||||
+++ b/dlls/msxml3/cdata.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/comment.c b/dlls/msxml3/comment.c
|
|
||||||
index e74de07..1cabfa3 100644
|
|
||||||
--- a/dlls/msxml3/comment.c
|
|
||||||
+++ b/dlls/msxml3/comment.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c
|
|
||||||
index 09b71fe..6b01b15 100644
|
|
||||||
--- a/dlls/msxml3/dispex.c
|
|
||||||
+++ b/dlls/msxml3/dispex.c
|
|
||||||
@@ -22,6 +22,11 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <assert.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/docfrag.c b/dlls/msxml3/docfrag.c
|
|
||||||
index fff3f62..bebd252 100644
|
|
||||||
--- a/dlls/msxml3/docfrag.c
|
|
||||||
+++ b/dlls/msxml3/docfrag.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c
|
|
||||||
index 0007503..e6a61e4 100644
|
|
||||||
--- a/dlls/msxml3/domdoc.c
|
|
||||||
+++ b/dlls/msxml3/domdoc.c
|
|
||||||
@@ -25,6 +25,15 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <assert.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/xpathInternals.h>
|
|
||||||
+# include <libxml/xmlsave.h>
|
|
||||||
+# include <libxml/SAX2.h>
|
|
||||||
+# include <libxml/parserInternals.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
@@ -47,8 +56,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBXML2
|
|
||||||
|
|
||||||
-#include <libxml/xmlsave.h>
|
|
||||||
-
|
|
||||||
/* not defined in older versions */
|
|
||||||
#define XML_SAVE_FORMAT 1
|
|
||||||
#define XML_SAVE_NO_DECL 2
|
|
||||||
diff --git a/dlls/msxml3/domimpl.c b/dlls/msxml3/domimpl.c
|
|
||||||
index dd518a1..c6794ac 100644
|
|
||||||
--- a/dlls/msxml3/domimpl.c
|
|
||||||
+++ b/dlls/msxml3/domimpl.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/element.c b/dlls/msxml3/element.c
|
|
||||||
index 617c008..1b5c693 100644
|
|
||||||
--- a/dlls/msxml3/element.c
|
|
||||||
+++ b/dlls/msxml3/element.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/entityref.c b/dlls/msxml3/entityref.c
|
|
||||||
index db46193..1baea6e 100644
|
|
||||||
--- a/dlls/msxml3/entityref.c
|
|
||||||
+++ b/dlls/msxml3/entityref.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
|
|
||||||
index 3fd229c..45df9f0 100644
|
|
||||||
--- a/dlls/msxml3/factory.c
|
|
||||||
+++ b/dlls/msxml3/factory.c
|
|
||||||
@@ -24,6 +24,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
|
|
||||||
index 4585484..be1a5f7 100644
|
|
||||||
--- a/dlls/msxml3/httprequest.c
|
|
||||||
+++ b/dlls/msxml3/httprequest.c
|
|
||||||
@@ -22,6 +22,12 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/encoding.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c
|
|
||||||
index 60b0cbd..47a89b1 100644
|
|
||||||
--- a/dlls/msxml3/main.c
|
|
||||||
+++ b/dlls/msxml3/main.c
|
|
||||||
@@ -25,6 +25,21 @@
|
|
||||||
#define COBJMACROS
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# ifdef SONAME_LIBXSLT
|
|
||||||
+# ifdef HAVE_LIBXSLT_PATTERN_H
|
|
||||||
+# include <libxslt/pattern.h>
|
|
||||||
+# endif
|
|
||||||
+# ifdef HAVE_LIBXSLT_TRANSFORM_H
|
|
||||||
+# include <libxslt/transform.h>
|
|
||||||
+# endif
|
|
||||||
+# include <libxslt/xsltutils.h>
|
|
||||||
+# include <libxslt/xsltInternals.h>
|
|
||||||
+# endif
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h
|
|
||||||
index e0279f1..e1fbb59 100644
|
|
||||||
--- a/dlls/msxml3/msxml_private.h
|
|
||||||
+++ b/dlls/msxml3/msxml_private.h
|
|
||||||
@@ -102,10 +102,6 @@ BOOL dispex_query_interface(DispatchEx*,REFIID,void**);
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBXML2
|
|
||||||
|
|
||||||
-#ifdef HAVE_LIBXML_PARSER_H
|
|
||||||
-#include <libxml/parser.h>
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
/* constructors */
|
|
||||||
extern IUnknown *create_domdoc( xmlNodePtr document );
|
|
||||||
extern IUnknown *create_xmldoc( void );
|
|
||||||
@@ -184,25 +180,6 @@ static inline BSTR bstr_from_xmlChar(const xmlChar *str)
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-void* libxslt_handle;
|
|
||||||
-#ifdef SONAME_LIBXSLT
|
|
||||||
-# ifdef HAVE_LIBXSLT_PATTERN_H
|
|
||||||
-# include <libxslt/pattern.h>
|
|
||||||
-# endif
|
|
||||||
-# ifdef HAVE_LIBXSLT_TRANSFORM_H
|
|
||||||
-# include <libxslt/transform.h>
|
|
||||||
-# endif
|
|
||||||
-# include <libxslt/xsltutils.h>
|
|
||||||
-# include <libxslt/xsltInternals.h>
|
|
||||||
-
|
|
||||||
-# define MAKE_FUNCPTR(f) extern typeof(f) * p##f
|
|
||||||
-MAKE_FUNCPTR(xsltApplyStylesheet);
|
|
||||||
-MAKE_FUNCPTR(xsltCleanupGlobals);
|
|
||||||
-MAKE_FUNCPTR(xsltFreeStylesheet);
|
|
||||||
-MAKE_FUNCPTR(xsltParseStylesheetDoc);
|
|
||||||
-# undef MAKE_FUNCPTR
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
extern IXMLDOMParseError *create_parseError( LONG code, BSTR url, BSTR reason, BSTR srcText,
|
|
||||||
LONG line, LONG linepos, LONG filepos );
|
|
||||||
extern HRESULT DOMDocument_create( IUnknown *pUnkOuter, LPVOID *ppObj );
|
|
||||||
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
|
|
||||||
index bbdcb5d..2980566 100644
|
|
||||||
--- a/dlls/msxml3/node.c
|
|
||||||
+++ b/dlls/msxml3/node.c
|
|
||||||
@@ -24,6 +24,23 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <assert.h>
|
|
||||||
+
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/HTMLtree.h>
|
|
||||||
+# ifdef SONAME_LIBXSLT
|
|
||||||
+# ifdef HAVE_LIBXSLT_PATTERN_H
|
|
||||||
+# include <libxslt/pattern.h>
|
|
||||||
+# endif
|
|
||||||
+# ifdef HAVE_LIBXSLT_TRANSFORM_H
|
|
||||||
+# include <libxslt/transform.h>
|
|
||||||
+# endif
|
|
||||||
+# include <libxslt/xsltutils.h>
|
|
||||||
+# include <libxslt/xsltInternals.h>
|
|
||||||
+# endif
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
@@ -33,16 +50,22 @@
|
|
||||||
|
|
||||||
#include "msxml_private.h"
|
|
||||||
|
|
||||||
-#ifdef HAVE_LIBXML2
|
|
||||||
-# include <libxml/HTMLtree.h>
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
#include "wine/debug.h"
|
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(msxml);
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBXML2
|
|
||||||
|
|
||||||
+#ifdef SONAME_LIBXSLT
|
|
||||||
+extern void* libxslt_handle;
|
|
||||||
+# define MAKE_FUNCPTR(f) extern typeof(f) * p##f
|
|
||||||
+MAKE_FUNCPTR(xsltApplyStylesheet);
|
|
||||||
+MAKE_FUNCPTR(xsltCleanupGlobals);
|
|
||||||
+MAKE_FUNCPTR(xsltFreeStylesheet);
|
|
||||||
+MAKE_FUNCPTR(xsltParseStylesheetDoc);
|
|
||||||
+# undef MAKE_FUNCPTR
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
static const WCHAR szBinBase64[] = {'b','i','n','.','b','a','s','e','6','4',0};
|
|
||||||
static const WCHAR szString[] = {'s','t','r','i','n','g',0};
|
|
||||||
static const WCHAR szNumber[] = {'n','u','m','b','e','r',0};
|
|
||||||
diff --git a/dlls/msxml3/nodelist.c b/dlls/msxml3/nodelist.c
|
|
||||||
index f643c5e..4b2bba9 100644
|
|
||||||
--- a/dlls/msxml3/nodelist.c
|
|
||||||
+++ b/dlls/msxml3/nodelist.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/nodemap.c b/dlls/msxml3/nodemap.c
|
|
||||||
index 7d23ec8..d3d9c38 100644
|
|
||||||
--- a/dlls/msxml3/nodemap.c
|
|
||||||
+++ b/dlls/msxml3/nodemap.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#define COBJMACROS
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/parseerror.c b/dlls/msxml3/parseerror.c
|
|
||||||
index 4b0dc57..89f14ca 100644
|
|
||||||
--- a/dlls/msxml3/parseerror.c
|
|
||||||
+++ b/dlls/msxml3/parseerror.c
|
|
||||||
@@ -25,6 +25,11 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <assert.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winerror.h"
|
|
||||||
diff --git a/dlls/msxml3/pi.c b/dlls/msxml3/pi.c
|
|
||||||
index 0baefe4..3ebc1bf 100644
|
|
||||||
--- a/dlls/msxml3/pi.c
|
|
||||||
+++ b/dlls/msxml3/pi.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/queryresult.c b/dlls/msxml3/queryresult.c
|
|
||||||
index 2c6f23e..8613b20 100644
|
|
||||||
--- a/dlls/msxml3/queryresult.c
|
|
||||||
+++ b/dlls/msxml3/queryresult.c
|
|
||||||
@@ -24,6 +24,13 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/xpath.h>
|
|
||||||
+# include <libxml/xpathInternals.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
@@ -48,8 +55,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBXML2
|
|
||||||
|
|
||||||
-#include <libxml/xpath.h>
|
|
||||||
-
|
|
||||||
typedef struct _queryresult
|
|
||||||
{
|
|
||||||
DispatchEx dispex;
|
|
||||||
diff --git a/dlls/msxml3/regsvr.c b/dlls/msxml3/regsvr.c
|
|
||||||
index 415e5af..864d61e 100644
|
|
||||||
--- a/dlls/msxml3/regsvr.c
|
|
||||||
+++ b/dlls/msxml3/regsvr.c
|
|
||||||
@@ -24,6 +24,10 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <string.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#define COBJMACROS
|
|
||||||
|
|
||||||
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
|
|
||||||
index eca9f1d..f2d340e 100644
|
|
||||||
--- a/dlls/msxml3/saxreader.c
|
|
||||||
+++ b/dlls/msxml3/saxreader.c
|
|
||||||
@@ -24,6 +24,13 @@
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <assert.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/SAX2.h>
|
|
||||||
+# include <libxml/parserInternals.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
@@ -43,9 +50,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml);
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBXML2
|
|
||||||
|
|
||||||
-#include <libxml/SAX2.h>
|
|
||||||
-#include <libxml/parserInternals.h>
|
|
||||||
-
|
|
||||||
typedef struct _saxreader
|
|
||||||
{
|
|
||||||
const struct IVBSAXXMLReaderVtbl *lpVBSAXXMLReaderVtbl;
|
|
||||||
diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c
|
|
||||||
index 72d7854..c1465c0 100644
|
|
||||||
--- a/dlls/msxml3/schema.c
|
|
||||||
+++ b/dlls/msxml3/schema.c
|
|
||||||
@@ -23,6 +23,18 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+# include <libxml/tree.h>
|
|
||||||
+# include <libxml/xmlschemas.h>
|
|
||||||
+# include <libxml/schemasInternals.h>
|
|
||||||
+# include <libxml/hash.h>
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/parserInternals.h>
|
|
||||||
+# include <libxml/xmlIO.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/text.c b/dlls/msxml3/text.c
|
|
||||||
index fdcb06b..72b2ffd 100644
|
|
||||||
--- a/dlls/msxml3/text.c
|
|
||||||
+++ b/dlls/msxml3/text.c
|
|
||||||
@@ -24,6 +24,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/xmldoc.c b/dlls/msxml3/xmldoc.c
|
|
||||||
index d1a010f..0d1006e 100644
|
|
||||||
--- a/dlls/msxml3/xmldoc.c
|
|
||||||
+++ b/dlls/msxml3/xmldoc.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
diff --git a/dlls/msxml3/xmlelem.c b/dlls/msxml3/xmlelem.c
|
|
||||||
index a71b18b..a818d14 100644
|
|
||||||
--- a/dlls/msxml3/xmlelem.c
|
|
||||||
+++ b/dlls/msxml3/xmlelem.c
|
|
||||||
@@ -23,6 +23,11 @@
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#ifdef HAVE_LIBXML2
|
|
||||||
+# include <libxml/parser.h>
|
|
||||||
+# include <libxml/xmlerror.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
#include "windef.h"
|
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
--
|
|
||||||
1.7.8.3
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
|||||||
https://bugs.gentoo.org/show_bug.cgi?id=395615
|
|
||||||
|
|
||||||
Explicitly add the required -m32/m64 to *FLAGS; this overrides any
|
|
||||||
arch-specific -m* flags that may have been appended by multilib-portage.
|
|
||||||
|
|
||||||
Even though -m32/m64 is now added to *FLAGS, -m32/m64 still has to be
|
|
||||||
explicitly added to CC and CXX due to wine's build system. For example,
|
|
||||||
winegcc saves the build-time value of CC and uses it at runtime.
|
|
||||||
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -133,12 +133,18 @@
|
|
||||||
then
|
|
||||||
CC="$CC -m64"
|
|
||||||
CXX="$CXX -m64"
|
|
||||||
+ CFLAGS="$CFLAGS -m64"
|
|
||||||
+ LDFLAGS="$LDFLAGS -m64"
|
|
||||||
+ CXXFLAGS="$CXXFLAGS -m64"
|
|
||||||
host_cpu="x86_64"
|
|
||||||
notice_platform="64-bit "
|
|
||||||
AC_SUBST(TARGETFLAGS,"-m64")
|
|
||||||
else
|
|
||||||
CC="$CC -m32"
|
|
||||||
CXX="$CXX -m32"
|
|
||||||
+ CFLAGS="$CFLAGS -m32"
|
|
||||||
+ LDFLAGS="$LDFLAGS -m32"
|
|
||||||
+ CXXFLAGS="$CXXFLAGS -m32"
|
|
||||||
host_cpu="i386"
|
|
||||||
notice_platform="32-bit "
|
|
||||||
AC_SUBST(TARGETFLAGS,"-m32")
|
|
||||||
@@ -150,6 +156,9 @@
|
|
||||||
then
|
|
||||||
CC="$CC -m32"
|
|
||||||
CXX="$CXX -m32"
|
|
||||||
+ CFLAGS="$CFLAGS -m32"
|
|
||||||
+ LDFLAGS="$LDFLAGS -m32"
|
|
||||||
+ CXXFLAGS="$CXXFLAGS -m32"
|
|
||||||
AC_MSG_CHECKING([whether $CC works])
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM()],AC_MSG_RESULT([yes]),
|
|
||||||
[AC_MSG_RESULT([no])
|
|
@ -1,38 +0,0 @@
|
|||||||
From 22fcf835dfe713ad93f649a901973208e0f7b62d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
||||||
Date: Tue, 7 Aug 2012 01:29:01 -0400
|
|
||||||
Subject: [PATCH] Do not check for libGL symbols when checking libOSMesa
|
|
||||||
|
|
||||||
If mesa had been built with shared glapi, glAccum is not available in
|
|
||||||
libOSMesa without explicitly linking to libGL. In addition, in
|
|
||||||
mesa-8.0.x and earlier, libOSMesa needs to be explicitly linked to
|
|
||||||
libglapi if mesa was built with shared glapi, see
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=399813
|
|
||||||
And in mesa-8.1.x, libOSMesa in addition needs libdl, libpthread, and
|
|
||||||
libstdc++, see https://bugs.gentoo.org/show_bug.cgi?id=431832
|
|
||||||
---
|
|
||||||
configure.ac | 8 +++++++-
|
|
||||||
1 files changed, 7 insertions(+), 1 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 15ada86..6eab75e 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1133,7 +1133,13 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
|
|
||||||
|
|
||||||
if test "$ac_cv_header_GL_osmesa_h" = "yes"
|
|
||||||
then
|
|
||||||
- WINE_CHECK_SONAME(OSMesa,glAccum,,,[$X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[$X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ if test "x$ac_cv_lib_soname_OSMesa" = "x"; then
|
|
||||||
+ osmesa_save_CC=$CC
|
|
||||||
+ CC=$CXX
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[-lglapi -lpthread -ldl $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ CC=$osmesa_save_CC
|
|
||||||
+ fi
|
|
||||||
fi
|
|
||||||
WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
|
|
||||||
[libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
|
|
||||||
--
|
|
||||||
1.7.8.6
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
|||||||
From 1ede664b18bd8a88359a3cebb291ad49833ee033 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
||||||
Date: Tue, 7 Aug 2012 01:29:01 -0400
|
|
||||||
Subject: [PATCH] Do not check for libGL symbols when checking libOSMesa
|
|
||||||
|
|
||||||
If mesa had been built with shared glapi, glAccum is not available in
|
|
||||||
libOSMesa without explicitly linking to libGL. In addition, in
|
|
||||||
mesa-8.0.x and earlier, libOSMesa needs to be explicitly linked to
|
|
||||||
libglapi if mesa was built with shared glapi, see
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=399813
|
|
||||||
And in mesa-8.1.x, libOSMesa in addition needs libdl, libpthread, and
|
|
||||||
libstdc++, see https://bugs.gentoo.org/show_bug.cgi?id=431832
|
|
||||||
---
|
|
||||||
configure.ac | 8 +++++++-
|
|
||||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index cc32c24..275b792 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1128,7 +1128,13 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
|
|
||||||
|
|
||||||
if test "x$with_osmesa" != "xno"
|
|
||||||
then
|
|
||||||
- WINE_CHECK_SONAME(OSMesa,glAccum,,,[$X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[$X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ if test "x$ac_cv_lib_soname_OSMesa" = "x"; then
|
|
||||||
+ osmesa_save_CC=$CC
|
|
||||||
+ CC=$CXX
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[-lglapi -lpthread -ldl $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ CC=$osmesa_save_CC
|
|
||||||
+ fi
|
|
||||||
WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
|
|
||||||
[libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
|
|
||||||
fi
|
|
||||||
--
|
|
||||||
1.8.0
|
|
||||||
|
|
@ -1,214 +0,0 @@
|
|||||||
From 57c57e9dfae50f045503ae9f3107fa3748512483 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
||||||
Date: Sun, 3 Feb 2013 19:19:36 -0500
|
|
||||||
Subject: [PATCH] winebuild: Use $CCAS to assemble if found
|
|
||||||
|
|
||||||
Commit c14bdaf1 made winebuild use Clang to assemble if found.
|
|
||||||
|
|
||||||
However, just because a user has some version of Clang installed, it
|
|
||||||
does not mean that she wants to use Clang to assemble Wine. For example,
|
|
||||||
a user who has both Clang and GAS installed may want to use GAS to avoid
|
|
||||||
textrels (see https://bugs.gentoo.org/show_bug.cgi?id=455308).
|
|
||||||
|
|
||||||
This patch allows the user to override which assembler gets used by
|
|
||||||
exporting CCAS at Wine configure time; the name CCAS was chosen for
|
|
||||||
compatibility with automake's standard AM_PROG_AS macro.
|
|
||||||
---
|
|
||||||
configure | 106 ++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
configure.ac | 4 ++
|
|
||||||
tools/winebuild/Makefile.in | 5 ++-
|
|
||||||
tools/winebuild/utils.c | 12 +++++
|
|
||||||
4 files changed, 126 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index e3253ee..d0b7777 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -732,6 +732,8 @@ FLEX
|
|
||||||
TOOLSDIR
|
|
||||||
WOW64_DISABLE
|
|
||||||
TARGETFLAGS
|
|
||||||
+ac_ct_CCAS
|
|
||||||
+CCAS
|
|
||||||
CPPBIN
|
|
||||||
ac_ct_CXX
|
|
||||||
CXXFLAGS
|
|
||||||
@@ -861,6 +863,7 @@ CPPFLAGS
|
|
||||||
CXX
|
|
||||||
CXXFLAGS
|
|
||||||
CCC
|
|
||||||
+CCAS
|
|
||||||
CPP
|
|
||||||
XMKMF'
|
|
||||||
|
|
||||||
@@ -1549,6 +1552,7 @@ Some influential environment variables:
|
|
||||||
you have headers in a nonstandard directory <include dir>
|
|
||||||
CXX C++ compiler command
|
|
||||||
CXXFLAGS C++ compiler flags
|
|
||||||
+ CCAS Assembler command
|
|
||||||
CPP C preprocessor
|
|
||||||
XMKMF Path to xmkmf, Makefile generator for X Window System
|
|
||||||
|
|
||||||
@@ -4075,6 +4079,108 @@ cat >>confdefs.h <<_ACEOF
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
|
|
||||||
+
|
|
||||||
+if test -n "$ac_tool_prefix"; then
|
|
||||||
+ for ac_prog in clang gas as
|
|
||||||
+ do
|
|
||||||
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
||||||
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
||||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
+if ${ac_cv_prog_CCAS+:} false; then :
|
|
||||||
+ $as_echo_n "(cached) " >&6
|
|
||||||
+else
|
|
||||||
+ if test -n "$CCAS"; then
|
|
||||||
+ ac_cv_prog_CCAS="$CCAS" # Let the user override the test.
|
|
||||||
+else
|
|
||||||
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
+for as_dir in $PATH
|
|
||||||
+do
|
|
||||||
+ IFS=$as_save_IFS
|
|
||||||
+ test -z "$as_dir" && as_dir=.
|
|
||||||
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
+ ac_cv_prog_CCAS="$ac_tool_prefix$ac_prog"
|
|
||||||
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
+ break 2
|
|
||||||
+ fi
|
|
||||||
+done
|
|
||||||
+ done
|
|
||||||
+IFS=$as_save_IFS
|
|
||||||
+
|
|
||||||
+fi
|
|
||||||
+fi
|
|
||||||
+CCAS=$ac_cv_prog_CCAS
|
|
||||||
+if test -n "$CCAS"; then
|
|
||||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCAS" >&5
|
|
||||||
+$as_echo "$CCAS" >&6; }
|
|
||||||
+else
|
|
||||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
+$as_echo "no" >&6; }
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+ test -n "$CCAS" && break
|
|
||||||
+ done
|
|
||||||
+fi
|
|
||||||
+if test -z "$CCAS"; then
|
|
||||||
+ ac_ct_CCAS=$CCAS
|
|
||||||
+ for ac_prog in clang gas as
|
|
||||||
+do
|
|
||||||
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
||||||
+set dummy $ac_prog; ac_word=$2
|
|
||||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
+$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
+if ${ac_cv_prog_ac_ct_CCAS+:} false; then :
|
|
||||||
+ $as_echo_n "(cached) " >&6
|
|
||||||
+else
|
|
||||||
+ if test -n "$ac_ct_CCAS"; then
|
|
||||||
+ ac_cv_prog_ac_ct_CCAS="$ac_ct_CCAS" # Let the user override the test.
|
|
||||||
+else
|
|
||||||
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
+for as_dir in $PATH
|
|
||||||
+do
|
|
||||||
+ IFS=$as_save_IFS
|
|
||||||
+ test -z "$as_dir" && as_dir=.
|
|
||||||
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
+ ac_cv_prog_ac_ct_CCAS="$ac_prog"
|
|
||||||
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
+ break 2
|
|
||||||
+ fi
|
|
||||||
+done
|
|
||||||
+ done
|
|
||||||
+IFS=$as_save_IFS
|
|
||||||
+
|
|
||||||
+fi
|
|
||||||
+fi
|
|
||||||
+ac_ct_CCAS=$ac_cv_prog_ac_ct_CCAS
|
|
||||||
+if test -n "$ac_ct_CCAS"; then
|
|
||||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CCAS" >&5
|
|
||||||
+$as_echo "$ac_ct_CCAS" >&6; }
|
|
||||||
+else
|
|
||||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
+$as_echo "no" >&6; }
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+ test -n "$ac_ct_CCAS" && break
|
|
||||||
+done
|
|
||||||
+
|
|
||||||
+ if test "x$ac_ct_CCAS" = x; then
|
|
||||||
+ CCAS=""$CC""
|
|
||||||
+ else
|
|
||||||
+ case $cross_compiling:$ac_tool_warned in
|
|
||||||
+yes:)
|
|
||||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
||||||
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
||||||
+ac_tool_warned=yes ;;
|
|
||||||
+esac
|
|
||||||
+ CCAS=$ac_ct_CCAS
|
|
||||||
+ fi
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
+
|
|
||||||
case $host in
|
|
||||||
*-darwin*)
|
|
||||||
if test "x$enable_win64" = "xyes"
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index c93cd08..760f325 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -126,6 +126,10 @@ dnl We can't use AC_PROG_CPP for winegcc, it uses by default $(CC) -E
|
|
||||||
AC_CHECK_TOOL(CPPBIN,cpp,cpp)
|
|
||||||
AC_DEFINE_UNQUOTED(EXEEXT,["$ac_exeext"],[Define to the file extension for executables.])
|
|
||||||
|
|
||||||
+dnl Analogous to AM_PROG_AS
|
|
||||||
+AC_ARG_VAR([CCAS],[Assembler command])
|
|
||||||
+AC_CHECK_TOOLS(CCAS,[clang gas as],["$CC"])
|
|
||||||
+
|
|
||||||
case $host in
|
|
||||||
*-darwin*)
|
|
||||||
if test "x$enable_win64" = "xyes"
|
|
||||||
diff --git a/tools/winebuild/Makefile.in b/tools/winebuild/Makefile.in
|
|
||||||
index 2017129..3fe47a3 100644
|
|
||||||
--- a/tools/winebuild/Makefile.in
|
|
||||||
+++ b/tools/winebuild/Makefile.in
|
|
||||||
@@ -1,4 +1,7 @@
|
|
||||||
-DEFS = -D__WINESRC__ $(EXTRADEFS)
|
|
||||||
+DEFS = \
|
|
||||||
+ -DCCAS="\"@CCAS@\"" \
|
|
||||||
+ -D__WINESRC__ \
|
|
||||||
+ $(EXTRADEFS)
|
|
||||||
|
|
||||||
PROGRAMS = winebuild$(EXEEXT)
|
|
||||||
MANPAGE = winebuild.man
|
|
||||||
diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
|
|
||||||
index 262ff3a..1c5f918 100644
|
|
||||||
--- a/tools/winebuild/utils.c
|
|
||||||
+++ b/tools/winebuild/utils.c
|
|
||||||
@@ -352,6 +352,18 @@ struct strarray *get_as_command(void)
|
|
||||||
static int as_is_clang = 0;
|
|
||||||
struct strarray *args = strarray_init();
|
|
||||||
|
|
||||||
+ if (!as_command && strlen( CCAS ))
|
|
||||||
+ {
|
|
||||||
+ struct stat st;
|
|
||||||
+
|
|
||||||
+ if (!stat( CCAS, &st ))
|
|
||||||
+ as_command = CCAS;
|
|
||||||
+ else
|
|
||||||
+ as_command = find_tool( CCAS, NULL );
|
|
||||||
+
|
|
||||||
+ if (as_command && strstr( as_command, "clang" )) as_is_clang = 1;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
if (!as_command)
|
|
||||||
{
|
|
||||||
as_command = find_tool( "clang", NULL );
|
|
||||||
--
|
|
||||||
1.8.1.2
|
|
||||||
|
|
@ -1,59 +0,0 @@
|
|||||||
http://bugs.gentoo.org/260726
|
|
||||||
|
|
||||||
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c
|
|
||||||
index 16b4165..5c77267 100644
|
|
||||||
--- a/tools/winebuild/main.c
|
|
||||||
+++ b/tools/winebuild/main.c
|
|
||||||
@@ -48,10 +48,13 @@ int link_ext_symbols = 0;
|
|
||||||
int force_pointer_size = 0;
|
|
||||||
int unwind_tables = 0;
|
|
||||||
|
|
||||||
+#undef FORCE_POINTER_SIZE
|
|
||||||
#ifdef __i386__
|
|
||||||
enum target_cpu target_cpu = CPU_x86;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__x86_64__)
|
|
||||||
enum target_cpu target_cpu = CPU_x86_64;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__powerpc__)
|
|
||||||
enum target_cpu target_cpu = CPU_POWERPC;
|
|
||||||
#elif defined(__arm__)
|
|
||||||
@@ -611,6 +614,10 @@ int main(int argc, char **argv)
|
|
||||||
signal( SIGTERM, exit_on_signal );
|
|
||||||
signal( SIGINT, exit_on_signal );
|
|
||||||
|
|
||||||
+#ifdef FORCE_POINTER_SIZE
|
|
||||||
+ force_pointer_size = sizeof(size_t);
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
output_file = stdout;
|
|
||||||
argv = parse_options( argc, argv, spec );
|
|
||||||
|
|
||||||
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
|
|
||||||
index 06aa200..c44d2e3 100644
|
|
||||||
--- a/tools/winegcc/winegcc.c
|
|
||||||
+++ b/tools/winegcc/winegcc.c
|
|
||||||
@@ -213,10 +213,13 @@ struct options
|
|
||||||
strarray* files;
|
|
||||||
};
|
|
||||||
|
|
||||||
+#undef FORCE_POINTER_SIZE
|
|
||||||
#ifdef __i386__
|
|
||||||
static const enum target_cpu build_cpu = CPU_x86;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__x86_64__)
|
|
||||||
static const enum target_cpu build_cpu = CPU_x86_64;
|
|
||||||
+#define FORCE_POINTER_SIZE
|
|
||||||
#elif defined(__powerpc__)
|
|
||||||
static const enum target_cpu build_cpu = CPU_POWERPC;
|
|
||||||
#elif defined(__arm__)
|
|
||||||
@@ -1258,6 +1261,9 @@ int main(int argc, char **argv)
|
|
||||||
opts.linker_args = strarray_alloc();
|
|
||||||
opts.compiler_args = strarray_alloc();
|
|
||||||
opts.winebuild_args = strarray_alloc();
|
|
||||||
+#ifdef FORCE_POINTER_SIZE
|
|
||||||
+ opts.force_pointer_size = sizeof(size_t);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/* determine the processor type */
|
|
||||||
if (strendswith(argv[0], "winecpp")) opts.processor = proc_cpp;
|
|
@ -1,45 +0,0 @@
|
|||||||
commit ce4b6451aabbe83809c7483c748cfa009cc090d6
|
|
||||||
Author: Alexandre Julliard <julliard@winehq.org>
|
|
||||||
Date: Fri May 10 22:01:44 2013 +0200
|
|
||||||
|
|
||||||
configure: Add explicit install targets in libs/wine for make_makefiles.
|
|
||||||
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index d4c1f8e..ef38bfd 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -16379,7 +16379,7 @@ wine_fn_config_makefile documentation enable_documentation
|
|
||||||
wine_fn_config_makefile fonts enable_fonts install-lib
|
|
||||||
wine_fn_config_makefile include enable_include install-dev
|
|
||||||
wine_fn_config_makefile libs/port enable_libs_port
|
|
||||||
-wine_fn_config_makefile libs/wine enable_libs_wine
|
|
||||||
+wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
|
|
||||||
wine_fn_config_makefile libs/wpp enable_libs_wpp
|
|
||||||
wine_fn_config_makefile loader enable_loader install-lib,manpage
|
|
||||||
wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 6dd2348..b44673e 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -3173,7 +3173,7 @@ WINE_CONFIG_MAKEFILE([documentation])
|
|
||||||
WINE_CONFIG_MAKEFILE([fonts],,[install-lib])
|
|
||||||
WINE_CONFIG_MAKEFILE([include],,[install-dev])
|
|
||||||
WINE_CONFIG_MAKEFILE([libs/port])
|
|
||||||
-WINE_CONFIG_MAKEFILE([libs/wine])
|
|
||||||
+WINE_CONFIG_MAKEFILE([libs/wine],,[install-dev,install-lib])
|
|
||||||
WINE_CONFIG_MAKEFILE([libs/wpp])
|
|
||||||
WINE_CONFIG_MAKEFILE([loader],,[install-lib,manpage])
|
|
||||||
WINE_CONFIG_PROGRAM(aspnet_regiis,,[install])
|
|
||||||
diff --git a/libs/wine/Makefile.in b/libs/wine/Makefile.in
|
|
||||||
index b8dc385..7de7799 100644
|
|
||||||
--- a/libs/wine/Makefile.in
|
|
||||||
+++ b/libs/wine/Makefile.in
|
|
||||||
@@ -111,4 +111,8 @@ version.c: dummy
|
|
||||||
$(RELPATH):
|
|
||||||
@cd $(TOOLSDIR)/tools && $(MAKE) relpath$(TOOLSEXT)
|
|
||||||
|
|
||||||
+# Make sure that make_makefiles sees the install rules
|
|
||||||
+install install-lib::
|
|
||||||
+install install-dev::
|
|
||||||
+
|
|
||||||
@LIBWINE_RULES@
|
|
@ -1,44 +0,0 @@
|
|||||||
From 9fb3de8e9268e8e81128fc77328495567140e082 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
||||||
Date: Sat, 25 May 2013 23:57:04 -0400
|
|
||||||
Subject: [PATCH] configure, secur32: In gnutls-3.2, gnutls_mac_get_key_size()
|
|
||||||
moved to crypto.h
|
|
||||||
|
|
||||||
Based on a patch by Ben Kohler <bkohler@gmail.com>
|
|
||||||
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=471077
|
|
||||||
http://bugs.winehq.org/show_bug.cgi?id=33649
|
|
||||||
---
|
|
||||||
configure.ac | 3 ++-
|
|
||||||
dlls/secur32/schannel_gnutls.c | 1 +
|
|
||||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 1941be1..2c10734 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1344,7 +1344,8 @@ then
|
|
||||||
ac_save_CPPFLAGS="$CPPFLAGS"
|
|
||||||
WINE_PACKAGE_FLAGS(GNUTLS,[gnutls])
|
|
||||||
AC_CHECK_HEADER(gnutls/gnutls.h,
|
|
||||||
- [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
|
|
||||||
+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>
|
|
||||||
+#include <gnutls/crypto.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
|
|
||||||
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS])])],
|
|
||||||
[GNUTLS_CFLAGS=""])
|
|
||||||
CPPFLAGS="$ac_save_CPPFLAGS"
|
|
||||||
diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c
|
|
||||||
index 70b8276..cbe64e8 100644
|
|
||||||
--- a/dlls/secur32/schannel_gnutls.c
|
|
||||||
+++ b/dlls/secur32/schannel_gnutls.c
|
|
||||||
@@ -25,6 +25,7 @@
|
|
||||||
#include <stdarg.h>
|
|
||||||
#ifdef SONAME_LIBGNUTLS
|
|
||||||
#include <gnutls/gnutls.h>
|
|
||||||
+#include <gnutls/crypto.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "windef.h"
|
|
||||||
--
|
|
||||||
1.8.2.1
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
Avoid "undefined reference to `memset'" error when building with
|
|
||||||
USE=custom-cflags and -O3 in CFLAGS with gcc-4.8.
|
|
||||||
|
|
||||||
See:
|
|
||||||
|
|
||||||
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888
|
|
||||||
http://bugs.winehq.org/show_bug.cgi?id=33521
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=480508
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index d8033cf..fe7cc7d 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1767,6 +1767,7 @@ then
|
|
||||||
|
|
||||||
dnl Check for some compiler flags
|
|
||||||
WINE_TRY_CFLAGS([-fno-builtin],[AC_SUBST(BUILTINFLAG,"-fno-builtin")])
|
|
||||||
+ WINE_TRY_CFLAGS([-fno-tree-loop-distribute-patterns])
|
|
||||||
WINE_TRY_CFLAGS([-fno-strict-aliasing])
|
|
||||||
dnl clang needs to be told to fail on unknown options
|
|
||||||
saved_CFLAGS=$CFLAGS
|
|
@ -1,38 +0,0 @@
|
|||||||
From 6932b9a17c4f64c13f7060895d46334bc7022430 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
||||||
Date: Tue, 7 Aug 2012 01:29:01 -0400
|
|
||||||
Subject: [PATCH] Do not check for libGL symbols when checking libOSMesa
|
|
||||||
|
|
||||||
If mesa had been built with shared glapi, glAccum is not available in
|
|
||||||
libOSMesa without explicitly linking to libGL. In addition, in
|
|
||||||
mesa-8.0.x and earlier, libOSMesa needs to be explicitly linked to
|
|
||||||
libglapi if mesa was built with shared glapi, see
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=399813
|
|
||||||
And in mesa-8.1.x, libOSMesa in addition needs libdl, libpthread, and
|
|
||||||
libstdc++, see https://bugs.gentoo.org/show_bug.cgi?id=431832
|
|
||||||
---
|
|
||||||
configure.ac | 8 +++++++-
|
|
||||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index de807d2..a2e8684 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1233,7 +1233,13 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
|
|
||||||
|
|
||||||
if test "x$with_osmesa" != "xno"
|
|
||||||
then
|
|
||||||
- WINE_CHECK_SONAME(OSMesa,glAccum,,,[$X_LIBS -lm $X_EXTRA_LIBS])
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[$X_LIBS -lm $X_EXTRA_LIBS])
|
|
||||||
+ if test "x$ac_cv_lib_soname_OSMesa" = "x"; then
|
|
||||||
+ osmesa_save_CC=$CC
|
|
||||||
+ CC=$CXX
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[-lglapi -lpthread -ldl $X_LIBS -lm $X_EXTRA_LIBS])
|
|
||||||
+ CC=$osmesa_save_CC
|
|
||||||
+ fi
|
|
||||||
WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
|
|
||||||
[libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
|
|
||||||
fi
|
|
||||||
--
|
|
||||||
1.8.5.3
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,38 +0,0 @@
|
|||||||
From b7eb1ff48dd1210aa3e1002afc503d5df75d50b9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
|
||||||
Date: Tue, 7 Aug 2012 01:29:01 -0400
|
|
||||||
Subject: [PATCH] Do not check for libGL symbols when checking libOSMesa
|
|
||||||
|
|
||||||
If mesa had been built with shared glapi, glAccum is not available in
|
|
||||||
libOSMesa without explicitly linking to libGL. In addition, in
|
|
||||||
mesa-8.0.x and earlier, libOSMesa needs to be explicitly linked to
|
|
||||||
libglapi if mesa was built with shared glapi, see
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=399813
|
|
||||||
And in mesa-8.1.x, libOSMesa in addition needs libdl, libpthread, and
|
|
||||||
libstdc++, see https://bugs.gentoo.org/show_bug.cgi?id=431832
|
|
||||||
---
|
|
||||||
configure.ac | 8 +++++++-
|
|
||||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 66b4dd6..0303d87 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -1213,7 +1213,13 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
|
|
||||||
|
|
||||||
if test "x$with_osmesa" != "xno"
|
|
||||||
then
|
|
||||||
- WINE_CHECK_SONAME(OSMesa,glAccum,,,[$X_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[$X_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ if test "x$ac_cv_lib_soname_OSMesa" = "x"; then
|
|
||||||
+ osmesa_save_CC=$CC
|
|
||||||
+ CC=$CXX
|
|
||||||
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[-lglapi -lpthread -ldl $X_LIBS $XLIB -lm $X_EXTRA_LIBS])
|
|
||||||
+ CC=$osmesa_save_CC
|
|
||||||
+ fi
|
|
||||||
WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
|
|
||||||
[libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
|
|
||||||
fi
|
|
||||||
--
|
|
||||||
1.8.3.2
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer>
|
|
||||||
<email>ryao@gentoo.org</email>
|
|
||||||
<name>Richard Yao</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription>
|
|
||||||
Wine is an Open Source implementation of the Windows API on top of X and Unix.
|
|
||||||
|
|
||||||
Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available. Wine provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes, including Linux, FreeBSD, and Solaris.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name='capi'>Enable ISDN support via CAPI</flag>
|
|
||||||
<flag name='custom-cflags'>Bypass strip-flags; use are your own peril</flag>
|
|
||||||
<flag name='dos'>Pull in <pkg>games-emulation/dosbox</pkg> to run DOS applications</flag>
|
|
||||||
<flag name='gecko'>Add support for the Gecko engine when using iexplore</flag>
|
|
||||||
<flag name='mono'>Add support for .NET using Wine's Mono add-on</flag>
|
|
||||||
<flag name='netapi'>Use libnetapi from <pkg>net-fs/samba</pkg> to support Windows networks in netapi32.dll</flag>
|
|
||||||
<flag name='opencl'>Enable OpenCL support</flag>
|
|
||||||
<flag name='osmesa'>Add support for OpenGL in bitmaps using libOSMesa</flag>
|
|
||||||
<flag name='perl'>Install helpers written in perl (winedump/winemaker)</flag>
|
|
||||||
<flag name='prelink'>Run prelink on DLLs during build -- do not disable if you do not know what this means as it can break things at runtime</flag>
|
|
||||||
<flag name='realtime'>Pull in <pkg>sys-auth/rtkit</pkg> for low-latency pulseaudio support</flag>
|
|
||||||
<flag name='run-exes'>Use Wine to open and run .EXE and .MSI files</flag>
|
|
||||||
<flag name='samba'>Add support for NTLM auth. see
|
|
||||||
http://wiki.winehq.org/NtlmAuthSetupGuide and
|
|
||||||
http://wiki.winehq.org/NtlmSigningAndSealing</flag>
|
|
||||||
<flag name='udisks'>Support dynamic storage devices using <pkg>sys-fs/udisks</pkg></flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
@ -1,462 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.14.ebuild,v 1.1 2014/03/08 04:35:53 tetromino Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
AUTOTOOLS_AUTORECONF=1
|
|
||||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
|
||||||
PLOCALE_BACKUP="en"
|
|
||||||
|
|
||||||
inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs versionator virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
|
||||||
inherit git-2
|
|
||||||
SRC_URI=""
|
|
||||||
#KEYWORDS=""
|
|
||||||
else
|
|
||||||
MY_PN='wine'
|
|
||||||
MY_P="${MY_PN}-$(get_version_component_range 1-3 ${PV/_/-})"
|
|
||||||
SRC_URI="mirror://sourceforge/${MY_PN}/Source/${MY_P}.tar.bz2"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
fi
|
|
||||||
|
|
||||||
GV="2.24"
|
|
||||||
MV="4.5.2"
|
|
||||||
COMPHOLIO_PATCHES="v${PV}-1"
|
|
||||||
PULSE_PATCHES="winepulse-patches-1.7.12"
|
|
||||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
|
||||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
|
||||||
HOMEPAGE="http://www.winehq.org/"
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
gecko? (
|
|
||||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
|
||||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
|
||||||
)
|
|
||||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
|
||||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
|
||||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2
|
|
||||||
compholio? ( https://github.com/compholio/wine-compholio-daily/archive/${COMPHOLIO_PATCHES}.tar.gz )"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi +compholio cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
|
||||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
|
||||||
test? ( abi_x86_32 )
|
|
||||||
elibc_glibc? ( threads )
|
|
||||||
mono? ( abi_x86_32 )
|
|
||||||
osmesa? ( opengl )" #286560
|
|
||||||
|
|
||||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
|
||||||
# or fail due to Xvfb's opengl limitations.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
NATIVE_DEPEND="
|
|
||||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
|
||||||
capi? ( net-dialup/capi4k-utils )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
udisks? ( sys-apps/dbus )
|
|
||||||
fontconfig? ( media-libs/fontconfig:= )
|
|
||||||
gphoto2? ( media-libs/libgphoto2:= )
|
|
||||||
openal? ( media-libs/openal:= )
|
|
||||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXxf86vm
|
|
||||||
)
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
cups? ( net-print/cups:= )
|
|
||||||
opencl? ( virtual/opencl )
|
|
||||||
opengl? (
|
|
||||||
virtual/glu
|
|
||||||
virtual/opengl
|
|
||||||
)
|
|
||||||
gsm? ( media-sound/gsm:= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
ldap? ( net-nds/openldap:= )
|
|
||||||
lcms? ( media-libs/lcms:2= )
|
|
||||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
|
||||||
netapi? ( net-fs/samba[netapi(+)] )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
odbc? ( dev-db/unixODBC:= )
|
|
||||||
osmesa? ( media-libs/mesa[osmesa] )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
|
||||||
scanner? ( media-gfx/sane-backends:= )
|
|
||||||
ssl? ( net-libs/gnutls:= )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
xcomposite? ( x11-libs/libXcomposite )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
!amd64? ( ${NATIVE_DEPEND} )
|
|
||||||
amd64? (
|
|
||||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
|
||||||
abi_x86_32? (
|
|
||||||
truetype? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
|
||||||
>=media-libs/freetype-2.0.0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
ncurses? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
sys-libs/ncurses[abi_x86_32]
|
|
||||||
) )
|
|
||||||
udisks? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
|
||||||
sys-apps/dbus[abi_x86_32]
|
|
||||||
) )
|
|
||||||
fontconfig? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
media-libs/fontconfig[abi_x86_32]
|
|
||||||
) )
|
|
||||||
gphoto2? (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
)
|
|
||||||
openal? ( || (
|
|
||||||
app-emulation/emul-linux-x86-sdl[development]
|
|
||||||
media-libs/openal[abi_x86_32]
|
|
||||||
) )
|
|
||||||
gstreamer? (
|
|
||||||
app-emulation/emul-linux-x86-gstplugins
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
)
|
|
||||||
X? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
(
|
|
||||||
x11-libs/libXcursor[abi_x86_32]
|
|
||||||
x11-libs/libXext[abi_x86_32]
|
|
||||||
x11-libs/libXrandr[abi_x86_32]
|
|
||||||
x11-libs/libXi[abi_x86_32]
|
|
||||||
x11-libs/libXxf86vm[abi_x86_32]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
xinerama? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
x11-libs/libXinerama[abi_x86_32]
|
|
||||||
) )
|
|
||||||
alsa? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[alsa,development]
|
|
||||||
media-libs/alsa-lib[abi_x86_32]
|
|
||||||
) )
|
|
||||||
cups? ( app-emulation/emul-linux-x86-baselibs )
|
|
||||||
opencl? ( virtual/opencl[abi_x86_32] )
|
|
||||||
opengl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-opengl[development]
|
|
||||||
(
|
|
||||||
virtual/glu[abi_x86_32]
|
|
||||||
virtual/opengl[abi_x86_32]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
gsm? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development]
|
|
||||||
media-sound/gsm[abi_x86_32]
|
|
||||||
) )
|
|
||||||
jpeg? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
virtual/jpeg:0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
ldap? ( app-emulation/emul-linux-x86-baselibs[development] )
|
|
||||||
lcms? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
media-libs/lcms:2[abi_x86_32]
|
|
||||||
) )
|
|
||||||
mp3? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development]
|
|
||||||
>=media-sound/mpg123-1.5.0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
nls? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
sys-devel/gettext[abi_x86_32]
|
|
||||||
) )
|
|
||||||
odbc? ( app-emulation/emul-linux-x86-db[development] )
|
|
||||||
osmesa? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-opengl-20121028[development]
|
|
||||||
media-libs/mesa[osmesa,abi_x86_32]
|
|
||||||
) )
|
|
||||||
pulseaudio? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development]
|
|
||||||
>=media-sound/pulseaudio-4.0-r1[abi_x86_32]
|
|
||||||
) )
|
|
||||||
xml? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development]
|
|
||||||
(
|
|
||||||
dev-libs/libxml2[abi_x86_32]
|
|
||||||
dev-libs/libxslt[abi_x86_32]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
scanner? ( app-emulation/emul-linux-x86-medialibs[development] )
|
|
||||||
ssl? ( app-emulation/emul-linux-x86-baselibs[development] )
|
|
||||||
png? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
media-libs/libpng:0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
v4l? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
media-libs/libv4l[abi_x86_32]
|
|
||||||
) )
|
|
||||||
xcomposite? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
x11-libs/libXcomposite[abi_x86_32]
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
dos? ( games-emulation/dosbox )
|
|
||||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
|
||||||
samba? ( >=net-fs/samba-3.0.25 )
|
|
||||||
selinux? ( sec-policy/selinux-wine )
|
|
||||||
udisks? ( sys-fs/udisks:2 )
|
|
||||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
|
||||||
X? (
|
|
||||||
x11-proto/inputproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xf86vidmodeproto
|
|
||||||
)
|
|
||||||
xinerama? ( x11-proto/xineramaproto )
|
|
||||||
prelink? ( sys-devel/prelink )
|
|
||||||
>=sys-kernel/linux-headers-2.6
|
|
||||||
virtual/pkgconfig
|
|
||||||
virtual/yacc
|
|
||||||
sys-devel/flex"
|
|
||||||
|
|
||||||
# These use a non-standard "Wine" category, which is provided by
|
|
||||||
# /etc/xdg/applications-merged/wine.menu
|
|
||||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
|
||||||
usr/share/applications/wine-notepad.desktop
|
|
||||||
usr/share/applications/wine-uninstaller.desktop
|
|
||||||
usr/share/applications/wine-winecfg.desktop"
|
|
||||||
|
|
||||||
wine_build_environment_check() {
|
|
||||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
|
||||||
|
|
||||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
|
||||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
|
||||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
|
||||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
else
|
|
||||||
unpack ${MY_P}.tar.bz2
|
|
||||||
fi
|
|
||||||
|
|
||||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
|
||||||
unpack "${WINE_GENTOO}.tar.bz2"
|
|
||||||
use compholio && unpack "${COMPHOLIO_PATCHES}.tar.gz"
|
|
||||||
|
|
||||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local md5="$(md5sum server/protocol.def)"
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}"/${MY_PN}-1.5.26-winegcc.patch #260726
|
|
||||||
"${FILESDIR}"/${MY_PN}-1.4_rc2-multilib-portage.patch #395615
|
|
||||||
"${FILESDIR}"/${MY_PN}-1.7.12-osmesa-check.patch #429386
|
|
||||||
"${FILESDIR}"/${MY_PN}-1.6-memset-O3.patch #480508
|
|
||||||
)
|
|
||||||
if use pulseaudio ; then
|
|
||||||
if ! use compholio; then
|
|
||||||
PATCHES+=(
|
|
||||||
"../${PULSE_PATCHES}"/*.patch #421365
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Compholio patches
|
|
||||||
if use compholio ; then
|
|
||||||
if [ ${PV} != "9999" ] ; then
|
|
||||||
cd "${WORKDIR}"/wine-compholio-daily-${PV}-1/patches/
|
|
||||||
make DESTDIR=${S} install || die
|
|
||||||
cd "${S}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
autotools-utils_src_prepare
|
|
||||||
|
|
||||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
|
||||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
|
||||||
(cd "${S}" && tools/make_requests) || die #432348
|
|
||||||
fi
|
|
||||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
|
||||||
if ! use run-exes; then
|
|
||||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
|
||||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
|
||||||
|
|
||||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
local myeconfargs=( "${myeconfargs[@]}" )
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
if [[ ${ABI} == amd64 ]]; then
|
|
||||||
myeconfargs+=( --enable-win64 )
|
|
||||||
else
|
|
||||||
use netapi && ewarn "Disabling netapi in wine32; see https://bugs.gentoo.org/494394"
|
|
||||||
# We currently don't have 32-bit libnetapi on amd64; #494394
|
|
||||||
myeconfargs+=(
|
|
||||||
--without-netapi
|
|
||||||
--disable-win64
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
|
||||||
# CC/LD hackery. We're using separate tools instead.
|
|
||||||
fi
|
|
||||||
|
|
||||||
autotools-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export LDCONFIG=/bin/true
|
|
||||||
use custom-cflags || strip-flags
|
|
||||||
|
|
||||||
local myeconfargs=( # common
|
|
||||||
--sysconfdir="/etc/wine"
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with capi)
|
|
||||||
$(use_with lcms cms)
|
|
||||||
$(use_with cups)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with udisks dbus)
|
|
||||||
$(use_with fontconfig)
|
|
||||||
$(use_with ssl gnutls)
|
|
||||||
$(use_with gphoto2 gphoto)
|
|
||||||
$(use_with gsm)
|
|
||||||
$(use_with gstreamer)
|
|
||||||
--without-hal
|
|
||||||
$(use_with jpeg)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with mp3 mpg123)
|
|
||||||
$(use_with netapi)
|
|
||||||
$(use_with nls gettext)
|
|
||||||
$(use_with openal)
|
|
||||||
$(use_with opencl)
|
|
||||||
$(use_with opengl)
|
|
||||||
$(use_with osmesa)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with threads pthread)
|
|
||||||
$(use_with scanner sane)
|
|
||||||
$(use_enable test tests)
|
|
||||||
$(use_with truetype freetype)
|
|
||||||
$(use_with v4l)
|
|
||||||
$(use_with X x)
|
|
||||||
$(use_with xcomposite)
|
|
||||||
$(use_with xinerama)
|
|
||||||
$(use_with xml)
|
|
||||||
$(use_with xml xslt)
|
|
||||||
)
|
|
||||||
|
|
||||||
use pulseaudio && myeconfargs+=( --with-pulse )
|
|
||||||
|
|
||||||
if use amd64 && use abi_x86_32; then
|
|
||||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
|
||||||
# set AR and RANLIB to make QA scripts happy; #483342
|
|
||||||
tc-export PKG_CONFIG AR RANLIB
|
|
||||||
fi
|
|
||||||
|
|
||||||
multilib_parallel_foreach_abi do_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
autotools-multilib_src_compile depend
|
|
||||||
autotools-multilib_src_compile all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [[ $(id -u) == 0 ]]; then
|
|
||||||
ewarn "Skipping tests since they cannot be run under the root user."
|
|
||||||
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
|
||||||
multilib_toolchain_setup x86
|
|
||||||
local BUILD_DIR="${S}-${ABI}"
|
|
||||||
cd "${BUILD_DIR}" || die
|
|
||||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( ANNOUNCE AUTHORS README )
|
|
||||||
add_locale_docs() {
|
|
||||||
local locale_doc="documentation/README.$1"
|
|
||||||
[[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
|
|
||||||
}
|
|
||||||
l10n_for_each_locale_do add_locale_docs
|
|
||||||
autotools-multilib_src_install
|
|
||||||
|
|
||||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
|
||||||
if use gecko ; then
|
|
||||||
insinto /usr/share/wine/gecko
|
|
||||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
|
||||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
|
||||||
fi
|
|
||||||
if use mono ; then
|
|
||||||
insinto /usr/share/wine/mono
|
|
||||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
|
||||||
fi
|
|
||||||
if ! use perl ; then
|
|
||||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
|
||||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
|
||||||
|
|
||||||
if use abi_x86_64 && ! use abi_x86_32; then
|
|
||||||
dosym /usr/bin/wine{64,} # 404331
|
|
||||||
dosym /usr/bin/wine{64,}-preloader
|
|
||||||
fi
|
|
||||||
|
|
||||||
# respect LINGUAS when installing man pages, #469418
|
|
||||||
for l in de fr pl; do
|
|
||||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,500 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.19-r1.ebuild,v 1.3 2014/05/25 16:47:55 mgorny Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
AUTOTOOLS_AUTORECONF=1
|
|
||||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
|
||||||
PLOCALE_BACKUP="en"
|
|
||||||
|
|
||||||
inherit autotools-multilib eutils fdo-mime flag-o-matic gnome2-utils l10n multilib pax-utils toolchain-funcs virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
|
||||||
inherit git-2
|
|
||||||
SRC_URI=""
|
|
||||||
#KEYWORDS=""
|
|
||||||
else
|
|
||||||
MY_P="${PN}-${PV/_/-}"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
fi
|
|
||||||
|
|
||||||
GV="2.24"
|
|
||||||
MV="4.5.2"
|
|
||||||
PULSE_PATCHES="winepulse-patches-1.7.12"
|
|
||||||
COMPHOLIOV="1.7.18-1"
|
|
||||||
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}"
|
|
||||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
|
||||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
|
||||||
HOMEPAGE="http://www.winehq.org/"
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
gecko? (
|
|
||||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
|
||||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
|
||||||
)
|
|
||||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
|
||||||
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz )
|
|
||||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
|
||||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pipelight +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
|
||||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
|
||||||
test? ( abi_x86_32 )
|
|
||||||
elibc_glibc? ( threads )
|
|
||||||
mono? ( abi_x86_32 )
|
|
||||||
osmesa? ( opengl )" #286560
|
|
||||||
|
|
||||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
|
||||||
# or fail due to Xvfb's opengl limitations.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
NATIVE_DEPEND="
|
|
||||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
|
||||||
capi? ( net-dialup/capi4k-utils )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
udisks? ( sys-apps/dbus )
|
|
||||||
fontconfig? ( media-libs/fontconfig:= )
|
|
||||||
gphoto2? ( media-libs/libgphoto2:= )
|
|
||||||
openal? ( media-libs/openal:= )
|
|
||||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXxf86vm
|
|
||||||
)
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
cups? ( net-print/cups:= )
|
|
||||||
opencl? ( virtual/opencl )
|
|
||||||
opengl? (
|
|
||||||
virtual/glu
|
|
||||||
virtual/opengl
|
|
||||||
)
|
|
||||||
gsm? ( media-sound/gsm:= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
ldap? ( net-nds/openldap:= )
|
|
||||||
lcms? ( media-libs/lcms:2= )
|
|
||||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
|
||||||
netapi? ( net-fs/samba[netapi(+)] )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
odbc? ( dev-db/unixODBC:= )
|
|
||||||
osmesa? ( media-libs/mesa[osmesa] )
|
|
||||||
pipelight? (
|
|
||||||
media-fonts/corefonts
|
|
||||||
sys-apps/attr
|
|
||||||
)
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
|
||||||
scanner? ( media-gfx/sane-backends:= )
|
|
||||||
ssl? ( net-libs/gnutls:= )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
xcomposite? ( x11-libs/libXcomposite )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
!amd64? ( ${NATIVE_DEPEND} )
|
|
||||||
amd64? (
|
|
||||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
|
||||||
abi_x86_32? (
|
|
||||||
truetype? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development]
|
|
||||||
>=media-libs/freetype-2.0.0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
ncurses? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
sys-libs/ncurses[abi_x86_32]
|
|
||||||
) )
|
|
||||||
udisks? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development]
|
|
||||||
sys-apps/dbus[abi_x86_32]
|
|
||||||
) )
|
|
||||||
fontconfig? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
media-libs/fontconfig[abi_x86_32]
|
|
||||||
) )
|
|
||||||
gphoto2? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
media-libs/libgphoto2[abi_x86_32]
|
|
||||||
) )
|
|
||||||
openal? ( || (
|
|
||||||
app-emulation/emul-linux-x86-sdl[development]
|
|
||||||
media-libs/openal[abi_x86_32]
|
|
||||||
) )
|
|
||||||
gstreamer? (
|
|
||||||
app-emulation/emul-linux-x86-gstplugins
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
)
|
|
||||||
X? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
(
|
|
||||||
x11-libs/libXcursor[abi_x86_32]
|
|
||||||
x11-libs/libXext[abi_x86_32]
|
|
||||||
x11-libs/libXrandr[abi_x86_32]
|
|
||||||
x11-libs/libXi[abi_x86_32]
|
|
||||||
x11-libs/libXxf86vm[abi_x86_32]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
xinerama? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
x11-libs/libXinerama[abi_x86_32]
|
|
||||||
) )
|
|
||||||
alsa? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[alsa,development]
|
|
||||||
media-libs/alsa-lib[abi_x86_32]
|
|
||||||
) )
|
|
||||||
cups? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs
|
|
||||||
net-print/cups[abi_x86_32]
|
|
||||||
) )
|
|
||||||
opencl? ( virtual/opencl[abi_x86_32] )
|
|
||||||
opengl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-opengl[development]
|
|
||||||
(
|
|
||||||
virtual/glu[abi_x86_32]
|
|
||||||
virtual/opengl[abi_x86_32]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
gsm? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development]
|
|
||||||
media-sound/gsm[abi_x86_32]
|
|
||||||
) )
|
|
||||||
jpeg? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
virtual/jpeg:0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
ldap? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
net-nds/openldap:=[abi_x86_32]
|
|
||||||
) )
|
|
||||||
lcms? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
media-libs/lcms:2[abi_x86_32]
|
|
||||||
) )
|
|
||||||
mp3? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development]
|
|
||||||
>=media-sound/mpg123-1.5.0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
nls? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
sys-devel/gettext[abi_x86_32]
|
|
||||||
) )
|
|
||||||
odbc? ( || (
|
|
||||||
app-emulation/emul-linux-x86-db[development]
|
|
||||||
dev-db/unixODBC:=[abi_x86_32]
|
|
||||||
) )
|
|
||||||
osmesa? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-opengl-20121028[development]
|
|
||||||
media-libs/mesa[osmesa,abi_x86_32]
|
|
||||||
) )
|
|
||||||
pipelight? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
sys-apps/attr[abi_x86_32]
|
|
||||||
) )
|
|
||||||
pulseaudio? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development]
|
|
||||||
>=media-sound/pulseaudio-4.0-r1[abi_x86_32]
|
|
||||||
) )
|
|
||||||
xml? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development]
|
|
||||||
(
|
|
||||||
dev-libs/libxml2[abi_x86_32]
|
|
||||||
dev-libs/libxslt[abi_x86_32]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
scanner? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
media-gfx/sane-backends:=[abi_x86_32]
|
|
||||||
) )
|
|
||||||
ssl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
net-libs/gnutls:=[abi_x86_32]
|
|
||||||
) )
|
|
||||||
png? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development]
|
|
||||||
media-libs/libpng:0[abi_x86_32]
|
|
||||||
) )
|
|
||||||
v4l? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development]
|
|
||||||
media-libs/libv4l[abi_x86_32]
|
|
||||||
) )
|
|
||||||
xcomposite? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development]
|
|
||||||
x11-libs/libXcomposite[abi_x86_32]
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
dos? ( games-emulation/dosbox )
|
|
||||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
|
||||||
samba? ( >=net-fs/samba-3.0.25 )
|
|
||||||
selinux? ( sec-policy/selinux-wine )
|
|
||||||
udisks? ( sys-fs/udisks:2 )
|
|
||||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
|
||||||
X? (
|
|
||||||
x11-proto/inputproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xf86vidmodeproto
|
|
||||||
)
|
|
||||||
xinerama? ( x11-proto/xineramaproto )
|
|
||||||
prelink? ( sys-devel/prelink )
|
|
||||||
>=sys-kernel/linux-headers-2.6
|
|
||||||
virtual/pkgconfig
|
|
||||||
virtual/yacc
|
|
||||||
sys-devel/flex"
|
|
||||||
|
|
||||||
# These use a non-standard "Wine" category, which is provided by
|
|
||||||
# /etc/xdg/applications-merged/wine.menu
|
|
||||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
|
||||||
usr/share/applications/wine-notepad.desktop
|
|
||||||
usr/share/applications/wine-uninstaller.desktop
|
|
||||||
usr/share/applications/wine-winecfg.desktop"
|
|
||||||
|
|
||||||
wine_build_environment_check() {
|
|
||||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
|
||||||
|
|
||||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
|
||||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
|
||||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
|
||||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
else
|
|
||||||
unpack ${MY_P}.tar.bz2
|
|
||||||
fi
|
|
||||||
|
|
||||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
|
||||||
if use pipelight; then
|
|
||||||
unpack "${COMPHOLIO_PATCHES}.tar.gz"
|
|
||||||
# we use a separate pulseaudio patchset
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/06-winepulse" || die
|
|
||||||
# ... and don't need a replacement for Arial
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/10-Missing_Fonts" || die
|
|
||||||
fi
|
|
||||||
unpack "${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local md5="$(md5sum server/protocol.def)"
|
|
||||||
local f
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
|
||||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
|
||||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
|
||||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
|
||||||
)
|
|
||||||
use pulseaudio && PATCHES+=(
|
|
||||||
"../${PULSE_PATCHES}"/*.patch #421365
|
|
||||||
)
|
|
||||||
if use pipelight; then
|
|
||||||
PATCHES+=(
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch"
|
|
||||||
)
|
|
||||||
# epatch doesn't support binary patches
|
|
||||||
ebegin "Applying Compholio font patches"
|
|
||||||
"../${COMPHOLIO_PATCHES}/debian/tools/gitapply.sh" \
|
|
||||||
< "${FILESDIR}/wine-1.7.19-missing-fonts-compholio-replacement.patch" \
|
|
||||||
|| die "Failed to apply Compholio font patches"
|
|
||||||
eend
|
|
||||||
fi
|
|
||||||
autotools-utils_src_prepare
|
|
||||||
|
|
||||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
|
||||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
|
||||||
tools/make_requests || die #432348
|
|
||||||
fi
|
|
||||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
|
||||||
if ! use run-exes; then
|
|
||||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
|
||||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
|
||||||
|
|
||||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
local myeconfargs=( "${myeconfargs[@]}" )
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
if [[ ${ABI} == amd64 ]]; then
|
|
||||||
myeconfargs+=( --enable-win64 )
|
|
||||||
else
|
|
||||||
use netapi && ewarn "Disabling netapi in wine32; see https://bugs.gentoo.org/494394"
|
|
||||||
# We currently don't have 32-bit libnetapi on amd64; #494394
|
|
||||||
myeconfargs+=(
|
|
||||||
--without-netapi
|
|
||||||
--disable-win64
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
|
||||||
# CC/LD hackery. We're using separate tools instead.
|
|
||||||
fi
|
|
||||||
|
|
||||||
autotools-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export LDCONFIG=/bin/true
|
|
||||||
use custom-cflags || strip-flags
|
|
||||||
|
|
||||||
local myeconfargs=( # common
|
|
||||||
--sysconfdir=/etc/wine
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with capi)
|
|
||||||
$(use_with lcms cms)
|
|
||||||
$(use_with cups)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with udisks dbus)
|
|
||||||
$(use_with fontconfig)
|
|
||||||
$(use_with ssl gnutls)
|
|
||||||
$(use_with gphoto2 gphoto)
|
|
||||||
$(use_with gsm)
|
|
||||||
$(use_with gstreamer)
|
|
||||||
--without-hal
|
|
||||||
$(use_with jpeg)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with mp3 mpg123)
|
|
||||||
$(use_with netapi)
|
|
||||||
$(use_with nls gettext)
|
|
||||||
$(use_with openal)
|
|
||||||
$(use_with opencl)
|
|
||||||
$(use_with opengl)
|
|
||||||
$(use_with osmesa)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with threads pthread)
|
|
||||||
$(use_with scanner sane)
|
|
||||||
$(use_enable test tests)
|
|
||||||
$(use_with truetype freetype)
|
|
||||||
$(use_with v4l)
|
|
||||||
$(use_with X x)
|
|
||||||
$(use_with xcomposite)
|
|
||||||
$(use_with xinerama)
|
|
||||||
$(use_with xml)
|
|
||||||
$(use_with xml xslt)
|
|
||||||
)
|
|
||||||
|
|
||||||
use pulseaudio && myeconfargs+=( --with-pulse )
|
|
||||||
use pipelight && myeconfargs+=( --with-xattr )
|
|
||||||
|
|
||||||
if use amd64 && use abi_x86_32; then
|
|
||||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
|
||||||
# set AR and RANLIB to make QA scripts happy; #483342
|
|
||||||
tc-export PKG_CONFIG AR RANLIB
|
|
||||||
fi
|
|
||||||
|
|
||||||
multilib_parallel_foreach_abi do_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
autotools-multilib_src_compile depend
|
|
||||||
autotools-multilib_src_compile all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if [[ $(id -u) == 0 ]]; then
|
|
||||||
ewarn "Skipping tests since they cannot be run under the root user."
|
|
||||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
|
||||||
multilib_toolchain_setup x86
|
|
||||||
local BUILD_DIR="${S}-${ABI}"
|
|
||||||
cd "${BUILD_DIR}" || die
|
|
||||||
WINEPREFIX="${T}/.wine-${ABI}" Xemake test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local DOCS=( ANNOUNCE AUTHORS README )
|
|
||||||
local l
|
|
||||||
add_locale_docs() {
|
|
||||||
local locale_doc="documentation/README.$1"
|
|
||||||
[[ ! -e ${locale_doc} ]] || DOCS=( "${DOCS[@]}" ${locale_doc} )
|
|
||||||
}
|
|
||||||
l10n_for_each_locale_do add_locale_docs
|
|
||||||
autotools-multilib_src_install
|
|
||||||
|
|
||||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
|
||||||
if use gecko ; then
|
|
||||||
insinto /usr/share/wine/gecko
|
|
||||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
|
||||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
|
||||||
fi
|
|
||||||
if use mono ; then
|
|
||||||
insinto /usr/share/wine/mono
|
|
||||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
|
||||||
fi
|
|
||||||
if ! use perl ; then
|
|
||||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
|
||||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
|
||||||
|
|
||||||
if use abi_x86_64 && ! use abi_x86_32; then
|
|
||||||
dosym /usr/bin/wine{64,} # 404331
|
|
||||||
dosym /usr/bin/wine{64,}-preloader
|
|
||||||
fi
|
|
||||||
|
|
||||||
# respect LINGUAS when installing man pages, #469418
|
|
||||||
for l in de fr pl; do
|
|
||||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
|
||||||
done
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
|
|
||||||
if use pipelight; then
|
|
||||||
ewarn "You installed Wine with the unofficial Compholio patchset for Pipelight"
|
|
||||||
ewarn "support, which is unsupported by Wine developers. Please don't report"
|
|
||||||
ewarn "bugs to Wine bugzilla unless you can reproduce them with USE=-pipelight"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,490 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.20.ebuild,v 1.2 2014/06/18 19:08:47 mgorny Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
AUTOTOOLS_AUTORECONF=1
|
|
||||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
|
||||||
PLOCALE_BACKUP="en"
|
|
||||||
|
|
||||||
inherit autotools-utils eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
|
||||||
inherit git-2
|
|
||||||
SRC_URI=""
|
|
||||||
#KEYWORDS=""
|
|
||||||
else
|
|
||||||
MY_P="${PN}-${PV/_/-}"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
fi
|
|
||||||
|
|
||||||
GV="2.24"
|
|
||||||
MV="4.5.2"
|
|
||||||
PULSE_PATCHES="winepulse-patches-1.7.20"
|
|
||||||
COMPHOLIOV="1.7.20"
|
|
||||||
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}"
|
|
||||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
|
||||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
|
||||||
HOMEPAGE="http://www.winehq.org/"
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
gecko? (
|
|
||||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
|
||||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
|
||||||
)
|
|
||||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
|
||||||
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz )
|
|
||||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
|
||||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pipelight +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
|
||||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
|
||||||
test? ( abi_x86_32 )
|
|
||||||
elibc_glibc? ( threads )
|
|
||||||
gstreamer? ( pulseaudio )
|
|
||||||
mono? ( abi_x86_32 )
|
|
||||||
osmesa? ( opengl )" #286560
|
|
||||||
# winepulse patches needed for gstreamer due to http://bugs.winehq.org/show_bug.cgi?id=30557
|
|
||||||
|
|
||||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
|
||||||
# or fail due to Xvfb's opengl limitations.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
NATIVE_DEPEND="
|
|
||||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
|
||||||
capi? ( net-dialup/capi4k-utils )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
udisks? ( sys-apps/dbus )
|
|
||||||
fontconfig? ( media-libs/fontconfig:= )
|
|
||||||
gphoto2? ( media-libs/libgphoto2:= )
|
|
||||||
openal? ( media-libs/openal:= )
|
|
||||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXxf86vm
|
|
||||||
)
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
cups? ( net-print/cups:= )
|
|
||||||
opencl? ( virtual/opencl )
|
|
||||||
opengl? (
|
|
||||||
virtual/glu
|
|
||||||
virtual/opengl
|
|
||||||
)
|
|
||||||
gsm? ( media-sound/gsm:= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
ldap? ( net-nds/openldap:= )
|
|
||||||
lcms? ( media-libs/lcms:2= )
|
|
||||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
|
||||||
netapi? ( net-fs/samba[netapi(+)] )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
odbc? ( dev-db/unixODBC:= )
|
|
||||||
osmesa? ( media-libs/mesa[osmesa] )
|
|
||||||
pipelight? (
|
|
||||||
media-fonts/corefonts
|
|
||||||
sys-apps/attr
|
|
||||||
)
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
|
||||||
scanner? ( media-gfx/sane-backends:= )
|
|
||||||
ssl? ( net-libs/gnutls:= )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
xcomposite? ( x11-libs/libXcomposite )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
!amd64? ( ${NATIVE_DEPEND} )
|
|
||||||
amd64? (
|
|
||||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
|
||||||
abi_x86_32? (
|
|
||||||
truetype? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ncurses? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
udisks? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development,-abi_x86_32(-)]
|
|
||||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
fontconfig? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
gphoto2? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libgphoto2-2.5.3.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
openal? ( || (
|
|
||||||
app-emulation/emul-linux-x86-sdl[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/openal-1.15.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
gstreamer? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=media-libs/gstreamer-0.10.36-r2:0.10[abi_x86_32(-)]
|
|
||||||
>=media-libs/gst-plugins-base-0.10.36:0.10[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
X? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXi-1.7.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
xinerama? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXinerama-1.1.3[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
alsa? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[alsa,development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
cups? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs
|
|
||||||
>=net-print/cups-1.7.1-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
opencl? ( >=virtual/opencl-0-r3[abi_x86_32(-)] )
|
|
||||||
opengl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-opengl[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=virtual/glu-9.0-r1[abi_x86_32(-)]
|
|
||||||
>=virtual/opengl-7.0-r1[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
gsm? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/gsm-1.0.13-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
jpeg? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=virtual/jpeg-0-r2:0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ldap? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=net-nds/openldap-2.4.38-r1:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
lcms? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/lcms-2.5:2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
mp3? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/mpg123-1.15.4[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
netapi? ( >=net-fs/samba-3.6.23-r1[netapi(+),abi_x86_32(-)] )
|
|
||||||
nls? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
odbc? ( || (
|
|
||||||
app-emulation/emul-linux-x86-db[development,-abi_x86_32(-)]
|
|
||||||
>=dev-db/unixODBC-2.3.2:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
osmesa? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-opengl-20121028[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/mesa-9.1.6[osmesa,abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
pipelight? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
pulseaudio? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/pulseaudio-5.0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
xml? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)]
|
|
||||||
>=dev-libs/libxslt-1.1.28-r1[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
scanner? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-gfx/sane-backends-1.0.23:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ssl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=net-libs/gnutls-2.12.23-r6:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
png? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libpng-1.6.10:0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
v4l? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libv4l-0.9.5[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
xcomposite? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXcomposite-0.4.4-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
dos? ( games-emulation/dosbox )
|
|
||||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
|
||||||
samba? ( >=net-fs/samba-3.0.25 )
|
|
||||||
selinux? ( sec-policy/selinux-wine )
|
|
||||||
udisks? ( sys-fs/udisks:2 )
|
|
||||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
|
||||||
X? (
|
|
||||||
x11-proto/inputproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xf86vidmodeproto
|
|
||||||
)
|
|
||||||
xinerama? ( x11-proto/xineramaproto )
|
|
||||||
prelink? ( sys-devel/prelink )
|
|
||||||
>=sys-kernel/linux-headers-2.6
|
|
||||||
virtual/pkgconfig
|
|
||||||
virtual/yacc
|
|
||||||
sys-devel/flex"
|
|
||||||
|
|
||||||
# These use a non-standard "Wine" category, which is provided by
|
|
||||||
# /etc/xdg/applications-merged/wine.menu
|
|
||||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
|
||||||
usr/share/applications/wine-notepad.desktop
|
|
||||||
usr/share/applications/wine-uninstaller.desktop
|
|
||||||
usr/share/applications/wine-winecfg.desktop"
|
|
||||||
|
|
||||||
wine_build_environment_check() {
|
|
||||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
|
||||||
|
|
||||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
|
||||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
|
||||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
|
||||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
else
|
|
||||||
unpack ${MY_P}.tar.bz2
|
|
||||||
fi
|
|
||||||
|
|
||||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
|
||||||
if use pipelight; then
|
|
||||||
unpack "${COMPHOLIO_PATCHES}.tar.gz"
|
|
||||||
# we use a separate pulseaudio patchset
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/06-winepulse" || die
|
|
||||||
# ... and don't need the arial replacement
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/10-Missing_Fonts" || die
|
|
||||||
fi
|
|
||||||
unpack "${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local md5="$(md5sum server/protocol.def)"
|
|
||||||
local f
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
|
||||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
|
||||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
|
||||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
|
||||||
)
|
|
||||||
use pulseaudio && PATCHES+=(
|
|
||||||
"../${PULSE_PATCHES}"/*.patch #421365
|
|
||||||
)
|
|
||||||
if use pipelight; then
|
|
||||||
PATCHES+=(
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
autotools-utils_src_prepare
|
|
||||||
|
|
||||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
|
||||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
|
||||||
tools/make_requests || die #432348
|
|
||||||
fi
|
|
||||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
|
||||||
if ! use run-exes; then
|
|
||||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
|
||||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
|
||||||
|
|
||||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export LDCONFIG=/bin/true
|
|
||||||
use custom-cflags || strip-flags
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--sysconfdir=/etc/wine
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with capi)
|
|
||||||
$(use_with lcms cms)
|
|
||||||
$(use_with cups)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with udisks dbus)
|
|
||||||
$(use_with fontconfig)
|
|
||||||
$(use_with ssl gnutls)
|
|
||||||
$(use_with gphoto2 gphoto)
|
|
||||||
$(use_with gsm)
|
|
||||||
$(use_with gstreamer)
|
|
||||||
--without-hal
|
|
||||||
$(use_with jpeg)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with mp3 mpg123)
|
|
||||||
$(use_with netapi)
|
|
||||||
$(use_with nls gettext)
|
|
||||||
$(use_with openal)
|
|
||||||
$(use_with opencl)
|
|
||||||
$(use_with opengl)
|
|
||||||
$(use_with osmesa)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with threads pthread)
|
|
||||||
$(use_with scanner sane)
|
|
||||||
$(use_enable test tests)
|
|
||||||
$(use_with truetype freetype)
|
|
||||||
$(use_with v4l)
|
|
||||||
$(use_with X x)
|
|
||||||
$(use_with xcomposite)
|
|
||||||
$(use_with xinerama)
|
|
||||||
$(use_with xml)
|
|
||||||
$(use_with xml xslt)
|
|
||||||
)
|
|
||||||
|
|
||||||
use pulseaudio && myconf+=( --with-pulse )
|
|
||||||
use pipelight && myconf+=( --with-xattr )
|
|
||||||
|
|
||||||
local PKG_CONFIG AR RANLIB
|
|
||||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
|
||||||
# set AR and RANLIB to make QA scripts happy; #483342
|
|
||||||
tc-export PKG_CONFIG AR RANLIB
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
if [[ ${ABI} == amd64 ]]; then
|
|
||||||
myconf+=( --enable-win64 )
|
|
||||||
else
|
|
||||||
myconf+=( --disable-win64 )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
|
||||||
# CC/LD hackery. We're using separate tools instead.
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
emake depend
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
|
||||||
if [[ ${ABI} == x86 ]]; then
|
|
||||||
if [[ $(id -u) == 0 ]]; then
|
|
||||||
ewarn "Skipping tests since they cannot be run under the root user."
|
|
||||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
|
||||||
Xemake test
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
local DOCS=( ANNOUNCE AUTHORS README )
|
|
||||||
local l
|
|
||||||
add_locale_docs() {
|
|
||||||
local locale_doc="documentation/README.$1"
|
|
||||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
|
||||||
}
|
|
||||||
l10n_for_each_locale_do add_locale_docs
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
prune_libtool_files --all
|
|
||||||
|
|
||||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
|
||||||
if use gecko ; then
|
|
||||||
insinto /usr/share/wine/gecko
|
|
||||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
|
||||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
|
||||||
fi
|
|
||||||
if use mono ; then
|
|
||||||
insinto /usr/share/wine/mono
|
|
||||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
|
||||||
fi
|
|
||||||
if ! use perl ; then
|
|
||||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
|
||||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
|
||||||
|
|
||||||
if use abi_x86_64 && ! use abi_x86_32; then
|
|
||||||
dosym /usr/bin/wine{64,} # 404331
|
|
||||||
dosym /usr/bin/wine{64,}-preloader
|
|
||||||
fi
|
|
||||||
|
|
||||||
# respect LINGUAS when installing man pages, #469418
|
|
||||||
for l in de fr pl; do
|
|
||||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
|
|
||||||
if use pipelight; then
|
|
||||||
ewarn "You installed Wine with the unofficial Compholio patchset for Pipelight"
|
|
||||||
ewarn "support, which is unsupported by Wine developers. Please don't report"
|
|
||||||
ewarn "bugs to Wine bugzilla unless you can reproduce them with USE=-pipelight"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,493 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.20.ebuild,v 1.2 2014/06/18 19:08:47 mgorny Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
AUTOTOOLS_AUTORECONF=1
|
|
||||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
|
||||||
PLOCALE_BACKUP="en"
|
|
||||||
|
|
||||||
inherit autotools-utils eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
|
||||||
inherit git-2
|
|
||||||
SRC_URI=""
|
|
||||||
#KEYWORDS=""
|
|
||||||
else
|
|
||||||
MY_P="${PN}-${PV/_/-}"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
fi
|
|
||||||
|
|
||||||
GV="2.24"
|
|
||||||
MV="4.5.2"
|
|
||||||
PULSE_PATCHES="winepulse-patches-1.7.20"
|
|
||||||
COMPHOLIOV="1.7.20"
|
|
||||||
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}"
|
|
||||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
|
||||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
|
||||||
HOMEPAGE="http://www.winehq.org/"
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
gecko? (
|
|
||||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
|
||||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
|
||||||
)
|
|
||||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
|
||||||
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz )
|
|
||||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
|
||||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pipelight +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
|
||||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
|
||||||
test? ( abi_x86_32 )
|
|
||||||
elibc_glibc? ( threads )
|
|
||||||
gstreamer? ( pulseaudio )
|
|
||||||
mono? ( abi_x86_32 )
|
|
||||||
osmesa? ( opengl )" #286560
|
|
||||||
# winepulse patches needed for gstreamer due to http://bugs.winehq.org/show_bug.cgi?id=30557
|
|
||||||
|
|
||||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
|
||||||
# or fail due to Xvfb's opengl limitations.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
NATIVE_DEPEND="
|
|
||||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
|
||||||
capi? ( net-dialup/capi4k-utils )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
udisks? ( sys-apps/dbus )
|
|
||||||
fontconfig? ( media-libs/fontconfig:= )
|
|
||||||
gphoto2? ( media-libs/libgphoto2:= )
|
|
||||||
openal? ( media-libs/openal:= )
|
|
||||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXxf86vm
|
|
||||||
)
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
cups? ( net-print/cups:= )
|
|
||||||
opencl? ( virtual/opencl )
|
|
||||||
opengl? (
|
|
||||||
virtual/glu
|
|
||||||
virtual/opengl
|
|
||||||
)
|
|
||||||
gsm? ( media-sound/gsm:= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
ldap? ( net-nds/openldap:= )
|
|
||||||
lcms? ( media-libs/lcms:2= )
|
|
||||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
|
||||||
netapi? ( net-fs/samba[netapi(+)] )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
odbc? ( dev-db/unixODBC:= )
|
|
||||||
osmesa? ( media-libs/mesa[osmesa] )
|
|
||||||
pipelight? ( sys-apps/attr )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
|
||||||
scanner? ( media-gfx/sane-backends:= )
|
|
||||||
ssl? ( net-libs/gnutls:= )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
xcomposite? ( x11-libs/libXcomposite )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
!amd64? ( ${NATIVE_DEPEND} )
|
|
||||||
amd64? (
|
|
||||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
|
||||||
abi_x86_32? (
|
|
||||||
truetype? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ncurses? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
udisks? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development,-abi_x86_32(-)]
|
|
||||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
fontconfig? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
gphoto2? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libgphoto2-2.5.3.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
openal? ( || (
|
|
||||||
app-emulation/emul-linux-x86-sdl[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/openal-1.15.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
gstreamer? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=media-libs/gstreamer-0.10.36-r2:0.10[abi_x86_32(-)]
|
|
||||||
>=media-libs/gst-plugins-base-0.10.36:0.10[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
X? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXi-1.7.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
xinerama? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXinerama-1.1.3[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
alsa? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[alsa,development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
cups? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs
|
|
||||||
>=net-print/cups-1.7.1-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
opencl? ( >=virtual/opencl-0-r3[abi_x86_32(-)] )
|
|
||||||
opengl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-opengl[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=virtual/glu-9.0-r1[abi_x86_32(-)]
|
|
||||||
>=virtual/opengl-7.0-r1[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
gsm? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/gsm-1.0.13-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
jpeg? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=virtual/jpeg-0-r2:0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ldap? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=net-nds/openldap-2.4.38-r1:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
lcms? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/lcms-2.5:2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
mp3? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/mpg123-1.15.4[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
netapi? ( >=net-fs/samba-3.6.23-r1[netapi(+),abi_x86_32(-)] )
|
|
||||||
nls? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
odbc? ( || (
|
|
||||||
app-emulation/emul-linux-x86-db[development,-abi_x86_32(-)]
|
|
||||||
>=dev-db/unixODBC-2.3.2:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
osmesa? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-opengl-20121028[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/mesa-9.1.6[osmesa,abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
pipelight? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
pulseaudio? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/pulseaudio-5.0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
xml? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)]
|
|
||||||
>=dev-libs/libxslt-1.1.28-r1[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
scanner? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-gfx/sane-backends-1.0.23:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ssl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=net-libs/gnutls-2.12.23-r6:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
png? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libpng-1.6.10:0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
v4l? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libv4l-0.9.5[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
xcomposite? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXcomposite-0.4.4-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
dos? ( games-emulation/dosbox )
|
|
||||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
|
||||||
samba? ( >=net-fs/samba-3.0.25 )
|
|
||||||
selinux? ( sec-policy/selinux-wine )
|
|
||||||
udisks? ( sys-fs/udisks:2 )
|
|
||||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
|
||||||
X? (
|
|
||||||
x11-proto/inputproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xf86vidmodeproto
|
|
||||||
)
|
|
||||||
xinerama? ( x11-proto/xineramaproto )
|
|
||||||
prelink? ( sys-devel/prelink )
|
|
||||||
>=sys-kernel/linux-headers-2.6
|
|
||||||
virtual/pkgconfig
|
|
||||||
virtual/yacc
|
|
||||||
sys-devel/flex"
|
|
||||||
|
|
||||||
# These use a non-standard "Wine" category, which is provided by
|
|
||||||
# /etc/xdg/applications-merged/wine.menu
|
|
||||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
|
||||||
usr/share/applications/wine-notepad.desktop
|
|
||||||
usr/share/applications/wine-uninstaller.desktop
|
|
||||||
usr/share/applications/wine-winecfg.desktop"
|
|
||||||
|
|
||||||
wine_build_environment_check() {
|
|
||||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
|
||||||
|
|
||||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
|
||||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
|
||||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
|
||||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
else
|
|
||||||
unpack ${MY_P}.tar.bz2
|
|
||||||
fi
|
|
||||||
|
|
||||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
|
||||||
if use pipelight; then
|
|
||||||
unpack "${COMPHOLIO_PATCHES}.tar.gz"
|
|
||||||
# we use a separate pulseaudio patchset
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/06-winepulse" || die
|
|
||||||
# ... and need special tools for binary patches
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/10-Missing_Fonts" || die
|
|
||||||
fi
|
|
||||||
unpack "${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local md5="$(md5sum server/protocol.def)"
|
|
||||||
local f
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
|
||||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
|
||||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
|
||||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
|
||||||
)
|
|
||||||
use pulseaudio && PATCHES+=(
|
|
||||||
"../${PULSE_PATCHES}"/*.patch #421365
|
|
||||||
)
|
|
||||||
if use pipelight; then
|
|
||||||
PATCHES+=(
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch"
|
|
||||||
)
|
|
||||||
# epatch doesn't support binary patches
|
|
||||||
ebegin "Applying Compholio font patches"
|
|
||||||
"../${COMPHOLIO_PATCHES}/debian/tools/gitapply.sh" \
|
|
||||||
< "${FILESDIR}/${PN}-1.7.19-missing-fonts-compholio-replacement.patch" \
|
|
||||||
|| die "Failed to apply Compholio font patches"
|
|
||||||
eend
|
|
||||||
fi
|
|
||||||
autotools-utils_src_prepare
|
|
||||||
|
|
||||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
|
||||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
|
||||||
tools/make_requests || die #432348
|
|
||||||
fi
|
|
||||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
|
||||||
if ! use run-exes; then
|
|
||||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
|
||||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
|
||||||
|
|
||||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export LDCONFIG=/bin/true
|
|
||||||
use custom-cflags || strip-flags
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--sysconfdir=/etc/wine
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with capi)
|
|
||||||
$(use_with lcms cms)
|
|
||||||
$(use_with cups)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with udisks dbus)
|
|
||||||
$(use_with fontconfig)
|
|
||||||
$(use_with ssl gnutls)
|
|
||||||
$(use_with gphoto2 gphoto)
|
|
||||||
$(use_with gsm)
|
|
||||||
$(use_with gstreamer)
|
|
||||||
--without-hal
|
|
||||||
$(use_with jpeg)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with mp3 mpg123)
|
|
||||||
$(use_with netapi)
|
|
||||||
$(use_with nls gettext)
|
|
||||||
$(use_with openal)
|
|
||||||
$(use_with opencl)
|
|
||||||
$(use_with opengl)
|
|
||||||
$(use_with osmesa)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with threads pthread)
|
|
||||||
$(use_with scanner sane)
|
|
||||||
$(use_enable test tests)
|
|
||||||
$(use_with truetype freetype)
|
|
||||||
$(use_with v4l)
|
|
||||||
$(use_with X x)
|
|
||||||
$(use_with xcomposite)
|
|
||||||
$(use_with xinerama)
|
|
||||||
$(use_with xml)
|
|
||||||
$(use_with xml xslt)
|
|
||||||
)
|
|
||||||
|
|
||||||
use pulseaudio && myconf+=( --with-pulse )
|
|
||||||
use pipelight && myconf+=( --with-xattr )
|
|
||||||
|
|
||||||
local PKG_CONFIG AR RANLIB
|
|
||||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
|
||||||
# set AR and RANLIB to make QA scripts happy; #483342
|
|
||||||
tc-export PKG_CONFIG AR RANLIB
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
if [[ ${ABI} == amd64 ]]; then
|
|
||||||
myconf+=( --enable-win64 )
|
|
||||||
else
|
|
||||||
myconf+=( --disable-win64 )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
|
||||||
# CC/LD hackery. We're using separate tools instead.
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
emake depend
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
|
||||||
if [[ ${ABI} == x86 ]]; then
|
|
||||||
if [[ $(id -u) == 0 ]]; then
|
|
||||||
ewarn "Skipping tests since they cannot be run under the root user."
|
|
||||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
|
||||||
Xemake test
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
local DOCS=( ANNOUNCE AUTHORS README )
|
|
||||||
local l
|
|
||||||
add_locale_docs() {
|
|
||||||
local locale_doc="documentation/README.$1"
|
|
||||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
|
||||||
}
|
|
||||||
l10n_for_each_locale_do add_locale_docs
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
prune_libtool_files --all
|
|
||||||
|
|
||||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
|
||||||
if use gecko ; then
|
|
||||||
insinto /usr/share/wine/gecko
|
|
||||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
|
||||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
|
||||||
fi
|
|
||||||
if use mono ; then
|
|
||||||
insinto /usr/share/wine/mono
|
|
||||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
|
||||||
fi
|
|
||||||
if ! use perl ; then
|
|
||||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
|
||||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
|
||||||
|
|
||||||
if use abi_x86_64 && ! use abi_x86_32; then
|
|
||||||
dosym /usr/bin/wine{64,} # 404331
|
|
||||||
dosym /usr/bin/wine{64,}-preloader
|
|
||||||
fi
|
|
||||||
|
|
||||||
# respect LINGUAS when installing man pages, #469418
|
|
||||||
for l in de fr pl; do
|
|
||||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
|
|
||||||
if use pipelight; then
|
|
||||||
ewarn "You installed Wine with the unofficial Compholio patchset for Pipelight"
|
|
||||||
ewarn "support, which is unsupported by Wine developers. Please don't report"
|
|
||||||
ewarn "bugs to Wine bugzilla unless you can reproduce them with USE=-pipelight"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,491 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.7.21.ebuild,v 1.1 2014/06/29 00:42:47 tetromino Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
AUTOTOOLS_AUTORECONF=1
|
|
||||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
|
||||||
PLOCALE_BACKUP="en"
|
|
||||||
|
|
||||||
inherit autotools-utils eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
|
||||||
inherit git-2
|
|
||||||
SRC_URI=""
|
|
||||||
#KEYWORDS=""
|
|
||||||
else
|
|
||||||
MY_P="${PN}-${PV/_/-}"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/Source/${MY_P}.tar.bz2"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
fi
|
|
||||||
|
|
||||||
GV="2.24"
|
|
||||||
MV="4.5.2"
|
|
||||||
PULSE_PATCHES="winepulse-patches-1.7.21"
|
|
||||||
COMPHOLIOV="1.7.21"
|
|
||||||
COMPHOLIO_PATCHES="wine-compholio-daily-${COMPHOLIOV}"
|
|
||||||
WINE_GENTOO="wine-gentoo-2013.06.24"
|
|
||||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
|
||||||
HOMEPAGE="http://www.winehq.org/"
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
gecko? (
|
|
||||||
abi_x86_32? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86.msi )
|
|
||||||
abi_x86_64? ( mirror://sourceforge/${PN}/Wine%20Gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
|
|
||||||
)
|
|
||||||
mono? ( mirror://sourceforge/${PN}/Wine%20Mono/${MV}/wine-mono-${MV}.msi )
|
|
||||||
pipelight? ( https://github.com/compholio/wine-compholio-daily/archive/v${COMPHOLIOV}.tar.gz -> ${COMPHOLIO_PATCHES}.tar.gz )
|
|
||||||
pulseaudio? ( http://dev.gentoo.org/~tetromino/distfiles/${PN}/${PULSE_PATCHES}.tar.bz2 )
|
|
||||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pipelight +png +prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype +udisks v4l +X xcomposite xinerama +xml"
|
|
||||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
|
||||||
test? ( abi_x86_32 )
|
|
||||||
elibc_glibc? ( threads )
|
|
||||||
gstreamer? ( pulseaudio )
|
|
||||||
mono? ( abi_x86_32 )
|
|
||||||
osmesa? ( opengl )" #286560
|
|
||||||
# winepulse patches needed for gstreamer due to http://bugs.winehq.org/show_bug.cgi?id=30557
|
|
||||||
|
|
||||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
|
||||||
# or fail due to Xvfb's opengl limitations.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
NATIVE_DEPEND="
|
|
||||||
truetype? ( >=media-libs/freetype-2.0.0 )
|
|
||||||
capi? ( net-dialup/capi4k-utils )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
|
||||||
udisks? ( sys-apps/dbus )
|
|
||||||
fontconfig? ( media-libs/fontconfig:= )
|
|
||||||
gphoto2? ( media-libs/libgphoto2:= )
|
|
||||||
openal? ( media-libs/openal:= )
|
|
||||||
gstreamer? ( media-libs/gstreamer:0.10 media-libs/gst-plugins-base:0.10 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libXxf86vm
|
|
||||||
)
|
|
||||||
xinerama? ( x11-libs/libXinerama )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
cups? ( net-print/cups:= )
|
|
||||||
opencl? ( virtual/opencl )
|
|
||||||
opengl? (
|
|
||||||
virtual/glu
|
|
||||||
virtual/opengl
|
|
||||||
)
|
|
||||||
gsm? ( media-sound/gsm:= )
|
|
||||||
jpeg? ( virtual/jpeg:0= )
|
|
||||||
ldap? ( net-nds/openldap:= )
|
|
||||||
lcms? ( media-libs/lcms:2= )
|
|
||||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
|
||||||
netapi? ( net-fs/samba[netapi(+)] )
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
odbc? ( dev-db/unixODBC:= )
|
|
||||||
osmesa? ( media-libs/mesa[osmesa] )
|
|
||||||
pipelight? ( sys-apps/attr )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
|
||||||
scanner? ( media-gfx/sane-backends:= )
|
|
||||||
ssl? ( net-libs/gnutls:= )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
xcomposite? ( x11-libs/libXcomposite )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
!amd64? ( ${NATIVE_DEPEND} )
|
|
||||||
amd64? (
|
|
||||||
abi_x86_64? ( ${NATIVE_DEPEND} )
|
|
||||||
abi_x86_32? (
|
|
||||||
truetype? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-xlibs-2.1[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ncurses? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
udisks? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20130224[development,-abi_x86_32(-)]
|
|
||||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
fontconfig? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
gphoto2? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libgphoto2-2.5.3.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
openal? ( || (
|
|
||||||
app-emulation/emul-linux-x86-sdl[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/openal-1.15.1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
gstreamer? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=media-libs/gstreamer-0.10.36-r2:0.10[abi_x86_32(-)]
|
|
||||||
>=media-libs/gst-plugins-base-0.10.36:0.10[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
X? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXi-1.7.2[abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
xinerama? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXinerama-1.1.3[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
alsa? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[alsa,development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
cups? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs
|
|
||||||
>=net-print/cups-1.7.1-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
opencl? ( >=virtual/opencl-0-r3[abi_x86_32(-)] )
|
|
||||||
opengl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-opengl[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=virtual/glu-9.0-r1[abi_x86_32(-)]
|
|
||||||
>=virtual/opengl-7.0-r1[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
gsm? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/gsm-1.0.13-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
jpeg? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=virtual/jpeg-0-r2:0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ldap? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=net-nds/openldap-2.4.38-r1:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
lcms? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/lcms-2.5:2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
mp3? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/mpg123-1.15.4[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
netapi? ( >=net-fs/samba-3.6.23-r1[netapi(+),abi_x86_32(-)] )
|
|
||||||
nls? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
odbc? ( || (
|
|
||||||
app-emulation/emul-linux-x86-db[development,-abi_x86_32(-)]
|
|
||||||
>=dev-db/unixODBC-2.3.2:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
osmesa? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-opengl-20121028[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/mesa-9.1.6[osmesa,abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
pipelight? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
pulseaudio? ( || (
|
|
||||||
app-emulation/emul-linux-x86-soundlibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-sound/pulseaudio-5.0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
xml? ( || (
|
|
||||||
>=app-emulation/emul-linux-x86-baselibs-20131008[development,-abi_x86_32(-)]
|
|
||||||
(
|
|
||||||
>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)]
|
|
||||||
>=dev-libs/libxslt-1.1.28-r1[abi_x86_32(-)]
|
|
||||||
)
|
|
||||||
) )
|
|
||||||
scanner? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-gfx/sane-backends-1.0.23:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
ssl? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=net-libs/gnutls-2.12.23-r6:=[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
png? ( || (
|
|
||||||
app-emulation/emul-linux-x86-baselibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libpng-1.6.10:0[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
v4l? ( || (
|
|
||||||
app-emulation/emul-linux-x86-medialibs[development,-abi_x86_32(-)]
|
|
||||||
>=media-libs/libv4l-0.9.5[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
xcomposite? ( || (
|
|
||||||
app-emulation/emul-linux-x86-xlibs[development,-abi_x86_32(-)]
|
|
||||||
>=x11-libs/libXcomposite-0.4.4-r1[abi_x86_32(-)]
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
)"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
dos? ( games-emulation/dosbox )
|
|
||||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
|
||||||
samba? ( >=net-fs/samba-3.0.25 )
|
|
||||||
selinux? ( sec-policy/selinux-wine )
|
|
||||||
udisks? ( sys-fs/udisks:2 )
|
|
||||||
pulseaudio? ( realtime? ( sys-auth/rtkit ) )"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
amd64? ( abi_x86_32? ( !abi_x86_64? ( ${NATIVE_DEPEND} ) ) )
|
|
||||||
X? (
|
|
||||||
x11-proto/inputproto
|
|
||||||
x11-proto/xextproto
|
|
||||||
x11-proto/xf86vidmodeproto
|
|
||||||
)
|
|
||||||
xinerama? ( x11-proto/xineramaproto )
|
|
||||||
prelink? ( sys-devel/prelink )
|
|
||||||
>=sys-kernel/linux-headers-2.6
|
|
||||||
virtual/pkgconfig
|
|
||||||
virtual/yacc
|
|
||||||
sys-devel/flex"
|
|
||||||
|
|
||||||
# These use a non-standard "Wine" category, which is provided by
|
|
||||||
# /etc/xdg/applications-merged/wine.menu
|
|
||||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
|
||||||
usr/share/applications/wine-notepad.desktop
|
|
||||||
usr/share/applications/wine-uninstaller.desktop
|
|
||||||
usr/share/applications/wine-winecfg.desktop"
|
|
||||||
|
|
||||||
wine_build_environment_check() {
|
|
||||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
|
||||||
|
|
||||||
if use abi_x86_64 && [[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]]; then
|
|
||||||
eerror "You need gcc-4.4+ to build 64-bit wine"
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then
|
|
||||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
|
||||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
|
||||||
eerror
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
wine_build_environment_check || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
else
|
|
||||||
unpack ${MY_P}.tar.bz2
|
|
||||||
fi
|
|
||||||
|
|
||||||
use pulseaudio && unpack "${PULSE_PATCHES}.tar.bz2"
|
|
||||||
if use pipelight; then
|
|
||||||
unpack "${COMPHOLIO_PATCHES}.tar.gz"
|
|
||||||
# we use a separate pulseaudio patchset
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/06-winepulse" || die
|
|
||||||
rm -r "${COMPHOLIO_PATCHES}/patches/10-Missing_Fonts" || die
|
|
||||||
fi
|
|
||||||
unpack "${WINE_GENTOO}.tar.bz2"
|
|
||||||
|
|
||||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local md5="$(md5sum server/protocol.def)"
|
|
||||||
local f
|
|
||||||
local PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
|
|
||||||
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
|
||||||
"${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
|
|
||||||
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
|
|
||||||
)
|
|
||||||
use pulseaudio && PATCHES+=(
|
|
||||||
"../${PULSE_PATCHES}"/*.patch #421365
|
|
||||||
)
|
|
||||||
if use gstreamer; then
|
|
||||||
# See http://bugs.winehq.org/show_bug.cgi?id=30557
|
|
||||||
ewarn "Applying experimental patch to fix GStreamer support. Note that"
|
|
||||||
ewarn "this patch has been reported to cause crashes in certain games."
|
|
||||||
|
|
||||||
PATCHES+=( "../${PULSE_PATCHES}"/gstreamer/*.patch )
|
|
||||||
fi
|
|
||||||
if use pipelight; then
|
|
||||||
ewarn "Applying the unofficial Compholio patchset for Pipelight support,"
|
|
||||||
ewarn "which is unsupported by Wine developers. Please don't report bugs"
|
|
||||||
ewarn "to Wine bugzilla unless you can reproduce them with USE=-pipelight"
|
|
||||||
|
|
||||||
PATCHES+=(
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches"/*/*.patch #507950
|
|
||||||
"../${COMPHOLIO_PATCHES}/patches/patch-list.patch"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
autotools-utils_src_prepare
|
|
||||||
|
|
||||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
|
||||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
|
||||||
tools/make_requests || die #432348
|
|
||||||
fi
|
|
||||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
|
||||||
if ! use run-exes; then
|
|
||||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
|
||||||
fi
|
|
||||||
|
|
||||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
|
||||||
cp "${WORKDIR}"/${WINE_GENTOO}/icons/oic_winlogo.ico dlls/user32/resources/ || die
|
|
||||||
|
|
||||||
l10n_get_locales > po/LINGUAS # otherwise wine doesn't respect LINGUAS
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export LDCONFIG=/bin/true
|
|
||||||
use custom-cflags || strip-flags
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--sysconfdir=/etc/wine
|
|
||||||
$(use_with alsa)
|
|
||||||
$(use_with capi)
|
|
||||||
$(use_with lcms cms)
|
|
||||||
$(use_with cups)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with udisks dbus)
|
|
||||||
$(use_with fontconfig)
|
|
||||||
$(use_with ssl gnutls)
|
|
||||||
$(use_with gphoto2 gphoto)
|
|
||||||
$(use_with gsm)
|
|
||||||
$(use_with gstreamer)
|
|
||||||
--without-hal
|
|
||||||
$(use_with jpeg)
|
|
||||||
$(use_with ldap)
|
|
||||||
$(use_with mp3 mpg123)
|
|
||||||
$(use_with netapi)
|
|
||||||
$(use_with nls gettext)
|
|
||||||
$(use_with openal)
|
|
||||||
$(use_with opencl)
|
|
||||||
$(use_with opengl)
|
|
||||||
$(use_with osmesa)
|
|
||||||
$(use_with oss)
|
|
||||||
$(use_with png)
|
|
||||||
$(use_with threads pthread)
|
|
||||||
$(use_with scanner sane)
|
|
||||||
$(use_enable test tests)
|
|
||||||
$(use_with truetype freetype)
|
|
||||||
$(use_with v4l)
|
|
||||||
$(use_with X x)
|
|
||||||
$(use_with xcomposite)
|
|
||||||
$(use_with xinerama)
|
|
||||||
$(use_with xml)
|
|
||||||
$(use_with xml xslt)
|
|
||||||
)
|
|
||||||
|
|
||||||
use pulseaudio && myconf+=( --with-pulse )
|
|
||||||
use pipelight && myconf+=( --with-xattr )
|
|
||||||
|
|
||||||
local PKG_CONFIG AR RANLIB
|
|
||||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
|
||||||
# set AR and RANLIB to make QA scripts happy; #483342
|
|
||||||
tc-export PKG_CONFIG AR RANLIB
|
|
||||||
|
|
||||||
if use amd64; then
|
|
||||||
if [[ ${ABI} == amd64 ]]; then
|
|
||||||
myconf+=( --enable-win64 )
|
|
||||||
else
|
|
||||||
myconf+=( --disable-win64 )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
|
||||||
# CC/LD hackery. We're using separate tools instead.
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
emake depend
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
|
||||||
if [[ ${ABI} == x86 ]]; then
|
|
||||||
if [[ $(id -u) == 0 ]]; then
|
|
||||||
ewarn "Skipping tests since they cannot be run under the root user."
|
|
||||||
ewarn "To run the test ${PN} suite, add userpriv to FEATURES in make.conf"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
|
||||||
Xemake test
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
local DOCS=( ANNOUNCE AUTHORS README )
|
|
||||||
local l
|
|
||||||
add_locale_docs() {
|
|
||||||
local locale_doc="documentation/README.$1"
|
|
||||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
|
||||||
}
|
|
||||||
l10n_for_each_locale_do add_locale_docs
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
prune_libtool_files --all
|
|
||||||
|
|
||||||
emake -C "../${WINE_GENTOO}" install DESTDIR="${D}" EPREFIX="${EPREFIX}"
|
|
||||||
if use gecko ; then
|
|
||||||
insinto /usr/share/wine/gecko
|
|
||||||
use abi_x86_32 && doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
|
||||||
use abi_x86_64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
|
||||||
fi
|
|
||||||
if use mono ; then
|
|
||||||
insinto /usr/share/wine/mono
|
|
||||||
doins "${DISTDIR}"/wine-mono-${MV}.msi
|
|
||||||
fi
|
|
||||||
if ! use perl ; then
|
|
||||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
|
||||||
use abi_x86_64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
|
||||||
|
|
||||||
if use abi_x86_64 && ! use abi_x86_32; then
|
|
||||||
dosym /usr/bin/wine{64,} # 404331
|
|
||||||
dosym /usr/bin/wine{64,}-preloader
|
|
||||||
fi
|
|
||||||
|
|
||||||
# respect LINGUAS when installing man pages, #469418
|
|
||||||
for l in de fr pl; do
|
|
||||||
use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
DIST Sublime%20Text%202.0.1%20x64.tar.bz2 5664664 SHA256 858df93325334b7c7ed75daac26c45107e0c7cd194d522b42a6ac69fae6de404 SHA512 d079040e1801a1e288f4dbc079ece850c54f5c71a92809bbfc8718a1cab7414dc8f3ac82ce5db1647c97317001ec9151223f70b5c942ed4dc550d26b778089b5 WHIRLPOOL 5add3f473ba0def312e6cad300c7529e654554ed539782fbf3de66fc31c612537312715cb5e70695293b8d3c727438fe09ea7f73039fc1dfb92b71e720294b0a
|
|
||||||
DIST Sublime%20Text%202.0.1.tar.bz2 5587508 SHA256 4e752da357fbaf41b74e45e2caaea5c07813216c273b6f8770abd5621daddbf4 SHA512 7d64e97a24477bf10c7cda2803917975d2d982fe4e0a6b2c7b0ffb17c82b4c7c11044db0ff8bb5e919478a985041dc16827bd44ee996ef0bf6db318ec4562546 WHIRLPOOL 2f12aecadc647e4312a1417bfc589f7b31eed51576c3e1eb1d294c20907e0005b30a46497aa42c9b3ba26395c40d146452a6fd2fc0454ee634e92bf4217743e3
|
|
||||||
EBUILD sublime-text-bin-2.0.1.ebuild 1003 SHA256 5cf10c07fb65b2510c3c91452cc1d8c50778c0862084d470ece2ad2686409c7d SHA512 fd32d2962dc3654b8273fa06e4cca00a96cddd451e492b97a748bbc500a1bc8ac992f29c0a0c32effbb07c1ced36bf53ea382b2ba917095b7477e5e0977818c1 WHIRLPOOL 50cf01bb2a817fbea8fe78dc18ca0bad20092093901ee967ce5c366abf2b03b3d8dc355d7a89dedad587ed8d94010d220f99b1ec0d0a258423475961e42e95f1
|
|
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
MY_PN="Sublime%20Text%20"
|
|
||||||
MY_P="${MY_PN}${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Sublime Text is a sophisticated text editor for code, html and prose"
|
|
||||||
HOMEPAGE="http://www.sublimetext.com"
|
|
||||||
COMMON_URI="http://c758482.r82.cf2.rackcdn.com"
|
|
||||||
SRC_URI="amd64? ( ${COMMON_URI}/${MY_P}%20x64.tar.bz2 )
|
|
||||||
x86? ( ${COMMON_URI}/${MY_P}.tar.bz2 )"
|
|
||||||
LICENSE="Sublime"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="media-libs/libpng:0
|
|
||||||
>=x11-libs/gtk+-2.24.8-r1:2"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/Sublime Text 2"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /opt/${PN}
|
|
||||||
into /opt/${PN}
|
|
||||||
exeinto /opt/${PN}
|
|
||||||
doins -r lib
|
|
||||||
doins -r "Pristine Packages"
|
|
||||||
doins sublime_plugin.py
|
|
||||||
doins PackageSetup.py
|
|
||||||
doexe sublime_text
|
|
||||||
dosym "/opt/${PN}/sublime_text" /usr/bin/subl
|
|
||||||
make_desktop_entry "subl %U" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor" "MimeType=text/plain;"
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
AUX Makefile 981 SHA256 cdbc2573e361a7e8c4e79ae3d17f569bb5812b2bbe56a09e1c78080d4f55de16 SHA512 c63e5b4bb42d44558db80e7609db167a56579383715a84497b454889777e295b81c857203023c620f6445c71581f24fd1f77b7570c8ea59c38d3f1aa03bc3f72 WHIRLPOOL 680d9615a43de6b68bd010e3b0a4db3015355c3cd920378c5264d53aceb0ca8dadfe5466a3e67cd2cd89131238ef0afc4fe2f306e6737ba8eaf0ce1b4bb86d9a
|
|
||||||
EBUILD adb-9999.ebuild 574 SHA256 9a70ae34715d53909ae4ed662e57dd6f0b9ed4901192d848c13b5712b20a5882 SHA512 35c0c7b65108f779ae0aec988fe4186f226762ed02f8839e6d3f6db628f4befc0696fb400c26fd4256388f53c8e7379e4d740bcfd916d6646a9c613a357f4ceb WHIRLPOOL 26598fa0f199ddb7ce7bbb303c8b17137ee69b1005141d3623781a499c6d815ecb94cbe8e1123a02ce99118239402973faab30961a3e40793a14b48b2ae9b7e6
|
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit toolchain-funcs git-2
|
|
||||||
|
|
||||||
DESCRIPTION="android debug bridge"
|
|
||||||
HOMEPAGE="android.googlesource.com"
|
|
||||||
|
|
||||||
EGIT_REPO_URI="http://android.googlesource.com/platform/system/core.git"
|
|
||||||
EGIT_COMMIT="4f247d753a8865cd16292ff0b720b72c28049786"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="sys-libs/zlib"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile(){
|
|
||||||
cd adb
|
|
||||||
cp ${FILESDIR}/Makefile Makefile
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install(){
|
|
||||||
cd adb
|
|
||||||
einstall DESTDIR=${D}
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
AUX Makefile 998 SHA256 b8da56cd869a16a97e246c169940e8ea580f1b389e40554042ba21d7ff6c87b5 SHA512 4f6e161d7a0cbe0d9b981809a0d624079aedd923f819e34ac7f9c7ede574f11fb7a4cc4cede42396fa6e18ba098df09c3099d579ce0bcfd981b3c1f66f0b52c7 WHIRLPOOL 9c13c0ecfd9ef0c8c9cbccbfcc7f1e6aeffc414f6da4042bf6b6de129c4931d8a713cb0c10f3f5c6c9c8e0e3aedbde009c068ccd14fcc7eb485e9b11766cdb38
|
|
||||||
EBUILD fastboot-9999.ebuild 745 SHA256 e982a8ea4eb95cee07818f20f8194279532fda3a002679d6dd7102639671aa15 SHA512 ba6da3df2aea1af42b553d1fd140dca7001023d8d3f2a71d157d90da2ed29b2d3903740a39064b43e236509d9af40b51dde1b09c442bed6ad22eea45e235b2fc WHIRLPOOL 99353747886a402a8a75897a16c1021b86cb6518a1589e53037d38782ad069692579b4d630f8d163d32a7522fe981dcb351ecda3af84304ec17569d1b9982a76
|
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit toolchain-funcs git-2
|
|
||||||
|
|
||||||
DESCRIPTION="fastboot is a util to control android bootloader"
|
|
||||||
HOMEPAGE="android.googlesource.com"
|
|
||||||
|
|
||||||
EGIT_ANDROID="http://android.googlesource.com/platform"
|
|
||||||
EGIT_BRANCH="jb-mr1.1-release"
|
|
||||||
EGIT_REPO_URI=""$EGIT_ANDROID"/system/core"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="sys-libs/e2fsprogs-libs
|
|
||||||
sys-libs/zlib"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_compile(){
|
|
||||||
cd fastboot
|
|
||||||
git clone "$EGIT_ANDROID"/system/extras
|
|
||||||
git clone "$EGIT_ANDROID"/external/libselinux
|
|
||||||
cp ${FILESDIR}/Makefile Makefile
|
|
||||||
LIBS="-lext2fs" emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install(){
|
|
||||||
cd fastboot
|
|
||||||
einstall DESTDIR=${D}
|
|
||||||
}
|
|
@ -1,57 +0,0 @@
|
|||||||
SRCS+=bootimg.c
|
|
||||||
SRCS+=engine.c
|
|
||||||
SRCS+=fastboot.c
|
|
||||||
SRCS+=protocol.c
|
|
||||||
SRCS+=usb_linux.c
|
|
||||||
SRCS+=util_linux.c
|
|
||||||
|
|
||||||
VPATH+= ../libsparse
|
|
||||||
SRCS+= backed_block.c
|
|
||||||
SRCS+= output_file.c
|
|
||||||
SRCS+= sparse.c
|
|
||||||
SRCS+= sparse_crc32.c
|
|
||||||
SRCS+= sparse_err.c
|
|
||||||
SRCS+= sparse_read.c
|
|
||||||
|
|
||||||
VPATH+= ../libzipfile
|
|
||||||
SRCS+= centraldir.c
|
|
||||||
SRCS+= zipfile.c
|
|
||||||
|
|
||||||
VPATH+= extras/ext4_utils
|
|
||||||
SRCS+= allocate.c
|
|
||||||
SRCS+= contents.c
|
|
||||||
SRCS+= ext4_utils.c
|
|
||||||
SRCS+= extent.c
|
|
||||||
SRCS+= indirect.c
|
|
||||||
SRCS+= make_ext4fs.c
|
|
||||||
SRCS+= sha1.c
|
|
||||||
SRCS+= uuid.c
|
|
||||||
SRCS+= wipe.c
|
|
||||||
|
|
||||||
VPATH+= libselinux/src
|
|
||||||
SRCS+= callbacks.c
|
|
||||||
SRCS+= check_context.c
|
|
||||||
SRCS+= freecon.c
|
|
||||||
SRCS+= init.c
|
|
||||||
SRCS+= label.c
|
|
||||||
SRCS+= label_android_property.c
|
|
||||||
SRCS+= label_file.c
|
|
||||||
|
|
||||||
CPPFLAGS+= -I../include
|
|
||||||
CPPFLAGS+= -I../libsparse/include
|
|
||||||
CPPFLAGS+= -I../mkbootimg
|
|
||||||
CPPFLAGS+= -Ilibselinux/include
|
|
||||||
CPPFLAGS+= -Iextras/ext4_utils
|
|
||||||
|
|
||||||
LIBS+= -lz
|
|
||||||
|
|
||||||
OBJS= $(SRCS:.c=.o)
|
|
||||||
|
|
||||||
all: fastboot
|
|
||||||
|
|
||||||
fastboot: $(OBJS)
|
|
||||||
cc -o $@ $(OBJS) $(LIBS)
|
|
||||||
|
|
||||||
install:
|
|
||||||
test -d '$(DESTDIR)/usr/bin' || mkdir -p '$(DESTDIR)/usr/bin'
|
|
||||||
cp fastboot '$(DESTDIR)/usr/bin'
|
|
@ -1,6 +1,14 @@
|
|||||||
AUX arduino-1.6.7-Do-Not-ThinkDifferent.patch 832 SHA256 f3be70a62f24a91ba5de4350772fe365983b23c1ff12dc4add555954d499b997 SHA512 cfcb1a7fb9ea89fb48b0795a64c80e22962a8db3417ab51aaef140e76d7d2d27f311ab9463d530e190e06b0ad4412460af71a263dd93115cb2cb89c21ba8107c WHIRLPOOL da06bde9ef309fb0a55ef0c94a1427410ce0aea875ee577fc00f9171905dffe6748bd1777639408f4e10e6d1f1fbc8beaf753379e8ad6ae64f4eb7d099585531
|
AUX arduino-1.6.7-Do-Not-ThinkDifferent.patch 832 SHA256 f3be70a62f24a91ba5de4350772fe365983b23c1ff12dc4add555954d499b997 SHA512 cfcb1a7fb9ea89fb48b0795a64c80e22962a8db3417ab51aaef140e76d7d2d27f311ab9463d530e190e06b0ad4412460af71a263dd93115cb2cb89c21ba8107c WHIRLPOOL da06bde9ef309fb0a55ef0c94a1427410ce0aea875ee577fc00f9171905dffe6748bd1777639408f4e10e6d1f1fbc8beaf753379e8ad6ae64f4eb7d099585531
|
||||||
AUX arduino-1.6.7-build.xml.patch 27270 SHA256 143a1a1698280378166d00a69e21ca2d8d31b294ce15ed3f4ce9593c20db0227 SHA512 7bca2efb434a41d0f6f4594bb11f940584896dcd647eff5f621358a679402ff07673c7b7c8fb38dfdc53c724bc3add674af934680a814aff1053c296ab1e4182 WHIRLPOOL abcad8468201020cb6c2244fdacd2f11c8d77849974970b41b99bf404151fc588fa4ecdc2f4e5a084e238860b6905d40250197c250f81e8f02e72dc16cb79f23
|
AUX arduino-1.6.7-build.xml.patch 27270 SHA256 143a1a1698280378166d00a69e21ca2d8d31b294ce15ed3f4ce9593c20db0227 SHA512 7bca2efb434a41d0f6f4594bb11f940584896dcd647eff5f621358a679402ff07673c7b7c8fb38dfdc53c724bc3add674af934680a814aff1053c296ab1e4182 WHIRLPOOL abcad8468201020cb6c2244fdacd2f11c8d77849974970b41b99bf404151fc588fa4ecdc2f4e5a084e238860b6905d40250197c250f81e8f02e72dc16cb79f23
|
||||||
AUX arduino-1.6.7-script.patch 580 SHA256 553335d62134c9ca66e7b9f0b9496f187c76a3223438f2659e29d51cdd55776d SHA512 65b2868a18201f738a64377d965601dda77cee9713720e1d91de4378038083669370e3353b82f48f41c27d0ff65a859a8acc9b15bb20ba55bb7685daa98db173 WHIRLPOOL 2b9de5c030c05f48a52fd67f54d2ae1a25b1f95b1e02a69a172fe286d9b1c6912a652954b3e6d35b1c0cf252ba2ccaffa86e844e9f8075323ef1e413a0a988af
|
AUX arduino-1.6.7-script.patch 580 SHA256 553335d62134c9ca66e7b9f0b9496f187c76a3223438f2659e29d51cdd55776d SHA512 65b2868a18201f738a64377d965601dda77cee9713720e1d91de4378038083669370e3353b82f48f41c27d0ff65a859a8acc9b15bb20ba55bb7685daa98db173 WHIRLPOOL 2b9de5c030c05f48a52fd67f54d2ae1a25b1f95b1e02a69a172fe286d9b1c6912a652954b3e6d35b1c0cf252ba2ccaffa86e844e9f8075323ef1e413a0a988af
|
||||||
|
AUX arduino-1.6.9-Do-Not-ThinkDifferent.patch 832 SHA256 f3be70a62f24a91ba5de4350772fe365983b23c1ff12dc4add555954d499b997 SHA512 cfcb1a7fb9ea89fb48b0795a64c80e22962a8db3417ab51aaef140e76d7d2d27f311ab9463d530e190e06b0ad4412460af71a263dd93115cb2cb89c21ba8107c WHIRLPOOL da06bde9ef309fb0a55ef0c94a1427410ce0aea875ee577fc00f9171905dffe6748bd1777639408f4e10e6d1f1fbc8beaf753379e8ad6ae64f4eb7d099585531
|
||||||
|
AUX arduino-1.6.9-build.xml.patch 29384 SHA256 9417ebed1e3f122eefbc8992b700f3865bfda53974ac04a284f1ac7a8f76099e SHA512 0a7b6bfaa252b56f3685e0b5acccd92db8b794523bed3e7750206fe303ba2004b3aa6e1086601a0adbb81277c4adc4ef6b9f0a35fe4b06fad2d9406e33b5359e WHIRLPOOL 3e705f9df74208bc16105f775d92216cbbd41156f0799481d6870b91be6e034d810e7d3a863875a523877855d9fc979f01c72c083649ddc88607cbc9e25adcc1
|
||||||
|
AUX arduino-1.6.9-platform.patch 1102 SHA256 4026317625b48b4f845b31655a3553417e62cfd96072ac3b9dc2166806e95838 SHA512 91300f146fac62c16e542536e780ade8e4a10f95dc0e254fd7de1504eedec3fccffe6ef137ab05b457c9c675007b4067d53736e409c7dab7711e590ede22e4e4 WHIRLPOOL 787bfa52278cc2cc443c346bac7e7f1f9a52be409e64fc04c9a77461d3770118bf0ae583316918190fdd12c975d59869a5dc19157739bc37b396ce92a0adb07c
|
||||||
|
AUX arduino-1.6.9-script.patch 580 SHA256 553335d62134c9ca66e7b9f0b9496f187c76a3223438f2659e29d51cdd55776d SHA512 65b2868a18201f738a64377d965601dda77cee9713720e1d91de4378038083669370e3353b82f48f41c27d0ff65a859a8acc9b15bb20ba55bb7685daa98db173 WHIRLPOOL 2b9de5c030c05f48a52fd67f54d2ae1a25b1f95b1e02a69a172fe286d9b1c6912a652954b3e6d35b1c0cf252ba2ccaffa86e844e9f8075323ef1e413a0a988af
|
||||||
|
AUX arduino.desktop 228 SHA256 3b89b4fe43d2a0d40e757be94859b6809bd49f85d2c47a92e78b286d7de0ae39 SHA512 8c8b8b3306eeaa8640716abba14c44e2886b6d23c3cf2b5503595cb89a59845bdd5a57800fd07cea777be20e27621427bbb6bad2a8fe9513f7dfac5a41f8bde4 WHIRLPOOL c2d2db0cf2c10448801a718adc4ab4b58b0e70e2c9cfd31115d5a0c79fc1f69de3ffb67e2560636239b6fd6b24f9bddbf6ece2f72a69d2e4e0c042a36a6b08f8
|
||||||
|
AUX platform-1.6.9/platform.txt 1447 SHA256 1a971137ac7575b4a6cb5869f79158db8ab61c1e899a275900ae9cce9fd140ed SHA512 269be33d4a2f22f59f149037614eca87b062c4f41f71dd3576db395d67018954f855d79b370a0b88b823985b287e163bbd0bdc430546a5ed3f5316fd7a0f41cb WHIRLPOOL 0daa35b52af6f8a1e6a3a58d4db7bb63798ac656400bf4227e94c166a1e8c159ef01012f1a8ea0a3c9a2aa836e5e00e1e5c6e65c0d34f72f7465419caa2ddeb0
|
||||||
DIST arduino-1.6.7.tar.gz 77578555 SHA256 ae524c19c3b6fcd00cbf709e693321a13e694316fea5642a54b02d4170213586 SHA512 2f76aedad6f8bb9c3e17c4b02ecf816f5fe628b4856a6bd9a3d7c0fe3d9999a39df60a4794d99b1e62c3ae41695350f27d148a0925f7f59b8071359d33be2b00 WHIRLPOOL c5bdf2a67ff37fc8bc4a002ea24f003d97f6ae04632d906fc4d37d2af64c113f698e26720c73b40afc39925f03206a41a4ec0faba0d80756427714102ad47f90
|
DIST arduino-1.6.7.tar.gz 77578555 SHA256 ae524c19c3b6fcd00cbf709e693321a13e694316fea5642a54b02d4170213586 SHA512 2f76aedad6f8bb9c3e17c4b02ecf816f5fe628b4856a6bd9a3d7c0fe3d9999a39df60a4794d99b1e62c3ae41695350f27d148a0925f7f59b8071359d33be2b00 WHIRLPOOL c5bdf2a67ff37fc8bc4a002ea24f003d97f6ae04632d906fc4d37d2af64c113f698e26720c73b40afc39925f03206a41a4ec0faba0d80756427714102ad47f90
|
||||||
|
DIST arduino-1.6.9.tar.gz 81103494 SHA256 0927e4d6bb24fd297765aaf529fe7b16a7da3223848e7b40cdc9843d4246f98d SHA512 92b3508068e3aae6a88c3a395d0906fb63d2fd8ee20d003173b96f3f0ff6851eddcdb77c6349dfec3ad0ee36976f53432c643f56724490e9187d4af049fd4bf8 WHIRLPOOL 841ebd6e4c23b610f87a5254b888a31bd9b36ea162f52f9301b8cc0af2288cb7cff83f130f7f3a03ca71fdaf471818f2faea99ab3f1c64b233d7d504b7ac0049
|
||||||
DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
|
DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
|
||||||
EBUILD arduino-1.6.7.ebuild 3617 SHA256 c078fd90e9d0eed48b0757dc1df7a1d078feef5abfcde907bd42317d1f146d9e SHA512 6f193f84325863969546350d6c10378aeaade1eb6f5207e824c9546ae500da3e93b003d52ef752a8c8e25371ba8838cc32659df0c9ef879a8956762dc24fa9eb WHIRLPOOL d67cc32dea2c31f3ed1dc130ea8a3e1c6d006d40e069c4efa00fdea46c40a00d92ab6c0b5205a03a5386ab6452cf040e03bc2e23dec0dfae302b2aeefd34b0ad
|
EBUILD arduino-1.6.7.ebuild 3617 SHA256 c078fd90e9d0eed48b0757dc1df7a1d078feef5abfcde907bd42317d1f146d9e SHA512 6f193f84325863969546350d6c10378aeaade1eb6f5207e824c9546ae500da3e93b003d52ef752a8c8e25371ba8838cc32659df0c9ef879a8956762dc24fa9eb WHIRLPOOL d67cc32dea2c31f3ed1dc130ea8a3e1c6d006d40e069c4efa00fdea46c40a00d92ab6c0b5205a03a5386ab6452cf040e03bc2e23dec0dfae302b2aeefd34b0ad
|
||||||
|
EBUILD arduino-1.6.9.ebuild 4424 SHA256 415aeee47ac97eeab8a63450c88edaf18c24e40fcd24b00bb8b636eafb846346 SHA512 b7e8ffe93351b851415bde8d1c6c14df4b1a44944fd44837a09bc9c7acd969141286c0aaac0ab79c726e2ac85cdf4f84ef75db1d9b62bb366bbf4d6ca4190dfd WHIRLPOOL 1a4166c5400062930fe54ee725d17f5173d03bd053b750643ec8750143caf37624e35b041a15605a1d0b38487abb187bea19b29b7fbce64c714eacbf5a0ec219
|
||||||
|
147
dev-embedded/arduino/arduino-1.6.9.ebuild
Normal file
147
dev-embedded/arduino/arduino-1.6.9.ebuild
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
JAVA_PKG_IUSE="doc +examples"
|
||||||
|
|
||||||
|
inherit eutils java-pkg-2 java-ant-2
|
||||||
|
|
||||||
|
DESCRIPTION="An open-source AVR electronics prototyping platform"
|
||||||
|
HOMEPAGE="http://arduino.cc/ https://github.com/arduino/Arduino"
|
||||||
|
SRC_URI="https://github.com/arduino/Arduino/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
mirror://gentoo/arduino-icons.tar.bz2"
|
||||||
|
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
RESTRICT="strip binchecks"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
COMMONDEP="
|
||||||
|
dev-embedded/listserialportsc
|
||||||
|
dev-java/jna:0
|
||||||
|
>dev-java/rxtx-2.1:2
|
||||||
|
dev-util/astyle"
|
||||||
|
|
||||||
|
RDEPEND="${COMMONDEP}
|
||||||
|
dev-embedded/avrdude
|
||||||
|
dev-embedded/uisp
|
||||||
|
sys-devel/crossdev
|
||||||
|
>=virtual/jre-1.8"
|
||||||
|
|
||||||
|
DEPEND="${COMMONDEP}
|
||||||
|
>=virtual/jdk-1.8"
|
||||||
|
|
||||||
|
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
|
||||||
|
EANT_EXTRA_ARGS="-Dversion=${PV}"
|
||||||
|
EANT_BUILD_TARGET="build"
|
||||||
|
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
# cd ../"${S}"
|
||||||
|
mv Arduino-${PV} arduino-${PV}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
java_prepare() {
|
||||||
|
# Remove the libraries to ensure the system
|
||||||
|
# libraries are used
|
||||||
|
# rm app/lib/* || die
|
||||||
|
rm -rf app/src/processing/app/macosx || die
|
||||||
|
# Patch build/build.xml - remove local jar files
|
||||||
|
# for rxtx and ecj (use system wide versions)
|
||||||
|
epatch "${FILESDIR}"/${P}-build.xml.patch
|
||||||
|
|
||||||
|
# Patch launcher script to include rxtx class/ld paths
|
||||||
|
epatch "${FILESDIR}"/${P}-script.patch
|
||||||
|
|
||||||
|
# Some OS X ThinkDifferent stuff from processing library
|
||||||
|
epatch "${FILESDIR}"/${P}-Do-Not-ThinkDifferent.patch
|
||||||
|
|
||||||
|
# Patch platform.txt for compiler paths
|
||||||
|
epatch "${FILESDIR}"/${P}-platform.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
eant -f arduino-core/build.xml
|
||||||
|
EANT_GENTOO_CLASSPATH_EXTRA="../arduino-core/arduino-core.jar"
|
||||||
|
eant -f app/build.xml
|
||||||
|
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd "${S}"/build/linux/work || die
|
||||||
|
# java-pkg_dojar lib/arduino-core.jar lib/pde.jar
|
||||||
|
java-pkg_dojar lib/*.jar
|
||||||
|
java-pkg_dolauncher ${PN} --pwd /usr/share/${PN} --main processing.app.Base
|
||||||
|
|
||||||
|
# This doesn't seem to be optional, it just hangs when starting without
|
||||||
|
# examples in correct place
|
||||||
|
#if use examples; then
|
||||||
|
#java-pkg_doexamples examples
|
||||||
|
#docompress -x /usr/share/doc/${P}/examples/
|
||||||
|
#fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dodoc revisions.txt "${S}"/readme.txt
|
||||||
|
dohtml -r reference
|
||||||
|
java-pkg_dojavadoc "${S}"/build/javadoc/everything
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto "/usr/share/${PN}/"
|
||||||
|
doins -r dist examples hardware libraries
|
||||||
|
insinto "/usr/share/${PN}/hardware"
|
||||||
|
doins "${FILESDIR}/platform-${PV}/platform.txt"
|
||||||
|
fowners -R root:uucp "/usr/share/${PN}/hardware"
|
||||||
|
|
||||||
|
exeinto "/usr/share/${PN}/"
|
||||||
|
doexe arduino-builder
|
||||||
|
|
||||||
|
insinto "/usr/share/${PN}/lib"
|
||||||
|
doins -r lib/*.txt lib/theme lib/*.png lib/*.conf lib/*.key
|
||||||
|
|
||||||
|
# For TeensyDuino
|
||||||
|
dosym /usr/bin/arduino "/usr/share/${PN}/arduino"
|
||||||
|
|
||||||
|
# use system avrdude
|
||||||
|
# patching class files is too hard
|
||||||
|
dosym /usr/bin/avrdude "/usr/share/${PN}/hardware/tools/avrdude"
|
||||||
|
dodir "/usr/share/${PN}/hardware/tools/avr/etc/"
|
||||||
|
dosym /etc/avrdude.conf "/usr/share/${PN}/hardware/tools/avr/etc/avrdude.conf"
|
||||||
|
|
||||||
|
dosym /usr/$(get_libdir)/libastyle.so "/usr/share/${PN}/lib/libastylej.so"
|
||||||
|
dosym /usr/$(get_libdir)/liblistSerialsj.so "/usr/share/${PN}/lib/liblistSerialsj.so"
|
||||||
|
dodir "/usr/share/${PN}/hardware/tools/avr/bin/"
|
||||||
|
dosym /usr/bin/avr-g++ "/usr/share/${PN}/hardware/tools/avr/bin/avr-g++"
|
||||||
|
dosym /usr/bin/avr-gcc "/usr/share/${PN}/hardware/tools/avr/bin/avr-gcc"
|
||||||
|
dosym /usr/bin/avr-ar "/usr/share/${PN}/hardware/tools/avr/bin/avr-ar"
|
||||||
|
dosym /usr/bin/avr-objcopy "/usr/share/${PN}/hardware/tools/avr/bin/avr-objcopy"
|
||||||
|
dosym /usr/bin/avr-size "/usr/share/${PN}/hardware/tools/avr/bin/avr-size"
|
||||||
|
|
||||||
|
if [ -x /usr/bin/avr-ld ]; then
|
||||||
|
BU_VER=$( avr-ld --version | head -1 | sed -e 's/^.*(.*) //' )
|
||||||
|
dosym /usr/lib/binutils/avr/${BU_VER}/ldscripts "/usr/avr/lib/ldscripts"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install menu and icons
|
||||||
|
domenu "${FILESDIR}/${PN}.desktop"
|
||||||
|
for sz in 16 24 32 48 128 256; do
|
||||||
|
newicon -s $sz \
|
||||||
|
"${WORKDIR}/${PN}-icons/debian_icons_${sz}x${sz}_apps_${PN}.png" \
|
||||||
|
"${PN}.png"
|
||||||
|
done
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [ ! -x /usr/bin/avr-g++ ]; then
|
||||||
|
ewarn "Install avr crosscompiler using:"
|
||||||
|
ewarn " USE=\"-openmp -hardened -sanitize -vtv\" \\"
|
||||||
|
ewarn " crossdev -s4 --ex-gdb -v -S --target avr"
|
||||||
|
echo
|
||||||
|
ewarn "Afterwards, create a symlink for ldscripts:"
|
||||||
|
ewarn " BU_VER=$( avr-ld --version | head -1 | sed -e 's/^.*(.*) //' ) \\"
|
||||||
|
ewarn " ln -s /usr/lib/binutils/avr/\$BU_VER/ldscripts /usr/avr/lib/ldscripts"
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
diff -uNr a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java
|
||||||
|
--- a/app/src/processing/app/Base.java 2015-11-07 16:00:54.614383789 +0100
|
||||||
|
+++ b/app/src/processing/app/Base.java 2015-11-07 16:01:09.486384112 +0100
|
||||||
|
@@ -49,7 +49,6 @@
|
||||||
|
import processing.app.helpers.filefilters.OnlyFilesWithExtension;
|
||||||
|
import processing.app.javax.swing.filechooser.FileNameExtensionFilter;
|
||||||
|
import processing.app.legacy.PApplet;
|
||||||
|
-import processing.app.macosx.ThinkDifferent;
|
||||||
|
import processing.app.packages.LibraryList;
|
||||||
|
import processing.app.packages.UserLibrary;
|
||||||
|
import processing.app.syntax.PdeKeywords;
|
||||||
|
@@ -129,10 +128,6 @@
|
||||||
|
|
||||||
|
splashScreenHelper.splashText(_("Loading configuration..."));
|
||||||
|
|
||||||
|
- if (OSUtils.isMacOS()) {
|
||||||
|
- ThinkDifferent.init();
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
try {
|
||||||
|
guardedMain(args);
|
||||||
|
} catch (Throwable e) {
|
615
dev-embedded/arduino/files/arduino-1.6.9-build.xml.patch
Normal file
615
dev-embedded/arduino/files/arduino-1.6.9-build.xml.patch
Normal file
@ -0,0 +1,615 @@
|
|||||||
|
diff -ur arduino-1.6.9.orig/build/build.xml arduino-1.6.9/build/build.xml
|
||||||
|
--- arduino-1.6.9.orig/build/build.xml 2016-05-10 10:36:07.000000000 +0200
|
||||||
|
+++ arduino-1.6.9/build/build.xml 2016-07-06 09:06:45.863114224 +0200
|
||||||
|
@@ -13,37 +13,20 @@
|
||||||
|
<property name="package_index_url" value="http://downloads.arduino.cc/packages/package_index.json" />
|
||||||
|
|
||||||
|
<!-- Sets properties for macosx/windows/linux depending on current system -->
|
||||||
|
- <condition property="platform" value="macosx-old">
|
||||||
|
- <and>
|
||||||
|
- <os family="mac" />
|
||||||
|
- <matches string="${os.version}" pattern="^10.[56]." />
|
||||||
|
- </and>
|
||||||
|
- </condition>
|
||||||
|
- <condition property="macosx-old"><equals arg1="${platform}" arg2="macosx-old" /></condition>
|
||||||
|
- <fail if="macosx-old" message="MacOSX older than 10.7 are not supported"/>
|
||||||
|
-
|
||||||
|
- <condition property="platform" value="macosx"><os family="mac" /></condition>
|
||||||
|
- <condition property="platform" value="windows"><os family="windows" /></condition>
|
||||||
|
<condition property="platform" value="linux32"><os family="unix" arch="i386" /></condition>
|
||||||
|
<condition property="platform" value="linux64"><os family="unix" arch="amd64" /></condition>
|
||||||
|
<condition property="platform" value="linuxarm"><os family="unix" arch="arm" /></condition>
|
||||||
|
|
||||||
|
- <condition property="macosx"><equals arg1="${platform}" arg2="macosx" /></condition>
|
||||||
|
- <condition property="windows"><equals arg1="${platform}" arg2="windows" /></condition>
|
||||||
|
<condition property="linux32"><equals arg1="${platform}" arg2="linux32" /></condition>
|
||||||
|
<condition property="linux64"><equals arg1="${platform}" arg2="linux64" /></condition>
|
||||||
|
<condition property="linux"><equals arg1="${platform}" arg2="linux32" /></condition>
|
||||||
|
<condition property="linux"><equals arg1="${platform}" arg2="linux64" /></condition>
|
||||||
|
<condition property="linux"><equals arg1="${platform}" arg2="linuxarm" /></condition>
|
||||||
|
|
||||||
|
- <condition property="staging_folder" value="macosx"><equals arg1="${platform}" arg2="macosx" /></condition>
|
||||||
|
- <condition property="staging_folder" value="windows"><equals arg1="${platform}" arg2="windows" /></condition>
|
||||||
|
<condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linux32" /></condition>
|
||||||
|
<condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linux64" /></condition>
|
||||||
|
<condition property="staging_folder" value="linux"><equals arg1="${platform}" arg2="linuxarm" /></condition>
|
||||||
|
|
||||||
|
- <condition property="staging_hardware_folder" value="Arduino.app/Contents/Java/hardware"><equals arg1="${platform}" arg2="macosx" /></condition>
|
||||||
|
- <condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="windows" /></condition>
|
||||||
|
<condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linux32" /></condition>
|
||||||
|
<condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linux64" /></condition>
|
||||||
|
<condition property="staging_hardware_folder" value="hardware"><equals arg1="${platform}" arg2="linuxarm" /></condition>
|
||||||
|
@@ -58,7 +41,6 @@
|
||||||
|
<equals arg1="${platform}" arg2="linux64"/>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
- <condition property="launch4j-download-unpack-target-name" value="launch4j-windows"><os family="windows" /></condition>
|
||||||
|
<property name="launch4j-download-unpack-target-name" value="launch4j-linux"/>
|
||||||
|
|
||||||
|
<property name="MACOSX_BUNDLED_JVM" value="${java.home}/../"/>
|
||||||
|
@@ -323,258 +305,6 @@
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<!-- - - - - - - - -->
|
||||||
|
- <!-- Mac OS X -->
|
||||||
|
- <!-- - - - - - - - -->
|
||||||
|
- <target name="macosx-clean" depends="subprojects-clean" description="Clean Mac OS X build">
|
||||||
|
- <delete dir="macosx/work" />
|
||||||
|
- <delete dir="macosx/working_dir" />
|
||||||
|
- <delete dir="macosx/working.dmg" />
|
||||||
|
- <delete file="macosx/arduino-*.dmg" />
|
||||||
|
- <delete>
|
||||||
|
- <fileset dir="macosx" includes="arduino-*macosx*.zip"/>
|
||||||
|
- </delete>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="macosx-checkos" unless="macosx">
|
||||||
|
- <echo>
|
||||||
|
- =======================================================
|
||||||
|
- Arduino for Mac OS X can only be built on Mac OS X.
|
||||||
|
-
|
||||||
|
- Bye.
|
||||||
|
- =======================================================
|
||||||
|
- </echo>
|
||||||
|
- <fail message="wrong platform (${os.name})" />
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="macosx-build" if="macosx" depends="revision-check, macosx-checkos, subprojects-build" description="Build Mac OS X version">
|
||||||
|
- <fail unless="MACOSX_BUNDLED_JVM" message="MacOSX requires MACOSX_BUNDLED_JVM property set"/>
|
||||||
|
- <mkdir dir="${staging_folder}/work" />
|
||||||
|
-
|
||||||
|
- <antcall target="unzip">
|
||||||
|
- <param name="archive_file" value="${staging_folder}/appbundler-1.0ea-arduino4.jar.zip" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/appbundler-1.0ea-arduino4.jar.zip" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/appbundler-1.0ea-arduino4" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}/appbundler-1.0ea-arduino4" />
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask" classpath="${staging_folder}/appbundler-1.0ea-arduino4/appbundler-1.0ea-arduino4.jar"/>
|
||||||
|
-
|
||||||
|
- <bundleapp
|
||||||
|
- jvmRequired="1.8"
|
||||||
|
- jrepreferred="true"
|
||||||
|
- outputdirectory="${staging_folder}/work"
|
||||||
|
- name="Arduino"
|
||||||
|
- displayname="Arduino"
|
||||||
|
- executablename="Arduino"
|
||||||
|
- identifier="cc.arduino.Arduino"
|
||||||
|
- shortversion="${version}"
|
||||||
|
- version="${revision}"
|
||||||
|
- signature="Pde1"
|
||||||
|
- icon="macosx/processing.icns"
|
||||||
|
- mainclassname="processing.app.Base"
|
||||||
|
- copyright="Arduino LLC"
|
||||||
|
- applicationCategory="public.app-category.education"
|
||||||
|
- minimumsystemversion="10.7"
|
||||||
|
- highresolutioncapable="true">
|
||||||
|
-
|
||||||
|
- <runtime dir="${MACOSX_BUNDLED_JVM}"/>
|
||||||
|
-
|
||||||
|
- <arch name="x86_64"/>
|
||||||
|
- <arch name="i386"/>
|
||||||
|
-
|
||||||
|
- <classpath refid="runtime.jars"/>
|
||||||
|
-
|
||||||
|
- <option value="-Dapple.awt.application.name=Arduino"/>
|
||||||
|
- <option value="-Dapple.laf.useScreenMenuBar=true"/>
|
||||||
|
- <option value="-Dcom.apple.macos.use-file-dialog-packages=true"/>
|
||||||
|
- <option value="-Dcom.apple.smallTabs=true"/>
|
||||||
|
- <option value="-Dcom.apple.macos.useScreenMenuBar=true"/>
|
||||||
|
- <option value="-DAPP_DIR=$APP_ROOT/Contents/Java"/>
|
||||||
|
- <option value="-Djava.ext.dirs=$JVM_RUNTIME/Contents/Home/lib/ext/:$JVM_RUNTIME/Contents/Home/jre/lib/ext/"/>
|
||||||
|
-
|
||||||
|
- <!--
|
||||||
|
- <option value="-Dapple.awt.showGrowBox=false"/>
|
||||||
|
- <option value="-Dapple.awt.Antialiasing=false"/>
|
||||||
|
- <option value="-Dapple.awt.TextAntialiasing=true"/>
|
||||||
|
- <option value="-Dcom.apple.hwaccel=true"/>
|
||||||
|
- <option value="-Dapple.awt.graphics.UseQuartz=true"/>
|
||||||
|
- -->
|
||||||
|
-
|
||||||
|
- <!--<option value="-Dcom.apple.macos.useScreenMenuBar=true"/>-->
|
||||||
|
-
|
||||||
|
- <!-- Workaround since the icon parameter for bundleapp doesn't work -->
|
||||||
|
- <option value="-Xdock:name=Arduino"/>
|
||||||
|
- <option value="-Dcom.apple.mrj.application.apple.menu.about.name=Arduino"/>
|
||||||
|
- <option value="-Dfile.encoding=UTF-8"/>
|
||||||
|
-
|
||||||
|
- <option value="-Xms128M"/>
|
||||||
|
- <option value="-Xmx512M"/>
|
||||||
|
- <option value="-splash:$APP_ROOT/Contents/Java/lib/splash.png"/>
|
||||||
|
-
|
||||||
|
- <bundledocument extensions="ino,c,cpp,h"
|
||||||
|
- icon="macosx/pde.icns"
|
||||||
|
- name="Arduino Source File"
|
||||||
|
- role="Editor" ispackage="false">
|
||||||
|
- </bundledocument>
|
||||||
|
-
|
||||||
|
- </bundleapp>
|
||||||
|
-
|
||||||
|
- <mkdir dir="${staging_folder}/work/${staging_hardware_folder}" />
|
||||||
|
-
|
||||||
|
- <copy todir="${staging_folder}/work/${staging_hardware_folder}/../">
|
||||||
|
- <fileset dir="shared" includes="lib/**" />
|
||||||
|
- <fileset file="shared/revisions.txt" />
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <mkdir dir="${staging_folder}/work" />
|
||||||
|
- <mkdir dir="${staging_folder}/work/${staging_hardware_folder}" />
|
||||||
|
-
|
||||||
|
- <antcall target="macosx-build-avr-toolchain" />
|
||||||
|
-
|
||||||
|
- <antcall target="package-library-index-json-bundle"/>
|
||||||
|
-
|
||||||
|
- <antcall target="assemble">
|
||||||
|
- <param name="target.path" value="${staging_folder}/work/${staging_hardware_folder}/.." />
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <antcall target="unzip">
|
||||||
|
- <param name="archive_file" value="./libastylej-2.05.1-3.zip" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1-3.zip" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}" />
|
||||||
|
- </antcall>
|
||||||
|
- <copy file="macosx/libastylej-2.05.1/libastylej.jnilib" todir="macosx/work/${staging_hardware_folder}/../lib/" />
|
||||||
|
- <chmod perm="755" file="macosx/work/${staging_hardware_folder}/../lib/libastylej.jnilib" />
|
||||||
|
- <copy file="macosx/libastylej-2.05.1/libastylej.jnilib" tofile="macosx/work/${staging_hardware_folder}/../lib/libastylej.dylib" />
|
||||||
|
- <chmod perm="755" file="macosx/work/${staging_hardware_folder}/../lib/libastylej.dylib" />
|
||||||
|
-
|
||||||
|
- <antcall target="unzip">
|
||||||
|
- <param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}" />
|
||||||
|
- </antcall>
|
||||||
|
- <copy file="macosx/liblistSerials-${LIBLISTSERIAL-VERSION}/osx/liblistSerialsj.dylib" todir="macosx/work/${staging_hardware_folder}/../lib/" />
|
||||||
|
- <chmod perm="755" file="macosx/work/${staging_hardware_folder}/../lib/liblistSerialsj.dylib" />
|
||||||
|
-
|
||||||
|
- <delete dir="${staging_folder}/arduino-builder-macosx" includeemptydirs="true"/>
|
||||||
|
- <mkdir dir="${staging_folder}/arduino-builder-macosx"/>
|
||||||
|
- <antcall target="untar">
|
||||||
|
- <param name="archive_file" value="./arduino-builder-macosx-${ARDUINO-BUILDER-VERSION}.tar.bz2" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-macosx-${ARDUINO-BUILDER-VERSION}.tar.bz2" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/arduino-builder-macosx/arduino-builder" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}/arduino-builder-macosx" />
|
||||||
|
- </antcall>
|
||||||
|
- <copy file="${staging_folder}/arduino-builder-macosx/arduino-builder" tofile="macosx/work/${staging_hardware_folder}/../arduino-builder" />
|
||||||
|
- <chmod perm="755" file="macosx/work/${staging_hardware_folder}/../arduino-builder" />
|
||||||
|
- <move file="${staging_folder}/arduino-builder-macosx/tools" tofile="macosx/work/${staging_hardware_folder}/../tools-builder"/>
|
||||||
|
- <copy todir="macosx/work/${staging_hardware_folder}" overwrite="true">
|
||||||
|
- <fileset dir="${staging_folder}/arduino-builder-macosx/hardware" includes="*.txt"/>
|
||||||
|
- </copy>
|
||||||
|
- <delete dir="${staging_folder}/arduino-builder-macosx" includeemptydirs="true"/>
|
||||||
|
-
|
||||||
|
- <antcall target="portable-${portable}">
|
||||||
|
- <param name="parentdir" value="macosx/work/${staging_hardware_folder}/.." />
|
||||||
|
- </antcall>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <!-- Unzip AVR tools -->
|
||||||
|
- <target name="macosx-build-avr-toolchain" unless="light_bundle">
|
||||||
|
- <antcall target="avr-toolchain-bundle">
|
||||||
|
- <param name="unpack_target" value="untar"/>
|
||||||
|
- <param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-i386-apple-darwin11.tar.bz2"/>
|
||||||
|
- <param name="gcc_version" value="4.8.1-arduino5"/>
|
||||||
|
- <param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-r2-i386-apple-darwin11.tar.bz2"/>
|
||||||
|
- <param name="avrdude_version" value="6.0.1-arduino5"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <chmod perm="+x">
|
||||||
|
- <fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/*"/>
|
||||||
|
- <fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/libexec/gcc/avr/4.8.1/*"/>
|
||||||
|
- </chmod>
|
||||||
|
-
|
||||||
|
- <!-- macosx gatekeeper workaround. See https://github.com/arduino/Arduino/issues/3468 -->
|
||||||
|
- <chmod perm="-x">
|
||||||
|
- <fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/bin/avrdude_bin" />
|
||||||
|
- </chmod>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="macosx-run" depends="build,start"/>
|
||||||
|
-
|
||||||
|
- <target name="macosx-start">
|
||||||
|
- <exec executable="macosx/work/Arduino.app/Contents/MacOS/Arduino" spawn="false" failonerror="true"/>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <!-- - - - - - - - - - - - - - - - -->
|
||||||
|
- <!-- Sign application for MacOSX. -->
|
||||||
|
- <!-- - - - - - - - - - - - - - - - -->
|
||||||
|
- <target name="macosx-signed-dist" if="macosx" depends="macosx-singed-dist-check, dist"
|
||||||
|
- description="Create a downloadable and signed .zip for the Mac OS X version">
|
||||||
|
- <fail unless="version" message="Please set the property 'version' to correctly sign distribution file" />
|
||||||
|
-
|
||||||
|
- <!-- Remove everything from working folder -->
|
||||||
|
- <delete dir="macosx/work/Arduino.app" />
|
||||||
|
-
|
||||||
|
- <!-- Unzip unsigned app into working dir -->
|
||||||
|
- <exec executable="unzip" dir="macosx/work" failonerror="true">
|
||||||
|
- <arg line="../arduino-${version}-${platform}.zip" />
|
||||||
|
- </exec>
|
||||||
|
-
|
||||||
|
- <!-- Unlock keychain file -->
|
||||||
|
- <exec executable="security" dir="macosx/work" failonerror="true">
|
||||||
|
- <arg line="unlock-keychain -p "${macosx-sign-keychain-pass}" "${macosx-sign-keychain}"" />
|
||||||
|
- </exec>
|
||||||
|
-
|
||||||
|
- <!-- Sign app -->
|
||||||
|
- <exec executable="codesign" dir="macosx/work" failonerror="true">
|
||||||
|
- <arg line="--keychain "${macosx-sign-keychain}" --force -s "${macosx-sign-id}" --deep -v Arduino.app/" />
|
||||||
|
- </exec>
|
||||||
|
-
|
||||||
|
- <!-- Check for successful signing -->
|
||||||
|
- <exec executable="codesign" dir="macosx/work" failonerror="true">
|
||||||
|
- <arg line="-vvvv Arduino.app/" />
|
||||||
|
- </exec>
|
||||||
|
-
|
||||||
|
- <delete file="macosx/arduino-${version}-${platform}.zip" />
|
||||||
|
-
|
||||||
|
- <!-- Create signed zip file -->
|
||||||
|
- <exec executable="zip" dir="macosx/work" failonerror="true">
|
||||||
|
- <arg line="-q -r ../arduino-${full-version}-signed.zip ." />
|
||||||
|
- </exec>
|
||||||
|
-
|
||||||
|
- <echo>
|
||||||
|
- =======================================================
|
||||||
|
- Arduino for Mac OS X built and signed.
|
||||||
|
-
|
||||||
|
- macosx/arduino-${full-version}-signed.zip
|
||||||
|
- =======================================================
|
||||||
|
- </echo>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="macosx-singed-dist-check">
|
||||||
|
- <fail unless="macosx-sign-keychain" message="Please set the property 'macosx-sign-keychain' to the correct keychain file" />
|
||||||
|
- <fail unless="macosx-sign-keychain-pass" message="Please set the property 'macosx-sign-keychain-pass' with the password to unlock the keychain" />
|
||||||
|
- <fail unless="macosx-sign-id" message="Please set the property 'macosx-sign-id' to the correct cert identifier" />
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <!-- - - - - - - - - - - - - - - - - - - -->
|
||||||
|
- <!-- Build distribution file for MacOSX. -->
|
||||||
|
- <!-- - - - - - - - - - - - - - - - - - - -->
|
||||||
|
- <target name="macosx-dist" if="macosx" depends="build" description="Create a downloadable .zip for the Mac OS X version">
|
||||||
|
- <exec executable="zip" dir="macosx/work" failonerror="true">
|
||||||
|
- <arg line="-q -r ../arduino-${full-version}.zip ." />
|
||||||
|
- </exec>
|
||||||
|
-
|
||||||
|
- <echo>
|
||||||
|
- =======================================================
|
||||||
|
- Arduino for Mac OS X was built. Grab the image from
|
||||||
|
-
|
||||||
|
- macosx/arduino-${full-version}.zip
|
||||||
|
- =======================================================
|
||||||
|
- </echo>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <!-- - - - - - - - -->
|
||||||
|
<!-- Linux -->
|
||||||
|
<!-- - - - - - - - -->
|
||||||
|
|
||||||
|
@@ -710,14 +440,6 @@
|
||||||
|
</copy>
|
||||||
|
<delete dir="${staging_folder}/arduino-builder-arm" includeemptydirs="true"/>
|
||||||
|
|
||||||
|
- <antcall target="avr-toolchain-bundle">
|
||||||
|
- <param name="unpack_target" value="untar"/>
|
||||||
|
- <param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-armhf-pc-linux-gnu-glibc2.13.tar.bz2"/>
|
||||||
|
- <param name="gcc_version" value="4.8.1-arduino5"/>
|
||||||
|
- <param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-armhf-pc-linux-gnu-glibc2.13.tar.bz2"/>
|
||||||
|
- <param name="avrdude_version" value="6.0.1-arduino5"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
<antcall target="package-library-index-json-bundle"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
@@ -742,14 +464,6 @@
|
||||||
|
</copy>
|
||||||
|
<delete dir="${staging_folder}/arduino-builder-linux32" includeemptydirs="true"/>
|
||||||
|
|
||||||
|
- <antcall target="avr-toolchain-bundle">
|
||||||
|
- <param name="unpack_target" value="untar"/>
|
||||||
|
- <param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-i686-pc-linux-gnu.tar.bz2"/>
|
||||||
|
- <param name="gcc_version" value="4.8.1-arduino5"/>
|
||||||
|
- <param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-i686-pc-linux-gnu.tar.bz2"/>
|
||||||
|
- <param name="avrdude_version" value="6.0.1-arduino5"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
<antcall target="package-library-index-json-bundle"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
@@ -774,14 +488,6 @@
|
||||||
|
</copy>
|
||||||
|
<delete dir="${staging_folder}/arduino-builder-linux64" includeemptydirs="true"/>
|
||||||
|
|
||||||
|
- <antcall target="avr-toolchain-bundle">
|
||||||
|
- <param name="unpack_target" value="untar"/>
|
||||||
|
- <param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-x86_64-pc-linux-gnu.tar.bz2"/>
|
||||||
|
- <param name="gcc_version" value="4.8.1-arduino5"/>
|
||||||
|
- <param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-x86_64-pc-linux-gnu.tar.bz2"/>
|
||||||
|
- <param name="avrdude_version" value="6.0.1-arduino5"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
<antcall target="package-library-index-json-bundle"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
@@ -902,197 +608,6 @@
|
||||||
|
<target name="linuxarm-dist" depends="linux-dist"
|
||||||
|
description="Build .tar.xz of linux armhf version" />
|
||||||
|
|
||||||
|
- <!-- - - - - - - - -->
|
||||||
|
- <!-- Windows -->
|
||||||
|
- <!-- - - - - - - - -->
|
||||||
|
-
|
||||||
|
- <target name="windows-clean" depends="subprojects-clean"
|
||||||
|
- description="Clean windows version">
|
||||||
|
- <delete dir="windows/work" />
|
||||||
|
- <delete>
|
||||||
|
- <fileset dir="windows" includes="arduino-*windows*.zip"/>
|
||||||
|
- </delete>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="windows-checkos" unless="windows">
|
||||||
|
- <echo>
|
||||||
|
- =======================================================
|
||||||
|
- Arduino for Windows can only be built on windows.
|
||||||
|
-
|
||||||
|
- Bye.
|
||||||
|
- =======================================================
|
||||||
|
- </echo>
|
||||||
|
-
|
||||||
|
- <fail message="wrong platform (${os.name})" />
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="download-launch4j-windows">
|
||||||
|
- <antcall target="unzip-with-ant-task">
|
||||||
|
- <param name="archive_file" value="windows/launch4j-3.8-win32.zip"/>
|
||||||
|
- <param name="archive_url" value="http://downloads.sourceforge.net/project/launch4j/launch4j-3/3.8/launch4j-3.8-win32.zip"/>
|
||||||
|
- <param name="final_folder" value="windows/launcher/launch4j"/>
|
||||||
|
- <param name="dest_folder" value="windows/launcher/"/>
|
||||||
|
- </antcall>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="download-launch4j-linux">
|
||||||
|
- <antcall target="untar">
|
||||||
|
- <param name="archive_file" value="windows/launch4j-3.8-linux.tgz"/>
|
||||||
|
- <param name="archive_url" value="http://downloads.sourceforge.net/project/launch4j/launch4j-3/3.8/launch4j-3.8-linux.tgz"/>
|
||||||
|
- <param name="final_folder" value="windows/launcher/launch4j"/>
|
||||||
|
- <param name="dest_folder" value="windows/launcher/"/>
|
||||||
|
- </antcall>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="windows-build"
|
||||||
|
- depends="revision-check, windows-checkos, subprojects-build"
|
||||||
|
- description="Build windows version">
|
||||||
|
- <mkdir dir="windows/work" />
|
||||||
|
- <mkdir dir="windows/work/${staging_hardware_folder}" />
|
||||||
|
-
|
||||||
|
- <copy todir="windows/work/lib">
|
||||||
|
- <fileset dir="shared" includes="icons/**/*.png"/>
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <!-- assemble the pde -->
|
||||||
|
- <mkdir dir="windows/work/lib" />
|
||||||
|
- <copy todir="windows/work/lib" flatten="true">
|
||||||
|
- <fileset refid="runtime.jars" />
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <copy todir="windows/work">
|
||||||
|
- <fileset dir="shared" includes="lib/**" />
|
||||||
|
- <fileset file="shared/revisions.txt" />
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <fixcrlf file="windows/work/revisions.txt" eol="dos"/>
|
||||||
|
- <fixcrlf file="windows/work/lib/formatter.conf" eol="dos"/>
|
||||||
|
-
|
||||||
|
- <copy todir="windows/work">
|
||||||
|
- <fileset dir="windows/dist" includes="*.dll" />
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <copy todir="windows/work">
|
||||||
|
- <fileset dir="windows/dist" includes="drivers/**" />
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <antcall target="windows-build-avr-toolchain" />
|
||||||
|
-
|
||||||
|
- <antcall target="unzip">
|
||||||
|
- <param name="archive_file" value="./libastylej-2.05.1-3.zip" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.1-3.zip" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/libastylej-2.05.1" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}" />
|
||||||
|
- </antcall>
|
||||||
|
- <copy file="windows/libastylej-2.05.1/AStylej.dll" todir="windows/work/lib" />
|
||||||
|
- <copy file="windows/msvcp100.dll" todir="windows/work" />
|
||||||
|
- <copy file="windows/msvcr100.dll" todir="windows/work" />
|
||||||
|
-
|
||||||
|
- <antcall target="unzip">
|
||||||
|
- <param name="archive_file" value="./liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/liblistSerials/liblistSerials-${LIBLISTSERIAL-VERSION}.zip" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/liblistSerials-${LIBLISTSERIAL-VERSION}" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}" />
|
||||||
|
- </antcall>
|
||||||
|
- <copy file="windows/liblistSerials-${LIBLISTSERIAL-VERSION}/windows/listSerialsj.dll" todir="windows/work/lib/" />
|
||||||
|
- <chmod perm="755" file="windows/work/lib/listSerialsj.dll" />
|
||||||
|
-
|
||||||
|
- <delete dir="${staging_folder}/arduino-builder-windows" includeemptydirs="true"/>
|
||||||
|
- <mkdir dir="${staging_folder}/arduino-builder-windows"/>
|
||||||
|
- <antcall target="unzip-with-ant-task">
|
||||||
|
- <param name="archive_file" value="./arduino-builder-windows-${ARDUINO-BUILDER-VERSION}.zip" />
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/tools/arduino-builder-windows-${ARDUINO-BUILDER-VERSION}.zip" />
|
||||||
|
- <param name="final_folder" value="${staging_folder}/arduino-builder-windows/arduino-builder.exe" />
|
||||||
|
- <param name="dest_folder" value="${staging_folder}/arduino-builder-windows" />
|
||||||
|
- </antcall>
|
||||||
|
- <copy file="${staging_folder}/arduino-builder-windows/arduino-builder.exe" tofile="windows/work/arduino-builder.exe" />
|
||||||
|
- <chmod perm="755" file="windows/work/arduino-builder.exe" />
|
||||||
|
- <move file="${staging_folder}/arduino-builder-windows/tools" tofile="windows/work/tools-builder"/>
|
||||||
|
- <chmod perm="755" file="windows/work/tools-builder/ctags/5.8-arduino10/ctags.exe" />
|
||||||
|
- <copy todir="windows/work/hardware" overwrite="true">
|
||||||
|
- <fileset dir="${staging_folder}/arduino-builder-windows/hardware" includes="*.txt"/>
|
||||||
|
- </copy>
|
||||||
|
- <delete dir="${staging_folder}/arduino-builder-windows" includeemptydirs="true"/>
|
||||||
|
-
|
||||||
|
- <antcall target="assemble">
|
||||||
|
- <param name="target.path" value="windows/work" />
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <delete dir="windows/launcher/launch4j"/>
|
||||||
|
- <antcall target="download-${launch4j-download-unpack-target-name}" />
|
||||||
|
-
|
||||||
|
- <property name="launch4j.dir" value="windows/launcher/launch4j/" />
|
||||||
|
- <taskdef name="launch4j"
|
||||||
|
- classname="net.sf.launch4j.ant.Launch4jTask"
|
||||||
|
- classpath="${launch4j.dir}/launch4j.jar; ${launch4j.dir}/lib/xstream.jar" />
|
||||||
|
-
|
||||||
|
- <copy todir="windows/work">
|
||||||
|
- <fileset dir="windows/launcher"
|
||||||
|
- includes="application.ico, config.xml, config_debug.xml, arduino.l4j.ini"/>
|
||||||
|
- </copy>
|
||||||
|
- <launch4j configFile="windows/work/config.xml" fileVersion="${revision}.0" txtFileVersion="${revision}" productVersion="${revision}.0" txtProductVersion="${revision}"/>
|
||||||
|
- <launch4j configFile="windows/work/config_debug.xml" fileVersion="${revision}.0" txtFileVersion="${revision}" productVersion="${revision}.0" txtProductVersion="${revision}"/>
|
||||||
|
- <delete dir="windows/work" includes="application.ico, config.xml, config_debug.xml" />
|
||||||
|
- <copy file="windows/work/arduino.l4j.ini" tofile="windows/work/arduino_debug.l4j.ini" />
|
||||||
|
-
|
||||||
|
- <!-- cygwin requires html, dll, and exe to have the +x flag -->
|
||||||
|
- <chmod perm="755">
|
||||||
|
- <fileset dir="windows/work" includes="**/*.html, **/*.dll, **/*.exe" />
|
||||||
|
- </chmod>
|
||||||
|
-
|
||||||
|
- <!-- For JVM within JDK, release file is in parent directory -->
|
||||||
|
- <property file="${WINDOWS_BUNDLED_JVM}/release" prefix="windows"/>
|
||||||
|
- <property file="${WINDOWS_BUNDLED_JVM}/../release" prefix="windows"/>
|
||||||
|
-
|
||||||
|
- <fail message="It looks like ${WINDOWS_BUNDLED_JVM} does not contain a Windows JVM">
|
||||||
|
- <condition>
|
||||||
|
- <not>
|
||||||
|
- <equals arg1="${windows.OS_NAME}" arg2=""Windows""/>
|
||||||
|
- </not>
|
||||||
|
- </condition>
|
||||||
|
- </fail>
|
||||||
|
-
|
||||||
|
- <copy todir="${staging_folder}/work/java" includeemptydirs="true" preservelastmodified="true" overwrite="true" failonerror="true">
|
||||||
|
- <fileset dir="${WINDOWS_BUNDLED_JVM}" includes="*/**"/>
|
||||||
|
- </copy>
|
||||||
|
-
|
||||||
|
- <antcall target="portable-${portable}">
|
||||||
|
- <param name="parentdir" value="${staging_folder}/work" />
|
||||||
|
- </antcall>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="windows-build-avr-toolchain">
|
||||||
|
- <antcall target="avr-toolchain-bundle">
|
||||||
|
- <param name="unpack_target" value="unzip"/>
|
||||||
|
- <param name="gcc_archive_file" value="avr-gcc-4.8.1-arduino5-i686-mingw32.zip"/>
|
||||||
|
- <param name="gcc_version" value="4.8.1-arduino5"/>
|
||||||
|
- <param name="avrdude_archive_file" value="avrdude-6.0.1-arduino5-i686-mingw32.zip"/>
|
||||||
|
- <param name="avrdude_version" value="6.0.1-arduino5"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <antcall target="package-library-index-json-bundle"/>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="windows-run" depends="build,start"/>
|
||||||
|
-
|
||||||
|
- <target name="windows-start">
|
||||||
|
- <exec executable="windows/work/arduino.exe" dir="windows/work" spawn="false" failonerror="true"/>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="windows-dist" depends="build" description="Create .zip files of windows version">
|
||||||
|
- <zip destfile="windows/arduino-${full-version}.zip" level="9">
|
||||||
|
- <zipfileset dir="windows/work" prefix="arduino-${version}"/>
|
||||||
|
- </zip>
|
||||||
|
-
|
||||||
|
- <echo>
|
||||||
|
- =======================================================
|
||||||
|
- Arduino for Windows was built. Grab the archive from
|
||||||
|
-
|
||||||
|
- windows/arduino-${full-version}.zip
|
||||||
|
- =======================================================
|
||||||
|
- </echo>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
|
||||||
|
<!-- - - - - - - - -->
|
||||||
|
<!-- Source -->
|
||||||
|
@@ -1109,8 +624,6 @@
|
||||||
|
prefix="arduino-${version}"
|
||||||
|
excludes="**/*.tgz,
|
||||||
|
**/*.bz2,
|
||||||
|
- **/build/macosx/,
|
||||||
|
- **/build/windows/,
|
||||||
|
**/work/,
|
||||||
|
**/.git/,
|
||||||
|
**/*.class"
|
||||||
|
@@ -1132,35 +645,7 @@
|
||||||
|
<!-- - - - - - - - -->
|
||||||
|
|
||||||
|
<target name="clean" description="Perform a spring cleaning"
|
||||||
|
- depends="linux-clean, windows-clean, macosx-clean, subprojects-clean">
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
- <target name="avr-toolchain-bundle" unless="light_bundle">
|
||||||
|
- <!-- Unzip AVR tools -->
|
||||||
|
- <mkdir dir="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc"/>
|
||||||
|
-
|
||||||
|
- <antcall target="${unpack_target}">
|
||||||
|
- <param name="archive_file" value="${staging_folder}/${gcc_archive_file}"/>
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/tools/${gcc_archive_file}"/>
|
||||||
|
- <param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/${gcc_version}/"/>
|
||||||
|
- <param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <mkdir dir="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude"/>
|
||||||
|
-
|
||||||
|
- <antcall target="${unpack_target}">
|
||||||
|
- <param name="archive_file" value="${staging_folder}/${avrdude_archive_file}"/>
|
||||||
|
- <param name="archive_url" value="http://downloads.arduino.cc/tools/${avrdude_archive_file}"/>
|
||||||
|
- <param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/${avrdude_version}"/>
|
||||||
|
- <param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/"/>
|
||||||
|
- </antcall>
|
||||||
|
-
|
||||||
|
- <move file="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/avr" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/avr"/>
|
||||||
|
- <move file="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/avrdude-6.0.1" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/avr"/>
|
||||||
|
- <antcall target="macosx-fix-bundled-toolchain-missing-symlinks"/>
|
||||||
|
-
|
||||||
|
- <echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.avrdude=${avrdude_version}${line.separator}"/>
|
||||||
|
- <echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.avr-gcc=${gcc_version}${line.separator}"/>
|
||||||
|
+ depends="linux-clean, subprojects-clean">
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="package-library-index-json-bundle">
|
||||||
|
@@ -1187,17 +672,6 @@
|
||||||
|
<delete dir="${staging_folder}/work/${staging_hardware_folder}/tmp"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
- <target name="macosx-fix-bundled-toolchain-missing-symlinks" if="macosx">
|
||||||
|
- <exec executable="mv" failonerror="true">
|
||||||
|
- <arg value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/avrdude-6.0.1/lib/libusb.dylib"/>
|
||||||
|
- <arg value="${staging_folder}/work/${staging_hardware_folder}/tools/avr/lib/"/>
|
||||||
|
- </exec>
|
||||||
|
- <exec executable="mv" failonerror="true">
|
||||||
|
- <arg value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/avrdude-6.0.1/lib/libusb-1.0.dylib"/>
|
||||||
|
- <arg value="${staging_folder}/work/${staging_hardware_folder}/tools/avr/lib/"/>
|
||||||
|
- </exec>
|
||||||
|
- </target>
|
||||||
|
-
|
||||||
|
<target name="generate-hourly-build-txt" if="hourly">
|
||||||
|
<echo file="${staging_folder}/work/${staging_hardware_folder}/../lib/hourlyBuild.txt">${BUILD_DATE}</echo>
|
||||||
|
</target>
|
24
dev-embedded/arduino/files/arduino-1.6.9-platform.patch
Normal file
24
dev-embedded/arduino/files/arduino-1.6.9-platform.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -ur arduino-1.6.9.orig/hardware/arduino/avr/platform.txt arduino-1.6.9/hardware/arduino/avr/platform.txt
|
||||||
|
--- arduino-1.6.9.orig/hardware/arduino/avr/platform.txt 2016-05-10 10:36:07.000000000 +0200
|
||||||
|
+++ arduino-1.6.9/hardware/arduino/avr/platform.txt 2016-07-06 17:11:45.587888237 +0200
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
compiler.warning_flags.all=-Wall -Wextra
|
||||||
|
|
||||||
|
# Default "compiler.path" is correct, change only if you want to override the initial value
|
||||||
|
-compiler.path={runtime.tools.avr-gcc.path}/bin/
|
||||||
|
+compiler.path=/usr/bin/
|
||||||
|
compiler.c.cmd=avr-gcc
|
||||||
|
compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD
|
||||||
|
compiler.c.elf.flags={compiler.warning_flags} -Os -Wl,--gc-sections
|
||||||
|
@@ -91,9 +91,9 @@
|
||||||
|
# AVR Uploader/Programmers tools
|
||||||
|
# ------------------------------
|
||||||
|
|
||||||
|
-tools.avrdude.path={runtime.tools.avrdude.path}
|
||||||
|
+tools.avrdude.path=/usr
|
||||||
|
tools.avrdude.cmd.path={path}/bin/avrdude
|
||||||
|
-tools.avrdude.config.path={path}/etc/avrdude.conf
|
||||||
|
+tools.avrdude.config.path=/etc/avrdude.conf
|
||||||
|
|
||||||
|
tools.avrdude.upload.params.verbose=-v
|
||||||
|
tools.avrdude.upload.params.quiet=-q -q
|
17
dev-embedded/arduino/files/arduino-1.6.9-script.patch
Normal file
17
dev-embedded/arduino/files/arduino-1.6.9-script.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff -uNr a/build/linux/dist/arduino b/build/linux/dist/arduino
|
||||||
|
--- a/build/linux/dist/arduino 2015-11-07 16:21:27.391410539 +0100
|
||||||
|
+++ b/build/linux/dist/arduino 2015-11-07 16:22:19.534411671 +0100
|
||||||
|
@@ -8,11 +8,11 @@
|
||||||
|
"$APPDIR"/lib/*.jar \
|
||||||
|
;
|
||||||
|
do
|
||||||
|
- CLASSPATH="${CLASSPATH}:${LIB}"
|
||||||
|
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
|
||||||
|
done
|
||||||
|
export CLASSPATH
|
||||||
|
|
||||||
|
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||||
|
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
|
||||||
|
export LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
export PATH="${APPDIR}/java/bin:${PATH}"
|
11
dev-embedded/arduino/files/arduino.desktop
Normal file
11
dev-embedded/arduino/files/arduino.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=Arduino
|
||||||
|
GenericName=Arduino IDE
|
||||||
|
Comment=Open-source electronics prototyping platform
|
||||||
|
Exec=arduino
|
||||||
|
Icon=arduino
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Development;IDE;Java
|
||||||
|
StartupNotify=false
|
16
dev-embedded/arduino/files/platform-1.6.9/platform.txt
Normal file
16
dev-embedded/arduino/files/platform-1.6.9/platform.txt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# ctags
|
||||||
|
# ------------------------------
|
||||||
|
tools.ctags.path=/usr/bin
|
||||||
|
tools.ctags.cmd.path={path}/ctags
|
||||||
|
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
|
||||||
|
|
||||||
|
# additional entries
|
||||||
|
tools.avrdude.path=/usr/bin
|
||||||
|
|
||||||
|
preproc.includes.flags=-w -x c++ -M -MG -MP
|
||||||
|
#preproc.includes.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
|
||||||
|
#recipe.preproc.includes="{compiler.path}{compiler.cpp.cmd}" {preproc.includes.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.includes.compatibility_flags} {includes} "{source_file}"
|
||||||
|
|
||||||
|
preproc.macros.flags=-w -x c++ -E -CC
|
||||||
|
#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
|
||||||
|
#recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} {preproc.macros.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.macros.compatibility_flags} {includes} "{source_file}" -o "{preprocessed_file_path}"
|
3
dev-embedded/listserialportsc/Manifest
Normal file
3
dev-embedded/listserialportsc/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DIST 1.0.7.tar.gz 2577 SHA256 8b1ce11c21e42f0d6db5dee31fa23d5180b77cc8fd9aea359657a17cccf91eab SHA512 8a398ec1ea9ae41181415198d13a546e00fe157c49a04f32547df1bed67de1df0d6abc966b8ff88d9b60a0ba65b0dce483e2dbcdc81e08b05318de9fe7059f95 WHIRLPOOL 88b41ed32b6f56b5c183798dfa04b613ba27ce459df6567734112b73223417019415c4cce6e6e045c671b2e2e07d9186b808a99efbf95ba7a8e24707bc509362
|
||||||
|
EBUILD listserialportsc-1.0.7.ebuild 1139 SHA256 f8f5f7a40d0e19f7e2a554631b86f897b15aca64b59abdb44bc703bb43b2b5eb SHA512 3352dae38db5b9447c66fbaf17734b127df269c0894cfd22873b39869bc225538efeb6233c2d655b06e5d1644ca9c108350e3652827c695b7a68bab398dc3571 WHIRLPOOL 4e4e50a7b6578824845eac864634d1ccd87e82e682b44c8b60c7fdfa8c0798931d8b7b8a9d9fc369bab12d3a923eb5bf96f0cd0a57aa02a7a63763809589f0c0
|
||||||
|
MISC metadata.xml 208 SHA256 91ad1c1aa6da2120f2a36c6b31826659af1eb7ebc30b62bb537795296c80ad68 SHA512 b53b2af56213a10dea345cecbacd72494d9a84e794274b2739837893a2fdec5ff71d66d8000375c440762734fff7f83a415ff6c44aa759b5bda7be21e983b79e WHIRLPOOL 32934c3a294d9bbbcadec4b77a0968f9f9cad6df554a58cd85d916d05d5a80311d1bbe3945b81662982fb9a7dccf64b8f0170c35bc716e1bb4d0219b8b0d16ed
|
48
dev-embedded/listserialportsc/listserialportsc-1.0.7.ebuild
Normal file
48
dev-embedded/listserialportsc/listserialportsc-1.0.7.ebuild
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils java-pkg-2 toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="List serial ports with vid/pid/iserial fields"
|
||||||
|
HOMEPAGE="https://github.com/arduino/listSerialPortsC"
|
||||||
|
SRC_URI="https://github.com/arduino/listSerialPortsC/archive/${PV}.tar.gz"
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
DEPEND=">=dev-libs/libserialport-0.1.1"
|
||||||
|
|
||||||
|
S="${WORKDIR}/listSerialPortsC-${PV}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Unbundle
|
||||||
|
rm -rf libserialport win32_jni
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
CC=$(tc-getCC)
|
||||||
|
${CC} -Wall -O2 ${CPPFLAGS} ${CFLAGS} -c -o main.o main.c
|
||||||
|
${CC} ${CFLAGS} ${LDFLAGS} main.o -lserialport -o listSerialC
|
||||||
|
|
||||||
|
${CC} \
|
||||||
|
-Wall -O2 ${CPPFLAGS} ${CFLAGS} -fPIC \
|
||||||
|
-I$(java-config-2 -o)/include \
|
||||||
|
-I$(java-config-2 -o)/include/linux \
|
||||||
|
-o jnilib.o -c jnilib.c
|
||||||
|
|
||||||
|
${CC} \
|
||||||
|
${CFLAGS} ${LDFLAGS} \
|
||||||
|
-shared -Wl,-soname,liblistSerialsj.so \
|
||||||
|
jnilib.o -lserialport -o liblistSerialsj.so.${PV}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin listSerialC
|
||||||
|
dolib liblistSerialsj.so.${PV}
|
||||||
|
dosym liblistSerialsj.so.${PV} /usr/$(get_libdir)/liblistSerialsj.so
|
||||||
|
}
|
@ -2,7 +2,6 @@
|
|||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer>
|
<maintainer>
|
||||||
<email>floppym@gentoo.org</email>
|
<email>junk4me46806@yahoo.com</email>
|
||||||
<name>Mike Gilbert</name>
|
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
|||||||
AUX 51-kinect.rules 673 SHA256 e1210a8b60c90966c339ecc9183ad06a81d9b8918a851a087f2d8714c1a7e3bf SHA512 187fa7142c43c3c63e1cf313361ef428d7633d5facf1d7ce6c0199b4bbc1f323504b3e8aa82dca5b2bca6396b21bc24710fa0346ea04862499c750c1161ee02e WHIRLPOOL 5d8f1dc3d3cfe4810f33ad5bf4ca41768404812859e52dc8355f4ddaece7703e78677b98ce9b0e31e36007cc31fe7c0c961676f6a1c0e22720b05abf4e3edcc0
|
AUX 51-kinect.rules 673 SHA256 e1210a8b60c90966c339ecc9183ad06a81d9b8918a851a087f2d8714c1a7e3bf SHA512 187fa7142c43c3c63e1cf313361ef428d7633d5facf1d7ce6c0199b4bbc1f323504b3e8aa82dca5b2bca6396b21bc24710fa0346ea04862499c750c1161ee02e WHIRLPOOL 5d8f1dc3d3cfe4810f33ad5bf4ca41768404812859e52dc8355f4ddaece7703e78677b98ce9b0e31e36007cc31fe7c0c961676f6a1c0e22720b05abf4e3edcc0
|
||||||
EBUILD libfreenect-9999.ebuild 2077 SHA256 b357f9de14737d399ccb0bea494a88a45514c1b2c164121f3a00d8317c813b70 SHA512 a6912567675608880102b22a8537ff069ecfdc7de888cdeff5a55844d390d686cac19d73ee402ebd49400de5cee303191b1b0c04526bd45d45a5bab80c155f4f WHIRLPOOL d1bdff77e5d02d2761efd4d25c015e87cae0165d4ce6a374124157ae380c57c156699674860fb817f1650714c7e0038a91969a4e32340d6defb102ffef8a17a0
|
AUX libfreenect-9999-python_executable.patch 453 SHA256 134ae197d25012eb815afc28286de52df34e7e17e4d3b60ad3285e38151f0812 SHA512 9c33fb9f61e8886029a96c89163581482ec958b529378f325a0b18562d447a473c7bc2867441c5d2dca2243fd09a85c2cbacad2397ab8ca7506b163f34f351f7 WHIRLPOOL bc529deee7a779cf19ac36140719fba0f61736f48ae10eb1e50bb72cc7264de49a03a63b222c115bad28b11fd88e5ba27639da3c76b3bdf9f3b50148acfb36c9
|
||||||
|
EBUILD libfreenect-9999.ebuild 2173 SHA256 6ab729f1ba1a1e72d9648d455f94f523740a3464726548fa6b00057485ba0ef5 SHA512 9f59638cc16d08668fceea946f03f8afe1f9c55b8013ebc98c1f961abecdd887136ef3216dcd16062ba36c12580d44e5a730406aad738ee5424d6b48ae7bc11d WHIRLPOOL 586173e3b09a287a65c869af69b9ba73d5b74924ae2347081f9fe2fe276eef7a6ad2d74bda81b90506ee7133fccfec8249333f42c4f610d23d44c74424a2e0c8
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
--- libfreenect-9999.orig/CMakeLists.txt 2016-02-19 08:02:12.348609254 +0100
|
||||||
|
+++ libfreenect-9999/CMakeLists.txt 2016-02-19 08:03:52.328902875 +0100
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
######################################################################################
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
+set(PYTHON_EXECUTABLE "python3")
|
||||||
|
|
||||||
|
######################################################################################
|
||||||
|
# Project declaration and options
|
@ -34,6 +34,11 @@ DEPEND="${COMMON_DEP}
|
|||||||
python? ( dev-python/cython )"
|
python? ( dev-python/cython )"
|
||||||
|
|
||||||
|
|
||||||
|
#src_prepare() {
|
||||||
|
# epatch "${FILESDIR}/${P}-python_executable.patch"
|
||||||
|
# cmake-utils_src_prepare
|
||||||
|
#}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
$(cmake-utils_use_build bindist REDIST_PACKAGE)
|
$(cmake-utils_use_build bindist REDIST_PACKAGE)
|
||||||
@ -43,7 +48,7 @@ src_configure() {
|
|||||||
$(cmake-utils_use_build fakenect FAKENECT)
|
$(cmake-utils_use_build fakenect FAKENECT)
|
||||||
$(cmake-utils_use_build opencv CV)
|
$(cmake-utils_use_build opencv CV)
|
||||||
$(cmake-utils_use_build openni2 OPENNI2_DRIVER)
|
$(cmake-utils_use_build openni2 OPENNI2_DRIVER)
|
||||||
$(cmake-utils_use_build python PYTHON)
|
$(cmake-utils_use_build python PYTHON2)
|
||||||
-DPYTHON_EXECUTABLE=/usr/bin/python2
|
-DPYTHON_EXECUTABLE=/usr/bin/python2
|
||||||
)
|
)
|
||||||
cmake-utils_src_configure
|
cmake-utils_src_configure
|
||||||
@ -51,7 +56,7 @@ src_configure() {
|
|||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
cmake-utils_src_install
|
cmake-utils_src_install
|
||||||
|
|
||||||
# udev rules
|
# udev rules
|
||||||
insinto /lib/udev/rules.d/
|
insinto /lib/udev/rules.d/
|
||||||
doins "${FILESDIR}"/51-kinect.rules
|
doins "${FILESDIR}"/51-kinect.rules
|
||||||
|
3
dev-libs/libserialport/Manifest
Normal file
3
dev-libs/libserialport/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DIST libserialport-0.1.1.tar.gz 405251 SHA256 4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d SHA512 7d379d1099173841e6d4df04c8c12dc6a4ebdfa0323ef35da6f3dea20db55d4f6ad81c1f6679f5aac7fe83270176428a817daa8627c336505335a07e06350a85 WHIRLPOOL 1dd4db30de12edf9c604fa3e70b0d643f940acf75d029e0ce92727e83b566cba1fca062e25ca379398b8351391e4b99b6942d35829883ba1faea2372c5be98ad
|
||||||
|
EBUILD libserialport-0.1.1.ebuild 704 SHA256 6094a0a7ee314b82cd3ea045dd366c4c2fc8afe7f230e2400591ee70656d5a17 SHA512 26b2ca273355733d64eb6a23bdb754d3432fb37160b57674054bcfbf00970f17942d6a3adfae1dcd34b194c77af4420fabbd9909eb9c6bf6af87cc995b01f88c WHIRLPOOL cb74d6d21d8b4e32ca95b67c8126b38f8efb5807899cc17fa733068d045dfdc3c131182aaac38b7b31a7119ba727c103e831b71ab4feb83e969b252f46fbd6dd
|
||||||
|
MISC metadata.xml 247 SHA256 751aa1f012df292bed9716a5c6a7e64114b695d2ba0c0572fc7e87fc3bbcebc5 SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e WHIRLPOOL b6c074cf39f6ec1e2d085151836db47f9a4d71bcc9cc3296889bfa10172c7f07837ca79c8613f9c483b1332683e78eebe88e0a433a7caf801fc7ccac2552cd53
|
40
dev-libs/libserialport/libserialport-0.1.1.ebuild
Normal file
40
dev-libs/libserialport/libserialport-0.1.1.ebuild
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="git://sigrok.org/${PN}"
|
||||||
|
inherit git-r3 autotools
|
||||||
|
else
|
||||||
|
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Cross platform serial port access library"
|
||||||
|
HOMEPAGE="http://sigrok.org/wiki/Libserialport"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="static-libs"
|
||||||
|
|
||||||
|
RDEPEND=""
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${PV} == "9999" ]] && eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
}
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer>
|
<maintainer type="project">
|
||||||
<email>gentoo@tk-webart.de</email>
|
<email>embedded@gentoo.org</email>
|
||||||
<name>Torsten Kurbad</name>
|
<name>Embedded Gentoo</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
8
dev-util/ctags/Manifest
Normal file
8
dev-util/ctags/Manifest
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
AUX ctags-5.6-ebuilds.patch 822 SHA256 86930711593e7a2a88043bc9a8d5863c2b62514b256d3e9a81f7929951f17e07 SHA512 25a9738d758f9039dd75a17c1c8259e18c4fab2ad6230db91304f93604386ec450207b6c4b3d582eec98c66380e004c9a050ca69f1636b25e02e04c1f67994df WHIRLPOOL 93eb6ba8ec917d967f549438dcf3b6cd80d00b36d0bd058139f38d9792674d43edbdac03d7e9ce8594a54ed1f87ad1fe986e8e1c46190c13bddffceab39e7dba
|
||||||
|
AUX ctags-5.8-ada.patch 613 SHA256 e6122236e929509248661569967f4a0168d30214ed0ea814926583f9c087846a SHA512 730ff695fefd9593eae452d51fb236df810bd013843f3a907440eb3f6512d2e5a2e645a449c607d0c73f9e8f3f978c489e2b9464f8970ae3854002518eff7ab1 WHIRLPOOL e9fb4db31a9817191e01952de0aac7dcaca089ba9fc623965647805b442a961ee729615cda556f74bc80a20af46dfb62d0e4032951168a7b227b2fece49fa626
|
||||||
|
AUX ctags-5.8-f95-pointers.patch 471 SHA256 93434a7e0df23da4c98b4425e8971152125674bf135c1a87f7ee1024ce3034d7 SHA512 ea51864f3428da88a2abac9937757483bc0bcda8c00d075673256c93c15cf35372c04597b07b319236a76df1b1923bfcd56fe23093c6cd2386a7c966c6f28c33 WHIRLPOOL c778aa70b9160fa6abf1c15ae3870551ed22f88efe1c8b32a1f8b0a8fab18cef88ed1c33a11c9c634854f3401af8736fd4b155cf402b05e5503917844fee792e
|
||||||
|
AUX ctags-5.8-python-vars-starting-with-def.patch 435 SHA256 a388bafd70e538f187d5c6540c586da36e5a91e4ff3bc93a5f2caf75b13282c3 SHA512 0eed31a85cc347e62183809f93be1f2a0eed5b6a5e4c040c3a67448e38764a34483310bf370008d62308985640c4441993a176c60a871fc3cb07728aa901750b WHIRLPOOL 4b8544dd05fb3d798c73bc425bda584998a85ec2b0dae87bb7437448941c3ad3d00ff9e26bceaebef58a507da17f25f2b1675cfd66feea0144e11e2c47ad7bdb
|
||||||
|
DIST ctags-5.8_p20160314.tar.gz 490210 SHA256 91a551690294140f3f71c1718531397d7ac3dc061a49cf8c2a3a91173cedf3dc SHA512 2005cd0882d3bdf19d91ccf51fe5600893674319af3b93b2b815022818961704dc9bb539afa116a164778a3a8abb6e2b211ce6529d0d11ba68f33974f71eb279 WHIRLPOOL 357cc525cf9abac4e96f1241f47ae845284dc19a17dbaca93e5ffabd69e97faf731ffcf53a00636598241ff8eb476c86ea5a4df9e7083d1e09cc7e649ecaaf41
|
||||||
|
DIST ctags-ada-mode-4.3.11.tar.bz2 14060 SHA256 d25a3fd26b356adbd068f10a0b68691d36c154c04b96304b96386e169e4b6b57 SHA512 51c71e13ef658cd6682f04c94485315c4a702080ef2c7786fc9881b03c86f1c1d43aa1a69c452e4b0b2f7a78383804b66b159542cb4eae0cd309bc1ddbe2eb6e WHIRLPOOL 7e0ded8c97d3651e1afe48ec836697a4a19264baf3b203f6e98c134b88e3ab0eee7ac660789f5b955f0f827128996988694aa6c4bc78f18adf52724c5230da5d
|
||||||
|
EBUILD ctags-5.8_p20160314.ebuild 1786 SHA256 3d2f92126286029b3146ba49b257eec8d0111e82bee1dea6a8b46c30c1aa8c05 SHA512 8ae1d1321433e74b65c0b539432fe02b6f11f1496eb7d0a85232e4af38c559663a523e161c002cff7700e09146413b7e72b0688833a722ab0378dee2bb5afaf1 WHIRLPOOL 602e7416c6c4fba339c6cfecd9d6d34da7753ddbc0ebcc146497b38408af8924e05917d7802837e0978aa3eef26472d77583f7ccca30f2368769555aa594a320
|
||||||
|
MISC metadata.xml 462 SHA256 76922d8f5d78982ef005c79d4a6eba28bca6dc6c4ec28c673c4bd92b06a924f0 SHA512 df77349a472c81e5c74184cc7a255bae6165defdae90482169253b3976facf64e27818643e51c0b3b91329610b0069d3e346d27a167b27914c958621948cc657 WHIRLPOOL 2d113b87319c674c5c152fb576d92294426401771e789901adbc366fb578ad5ab1eed7eb7c48e31cb0417bb72368caf7e15f15f70d03f67c86c49d8301cd536a
|
65
dev-util/ctags/ctags-5.8_p20160314.ebuild
Normal file
65
dev-util/ctags/ctags-5.8_p20160314.ebuild
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
|
||||||
|
inherit eutils autotools vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
|
||||||
|
HOMEPAGE="http://ctags.sourceforge.net"
|
||||||
|
# this commit is from the sourceforge branch, which is a git-svn clone of the
|
||||||
|
# original exhuberant-ctags SVN repository
|
||||||
|
SRC_URI="https://github.com/arduino/ctags/archive/5dbd71201f79e976a728802ca8638b14db0728dc.tar.gz -> ${P}.tar.gz
|
||||||
|
ada? ( mirror://sourceforge/gnuada/ctags-ada-mode-4.3.11.tar.bz2 )"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||||
|
IUSE="ada"
|
||||||
|
|
||||||
|
RDEPEND="app-eselect/eselect-ctags"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}/${PN}-5.6-ebuilds.patch"
|
||||||
|
|
||||||
|
# Bug #273697
|
||||||
|
epatch "${FILESDIR}/${PN}-5.8-f95-pointers.patch"
|
||||||
|
|
||||||
|
# enabling Ada support
|
||||||
|
if use ada ; then
|
||||||
|
cp "${WORKDIR}/${PN}-ada-mode-4.3.11/ada.c" "${S}" || die
|
||||||
|
epatch "${FILESDIR}/${PN}-5.8-ada.patch"
|
||||||
|
fi
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--with-posix-regex \
|
||||||
|
--without-readlib \
|
||||||
|
--disable-etags \
|
||||||
|
--enable-tmpdir=/tmp
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake prefix="${D}"/usr mandir="${D}"/usr/share/man install
|
||||||
|
|
||||||
|
# namepace collision with X/Emacs-provided /usr/bin/ctags -- we
|
||||||
|
# rename ctags to exuberant-ctags (Mandrake does this also).
|
||||||
|
mv "${D}"/usr/bin/{ctags,exuberant-ctags} || die
|
||||||
|
mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 || die
|
||||||
|
|
||||||
|
dodoc FAQ NEWS README EXTENDING.html
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect ctags update
|
||||||
|
elog "You can set the version to be started by /usr/bin/ctags through"
|
||||||
|
elog "the ctags eselect module. \"man ctags.eselect\" for details."
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
eselect ctags update
|
||||||
|
}
|
22
dev-util/ctags/files/ctags-5.6-ebuilds.patch
Normal file
22
dev-util/ctags/files/ctags-5.6-ebuilds.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff -ur ctags-5.6/sh.c ctags-5.6-ebuild/sh.c
|
||||||
|
--- ctags-5.6/sh.c 2006-05-30 00:37:13.000000000 -0400
|
||||||
|
+++ ctags-5.6-ebuild/sh.c 2006-10-07 17:37:31.000000000 -0400
|
||||||
|
@@ -7,7 +7,8 @@
|
||||||
|
* GNU General Public License.
|
||||||
|
*
|
||||||
|
* This module contains functions for generating tags for scripts for the
|
||||||
|
-* Bourne shell (and its derivatives, the Korn and Z shells).
|
||||||
|
+* Bourne shell (and its derivatives, the Korn and Z shells), along with some
|
||||||
|
+* specialised kinds of shell scripts (Gentoo ebuilds and eclasses).
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ -102,7 +103,7 @@
|
||||||
|
extern parserDefinition* ShParser (void)
|
||||||
|
{
|
||||||
|
static const char *const extensions [] = {
|
||||||
|
- "sh", "SH", "bsh", "bash", "ksh", "zsh", NULL
|
||||||
|
+ "sh", "SH", "bsh", "bash", "ksh", "zsh", "ebuild", "eclass", NULL
|
||||||
|
};
|
||||||
|
parserDefinition* def = parserNew ("Sh");
|
||||||
|
def->kinds = ShKinds;
|
28
dev-util/ctags/files/ctags-5.8-ada.patch
Normal file
28
dev-util/ctags/files/ctags-5.8-ada.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
--- parsers-orig.h 2009-11-16 23:39:49.747328066 +0200
|
||||||
|
+++ parsers.h 2009-11-16 23:40:26.541581805 +0200
|
||||||
|
@@ -16,6 +16,7 @@
|
||||||
|
|
||||||
|
/* Add the name of any new parser definition function here */
|
||||||
|
#define PARSER_LIST \
|
||||||
|
+ AdaParser, \
|
||||||
|
AntParser, \
|
||||||
|
AsmParser, \
|
||||||
|
AspParser, \
|
||||||
|
--- source-orig.mak 2009-11-16 23:41:17.184586699 +0200
|
||||||
|
+++ source.mak 2009-11-16 23:41:48.358331136 +0200
|
||||||
|
@@ -8,6 +8,7 @@
|
||||||
|
strlist.h vstring.h
|
||||||
|
|
||||||
|
SOURCES = \
|
||||||
|
+ ada.c \
|
||||||
|
args.c \
|
||||||
|
ant.c \
|
||||||
|
asm.c \
|
||||||
|
@@ -70,6 +71,7 @@
|
||||||
|
REGEX_HEADERS = gnu_regex/regex.h
|
||||||
|
|
||||||
|
OBJECTS = \
|
||||||
|
+ ada.$(OBJEXT) \
|
||||||
|
args.$(OBJEXT) \
|
||||||
|
ant.$(OBJEXT) \
|
||||||
|
asm.$(OBJEXT) \
|
12
dev-util/ctags/files/ctags-5.8-f95-pointers.patch
Normal file
12
dev-util/ctags/files/ctags-5.8-f95-pointers.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- fortran-orig.c 2009-11-16 23:38:06.154328652 +0200
|
||||||
|
+++ fortran.c 2009-11-16 23:38:08.711335501 +0200
|
||||||
|
@@ -1319,7 +1319,8 @@
|
||||||
|
readToken (token);
|
||||||
|
skipPast (token, TOKEN_OPERATOR);
|
||||||
|
}
|
||||||
|
- else if (strcmp (vStringValue (token->string), "=") == 0)
|
||||||
|
+ else if ((strcmp (vStringValue (token->string), "=") == 0) ||
|
||||||
|
+ (strcmp (vStringValue (token->string), "=>") == 0))
|
||||||
|
{
|
||||||
|
while (! isType (token, TOKEN_COMMA) &&
|
||||||
|
! isType (token, TOKEN_STATEMENT_END))
|
@ -0,0 +1,13 @@
|
|||||||
|
--- python-orig.c 2009-11-16 23:33:44.930351712 +0200
|
||||||
|
+++ python.c 2009-11-16 23:35:08.433328150 +0200
|
||||||
|
@@ -264,8 +264,8 @@
|
||||||
|
while (*cp)
|
||||||
|
{
|
||||||
|
cp = skipEverything (cp);
|
||||||
|
- if (!strncmp(cp, "def", 3) || !strncmp(cp, "class", 5) ||
|
||||||
|
- !strncmp(cp, "cdef", 4) || !strncmp(cp, "cpdef", 5))
|
||||||
|
+ if (!strncmp(cp, "def ", 4) || !strncmp(cp, "class ", 6) ||
|
||||||
|
+ !strncmp(cp, "cdef ", 5) || !strncmp(cp, "cpdef ", 6))
|
||||||
|
{
|
||||||
|
return cp;
|
||||||
|
}
|
15
dev-util/ctags/metadata.xml
Normal file
15
dev-util/ctags/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>vim@gentoo.org</email>
|
||||||
|
<name>Gentoo Vim Project</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="ada">Enable Ada support</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="sourceforge">gnuada</remote-id>
|
||||||
|
<remote-id type="github">universal-ctags/ctags</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,5 +0,0 @@
|
|||||||
DIST vlc-2.0.6.tar.xz 18619836 SHA256 31cc98035e2ce36c71a8f105aa5a87e3d8b5e206a0b3f7208c5ced407cbe1963 SHA512 80793305f7e0e48c99be99adfd85d699deaff53184f740b7624cdc9cad106b7c70f1d221e26c1362a1d1e5b02b861a1289e21a3af8a4c5ae3dfc316c67f15e74 WHIRLPOOL 04d2ff943d59979e25707aeab8a4157a3417b604ddf4d7116a6affe235afcd24fede3c49fea15b2b54784f9716b6376aae753b8b5b89f65e471d1fe11bfa728d
|
|
||||||
DIST vlc-2.0.7.tar.xz 18538256 SHA256 243107d59e4bd0b942cb4ce10292eab8233394f8109ff4fde44e64d0ee745314 SHA512 6e8e55e40425cc9d48a174374a6b690f50d0a7cfed9a1b253786c9e7e52658fcd4feda94a5d4f66c58260b517248041b3f393af5171a42bf3a3e1475828b1ab2 WHIRLPOOL 7524f518a8c4575ac417261857326dcc6a2787cafd09f64a181fd597358b04433be09a4f418eb1186bb093ef467bb4de75f809721c392d60c117e1eefa0cce48
|
|
||||||
DIST vlc-patches-101.tar.bz2 3011 SHA256 abd3af99b9c2fa76b67a2e9c72e2d81982f1bca93cb5e3b2f33d29de9e395dae SHA512 f059f3c47b571dd5a28d979abdcb3a8c2ebef13845cd4102d877b1786ef4b3ba15cc22873de0fd84fcc7a4413f582064f12edf40627e9f030fd8e6fa03d67c66 WHIRLPOOL eb2f184c99db6d174d22e4231003d93171f5081f917f10ecf6bc927ff96983aa21756d15063909cb6f8ad77f0db0b978fdf2eb2fba3320f19c6bc26e17b04ba7
|
|
||||||
EBUILD vlc-2.0.6.ebuild 11187 SHA256 42420d3a42b41c4d969c00229da23b13154d2ac2284bf0ca39af9c552df78062 SHA512 84c3673ac5371d75d2c2ba0997060fff02ca6d51be298af82a106fc8ebf51741640c795b9948557f258f00d4d45024cd5d52ddc119d20d76a1e6ee7d85ecfdb7 WHIRLPOOL 47bd98df6c546aa62a23fd7c258d165806fa32edcfbb59f2973a1b3f63305b3b91b24348cd02523297642dc38e7dc575f5032b8cef0728339c13bebbdb43246a
|
|
||||||
EBUILD vlc-2.0.7.ebuild 11115 SHA256 869711108960f2d4177c373b4c4fad20fc21ce5a0afde3442978cc86cdd14c7c SHA512 3d374c7eebe6ef61eba4eaae70e3075cfcef8b345d0d5bf2de8d4370c0869e2af424afc516aceada31d76a5544c9a305bf213f0434ab883f10c142f1dc2ca14d WHIRLPOOL a7375bfecaeb61b72b8f30d73f903a37e650238fd7e9e3a1a526fce610c90bd8d0eec2ca31f47dd4446d5b9d02477ef8f2d5a979d0f684bdc562f33f9ab7bd9d
|
|
@ -1,357 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.6.ebuild,v 1.4 2013/05/06 14:22:26 ssuominen Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
SCM=""
|
|
||||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
|
||||||
SCM=git-2
|
|
||||||
EGIT_BOOTSTRAP="bootstrap"
|
|
||||||
if [ "${PV%.9999}" != "${PV}" ] ; then
|
|
||||||
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
|
|
||||||
else
|
|
||||||
EGIT_REPO_URI="git://git.videolan.org/vlc.git"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM}
|
|
||||||
|
|
||||||
MY_PV="${PV/_/-}"
|
|
||||||
MY_PV="${MY_PV/-beta/-test}"
|
|
||||||
MY_P="${PN}-${MY_PV}"
|
|
||||||
PATCHLEVEL="101"
|
|
||||||
|
|
||||||
DESCRIPTION="VLC media player - Video player and streamer"
|
|
||||||
HOMEPAGE="http://www.videolan.org/vlc/"
|
|
||||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
|
||||||
SRC_URI=""
|
|
||||||
elif [[ "${MY_P}" == "${P}" ]]; then
|
|
||||||
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
|
|
||||||
else
|
|
||||||
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
if [ "${PV%9999}" = "${PV}" ] ; then
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 -sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
|
||||||
else
|
|
||||||
KEYWORDS=""
|
|
||||||
fi
|
|
||||||
IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
|
|
||||||
+avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d
|
|
||||||
directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode
|
|
||||||
fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
|
|
||||||
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
|
|
||||||
libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
|
|
||||||
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
|
|
||||||
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
|
|
||||||
mtp musepack ncurses neon ogg omxil opengl opus optimisememory oss png
|
|
||||||
portaudio +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba
|
|
||||||
schroedinger sdl sdl-image shine shout sid skins speex sqlite sse svg
|
|
||||||
+swscale switcher taglib theora truetype twolame udev upnp vaapi v4l
|
|
||||||
vcdx vlm vorbis waveout win32codecs wingdi wma-fixed +X x264 +xcb xml
|
|
||||||
xosd xv zvbi"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=sys-libs/zlib-1.2.5.1-r2[minizip]
|
|
||||||
a52? ( >=media-libs/a52dec-0.7.4-r3 )
|
|
||||||
aalib? ( media-libs/aalib )
|
|
||||||
aac? ( >=media-libs/faad2-2.6.1 )
|
|
||||||
alsa? ( >=media-libs/alsa-lib-1.0.23 )
|
|
||||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
|
||||||
avcodec? ( virtual/ffmpeg )
|
|
||||||
avformat? ( virtual/ffmpeg )
|
|
||||||
bidi? ( >=dev-libs/fribidi-0.10.4 )
|
|
||||||
bluray? ( >=media-libs/libbluray-0.2.1 )
|
|
||||||
cddb? ( >=media-libs/libcddb-1.2.0 )
|
|
||||||
dbus? ( >=sys-apps/dbus-1.0.2 )
|
|
||||||
dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
|
|
||||||
dirac? ( >=media-video/dirac-0.10.0 )
|
|
||||||
directfb? ( dev-libs/DirectFB sys-libs/zlib )
|
|
||||||
dts? ( media-libs/libdca )
|
|
||||||
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1 )
|
|
||||||
dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
|
|
||||||
egl? ( virtual/opengl )
|
|
||||||
elibc_glibc? ( >=sys-libs/glibc-2.8 )
|
|
||||||
flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
|
|
||||||
fluidsynth? ( media-sound/fluidsynth )
|
|
||||||
fontconfig? ( media-libs/fontconfig )
|
|
||||||
gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
|
|
||||||
gme? ( media-libs/game-music-emu )
|
|
||||||
gnome? ( gnome-base/gnome-vfs )
|
|
||||||
gnutls? ( >=net-libs/gnutls-2.0.0 )
|
|
||||||
ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
|
|
||||||
ios-vout? ( virtual/opengl )
|
|
||||||
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
|
|
||||||
kate? ( >=media-libs/libkate-0.1.1 )
|
|
||||||
libass? ( >=media-libs/libass-0.9.8 media-libs/fontconfig )
|
|
||||||
libcaca? ( >=media-libs/libcaca-0.99_beta14 )
|
|
||||||
libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
|
|
||||||
libproxy? ( net-libs/libproxy )
|
|
||||||
libsamplerate? ( media-libs/libsamplerate )
|
|
||||||
libtar? ( >=dev-libs/libtar-1.2.11-r3 )
|
|
||||||
libtiger? ( media-libs/libtiger )
|
|
||||||
linsys? ( >=media-libs/zvbi-0.2.28 )
|
|
||||||
lirc? ( app-misc/lirc )
|
|
||||||
live? ( >=media-plugins/live-2011.12.23 )
|
|
||||||
lua? ( >=dev-lang/lua-5.1 )
|
|
||||||
macosx-vout? ( virtual/opengl )
|
|
||||||
matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
|
|
||||||
modplug? ( >=media-libs/libmodplug-0.8.8.1 )
|
|
||||||
mp3? ( media-libs/libmad )
|
|
||||||
mpeg? ( >=media-libs/libmpeg2-0.3.2 )
|
|
||||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
|
||||||
musepack? ( >=media-sound/musepack-tools-444 )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.9-r2[unicode] )
|
|
||||||
ogg? ( media-libs/libogg )
|
|
||||||
opengl? ( virtual/opengl >=x11-libs/libX11-1.3.99.901 )
|
|
||||||
opus? ( media-libs/opus )
|
|
||||||
png? ( media-libs/libpng sys-libs/zlib )
|
|
||||||
portaudio? ( >=media-libs/portaudio-19_pre )
|
|
||||||
postproc? ( || ( media-video/ffmpeg media-libs/libpostproc ) )
|
|
||||||
projectm? ( media-libs/libprojectm )
|
|
||||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
|
|
||||||
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 )
|
|
||||||
samba? ( || ( <net-fs/samba-4.0.0[smbclient] >=net-fs/samba-4.0.0[client] ) )
|
|
||||||
schroedinger? ( >=media-libs/schroedinger-1.0.10 )
|
|
||||||
sdl? ( >=media-libs/libsdl-1.2.8
|
|
||||||
sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
|
|
||||||
shout? ( media-libs/libshout )
|
|
||||||
sid? ( media-libs/libsidplay:2 )
|
|
||||||
skins? ( x11-libs/libXext x11-libs/libXpm x11-libs/libXinerama )
|
|
||||||
speex? ( media-libs/speex )
|
|
||||||
sqlite? ( >=dev-db/sqlite-3.6.0:3 )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.9.0 )
|
|
||||||
swscale? ( virtual/ffmpeg )
|
|
||||||
taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
|
|
||||||
theora? ( >=media-libs/libtheora-1.0_beta3 )
|
|
||||||
truetype? ( media-libs/freetype virtual/ttf-fonts
|
|
||||||
!fontconfig? ( media-fonts/dejavu ) )
|
|
||||||
twolame? ( media-sound/twolame )
|
|
||||||
udev? ( virtual/udev )
|
|
||||||
upnp? ( net-libs/libupnp )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
vaapi? ( x11-libs/libva )
|
|
||||||
vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
|
|
||||||
vorbis? ( media-libs/libvorbis )
|
|
||||||
win32codecs? ( media-libs/win32codecs )
|
|
||||||
X? ( x11-libs/libX11 )
|
|
||||||
x264? ( >=media-libs/x264-0.0.20090923 )
|
|
||||||
xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
|
|
||||||
xml? ( dev-libs/libxml2 )
|
|
||||||
xosd? ( x11-libs/xosd )
|
|
||||||
zvbi? ( >=media-libs/zvbi-0.2.25 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
fbosd? ( sys-kernel/linux-headers )
|
|
||||||
kde? ( >=kde-base/kdelibs-4 )
|
|
||||||
xcb? ( x11-proto/xproto )
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
aalib? ( X )
|
|
||||||
bidi? ( truetype )
|
|
||||||
cddb? ( cdda )
|
|
||||||
dvb? ( dvbpsi )
|
|
||||||
dxva2? ( avcodec )
|
|
||||||
egl? ( X )
|
|
||||||
ffmpeg? ( avcodec avformat swscale postproc )
|
|
||||||
fontconfig? ( truetype )
|
|
||||||
gnutls? ( gcrypt )
|
|
||||||
httpd? ( lua )
|
|
||||||
libcaca? ( X )
|
|
||||||
libtar? ( skins )
|
|
||||||
libtiger? ( kate )
|
|
||||||
media-library? ( sqlite )
|
|
||||||
qt4? ( X )
|
|
||||||
sdl? ( X )
|
|
||||||
skins? ( truetype qt4 X )
|
|
||||||
switcher? ( avcodec )
|
|
||||||
vaapi? ( avcodec X )
|
|
||||||
vlm? ( encode )
|
|
||||||
xosd? ( X )
|
|
||||||
xv? ( xcb )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Make it build with libtool 1.5
|
|
||||||
rm -f m4/lt* m4/libtool.m4
|
|
||||||
|
|
||||||
epatch "${WORKDIR}/patches/010_all_freetype-font.patch"
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# needs libresid-builder from libsidplay:2 which is in another directory...
|
|
||||||
# FIXME!
|
|
||||||
use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
|
|
||||||
|
|
||||||
use samba && append-cppflags "-I/usr/include/samba-4.0"
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--docdir=/usr/share/doc/${PF} \
|
|
||||||
$(use_enable a52) \
|
|
||||||
$(use_enable aalib aa) \
|
|
||||||
$(use_enable aac faad) \
|
|
||||||
$(use_enable alsa) \
|
|
||||||
$(use_enable altivec) \
|
|
||||||
$(use_enable atmo) \
|
|
||||||
$(use_enable audioqueue) \
|
|
||||||
$(use_enable avahi bonjour) \
|
|
||||||
$(use_enable avcodec) \
|
|
||||||
$(use_enable avformat) \
|
|
||||||
$(use_enable bidi fribidi) \
|
|
||||||
$(use_enable bluray) \
|
|
||||||
$(use_enable cdda vcd) \
|
|
||||||
$(use_enable cddb libcddb) \
|
|
||||||
$(use_enable dbus) $(use_enable dbus dbus-control) \
|
|
||||||
$(use_enable dirac) \
|
|
||||||
$(use_enable direct2d) \
|
|
||||||
$(use_enable directfb) \
|
|
||||||
$(use_enable directx) \
|
|
||||||
$(use_enable dc1394) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable dshow) \
|
|
||||||
$(use_enable dts dca) \
|
|
||||||
$(use_enable dvbpsi) \
|
|
||||||
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
|
|
||||||
$(use_enable dxva2) \
|
|
||||||
$(use_enable egl) \
|
|
||||||
$(use_enable encode sout) \
|
|
||||||
$(use_enable fbosd) \
|
|
||||||
$(use_enable flac) \
|
|
||||||
$(use_enable fluidsynth) \
|
|
||||||
$(use_enable fontconfig) \
|
|
||||||
$(use_enable gcrypt libgcrypt) \
|
|
||||||
$(use_enable gme) \
|
|
||||||
$(use_enable gnome gnomevfs) \
|
|
||||||
$(use_enable gnutls) \
|
|
||||||
$(use_enable growl) \
|
|
||||||
$(use_enable httpd) \
|
|
||||||
$(use_enable ieee1394 dv) \
|
|
||||||
$(use_enable ios-vout) \
|
|
||||||
$(use_enable jack) \
|
|
||||||
$(use_enable kate) \
|
|
||||||
$(use_with kde kde-solid) \
|
|
||||||
$(use_enable libass) \
|
|
||||||
$(use_enable libcaca caca) \
|
|
||||||
$(use_enable libnotify notify) \
|
|
||||||
$(use_enable libproxy) \
|
|
||||||
$(use_enable libsamplerate samplerate) \
|
|
||||||
$(use_enable libtar) \
|
|
||||||
$(use_enable libtiger tiger) \
|
|
||||||
$(use_enable linsys) \
|
|
||||||
$(use_enable lirc) \
|
|
||||||
$(use_enable live live555) \
|
|
||||||
$(use_enable lua) \
|
|
||||||
$(use_enable macosx-audio) \
|
|
||||||
$(use_enable macosx-dialog-provider) \
|
|
||||||
$(use_enable macosx-eyetv) \
|
|
||||||
$(use_enable macosx-qtkit) \
|
|
||||||
$(use_enable macosx-quartztext) \
|
|
||||||
$(use_enable macosx-vout) \
|
|
||||||
$(use_enable matroska mkv) \
|
|
||||||
$(use_enable media-library) \
|
|
||||||
$(use_enable mmx) \
|
|
||||||
$(use_enable modplug mod) \
|
|
||||||
$(use_enable mp3 mad) \
|
|
||||||
$(use_enable mpeg libmpeg2) \
|
|
||||||
$(use_enable mtp) \
|
|
||||||
$(use_enable musepack mpc) \
|
|
||||||
$(use_enable ncurses) \
|
|
||||||
$(use_enable neon) \
|
|
||||||
$(use_enable ogg) $(use_enable ogg mux_ogg) \
|
|
||||||
$(use_enable omxil) \
|
|
||||||
$(use_enable opengl glx) \
|
|
||||||
$(use_enable opus) \
|
|
||||||
$(use_enable optimisememory optimize-memory) \
|
|
||||||
$(use_enable oss) \
|
|
||||||
$(use_enable png) \
|
|
||||||
$(use_enable portaudio) \
|
|
||||||
$(use_enable postproc) \
|
|
||||||
$(use_enable projectm) \
|
|
||||||
$(use_enable pulseaudio pulse) \
|
|
||||||
$(use_enable pvr) \
|
|
||||||
$(use_enable qt4) \
|
|
||||||
$(use_enable rtsp realrtsp) \
|
|
||||||
$(use_enable run-as-root) \
|
|
||||||
$(use_enable samba smb) \
|
|
||||||
$(use_enable schroedinger) \
|
|
||||||
$(use_enable sdl) \
|
|
||||||
$(use_enable sdl-image) \
|
|
||||||
$(use_enable shine) \
|
|
||||||
$(use_enable sid) \
|
|
||||||
$(use_enable shout) \
|
|
||||||
$(use_enable skins skins2) \
|
|
||||||
$(use_enable speex) \
|
|
||||||
$(use_enable sqlite) \
|
|
||||||
$(use_enable sse) \
|
|
||||||
$(use_enable svg) \
|
|
||||||
$(use_enable switcher) \
|
|
||||||
$(use_enable swscale) \
|
|
||||||
$(use_enable taglib) \
|
|
||||||
$(use_enable theora) \
|
|
||||||
$(use_enable truetype freetype) \
|
|
||||||
$(use_enable twolame) \
|
|
||||||
$(use_enable udev) \
|
|
||||||
$(use_enable upnp) \
|
|
||||||
$(use_enable v4l v4l2) \
|
|
||||||
$(use_enable vaapi libva) \
|
|
||||||
$(use_enable vcdx) \
|
|
||||||
$(use_enable vlm) \
|
|
||||||
$(use_enable vorbis) \
|
|
||||||
$(use_enable waveout) \
|
|
||||||
$(use_enable win32codecs loader) \
|
|
||||||
$(use_enable wingdi) \
|
|
||||||
$(use_enable wma-fixed) \
|
|
||||||
$(use_with X x) \
|
|
||||||
$(use_enable x264) \
|
|
||||||
$(use_enable xcb) \
|
|
||||||
$(use_enable xml libxml2) \
|
|
||||||
$(use_enable xosd) \
|
|
||||||
$(use_enable xv xvideo) \
|
|
||||||
$(use_enable zvbi) $(use_enable !zvbi telx) \
|
|
||||||
--disable-optimizations \
|
|
||||||
--without-tuning \
|
|
||||||
--enable-fast-install
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
|
|
||||||
dodoc AUTHORS THANKS NEWS README \
|
|
||||||
doc/fortunes.txt doc/intf-vcd.txt
|
|
||||||
|
|
||||||
# Punt useless libtool's .la files
|
|
||||||
find "${D}" -name '*.la' -delete
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
|
|
||||||
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
|
|
||||||
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
|
|
||||||
else
|
|
||||||
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
|
|
||||||
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
|
|
||||||
ewarn "If you do not do it, vlc will take a long time to load."
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,356 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.7.ebuild,v 1.1 2013/06/14 09:37:10 lu_zero Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
SCM=""
|
|
||||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
|
||||||
SCM=git-2
|
|
||||||
EGIT_BOOTSTRAP="bootstrap"
|
|
||||||
if [ "${PV%.9999}" != "${PV}" ] ; then
|
|
||||||
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
|
|
||||||
else
|
|
||||||
EGIT_REPO_URI="git://git.videolan.org/vlc.git"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM}
|
|
||||||
|
|
||||||
MY_PV="${PV/_/-}"
|
|
||||||
MY_PV="${MY_PV/-beta/-test}"
|
|
||||||
MY_P="${PN}-${MY_PV}"
|
|
||||||
PATCHLEVEL="101"
|
|
||||||
|
|
||||||
DESCRIPTION="VLC media player - Video player and streamer"
|
|
||||||
HOMEPAGE="http://www.videolan.org/vlc/"
|
|
||||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
|
||||||
SRC_URI=""
|
|
||||||
elif [[ "${MY_P}" == "${P}" ]]; then
|
|
||||||
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
|
|
||||||
else
|
|
||||||
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SRC_URI="${SRC_URI}
|
|
||||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
if [ "${PV%9999}" = "${PV}" ] ; then
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 -sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
|
||||||
else
|
|
||||||
KEYWORDS=""
|
|
||||||
fi
|
|
||||||
IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
|
|
||||||
+avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d
|
|
||||||
directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode
|
|
||||||
fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
|
|
||||||
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
|
|
||||||
libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
|
|
||||||
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
|
|
||||||
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
|
|
||||||
mtp musepack ncurses neon ogg omxil opengl opus optimisememory oss png
|
|
||||||
portaudio +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba
|
|
||||||
schroedinger sdl sdl-image shine shout sid skins speex sqlite sse svg
|
|
||||||
+swscale switcher taglib theora truetype twolame udev upnp vaapi v4l
|
|
||||||
vcdx vlm vorbis waveout wingdi wma-fixed +X x264 +xcb xml
|
|
||||||
xosd xv zvbi"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=sys-libs/zlib-1.2.5.1-r2[minizip]
|
|
||||||
a52? ( >=media-libs/a52dec-0.7.4-r3 )
|
|
||||||
aalib? ( media-libs/aalib )
|
|
||||||
aac? ( >=media-libs/faad2-2.6.1 )
|
|
||||||
alsa? ( >=media-libs/alsa-lib-1.0.23 )
|
|
||||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
|
||||||
avcodec? ( virtual/ffmpeg )
|
|
||||||
avformat? ( virtual/ffmpeg )
|
|
||||||
bidi? ( >=dev-libs/fribidi-0.10.4 )
|
|
||||||
bluray? ( >=media-libs/libbluray-0.2.1 )
|
|
||||||
cddb? ( >=media-libs/libcddb-1.2.0 )
|
|
||||||
dbus? ( >=sys-apps/dbus-1.0.2 )
|
|
||||||
dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
|
|
||||||
dirac? ( >=media-video/dirac-0.10.0 )
|
|
||||||
directfb? ( dev-libs/DirectFB sys-libs/zlib )
|
|
||||||
dts? ( media-libs/libdca )
|
|
||||||
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1 )
|
|
||||||
dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
|
|
||||||
egl? ( virtual/opengl )
|
|
||||||
elibc_glibc? ( >=sys-libs/glibc-2.8 )
|
|
||||||
flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
|
|
||||||
fluidsynth? ( media-sound/fluidsynth )
|
|
||||||
fontconfig? ( media-libs/fontconfig )
|
|
||||||
gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
|
|
||||||
gme? ( media-libs/game-music-emu )
|
|
||||||
gnome? ( gnome-base/gnome-vfs )
|
|
||||||
gnutls? ( >=net-libs/gnutls-2.0.0 )
|
|
||||||
ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
|
|
||||||
ios-vout? ( virtual/opengl )
|
|
||||||
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
|
|
||||||
kate? ( >=media-libs/libkate-0.1.1 )
|
|
||||||
libass? ( >=media-libs/libass-0.9.8 media-libs/fontconfig )
|
|
||||||
libcaca? ( >=media-libs/libcaca-0.99_beta14 )
|
|
||||||
libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
|
|
||||||
libproxy? ( net-libs/libproxy )
|
|
||||||
libsamplerate? ( media-libs/libsamplerate )
|
|
||||||
libtar? ( >=dev-libs/libtar-1.2.11-r3 )
|
|
||||||
libtiger? ( media-libs/libtiger )
|
|
||||||
linsys? ( >=media-libs/zvbi-0.2.28 )
|
|
||||||
lirc? ( app-misc/lirc )
|
|
||||||
live? ( >=media-plugins/live-2011.12.23 )
|
|
||||||
lua? ( >=dev-lang/lua-5.1 )
|
|
||||||
macosx-vout? ( virtual/opengl )
|
|
||||||
matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
|
|
||||||
modplug? ( >=media-libs/libmodplug-0.8.8.1 )
|
|
||||||
mp3? ( media-libs/libmad )
|
|
||||||
mpeg? ( >=media-libs/libmpeg2-0.3.2 )
|
|
||||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
|
||||||
musepack? ( >=media-sound/musepack-tools-444 )
|
|
||||||
ncurses? ( >=sys-libs/ncurses-5.9-r2[unicode] )
|
|
||||||
ogg? ( media-libs/libogg )
|
|
||||||
opengl? ( virtual/opengl >=x11-libs/libX11-1.3.99.901 )
|
|
||||||
opus? ( media-libs/opus )
|
|
||||||
png? ( media-libs/libpng sys-libs/zlib )
|
|
||||||
portaudio? ( >=media-libs/portaudio-19_pre )
|
|
||||||
postproc? ( || ( media-video/ffmpeg media-libs/libpostproc ) )
|
|
||||||
projectm? ( media-libs/libprojectm )
|
|
||||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
|
|
||||||
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 )
|
|
||||||
samba? ( || ( <net-fs/samba-4.0.0[smbclient] >=net-fs/samba-4.0.0[client] ) )
|
|
||||||
schroedinger? ( >=media-libs/schroedinger-1.0.10 )
|
|
||||||
sdl? ( >=media-libs/libsdl-1.2.8
|
|
||||||
sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
|
|
||||||
shout? ( media-libs/libshout )
|
|
||||||
sid? ( media-libs/libsidplay:2 )
|
|
||||||
skins? ( x11-libs/libXext x11-libs/libXpm x11-libs/libXinerama )
|
|
||||||
speex? ( media-libs/speex )
|
|
||||||
sqlite? ( >=dev-db/sqlite-3.6.0:3 )
|
|
||||||
svg? ( >=gnome-base/librsvg-2.9.0 )
|
|
||||||
swscale? ( virtual/ffmpeg )
|
|
||||||
taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
|
|
||||||
theora? ( >=media-libs/libtheora-1.0_beta3 )
|
|
||||||
truetype? ( media-libs/freetype virtual/ttf-fonts
|
|
||||||
!fontconfig? ( media-fonts/dejavu ) )
|
|
||||||
twolame? ( media-sound/twolame )
|
|
||||||
udev? ( virtual/udev )
|
|
||||||
upnp? ( net-libs/libupnp )
|
|
||||||
v4l? ( media-libs/libv4l )
|
|
||||||
vaapi? ( x11-libs/libva )
|
|
||||||
vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
|
|
||||||
vorbis? ( media-libs/libvorbis )
|
|
||||||
X? ( x11-libs/libX11 )
|
|
||||||
x264? ( >=media-libs/x264-0.0.20090923 )
|
|
||||||
xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
|
|
||||||
xml? ( dev-libs/libxml2 )
|
|
||||||
xosd? ( x11-libs/xosd )
|
|
||||||
zvbi? ( >=media-libs/zvbi-0.2.25 )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
fbosd? ( sys-kernel/linux-headers )
|
|
||||||
kde? ( >=kde-base/kdelibs-4 )
|
|
||||||
xcb? ( x11-proto/xproto )
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
aalib? ( X )
|
|
||||||
bidi? ( truetype )
|
|
||||||
cddb? ( cdda )
|
|
||||||
dvb? ( dvbpsi )
|
|
||||||
dxva2? ( avcodec )
|
|
||||||
egl? ( X )
|
|
||||||
ffmpeg? ( avcodec avformat swscale postproc )
|
|
||||||
fontconfig? ( truetype )
|
|
||||||
gnutls? ( gcrypt )
|
|
||||||
httpd? ( lua )
|
|
||||||
libcaca? ( X )
|
|
||||||
libtar? ( skins )
|
|
||||||
libtiger? ( kate )
|
|
||||||
media-library? ( sqlite )
|
|
||||||
qt4? ( X )
|
|
||||||
sdl? ( X )
|
|
||||||
skins? ( truetype qt4 X )
|
|
||||||
switcher? ( avcodec )
|
|
||||||
vaapi? ( avcodec X )
|
|
||||||
vlm? ( encode )
|
|
||||||
xosd? ( X )
|
|
||||||
xv? ( xcb )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
|
||||||
git-2_src_unpack
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Make it build with libtool 1.5
|
|
||||||
rm -f m4/lt* m4/libtool.m4
|
|
||||||
|
|
||||||
epatch "${WORKDIR}/patches/010_all_freetype-font.patch"
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# needs libresid-builder from libsidplay:2 which is in another directory...
|
|
||||||
# FIXME!
|
|
||||||
use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
|
|
||||||
|
|
||||||
use samba && append-cppflags "-I/usr/include/samba-4.0"
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--docdir=/usr/share/doc/${PF} \
|
|
||||||
$(use_enable a52) \
|
|
||||||
$(use_enable aalib aa) \
|
|
||||||
$(use_enable aac faad) \
|
|
||||||
$(use_enable alsa) \
|
|
||||||
$(use_enable altivec) \
|
|
||||||
$(use_enable atmo) \
|
|
||||||
$(use_enable audioqueue) \
|
|
||||||
$(use_enable avahi bonjour) \
|
|
||||||
$(use_enable avcodec) \
|
|
||||||
$(use_enable avformat) \
|
|
||||||
$(use_enable bidi fribidi) \
|
|
||||||
$(use_enable bluray) \
|
|
||||||
$(use_enable cdda vcd) \
|
|
||||||
$(use_enable cddb libcddb) \
|
|
||||||
$(use_enable dbus) $(use_enable dbus dbus-control) \
|
|
||||||
$(use_enable dirac) \
|
|
||||||
$(use_enable direct2d) \
|
|
||||||
$(use_enable directfb) \
|
|
||||||
$(use_enable directx) \
|
|
||||||
$(use_enable dc1394) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable dshow) \
|
|
||||||
$(use_enable dts dca) \
|
|
||||||
$(use_enable dvbpsi) \
|
|
||||||
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
|
|
||||||
$(use_enable dxva2) \
|
|
||||||
$(use_enable egl) \
|
|
||||||
$(use_enable encode sout) \
|
|
||||||
$(use_enable fbosd) \
|
|
||||||
$(use_enable flac) \
|
|
||||||
$(use_enable fluidsynth) \
|
|
||||||
$(use_enable fontconfig) \
|
|
||||||
$(use_enable gcrypt libgcrypt) \
|
|
||||||
$(use_enable gme) \
|
|
||||||
$(use_enable gnome gnomevfs) \
|
|
||||||
$(use_enable gnutls) \
|
|
||||||
$(use_enable growl) \
|
|
||||||
$(use_enable httpd) \
|
|
||||||
$(use_enable ieee1394 dv) \
|
|
||||||
$(use_enable ios-vout) \
|
|
||||||
$(use_enable jack) \
|
|
||||||
$(use_enable kate) \
|
|
||||||
$(use_with kde kde-solid) \
|
|
||||||
$(use_enable libass) \
|
|
||||||
$(use_enable libcaca caca) \
|
|
||||||
$(use_enable libnotify notify) \
|
|
||||||
$(use_enable libproxy) \
|
|
||||||
$(use_enable libsamplerate samplerate) \
|
|
||||||
$(use_enable libtar) \
|
|
||||||
$(use_enable libtiger tiger) \
|
|
||||||
$(use_enable linsys) \
|
|
||||||
$(use_enable lirc) \
|
|
||||||
$(use_enable live live555) \
|
|
||||||
$(use_enable lua) \
|
|
||||||
$(use_enable macosx-audio) \
|
|
||||||
$(use_enable macosx-dialog-provider) \
|
|
||||||
$(use_enable macosx-eyetv) \
|
|
||||||
$(use_enable macosx-qtkit) \
|
|
||||||
$(use_enable macosx-quartztext) \
|
|
||||||
$(use_enable macosx-vout) \
|
|
||||||
$(use_enable matroska mkv) \
|
|
||||||
$(use_enable media-library) \
|
|
||||||
$(use_enable mmx) \
|
|
||||||
$(use_enable modplug mod) \
|
|
||||||
$(use_enable mp3 mad) \
|
|
||||||
$(use_enable mpeg libmpeg2) \
|
|
||||||
$(use_enable mtp) \
|
|
||||||
$(use_enable musepack mpc) \
|
|
||||||
$(use_enable ncurses) \
|
|
||||||
$(use_enable neon) \
|
|
||||||
$(use_enable ogg) $(use_enable ogg mux_ogg) \
|
|
||||||
$(use_enable omxil) \
|
|
||||||
$(use_enable opengl glx) \
|
|
||||||
$(use_enable opus) \
|
|
||||||
$(use_enable optimisememory optimize-memory) \
|
|
||||||
$(use_enable oss) \
|
|
||||||
$(use_enable png) \
|
|
||||||
$(use_enable portaudio) \
|
|
||||||
$(use_enable postproc) \
|
|
||||||
$(use_enable projectm) \
|
|
||||||
$(use_enable pulseaudio pulse) \
|
|
||||||
$(use_enable pvr) \
|
|
||||||
$(use_enable qt4) \
|
|
||||||
$(use_enable rtsp realrtsp) \
|
|
||||||
$(use_enable run-as-root) \
|
|
||||||
$(use_enable samba smb) \
|
|
||||||
$(use_enable schroedinger) \
|
|
||||||
$(use_enable sdl) \
|
|
||||||
$(use_enable sdl-image) \
|
|
||||||
$(use_enable shine) \
|
|
||||||
$(use_enable sid) \
|
|
||||||
$(use_enable shout) \
|
|
||||||
$(use_enable skins skins2) \
|
|
||||||
$(use_enable speex) \
|
|
||||||
$(use_enable sqlite) \
|
|
||||||
$(use_enable sse) \
|
|
||||||
$(use_enable svg) \
|
|
||||||
$(use_enable switcher) \
|
|
||||||
$(use_enable swscale) \
|
|
||||||
$(use_enable taglib) \
|
|
||||||
$(use_enable theora) \
|
|
||||||
$(use_enable truetype freetype) \
|
|
||||||
$(use_enable twolame) \
|
|
||||||
$(use_enable udev) \
|
|
||||||
$(use_enable upnp) \
|
|
||||||
$(use_enable v4l v4l2) \
|
|
||||||
$(use_enable vaapi libva) \
|
|
||||||
$(use_enable vcdx) \
|
|
||||||
$(use_enable vlm) \
|
|
||||||
$(use_enable vorbis) \
|
|
||||||
$(use_enable waveout) \
|
|
||||||
$(use_enable wingdi) \
|
|
||||||
$(use_enable wma-fixed) \
|
|
||||||
$(use_with X x) \
|
|
||||||
$(use_enable x264) \
|
|
||||||
$(use_enable xcb) \
|
|
||||||
$(use_enable xml libxml2) \
|
|
||||||
$(use_enable xosd) \
|
|
||||||
$(use_enable xv xvideo) \
|
|
||||||
$(use_enable zvbi) $(use_enable !zvbi telx) \
|
|
||||||
--disable-loader \
|
|
||||||
--disable-optimizations \
|
|
||||||
--without-tuning \
|
|
||||||
--enable-fast-install
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "make install failed"
|
|
||||||
|
|
||||||
dodoc AUTHORS THANKS NEWS README \
|
|
||||||
doc/fortunes.txt doc/intf-vcd.txt
|
|
||||||
|
|
||||||
# Punt useless libtool's .la files
|
|
||||||
find "${D}" -name '*.la' -delete
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
|
|
||||||
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
|
|
||||||
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
|
|
||||||
else
|
|
||||||
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
|
|
||||||
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
|
|
||||||
ewarn "If you do not do it, vlc will take a long time to load."
|
|
||||||
fi
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +0,0 @@
|
|||||||
AUX pidgin-2.10.0-gold.patch 1003 SHA256 26657c717f4e624b0b3af8746b61b0861ba4da65e55e49a753cfefaba72c60cb SHA512 9c54d1da082362325aa5ec0f25356e629adb7f639a0ea98a8aff726e4769cb21bf3350772aa219b7ad021630d13113de02c42317551edfe5f044ae40ac0df984 WHIRLPOOL 77fdb2855ac8fe3dc163a42d18df1847f849d9fc42cb09565746e70e72f9e2f74f3d33f44c6bc6f8277047d6d05bb9f12507a8f8c16e1c672c201a75c8fa7c8b
|
|
||||||
AUX pidgin-2.10.7-fix-cap.patch 692 SHA256 4dbf4e8123d7b7550f99fb5b8fb97e98b44551750436ca5327f8257438400dcd SHA512 0a1dc0ceaf78416ecd409a4bdcecef83a48cbdea50314d55a6cb1e1cad06775e1e8ac23f069ef4ed8ca8b4f3bb99f184804fddf7812adfcba8c8920a9c6efdbc WHIRLPOOL 8beca2bcb10380034ccd461559e7504922613de19649ca045e88c19de452bc4beb4b47c4b9976cf24854edf502ce11e74de00f5add86025c4bd066e17e85a962
|
|
||||||
DIST pidgin-2.10.7.tar.bz2 10069279 SHA256 eba32994eca20d1cf24a4261b059b2de71a1ec2dd0926e904074b0db49f7f192 SHA512 0f0d421f91be3b1577527f3609bff164d7c57a94338e18dca5d8b7d911634a98b9c0e8860f3e62026eba09a6afb3112a8cd6770a90c89afdb9fb40f83dd6f3e4 WHIRLPOOL 025a392ab069817e2fea07d0e9e7efeee006eaf4ce2e6571c49b851735309f3346bfdbf34c874f55b440b71fbbba0ac55029da727b1f731175d72efb2e74f3b4
|
|
||||||
EBUILD pidgin-2.10.7.ebuild 7126 SHA256 a6c585eb63e0c0a2c7691a620bc53b5612206cc0e1f29136b550e21f4f9f69b5 SHA512 9ce7916bcc1e805bf81c8b416a660c07412c626e3f936f06bae4745ad91d7e4aa14a159ae8ef0fb8f123c89b773a3eb8fc559bcf45cd3a463672765696821896 WHIRLPOOL da4e24bdb0a7333ae40bfc734b0419f6e1a1d6a64f1890512bd4e81b129dfe18c455244646e3620ab188405ceef1b53305be7cf26622f226c9ea29b0121ab31b
|
|
||||||
MISC ChangeLog 41608 SHA256 a8e2c587ae2c5945407c69b525c9a29e38351a00ca421c636728e22ad1a2cd24 SHA512 f0dee23349a05fa4bd0e8d05b766464a52507c63a9634ffdbbc8cb4b26832995b57cc5b92d012f6a265218291e836fe8f126d8c98f9c54fad0d69380e4bddfab WHIRLPOOL 5c80371afd77d2e05c545ccff485c98c5ff614cb6d7d541655a504dc76183f8225ac1b2e68efb20b49ca386727210ba9c89e5c749641281b66130b17d47209be
|
|
||||||
MISC metadata.xml 1311 SHA256 a0253264c64bdd1a4623db7f223cae50450dc8577d74748c25974ca909b80875 SHA512 18570fcf43047336441fd79d0581f6d7010192358a5dfe1d88d29ae33780c44fbc55d26d2c6088f615a87fa4131d729945cb0789941e8470948fc01b3f3f61f1 WHIRLPOOL a716b9e0682c6a56361e2bd6d788eaa8ce35a59aa701b1338a29bb2e34af1be9f579c52ff7698bedd888f7461a32a5abd59bddd95cc58d4633e20e3a394c478e
|
|
@ -1,30 +0,0 @@
|
|||||||
pidgin/Makefile.am | 2 +-
|
|
||||||
pidgin/Makefile.in | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/pidgin/Makefile.am b/pidgin/Makefile.am
|
|
||||||
index b6a5bd4..96d207d 100644
|
|
||||||
--- a/pidgin/Makefile.am
|
|
||||||
+++ b/pidgin/Makefile.am
|
|
||||||
@@ -158,7 +158,7 @@ pidgin_LDADD = \
|
|
||||||
$(GTKSPELL_LIBS) \
|
|
||||||
$(LIBXML_LIBS) \
|
|
||||||
$(GTK_LIBS) \
|
|
||||||
- $(top_builddir)/libpurple/libpurple.la
|
|
||||||
+ $(top_builddir)/libpurple/libpurple.la -lm
|
|
||||||
|
|
||||||
if USE_INTERNAL_LIBGADU
|
|
||||||
INTGG_CFLAGS = -DUSE_INTERNAL_LIBGADU
|
|
||||||
diff --git a/pidgin/Makefile.in b/pidgin/Makefile.in
|
|
||||||
index 615c196..0293e5c 100644
|
|
||||||
--- a/pidgin/Makefile.in
|
|
||||||
+++ b/pidgin/Makefile.in
|
|
||||||
@@ -607,7 +607,7 @@ EXTRA_DIST = \
|
|
||||||
@ENABLE_GTK_TRUE@ $(GTKSPELL_LIBS) \
|
|
||||||
@ENABLE_GTK_TRUE@ $(LIBXML_LIBS) \
|
|
||||||
@ENABLE_GTK_TRUE@ $(GTK_LIBS) \
|
|
||||||
-@ENABLE_GTK_TRUE@ $(top_builddir)/libpurple/libpurple.la
|
|
||||||
+@ENABLE_GTK_TRUE@ $(top_builddir)/libpurple/libpurple.la -lm
|
|
||||||
|
|
||||||
@ENABLE_GTK_TRUE@@USE_INTERNAL_LIBGADU_TRUE@INTGG_CFLAGS = -DUSE_INTERNAL_LIBGADU
|
|
||||||
@ENABLE_GTK_TRUE@AM_CPPFLAGS = \
|
|
@ -1,21 +0,0 @@
|
|||||||
|
|
||||||
# HG changeset patch
|
|
||||||
# User Daniel Atallah <datallah@pidgin.im>
|
|
||||||
# Date 1360879082 0
|
|
||||||
# Node ID a860609d9c9ee20a64ca5284f7b50cbc57ae5c92
|
|
||||||
# Parent 75999131f023b369df6d4f5b2001e153b448be13
|
|
||||||
Fix from David Walser for a crash in the CAP plugin.
|
|
||||||
|
|
||||||
diff --git a/pidgin/plugins/cap/cap.c b/pidgin/plugins/cap/cap.c
|
|
||||||
--- a/pidgin/plugins/cap/cap.c
|
|
||||||
+++ b/pidgin/plugins/cap/cap.c
|
|
||||||
@@ -43,7 +43,7 @@
|
|
||||||
int threshold = purple_prefs_get_int("/plugins/gtk/cap/threshold");
|
|
||||||
int min_minute = (current_minute - threshold) % 1440;
|
|
||||||
int max_minute = (current_minute + threshold) % 1440;
|
|
||||||
- char *sql, sta_id = NULL;
|
|
||||||
+ char *sql, *sta_id = NULL;
|
|
||||||
sqlite3_stmt *stmt = NULL;
|
|
||||||
const char *tail = NULL;
|
|
||||||
int rc;
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>net-im</herd>
|
|
||||||
<longdescription>
|
|
||||||
Pidgin is an instant messaging program for Windows, Linux, BSD, and other Unixes. You can talk to your friends using AIM, ICQ, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, and Zephyr.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name="gadu">Enable Gadu Gadu protocol support</flag>
|
|
||||||
<flag name="groupwise">Enable Novell Groupwise protocol support</flag>
|
|
||||||
<flag name="gstreamer">Enables voice and video sessions</flag>
|
|
||||||
<flag name="gtk">Builds Pidgin, the GTK+ interface</flag>
|
|
||||||
<flag name="meanwhile">Enable meanwhile support for Sametime protocol</flag>
|
|
||||||
<flag name="ncurses">Build finch, console interface</flag>
|
|
||||||
<flag name="prediction">Enable Contact Availability Prediction plugin</flag>
|
|
||||||
<flag name="python">Build libgnt (GLib Ncurses Toolkit used by finch) with python scripting support</flag>
|
|
||||||
<flag name="silc">Enable SILC protocol support</flag>
|
|
||||||
<flag name="xscreensaver">Use X screensaver protocol extension to monitor idle/active status based on mouse/keyboard events</flag>
|
|
||||||
<flag name="zephyr">Enable Zephyr protocol support</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
@ -1,232 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.6.ebuild,v 1.9 2012/12/08 01:25:35 tetromino Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
GENTOO_DEPEND_ON_PERL=no
|
|
||||||
inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
|
|
||||||
|
|
||||||
DESCRIPTION="GTK Instant Messenger client"
|
|
||||||
HOMEPAGE="http://pidgin.im/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
|
||||||
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
|
|
||||||
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
|
|
||||||
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
|
|
||||||
IUSE+=" aqua"
|
|
||||||
|
|
||||||
# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
|
|
||||||
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
|
|
||||||
# no way to build dbus and avoid libgnt linkage with python. If you want this
|
|
||||||
# send patch upstream.
|
|
||||||
# purple-url-handler and purple-remote require dbus-python thus in reality we
|
|
||||||
# rdepend on python if dbus enabled. But it is possible to separate this dep.
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/glib-2.16
|
|
||||||
>=dev-libs/libxml2-2.6.18
|
|
||||||
ncurses? ( sys-libs/ncurses[unicode]
|
|
||||||
dbus? ( <dev-lang/python-3 )
|
|
||||||
python? ( <dev-lang/python-3 ) )
|
|
||||||
gtk? (
|
|
||||||
>=x11-libs/gtk+-2.10:2[aqua=]
|
|
||||||
x11-libs/libSM
|
|
||||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
|
||||||
spell? ( >=app-text/gtkspell-2.0.2:2 )
|
|
||||||
eds? ( gnome-extra/evolution-data-server )
|
|
||||||
prediction? ( >=dev-db/sqlite-3.3:3 ) )
|
|
||||||
gstreamer? ( =media-libs/gstreamer-0.10*
|
|
||||||
=media-libs/gst-plugins-good-0.10*
|
|
||||||
|| ( net-libs/farstream:0.1 net-libs/farsight2 )
|
|
||||||
media-plugins/gst-plugins-meta:0.10
|
|
||||||
media-plugins/gst-plugins-gconf:0.10 )
|
|
||||||
zeroconf? ( net-dns/avahi[dbus] )
|
|
||||||
dbus? ( >=dev-libs/dbus-glib-0.71
|
|
||||||
>=sys-apps/dbus-0.90
|
|
||||||
dev-python/dbus-python )
|
|
||||||
perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
|
|
||||||
gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
|
|
||||||
>=net-libs/libgadu-1.11.0[-ssl] ) )
|
|
||||||
gnutls? ( net-libs/gnutls )
|
|
||||||
!gnutls? ( >=dev-libs/nss-3.11 )
|
|
||||||
meanwhile? ( net-libs/meanwhile )
|
|
||||||
silc? ( >=net-im/silc-toolkit-1.0.1 )
|
|
||||||
tcl? ( dev-lang/tcl )
|
|
||||||
tk? ( dev-lang/tk )
|
|
||||||
sasl? ( dev-libs/cyrus-sasl:2 )
|
|
||||||
networkmanager? ( net-misc/networkmanager )
|
|
||||||
idn? ( net-dns/libidn )
|
|
||||||
!<x11-plugins/pidgin-facebookchat-1.69-r1"
|
|
||||||
# Mono support crashes pidgin
|
|
||||||
#mono? ( dev-lang/mono )"
|
|
||||||
|
|
||||||
# We want nls in case gtk is enabled, bug #
|
|
||||||
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
|
|
||||||
|
|
||||||
DEPEND="$RDEPEND
|
|
||||||
dev-lang/perl
|
|
||||||
dev-perl/XML-Parser
|
|
||||||
virtual/pkgconfig
|
|
||||||
gtk? ( x11-proto/scrnsaverproto
|
|
||||||
${NLS_DEPEND} )
|
|
||||||
dbus? ( <dev-lang/python-3 )
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
!gtk? ( nls? ( ${NLS_DEPEND} ) )"
|
|
||||||
|
|
||||||
DOCS="AUTHORS HACKING NEWS README ChangeLog"
|
|
||||||
|
|
||||||
# Enable Default protocols
|
|
||||||
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
|
|
||||||
|
|
||||||
# List of plugins
|
|
||||||
# app-accessibility/pidgin-festival
|
|
||||||
# net-im/librvp
|
|
||||||
# x11-plugins/guifications
|
|
||||||
# x11-plugins/msn-pecan
|
|
||||||
# x11-plugins/pidgin-encryption
|
|
||||||
# x11-plugins/pidgin-extprefs
|
|
||||||
# x11-plugins/pidgin-hotkeys
|
|
||||||
# x11-plugins/pidgin-latex
|
|
||||||
# x11-plugins/pidgintex
|
|
||||||
# x11-plugins/pidgin-libnotify
|
|
||||||
# x11-plugins/pidgin-mbpurple
|
|
||||||
# x11-plugins/pidgin-bot-sentry
|
|
||||||
# x11-plugins/pidgin-otr
|
|
||||||
# x11-plugins/pidgin-rhythmbox
|
|
||||||
# x11-plugins/purple-plugin_pack
|
|
||||||
# x11-themes/pidgin-smileys
|
|
||||||
# x11-plugins/pidgin-knotify
|
|
||||||
# Plugins in Sunrise:
|
|
||||||
# x11-plugins/pidgin-audacious-remote
|
|
||||||
# x11-plugins/pidgin-autoanswer
|
|
||||||
# x11-plugins/pidgin-birthday-reminder
|
|
||||||
# x11-plugins/pidgin-blinklight
|
|
||||||
# x11-plugins/pidgin-convreverse
|
|
||||||
# x11-plugins/pidgin-embeddedvideo
|
|
||||||
# x11-plugins/pidgin-extended-blist-sort
|
|
||||||
# x11-plugins/pidgin-gfire
|
|
||||||
# x11-plugins/pidgin-lastfm
|
|
||||||
# x11-plugins/pidgin-sendscreenshot
|
|
||||||
# x11-plugins/pidgimpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if ! use gtk && ! use ncurses ; then
|
|
||||||
elog "You did not pick the ncurses or gtk use flags, only libpurple"
|
|
||||||
elog "will be built."
|
|
||||||
fi
|
|
||||||
if use dbus || { use ncurses && use python; }; then
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
fi
|
|
||||||
|
|
||||||
# dbus is enabled, no way to disable linkage with python => python is enabled
|
|
||||||
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
|
|
||||||
if use gtk && ! use nls; then
|
|
||||||
ewarn "gtk build => nls is enabled!"
|
|
||||||
fi
|
|
||||||
if use dbus && ! use python; then
|
|
||||||
elog "dbus is enabled, no way to disable linkage with python => python is enabled"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${PN}-2.10.0-gold.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-2.10.7-fix-cap.patch"
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Stabilize things, for your own good
|
|
||||||
strip-flags
|
|
||||||
replace-flags -O? -O2
|
|
||||||
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
if use gadu; then
|
|
||||||
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
|
|
||||||
myconf="${myconf} --with-gadu-includes=."
|
|
||||||
myconf="${myconf} --with-gadu-libs=."
|
|
||||||
fi
|
|
||||||
|
|
||||||
use silc && DYNAMIC_PRPLS+=",silc"
|
|
||||||
use meanwhile && DYNAMIC_PRPLS+=",sametime"
|
|
||||||
use zeroconf && DYNAMIC_PRPLS+=",bonjour"
|
|
||||||
use groupwise && DYNAMIC_PRPLS+=",novell"
|
|
||||||
use zephyr && DYNAMIC_PRPLS+=",zephyr"
|
|
||||||
|
|
||||||
if use gnutls; then
|
|
||||||
einfo "Disabling NSS, using GnuTLS"
|
|
||||||
myconf+=" --enable-nss=no --enable-gnutls=yes"
|
|
||||||
myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls"
|
|
||||||
myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)"
|
|
||||||
else
|
|
||||||
einfo "Disabling GnuTLS, using NSS"
|
|
||||||
myconf+=" --enable-gnutls=no --enable-nss=yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use dbus || { use ncurses && use python; }; then
|
|
||||||
myconf+=" --with-python=$(PYTHON)"
|
|
||||||
else
|
|
||||||
myconf+=" --without-python"
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf \
|
|
||||||
--disable-silent-rules \
|
|
||||||
$(use_enable ncurses consoleui) \
|
|
||||||
$(use_enable gtk gtkui) \
|
|
||||||
$(use_enable gtk sm) \
|
|
||||||
$(use gtk || use_enable nls) \
|
|
||||||
$(use gtk && echo "--enable-nls") \
|
|
||||||
$(use gtk && use_enable xscreensaver screensaver) \
|
|
||||||
$(use gtk && use_enable prediction cap) \
|
|
||||||
$(use gtk && use_enable eds gevolution) \
|
|
||||||
$(use gtk && use_enable spell gtkspell) \
|
|
||||||
$(use_enable perl) \
|
|
||||||
$(use_enable tk) \
|
|
||||||
$(use_enable tcl) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable meanwhile) \
|
|
||||||
$(use_enable gstreamer) \
|
|
||||||
$(use_enable gstreamer farstream) \
|
|
||||||
$(use_enable gstreamer vv) \
|
|
||||||
$(use_enable sasl cyrus-sasl ) \
|
|
||||||
$(use_enable doc doxygen) \
|
|
||||||
$(use_enable networkmanager nm) \
|
|
||||||
$(use_enable zeroconf avahi) \
|
|
||||||
$(use_enable idn) \
|
|
||||||
--with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \
|
|
||||||
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \
|
|
||||||
--disable-mono \
|
|
||||||
--x-includes="${EPREFIX}"/usr/include/X11 \
|
|
||||||
${myconf}
|
|
||||||
#$(use_enable mono) \
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
if use gtk; then
|
|
||||||
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
|
|
||||||
# implementations that are not complient with new hicolor theme yet, #323355
|
|
||||||
local pixmapdir
|
|
||||||
for d in 16 22 32 48; do
|
|
||||||
pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
|
|
||||||
mkdir "${pixmapdir}" || die
|
|
||||||
pushd "${pixmapdir}" >/dev/null || die
|
|
||||||
for f in ../status/*; do
|
|
||||||
ln -s ${f} || die
|
|
||||||
done
|
|
||||||
popd >/dev/null
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
use perl && fixlocalpod
|
|
||||||
|
|
||||||
dodoc finch/plugins/pietray.py
|
|
||||||
docompress -x /usr/share/doc/${PF}/pietray.py
|
|
||||||
|
|
||||||
find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
|
||||||
}
|
|
@ -1,82 +0,0 @@
|
|||||||
# ChangeLog for net-misc/csync
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/csync/ChangeLog,v 1.15 2013/04/15 18:22:08 kensington Exp $
|
|
||||||
|
|
||||||
*csync-0.70.6 (15 Apr 2013)
|
|
||||||
|
|
||||||
15 Apr 2013; Michael Palimaka <kensington@gentoo.org> +csync-0.70.6.ebuild,
|
|
||||||
-csync-0.70.3.ebuild, -files/csync-0.60.2-automagicness.patch,
|
|
||||||
-files/csync-0.60.4-automagicness.patch, -files/csync-automagicness.patch:
|
|
||||||
Version bump. Remove old.
|
|
||||||
|
|
||||||
*csync-0.70.4-r1 (11 Mar 2013)
|
|
||||||
|
|
||||||
11 Mar 2013; Chris Reffett <creffett@gentoo.org> +csync-0.70.4-r1.ebuild,
|
|
||||||
-csync-0.70.4.ebuild:
|
|
||||||
Revision bump. Move files from /usr/etc/ to /etc/ wrt bug 460760
|
|
||||||
|
|
||||||
*csync-0.70.4 (28 Feb 2013)
|
|
||||||
|
|
||||||
28 Feb 2013; Chris Reffett <creffett@gentoo.org> +csync-0.70.4.ebuild:
|
|
||||||
Version bump wrt bug 459476
|
|
||||||
|
|
||||||
*csync-0.70.3 (31 Jan 2013)
|
|
||||||
|
|
||||||
31 Jan 2013; Tomáš Chvátal <scarabeus@gentoo.org> +csync-0.70.3.ebuild,
|
|
||||||
-csync-0.60.1.ebuild, -csync-0.60.3.ebuild, -csync-0.60.4.ebuild,
|
|
||||||
-csync-0.70.1.ebuild:
|
|
||||||
Version bump to 0.70.3 to support mirall-1.2.0. Punt older.
|
|
||||||
|
|
||||||
*csync-0.70.1 (22 Jan 2013)
|
|
||||||
|
|
||||||
22 Jan 2013; Chris Reffett <creffett@gentoo.org> +csync-0.70.1.ebuild,
|
|
||||||
+files/csync-0.70.1-automagicness.patch:
|
|
||||||
Version bump. Reroll automagic patch, add dev-libs/check dependency
|
|
||||||
|
|
||||||
*csync-0.60.4 (21 Dec 2012)
|
|
||||||
|
|
||||||
21 Dec 2012; Chris Reffett <creffett@gentoo.org> +csync-0.60.4.ebuild,
|
|
||||||
+files/csync-0.60.4-automagicness.patch:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*csync-0.60.3 (14 Dec 2012)
|
|
||||||
|
|
||||||
14 Dec 2012; Chris Reffett <creffett@gentoo.org> +csync-0.60.3.ebuild,
|
|
||||||
+files/csync-0.60.2-automagicness.patch,
|
|
||||||
+files/csync-0.60.2-removebadtest.patch, -csync-0.50.8.ebuild,
|
|
||||||
-csync-0.60.0-r1.ebuild:
|
|
||||||
Version bump, remove old.
|
|
||||||
|
|
||||||
*csync-0.60.1 (16 Nov 2012)
|
|
||||||
|
|
||||||
16 Nov 2012; Johannes Huber <johu@gentoo.org> +csync-0.60.1.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*csync-0.60.0-r1 (17 Oct 2012)
|
|
||||||
|
|
||||||
17 Oct 2012; Michael Palimaka <kensington@gentoo.org> +csync-0.60.0-r1.ebuild,
|
|
||||||
-csync-0.60.0.ebuild:
|
|
||||||
Install docs into the correct directory.
|
|
||||||
|
|
||||||
15 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.60.0.ebuild:
|
|
||||||
Respect docdir.
|
|
||||||
|
|
||||||
*csync-0.60.0 (13 Oct 2012)
|
|
||||||
|
|
||||||
13 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> +csync-0.60.0.ebuild:
|
|
||||||
Bump to latest.
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.50.8.ebuild:
|
|
||||||
Raise the dep over iniparser.
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.50.8.ebuild:
|
|
||||||
Enable external logging.
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.50.8.ebuild:
|
|
||||||
Mark testing on x86.
|
|
||||||
|
|
||||||
*csync-0.50.8 (28 Aug 2012)
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> +csync-0.50.8.ebuild,
|
|
||||||
+files/csync-automagicness.patch, +metadata.xml:
|
|
||||||
Add csync package required for miral owncloud service.
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX csync-0.60.2-removebadtest.patch 549 SHA256 4a25b6a123d67bdf71175baedf382fae93c51d2a578dc50648fde79a322f9c90 SHA512 ac66409b68160d7e0af269707cb35f4a3de0eebcb8c114fa355e2dad18a28e0e11906d1b2cedce1e2c54e1f222db081c0574a36421390cdfb4b89e08c63579f1 WHIRLPOOL 0f9118824c220d154fedd49bb5503d43697646b9c9c6a48315da0ab6d155aeba48b979b45921533f1ee661fc6b08c8bcba6a62a58261ef83bf59a61710246099
|
|
||||||
DIST ocsync-0.70.7.tar.bz2 2108498 SHA256 571c7a822a8e30966c3a7e61a5218b49e8d52e70e8a8ec80d16db786d60bb324 SHA512 3642212c5782d545b450ae507c51c523c9b7df62ead8915b512aa52bdbf37456aa81af33f3ded27e8139691bfd31899988364e108270b28e6e61ab595ca3986e WHIRLPOOL 351392fdeacb9f0d43f244194737917c7141316128a051e722d426188c43c56deccddd05fdaced6eebee6f428af5ab21ff80500e13a6722efd653262c64d7526
|
|
||||||
EBUILD csync-0.70.7.ebuild 1342 SHA256 7644b25a2a7d7d2f6ffddef91d80c77a629a6f90e4ee58df3267dfa1cceb5f63 SHA512 8f60d9f7bcbcb85439d6e1498e08979faaaeb674d3577b8af8221873f1b6ea523520d1b7bb8a4f029c7b8d5cf7f455f5046a32edbdd962fb6a1d8cb4fcfdac46 WHIRLPOOL fae4b125115b1d1eb2c41d82e34cda37b20232daaf5195bc7b6f321d3d4815f964e0df8bf2235a4366c9b5d8c222ddbffcc90256642ba1235ac394ec2dbbf258
|
|
||||||
MISC ChangeLog 2766 SHA256 969a5818575aa89facbc4fedcf03e13c8f08f276d1b0d299f5fb56856c201737 SHA512 4a98657999e48a448b67529c392dec348462ce160f600471d7dbe3b7cec897f8e169d1068ebfcf6d1ce51be2a03d7c9b12fb7321eca77e315b7b3ecac7693350 WHIRLPOOL 6d8c164df6d91d48064974ab9629db2cce8cf5bf915bd14325cdb42c805f016e462ff2d558742bd50ceee4d1a441caecd63bd19f2eda8d5aff808c76f41ebe01
|
|
||||||
MISC metadata.xml 430 SHA256 464dc5e0f521a67ea4e9d9caa6fb7b39ab5087c8477abc3ef1f9479c0ccf8cb5 SHA512 54c512f14aa6640a6e59fe5d7d55079a0457fc14301bb85afc0eb32629daf482f4aed5f9583d4709dcc3ed6cb7e22b00d3af5ae0fde7dbf82296109afd87a0a0 WHIRLPOOL f0b55789474b16a29f27382e1c69df224633264e81d69b7c7c77c7efe0ebd673e625a08b78da748b13b3d1f2d5ae49b461f387e06873872e4d820e055fdc73c3
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/csync/csync-0.70.6.ebuild,v 1.1 2013/04/15 18:22:08 kensington Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit cmake-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A file synchronizer especially designed for you, the normal user"
|
|
||||||
HOMEPAGE="http://csync.org/"
|
|
||||||
SRC_URI="http://download.owncloud.com/download/o${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc iconv samba +sftp test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-db/sqlite:3
|
|
||||||
>=dev-libs/iniparser-3.1
|
|
||||||
net-libs/neon[ssl]
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
samba? ( net-fs/samba )
|
|
||||||
sftp? ( net-libs/libssh )
|
|
||||||
"
|
|
||||||
DEPEND="${DEPEND}
|
|
||||||
app-text/asciidoc
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
test? ( dev-libs/check dev-util/cmocka )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.60.2-removebadtest.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
S="${WORKDIR}/o${P}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
|
|
||||||
# proper docdir
|
|
||||||
sed -e "s:/doc/ocsync:/doc/${PF}:" \
|
|
||||||
-i doc/CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
$(cmake-utils_use test UNIT_TESTING)
|
|
||||||
$(cmake-utils_use_find_package doc Doxygen)
|
|
||||||
$(cmake-utils_use_find_package samba Libsmbclient)
|
|
||||||
$(cmake-utils_use_find_package sftp LibSSH)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
mv "${D}/usr/etc/ocsync" "${D}/etc/"
|
|
||||||
rm -r "${D}/usr/etc/"
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
--- a/tests/vio_tests/check_vio.c
|
|
||||||
+++ b/tests/vio_tests/check_vio.c
|
|
||||||
@@ -505,7 +505,6 @@
|
|
||||||
unit_test_setup_teardown(check_csync_vio_mkdirs_some_exist, setup_dir, teardown),
|
|
||||||
unit_test_setup_teardown(check_csync_vio_rmdir, setup, teardown),
|
|
||||||
unit_test_setup_teardown(check_csync_vio_opendir, setup_dir, teardown),
|
|
||||||
- unit_test_setup_teardown(check_csync_vio_opendir_perm, setup, teardown),
|
|
||||||
unit_test(check_csync_vio_closedir_null),
|
|
||||||
unit_test_setup_teardown(check_csync_vio_readdir, setup_dir, teardown),
|
|
@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>kde</herd>
|
|
||||||
<use>
|
|
||||||
<flag name="log">Enable logging support via <pkg>dev-libs/log4c</pkg></flag>
|
|
||||||
<flag name="sftp">Enable sftp transfer support via <pkg>net-libs/libssh</pkg></flag>
|
|
||||||
<flag name="webdav">Adds support for HTTP/dav content via <pkg>net-libs/neon</pkg></flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
@ -1,101 +0,0 @@
|
|||||||
# ChangeLog for net-misc/mirall
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/mirall/ChangeLog,v 1.22 2013/04/15 17:43:10 kensington Exp $
|
|
||||||
|
|
||||||
*mirall-1.2.4 (15 Apr 2013)
|
|
||||||
|
|
||||||
15 Apr 2013; Michael Palimaka <kensington@gentoo.org> +mirall-1.2.4.ebuild,
|
|
||||||
-files/mirall-1.2.0_beta2-automagicness.patch, -mirall-1.2.0.ebuild:
|
|
||||||
Version bump wrt bug #464612. Remove old.
|
|
||||||
|
|
||||||
02 Apr 2013; Michael Palimaka <kensington@gentoo.org> mirall-1.2.1-r1.ebuild:
|
|
||||||
Fix build with USE="doc" wrt bug #463712.
|
|
||||||
|
|
||||||
*mirall-1.2.1-r1 (11 Mar 2013)
|
|
||||||
|
|
||||||
11 Mar 2013; Chris Reffett <creffett@gentoo.org> +mirall-1.2.1-r1.ebuild,
|
|
||||||
-mirall-1.2.1.ebuild:
|
|
||||||
Revision bump, move files from /usr/etc/ to /etc/ wrt bug 460760
|
|
||||||
|
|
||||||
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> mirall-1.2.0.ebuild,
|
|
||||||
mirall-1.2.1.ebuild:
|
|
||||||
Move Qt dependencies to the new category
|
|
||||||
|
|
||||||
*mirall-1.2.1 (28 Feb 2013)
|
|
||||||
|
|
||||||
28 Feb 2013; Chris Reffett <creffett@gentoo.org> +mirall-1.2.1.ebuild:
|
|
||||||
Version bump wrt bug 459476
|
|
||||||
|
|
||||||
07 Feb 2013; Ulrich Müller <ulm@gentoo.org> mirall-1.2.0.ebuild:
|
|
||||||
Move Creative Commons licenses to shorter names.
|
|
||||||
|
|
||||||
03 Feb 2013; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.2.0.ebuild:
|
|
||||||
Drop languages as the setup as now is broken because it does not match
|
|
||||||
linguas.
|
|
||||||
|
|
||||||
*mirall-1.2.0 (31 Jan 2013)
|
|
||||||
|
|
||||||
31 Jan 2013; Tomáš Chvátal <scarabeus@gentoo.org> +mirall-1.2.0.ebuild,
|
|
||||||
-mirall-1.1.2.ebuild, -mirall-1.1.4.ebuild, -mirall-1.2.0_beta2.ebuild:
|
|
||||||
Version bump to mirall-1.2.0. Punt older.
|
|
||||||
|
|
||||||
22 Jan 2013; Chris Reffett <creffett@gentoo.org> mirall-1.2.0_beta2.ebuild:
|
|
||||||
Fix use of { instead of ( in cmake-utils_use_with (though documentation
|
|
||||||
doesn't build right now to start with).
|
|
||||||
|
|
||||||
*mirall-1.2.0_beta2 (22 Jan 2013)
|
|
||||||
|
|
||||||
22 Jan 2013; Chris Reffett <creffett@gentoo.org>
|
|
||||||
+files/mirall-1.2.0_beta2-automagicness.patch, +mirall-1.2.0_beta2.ebuild:
|
|
||||||
Version bump. Add patch to fix some automagicness.
|
|
||||||
|
|
||||||
*mirall-1.1.4 (21 Dec 2012)
|
|
||||||
|
|
||||||
21 Dec 2012; Chris Reffett <creffett@gentoo.org> +mirall-1.1.4.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*mirall-1.1.2 (14 Dec 2012)
|
|
||||||
|
|
||||||
14 Dec 2012; Chris Reffett <creffett@gentoo.org> +mirall-1.1.2.ebuild,
|
|
||||||
-mirall-1.0.5.ebuild, -mirall-1.1.0.ebuild, -mirall-1.1.1-r1.ebuild,
|
|
||||||
metadata.xml:
|
|
||||||
Version bump, remove old.
|
|
||||||
|
|
||||||
30 Nov 2012; Chris Reffett <creffett@gentoo.org> mirall-1.1.1-r1.ebuild:
|
|
||||||
Make the USEs enabled by default in the csync ebuild enabled by default here
|
|
||||||
too.
|
|
||||||
|
|
||||||
*mirall-1.1.1-r1 (30 Nov 2012)
|
|
||||||
|
|
||||||
30 Nov 2012; Chris Reffett <creffett@gentoo.org> +mirall-1.1.1-r1.ebuild,
|
|
||||||
-mirall-1.1.1.ebuild, metadata.xml:
|
|
||||||
Add USE-conditional deps on csync USE flags wrt bug 433165
|
|
||||||
|
|
||||||
*mirall-1.1.1 (16 Nov 2012)
|
|
||||||
|
|
||||||
16 Nov 2012; Johannes Huber <johu@gentoo.org> +mirall-1.1.1.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
15 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.1.0.ebuild:
|
|
||||||
Fix finding csync when we are not using the internal one. Resolves bug#438290.
|
|
||||||
|
|
||||||
*mirall-1.1.0 (13 Oct 2012)
|
|
||||||
|
|
||||||
13 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> +mirall-1.1.0.ebuild,
|
|
||||||
mirall-1.0.5.ebuild:
|
|
||||||
Version bump to latest.
|
|
||||||
|
|
||||||
09 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.0.5.ebuild:
|
|
||||||
Depend also on qt-test. Failed on one of my boxes without.
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.0.5.ebuild:
|
|
||||||
Shutup repoman.
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.0.5.ebuild:
|
|
||||||
Do not use kde eclass as it is just pure qt stuff.
|
|
||||||
|
|
||||||
*mirall-1.0.5 (28 Aug 2012)
|
|
||||||
|
|
||||||
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> +metadata.xml,
|
|
||||||
+mirall-1.0.5.ebuild:
|
|
||||||
Add mirall to access owncloud services and so on. Fixes bug #412507.
|
|
@ -1,4 +0,0 @@
|
|||||||
DIST mirall-1.2.5.tar.bz2 644858 SHA256 ff3e45b6e681363eb435deed55cc654c903f04597270cb1b966b0ac8d72758b8 SHA512 220c65dfa899b6149b66de82f7efb74a00158c6a52e1effc333dae1a4e6e09e3c9603c6ce5e6dc64dc9c3d2e262f57e18e65a4b263810f0c78489b98ba9c98d5 WHIRLPOOL 414314f5483de7baa0ed3f0370808a4b9b65cd8f9f42a653dfd862cd925a909434afc8e45965c0a0c4f17fb76adc21f798684a988a48ed8ae6dd08d8b574ecc6
|
|
||||||
EBUILD mirall-1.2.5.ebuild 1414 SHA256 751598038f2c10340beb82e2bd5d5f02dd4f6cbb9f55a5cde3fb345b62d7fd54 SHA512 3a4508b020798cb421d1257360d67deba9d397f34f88c295383de6d81eba9e9fd460f2fb89b46a4ba7aa2cfd0e176ab43964aa9ebca466fb23714a3f2b15cc91 WHIRLPOOL ccb820170741482cc428efbae5d5175941fe6073ea6401a52061c3a764cc4504aac9dfbd11b00417eb519a2a01b9644882b2c0732efa567e16a3ac97f691f388
|
|
||||||
MISC ChangeLog 3642 SHA256 443ce685562f6310a9708d44b3b6a4d310184fd48c1124516324870a6341da11 SHA512 4c98d8bc20af3af2e0686934de4d4924dc2e0c0930f9b8203a99136140b4fe0294b2f551f0d618653e7c065414ec9947330f17a091ae3bbcb231cc53423ad0fe WHIRLPOOL 34cfb74d4b734d1475a2ceb01b120bbb34d33d742c4be8c2c46251b68f35e4531e067a68ed46dc059f10533900295a68b3174b45b2fe84ceb3fa5d040b8cf499
|
|
||||||
MISC metadata.xml 157 SHA256 01f6fa4357ce08e8b0f7900a51fa78c7f060fefc7c7da98acaec1e283dd59892 SHA512 657d6b0a31ceb7ac10bedfd5cbd634d4ff47938bd2f321203f0233e53686f7e0fd460e81f82793804895c7e97cfa472c1ca44b93314574262ee8cc5745a3efd0 WHIRLPOOL 785331909f1834cdd5d797ad484ea0e35c3e44c79a8a7517a6fb5de926acd181abd57910c8d960fb2e11ea38ddea336bca309af16fcc2df68fe4b602bca120b3
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>kde</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/mirall/mirall-1.2.4.ebuild,v 1.1 2013/04/15 17:43:10 kensington Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit cmake-utils
|
|
||||||
|
|
||||||
MY_P="${PN}-${PV/_/}"
|
|
||||||
|
|
||||||
DESCRIPTION="Synchronization of your folders with another computers"
|
|
||||||
HOMEPAGE="http://owncloud.org/"
|
|
||||||
SRC_URI="http://download.owncloud.com/download/${MY_P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="CC-BY-3.0 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=net-misc/csync-0.70.4
|
|
||||||
sys-fs/inotify-tools
|
|
||||||
dev-qt/qtcore:4
|
|
||||||
dev-qt/qtgui:4
|
|
||||||
dev-qt/qttest:4
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? (
|
|
||||||
dev-python/sphinx
|
|
||||||
dev-texlive/texlive-latexextra
|
|
||||||
virtual/latex-base
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
export CSYNC_DIR="${EPREFIX}/usr/include/ocsync/"
|
|
||||||
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
|
|
||||||
$(cmake-utils_use_with doc)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use doc && cmake-utils_src_compile -j1 doc
|
|
||||||
cmake-utils_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake-utils_src_install
|
|
||||||
mkdir "${D}/etc/"
|
|
||||||
mv "${D}/usr/etc/sync-exclude.lst" "${D}/etc/"
|
|
||||||
rm -r "${D}/usr/etc/"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! has_version net-misc/csync[samba]; then
|
|
||||||
elog "For samba support, build net-misc/csync with USE=samba"
|
|
||||||
fi
|
|
||||||
if ! has_version net-misc/csync[sftp]; then
|
|
||||||
elog "For sftp support, build net-misc/csync with USE=sftp"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
DIST homer-conferencing-0.24.1.tar.gz 1297045 SHA256 738cd4a1e8b437936c904bdea649c0ee12ecca2caa1bef5c585925eabe84ff44 SHA512 ea2d1a5224048668e20a62f142370910f337b3b56b94c9a92a9b7530652ceed67a59223fac57ee0d835c31545d2d06c21329a0463680936d32a1455dbb2fac33 WHIRLPOOL b16ccdea6c5ea0845aca4f31a2d6258cf6a71258c531ee36a02b2844814df73b26229ffc96129532b4f9c1f2070a9cd279b720b7286e691e488bc7b524c47278
|
|
||||||
EBUILD homer-conferencing-0.24.1.ebuild 1478 SHA256 d5745b04454eceb421fe1b096c346e518914e3c3a8eb87a6ac5bbc8dc49ec680 SHA512 8a09a31995e254a60a01f9e43f2c574c42af47a599aa37546917ee37cb02eddb5ae8dcf7ff5c68d77c5d71c2ad1b91b4ac4dae01259f619b490d739ebf86ac3f WHIRLPOOL 9414d4087eec7a4df7fad0f1036209bc94415f6fd85dd818c8b23b883fdbed768b9e6fb05eb7cb6b259d5595a3de41bbee54d48e0965203ab9b99baa86738f98
|
|
||||||
EBUILD homer-conferencing-9999.ebuild 1478 SHA256 d5745b04454eceb421fe1b096c346e518914e3c3a8eb87a6ac5bbc8dc49ec680 SHA512 8a09a31995e254a60a01f9e43f2c574c42af47a599aa37546917ee37cb02eddb5ae8dcf7ff5c68d77c5d71c2ad1b91b4ac4dae01259f619b490d739ebf86ac3f WHIRLPOOL 9414d4087eec7a4df7fad0f1036209bc94415f6fd85dd818c8b23b883fdbed768b9e6fb05eb7cb6b259d5595a3de41bbee54d48e0965203ab9b99baa86738f98
|
|
@ -1,61 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit eutils multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Homer Conferencing (short: Homer) is a free SIP softphone with advanced audio and video support."
|
|
||||||
HOMEPAGE="http://www.homer-conferencing.com"
|
|
||||||
|
|
||||||
MY_PN="Homer-Conferencing"
|
|
||||||
BINARY="Homer"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-2
|
|
||||||
EGIT_REPO_URI="git://github.com/${MY_PN}/${MY_PN}.git"
|
|
||||||
KEYWORDS=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/V${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/openssl-1.0
|
|
||||||
media-libs/alsa-lib
|
|
||||||
>=media-libs/libsdl-1.2[X,audio,video,alsa]
|
|
||||||
media-libs/portaudio[alsa]
|
|
||||||
>=media-libs/sdl-mixer-1.2
|
|
||||||
>=media-libs/sdl-sound-1.0
|
|
||||||
media-libs/x264
|
|
||||||
media-video/ffmpeg
|
|
||||||
>=net-libs/sofia-sip-1.12
|
|
||||||
>=x11-libs/qt-core-4.6:4
|
|
||||||
>=x11-libs/qt-gui-4.6:4
|
|
||||||
>=x11-libs/qt-webkit-4.6:4"
|
|
||||||
DEPEND="dev-util/cmake
|
|
||||||
${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C HomerBuild all \
|
|
||||||
INSTALL_PREFIX=/usr/bin \
|
|
||||||
INSTALL_LIBDIR=/usr/$(get_libdir) \
|
|
||||||
INSTALL_DATADIR=/usr/share/${PN} \
|
|
||||||
|| die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake -C HomerBuild install \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
|| die "make install failed"
|
|
||||||
|
|
||||||
# Create .desktop entry
|
|
||||||
newicon "${BINARY}"/"${BINARY}".png "${MY_PN}".png
|
|
||||||
make_desktop_entry "${BINARY}" "${MY_PN}" "${MY_PN}" "Network;InstantMessaging;Telephony;VideoConference"
|
|
||||||
}
|
|
@ -1,61 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit eutils multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Homer Conferencing (short: Homer) is a free SIP softphone with advanced audio and video support."
|
|
||||||
HOMEPAGE="http://www.homer-conferencing.com"
|
|
||||||
|
|
||||||
MY_PN="Homer-Conferencing"
|
|
||||||
BINARY="Homer"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-2
|
|
||||||
EGIT_REPO_URI="git://github.com/${MY_PN}/${MY_PN}.git"
|
|
||||||
KEYWORDS=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/V${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/openssl-1.0
|
|
||||||
media-libs/alsa-lib
|
|
||||||
>=media-libs/libsdl-1.2[X,audio,video,alsa]
|
|
||||||
media-libs/portaudio[alsa]
|
|
||||||
>=media-libs/sdl-mixer-1.2
|
|
||||||
>=media-libs/sdl-sound-1.0
|
|
||||||
media-libs/x264
|
|
||||||
media-video/ffmpeg
|
|
||||||
>=net-libs/sofia-sip-1.12
|
|
||||||
>=x11-libs/qt-core-4.6:4
|
|
||||||
>=x11-libs/qt-gui-4.6:4
|
|
||||||
>=x11-libs/qt-webkit-4.6:4"
|
|
||||||
DEPEND="dev-util/cmake
|
|
||||||
${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C HomerBuild all \
|
|
||||||
INSTALL_PREFIX=/usr/bin \
|
|
||||||
INSTALL_LIBDIR=/usr/$(get_libdir) \
|
|
||||||
INSTALL_DATADIR=/usr/share/${PN} \
|
|
||||||
|| die "make failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake -C HomerBuild install \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
|| die "make install failed"
|
|
||||||
|
|
||||||
# Create .desktop entry
|
|
||||||
newicon "${BINARY}"/"${BINARY}".png "${MY_PN}".png
|
|
||||||
make_desktop_entry "${BINARY}" "${MY_PN}" "${MY_PN}" "Network;InstantMessaging;Telephony;VideoConference"
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
DIST CGAL-4.7-1.tar.xz 13673360 SHA256 50bd0a1cad7a8957b09012f831eebaf7d670e2a3467e8f365ec0c71fa5436369 SHA512 8126e861fb091a21a0eaf777205d5d688a0d33f005b91c85b2e5fb91afa66796611ec8a314647a322141169483ab8ff0dba769840bf4fb0f4397cf167172b21f WHIRLPOOL 6f1b0c9855161c0841faf1022742fd09157d5605fb5d5046d2b3bde1f1027b3ee6813ac631fb981f026239e0027434102c16d25b1dfda8619c571adc8639a921
|
|
||||||
DIST CGAL-4.7-doc_html-1.tar.xz 25248068 SHA256 2a15a16229dd90f991ea976761c8ae3c1f9e09f4023bb4446629c3b948a3b9bd SHA512 7542d1937c8cd8cfd174aa67b74b1e242c1dbbd40ca772eb0b7bdc80a947f0851222b10d098193b5c2cab1fe3f32cd40ab2555248bd99b7a29c296df288dabf7 WHIRLPOOL f7657994ffa71e4c5f30b75060cd87fc46686b5d2e1a05012b36a0c0f2a6b2ddcf40b9fb1ae038c69e3f363d12e92acf6455c2ad2838567d3a1cc31dd4722c54
|
|
||||||
EBUILD cgal-4.7.ebuild 1658 SHA256 bc1df088085e98fdab32b5704a751ffe1f38b8ff38804720b416cfe3534042fd SHA512 6f1cb8a7be48557243f5440650abb5ef2f3c2e711450106b7ab325561473d912fff8bcf74ccfbb21c19042d0bb37234b2e5de3f2b4f0ea8adce92dbed93d59d2 WHIRLPOOL 64dafd5513dfd5673f4fd3bb11b34b85fa62af510025e5409d87895d1bc4412029eff17c4e7cca41c6982e690db2c7c9acd45407c7a75d979caeabab90a68ad5
|
|
||||||
MISC metadata.xml 1176 SHA256 cb26cc714b9f3fefb7c52a2f1d8a1b314193013d359e1d0edbc7096226683cf0 SHA512 5cf662c5843200b28ff691d04751d4b1b44bb0699a318233c05e4713f097da8432be5ac9b69a6ceb44abf8e213fbe711e1da1db75b3889a1c639d091f230ae22 WHIRLPOOL 56ee6667f068eea00b833fd8451062ccf659b70ddcd2ad3e4e5fc043ec5655c2263f637c49cd4880a652e73be6227115de682dda1dbe7738f44b7031255c7cd0
|
|
@ -1,74 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
CMAKE_BUILD_TYPE=Release
|
|
||||||
|
|
||||||
inherit multilib cmake-utils
|
|
||||||
|
|
||||||
MY_P=CGAL-${PV}
|
|
||||||
|
|
||||||
DESCRIPTION="C++ library for geometric algorithms and data structures"
|
|
||||||
HOMEPAGE="http://www.cgal.org/ https://gforge.inria.fr/projects/cgal/"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}.tar.xz -> ${MY_P}-1.tar.xz
|
|
||||||
doc? ( https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}-doc_html.tar.xz -> ${MY_P}-doc_html-1.tar.xz )"
|
|
||||||
|
|
||||||
LICENSE="LGPL-3 GPL-3 Boost-1.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc examples +gmp mpfi qt4 +tbb"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/boost
|
|
||||||
dev-libs/mpfr:0
|
|
||||||
sys-libs/zlib
|
|
||||||
x11-libs/libX11
|
|
||||||
virtual/glu
|
|
||||||
virtual/opengl
|
|
||||||
gmp? ( dev-libs/gmp[cxx] )
|
|
||||||
qt4? (
|
|
||||||
dev-qt/qtgui:4
|
|
||||||
dev-qt/qtopengl:4
|
|
||||||
)
|
|
||||||
mpfi? ( sci-libs/mpfi )
|
|
||||||
tbb? ( dev-cpp/tbb )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
DOCS="AUTHORS CHANGES* README"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake-utils_src_prepare
|
|
||||||
sed \
|
|
||||||
-e '/install(FILES AUTHORS/d' \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCGAL_INSTALL_LIB_DIR=$(get_libdir)
|
|
||||||
-DWITH_CGAL_Qt3=OFF
|
|
||||||
-DWITH_LEDA=OFF
|
|
||||||
$(cmake-utils_use_with gmp)
|
|
||||||
$(cmake-utils_use_with gmp GMPXX)
|
|
||||||
$(cmake-utils_use_with qt4 CGAL_Qt4)
|
|
||||||
$(cmake-utils_use_with mpfi)
|
|
||||||
$(cmake-utils_use_with tbb)
|
|
||||||
)
|
|
||||||
cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
use doc && HTML_DOCS=( "${WORKDIR}"/doc_html/. )
|
|
||||||
cmake-utils_src_install
|
|
||||||
if use examples; then
|
|
||||||
insinto /usr/share/doc/${PF}
|
|
||||||
doins -r examples demo
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>sci-mathematics@gentoo.org</email>
|
|
||||||
<name>Gentoo Mathematics Project</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription lang="en">
|
|
||||||
The Computational Geometry Algorithms Library is a collaborative
|
|
||||||
open source library containing:
|
|
||||||
* the Kernel with geometric primitives such as points, vectors,
|
|
||||||
lines, predicates for testing things such as relative positions of
|
|
||||||
points, and operations such as intersections and distance calculation.
|
|
||||||
* the Basic Library which is a collection of standard data
|
|
||||||
structures and geometric algorithms, such as convex hull in 2D/3D,
|
|
||||||
(Delaunay) triangulation in 2D/3D, planar map, polyhedron, smallest
|
|
||||||
enclosing circle, and multidimensional query structures.
|
|
||||||
* the Support Library which offers interfaces to other packages,
|
|
||||||
e.g., for visualisation, and I/O, and other support facilities.
|
|
||||||
</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name="mpfi">Enable support for multiple recision interval arithmetic via <pkg>sci-mathematics/mpfi</pkg></flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
6
sys-apps/hdparm/Manifest
Normal file
6
sys-apps/hdparm/Manifest
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
AUX hdparm-9.48-sysmacros.patch 474 SHA256 6e75ceceac0065586af5982822d3c54fbd189dbd929102d40ac3fbf372fc1698 SHA512 cd12a544f6149076c48657f572d71dbc400fa80fa26e6604325d3812159f2a3cd3ab79d8f248b64aac3db7c9913c6f406e427cab62103c927274ff6439a4151a WHIRLPOOL 453542b64f9c64dce17824a46d4d81468b79f7252eb8dc502578264cc3735d15c08ee69a61e98be5e451f4477e05c4fdf70248ec2267d4d177295e9f515ce65c
|
||||||
|
AUX hdparm-conf.d.3 872 SHA256 37c95ff723fa578e9039613d09dbf790d99113a318c065422986c744519214e9 SHA512 968c6b9d26a71bf724728c259d35a499a644496875eac255dcac3cb4a7e5cadb677a4f6e5e0f8bbd7e1826b6fb77cb39af15b11d1e59b3e9daf9ba442b9e6f02 WHIRLPOOL 110d330860c4f5e3b1626b85ab369a02e5c092acf656edc845a2f311b5349644317ec2021063a0fb977d3b9851e0bb9c54fd66e814a080d6af3aa0f05fbd658b
|
||||||
|
AUX hdparm-init-9 1753 SHA256 8ed1f82087a22cab4c94d498054a208fc01f0156fc0c1701ce3ac2cf5e48bc91 SHA512 c2cb54c271eee8311cf9cccf27a22bd51227f9148efbe35e43192ad154e5c5f4358eed56e7d9159790abc6fc98ae89bd6d44c8edcd30d796b3cd4dea7f23f17f WHIRLPOOL 9aef4a277c9faa36793829c3f9a4e7cd2cdd70cdd48d61a09ce671660f799c5167f2caebd4bb3abe0947b824f329cd6ee237f2c25c1b0e4647ca48cd208015e0
|
||||||
|
DIST hdparm-9.48.tar.gz 130277 SHA256 ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee SHA512 5b8908a762d892c403406da4798202bed95f035396e3c49f04da910fa53a6b442a7d7c9cb1e5d786d7c8c5a1b681c8d1db10f1bd8dad09600a6f3811fbf8afb7 WHIRLPOOL 4f17e6622a9c6516834b0487c0d73ba7aaaffcd5381cbcf03c01fa936924975c3fb7190052c4d1bba7a0b53a53fc9b910fe4c71440f4a556d533d43ecd474516
|
||||||
|
EBUILD hdparm-9.48-r1.ebuild 1063 SHA256 7e5ffebc9255afec667778f1e5596553da72c1be2532de217990dea84f7e92fa SHA512 cff8cd7024c94f483b59038f79101d83d08b5173d5d1bbd4211112925a5dcf929015c081094764b44d0e6f418bbc30d0051c43152543e32a617402e95fd09b88 WHIRLPOOL 0c1716cb2c5bbf8d32d7a2a9058881c60f236ce6481736099aac4ad612da747785dcf03335e577b1135773ee6c19ddda0e8dcc5eeabc8b7ac7ef3db28475d41c
|
||||||
|
MISC metadata.xml 326 SHA256 7be17151b3f5f5c65b8edad44e9c49ac62d306f856a257b67e0f01a1d6b1796d SHA512 39219fcef0756910c51e804cf94170408208840e7b88d99b4583f8fcfb02e1664358f9d4bf4c3f1a1a619b6a87852bc4831c93f10215500842023132a85c2287 WHIRLPOOL 0c72b42d0ce47a7985115e1f65cd3a25bee06d41807b746e32966d69de586d4a84e22ffba08d1fbe0f0526d80074d8433813652e4512cadee0bbc847dac19e1b
|
23
sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch
Normal file
23
sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
https://bugs.gentoo.org/580052
|
||||||
|
https://sourceforge.net/p/hdparm/patches/44/
|
||||||
|
|
||||||
|
--- a/geom.c
|
||||||
|
+++ b/geom.c
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <dirent.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
#include <linux/fs.h>
|
||||||
|
--- a/sysfs.c
|
||||||
|
+++ b/sysfs.c
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
#include <dirent.h>
|
||||||
|
#include <limits.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
#include "hdparm.h"
|
26
sys-apps/hdparm/files/hdparm-conf.d.3
Normal file
26
sys-apps/hdparm/files/hdparm-conf.d.3
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm
|
||||||
|
|
||||||
|
#
|
||||||
|
# Note that options such as -y which force *immediate* power saving options
|
||||||
|
# should generally not be placed here. The hdparm init.d script may run at
|
||||||
|
# anytime with respect to other init.d scripts that do system wide drive
|
||||||
|
# scans (like the hald script), so they will merely get spun right back up.
|
||||||
|
# If you wish to use these options, please use the local.start init.d script
|
||||||
|
# instead so that you're guaranteed that it will run last.
|
||||||
|
#
|
||||||
|
|
||||||
|
# You can either set hdparm arguments for each drive using hdX_args,
|
||||||
|
# discX_args, cdromX_args and genericX_args, e.g.
|
||||||
|
#
|
||||||
|
# hda_args="-d1 -X66"
|
||||||
|
# disc1_args="-d1"
|
||||||
|
# cdrom0_args="-d1"
|
||||||
|
|
||||||
|
# or you can set options for all PATA drives
|
||||||
|
pata_all_args="-d1"
|
||||||
|
|
||||||
|
# or you can set options for all SATA drives
|
||||||
|
sata_all_args=""
|
||||||
|
|
||||||
|
# or, you can set hdparm options for all drives
|
||||||
|
all_args=""
|
77
sys-apps/hdparm/files/hdparm-init-9
Executable file
77
sys-apps/hdparm/files/hdparm-init-9
Executable file
@ -0,0 +1,77 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
before bootmisc
|
||||||
|
}
|
||||||
|
|
||||||
|
do_hdparm() {
|
||||||
|
local e=
|
||||||
|
eval e=\$${extra_args}
|
||||||
|
[ -z "${args}${all_args}${e}" ] && return 0
|
||||||
|
|
||||||
|
if [ -n "${args:=${all_args} ${e}}" ] ; then
|
||||||
|
local orgdevice=$(readlink -f "${device}")
|
||||||
|
if [ -b "${orgdevice}" ] ; then
|
||||||
|
ebegin "Running hdparm on ${device}"
|
||||||
|
hdparm ${args} "${device}" > /dev/null
|
||||||
|
eend $?
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
scan_nondevfs() {
|
||||||
|
# non-devfs compatible system
|
||||||
|
local device
|
||||||
|
|
||||||
|
for device in /dev/hd* /dev/sd* /dev/cdrom* ; do
|
||||||
|
[ -e "${device}" ] || continue
|
||||||
|
case "${device}" in
|
||||||
|
*[0-9]) continue ;;
|
||||||
|
/dev/hd*) extra_args="pata_all_args" ;;
|
||||||
|
/dev/sd*) extra_args="sata_all_args" ;;
|
||||||
|
*) extra_args="_no_xtra_args" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# check that the block device really exists by
|
||||||
|
# opening it for reading
|
||||||
|
local errmsg= status= nomed=1
|
||||||
|
errmsg=$(export LC_ALL=C ; : 2>&1 <"${device}")
|
||||||
|
status=$?
|
||||||
|
case ${errmsg} in
|
||||||
|
*": No medium found") nomed=0;;
|
||||||
|
esac
|
||||||
|
args=""
|
||||||
|
if [ -b "${device}" ] && [ "${status}" = "0" -o "${nomed}" = "0" ] ; then
|
||||||
|
local conf_var="${device##*/}_args"
|
||||||
|
eval args=\$${conf_var}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# allows a disk to be configured using its id (override above)
|
||||||
|
# we replace all dashes by underscores
|
||||||
|
for alias in /dev/disk/by-id/* ; do
|
||||||
|
if [ "${alias}" -ef "${device}" ] ; then
|
||||||
|
eval args_tmp=\$"$(basename "${alias}" | sed -e 's/-/_/g' -e 's/:/_/g')"_args
|
||||||
|
if [ -n "${args_tmp}" ]; then
|
||||||
|
args="${args_tmp}"
|
||||||
|
fi
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -n "$args" ]; then
|
||||||
|
do_hdparm
|
||||||
|
fi;
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
if get_bootparam "nohdparm" ; then
|
||||||
|
ewarn "Skipping hdparm init as requested in kernel cmdline"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
scan_nondevfs
|
||||||
|
}
|
42
sys-apps/hdparm/hdparm-9.48-r1.ebuild
Normal file
42
sys-apps/hdparm/hdparm-9.48-r1.ebuild
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit toolchain-funcs flag-o-matic eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Utility to change hard drive performance parameters"
|
||||||
|
HOMEPAGE="http://sourceforge.net/projects/hdparm/"
|
||||||
|
SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD GPL-2" # GPL-2 only
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
|
||||||
|
IUSE="static"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${P}-sysmacros.patch #580052
|
||||||
|
use static && append-ldflags -static
|
||||||
|
sed -i \
|
||||||
|
-e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
|
||||||
|
-e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
|
||||||
|
Makefile || die "sed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake STRIP=: CC="$(tc-getCC)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
into /
|
||||||
|
dosbin hdparm contrib/idectl
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/hdparm-init-9 hdparm
|
||||||
|
newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm
|
||||||
|
|
||||||
|
doman hdparm.8
|
||||||
|
dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
|
||||||
|
docinto wiper
|
||||||
|
dodoc wiper/{README.txt,wiper.sh}
|
||||||
|
}
|
11
sys-apps/hdparm/metadata.xml
Normal file
11
sys-apps/hdparm/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>base-system@gentoo.org</email>
|
||||||
|
<name>Gentoo Base System</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="sourceforge">hdparm</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -1,9 +0,0 @@
|
|||||||
# ChangeLog for www-apps/nzbgetweb
|
|
||||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
*nzbgetweb-1.5 (30 Oct 2012)
|
|
||||||
|
|
||||||
30 Oct 2012; Torsten Kurbad <gentoo@tk-webart.de> +nzbgetweb-1.5.ebuild,
|
|
||||||
+metadata.xml:
|
|
||||||
initial ebuild
|
|
@ -1,4 +0,0 @@
|
|||||||
DIST nzbgetweb-1.5.zip 52470 SHA256 5bab6f812453a5673cb5893e20b5a674e2e20887e70cb3ba32389661d9d89384 SHA512 6320e7a85f9ffd9d2523c4a10a57e416947403fb52f30c1e836d934499c343c3c76ea21699869b5fc862c9ad0281f0850ff226da77f5011a5e08b529c463aff4 WHIRLPOOL f2d0080bb43f8d8e16091edf6e9511c529e16bff7552b65b0f43800d287d68f040cee5561cf8f13cdc15f732a6821882e3ca75b60a1c870de9a87cbba392708d
|
|
||||||
EBUILD nzbgetweb-1.5.ebuild 750 SHA256 28b99091c5595ad1ec31e2e40d3d23ffe17a5e590a8df27978e30ba24cbd37c7 SHA512 8f2c6503612d8dc8ea91a2d63e103fec40bcd0356003da210118669e5fea0add20021331fde03f8b93d3997e2f7c21e47900f6cc30f630fbd684079a30f1fc50 WHIRLPOOL be7929373467f6db76e84c5d951d984ce3e4560cc272a44e69ac4c91b4d4bc7cfc47930d07e84f10ed3d1299316e07f728aea2ca7b183275ba3a5c631e31b7f5
|
|
||||||
MISC ChangeLog 258 SHA256 c70500e97a384e8aadffcf2c77e36f56ad44c87de4c200854fec85ff7d5125ef SHA512 0af4ec5f3ba9fdd527622520d5fa12520e0238b259b36c5d5023f36e30f6d0008fc73f1f4984f6659a908ee69a7011b38a9445538342a867b7f2008aae1ccfba WHIRLPOOL 84adcaf7f3de7d433e8aed5429d13a13c6af6584de7307b7a9c6917926a6b33579e458a7924cbba67a9e486b9bdbb903d79cfa6173707d77b7ecb3268fae9ccd
|
|
||||||
MISC metadata.xml 229 SHA256 1dc92f5b2030f244164224424f100de3bd51b83de33eca93b2df2e30a23db61c SHA512 20398591940a347d6f2fd6b202833c9ff6482f05c760ee8001bc82127901b5800f00d11ccb3902a92b4c1bdd2c47f6e0c118654d0146312443369ec84f676907 WHIRLPOOL 35415755173534553f652b588970e2c0e8a8e9b0f90a94b72a8a67ab17c87138036bf0132b651d4c261dc69819029700163f5e549dd166c4ae60726f1088d685
|
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit eutils webapp depend.php
|
|
||||||
|
|
||||||
DESCRIPTION="Web interface for nzbget NNTP client < 0.9"
|
|
||||||
HOMEPAGE="http://nzbget.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/nzbget/web-interface-stable/${P}.zip"
|
|
||||||
RESTRICT="nomirror"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-lang/php[xml,xmlrpc]"
|
|
||||||
|
|
||||||
need_httpd_cgi
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
dodoc COPYING README ChangeLog || die
|
|
||||||
rm -f COPYING README ChangeLog
|
|
||||||
|
|
||||||
insinto "${MY_HTDOCSDIR}"
|
|
||||||
doins -r .
|
|
||||||
|
|
||||||
webapp_configfile "${MY_HTDOCSDIR}"/settings-template.php
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,34 +0,0 @@
|
|||||||
AUX chromium-arm-r0.patch 495 SHA256 3c6138787d83390100fa6b7571759e975c9011e3ae345c6bbbb1e00a9e611e60 SHA512 5438e04d870752e945d3fe6f0f623f82724c59b8226be314243119c04605e0d5835e0b2c3657f550ef19f0645bcf889643315a8016bcad5c466ebb78a89a5331 WHIRLPOOL 5706bd14249b30cff386e25967a46011f5fa9ed3b27a96bbeece73d2b726642d6fc3fc8848a67f0f20b31bccff77b4e8145c7c6c03c807259d3daf2038dc3643
|
|
||||||
AUX chromium-blink-crash-r0.patch 533 SHA256 79a174c3ff58dd4e4b340a498f0f59b915a3fe6605b82002d6dbaf7145bd3ef8 SHA512 51db3e10d36dd40f7cb446784769802f5aac6c5ba1cbc17d50a2b13d958d4c6ce81afeb094211988fafc7df1946e18e65c7fab9430dad718b14f078cdc2119c4 WHIRLPOOL 9b5eff70013f5c54197d569bee23a228037dd8c66476665ea39b80fdd5da778fac90bd9c181fe4a260cbab0993a9f67e3dce40f5ab80c713d5a892dbcd049d65
|
|
||||||
AUX chromium-browser.xml 407 SHA256 bc039012f8677468e9ce5df825f9d8096be6deb5813031c86a087c88105096ff SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca WHIRLPOOL be37cd2e7d02c510e84c484f32ab6ab2e1f38a2a03c0cdbc9b6b485d64feaf79944d8ce097f0838ae9bc71c42401b633350b847ad316b8e23cf5614e3913e7ec
|
|
||||||
AUX chromium-build_ffmpeg-r0.patch 3142 SHA256 625f9a9695ba4960010bc96998798a1c7732fb6a1f4e375151ee2fb745489031 SHA512 da346f9f5e40385fc4a9b1ad8182b9676c1443ecfcc6efd76547389e2a6dca6814eaee75096e64e431d35069defade81a418559515a78d11476ef5d1a49add47 WHIRLPOOL 9d5350285c643e5ebd8fc5f9833fb8249efb327514177a8bd757fd724f9af9c46a6799469fce6c37ab5b34780fbdca9f60b8ca3bf0b2a8bd035d609d2c14944d
|
|
||||||
AUX chromium-chromedriver-r0.patch 583 SHA256 83335c81bfe71023c5d577dff2b9314f6ba33dadb30cb949e7a687a74c4e5add SHA512 9496a1c9a979b7f19823a6dfac5deec36c67895de212311a752ebf549c3390a28285c11a9b0b1c9e65feee841d09c600984ae1b49f502545ed833834d855a36b WHIRLPOOL 1c4e41b1ed4685f7f6f4d465365a4cd5e7e9bd8558664808e437b4500aaea2cbdb79e7367f2efadaeb5f87415fb840a16fbbf004976e25227ed5fd0e6ef9e232
|
|
||||||
AUX chromium-cups-r0.patch 838 SHA256 f8a9e97c91b99474c968001a7fd58ee1996afd5f842e1b15a2d692cb854408ac SHA512 591e06e9e869f95ce26d2d84e1c84c753daab5d902bb78088853cc3f10c9d0a4320f24d98d172504154b29ce432eb44f985074ed1471200903c5c8ab48b0dc20 WHIRLPOOL e882dc853e000d9596c278310b4cb4abe8e401f49ad06aea2926a9611b7996907f8241722327ebd556e727344f0fdca60eef84d6f9baa4c34bee5d22db8f7b80
|
|
||||||
AUX chromium-d8-r0.patch 334 SHA256 6c7be33f0e5d0b18edc06be416bd41b0a2567ee5463d97a20ecdd0421a1793ba SHA512 c83a3d6fd99f3396db2a05ddc0177e6a2027c6439a6c9dc4c9b57c1ca64887075f8e899ee899812b0c5f234ec3a513254ef1ee2cbeb32a38de589194a5fc8c10 WHIRLPOOL 60a47a08308d8a21615cfcc43501a5a4e891f10b0d1a31cd89f75be3a8f5d84b3c50adbc353aec8a51b35c590b03047bcc88327d2bf31a3299345afef9f26f84
|
|
||||||
AUX chromium-depot-tools-r0.patch 488 SHA256 14d86770eaaead42e244007ebe5a94d188f8668c2598fa6042ada87a90cae671 SHA512 0ed853976c2e6f2cfe3bc4a7e2cb89bc5e32e9ed1bcc6b5fa8abac1d6a9384526a5204a3dc8cbcfc23b86bcd984e73ac772ca1741eea0884237fd6846c516623 WHIRLPOOL ebe1d5c170fb5ced7b8f4a8fe3e59eca145af54ef847b19eb38b5ced14798067033b43e9988b64a940bf43d3322d7b5979d4019fd378293b17db8bba9e23b84a
|
|
||||||
AUX chromium-gn-r0.patch 356 SHA256 a1145e83d775101b28dcdceb3ca076fc7e9a4b9f69a1a2236d0c97ad39afb3d3 SHA512 e91a59ed1865efb394614c13b7ecde10c72002b1daba5c40062b970529071419d461d07aab17cd60a5e06e382436384787b940edda5694c4b87b30423129eb63 WHIRLPOOL dec9ecd10253ccc6162557349c013db7a17f9c53f735f1ad8f5b3cbc1cd8e20e553a882ea111c6808be7864f258447b3f0fd2fc1cb46c89b9c593e4460527ef1
|
|
||||||
AUX chromium-gn-r1.patch 380 SHA256 b1ca3f17959be4fb6c031563b1ee587b7e990166c41b9d5b9dce2f91bf01fe1c SHA512 9112a0b2688e0e1fdb27315873f1b829bfc0221320aed43ac92988b65c9ceb50f64af8e77c90c58efd670d3932c0b0e4555f06c25e35ed5a35de9f2316c0df00 WHIRLPOOL c967b0c8e9e2e5484a25903692dec33f3f2abb26ae4d814ccb3fe0aac205710f217627057c58ba21e92f466eb2e5917c8617e826390523ced633751a0655a4fc
|
|
||||||
AUX chromium-gn-r2.patch 386 SHA256 f307300f5a124d9b262f850b2c44fb250c150c07a0d1a44ef01a25145bb1c05a SHA512 f59fcadd4310a90f9c92b58024a81ad3d195cb593a9d535bc5fbdf5eb9e78860fb35c8b5550ea0020510d8b15992899821494b6c943a27a7e2b6769b9517111f WHIRLPOOL b3712f7d2f6c32ad9056bd1fc96c91c0c993eb1363d1842f7a8e9e65833a2ea8df4f830f42f2d51c4e3caada6a7f3f4680328f22a97f8080e5b7f638526f4beb
|
|
||||||
AUX chromium-gnome-keyring-r0.patch 881 SHA256 60bc75e6308d7348d1749e491a04918cc551e1bfdd2e204805bf956a91b33514 SHA512 ded33638266733a4a9dfe99ebae2ba4e4469fd8e275cd22e468aa75bade517641baf76e52cf6bfeb88bb40220a60ddeef519db32745486484d87d85ed0648fb4 WHIRLPOOL e028d271af1a9aca776711c70e2d716ca481430bd3aab18c3c05b7edf9d776204eda7f1bf71a0a3cfca22f5714604fa1608ee4119d3fe41bb48b70724877e333
|
|
||||||
AUX chromium-gpsd-r0.patch 592 SHA256 9af056bd99e5176af6f5d8acb7d54241731b64fb3fa517fe1a698b35e21692d1 SHA512 72a668dbd5b343a34a1938c2a6f1147d14a149b9a4a981487e9ca8fa6d912791a6c11e29178c3abe1e691c0e1bf6e435a390eb89aa63bda72d592ab3b0a55b1c WHIRLPOOL 7f04535d674498e2f2d572b6feb5ee4a183ffcf9671f308947e5c4a7370399bc8388d53705f7ca23dd6038bb12c81af0fe0b8b1f3cb7d90465b255e4d3c8b7d9
|
|
||||||
AUX chromium-launcher-r2.sh 940 SHA256 842e121bbfa33513ca964744f0ba8401401946e672cd6a0a95bc80a28212e87e SHA512 64ec5e0a4f524bd6164fe33a022419d6cf54822754b172e85ea003c47f9bfe6ed996353af707a4e16369a68d2f2e7d51f186397a48da42f13eb3dccb7e4ae4f8 WHIRLPOOL 4a2284957bb462ded600f14b1aaa7e29389181cda149b9090cb7b6fe8303dc5692519da6281769925b2122578ba2ea0ef8a1563077a62d7cdf7ca243c165805a
|
|
||||||
AUX chromium-launcher-r3.sh 1199 SHA256 9bceb14a6c171754b77bcc7e6095285fcb58a9ca10e2e4a9c9e13dc561fc0c01 SHA512 f1909314ae74985c85740d26c9bfab694f3202de8ccc392a1c4ec5c8760db21b6cc46146c78a9abebd09e6d24f37e19466f0c4d2d61815400b48d859f8ce154d WHIRLPOOL faa7eb72a4a5902299925ab4c13308299fccfbdf34a417ce89fa800cfcd6ebf0a3a456db1e8625e205be445d4ad2718db6cf6d581b266bb9227fb03506a67220
|
|
||||||
AUX chromium-system-icu-r0.patch 828 SHA256 9bf164094ff33565f79807ab17cbd1d3f75655383fdaa01bb1a702263174cf09 SHA512 a68b302f414ad533fe8356d5de0d1fee140402677a3f3ef35a9e5d58a23594a5de2f837ee8ea723d5459fd5eee863f848222d5d4eba84886bb330e198d77ab2b WHIRLPOOL 32b8a15b1eff3e67b27c414a08d2a9df28f0d1c711af7c24abf195dedf3451bd45b596f7001f80b317bd5f08bafd4c48a17ba47c66b2fbcfabc692382745019b
|
|
||||||
AUX chromium-system-jinja-r0.patch 644 SHA256 024b597104d6aa480f964b5c003f0d0287f97c777dd67f45d9131bb481870cf5 SHA512 7fe9374c185df16b0cbc877dbd9e2e763e515af6e1774ee3e4b577f33d6df1b90d9a5f23cf4751bb33eefd86a150963fa1b4d5c3f8bfcc277dc682ba93b209ab WHIRLPOOL badc3db0ed47360531bfebbb04b5dd0440c219ba6926ecd22220df9352fd47d096659b0b10a37a51e94f24d2a37dd355980db48e3d79aadd2e322a1338788218
|
|
||||||
AUX chromium-system-jinja-r1.patch 679 SHA256 81f7d24bf420d53003369c5b3ca034b183c25cfda2d5a7887cbbd348750eb79f SHA512 84eff44f0680139236ef7e7f7e7f43849932acf8f43e69bca39287a0b2829cda4d0f17f7be061ec9496913890b1601305a504caf15f50e339f4cf05ec272c1e8 WHIRLPOOL 9801d8ecf2f8372a6130e3fa3aff7f9798c9ec92ee73d93b877d831a39403e8c4019cfdb92d1052fa80db210831dfe1e297689ee3fc5adcadf3edc97c8f11f76
|
|
||||||
AUX chromium-system-jinja-r2.patch 1343 SHA256 adc093302cdcf1823c82cb1f5e8f6b9df437275ac3ddc1bd554f8dc8bcb601f7 SHA512 32597b55adc1a2be667e45ae7ec54178582f3593093454e270e4904d2b0414ecb585d3f94117c6b857cb97edfaf4be32a222e8cbfd45ae3faf6fd6dbb1912fae WHIRLPOOL 1fbeb7e88fc4a5752395926bd890b80942b0fef10fd440241ca5989606117bc26b77455d834cc264c25cb14d8f9daa8724faf22d8f169091ee718b03f64573e2
|
|
||||||
AUX chromium-system-jinja-r3.patch 1343 SHA256 1d5b5995b2c8df99fe32b9728c4ce0b1b2fff7e178eed00920c91d28af3b689d SHA512 5abc90d878c151d901e29fd28dfee801ed68c49af28a21e93eeb51663143d87fedcbaf6d3b86734c62202fbe4fc1516828240a5f1e7c8502401323d8f5d6669f WHIRLPOOL 58aa8812296d8b3db01acd9c8bd6cc56c6bf2799cf2fe0e5f086bea2b3a5aef505ceb67086c6a7f23ae772dbf8b6e6f767141566ec5cddfc33fd585eba4a4370
|
|
||||||
AUX chromium-system-jinja-r4.patch 1301 SHA256 f75d2cd436e11b66aad3e5feea759520d4ea4a5dac08d71286acb6ace67518d5 SHA512 c65bc582042cbd88d16bfff02e795113f431712c93071efbc9693264bc52676aba245ad3e3578584838ed35e15c8ee6d0040850ce3d5375371d176dd1d51ef7f WHIRLPOOL 1f66594b8a85c7090b37ca2a6bef70c3def5b8189ab2a0b835ce4c2c70cdccb7da0cdf88a9339b9377c30dd202540429c6b8c5544b1f5aabb75411cfe4b4c5fe
|
|
||||||
AUX chromium-system-jinja-r5.patch 1407 SHA256 aa4621e78dc4f6bcb84bcb64313cdc478659769d959e4797ab9c85058615a413 SHA512 dc11aa91396f6f765d8ef20940a5c999f5bfe118a9a6c7d7dde409358c2445c08997d7b662fb85f429c1754c67e722de1b29df9839a5f305d55d610128a41b10 WHIRLPOOL 07202817a22ceaaee46ae0e78de1a759f0440edb8c846b0eda80b54faf15fae4a6439f80fa9ac304fdc31bef67a0489877c6019a8b43b6ff429be01888f33c5e
|
|
||||||
AUX chromium-system-libjpeg-r0.patch 519 SHA256 c27541fac46eee3293df3ea86f4e9b4f2c0fc17eb576ca0f63496ce093f605ba SHA512 754c5e9a4c3a1dec80308b4f459725941d4b52fec19a1f522519fdc52e311ea1b9ded1fb6f0a9bdc89daf9efdf7067cd28da1330681a584d52f6346c33cac46d WHIRLPOOL 1abba75b40c884e08fa07b97de972ecbea76bffc0d29b5fe6ffca215388a801d81da5f0920e1f60a62f6873e66893a5c0a34a308a635dd7e00e507701eb961bf
|
|
||||||
AUX chromium-system-ply-r0.patch 560 SHA256 a1d9a17d91edeea93a8745a677b8e79e36ea10569ab32e09b86e666262fb5ca6 SHA512 b54517042abe3f8de8a5b4d3fdf4c5da9ef94538d150b5c92349db43f221720be09a9e70818746d797cfcfb203c1129eea8e0eef026ce9c5fab8b74f9aa70b31 WHIRLPOOL 9feb572f887b6e819e2b97e97a0e6f864c3eea05b2cd185b972098dab997b59ea35ce1e6cf15e72cfb2874cb003f486ab369cb1cc3be665419f0a4cd2d88a5d0
|
|
||||||
AUX chromium-system-ply-r1.patch 531 SHA256 b2269a9878121a1c6160b27412d13c534f2f6d15bc1bc23fab4fda2eff6edd32 SHA512 1fb1516959b3800e1f22416849aabca078a0350cda32cf7648f15edb8d1396599cb466801211b28ad6701f693ba881b9032a576da0e9de806499c55f3d901182 WHIRLPOOL ac1003b6ba64d2eb007e22ea18b3841b14d76bb2219be91ce43702ad42fb4a99776807bd1b89c2de34715c331af21e9b1d59c8a57d0c2b1258b2001099f0566c
|
|
||||||
AUX chromium-system-zlib-r0.patch 407 SHA256 cb16d2ce758e2302dae5a4410a5901a53bac3de7bbde197dfc10df979415f8f7 SHA512 f41a34ce60c343bbe7c153e5ac4a1759b677cda342838a3703bcc4fda0859124a522abbf0637122db3c44cfe0188a4431fd1584a1feea1f2e70902c35ab3a8e5 WHIRLPOOL cc4909ba5162e8e7c153655739af7be0e32fb16e794fc8387d84ee3c6a872aea5040deba5556d974167c4a7b3a1f355dbc63d4e37f358a8032541d1530ec11cb
|
|
||||||
AUX chromium.default 148 SHA256 bdac1d32025d53158f96c8ad5bd71a58abdcf02f3a8759a43154e97e812fcdd1 SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 WHIRLPOOL 2e51e864134426668cc73fc5081c35288677d8ce855b07dfbd3413397f9c43148a6d6096a9b7a617511388f87623a3ce7f3387103202db53876a74bccb9dbe6c
|
|
||||||
AUX dot-gclient 174 SHA256 0ae6d69323d1d286de7ef1fa62c330536ada7280bda7564fefb5d071384ed324 SHA512 ea858464ee8732536633259ed3d11990822e8b8493c07b83218856a127320ba21b9cfc184f7e7a899739bc5f938fbca25224e559fb7db8558cb86fccc743a685 WHIRLPOOL 72a5a9af7955e653151090b555c6a67a261ff807871fdda16d7c3fabf4b52449ac9caae466ba51a17d2efed74a68adc32687599ea4287cc033e75f787d874b55
|
|
||||||
DIST chromium-34.0.1847.132-testdata.tar.xz 108476892 SHA256 0c3c9894cd1a16bfcfc122d40d38bf1c6986087e17d22d86de9d3624c404eb32 SHA512 db8ca16ded7cde02cb257fc30bc0badd0aed30439f656c868bcdbef15cdc651d1ac623418ee0544ed73b8f55784011e0b159edd16e84fa904323cbde9dfed4da WHIRLPOOL 5eee1d121f02f49ddde826114c3edc5aeebd00cfaad35d58cb05507d32a3524b32d06722d47a7d40343b1aee1e7a6599c9b737029dbc4c39e563d9176f5bed45
|
|
||||||
DIST chromium-34.0.1847.132.tar.xz 190164176 SHA256 e8930a43d2cff3cd98d4772f6b7a527b363fa9567afbe86a4c0574dc25886038 SHA512 49d51545548f51dfd917d3980c11b99d45ec68622f282a13346b5658674316ed6da96ca6903ed9e7b9fa7f1c90eac7a3d4766bf36cb8da52e03605771cb9c368 WHIRLPOOL da0c0da7b4e171fac31d3a9854e54b4fb845091696b9303b24d2fc614d1e8c61d39aba17cc32f9ba3364d8e41aabf4985ad73c17764fc3a155b78a4a526fff69
|
|
||||||
EBUILD chromium-34.0.1847.132.ebuild 19628 SHA256 428cc165fd6a08d7bc2da4cf7529b39cebf9136b7d11d6d5869961b142bd28f2 SHA512 0ef96b5828e39777c080b652d272bc9118c1ae9b82e0c48ce72ae02a37a8c0605264fc17f6515ec9633554c4645b51f6ffef6cc47c126c95c5392e76c2c2a072 WHIRLPOOL 9faa7bef201f51f16f9b95b55534bbbefcf16e004292bd9b9dc7578f7a8248c9268c2bcfb322722107657028c87f38ed256db4d0d8b159ce7951e917333f2fc5
|
|
||||||
MISC ChangeLog 103875 SHA256 523f62e7e6a8202f6b8d9b3766cd39cc309a5b9fc3d7db5391e74c25950def11 SHA512 f82a723828c882c89909a9ec1ae90370a626c33ff3cf8bc25e764b17b833f5fc3f978f70299fbe7edb8a10573a96879be6b1ee128f2716d816704f53f55dcfc5 WHIRLPOOL b20646ebe815a3ce3940118d610fed9febafae4a344b4efbbad521f88e8119fb297681f4d36ffaa57ae9520a4caad863404daf9c1e3ffb5a6a13e5fb41580014
|
|
||||||
MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b
|
|
||||||
MISC metadata.xml 599 SHA256 445f23a3d80f257019d11074a593608bc3f3abd22b6985b89f533d94f7799008 SHA512 606d4ead8b6e9c4852110a5b5efe5a5d6219d2e9d546ad114f01d496f4966df0238b8c1fdec93916715887a08e7737c138b6c0a22267256616edded58914c951 WHIRLPOOL d6273eb9bdc89b4a08a572a27708128985094bd684323c2c17587e80364bc446762b325d31977bed1bdbaec31e5dc6d22c29b5bc49c9943e99e837bf529bbea5
|
|
@ -1,652 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-34.0.1847.132.ebuild,v 1.3 2014/04/27 09:09:50 ago Exp $
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
|
||||||
|
|
||||||
CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
|
|
||||||
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
|
|
||||||
sv sw ta te th tr uk vi zh_CN zh_TW"
|
|
||||||
|
|
||||||
inherit chromium eutils flag-o-matic multilib multiprocessing pax-utils \
|
|
||||||
portability python-any-r1 readme.gentoo toolchain-funcs versionator virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Open-source version of Google Chrome web browser"
|
|
||||||
HOMEPAGE="http://chromium.org/"
|
|
||||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
|
|
||||||
test? ( https://commondatastorage.googleapis.com/chromium-browser-official/${P}-testdata.tar.xz )"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm x86"
|
|
||||||
IUSE="aura bindist cups gnome gnome-keyring kerberos neon pulseaudio selinux +tcmalloc"
|
|
||||||
|
|
||||||
# Native Client binaries are compiled with different set of flags, bug #452066.
|
|
||||||
QA_FLAGS_IGNORED=".*\.nexe"
|
|
||||||
|
|
||||||
# Native Client binaries may be stripped by the build system, which uses the
|
|
||||||
# right tools for it, bug #469144 .
|
|
||||||
QA_PRESTRIPPED=".*\.nexe"
|
|
||||||
|
|
||||||
RDEPEND=">=app-accessibility/speech-dispatcher-0.8:=
|
|
||||||
app-arch/bzip2:=
|
|
||||||
app-arch/snappy:=
|
|
||||||
cups? (
|
|
||||||
dev-libs/libgcrypt:0=
|
|
||||||
>=net-print/cups-1.3.11:=
|
|
||||||
)
|
|
||||||
>=dev-libs/elfutils-0.149
|
|
||||||
dev-libs/expat:=
|
|
||||||
>=dev-libs/jsoncpp-0.5.0-r1:=
|
|
||||||
>=dev-libs/libevent-1.4.13:=
|
|
||||||
dev-libs/libxml2:=[icu]
|
|
||||||
dev-libs/libxslt:=
|
|
||||||
dev-libs/nspr:=
|
|
||||||
>=dev-libs/nss-3.14.3:=
|
|
||||||
dev-libs/re2:=
|
|
||||||
gnome? ( >=gnome-base/gconf-2.24.0:= )
|
|
||||||
gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2:= )
|
|
||||||
>=media-libs/alsa-lib-1.0.19:=
|
|
||||||
media-libs/flac:=
|
|
||||||
media-libs/harfbuzz:=[icu(+)]
|
|
||||||
>=media-libs/libjpeg-turbo-1.2.0-r1:=
|
|
||||||
media-libs/libpng:0=
|
|
||||||
>=media-libs/libvpx-1.3.0:=
|
|
||||||
>=media-libs/libwebp-0.4.0:=
|
|
||||||
media-libs/opus:=
|
|
||||||
media-libs/speex:=
|
|
||||||
pulseaudio? ( media-sound/pulseaudio:= )
|
|
||||||
sys-apps/dbus:=
|
|
||||||
sys-apps/pciutils:=
|
|
||||||
>=sys-libs/libcap-2.22:=
|
|
||||||
sys-libs/zlib:=[minizip]
|
|
||||||
virtual/udev
|
|
||||||
x11-libs/gtk+:2=
|
|
||||||
>=x11-libs/libXi-1.6.0:=
|
|
||||||
x11-libs/libXinerama:=
|
|
||||||
x11-libs/libXScrnSaver:=
|
|
||||||
x11-libs/libXtst:=
|
|
||||||
kerberos? ( virtual/krb5 )
|
|
||||||
selinux? ( sec-policy/selinux-chromium )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
!arm? (
|
|
||||||
dev-lang/yasm
|
|
||||||
)
|
|
||||||
dev-lang/perl
|
|
||||||
dev-perl/JSON
|
|
||||||
>=dev-util/gperf-3.0.3
|
|
||||||
dev-util/ninja
|
|
||||||
sys-apps/hwids
|
|
||||||
>=sys-devel/bison-2.4.3
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? (
|
|
||||||
dev-libs/openssl:0
|
|
||||||
)"
|
|
||||||
# For nvidia-drivers blocker, see bug #413637 .
|
|
||||||
RDEPEND+="
|
|
||||||
!=www-client/chromium-9999
|
|
||||||
x11-misc/xdg-utils
|
|
||||||
virtual/ttf-fonts
|
|
||||||
tcmalloc? ( !<x11-drivers/nvidia-drivers-331.20 )"
|
|
||||||
|
|
||||||
# Python dependencies. The DEPEND part needs to be kept in sync
|
|
||||||
# with python_check_deps.
|
|
||||||
DEPEND+=" $(python_gen_any_dep '
|
|
||||||
>=dev-python/jinja-2.7[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ply[${PYTHON_USEDEP}]
|
|
||||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/pyftpdlib[${PYTHON_USEDEP}] )
|
|
||||||
')"
|
|
||||||
python_check_deps() {
|
|
||||||
has_version ">=dev-python/jinja-2.7[${PYTHON_USEDEP}]" && \
|
|
||||||
has_version "dev-python/ply[${PYTHON_USEDEP}]" && \
|
|
||||||
has_version "dev-python/simplejson[${PYTHON_USEDEP}]" && \
|
|
||||||
{ ! use test || has_version "dev-python/pyftpdlib[${PYTHON_USEDEP}]"; }
|
|
||||||
}
|
|
||||||
|
|
||||||
if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
|
|
||||||
EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
|
|
||||||
fi
|
|
||||||
|
|
||||||
DISABLE_AUTOFORMATTING="yes"
|
|
||||||
DOC_CONTENTS="
|
|
||||||
Some web pages may require additional fonts to display properly.
|
|
||||||
Try installing some of the following packages if some characters
|
|
||||||
are not displayed properly:
|
|
||||||
- media-fonts/arphicfonts
|
|
||||||
- media-fonts/bitstream-cyberbit
|
|
||||||
- media-fonts/droid
|
|
||||||
- media-fonts/ipamonafont
|
|
||||||
- media-fonts/ja-ipafonts
|
|
||||||
- media-fonts/takao-fonts
|
|
||||||
- media-fonts/wqy-microhei
|
|
||||||
- media-fonts/wqy-zenhei
|
|
||||||
|
|
||||||
Depending on your desktop environment, you may need
|
|
||||||
to install additional packages to get icons on the Downloads page.
|
|
||||||
|
|
||||||
For KDE, the required package is kde-base/oxygen-icons.
|
|
||||||
|
|
||||||
For other desktop environments, try one of the following:
|
|
||||||
- x11-themes/gnome-icon-theme
|
|
||||||
- x11-themes/tango-icon-theme
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if [[ "${SLOT}" == "0" ]]; then
|
|
||||||
CHROMIUM_SUFFIX=""
|
|
||||||
else
|
|
||||||
CHROMIUM_SUFFIX="-${SLOT}"
|
|
||||||
fi
|
|
||||||
CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
|
|
||||||
|
|
||||||
# Make sure the build system will use the right python, bug #344367.
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
|
|
||||||
chromium_suid_sandbox_check_kernel_config
|
|
||||||
|
|
||||||
if use bindist; then
|
|
||||||
elog "bindist enabled: H.264 video support will be disabled."
|
|
||||||
else
|
|
||||||
elog "bindist disabled: Resulting binaries may not be legal to re-distribute."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# if ! use arm; then
|
|
||||||
# mkdir -p out/Release/gen/sdk/toolchain || die
|
|
||||||
# # Do not preserve SELinux context, bug #460892 .
|
|
||||||
# cp -a --no-preserve=context /usr/$(get_libdir)/nacl-toolchain-newlib \
|
|
||||||
# out/Release/gen/sdk/toolchain/linux_x86_newlib || die
|
|
||||||
# touch out/Release/gen/sdk/toolchain/linux_x86_newlib/stamp.untar || die
|
|
||||||
# fi
|
|
||||||
|
|
||||||
epatch "${FILESDIR}/${PN}-system-jinja-r4.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-gn-r1.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-depot-tools-r0.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-cups-r0.patch"
|
|
||||||
epatch "${FILESDIR}/${PN}-arm-r0.patch"
|
|
||||||
|
|
||||||
epatch_user
|
|
||||||
|
|
||||||
# Remove most bundled libraries. Some are still needed.
|
|
||||||
build/linux/unbundle/remove_bundled_libraries.py \
|
|
||||||
'base/third_party/dmg_fp' \
|
|
||||||
'base/third_party/dynamic_annotations' \
|
|
||||||
'base/third_party/icu' \
|
|
||||||
'base/third_party/nspr' \
|
|
||||||
'base/third_party/symbolize' \
|
|
||||||
'base/third_party/valgrind' \
|
|
||||||
'base/third_party/xdg_mime' \
|
|
||||||
'base/third_party/xdg_user_dirs' \
|
|
||||||
'breakpad/src/third_party/curl' \
|
|
||||||
'chrome/third_party/mozilla_security_manager' \
|
|
||||||
'crypto/third_party/nss' \
|
|
||||||
'net/third_party/mozilla_security_manager' \
|
|
||||||
'net/third_party/nss' \
|
|
||||||
'third_party/WebKit' \
|
|
||||||
'third_party/angle' \
|
|
||||||
'third_party/brotli' \
|
|
||||||
'third_party/cacheinvalidation' \
|
|
||||||
'third_party/cld' \
|
|
||||||
'third_party/cros_system_api' \
|
|
||||||
'third_party/ffmpeg' \
|
|
||||||
'third_party/flot' \
|
|
||||||
'third_party/hunspell' \
|
|
||||||
'third_party/iccjpeg' \
|
|
||||||
'third_party/icu' \
|
|
||||||
'third_party/jstemplate' \
|
|
||||||
'third_party/khronos' \
|
|
||||||
'third_party/leveldatabase' \
|
|
||||||
'third_party/libaddressinput' \
|
|
||||||
'third_party/libjingle' \
|
|
||||||
'third_party/libphonenumber' \
|
|
||||||
'third_party/libsrtp' \
|
|
||||||
'third_party/libusb' \
|
|
||||||
'third_party/libwebm' \
|
|
||||||
'third_party/libxml/chromium' \
|
|
||||||
'third_party/libXNVCtrl' \
|
|
||||||
'third_party/libyuv' \
|
|
||||||
'third_party/lss' \
|
|
||||||
'third_party/lzma_sdk' \
|
|
||||||
'third_party/mesa' \
|
|
||||||
'third_party/modp_b64' \
|
|
||||||
'third_party/mt19937ar' \
|
|
||||||
'third_party/npapi' \
|
|
||||||
'third_party/nss.isolate' \
|
|
||||||
'third_party/ots' \
|
|
||||||
'third_party/polymer' \
|
|
||||||
'third_party/protobuf' \
|
|
||||||
'third_party/pywebsocket' \
|
|
||||||
'third_party/qcms' \
|
|
||||||
'third_party/readability' \
|
|
||||||
'third_party/sfntly' \
|
|
||||||
'third_party/skia' \
|
|
||||||
'third_party/smhasher' \
|
|
||||||
'third_party/sqlite' \
|
|
||||||
'third_party/tcmalloc' \
|
|
||||||
'third_party/tlslite' \
|
|
||||||
'third_party/trace-viewer' \
|
|
||||||
'third_party/undoview' \
|
|
||||||
'third_party/usrsctp' \
|
|
||||||
'third_party/webdriver' \
|
|
||||||
'third_party/webrtc' \
|
|
||||||
'third_party/widevine' \
|
|
||||||
'third_party/x86inc' \
|
|
||||||
'third_party/zlib/google' \
|
|
||||||
'url/third_party/mozilla' \
|
|
||||||
'v8/src/third_party/valgrind' \
|
|
||||||
--do-remove || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=""
|
|
||||||
|
|
||||||
# Never tell the build system to "enable" SSE2, it has a few unexpected
|
|
||||||
# additions, bug #336871.
|
|
||||||
myconf+=" -Ddisable_sse2=1"
|
|
||||||
|
|
||||||
# Disable nacl, we can't build without pnacl (http://crbug.com/269560).
|
|
||||||
myconf+=" -Ddisable_nacl=1"
|
|
||||||
|
|
||||||
# Disable glibc Native Client toolchain, we don't need it (bug #417019).
|
|
||||||
# myconf+=" -Ddisable_glibc=1"
|
|
||||||
|
|
||||||
# TODO: also build with pnacl
|
|
||||||
# myconf+=" -Ddisable_pnacl=1"
|
|
||||||
|
|
||||||
# It would be awkward for us to tar the toolchain and get it untarred again
|
|
||||||
# during the build.
|
|
||||||
# myconf+=" -Ddisable_newlib_untar=1"
|
|
||||||
|
|
||||||
# Make it possible to remove third_party/adobe.
|
|
||||||
echo > "${T}/flapper_version.h" || die
|
|
||||||
myconf+=" -Dflapper_version_h_file=${T}/flapper_version.h"
|
|
||||||
|
|
||||||
# Use system-provided libraries.
|
|
||||||
# TODO: use_system_hunspell (upstream changes needed).
|
|
||||||
# TODO: use_system_icu (resolve startup crash).
|
|
||||||
# TODO: use_system_libsrtp (bug #459932).
|
|
||||||
# TODO: use_system_libusb (http://crbug.com/266149).
|
|
||||||
# TODO: use_system_ssl (http://crbug.com/58087).
|
|
||||||
# TODO: use_system_sqlite (http://crbug.com/22208).
|
|
||||||
myconf+="
|
|
||||||
-Duse_system_bzip2=1
|
|
||||||
-Duse_system_flac=1
|
|
||||||
-Duse_system_harfbuzz=1
|
|
||||||
-Duse_system_jsoncpp=1
|
|
||||||
-Duse_system_libevent=1
|
|
||||||
-Duse_system_libjpeg=1
|
|
||||||
-Duse_system_libpng=1
|
|
||||||
-Duse_system_libvpx=1
|
|
||||||
-Duse_system_libwebp=1
|
|
||||||
-Duse_system_libxml=1
|
|
||||||
-Duse_system_libxslt=1
|
|
||||||
-Duse_system_minizip=1
|
|
||||||
-Duse_system_nspr=1
|
|
||||||
-Duse_system_openssl=1
|
|
||||||
-Duse_system_opus=1
|
|
||||||
-Duse_system_re2=1
|
|
||||||
-Duse_system_snappy=1
|
|
||||||
-Duse_system_speex=1
|
|
||||||
-Duse_system_xdg_utils=1
|
|
||||||
-Duse_system_zlib=1"
|
|
||||||
|
|
||||||
# TODO: patch gyp so that this arm conditional is not needed.
|
|
||||||
if ! use arm; then
|
|
||||||
myconf+="
|
|
||||||
-Duse_system_yasm=1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Optional dependencies.
|
|
||||||
# TODO: linux_link_kerberos, bug #381289.
|
|
||||||
myconf+="
|
|
||||||
$(gyp_use aura)
|
|
||||||
$(gyp_use cups)
|
|
||||||
$(gyp_use gnome use_gconf)
|
|
||||||
$(gyp_use gnome-keyring use_gnome_keyring)
|
|
||||||
$(gyp_use gnome-keyring linux_link_gnome_keyring)
|
|
||||||
$(gyp_use kerberos)
|
|
||||||
$(gyp_use pulseaudio)
|
|
||||||
$(gyp_use tcmalloc linux_use_tcmalloc)"
|
|
||||||
|
|
||||||
# Use explicit library dependencies instead of dlopen.
|
|
||||||
# This makes breakages easier to detect by revdep-rebuild.
|
|
||||||
myconf+="
|
|
||||||
-Dlinux_link_gsettings=1
|
|
||||||
-Dlinux_link_libpci=1
|
|
||||||
-Dlinux_link_libspeechd=1
|
|
||||||
-Dlibspeechd_h_prefix=speech-dispatcher/"
|
|
||||||
|
|
||||||
# TODO: use the file at run time instead of effectively compiling it in.
|
|
||||||
myconf+="
|
|
||||||
-Dusb_ids_path=/usr/share/misc/usb.ids"
|
|
||||||
|
|
||||||
# Save space by removing DLOG and DCHECK messages (about 6% reduction).
|
|
||||||
myconf+="
|
|
||||||
-Dlogging_like_official_build=1"
|
|
||||||
|
|
||||||
# Never use bundled gold binary. Disable gold linker flags for now.
|
|
||||||
myconf+="
|
|
||||||
-Dlinux_use_gold_binary=0
|
|
||||||
-Dlinux_use_gold_flags=0"
|
|
||||||
|
|
||||||
# Always support proprietary codecs.
|
|
||||||
myconf+=" -Dproprietary_codecs=1"
|
|
||||||
|
|
||||||
# Set python version and libdir so that python_arch.sh can find libpython.
|
|
||||||
# Bug 492864.
|
|
||||||
myconf+="
|
|
||||||
-Dpython_ver=${EPYTHON#python}
|
|
||||||
-Dsystem_libdir=$(get_libdir)"
|
|
||||||
|
|
||||||
if ! use bindist; then
|
|
||||||
# Enable H.264 support in bundled ffmpeg.
|
|
||||||
myconf+=" -Dffmpeg_branding=Chrome"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
|
|
||||||
# Note: these are for Gentoo use ONLY. For your own distribution,
|
|
||||||
# please get your own set of keys. Feel free to contact chromium@gentoo.org
|
|
||||||
# for more info.
|
|
||||||
myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
|
|
||||||
-Dgoogle_default_client_id=329227923882.apps.googleusercontent.com
|
|
||||||
-Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu"
|
|
||||||
|
|
||||||
local myarch="$(tc-arch)"
|
|
||||||
if [[ $myarch = amd64 ]] ; then
|
|
||||||
target_arch=x64
|
|
||||||
ffmpeg_target_arch=x64
|
|
||||||
elif [[ $myarch = x86 ]] ; then
|
|
||||||
target_arch=ia32
|
|
||||||
ffmpeg_target_arch=ia32
|
|
||||||
elif [[ $myarch = arm ]] ; then
|
|
||||||
target_arch=arm
|
|
||||||
ffmpeg_target_arch=$(usex neon arm-neon arm)
|
|
||||||
# TODO: re-enable NaCl (NativeClient).
|
|
||||||
local CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
if [[ $(tc-is-softfloat) == "no" ]]; then
|
|
||||||
|
|
||||||
myconf+=" -Darm_float_abi=hard"
|
|
||||||
fi
|
|
||||||
filter-flags "-mfpu=*"
|
|
||||||
use neon || myconf+=" -Darm_fpu=${ARM_FPU:-vfpv3-d16}"
|
|
||||||
|
|
||||||
if [[ ${CTARGET} == armv[78]* ]]; then
|
|
||||||
myconf+=" -Darmv7=1"
|
|
||||||
else
|
|
||||||
myconf+=" -Darmv7=0"
|
|
||||||
fi
|
|
||||||
myconf+=" -Dsysroot=
|
|
||||||
$(gyp_use neon arm_neon)
|
|
||||||
-Ddisable_nacl=1"
|
|
||||||
else
|
|
||||||
die "Failed to determine target arch, got '$myarch'."
|
|
||||||
fi
|
|
||||||
|
|
||||||
myconf+=" -Dtarget_arch=${target_arch}"
|
|
||||||
|
|
||||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
|
||||||
# Depending on GCC version the warnings are different and we don't want
|
|
||||||
# the build to fail because of that.
|
|
||||||
myconf+=" -Dwerror="
|
|
||||||
|
|
||||||
# Avoid CFLAGS problems, bug #352457, bug #390147.
|
|
||||||
if ! use custom-cflags; then
|
|
||||||
replace-flags "-Os" "-O2"
|
|
||||||
strip-flags
|
|
||||||
|
|
||||||
# Prevent linker from running out of address space, bug #471810 .
|
|
||||||
if use x86; then
|
|
||||||
filter-flags "-g*"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make sure the build system will use the right tools, bug #340795.
|
|
||||||
tc-export AR CC CXX RANLIB
|
|
||||||
|
|
||||||
# Tools for building programs to be executed on the build system, bug #410883.
|
|
||||||
export AR_host=$(tc-getBUILD_AR)
|
|
||||||
export CC_host=$(tc-getBUILD_CC)
|
|
||||||
export CXX_host=$(tc-getBUILD_CXX)
|
|
||||||
export LD_host=${CXX_host}
|
|
||||||
|
|
||||||
# Bug 491582.
|
|
||||||
export TMPDIR="${WORKDIR}/temp"
|
|
||||||
mkdir -m 755 "${TMPDIR}" || die
|
|
||||||
|
|
||||||
# Re-configure bundled ffmpeg. See bug #491378 for example reasons.
|
|
||||||
einfo "Configuring bundled ffmpeg..."
|
|
||||||
pushd third_party/ffmpeg > /dev/null || die
|
|
||||||
chromium/scripts/build_ffmpeg.sh linux ${ffmpeg_target_arch} "${PWD}" config-only || die
|
|
||||||
chromium/scripts/copy_config.sh || die
|
|
||||||
popd > /dev/null || die
|
|
||||||
|
|
||||||
einfo "Configuring Chromium..."
|
|
||||||
build/linux/unbundle/replace_gyp_files.py ${myconf} || die
|
|
||||||
egyp_chromium ${myconf} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
eninja() {
|
|
||||||
if [[ -z ${NINJAOPTS+set} ]]; then
|
|
||||||
local jobs=$(makeopts_jobs)
|
|
||||||
local loadavg=$(makeopts_loadavg)
|
|
||||||
|
|
||||||
if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
|
|
||||||
NINJAOPTS+=" -j ${jobs}"
|
|
||||||
fi
|
|
||||||
if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then
|
|
||||||
NINJAOPTS+=" -l ${loadavg}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
set -- ninja -v ${NINJAOPTS} "$@"
|
|
||||||
echo "$@"
|
|
||||||
"$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: add media_unittests after fixing compile (bug #462546).
|
|
||||||
local test_targets=""
|
|
||||||
for x in base cacheinvalidation content crypto \
|
|
||||||
gpu net printing sql; do
|
|
||||||
test_targets+=" ${x}_unittests"
|
|
||||||
done
|
|
||||||
|
|
||||||
local ninja_targets="chrome chrome_sandbox chromedriver"
|
|
||||||
if use test; then
|
|
||||||
ninja_targets+=" $test_targets"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Build mksnapshot and pax-mark it.
|
|
||||||
eninja -C out/Release mksnapshot.${target_arch} || die
|
|
||||||
pax-mark m out/Release/mksnapshot.${target_arch}
|
|
||||||
|
|
||||||
# Even though ninja autodetects number of CPUs, we respect
|
|
||||||
# user's options, for debugging with -j 1 or any other reason.
|
|
||||||
eninja -C out/Release ${ninja_targets} || die
|
|
||||||
|
|
||||||
pax-mark m out/Release/chrome
|
|
||||||
if use test; then
|
|
||||||
for x in $test_targets; do
|
|
||||||
pax-mark m out/Release/${x}
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# For more info see bug #350349.
|
|
||||||
local LC_ALL="en_US.utf8"
|
|
||||||
|
|
||||||
if ! locale -a | grep -q "${LC_ALL}"; then
|
|
||||||
eerror "${PN} requires ${LC_ALL} locale for tests"
|
|
||||||
eerror "Please read the following guides for more information:"
|
|
||||||
eerror " http://www.gentoo.org/doc/en/guide-localization.xml"
|
|
||||||
eerror " http://www.gentoo.org/doc/en/utf-8.xml"
|
|
||||||
die "locale ${LC_ALL} is not supported"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If we have the right locale, export it to the environment
|
|
||||||
export LC_ALL
|
|
||||||
|
|
||||||
# For more info see bug #370957.
|
|
||||||
if [[ $UID -eq 0 ]]; then
|
|
||||||
die "Tests must be run as non-root. Please use FEATURES=userpriv."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# virtualmake dies on failure, so we run our tests in a function
|
|
||||||
VIRTUALX_COMMAND="chromium_test" virtualmake
|
|
||||||
}
|
|
||||||
|
|
||||||
chromium_test() {
|
|
||||||
# Keep track of the cumulative exit status for all tests
|
|
||||||
local exitstatus=0
|
|
||||||
|
|
||||||
runtest() {
|
|
||||||
local cmd=$1
|
|
||||||
shift
|
|
||||||
local IFS=:
|
|
||||||
set -- "${cmd}" --test-launcher-bot-mode "--gtest_filter=-$*"
|
|
||||||
einfo "$@"
|
|
||||||
"$@"
|
|
||||||
local st=$?
|
|
||||||
(( st )) && eerror "${cmd} failed"
|
|
||||||
(( exitstatus |= st ))
|
|
||||||
}
|
|
||||||
|
|
||||||
local excluded_base_unittests=(
|
|
||||||
"OutOfMemoryDeathTest.ViaSharedLibraries" # bug #497512
|
|
||||||
)
|
|
||||||
runtest out/Release/base_unittests "${excluded_base_unittests[@]}"
|
|
||||||
runtest out/Release/cacheinvalidation_unittests
|
|
||||||
|
|
||||||
local excluded_content_unittests=(
|
|
||||||
"RendererDateTimePickerTest.*" # bug #465452
|
|
||||||
)
|
|
||||||
runtest out/Release/content_unittests "${excluded_content_unittests[@]}"
|
|
||||||
|
|
||||||
runtest out/Release/crypto_unittests
|
|
||||||
runtest out/Release/gpu_unittests
|
|
||||||
|
|
||||||
# TODO: add media_unittests after fixing compile (bug #462546).
|
|
||||||
# runtest out/Release/media_unittests
|
|
||||||
|
|
||||||
local excluded_net_unittests=(
|
|
||||||
"NetUtilTest.IDNToUnicode*" # bug 361885
|
|
||||||
"NetUtilTest.FormatUrl*" # see above
|
|
||||||
"SpdyFramerTests/SpdyFramerTest.CreatePushPromiseCompressed/2" # bug #478168
|
|
||||||
"HostResolverImplTest.BypassCache" # bug #498304
|
|
||||||
"HostResolverImplTest.FlushCacheOnIPAddressChange" # bug #481812
|
|
||||||
"HostResolverImplTest.ResolveFromCache" # see above
|
|
||||||
"ProxyResolverV8TracingTest.*" # see above
|
|
||||||
"SSLClientSocketTest.ConnectMismatched" # see above
|
|
||||||
"UDPSocketTest.*" # see above
|
|
||||||
"*EndToEndTest*" # see above
|
|
||||||
)
|
|
||||||
runtest out/Release/net_unittests "${excluded_net_unittests[@]}"
|
|
||||||
|
|
||||||
runtest out/Release/printing_unittests
|
|
||||||
runtest out/Release/sql_unittests
|
|
||||||
|
|
||||||
return ${exitstatus}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto "${CHROMIUM_HOME}"
|
|
||||||
doexe out/Release/chrome || die
|
|
||||||
|
|
||||||
newexe out/Release/chrome_sandbox chrome-sandbox || die
|
|
||||||
fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
|
|
||||||
|
|
||||||
doexe out/Release/chromedriver || die
|
|
||||||
|
|
||||||
# if ! use arm; then
|
|
||||||
# doexe out/Release/nacl_helper{,_bootstrap} || die
|
|
||||||
# insinto "${CHROMIUM_HOME}"
|
|
||||||
# doins out/Release/nacl_irt_*.nexe || die
|
|
||||||
# doins out/Release/libppGoogleNaClPluginChrome.so || die
|
|
||||||
# fi
|
|
||||||
|
|
||||||
local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" )
|
|
||||||
if [[ -n ${CHROMIUM_SUFFIX} ]]; then
|
|
||||||
sedargs+=(
|
|
||||||
-e "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g"
|
|
||||||
-e "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g"
|
|
||||||
-e "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r3.sh" > chromium-launcher.sh || die
|
|
||||||
doexe chromium-launcher.sh
|
|
||||||
|
|
||||||
# It is important that we name the target "chromium-browser",
|
|
||||||
# xdg-utils expect it; bug #355517.
|
|
||||||
dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die
|
|
||||||
# keep the old symlink around for consistency
|
|
||||||
dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die
|
|
||||||
|
|
||||||
dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver${CHROMIUM_SUFFIX} || die
|
|
||||||
|
|
||||||
# Allow users to override command-line options, bug #357629.
|
|
||||||
dodir /etc/chromium || die
|
|
||||||
insinto /etc/chromium
|
|
||||||
newins "${FILESDIR}/chromium.default" "default" || die
|
|
||||||
|
|
||||||
pushd out/Release/locales > /dev/null || die
|
|
||||||
chromium_remove_language_paks
|
|
||||||
popd
|
|
||||||
|
|
||||||
insinto "${CHROMIUM_HOME}"
|
|
||||||
doins out/Release/icudtl.dat || die
|
|
||||||
doins out/Release/*.pak || die
|
|
||||||
|
|
||||||
doins -r out/Release/locales || die
|
|
||||||
doins -r out/Release/resources || die
|
|
||||||
|
|
||||||
newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
|
|
||||||
newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
|
|
||||||
|
|
||||||
doexe out/Release/libffmpegsumo.so || die
|
|
||||||
|
|
||||||
# Install icons and desktop entry.
|
|
||||||
local branding size
|
|
||||||
for size in 16 22 24 32 48 64 128 256 ; do
|
|
||||||
case ${size} in
|
|
||||||
16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
|
|
||||||
*) branding="chrome/app/theme/chromium" ;;
|
|
||||||
esac
|
|
||||||
newicon -s ${size} "${branding}/product_logo_${size}.png" \
|
|
||||||
chromium-browser${CHROMIUM_SUFFIX}.png
|
|
||||||
done
|
|
||||||
|
|
||||||
local mime_types="text/html;text/xml;application/xhtml+xml;"
|
|
||||||
mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
|
|
||||||
mime_types+="x-scheme-handler/ftp;" # bug #412185
|
|
||||||
mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
|
|
||||||
make_desktop_entry \
|
|
||||||
chromium-browser${CHROMIUM_SUFFIX} \
|
|
||||||
"Chromium${CHROMIUM_SUFFIX}" \
|
|
||||||
chromium-browser${CHROMIUM_SUFFIX} \
|
|
||||||
"Network;WebBrowser" \
|
|
||||||
"MimeType=${mime_types}\nStartupWMClass=chromium-browser"
|
|
||||||
sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die
|
|
||||||
|
|
||||||
# Install GNOME default application entry (bug #303100).
|
|
||||||
if use gnome; then
|
|
||||||
dodir /usr/share/gnome-control-center/default-apps || die
|
|
||||||
insinto /usr/share/gnome-control-center/default-apps
|
|
||||||
newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die
|
|
||||||
if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
|
|
||||||
sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \
|
|
||||||
"${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
--- third_party/icu/icu.gyp.orig 2014-03-16 17:49:02.561203814 -0500
|
|
||||||
+++ third_party/icu/icu.gyp 2014-03-16 17:49:23.191037086 -0500
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
}],
|
|
||||||
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
|
|
||||||
or OS=="netbsd" or OS=="mac" or OS=="android") and \
|
|
||||||
- (target_arch=="arm" or target_arch=="ia32" or \
|
|
||||||
+ (target_arch=="ia32" or \
|
|
||||||
target_arch=="mipsel")', {
|
|
||||||
'target_conditions': [
|
|
||||||
['_toolset=="host"', {
|
|
@ -1,14 +0,0 @@
|
|||||||
Backport https://codereview.chromium.org/64243002/ to fix a renderer crash.
|
|
||||||
--- third_party/WebKit/Source/platform/fonts/AlternateFontFamily.h.orig 2013-11-07 18:46:58.174333486 +0000
|
|
||||||
+++ third_party/WebKit/Source/platform/fonts/AlternateFontFamily.h 2013-11-07 18:47:13.974434037 +0000
|
|
||||||
@@ -117,9 +117,8 @@
|
|
||||||
case FontDescription::MonospaceFamily:
|
|
||||||
return monospaceStr;
|
|
||||||
case FontDescription::SansSerifFamily:
|
|
||||||
- return sansStr;
|
|
||||||
default:
|
|
||||||
- return AtomicString();
|
|
||||||
+ return sansStr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
|
|
||||||
<default-apps>
|
|
||||||
<web-browsers>
|
|
||||||
<web-browser>
|
|
||||||
<name>Chromium</name>
|
|
||||||
<executable>chromium-browser</executable>
|
|
||||||
<command>chromium-browser %s</command>
|
|
||||||
<icon-name>chromium-browser</icon-name>
|
|
||||||
<run-in-terminal>false</run-in-terminal>
|
|
||||||
</web-browser>
|
|
||||||
</web-browsers>
|
|
||||||
</default-apps>
|
|
@ -1,87 +0,0 @@
|
|||||||
Fix HOST_OS detection in build_ffpeg.sh
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=491466
|
|
||||||
|
|
||||||
Enable gold linker
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=491850
|
|
||||||
|
|
||||||
--- a/third_party/ffmpeg/chromium/scripts/build_ffmpeg.sh
|
|
||||||
+++ b/third_party/ffmpeg/chromium/scripts/build_ffmpeg.sh
|
|
||||||
@@ -75,7 +75,7 @@
|
|
||||||
LIBAVUTIL_VERSION_MAJOR=52
|
|
||||||
|
|
||||||
case $(uname -sm) in
|
|
||||||
- Linux\ i386)
|
|
||||||
+ Linux\ i?86)
|
|
||||||
HOST_OS=linux
|
|
||||||
HOST_ARCH=ia32
|
|
||||||
JOBS=$(grep processor /proc/cpuinfo | wc -l)
|
|
||||||
@@ -85,6 +85,11 @@
|
|
||||||
HOST_ARCH=x64
|
|
||||||
JOBS=$(grep processor /proc/cpuinfo | wc -l)
|
|
||||||
;;
|
|
||||||
+ Linux\ arm*)
|
|
||||||
+ HOST_OS=linux
|
|
||||||
+ HOST_ARCH=arm
|
|
||||||
+ JOBS=$(grep processor /proc/cpuinfo | wc -l)
|
|
||||||
+ ;;
|
|
||||||
Darwin\ i386)
|
|
||||||
HOST_OS=mac
|
|
||||||
HOST_ARCH=ia32
|
|
||||||
@@ -117,14 +122,6 @@
|
|
||||||
echo "LD = $(ld --version | head -n1)"
|
|
||||||
echo
|
|
||||||
|
|
||||||
-# As of this writing gold 2.20.1-system.20100303 is unable to link FFmpeg.
|
|
||||||
-if ld --version | grep -q gold; then
|
|
||||||
- echo "gold is unable to link FFmpeg"
|
|
||||||
- echo
|
|
||||||
- echo "Switch /usr/bin/ld to the regular binutils ld and try again"
|
|
||||||
- exit 1
|
|
||||||
-fi
|
|
||||||
-
|
|
||||||
# We want to use a sufficiently recent version of yasm on Windows.
|
|
||||||
if [[ "$TARGET_OS" == "win" || "$TARGET_OS" == "win-vs2013" ]]; then
|
|
||||||
if !(which yasm 2>&1 > /dev/null); then
|
|
||||||
@@ -292,14 +289,16 @@
|
|
||||||
add_flag_common --extra-cflags=-m32
|
|
||||||
add_flag_common --extra-ldflags=-m32
|
|
||||||
elif [ "$TARGET_ARCH" = "arm" ]; then
|
|
||||||
- # This if-statement essentially is for chroot tegra2.
|
|
||||||
- add_flag_common --enable-cross-compile
|
|
||||||
+ if [ "$HOST_ARCH" != "arm" ]; then
|
|
||||||
+ # This if-statement essentially is for chroot tegra2.
|
|
||||||
+ add_flag_common --enable-cross-compile
|
|
||||||
|
|
||||||
- # Location is for CrOS chroot. If you want to use this, enter chroot
|
|
||||||
- # and copy ffmpeg to a location that is reachable.
|
|
||||||
- add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
|
|
||||||
- add_flag_common --target-os=linux
|
|
||||||
- add_flag_common --arch=arm
|
|
||||||
+ # Location is for CrOS chroot. If you want to use this, enter chroot
|
|
||||||
+ # and copy ffmpeg to a location that is reachable.
|
|
||||||
+ add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
|
|
||||||
+ add_flag_common --target-os=linux
|
|
||||||
+ add_flag_common --arch=arm
|
|
||||||
+ fi
|
|
||||||
|
|
||||||
# TODO(ihf): ARM compile flags are tricky. The final options
|
|
||||||
# overriding everything live in chroot /build/*/etc/make.conf
|
|
||||||
@@ -322,11 +321,13 @@
|
|
||||||
# NOTE: softfp/hardfp selected at gyp time.
|
|
||||||
add_flag_common --extra-cflags=-mfloat-abi=hard
|
|
||||||
elif [ "$TARGET_ARCH" = "arm-neon" ]; then
|
|
||||||
- # This if-statement is for chroot arm-generic.
|
|
||||||
- add_flag_common --enable-cross-compile
|
|
||||||
- add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
|
|
||||||
- add_flag_common --target-os=linux
|
|
||||||
- add_flag_common --arch=arm
|
|
||||||
+ if [ "$HOST_ARCH" != "arm" ]; then
|
|
||||||
+ # This if-statement is for chroot arm-generic.
|
|
||||||
+ add_flag_common --enable-cross-compile
|
|
||||||
+ add_flag_common --cross-prefix=/usr/bin/armv7a-cros-linux-gnueabi-
|
|
||||||
+ add_flag_common --target-os=linux
|
|
||||||
+ add_flag_common --arch=arm
|
|
||||||
+ fi
|
|
||||||
add_flag_common --enable-armv6
|
|
||||||
add_flag_common --enable-armv6t2
|
|
||||||
add_flag_common --enable-vfp
|
|
@ -1,13 +0,0 @@
|
|||||||
--- chrome/test/chromedriver/embed_version_in_cpp.py.orig 2013-09-27 18:44:27.221221038 +0000
|
|
||||||
+++ chrome/test/chromedriver/embed_version_in_cpp.py 2013-09-27 18:44:59.861416643 +0000
|
|
||||||
@@ -25,9 +25,8 @@
|
|
||||||
options, args = parser.parse_args()
|
|
||||||
|
|
||||||
version = open(options.version_file, 'r').read().strip()
|
|
||||||
- revision = lastchange.FetchVersionInfo(None).revision.strip()
|
|
||||||
global_string_map = {
|
|
||||||
- 'kChromeDriverVersion': version + '.' + revision
|
|
||||||
+ 'kChromeDriverVersion': version
|
|
||||||
}
|
|
||||||
cpp_source.WriteSource('version',
|
|
||||||
'chrome/test/chromedriver',
|
|
@ -1,18 +0,0 @@
|
|||||||
--- chrome/browser/ui/libgtk2ui/libgtk2ui.gyp.orig 2014-02-28 02:42:18.993134286 +0000
|
|
||||||
+++ chrome/browser/ui/libgtk2ui/libgtk2ui.gyp 2014-02-28 02:43:37.633657361 +0000
|
|
||||||
@@ -17,6 +17,7 @@
|
|
||||||
'../../../../build/linux/system.gyp:gconf',
|
|
||||||
'../../../../build/linux/system.gyp:gtk',
|
|
||||||
'../../../../build/linux/system.gyp:gtkprint',
|
|
||||||
+ '../../../../printing/printing.gyp:cups',
|
|
||||||
'../../../../skia/skia.gyp:skia',
|
|
||||||
'../../../../ui/base/strings/ui_strings.gyp:ui_strings',
|
|
||||||
'../../../../ui/resources/ui_resources.gyp:ui_resources',
|
|
||||||
@@ -29,7 +30,6 @@
|
|
||||||
],
|
|
||||||
'defines': [
|
|
||||||
'LIBGTK2UI_IMPLEMENTATION',
|
|
||||||
- 'USE_CUPS',
|
|
||||||
],
|
|
||||||
# Several of our source files are named _gtk2.cc. This isn't to
|
|
||||||
# differentiate them from their source files (ninja and make are sane
|
|
@ -1,10 +0,0 @@
|
|||||||
--- build/all.gyp.orig 2014-02-12 19:11:50.200718819 +0000
|
|
||||||
+++ build/all.gyp 2014-02-12 19:12:11.160850317 +0000
|
|
||||||
@@ -676,7 +676,6 @@
|
|
||||||
}],
|
|
||||||
['chromeos==0', {
|
|
||||||
'dependencies': [
|
|
||||||
- '../v8/src/d8.gyp:d8',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
['internal_filter_fuzzer==1', {
|
|
@ -1,11 +0,0 @@
|
|||||||
--- build/gyp_chromium.orig 2014-01-29 01:22:52.527247671 +0000
|
|
||||||
+++ build/gyp_chromium 2014-01-29 01:23:49.857623290 +0000
|
|
||||||
@@ -38,8 +38,6 @@
|
|
||||||
sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
|
|
||||||
'Source', 'build', 'scripts'))
|
|
||||||
|
|
||||||
-import find_depot_tools
|
|
||||||
-
|
|
||||||
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about
|
|
||||||
# 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70
|
|
||||||
# seconds. Conversely, memory usage of build/gyp_chromium with Psyco
|
|
@ -1,12 +0,0 @@
|
|||||||
--- build/gyp_chromium.orig 2013-12-11 03:07:03.941915587 +0000
|
|
||||||
+++ build/gyp_chromium 2013-12-11 03:07:29.812073301 +0000
|
|
||||||
@@ -221,9 +221,6 @@
|
|
||||||
|
|
||||||
supplemental_includes = GetSupplementalFiles()
|
|
||||||
|
|
||||||
- if not RunGN(supplemental_includes):
|
|
||||||
- sys.exit(1)
|
|
||||||
-
|
|
||||||
args.extend(
|
|
||||||
['-I' + i for i in additional_include_files(supplemental_includes, args)])
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- build/gyp_chromium.orig 2014-01-16 22:55:50.292718339 +0000
|
|
||||||
+++ build/gyp_chromium 2014-01-16 23:15:17.890248708 +0000
|
|
||||||
@@ -370,8 +370,6 @@
|
|
||||||
args.append('--check')
|
|
||||||
|
|
||||||
supplemental_includes = GetSupplementalFiles()
|
|
||||||
- if not RunGN(supplemental_includes):
|
|
||||||
- sys.exit(1)
|
|
||||||
args.extend(
|
|
||||||
['-I' + i for i in additional_include_files(supplemental_includes, args)])
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- build/gyp_chromium.orig 2014-02-28 01:05:10.794646362 +0000
|
|
||||||
+++ build/gyp_chromium 2014-02-28 01:05:52.764917862 +0000
|
|
||||||
@@ -537,8 +537,6 @@
|
|
||||||
'GYP_CROSSCOMPILE' not in os.environ)):
|
|
||||||
os.environ['GYP_CROSSCOMPILE'] = '1'
|
|
||||||
|
|
||||||
- if not RunGN(gn_vars_dict):
|
|
||||||
- sys.exit(1)
|
|
||||||
args.extend(
|
|
||||||
['-I' + i for i in additional_include_files(supplemental_includes, args)])
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
--- chrome/chrome_browser.gypi.orig 2013-11-13 18:24:41.237282707 +0000
|
|
||||||
+++ chrome/chrome_browser.gypi 2013-11-13 18:26:03.357780490 +0000
|
|
||||||
@@ -3064,7 +3064,11 @@
|
|
||||||
'browser/password_manager/native_backend_gnome_x.cc',
|
|
||||||
'browser/password_manager/native_backend_gnome_x.h',
|
|
||||||
],
|
|
||||||
- }],
|
|
||||||
+ }, {
|
|
||||||
+ 'dependencies': [
|
|
||||||
+ '../build/linux/system.gyp:gnome_keyring',
|
|
||||||
+ ],
|
|
||||||
+ }],
|
|
||||||
['use_aura==1', {
|
|
||||||
'sources/': [
|
|
||||||
['exclude', '^browser/automation/testing_automation_provider_win.cc'],
|
|
||||||
@@ -3153,11 +3157,6 @@
|
|
||||||
],
|
|
||||||
},
|
|
||||||
}],
|
|
||||||
- ['use_gnome_keyring==1', {
|
|
||||||
- 'dependencies': [
|
|
||||||
- '../build/linux/system.gyp:gnome_keyring',
|
|
||||||
- ],
|
|
||||||
- }],
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
['input_speech==0', {
|
|
@ -1,12 +0,0 @@
|
|||||||
--- build/linux/system.gyp.orig 2013-01-28 16:03:43.709477316 +0000
|
|
||||||
+++ build/linux/system.gyp 2013-01-28 16:06:14.210254835 +0000
|
|
||||||
@@ -175,9 +175,6 @@
|
|
||||||
'gps_open',
|
|
||||||
'gps_close',
|
|
||||||
'gps_read',
|
|
||||||
- # We don't use gps_shm_read() directly, just to make
|
|
||||||
- # sure that libgps has the shared memory support.
|
|
||||||
- 'gps_shm_read',
|
|
||||||
],
|
|
||||||
'message': 'Generating libgps library loader.',
|
|
||||||
'process_outputs_as_sources': 1,
|
|
@ -1,32 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Allow the user to override command-line flags, bug #357629.
|
|
||||||
# This is based on Debian's chromium-browser package, and is intended
|
|
||||||
# to be consistent with Debian.
|
|
||||||
if [ -f /etc/chromium/default ] ; then
|
|
||||||
. /etc/chromium/default
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
|
|
||||||
# default CHROMIUM_FLAGS (from /etc/chromium/default).
|
|
||||||
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
|
|
||||||
|
|
||||||
# Let the wrapped binary know that it has been run through the wrapper
|
|
||||||
export CHROME_WRAPPER="`readlink -f "$0"`"
|
|
||||||
|
|
||||||
PROGDIR="`dirname "$CHROME_WRAPPER"`"
|
|
||||||
|
|
||||||
case ":$PATH:" in
|
|
||||||
*:$PROGDIR:*)
|
|
||||||
# $PATH already contains $PROGDIR
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# Append $PROGDIR to $PATH
|
|
||||||
export PATH="$PATH:$PROGDIR"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Set the .desktop file name
|
|
||||||
export CHROME_DESKTOP="chromium-browser-chromium.desktop"
|
|
||||||
|
|
||||||
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
|
|
@ -1,39 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Allow the user to override command-line flags, bug #357629.
|
|
||||||
# This is based on Debian's chromium-browser package, and is intended
|
|
||||||
# to be consistent with Debian.
|
|
||||||
for f in /etc/chromium/*; do
|
|
||||||
[[ -f ${f} ]] && source "${f}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
|
|
||||||
# default CHROMIUM_FLAGS (from /etc/chromium/default).
|
|
||||||
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
|
|
||||||
|
|
||||||
# Let the wrapped binary know that it has been run through the wrapper
|
|
||||||
export CHROME_WRAPPER=$(readlink -f "$0")
|
|
||||||
|
|
||||||
PROGDIR=${CHROME_WRAPPER%/*}
|
|
||||||
|
|
||||||
case ":$PATH:" in
|
|
||||||
*:$PROGDIR:*)
|
|
||||||
# $PATH already contains $PROGDIR
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
# Append $PROGDIR to $PATH
|
|
||||||
export PATH="$PATH:$PROGDIR"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ ${EUID} == 0 && -O ${XDG_CONFIG_HOME:-${HOME}} ]]; then
|
|
||||||
# Running as root with HOME owned by root.
|
|
||||||
# Pass --user-data-dir to work around upstream failsafe.
|
|
||||||
CHROMIUM_FLAGS="--user-data-dir=${XDG_CONFIG_HOME:-${HOME}/.config}/chromium
|
|
||||||
${CHROMIUM_FLAGS}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set the .desktop file name
|
|
||||||
export CHROME_DESKTOP="chromium-browser-chromium.desktop"
|
|
||||||
|
|
||||||
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
|
|
@ -1,26 +0,0 @@
|
|||||||
--- build/linux/unbundle/icu.gyp.orig 2013-09-27 18:18:50.531839532 +0000
|
|
||||||
+++ build/linux/unbundle/icu.gyp 2013-09-27 18:19:08.301950500 +0000
|
|
||||||
@@ -7,6 +7,7 @@
|
|
||||||
{
|
|
||||||
'target_name': 'system_icu',
|
|
||||||
'type': 'none',
|
|
||||||
+ 'toolsets': ['host', 'target'],
|
|
||||||
'direct_dependent_settings': {
|
|
||||||
'defines': [
|
|
||||||
'U_USING_ICU_NAMESPACE=0',
|
|
||||||
@@ -30,6 +31,7 @@
|
|
||||||
{
|
|
||||||
'target_name': 'icui18n',
|
|
||||||
'type': 'none',
|
|
||||||
+ 'toolsets': ['host', 'target'],
|
|
||||||
'dependencies': ['system_icu'],
|
|
||||||
'export_dependent_settings': ['system_icu'],
|
|
||||||
'variables': {
|
|
||||||
@@ -116,6 +118,7 @@
|
|
||||||
{
|
|
||||||
'target_name': 'icuuc',
|
|
||||||
'type': 'none',
|
|
||||||
+ 'toolsets': ['host', 'target'],
|
|
||||||
'dependencies': ['system_icu'],
|
|
||||||
'export_dependent_settings': ['system_icu'],
|
|
||||||
'variables': {
|
|
@ -1,13 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/core/core.gypi.orig 2013-09-27 18:25:24.634284363 +0000
|
|
||||||
+++ third_party/WebKit/Source/core/core.gypi 2013-09-27 18:25:48.614432099 +0000
|
|
||||||
@@ -3863,10 +3863,6 @@
|
|
||||||
'tests/TreeTestHelpers.h',
|
|
||||||
],
|
|
||||||
'scripts_for_in_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient as
|
|
||||||
- # dependency for whole jinja2 package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'scripts/in_file.py',
|
|
||||||
'scripts/in_generator.py',
|
|
||||||
'scripts/license.py',
|
|
@ -1,13 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/core/core.gypi.orig 2013-10-16 18:07:10.783245029 +0000
|
|
||||||
+++ third_party/WebKit/Source/core/core.gypi 2013-10-16 18:07:31.253373879 +0000
|
|
||||||
@@ -3613,10 +3613,6 @@
|
|
||||||
'rendering/RenderOverflowTest.cpp',
|
|
||||||
],
|
|
||||||
'scripts_for_in_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient as
|
|
||||||
- # dependency for whole jinja2 package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'../build/scripts/hasher.py',
|
|
||||||
'../build/scripts/in_file.py',
|
|
||||||
'../build/scripts/in_generator.py',
|
|
@ -1,27 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/bindings/derived_sources.gyp.orig 2013-11-06 18:36:38.369949986 +0000
|
|
||||||
+++ third_party/WebKit/Source/bindings/derived_sources.gyp 2013-11-06 18:37:06.980134563 +0000
|
|
||||||
@@ -53,11 +53,6 @@
|
|
||||||
],
|
|
||||||
'compiler_module_files': [
|
|
||||||
'scripts/idl_compiler.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/lex.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/yacc.py',
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient for package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_node.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_parser.py',
|
|
||||||
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2013-11-06 18:42:10.042086211 +0000
|
|
||||||
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2013-11-06 18:42:19.412146455 +0000
|
|
||||||
@@ -1,10 +1,6 @@
|
|
||||||
{
|
|
||||||
'variables': {
|
|
||||||
'scripts_for_in_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient as
|
|
||||||
- # dependency for whole jinja2 package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'hasher.py',
|
|
||||||
'in_file.py',
|
|
||||||
'in_generator.py',
|
|
@ -1,27 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/bindings/generated_bindings.gyp.orig 2014-01-29 01:37:10.832866464 +0000
|
|
||||||
+++ third_party/WebKit/Source/bindings/generated_bindings.gyp 2014-01-29 01:37:29.082985891 +0000
|
|
||||||
@@ -74,11 +74,6 @@
|
|
||||||
|
|
||||||
'compiler_module_files': [
|
|
||||||
'scripts/idl_compiler.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/lex.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/yacc.py',
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient for package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_node.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_parser.py',
|
|
||||||
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-01-29 01:37:58.853180703 +0000
|
|
||||||
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-01-29 01:38:06.423230239 +0000
|
|
||||||
@@ -1,10 +1,6 @@
|
|
||||||
{
|
|
||||||
'variables': {
|
|
||||||
'scripts_for_in_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient as
|
|
||||||
- # dependency for whole jinja2 package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'hasher.py',
|
|
||||||
'in_file.py',
|
|
||||||
'in_generator.py',
|
|
@ -1,25 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/bindings/generated_bindings.gyp.orig 2014-02-20 03:49:21.821527295 +0000
|
|
||||||
+++ third_party/WebKit/Source/bindings/generated_bindings.gyp 2014-02-20 03:49:34.401607238 +0000
|
|
||||||
@@ -110,9 +110,6 @@
|
|
||||||
'scripts/unstable/idl_compiler.py',
|
|
||||||
'<(DEPTH)/third_party/ply/lex.py',
|
|
||||||
'<(DEPTH)/third_party/ply/yacc.py',
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient for package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_node.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_parser.py',
|
|
||||||
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-02-20 03:49:59.351765796 +0000
|
|
||||||
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-02-20 03:50:08.111821470 +0000
|
|
||||||
@@ -1,10 +1,6 @@
|
|
||||||
{
|
|
||||||
'variables': {
|
|
||||||
'scripts_for_in_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient as
|
|
||||||
- # dependency for whole jinja2 package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'hasher.py',
|
|
||||||
'in_file.py',
|
|
||||||
'in_generator.py',
|
|
@ -1,31 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/bindings/generated_bindings.gyp.orig 2014-03-04 23:10:29.140572304 +0000
|
|
||||||
+++ third_party/WebKit/Source/bindings/generated_bindings.gyp 2014-03-04 23:12:53.991556052 +0000
|
|
||||||
@@ -109,15 +109,9 @@
|
|
||||||
|
|
||||||
# Python source
|
|
||||||
'jinja_module_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient for package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
],
|
|
||||||
'idl_compiler_files': [
|
|
||||||
'scripts/idl_compiler.py',
|
|
||||||
- # PLY (Python Lex-Yacc)
|
|
||||||
- '<(DEPTH)/third_party/ply/lex.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/yacc.py',
|
|
||||||
# Web IDL lexer/parser (base parser)
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_node.py',
|
|
||||||
--- third_party/WebKit/Source/build/scripts/scripts.gypi.orig 2014-03-04 23:11:54.731153647 +0000
|
|
||||||
+++ third_party/WebKit/Source/build/scripts/scripts.gypi 2014-03-04 23:12:05.861229233 +0000
|
|
||||||
@@ -1,10 +1,6 @@
|
|
||||||
{
|
|
||||||
'variables': {
|
|
||||||
'scripts_for_in_files': [
|
|
||||||
- # jinja2/__init__.py contains version string, so sufficient as
|
|
||||||
- # dependency for whole jinja2 package
|
|
||||||
- '<(DEPTH)/third_party/jinja2/__init__.py',
|
|
||||||
- '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep
|
|
||||||
'hasher.py',
|
|
||||||
'in_file.py',
|
|
||||||
'in_generator.py',
|
|
@ -1,12 +0,0 @@
|
|||||||
--- third_party/libyuv/libyuv.gyp.orig 2014-01-16 23:27:36.335011975 +0000
|
|
||||||
+++ third_party/libyuv/libyuv.gyp 2014-01-16 23:28:05.845202472 +0000
|
|
||||||
@@ -24,8 +24,7 @@
|
|
||||||
'HAVE_JPEG'
|
|
||||||
],
|
|
||||||
'conditions': [
|
|
||||||
- # Android uses libjpeg for system jpeg support.
|
|
||||||
- [ 'OS == "android" and use_system_libjpeg == 1', {
|
|
||||||
+ [ 'use_system_libjpeg == 1', {
|
|
||||||
'dependencies': [
|
|
||||||
'<(DEPTH)/third_party/libjpeg/libjpeg.gyp:libjpeg',
|
|
||||||
],
|
|
@ -1,11 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/bindings/derived_sources.gyp.orig 2013-07-30 22:29:53.610647573 +0000
|
|
||||||
+++ third_party/WebKit/Source/bindings/derived_sources.gyp 2013-07-30 22:30:05.150721649 +0000
|
|
||||||
@@ -262,8 +262,6 @@
|
|
||||||
'msvs_external_rule': 1,
|
|
||||||
'inputs': [
|
|
||||||
'scripts/idl_compiler.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/lex.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/yacc.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_node.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_parser.py',
|
|
@ -1,11 +0,0 @@
|
|||||||
--- third_party/WebKit/Source/bindings/derived_sources.gyp.orig 2013-09-09 17:53:37.709978765 +0000
|
|
||||||
+++ third_party/WebKit/Source/bindings/derived_sources.gyp 2013-09-09 17:53:50.540054303 +0000
|
|
||||||
@@ -57,8 +57,6 @@
|
|
||||||
],
|
|
||||||
'compiler_module_files': [
|
|
||||||
'scripts/idl_compiler.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/lex.py',
|
|
||||||
- '<(DEPTH)/third_party/ply/yacc.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_lexer.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_node.py',
|
|
||||||
'<(DEPTH)/tools/idl_parser/idl_parser.py',
|
|
@ -1,10 +0,0 @@
|
|||||||
--- media/cast/logging/logging.gyp.orig 2014-03-18 22:32:33.802818765 +0000
|
|
||||||
+++ media/cast/logging/logging.gyp 2014-03-18 22:33:14.683093733 +0000
|
|
||||||
@@ -40,6 +40,7 @@
|
|
||||||
'cast_common_logging',
|
|
||||||
'cast_logging_proto_lib',
|
|
||||||
'<(DEPTH)/base/base.gyp:base',
|
|
||||||
+ '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
|
|
||||||
],
|
|
||||||
'export_dependent_settings': [
|
|
||||||
'cast_logging_proto_lib',
|
|
@ -1,5 +0,0 @@
|
|||||||
# Default settings for chromium. This file is sourced by /bin/bash from
|
|
||||||
# the chromium launcher.
|
|
||||||
|
|
||||||
# Options to pass to chromium.
|
|
||||||
#CHROMIUM_FLAGS=""
|
|
@ -1,6 +0,0 @@
|
|||||||
solutions = [
|
|
||||||
{ "name" : "src",
|
|
||||||
"url" : "https://src.chromium.org/svn/trunk/src",
|
|
||||||
"safesync_url": "https://chromium-status.appspot.com/lkgr",
|
|
||||||
},
|
|
||||||
]
|
|
@ -1,14 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>chromium</herd>
|
|
||||||
<longdescription>Chromium is the open-source web browser project behind Google Chrome</longdescription>
|
|
||||||
<use>
|
|
||||||
<flag name="aura">
|
|
||||||
Enable Aura, new UI architecture that is GPU accelerated,
|
|
||||||
see http://www.chromium.org/developers/design-documents/aura .
|
|
||||||
</flag>
|
|
||||||
<flag name="bindist">Disable patent-encumbered HTML5 video codecs</flag>
|
|
||||||
<flag name="tcmalloc">Use bundled tcmalloc instead of system malloc.</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
@ -1,4 +0,0 @@
|
|||||||
DIST pipelight-0.2.6.tar.gz 138153 SHA256 79fa11ed70b98d82f723b7825236489a5bdf2109ca5cb16f8aa226fc81db129a SHA512 27d64d3cdb0bf4a04d1abf13906ed7a740eb0956b4d21bf26f9743dda985b0d8241c7e1f87d8de905f97e98fcdc29924a91667fc0affd66fcd6ca7bb9eeee380 WHIRLPOOL 2839c0cf24afad873305f704aac3ae2a8620b3b5514711863f1cb200d9defb6dcf3335f3489fdbb3647f6e9182b57ad212b0c9917a2cb94ea049aa542c22710e
|
|
||||||
DIST pluginloader-prebuilt-v0.2.6.tar.gz 467738 SHA256 afb6a3a50861b3700901c8c21f5c79a6e1beaffa59e949a0d6150ee9a03bfe27 SHA512 e3892243ca40950dfff2a916bb3fce16eca6936ec0bd419945a585513526d4b9c380ecb1d1cf418ae08422fc59ab3948e2b256ce989bb33334f2038bb391970e WHIRLPOOL 75ce2c8391b0966b889aef8abebdc16c9f3b464b439ec9e55d6c69cbfc4334c28e986db42719024ddb83b69c398a670dd7f87b1be40db50671fd75383f13b00a
|
|
||||||
EBUILD pipelight-0.2.6-r1.ebuild 6897 SHA256 a8eab94ad5f75c6eff094e0161ab391788708823d61084019eb1704638a8ee6b SHA512 9016835d7b880707194831b3d95c4e32500da2724ca8d79cae08fd5c0bb2c374ee5e9caa89841634b89a3759b77e103f95b30f4b704d9d0ecd711a82e39f1894 WHIRLPOOL 50e87d7d015463b8829b274beaad6e3303a874118d75b5b3a930764492cf71175e4a883491aaaf5c8ed00a42998f76397687209db7e6aa00d931c6e05e79320e
|
|
||||||
EBUILD pipelight-0.2.6.ebuild 6897 SHA256 89b879393ea4c7af68f935482278b8dd5f0118f3efa19d528a6e1303526d73e4 SHA512 1c08171029d692ea94c430e6116edb7a4e51f7ac0af4fc2915c811231d67d346c9bab9b99f762199e5102854de38f4e4c34bb98e6e119220b9d2092b1a6dce4d WHIRLPOOL 381343bfc97e000b69678c1dbb6795bc197e5a534fbc20c4a8dd64bfb9644bf2b2b5238c25b13b91b9bd6760f1d05b02449108e204f7d3fce11f4869778fe4fb
|
|
@ -1,143 +0,0 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils multilib
|
|
||||||
|
|
||||||
DESCRIPTION="A browser plugin which allows one to use windows-only plugins inside Linux browsers."
|
|
||||||
HOMEPAGE="http://fds-team.de/cms/index.html https://launchpad.net/pipelight"
|
|
||||||
SRC_URI="https://bitbucket.org/mmueller2012/pipelight/get/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
binary-pluginloader? ( http://repos.fds-team.de/pluginloader/v${PV}/pluginloader.tar.gz -> pluginloader-prebuilt-v${PV}.tar.gz )"
|
|
||||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="adobereader +binary-pluginloader flash foxitpdf grandstream installation-dialogs npactivex roblox shockwave +silverlight static unity3d"
|
|
||||||
|
|
||||||
DEPEND="app-arch/cabextract
|
|
||||||
>=app-emulation/wine-1.7.16[pipelight]
|
|
||||||
x11-apps/mesa-progs"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/mmueller2012-pipelight-487f8db5a03d"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use binary-pluginloader; then
|
|
||||||
mv ${WORKDIR}/src/windows/pluginloader.exe ${S}/src/windows/pluginloader.exe
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
|
|
||||||
local myargs
|
|
||||||
if use binary-pluginloader; then
|
|
||||||
myargs+="--win32-prebuilt"
|
|
||||||
elif use !binary-pluginloader; then
|
|
||||||
if use static; then
|
|
||||||
myargs+=" --win32-static"
|
|
||||||
else
|
|
||||||
myargs+=" --win32-cxx=$(/usr/bin/which wineg++)"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if use installation-dialogs; then
|
|
||||||
myargs+=" --show-installation-dialogs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We're not using econf because this is not an autotools configure script
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--wine-path=/usr/bin/wine \
|
|
||||||
--moz-plugin-path=/usr/$(get_libdir)/nsbrowser/plugins \
|
|
||||||
${myargs}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
#LICENSE is taken from src/linux/basicplugin.c in the pipelight source code.
|
|
||||||
sed -n -e '/BEGIN LICENSE/,/END LICENSE/p' ${S}/src/linux/basicplugin.c >> ${S}/LICENSE
|
|
||||||
dodoc ${S}/LICENSE debian/changelog
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "Creating copies of libpipelight.so..."
|
|
||||||
pipelight-plugin --create-mozilla-plugins
|
|
||||||
|
|
||||||
#The following plugins are not created by "pipelight-plugin --create-mozilla-plugins" and must be "unlocked"
|
|
||||||
use adobereader && pipelight-plugin --unlock-plugin adobereader
|
|
||||||
use foxitpdf && pipelight-plugin --unlock-plugin foxitpdf
|
|
||||||
use grandstream && pipelight-plugin --unlock-plugin grandstream
|
|
||||||
use npactivex && pipelight-plugin --unlock-plugin npactivex
|
|
||||||
use roblox && pipelight-plugin --unlock-plugin roblox
|
|
||||||
use shockwave && pipelight-plugin --unlock-plugin shockwave
|
|
||||||
|
|
||||||
einfo "Enabling plugins..."
|
|
||||||
# Setup symlinks to enable plugins based on USE flags
|
|
||||||
use adobereader && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-adobereader.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-adobereader.so
|
|
||||||
use flash && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-flash.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-flash.so
|
|
||||||
use foxitpdf && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-foxitpdf.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-foxitpdf.so
|
|
||||||
use grandstream && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-grandstream.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-grandstream.so
|
|
||||||
use npactivex && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-npactivex.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-npactivex.so
|
|
||||||
use roblox && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-roblox.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-roblox.so
|
|
||||||
use shockwave && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-shockwave.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-shockwave.so
|
|
||||||
use silverlight && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-silverlight5.1.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.1.so
|
|
||||||
use unity3d && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-unity3d.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-unity3d.so
|
|
||||||
|
|
||||||
echo
|
|
||||||
elog "When you first start your browser after installing Pipelight, Pipelight will "
|
|
||||||
elog "download and install any enabled plugins. This may take a few minutes to "
|
|
||||||
elog "complete. "
|
|
||||||
elog
|
|
||||||
elog "Some web sites will check what operating system you are using and will not "
|
|
||||||
elog "function properly if they detect Linux. For these sites, you will need to "
|
|
||||||
elog "install and enable a user agent string editor. The user agent string "
|
|
||||||
elog "recommended by upstream for many Silverlight apps is "
|
|
||||||
elog "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1 "
|
|
||||||
elog "and for many Unity 3D apps is "
|
|
||||||
elog "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like"
|
|
||||||
elog " Gecko) Version/5.1.3 Safari/534.53.10 "
|
|
||||||
elog "See https://answers.launchpad.net/pipelight/+faq/2351 for more information. "
|
|
||||||
elog
|
|
||||||
elog "GPU acceleration is not enabled by default for all graphics cards. See "
|
|
||||||
elog "https://answers.launchpad.net/pipelight/+faq/2364 for more information. "
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_prerm() {
|
|
||||||
einfo "Removing copies of libpipelight.so..."
|
|
||||||
pipelight-plugin --remove-mozilla-plugins
|
|
||||||
|
|
||||||
einfo "Disabling plugins..."
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-adobereader.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-adobereader.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-flash.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-flash.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-foxitpdf.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-foxitpdf.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-grandstream.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-grandstream.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-npactivex.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-npactivex.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-roblox.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-roblox.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-shockwave.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-shockwave.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight4.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight4.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.0.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.0.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.1.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.1.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-unity3d.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-unity3d.so
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,143 +0,0 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit eutils multilib
|
|
||||||
|
|
||||||
DESCRIPTION="A browser plugin which allows one to use windows-only plugins inside Linux browsers."
|
|
||||||
HOMEPAGE="http://fds-team.de/cms/index.html https://launchpad.net/pipelight"
|
|
||||||
SRC_URI="https://bitbucket.org/mmueller2012/pipelight/get/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
binary-pluginloader? ( http://repos.fds-team.de/pluginloader/v${PV}/pluginloader.tar.gz -> pluginloader-prebuilt-v${PV}.tar.gz )"
|
|
||||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="adobereader +binary-pluginloader flash foxitpdf grandstream installation-dialogs npactivex roblox shockwave +silverlight static unity3d"
|
|
||||||
|
|
||||||
DEPEND="app-arch/cabextract
|
|
||||||
>=app-emulation/wine-1.7.16[compholio]
|
|
||||||
x11-apps/mesa-progs"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/mmueller2012-pipelight-487f8db5a03d"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
if use binary-pluginloader; then
|
|
||||||
mv ${WORKDIR}/src/windows/pluginloader.exe ${S}/src/windows/pluginloader.exe
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
|
|
||||||
local myargs
|
|
||||||
if use binary-pluginloader; then
|
|
||||||
myargs+="--win32-prebuilt"
|
|
||||||
elif use !binary-pluginloader; then
|
|
||||||
if use static; then
|
|
||||||
myargs+=" --win32-static"
|
|
||||||
else
|
|
||||||
myargs+=" --win32-cxx=$(/usr/bin/which wineg++)"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if use installation-dialogs; then
|
|
||||||
myargs+=" --show-installation-dialogs"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We're not using econf because this is not an autotools configure script
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--wine-path=/usr/bin/wine \
|
|
||||||
--moz-plugin-path=/usr/$(get_libdir)/nsbrowser/plugins \
|
|
||||||
${myargs}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
#LICENSE is taken from src/linux/basicplugin.c in the pipelight source code.
|
|
||||||
sed -n -e '/BEGIN LICENSE/,/END LICENSE/p' ${S}/src/linux/basicplugin.c >> ${S}/LICENSE
|
|
||||||
dodoc ${S}/LICENSE debian/changelog
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "Creating copies of libpipelight.so..."
|
|
||||||
pipelight-plugin --create-mozilla-plugins
|
|
||||||
|
|
||||||
#The following plugins are not created by "pipelight-plugin --create-mozilla-plugins" and must be "unlocked"
|
|
||||||
use adobereader && pipelight-plugin --unlock-plugin adobereader
|
|
||||||
use foxitpdf && pipelight-plugin --unlock-plugin foxitpdf
|
|
||||||
use grandstream && pipelight-plugin --unlock-plugin grandstream
|
|
||||||
use npactivex && pipelight-plugin --unlock-plugin npactivex
|
|
||||||
use roblox && pipelight-plugin --unlock-plugin roblox
|
|
||||||
use shockwave && pipelight-plugin --unlock-plugin shockwave
|
|
||||||
|
|
||||||
einfo "Enabling plugins..."
|
|
||||||
# Setup symlinks to enable plugins based on USE flags
|
|
||||||
use adobereader && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-adobereader.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-adobereader.so
|
|
||||||
use flash && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-flash.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-flash.so
|
|
||||||
use foxitpdf && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-foxitpdf.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-foxitpdf.so
|
|
||||||
use grandstream && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-grandstream.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-grandstream.so
|
|
||||||
use npactivex && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-npactivex.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-npactivex.so
|
|
||||||
use roblox && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-roblox.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-roblox.so
|
|
||||||
use shockwave && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-shockwave.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-shockwave.so
|
|
||||||
use silverlight && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-silverlight5.1.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.1.so
|
|
||||||
use unity3d && ln -sf /usr/$(get_libdir)/pipelight/libpipelight-unity3d.so /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-unity3d.so
|
|
||||||
|
|
||||||
echo
|
|
||||||
elog "When you first start your browser after installing Pipelight, Pipelight will "
|
|
||||||
elog "download and install any enabled plugins. This may take a few minutes to "
|
|
||||||
elog "complete. "
|
|
||||||
elog
|
|
||||||
elog "Some web sites will check what operating system you are using and will not "
|
|
||||||
elog "function properly if they detect Linux. For these sites, you will need to "
|
|
||||||
elog "install and enable a user agent string editor. The user agent string "
|
|
||||||
elog "recommended by upstream for many Silverlight apps is "
|
|
||||||
elog "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1 "
|
|
||||||
elog "and for many Unity 3D apps is "
|
|
||||||
elog "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like"
|
|
||||||
elog " Gecko) Version/5.1.3 Safari/534.53.10 "
|
|
||||||
elog "See https://answers.launchpad.net/pipelight/+faq/2351 for more information. "
|
|
||||||
elog
|
|
||||||
elog "GPU acceleration is not enabled by default for all graphics cards. See "
|
|
||||||
elog "https://answers.launchpad.net/pipelight/+faq/2364 for more information. "
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_prerm() {
|
|
||||||
einfo "Removing copies of libpipelight.so..."
|
|
||||||
pipelight-plugin --remove-mozilla-plugins
|
|
||||||
|
|
||||||
einfo "Disabling plugins..."
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-adobereader.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-adobereader.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-flash.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-flash.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-foxitpdf.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-foxitpdf.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-grandstream.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-grandstream.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-npactivex.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-npactivex.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-roblox.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-roblox.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-shockwave.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-shockwave.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight4.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight4.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.0.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.0.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.1.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-silverlight5.1.so
|
|
||||||
fi
|
|
||||||
if [ -h /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-unity3d.so ] ; then
|
|
||||||
rm /usr/$(get_libdir)/nsbrowser/plugins/libpipelight-unity3d.so
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user