diff options
32 files changed, 28 insertions, 2232 deletions
diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest index deeb517..fb63d4c 100644 --- a/dev-libs/pwlib/Manifest +++ b/dev-libs/pwlib/Manifest @@ -1,92 +1,16 @@ -AUX pwlib-1.5.0-r1-gentoo.diff 391 RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 SHA1 acfbb5b64f1fdc416c589ac8012ca1d43d4914ce SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 -MD5 0a9a8c5a1417127269e2e0f24ded1b2c files/pwlib-1.5.0-r1-gentoo.diff 391 -RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 files/pwlib-1.5.0-r1-gentoo.diff 391 -SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 files/pwlib-1.5.0-r1-gentoo.diff 391 -AUX pwlib-1.5.2-asnparser-secfix.diff 1299 RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 SHA1 80a0313d8fa0e93dbd108cffdafacad32ab3f6c0 SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 -MD5 8c6469f000dea2a13869631fcedbe0ff files/pwlib-1.5.2-asnparser-secfix.diff 1299 -RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 files/pwlib-1.5.2-asnparser-secfix.diff 1299 -SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 files/pwlib-1.5.2-asnparser-secfix.diff 1299 -AUX pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 SHA1 ba9177add96a9903646503bae739cf01cbc49d4f SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 -MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366 -RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366 -SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 files/pwlib-1.6.3-dyn-esd.patch 366 -AUX pwlib-1.6.6-alsa_dmix.diff 7450 RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 SHA1 d5c46a78e806b2775a57dc8a9e17d39885b86d26 SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe -MD5 0fbee42a70e13b6fe530a1f1ca8086ac files/pwlib-1.6.6-alsa_dmix.diff 7450 -RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 files/pwlib-1.6.6-alsa_dmix.diff 7450 -SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe files/pwlib-1.6.6-alsa_dmix.diff 7450 -AUX pwlib-1.6.6-ieee1394dc-fix.diff 7207 RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e SHA1 487829388504ce21ffd4bd92064b85180bbdedb3 SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35 -MD5 ef62669acbbbc63a30d475ca9865adb6 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 -RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 -SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 -AUX pwlib-1.8.4-gcc4.diff 1574 RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 SHA1 648bbd13aca363593ed8a279722670220a6b97d6 SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e -MD5 6aa40def4f33c78a2c05f91aeda058c1 files/pwlib-1.8.4-gcc4.diff 1574 -RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 files/pwlib-1.8.4-gcc4.diff 1574 -SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e files/pwlib-1.8.4-gcc4.diff 1574 -AUX pwlib-1.8.7-gcc-4.1-v4l2.patch 365 RMD160 59912c01346938ce57e251ae85f54f16882a6301 SHA1 d11665768db40b463cc0171d9ced8c61b3be3149 SHA256 5c76311cff3b883d5e6c8ea68df09d523d0704fc7f615c292606e6f1f157e93b -MD5 3fecacf32bc697a6b106ca508b2a6463 files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365 -RMD160 59912c01346938ce57e251ae85f54f16882a6301 files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365 -SHA256 5c76311cff3b883d5e6c8ea68df09d523d0704fc7f615c292606e6f1f157e93b files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365 -AUX pwlib-1.8.7-gcc41.patch 1540 RMD160 8260dab8d84081ae9c21bdc5ba4841f39d4e6be1 SHA1 035b0de63fc1eabe1be4452c64c60609cee65502 SHA256 fadfc6d4c1223cb0a3eac73fbd6eafc0618b8d1fde323f46d9d2071d75757b8d -MD5 223dafbac9787545227998ed2979a44f files/pwlib-1.8.7-gcc41.patch 1540 -RMD160 8260dab8d84081ae9c21bdc5ba4841f39d4e6be1 files/pwlib-1.8.7-gcc41.patch 1540 -SHA256 fadfc6d4c1223cb0a3eac73fbd6eafc0618b8d1fde323f46d9d2071d75757b8d files/pwlib-1.8.7-gcc41.patch 1540 -AUX pwlib-1.8.7-instplugins.diff 1044 RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 SHA1 90ccb7e33024dbb36e635b5b47ee0f67a9af7c05 SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 -MD5 cd832010589d81cab25d2523d62a3401 files/pwlib-1.8.7-instplugins.diff 1044 -RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 files/pwlib-1.8.7-instplugins.diff 1044 -SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 files/pwlib-1.8.7-instplugins.diff 1044 -AUX pwlib-1.9.3-sdl-configure.patch 1403 RMD160 240822a74944a5f54f147023b50966c72a232f24 SHA1 4d65a4a4c0663ac3c8a281ad6bfbe06a86727f1c SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 -MD5 e6f4109b8afd168be571ddc00b16707b files/pwlib-1.9.3-sdl-configure.patch 1403 -RMD160 240822a74944a5f54f147023b50966c72a232f24 files/pwlib-1.9.3-sdl-configure.patch 1403 -SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 files/pwlib-1.9.3-sdl-configure.patch 1403 -DIST pwlib-1.10.0.tar.gz 1480233 RMD160 5341a4d21996472665032b3cfcc184f04435ddab SHA1 ce8be112cbb0f88ab33be0c4061d18d4bfa967dd SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 -DIST pwlib-1.10.1.tar.gz 1485094 RMD160 860ce13ea7df77723c5697691602be4fe9087b5d SHA1 104e7fe42661b410749d19c90803715734bc1e3b SHA256 c7356f43f13995ece66e0becf84e38932b2e9f7a238b07f345c5b8fac6f823e3 -DIST pwlib-1.6.3.tar.gz 1158037 RMD160 a8f52e7825106475ad23a312e38e7ab8ebcc929b SHA1 e40fd4e27f479652bf4c51978a5f9da212d0697e SHA256 c371238a4719c9fe53bf6b1a89f490fdc6b5ea834c610b88f7e944c681179d03 -DIST pwlib-1.8.4.tar.gz 1382438 RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c SHA1 bf56dd1e2383c1c1f3bdf3a6424234c26550fed0 SHA256 08f204423cc4112794e6f031ba0b908c0d90cbefb58e83ea7c4b4e55643ebf01 -DIST pwlib-1.8.7.tar.gz 1900458 RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc SHA1 9333edf45f1022ba2529f7e731db9e5ffa92a17f SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7 -DIST pwlib-v1_6_6-src.tar.gz 1583087 -DIST pwlib-v1_8_3-src-tar.gz 1900922 -DIST pwlib_1.5.0.tar.gz 1074311 RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 SHA1 762384a53fb4f42522b0f322fa37fb7271b1f41a SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da -DIST pwlib_1.5.2.tar.gz 1085203 RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 SHA1 cbf9170dfe727d2423e312ca701cdf263c42ac86 SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 -EBUILD pwlib-1.10.0.ebuild 4383 RMD160 1417a5d2abb5b790c20c7d73a4f3e4ac53215094 SHA1 845dad3450fbbe4b5d59ea0a923deb7bbeb9c632 SHA256 0d1193659af55c2849a2b25a20c4ddc31e3bd035589b36ed68b2149b066a279d -MD5 97c11aed6d1726b635936f4ca4ce9d1c pwlib-1.10.0.ebuild 4383 -RMD160 1417a5d2abb5b790c20c7d73a4f3e4ac53215094 pwlib-1.10.0.ebuild 4383 -SHA256 0d1193659af55c2849a2b25a20c4ddc31e3bd035589b36ed68b2149b066a279d pwlib-1.10.0.ebuild 4383 -EBUILD pwlib-1.10.1.ebuild 4470 RMD160 4ba23f2d9296e7b18b7ae425de4f988d3bda80b7 SHA1 396bb1805155c52d27941f2da96df2e2c04b4bc2 SHA256 539736287c586886e2223e0614ec1b8483a7cb5d86dddd2cbad7546c2a5222d2 -MD5 38480cb00770d21d86be49f500696624 pwlib-1.10.1.ebuild 4470 -RMD160 4ba23f2d9296e7b18b7ae425de4f988d3bda80b7 pwlib-1.10.1.ebuild 4470 -SHA256 539736287c586886e2223e0614ec1b8483a7cb5d86dddd2cbad7546c2a5222d2 pwlib-1.10.1.ebuild 4470 -EBUILD pwlib-1.5.0-r1.ebuild 2403 RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 SHA1 14f82f991ed03e4b9c289ba538a93f75eaeb30ed SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 -MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403 -RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 pwlib-1.5.0-r1.ebuild 2403 -SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 pwlib-1.5.0-r1.ebuild 2403 -EBUILD pwlib-1.5.0.ebuild 2304 RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 SHA1 c2c24d269f1b5fb6bd8a24818deba7487079baca SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e -MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304 -RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 pwlib-1.5.0.ebuild 2304 -SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e pwlib-1.5.0.ebuild 2304 -EBUILD pwlib-1.5.2-r3.ebuild 2993 RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 SHA1 a235eee75a1b5d12cfc91f54922ba51631f28cc6 SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 -MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993 -RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 pwlib-1.5.2-r3.ebuild 2993 -SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 pwlib-1.5.2-r3.ebuild 2993 -EBUILD pwlib-1.6.3-r3.ebuild 4338 RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f SHA1 4d686788293f723fa5af9c6bb8029f509e0f8ebb SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 -MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338 -RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f pwlib-1.6.3-r3.ebuild 4338 -SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 pwlib-1.6.3-r3.ebuild 4338 -EBUILD pwlib-1.6.6-r2.ebuild 4546 RMD160 952171286f195e37c7d856a5568831928071dd3d SHA1 55d49804fac5e6e2e354ebf71250d7b8eea86ed0 SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0 -MD5 233dc6b0601309ce4da5385aa36e5bdc pwlib-1.6.6-r2.ebuild 4546 -RMD160 952171286f195e37c7d856a5568831928071dd3d pwlib-1.6.6-r2.ebuild 4546 -SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0 pwlib-1.6.6-r2.ebuild 4546 -EBUILD pwlib-1.8.3-r1.ebuild 4465 RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d SHA1 704d4f408dac845b5288d521c55cc9715aa75607 SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727 -MD5 00ce2a439ee24cd57f8c947d8fcadea1 pwlib-1.8.3-r1.ebuild 4465 -RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d pwlib-1.8.3-r1.ebuild 4465 -SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727 pwlib-1.8.3-r1.ebuild 4465 -EBUILD pwlib-1.8.4.ebuild 4341 RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab SHA1 3ddf30ae98464639b76d2674b556260677929ac0 SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538 -MD5 cad8c6f27ca92756b593272323ca3d25 pwlib-1.8.4.ebuild 4341 -RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab pwlib-1.8.4.ebuild 4341 -SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538 pwlib-1.8.4.ebuild 4341 -EBUILD pwlib-1.8.7.ebuild 4220 RMD160 c902df936833d38fe39e59fcfa33457d10e30c61 SHA1 a9a09a033f5df94ffb602cabaf506a7f94689329 SHA256 1fa420729865a2881748f8f8d29e16e05561eeb6081e41b139469b612c5ba4fe -MD5 6992db4ead53cc3721a88bc8ca6a354a pwlib-1.8.7.ebuild 4220 -RMD160 c902df936833d38fe39e59fcfa33457d10e30c61 pwlib-1.8.7.ebuild 4220 -SHA256 1fa420729865a2881748f8f8d29e16e05561eeb6081e41b139469b612c5ba4fe pwlib-1.8.7.ebuild 4220 +AUX pwlib-1.11.0-instplugins.diff 1046 RMD160 263447321fc27ef91e02a305a12bbffdfea58d02 SHA1 5ecad34b1835ec060872b974b55514e8bb5bac1e SHA256 cc708c69a85ddbeef7edaa8648ef35be859440e262b3056227351e338b41b8c4 +MD5 f8b9b98204ac5b40c7db905e01e5e734 files/pwlib-1.11.0-instplugins.diff 1046 +RMD160 263447321fc27ef91e02a305a12bbffdfea58d02 files/pwlib-1.11.0-instplugins.diff 1046 +SHA256 cc708c69a85ddbeef7edaa8648ef35be859440e262b3056227351e338b41b8c4 files/pwlib-1.11.0-instplugins.diff 1046 +AUX pwlib-1.11.0-sdl-configure.patch 1480 RMD160 710166a41227bcf71deeb63a3e0453eb5f97b245 SHA1 a60083b5f1f0e421447ad6e8fb0494c508d06a8d SHA256 a0f03a5e9169b94170e99ba9843dcfa7d972bf8e39d64064d3f88c9f44d76a2e +MD5 292b61a19fc98caff253885eff6a498a files/pwlib-1.11.0-sdl-configure.patch 1480 +RMD160 710166a41227bcf71deeb63a3e0453eb5f97b245 files/pwlib-1.11.0-sdl-configure.patch 1480 +SHA256 a0f03a5e9169b94170e99ba9843dcfa7d972bf8e39d64064d3f88c9f44d76a2e files/pwlib-1.11.0-sdl-configure.patch 1480 +DIST pwlib-v1_11_0-src-tar.gz 2159979 RMD160 7feb74cf14ce5940be731ea1812831030ba480d9 SHA1 86495347dc02490e6c626b5b198e28ea7f546592 SHA256 91284ffc3aef30b751665fb4f18e025e4175ec1c3671e6626404b8c73623c3f1 +EBUILD pwlib-1.11.0.ebuild 4683 RMD160 58efa7ef74da85503d01f64858e30dc273faa818 SHA1 f41ed69ec9a7f1a6b00d876e504c25e0166a0936 SHA256 1eba8f298e422cf37d8c3ace7d28509f32b70cb7a5fcbd879e2017384f1ce407 +MD5 1a5db3a15b3325119ff793099e4d4d43 pwlib-1.11.0.ebuild 4683 +RMD160 58efa7ef74da85503d01f64858e30dc273faa818 pwlib-1.11.0.ebuild 4683 +SHA256 1eba8f298e422cf37d8c3ace7d28509f32b70cb7a5fcbd879e2017384f1ce407 pwlib-1.11.0.ebuild 4683 MISC ChangeLog 15663 RMD160 adb53d3270c1de2bd6fbec3eaf4c042357f1d2df SHA1 aa7e9ab2679a40509570faaa0021a1facc4410dd SHA256 7e3dda15faefe8e45014b9dc0b8206e4b0bf79f4ae5a13057dcaff9c3d64dcac MD5 9855961f979b3a2b91dc024d031df341 ChangeLog 15663 RMD160 adb53d3270c1de2bd6fbec3eaf4c042357f1d2df ChangeLog 15663 @@ -95,33 +19,6 @@ MISC metadata.xml 235 RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 SHA1 be105 MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235 RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 metadata.xml 235 SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756 metadata.xml 235 -MD5 e75b1e9ed282919b963de08f047bc69f files/digest-pwlib-1.10.0 241 -RMD160 dee98852a31e19f87c840b2435ed03d1b6afe9e8 files/digest-pwlib-1.10.0 241 -SHA256 d646df1b3934423b54ef64267d7056015b2b4127cc4b413458e5132ce9fc03b2 files/digest-pwlib-1.10.0 241 -MD5 b0029942c03a5823083f0f53c64bc607 files/digest-pwlib-1.10.1 241 -RMD160 8c06d6103de41c9e505e37f80f9f594298ede49f files/digest-pwlib-1.10.1 241 -SHA256 63a8de6ebd1f21855e6936af628e948143185eb8db0cb422e5691f5a691a283b files/digest-pwlib-1.10.1 241 -MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0 238 -RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0 238 -SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0 238 -MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0-r1 238 -RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0-r1 238 -SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0-r1 238 -MD5 9d697bfbb229d75334c178f53aa93ba3 files/digest-pwlib-1.5.2-r3 238 -RMD160 03da7294631bff3e2fb69f69c1ba233c6e745876 files/digest-pwlib-1.5.2-r3 238 -SHA256 33e90a1c32cafa3e9e68776f4bc922ce0649a055a7185a90a4b7181a813e2b50 files/digest-pwlib-1.5.2-r3 238 -MD5 e152a7da0e17cbe3bfe81b70a4317aaa files/digest-pwlib-1.6.3-r3 238 -RMD160 bf1648783e58c17f7a58df993c9d30a5445805f9 files/digest-pwlib-1.6.3-r3 238 -SHA256 96045bfb873ec80294c191733dc7cac35530674f1256554728c9e621bcc0c1af files/digest-pwlib-1.6.3-r3 238 -MD5 3057a7e05b6e701041865f26fd1fb8c3 files/digest-pwlib-1.6.6-r2 69 -RMD160 c1625f314aaa6d02637be52980b0660dee47536e files/digest-pwlib-1.6.6-r2 69 -SHA256 ad3953aa43f4721a418dce9a14db87f23c18eb00389bb2f731dba26710a0dd39 files/digest-pwlib-1.6.6-r2 69 -MD5 66bc7e154effc3454029566adff8a2f7 files/digest-pwlib-1.8.3-r1 69 -RMD160 00a2031d1062fde769bcfb989b78cff8d123690d files/digest-pwlib-1.8.3-r1 69 -SHA256 778cbe52cb05b523a583c9e48c329ddc6174de08216a57a499b488f2784ba9f2 files/digest-pwlib-1.8.3-r1 69 -MD5 60c1f666a87cbb373faa3250ff4cee49 files/digest-pwlib-1.8.4 238 -RMD160 d93891d3baf0e3410477d4162624c57656c83dd4 files/digest-pwlib-1.8.4 238 -SHA256 b1ab93579d2be34efa156c45ad024836ddbde40ba3e5f32024728ee6863406d4 files/digest-pwlib-1.8.4 238 -MD5 fa4bf5181ae19decd0c4c4b6364e0468 files/digest-pwlib-1.8.7 238 -RMD160 2ee9e56a4822094c7398583124fdfe1b51bbcbaa files/digest-pwlib-1.8.7 238 -SHA256 56d302889c4df1d12b155e947d06dd1484c7eae0b49c0838825aa1f0bc0b01e2 files/digest-pwlib-1.8.7 238 +MD5 5037f8e41cd7f77210753a6b408f1e64 files/digest-pwlib-1.11.0 256 +RMD160 f9218d459448b9117c16153c13d8ebc9440dd9fd files/digest-pwlib-1.11.0 256 +SHA256 70e46d7bc8b3f4984688bb078f3dea825c4b3836cda109c97c4d81260311c186 files/digest-pwlib-1.11.0 256 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.0 b/dev-libs/pwlib/files/digest-pwlib-1.10.0 deleted file mode 100644 index 405b316..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.10.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 97da19588bdc25cd8b48afb135eded1d pwlib-1.10.0.tar.gz 1480233 -RMD160 5341a4d21996472665032b3cfcc184f04435ddab pwlib-1.10.0.tar.gz 1480233 -SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 pwlib-1.10.0.tar.gz 1480233 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.1 b/dev-libs/pwlib/files/digest-pwlib-1.10.1 deleted file mode 100644 index aa6a792..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.10.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 51414920d7b21125df2bf6870c0fc2e4 pwlib-1.10.1.tar.gz 1485094 -RMD160 860ce13ea7df77723c5697691602be4fe9087b5d pwlib-1.10.1.tar.gz 1485094 -SHA256 c7356f43f13995ece66e0becf84e38932b2e9f7a238b07f345c5b8fac6f823e3 pwlib-1.10.1.tar.gz 1485094 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0 b/dev-libs/pwlib/files/digest-pwlib-1.5.0 deleted file mode 100644 index 040a8e6..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.5.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 -RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311 -SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 deleted file mode 100644 index 040a8e6..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 -RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311 -SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 deleted file mode 100644 index 13e15f2..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203 -RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 pwlib_1.5.2.tar.gz 1085203 -SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 pwlib_1.5.2.tar.gz 1085203 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 deleted file mode 100644 index 683a250..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c190324ded05c349cf50b0d37fe0c8a1 pwlib-1.6.3.tar.gz 1158037 -RMD160 a8f52e7825106475ad23a312e38e7ab8ebcc929b pwlib-1.6.3.tar.gz 1158037 -SHA256 c371238a4719c9fe53bf6b1a89f490fdc6b5ea834c610b88f7e944c681179d03 pwlib-1.6.3.tar.gz 1158037 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 b/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 deleted file mode 100644 index 82c1731..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 c3ae07b03cd48d57cd9d6ec346182ed4 pwlib-v1_6_6-src.tar.gz 1583087 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 b/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 deleted file mode 100644 index bd4b079..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 082e0ca640c3dd81c637b6d6a3c9b4b3 pwlib-v1_8_3-src-tar.gz 1900922 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.4 b/dev-libs/pwlib/files/digest-pwlib-1.8.4 deleted file mode 100644 index 54e0c71..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.8.4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 fc638a64216b7751271c539ee4ccd0a8 pwlib-1.8.4.tar.gz 1382438 -RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c pwlib-1.8.4.tar.gz 1382438 -SHA256 08f204423cc4112794e6f031ba0b908c0d90cbefb58e83ea7c4b4e55643ebf01 pwlib-1.8.4.tar.gz 1382438 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.7 b/dev-libs/pwlib/files/digest-pwlib-1.8.7 deleted file mode 100644 index 9a11033..0000000 --- a/dev-libs/pwlib/files/digest-pwlib-1.8.7 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ba4fddd6cb8d4420cc18f308ccf48e00 pwlib-1.8.7.tar.gz 1900458 -RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc pwlib-1.8.7.tar.gz 1900458 -SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7 pwlib-1.8.7.tar.gz 1900458 diff --git a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff deleted file mode 100644 index 8f6d056..0000000 --- a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- include/ptlib/unix/ptlib/videoio.h.orig 2003-01-06 10:41:08.000000000 -0800 -+++ include/ptlib/unix/ptlib/videoio.h 2004-02-08 15:56:51.781845630 -0800 -@@ -101,6 +101,8 @@ - - #ifndef _PVIDEOIO - -+/* update for 2.6.1 kernel headers */ -+#include <sys/time.h> - - #if defined(P_LINUX) && !defined(NO_VIDEO_CAPTURE) - #include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */ diff --git a/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff b/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff deleted file mode 100644 index 444214a..0000000 --- a/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff +++ /dev/null @@ -1,56 +0,0 @@ ---- pwlib/src/ptclib/asnper.cxx.orig Fri Aug 1 02:11:38 2003 -+++ pwlib-1.5.2/src/ptclib/asnper.cxx Fri Feb 20 15:35:05 2004 -@@ -1224,7 +1224,12 @@ - return -1; - - value += lower; -- return 0; -+ -+ // clamp value to upper limit -+ if (value > upper) -+ value = upper; -+ -+ return 0; - } - - -@@ -1268,7 +1273,13 @@ - unsigned base; - if (!MultiBitDecode(CountBits(upper - lower + 1), base)) - return -1; -- return lower + base; // 10.9.4.1 -+ len = lower + base; // 10.9.4.1 -+ -+ // clamp value to upper limit -+ if (len > upper) -+ len = upper; -+ -+ return 0; - } - - if (upper < 65536) // 10.9.3.3 -@@ -1279,13 +1290,20 @@ - if (IsAtEnd()) - return -1; - -- if (SingleBitDecode() == 0) -- return MultiBitDecode(7, len) ? 0 : -1; // 10.9.3.6 -- -- if (SingleBitDecode() == 0) -- return MultiBitDecode(14, len) ? 0 : -1; // 10.9.3.7 -+ if (SingleBitDecode() == 0) { -+ if (!MultiBitDecode(7, len)) // 10.9.3.6 -+ return -1; // 10.9.3.8 unsupported -+ } -+ else if (SingleBitDecode() == 0) { -+ if (!MultiBitDecode(14, len)) // 10.9.3.7 -+ return -1; // 10.9.3.8 unsupported -+ } - -- return -1; // 10.9.3.8 unsupported -+ // clamp value to upper limit -+ if (len > upper) -+ len = upper; -+ -+ return 0; - } diff --git a/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch b/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch deleted file mode 100644 index 638fd78..0000000 --- a/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- make/unix.mak 2004-11-16 11:32:34.000000000 +1100 -+++ make/unix.mak.N 2005-07-27 14:12:35.000000000 +1000 -@@ -928,7 +928,7 @@ - # define ESDDIR variables if installed - ifdef ESDDIR - STDCCFLAGS += -I$(ESDDIR)/include -DUSE_ESD=1 --ENDLDLIBS += $(ESDDIR)/lib/libesd.a # to avoid name conflicts -+ENDLDLIBS += -lesd # to avoid name conflicts - HAS_ESD = 1 - endif - diff --git a/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff b/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff deleted file mode 100644 index 2d1ded9..0000000 --- a/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff +++ /dev/null @@ -1,259 +0,0 @@ -diff -ru pwlib-orig/plugins/sound_alsa/sound_alsa.cxx pwlib/plugins/sound_alsa/sound_alsa.cxx ---- pwlib-orig/plugins/sound_alsa/sound_alsa.cxx 2004-03-13 13:36:14.000000000 +0100 -+++ pwlib/plugins/sound_alsa/sound_alsa.cxx 2004-10-21 18:33:38.562610536 +0200 -@@ -28,6 +28,21 @@ - * Contributor(s): / - * - * $Log: sound_alsa.cxx,v $ -+ * Revision 1.21 2004/10/18 11:43:39 dsandras -+ * Use Capture instead of Mic when changing the volume. Use the correct mixer when using the Default device. -+ * -+ * Revision 1.20 2004/10/14 19:30:16 dsandras -+ * Removed DMIX and DSNOOP plugins and added support for DEFAULT as it is the correcti way to do things. -+ * -+ * Revision 1.19 2004/08/30 21:09:41 dsandras -+ * Added DSNOOP plugin support. -+ * -+ * Revision 1.18 2004/05/14 10:15:26 dominance -+ * Fixes direct opening of sound output devices. The list of devices does no longer return NULL in that case. Patch provided by Julien Puydt <julien.puydt@laposte.net>. -+ * -+ * Revision 1.17 2004/04/03 10:33:45 dsandras -+ * Use PStringToOrdinal to store the detected devices, that fixes problems if there is a discontinuity in the succession of soundcard ID's. For example the user has card ID 1 and 3, but not 2. -+ * - * Revision 1.16 2004/03/13 12:36:14 dsandras - * Added support for DMIX plugin output. - * -@@ -81,8 +96,8 @@ - PCREATE_SOUND_PLUGIN(ALSA, PSoundChannelALSA) - - --static PStringArray playback_devices; --static PStringArray capture_devices; -+static PStringToOrdinal playback_devices; -+static PStringToOrdinal capture_devices; - - /////////////////////////////////////////////////////////////////////////////// - -@@ -119,8 +134,9 @@ - } - - --PStringArray PSoundChannelALSA::GetDeviceNames (Directions dir) -+void PSoundChannelALSA::UpdateDictionary (Directions dir) - { -+ - int card = -1, dev = -1; - - snd_ctl_t *handle = NULL; -@@ -134,12 +150,12 @@ - if (dir == Recorder) { - - stream = SND_PCM_STREAM_CAPTURE; -- capture_devices = PStringArray (); -+ capture_devices = PStringToOrdinal (); - } - else { - - stream = SND_PCM_STREAM_PLAYBACK; -- playback_devices = PStringArray (); -+ playback_devices = PStringToOrdinal (); - } - - snd_ctl_card_info_alloca (&info); -@@ -148,7 +164,7 @@ - /* No sound card found */ - if (snd_card_next (&card) < 0 || card < 0) { - -- return PStringArray (); -+ return; - } - - -@@ -176,13 +192,11 @@ - snd_card_get_name (card, &name); - if (dir == Recorder) { - -- if (capture_devices.GetStringsIndex (name) == P_MAX_INDEX) -- capture_devices.AppendString (name); -+ capture_devices.SetAt (name, card); - } - else { - -- if (playback_devices.GetStringsIndex (name) == P_MAX_INDEX) -- playback_devices.AppendString (name); -+ playback_devices.SetAt (name, card); - } - - free (name); -@@ -193,17 +207,27 @@ - snd_ctl_close(handle); - snd_card_next (&card); - } -+} - -- -- if (dir == Recorder) -- return capture_devices; -- else { -+PStringArray PSoundChannelALSA::GetDeviceNames (Directions dir) -+{ -+ PStringArray devices; -+ PStringToOrdinal devices_dict; - -- if (playback_devices.GetSize () > 0) -- playback_devices += "DMIX Plugin"; -+ if (dir == Recorder) -+ devices_dict = capture_devices; -+ else -+ devices_dict = playback_devices; -+ -+ UpdateDictionary (dir); -+ -+ if (devices_dict.GetSize () > 0) -+ devices += "Default"; -+ -+ for (PINDEX j = 0 ; j < devices_dict.GetSize () ; j++) -+ devices += devices_dict.GetKeyAt (j); - -- return playback_devices; -- } -+ return devices; - } - - -@@ -223,7 +247,7 @@ - unsigned _bitsPerSample) - { - PString real_device_name; -- PINDEX i = 0; -+ POrdinalKey *i = NULL; - snd_pcm_stream_t stream; - - Close(); -@@ -236,21 +260,31 @@ - stream = SND_PCM_STREAM_PLAYBACK; - - /* Open in NONBLOCK mode */ -- if (_dir != Recorder && _device == "DMIX Plugin") { -+ if (_device == "Default") { - -- real_device_name = "plug:dmix"; -+ real_device_name = "default"; -+ card_nr = -2; - } -- else if ((i = (_dir == Recorder) ? capture_devices.GetStringsIndex (_device) : playback_devices.GetStringsIndex (_device)) != P_MAX_INDEX) { -+ else { -+ -+ if ((_dir == Recorder && capture_devices.IsEmpty ()) -+ || (_dir == Player && playback_devices.IsEmpty ())) -+ UpdateDictionary (_dir); -+ -+ i = (_dir == Recorder) ? capture_devices.GetAt (_device) : playback_devices.GetAt (_device); - -- real_device_name = "plughw:" + PString (i); -- card_nr = i; -+ if (i) { -+ -+ real_device_name = "plughw:" + PString (*i); -+ card_nr = *i; -+ } -+ else { -+ -+ PTRACE (1, "ALSA\tDevice not found"); -+ return FALSE; -+ } - } -- else { - -- PTRACE (1, "ALSA\tDevice unavailable"); -- return FALSE; -- } -- - if (snd_pcm_open (&os_handle, real_device_name, stream, SND_PCM_NONBLOCK) < 0) { - - PTRACE (1, "ALSA\tOpen Failed"); -@@ -735,7 +769,7 @@ - snd_mixer_elem_t *elem; - snd_mixer_selem_id_t *sid; - -- const char *play_mix_name = (direction == Player) ? "PCM": "Mic"; -+ const char *play_mix_name = (direction == Player) ? "PCM": "Capture"; - PString card_name; - - long pmin = 0, pmax = 0; -@@ -744,7 +778,10 @@ - if (!os_handle) - return FALSE; - -- card_name = "hw:" + PString (card_nr); -+ if (card_nr == -2) -+ card_name = "default"; -+ else -+ card_name = "hw:" + PString (card_nr); - - //allocate simple id - snd_mixer_selem_id_alloca (&sid); -@@ -796,23 +833,39 @@ - return FALSE; - } - -- snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax); - - if (set) { -- -- vol = (set_vol * (pmax?pmax:31)) / 100; -- snd_mixer_selem_set_playback_volume (elem, -- SND_MIXER_SCHN_FRONT_LEFT, vol); -- snd_mixer_selem_set_playback_volume (elem, -- SND_MIXER_SCHN_FRONT_RIGHT, vol); - -+ if (direction == Player) { -+ -+ snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax); -+ vol = (set_vol * (pmax?pmax:31)) / 100; -+ snd_mixer_selem_set_playback_volume_all (elem, vol); -+ } -+ else { -+ -+ snd_mixer_selem_get_capture_volume_range (elem, &pmin, &pmax); -+ vol = (set_vol * (pmax?pmax:31)) / 100; -+ snd_mixer_selem_set_capture_volume_all (elem, vol); -+ } - PTRACE (4, "Set volume to " << vol); - } - else { - -- snd_mixer_selem_get_playback_volume (elem, -- SND_MIXER_SCHN_FRONT_LEFT, &vol); -+ if (direction == Player) { -+ -+ snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax); -+ snd_mixer_selem_get_playback_volume (elem, SND_MIXER_SCHN_FRONT_LEFT, -+ &vol); -+ } -+ else { -+ -+ snd_mixer_selem_get_capture_volume_range (elem, &pmin, &pmax); -+ snd_mixer_selem_get_capture_volume (elem, SND_MIXER_SCHN_FRONT_LEFT, -+ &vol); -+ } - get_vol = (vol * 100) / (pmax?pmax:31); -+ - PTRACE (4, "Got volume " << vol); - } - -Only in pwlib/plugins/sound_alsa: .sound_alsa.cxx-patch.swp -diff -ru pwlib-orig/plugins/sound_alsa/sound_alsa.h pwlib/plugins/sound_alsa/sound_alsa.h ---- pwlib-orig/plugins/sound_alsa/sound_alsa.h 2003-12-28 16:10:35.000000000 +0100 -+++ pwlib/plugins/sound_alsa/sound_alsa.h 2004-10-21 18:35:51.559391952 +0200 -@@ -89,7 +89,8 @@ - BOOL IsOpen() const; - - private: -- -+ -+ static void UpdateDictionary(PSoundChannel::Directions); - BOOL Volume (BOOL, unsigned, unsigned &); - PSoundChannel::Directions direction; - PString device; - diff --git a/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff b/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff deleted file mode 100644 index 25c9e10..0000000 --- a/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff +++ /dev/null @@ -1,197 +0,0 @@ -=================================================================== -RCS file: /cvsroot/openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx,v -retrieving revision 1.1 -retrieving revision 1.5 -diff -u -r1.1 -r1.5 ---- openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx 2003/12/17 15:40:56 1.1 -+++ openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx 2004/06/15 23:55:50 1.5 -@@ -413,7 +425,7 @@ - else if (supported_framerates & (1U << (31-0))) - framerate = FRAMERATE_1_875; - else { -- PTRACE(1, "No supported frame rate??!!" << supported_framerates); -+ PTRACE(1, "Frame rate " << supported_framerates << " is not supported"); - return FALSE; - } - -@@ -423,7 +435,11 @@ - FORMAT_VGA_NONCOMPRESSED, - dc1394_mode, - P_DC1394_DEFAULT_SPEED, -- framerate, 4, 1, deviceName, -+ framerate, 4, 1, -+#ifdef NEW_DC_API -+ 1, -+#endif -+ deviceName, - &camera)!=DC1394_SUCCESS) || - (!UseDMA && dc1394_setup_capture(handle,camera_nodes[channelNumber], - 0, /* channel of IEEE 1394 */ -=================================================================== -RCS file: /cvsroot/openh323/pwlib/plugins/configure.in,v -retrieving revision 1.6 -retrieving revision 1.7 -diff -u -r1.6 -r1.7 ---- openh323/pwlib/plugins/configure.in 2004/02/04 02:34:38 1.6 -+++ openh323/pwlib/plugins/configure.in 2004/06/15 23:55:50 1.7 -@@ -134,6 +134,35 @@ - if test "${DC1394HDR:-unset}" != "unset" -a ${RAW1394HDR:-unset} != "unset"; then - AC_SUBST(HAS_DC1394, 1) - AC_MSG_RESULT(yes) -+ AC_MSG_CHECKING(if dc1394_dma_setup_capture has 12 parms) -+ AC_COMPILE_IFELSE([[ -+#include "libdc1394/dc1394_control.h" -+int main(int ac,char **av) -+{ -+ raw1394handle_t handle; -+ nodeid_t node; -+ int channel; -+ int format; -+ int mode; -+ int speed; -+ int frame_rate; -+ int num_dma_buffers; -+ int do_extra_buffering; -+ int drop_frames; -+ const char *dma_device_file; -+ dc1394_cameracapture *camera; -+ dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers, -+ do_extra_buffering, drop_frames, dma_device_file, camera); -+ return 0; -+} -+]],NEW_DC_API=1, NEW_DC_API=0) -+ if test "$NEW_DC_API" = "1" ; then -+ AC_SUBST(DC_CFLAGS, -DNEW_DC_API) -+ AC_MSG_RESULT(yes) -+ else -+ AC_SUBST(DC_CFLAGS) -+ AC_MSG_RESULT(no) -+ fi - else - AC_MSG_RESULT(no) - fi -@@ -146,5 +175,6 @@ - dnl output header file - - AC_CONFIG_FILES(Makefile) -+AC_CONFIG_FILES(vidinput_dc/Makefile) - - AC_OUTPUT() -=================================================================== -RCS file: /cvsroot/openh323/pwlib/plugins/configure,v -retrieving revision 1.3 -retrieving revision 1.4 -diff -u -r1.3 -r1.4 ---- openh323/pwlib/plugins/configure 2004/02/04 02:34:37 1.3 -+++ openh323/pwlib/plugins/configure 2004/06/15 23:55:50 1.4 -@@ -308,7 +308,7 @@ - # include <unistd.h> - #endif" - --ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 LIBOBJS LTLIBOBJS' -+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 DC_CFLAGS LIBOBJS LTLIBOBJS' - ac_subst_files='' - - # Initialize some variables set by options. -@@ -4567,6 +4567,61 @@ - - echo "$as_me:$LINENO: result: yes" >&5 - echo "${ECHO_T}yes" >&6 -+ echo "$as_me:$LINENO: checking if dc1394_dma_setup_capture has 12 parms" >&5 -+echo $ECHO_N "checking if dc1394_dma_setup_capture has 12 parms... $ECHO_C" >&6 -+ cat >conftest.$ac_ext <<_ACEOF -+ -+#include "libdc1394/dc1394_control.h" -+int main(int ac,char **av) -+{ -+ raw1394handle_t handle; -+ nodeid_t node; -+ int channel; -+ int format; -+ int mode; -+ int speed; -+ int frame_rate; -+ int num_dma_buffers; -+ int do_extra_buffering; -+ int drop_frames; -+ const char *dma_device_file; -+ dc1394_cameracapture *camera; -+ dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers, -+ do_extra_buffering, drop_frames, dma_device_file, camera); -+ return 0; -+} -+ -+_ACEOF -+rm -f conftest.$ac_objext -+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && -+ { ac_try='test -s conftest.$ac_objext' -+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); }; }; then -+ NEW_DC_API=1 -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+NEW_DC_API=0 -+fi -+rm -f conftest.$ac_objext conftest.$ac_ext -+ if test "$NEW_DC_API" = "1" ; then -+ DC_CFLAGS=-DNEW_DC_API -+ -+ echo "$as_me:$LINENO: result: yes" >&5 -+echo "${ECHO_T}yes" >&6 -+ else -+ -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+ fi - else - echo "$as_me:$LINENO: result: no" >&5 - echo "${ECHO_T}no" >&6 -@@ -4578,6 +4633,8 @@ - - ac_config_files="$ac_config_files Makefile" - -+ ac_config_files="$ac_config_files vidinput_dc/Makefile" -+ - - cat >confcache <<\_ACEOF - # This file is a shell script that caches the results of configure -@@ -5129,6 +5186,7 @@ - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; -+ "vidinput_dc/Makefile" ) CONFIG_FILES="$CONFIG_FILES vidinput_dc/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 - echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; -@@ -5234,6 +5292,7 @@ - s,@HAS_BSDVIDEOCAP@,$HAS_BSDVIDEOCAP,;t t - s,@HAS_AVC1394@,$HAS_AVC1394,;t t - s,@HAS_DC1394@,$HAS_DC1394,;t t -+s,@DC_CFLAGS@,$DC_CFLAGS,;t t - s,@LIBOBJS@,$LIBOBJS,;t t - s,@LTLIBOBJS@,$LTLIBOBJS,;t t - CEOF ---- openh323/pwlib/plugins/vidinput_dc/Makefile.in 1970-01-01 01:00:00.000000000 +0100 -+++ openh323/pwlib/plugins/vidinput_dc/Makefile.in 2004-08-30 03:08:49.095486368 +0200 -@@ -0,0 +1,12 @@ -+ifndef PWLIBDIR -+PWLIBDIR = $(HOME)/pwlib -+endif -+ -+PLUGIN_NAME = dc -+PLUGIN_FAMILY = device/videoinput -+PLUGIN_LIBS = -lraw1394 -ldv -ldc1394_control -+PLUGIN_SOURCES = video4dc1394.cxx -+ -+CFLAGS = @DC_CFLAGS@ -+ -+include ../../make/plugins.mak diff --git a/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff b/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff deleted file mode 100644 index e154658..0000000 --- a/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff +++ /dev/null @@ -1,46 +0,0 @@ -diff -Naur pwlib-1.8.4/include/ptlib/pprocess.h pwlib-1.8.4-gcc4/include/ptlib/pprocess.h ---- pwlib-1.8.4/include/ptlib/pprocess.h 2004-06-30 14:17:04.000000000 +0200 -+++ pwlib-1.8.4-gcc4/include/ptlib/pprocess.h 2005-09-06 15:06:16.032949750 +0200 -@@ -249,6 +249,7 @@ - #include <ptlib/syncpoint.h> - #include <ptlib/pfactory.h> - -+class PHouseKeepingThread; - - /**Create a process. - This macro is used to create the components necessary for a user PWLib -@@ -752,10 +753,10 @@ - - PArgList arguments; - // The list of arguments -- -+ public: - PTimerList timers; - // List of active timers in system -- -+ private: - PTime programStartTime; - // time at which process was intantiated, i.e. started - -diff -Naur pwlib-1.8.4/include/ptlib/timer.h pwlib-1.8.4-gcc4/include/ptlib/timer.h ---- pwlib-1.8.4/include/ptlib/timer.h 2003-09-17 11:01:00.000000000 +0200 -+++ pwlib-1.8.4-gcc4/include/ptlib/timer.h 2005-09-06 15:06:16.036950000 +0200 -@@ -123,6 +123,7 @@ - #endif - - class PThread; -+class PTimerList; - - #include <ptlib/notifier.h> - -diff -Naur pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h pwlib-1.8.4-gcc4/include/ptlib/unix/ptlib/pprocess.h ---- pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h 2004-05-23 23:11:39.000000000 +0200 -+++ pwlib-1.8.4-gcc4/include/ptlib/unix/ptlib/pprocess.h 2005-09-06 15:06:16.036950000 +0200 -@@ -171,6 +171,7 @@ - PDICTIONARY(ThreadDict, POrdinalKey, PThread); - ThreadDict activeThreads; - PMutex threadMutex; -+ public: - int timerChangePipe[2]; - PHouseKeepingThread * housekeepingThread; - diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch b/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch deleted file mode 100644 index f544662..0000000 --- a/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/vidinput_v4l2/vidinput_v4l2.cxx.old 2006-06-06 21:34:31.000000000 +0200 -+++ plugins/vidinput_v4l2/vidinput_v4l2.cxx 2006-06-06 21:35:17.000000000 +0200 -@@ -74,7 +74,7 @@ - - protected: - -- virtual PString V4L2Names::BuildUserFriendly(PString devname); -+ virtual PString BuildUserFriendly(PString devname); - - enum KernelVersionEnum { - K2_4, diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch b/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch deleted file mode 100644 index ad0c1ba..0000000 --- a/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -ur pwlib-1.8.7-orig/include/ptclib/vxml.h pwlib-1.8.7/include/ptclib/vxml.h ---- pwlib-1.8.7-orig/include/ptclib/vxml.h 2006-05-01 13:16:53.000000000 -0400 -+++ pwlib-1.8.7/include/ptclib/vxml.h 2006-05-01 13:20:30.000000000 -0400 -@@ -366,7 +366,7 @@ - - virtual PString GetVar(const PString & str) const; - virtual void SetVar(const PString & ostr, const PString & val); -- virtual PString PVXMLSession::EvaluateExpr(const PString & oexpr); -+ virtual PString EvaluateExpr(const PString & oexpr); - - virtual BOOL RetreiveResource(const PURL & url, PString & contentType, PFilePath & fn, BOOL useCache = TRUE); - -diff -ur pwlib-1.8.7-orig/include/ptlib/pstring.h pwlib-1.8.7/include/ptlib/pstring.h ---- pwlib-1.8.7-orig/include/ptlib/pstring.h 2006-05-01 13:16:53.000000000 -0400 -+++ pwlib-1.8.7/include/ptlib/pstring.h 2006-05-01 13:17:25.000000000 -0400 -@@ -3182,5 +3182,10 @@ - int lastError; - }; - -+PString psprintf( -+ const char * cfmt, /// C string for output format. -+ ... /// Extra parameters for #sprintf()# call. -+ ); -+ - - // End Of File /////////////////////////////////////////////////////////////// -diff -ur pwlib-1.8.7-orig/src/ptlib/unix/svcproc.cxx pwlib-1.8.7/src/ptlib/unix/svcproc.cxx ---- pwlib-1.8.7-orig/src/ptlib/unix/svcproc.cxx 2006-05-01 13:16:53.000000000 -0400 -+++ pwlib-1.8.7/src/ptlib/unix/svcproc.cxx 2006-05-01 13:26:51.000000000 -0400 -@@ -279,6 +279,8 @@ - #include <sys/resource.h> - #endif - -+extern void PXSignalHandler(int sig); -+ - #define new PNEW - - diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff b/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff deleted file mode 100644 index bd59a4b..0000000 --- a/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- pwlib-1.8.7/Makefile.in.orig 2004-06-24 12:46:48.000000000 +0000 -+++ pwlib-1.8.7/Makefile.in 2005-09-09 15:48:10.000000000 +0000 -@@ -268,14 +268,16 @@ - ln -sf $(PTLIB_FILE) libpt.@SHAREDLIBEXT@ \ - ) - ifeq (1, $(HAS_PLUGINS)) -- cd plugins/pwlib/device/ ; \ -- ( for dir in ./* ;\ -- do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \ -- chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \ -- (for fn in ./$$dir/*.so ; \ -- do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \ -- done ); \ -- done ) -+ if [ -d plugins/pwlib/device ] ; then \ -+ cd plugins/pwlib/device/ ; \ -+ ( for dir in ./* ;\ -+ do mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \ -+ chmod 755 $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir ; \ -+ (for fn in ./$$dir/*.so ; \ -+ do $(INSTALL) -m 444 $$fn $(DESTDIR)$(LIBDIR)/pwlib/devices/$$dir; \ -+ done ); \ -+ done ) \ -+ fi - endif - $(INSTALL) -m 444 include/ptlib.h $(DESTDIR)$(PREFIX)/include - $(INSTALL) -m 444 include/ptbuildopts.h $(DESTDIR)$(PREFIX)/include diff --git a/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch deleted file mode 100644 index bf8f402..0000000 --- a/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- pwlib-1.9.3/configure.ac.orig 2006-01-31 10:23:43.000000000 +0100 -+++ pwlib-1.9.3/configure.ac 2006-02-16 00:42:27.000000000 +0100 -@@ -1476,6 +1476,7 @@ - AC_ARG_ENABLE(sdl, - [ --disable-sdl disable SDL support]) - -+ - if test "${enable_sdl}z" = "z" ; then - enable_sdl=$default_sdl - fi -@@ -1485,6 +1486,9 @@ - AC_MSG_NOTICE(SDL disabled) - AC_DEFINE(P_SDL, 0) - else -+ dnl check for sdl-config -+ AC_PATH_PROG([SDL_CONFIG], [sdl-config],, [$PATH:/usr/local/bin]) -+ - dnl SDL checks - if test "${SDLLIB:-unset}" = "unset" ; then - SDLLIB=SDL -@@ -1496,7 +1500,13 @@ - if test "${X11LIBDIR:-unset}" == "unset" ; then - X11LIBDIR=/usr/X11R6/lib - fi -- AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, HAS_SDL=1, HAS_SDL=, -L${X11LIBDIR} -lpthread -lX11 -lXext) -+ if test "x${SDL_CONFIG}" = "x" ; then -+ SDL_LIBS="-L${X11LIBDIR} -lpthread -lX11 -lXext -laa" -+ else -+ SDL_LIBS="`${SDL_CONFIG} --libs`" -+ fi -+ -+ AC_CHECK_LIB([SDL], [SDL_CreateYUVOverlay], [HAS_SDL=1], [HAS_SDL=], [$SDL_LIBS]) - fi - - dnl freeBSD SDL check -@@ -1516,7 +1526,11 @@ - if test ${SDLLIBDIR:-unset} != "unset" ; then - LDFLAGS="$LDFLAGS -L${SDLLIBDIR}" - fi -- ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" -+ if test "x${SDL_CONFIG}" = "x" ; then -+ ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" -+ else -+ ENDLDLIBS="$ENDLDLIBS `${SDL_CONFIG} --libs`" -+ fi - fi - fi - AC_SUBST(HAS_SDL) diff --git a/dev-libs/pwlib/pwlib-1.10.0.ebuild b/dev-libs/pwlib/pwlib-1.10.0.ebuild deleted file mode 100644 index abd0e5c..0000000 --- a/dev-libs/pwlib/pwlib-1.10.0.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.0.ebuild,v 1.1 2006/03/20 23:27:37 genstef Exp $ - -inherit eutils flag-o-matic multilib - -IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml" - -DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" -HOMEPAGE="http://www.ekiga.org" -SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 - <media-libs/libdc1394-1.9.99 - !>=media-libs/libdc1394-2.0.0_pre1 ) - ldap? ( net-nds/openldap ) - sasl? ( dev-libs/cyrus-sasl ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/expat )" -DEPEND="${RDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - >=sys-apps/sed-4" - -src_unpack() { - unpack ${A} - cd ${S} - - # filter out -O3, -Os and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - -e "s:-Os::" \ - make/unix.mak - - # don't break make install if there are no plugins to install - epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff - -# # fix "command not found" error during configure run -# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch - - # use sdl-config to query required libraries - epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch - - autoconf || die "autoconf failed" -} - -src_compile() { - # may cause ICE (bug #70638) - filter-flags -fstack-protector - - econf \ - --enable-plugins \ - $(use_enable v4l2) \ - $(use_enable v4l) \ - $(use_enable ieee1394 dc) \ - $(use_enable ieee1394 avc) \ - $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable ipv6) \ - $(use_enable sdl) \ - $(use_enable ssl openssl) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable ldap openldap) \ - $(use_enable sasl) \ - $(use_enable xml expat) \ - || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. -# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ -# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ -# ${S}/make/ptbuildopts.mak - -# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ -# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ -# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ -# ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - local libdir libname - - libdir=$(get_libdir) - - # makefile doesn't create ${D}/usr/bin - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - ## vv will try to fix the mess below, requires a lot of patching though... - - # update 2005/08/22: - # - # locations in *.mak files haven been fixed - # directories have been replaced w/ symlinks - # (left to not break things, doing some testing atm) - - # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild - # and keep applications happy (e.g. gnomemeeting / ekiga) - -# dosym /usr/include /usr/share/pwlib/include -# dosym /usr/${libdir} /usr/share/pwlib/${libdir} -# -# # just in case... -# if [[ "${libdir}" = "lib64" ]]; then -# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib -# fi - - ## ^^ bad stuff - - # fix symlink - libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) - rm ${D}/usr/${libdir}/libpt.so - dosym ${libname} /usr/${libdir}/libpt.so - - # fix makefiles to use headers from /usr/include and libs from /usr/lib - # instead of /usr/share/pwlib - # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) - # once pwlib ebuilds get slotted - sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ - -e "s:-I\$(PWLIBDIR)/include::g" \ - -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ - ${D}/usr/share/pwlib/make/*.mak - - # dodgy configure/makefiles forget to expand this - # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) - # once pwlib ebuilds get slotted - sed -i -e "s:\${exec_prefix}:/usr:" \ - ${D}/usr/bin/ptlib-config \ - ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm -} diff --git a/dev-libs/pwlib/pwlib-1.10.1.ebuild b/dev-libs/pwlib/pwlib-1.10.1.ebuild deleted file mode 100644 index 6928c6b..0000000 --- a/dev-libs/pwlib/pwlib-1.10.1.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $ - -inherit eutils flag-o-matic multilib - -IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml" - -DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" -HOMEPAGE="http://www.ekiga.org" -SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 - <media-libs/libdc1394-1.9.99 - !>=media-libs/libdc1394-2.0.0_pre1 ) - ldap? ( net-nds/openldap ) - sasl? ( dev-libs/cyrus-sasl ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - xml? ( dev-libs/expat )" -DEPEND="${RDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - >=sys-apps/sed-4" - -src_unpack() { - unpack ${A} - cd ${S} - - # filter out -O3, -Os and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - -e "s:-Os::" \ - make/unix.mak - - # don't break make install if there are no plugins to install - epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff - -# # fix "command not found" error during configure run -# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch - - # use sdl-config to query required libraries - epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch - - autoconf || die "autoconf failed" -} - -src_compile() { - local myconf="" - # may cause ICE (bug #70638) - filter-flags -fstack-protector - # disable-alsa breaks oss, see bug 127677 - use alsa && myconf="--enable-alsa" - - econf \ - --enable-plugins \ - $(use_enable v4l2) \ - $(use_enable v4l) \ - $(use_enable ieee1394 dc) \ - $(use_enable ieee1394 avc) \ - $(use_enable oss) \ - $(use_enable ipv6) \ - $(use_enable sdl) \ - $(use_enable ssl openssl) \ - $(use_enable debug exceptions) \ - $(use_enable debug memcheck) \ - $(use_enable ldap openldap) \ - $(use_enable sasl) \ - $(use_enable xml expat) \ - ${myconf} \ - || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. -# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ -# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ -# ${S}/make/ptbuildopts.mak - -# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ -# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ -# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ -# ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - local libdir libname - - libdir=$(get_libdir) - - # makefile doesn't create ${D}/usr/bin - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - ## vv will try to fix the mess below, requires a lot of patching though... - - # update 2005/08/22: - # - # locations in *.mak files haven been fixed - # directories have been replaced w/ symlinks - # (left to not break things, doing some testing atm) - - # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild - # and keep applications happy (e.g. gnomemeeting / ekiga) - -# dosym /usr/include /usr/share/pwlib/include -# dosym /usr/${libdir} /usr/share/pwlib/${libdir} -# -# # just in case... -# if [[ "${libdir}" = "lib64" ]]; then -# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib -# fi - - ## ^^ bad stuff - - # fix symlink - libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) - rm ${D}/usr/${libdir}/libpt.so - dosym ${libname} /usr/${libdir}/libpt.so - - # fix makefiles to use headers from /usr/include and libs from /usr/lib - # instead of /usr/share/pwlib - # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) - # once pwlib ebuilds get slotted - sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ - -e "s:-I\$(PWLIBDIR)/include::g" \ - -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ - ${D}/usr/share/pwlib/make/*.mak - - # dodgy configure/makefiles forget to expand this - # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) - # once pwlib ebuilds get slotted - sed -i -e "s:\${exec_prefix}:/usr:" \ - ${D}/usr/bin/ptlib-config \ - ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm -} diff --git a/dev-libs/pwlib/pwlib-1.11.0.ebuild b/dev-libs/pwlib/pwlib-1.11.0.ebuild index df38ccb..b6ba97b 100644 --- a/dev-libs/pwlib/pwlib-1.11.0.ebuild +++ b/dev-libs/pwlib/pwlib-1.11.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $ +# $Header: $ inherit eutils flag-o-matic multilib autotools @@ -31,13 +31,13 @@ DEPEND="${RDEPEND} >=sys-devel/bison-1.28 >=sys-devel/flex-2.5.4a >=sys-apps/sed-4" -S=${WORKDIR}/${MY_P/-/_} +S="${WORKDIR}/${MY_P/-/_}" src_unpack() { # currently complaining to upstream about new naming scheme - tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed" + tar -C "${WORKDIR}" -xzf "${DISTDIR}/${MY_P}-src-tar.gz" || die "Unpacking of ${P} failed" - cd ${S} + cd "${S}" # filter out -O3, -Os and -mcpu embedded compiler flags sed -i \ @@ -47,13 +47,13 @@ src_unpack() { make/unix.mak # don't break make install if there are no plugins to install - epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + epatch "${FILESDIR}/${P}-instplugins.diff" # # fix "command not found" error during configure run # epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch # use sdl-config to query required libraries - epatch ${FILESDIR}/pwlib-1.11.0-sdl-configure.patch + epatch "${FILESDIR}/${P}-sdl-configure.patch" # eautoheader fails, thus we only select some of eautoreconfig eaclocal @@ -106,7 +106,7 @@ src_install() { libdir=$(get_libdir) # makefile doesn't create ${D}/usr/bin - make PREFIX=/usr DESTDIR=${D} install || die "install failed" + make PREFIX=/usr DESTDIR="${D}" install || die "install failed" ## vv will try to fix the mess below, requires a lot of patching though... @@ -130,8 +130,8 @@ src_install() { ## ^^ bad stuff # fix symlink - libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) - rm ${D}/usr/${libdir}/libpt.so + libname=$(basename ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}) + rm "${D}/usr/${libdir}/libpt.so" dosym ${libname} /usr/${libdir}/libpt.so # fix makefiles to use headers from /usr/include and libs from /usr/lib @@ -141,14 +141,14 @@ src_install() { sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ -e "s:-I\$(PWLIBDIR)/include::g" \ -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ - ${D}/usr/share/pwlib/make/*.mak + "${D}/usr/share/pwlib/make/"*.mak # dodgy configure/makefiles forget to expand this # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) # once pwlib ebuilds get slotted sed -i -e "s:\${exec_prefix}:/usr:" \ - ${D}/usr/bin/ptlib-config \ - ${D}/usr/share/pwlib/make/ptlib-config + "${D}/usr/bin/ptlib-config" \ + "${D}/usr/share/pwlib/make/ptlib-config" # copy version.h insinto /usr/share/pwlib diff --git a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild deleted file mode 100644 index 008bfb3..0000000 --- a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild,v 1.6 2005/01/08 20:12:42 stkn Exp $ - -inherit eutils - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~x86 ~ppc -sparc" -IUSE="ldap sdl ssl" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - ldap? ( net-nds/openldap ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak - cd ${S} - epatch ${FILESDIR}/pwlib-1.5.0-r1-gentoo.diff || die "patch failed" -} - -src_compile() { - if use ssl ; then - export OPENSSLFLAG=1 - export OPENSSLDIR=/usr - export OPENSSLLIBS="-lssl -lcrypt" - fi - - econf || die "configure failed" - - # horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is enabled - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config - - make opt || die "make failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/lib /usr/share /usr/include - make PREFIX=${D}/usr install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/lib - for x in ${D}/usr/lib/*; do - dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` - done - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - rm ${D}/usr/lib/libpt.so - if [ ${ARCH} = "ppc" ] ; then - dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so - else - dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.5.0.ebuild b/dev-libs/pwlib/pwlib-1.5.0.ebuild deleted file mode 100644 index 911d187..0000000 --- a/dev-libs/pwlib/pwlib-1.5.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0.ebuild,v 1.14 2005/01/08 20:12:42 stkn Exp $ - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="x86 ppc -sparc" -IUSE="ldap sdl ssl" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - ldap? ( net-nds/openldap ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak -} - -src_compile() { - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR=/usr - export OPENSSLLIBS="-lssl -lcrypt" - fi - - econf || die "configure failed" - - # horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is enabled - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config - - make opt || die "make failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/lib /usr/share /usr/include - make PREFIX=${D}/usr install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/lib - for x in ${D}/usr/lib/*; do - dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` - done - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - rm ${D}/usr/lib/libpt.so - if [ ${ARCH} = "ppc" ] ; then - dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so - else - dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild b/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild deleted file mode 100644 index d4addd9..0000000 --- a/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild,v 1.9 2005/01/08 20:12:42 stkn Exp $ - -inherit eutils - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha amd64" -IUSE="ssl sdl ldap" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - ldap? ( net-nds/openldap ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S} - - # fix #45846 / CAN-2004-0097 - epatch ${FILESDIR}/${P}-asnparser-secfix.diff - - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak -} - -src_compile() { - if use ssl ; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - econf || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/lib /usr/share /usr/include - make PREFIX=${D}/usr install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/lib - for x in ${D}/usr/lib/*; do - dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` - done - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - # only amd64 needs special care, afaiks - rm ${D}/usr/lib/libpt.so - if [ ${ARCH} = "amd64" ] ; then - dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so - else - dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - # dodgy configure/makefiles forget to expand this - dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config - - # satisfy ptlib.mak's weird definition (should check if true for future versions) - cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild b/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild deleted file mode 100644 index f0724d8..0000000 --- a/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild,v 1.3 2005/09/02 22:47:08 stkn Exp $ - -inherit eutils multilib - -IUSE="ssl sdl ieee1394 alsa esd" - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="x86 sparc amd64 ppc alpha" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - net-nds/openldap - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 ) - esd? ( media-sound/esound )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak - - # newer esound package doesn't install libesd.a anymore, - # use dynamic library instead (fixes #100432) - epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch -} - -src_compile() { - local plugins - local myconf - - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support - ## (even if itself is built without...) - #use ipv6 \ - # && myconf="${myconf} --enable-ipv6" \ - # || myconf="${myconf} --disable-ipv6" - myconf="${myconf} --enable-ipv6" - - # plugins, oss and v4l are default - plugins="oss v4l" - - use ieee1394 \ - && plugins="${plugins} avc" - - use alsa \ - && plugins="${plugins} alsa" - - if use esd; then - # fixes bug #45059 - export ESDDIR=/usr - fi - - # merge plugin options (safe way if default = "") - plugins="`echo ${plugins} | sed -e "y: :,:"`" - - econf ${myconf} \ - --enable-plugins \ - --with-plugins=${plugins} || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - # remove -fno-rtti, this breaks various things *grr* - sed -i -e "s:-fno-rtti::" \ - make/ptbuildopts.mak - sed -i -e "s:-fno-rtti::" \ - make/ptlib-config - - emake -j1 opt || die "make failed" - emake -j1 PWLIBDIR=${S} -C plugins opt || die "make plugins failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/$(get_libdir) /usr/share /usr/include - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/$(get_libdir) - for x in ${D}/usr/$(get_libdir)/*; do - dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` - done - - # just in case... - if [[ "$(get_libdir)" = "lib64" ]]; then - dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib - fi - - # remove CVS dirs - find ${D} -name CVS -type d | xargs rm -rf - - # fix symlink - # only amd64 needs special handling, afaics - rm ${D}/usr/$(get_libdir)/libpt.so - if [ ${ARCH} = "amd64" ] ; then - dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so - else - dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - # dodgy configure/makefiles forget to expand this - dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config - - # satisfy ptlib.mak's weird definition (should check if true for future versions) - cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild b/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild deleted file mode 100644 index 913c1a9..0000000 --- a/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild,v 1.4 2005/08/26 16:01:13 seemant Exp $ - -inherit eutils flag-o-matic multilib - -IUSE="ssl sdl ieee1394 alsa esd" - -MY_P="${PN}-v${PV//./_}" -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="mirror://sourceforge/openh323/${MY_P}-src.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~x86 ppc ~amd64 ~sparc ~alpha" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - net-nds/openldap - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 - media-libs/libdc1394 ) - esd? ( media-sound/esound )" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak - - # small fix for firewire dc (camera) plugin - cd ${S} - epatch ${FILESDIR}/${P}-ieee1394dc-fix.diff - - # dmix patch for alsa support (#68553) - epatch ${FILESDIR}/${P}-alsa_dmix.diff - - # newer esound package doesn't install libesd.a anymore, - # use dynamic library instead (fixes #100432) - epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch -} - -src_compile() { - local plugins - local myconf - - # may cause ICE (bug #70638) - filter-flags -fstack-protector - - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support - ## (even if itself is built without...) - #use ipv6 \ - # && myconf="${myconf} --enable-ipv6" \ - # || myconf="${myconf} --disable-ipv6" - myconf="${myconf} --enable-ipv6" - - # plugins, oss and v4l are default - plugins="oss v4l" - - use ieee1394 \ - && plugins="${plugins} avc dc" - - use alsa \ - && plugins="${plugins} alsa" - - if use esd; then - # fixes bug #45059 - export ESDDIR=/usr - fi - - # merge plugin options (safe way if default = "") - plugins="`echo ${plugins} | sed -e "y: :,:"`" - - econf ${myconf} \ - --enable-plugins \ - --with-plugins=${plugins} || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - # remove -fno-rtti, this breaks various things *grr* - sed -i -e "s:-fno-rtti::" \ - make/ptbuildopts.mak - sed -i -e "s:-fno-rtti::" \ - make/ptlib-config - - emake -j1 opt || die "make failed" - emake -j1 PWLIBDIR=${S} -C plugins opt || die "make plugins failed" -} - -src_install() { - # make these because the makefile isn't smart enough - dodir /usr/bin /usr/$(get_libdir) /usr/share /usr/include - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/$(get_libdir) - for x in ${D}/usr/$(get_libdir)/*; do - dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` - done - - # just in case... - if [[ "$(get_libdir)" = "lib64" ]]; then - dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib - fi - - # fix symlink - # only amd64 needs special handling, afaics - rm ${D}/usr/$(get_libdir)/libpt.so - if use amd64; then - dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so - else - dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - # dodgy configure/makefiles forget to expand this - dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config - - # satisfy ptlib.mak's weird definition (should check if true for future versions) - cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt History.txt -} diff --git a/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild b/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild deleted file mode 100644 index d4e0372..0000000 --- a/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild,v 1.6 2005/08/26 16:01:13 seemant Exp $ - -inherit eutils flag-o-matic multilib - -IUSE="ssl sdl ieee1394 alsa esd v4l2" - -MY_P="${PN}-v${PV//./_}" -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~x86 ~sparc ~alpha ppc amd64" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - net-nds/openldap - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 - media-libs/libdc1394 ) - esd? ( media-sound/esound )" - -S=${WORKDIR}/${PN} - -src_unpack() { - # currently complaining to upstream about new naming scheme - tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed" - - cd ${S}/make - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - unix.mak - - # newer esound package doesn't install libesd.a anymore, - # use dynamic library instead (fixes #100432) - epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch -} - -src_compile() { - local plugins - local myconf - - # may cause ICE (bug #70638) - filter-flags -fstack-protector - - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support - ## (even if itself is built without...) - #use ipv6 \ - # && myconf="${myconf} --enable-ipv6" \ - # || myconf="${myconf} --disable-ipv6" - myconf="${myconf} --enable-ipv6" - - # plugins, oss and v4l are default - plugins="oss v4l" - - use ieee1394 \ - && plugins="${plugins} avc dc" - - use alsa \ - && plugins="${plugins} alsa" - - if use v4l2; then - myconf="${myconf} --enable-v4l2" - plugins="${plugins} v4l2" - fi - - if use esd; then - # fixes bug #45059 - export ESDDIR=/usr - - # ESD includes are in /usr/include? - # remove include path, bad things may happen if we leave it in there - sed -i -e "s:-I\$(ESDDIR)/include::" \ - ${S}/make/unix.mak - fi - - # merge plugin options (safe way if default = "") - plugins="$(echo ${plugins} | sed -e "y: :,:")" - - econf ${myconf} \ - --enable-plugins \ - --with-plugins=${plugins} || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - # makefile doesn't create ${D}/usr/bin - dodir /usr/bin - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - ## vv will try to fix the mess below, requires a lot of patching though... - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/$(get_libdir) - for x in ${D}/usr/$(get_libdir)/*; do - dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` - done - - # just in case... - if [[ "$(get_libdir)" = "lib64" ]]; then - dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib - fi - - ## ^^ bad stuff - - # fix symlink - # only amd64 needs special handling, afaics - rm ${D}/usr/$(get_libdir)/libpt.so - if use amd64; then - dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so - else - dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - # dodgy configure/makefiles forget to expand this - dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt ChangeLog mpl-1.0.htm -} diff --git a/dev-libs/pwlib/pwlib-1.8.4.ebuild b/dev-libs/pwlib/pwlib-1.8.4.ebuild deleted file mode 100644 index 8fdd852..0000000 --- a/dev-libs/pwlib/pwlib-1.8.4.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.9 2005/09/12 15:49:52 agriffis Exp $ - -inherit eutils flag-o-matic multilib - -IUSE="ssl sdl ieee1394 alsa esd v4l2" - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="alpha ~amd64 ppc ~sparc ~x86" - -DEPEND=">=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - dev-libs/expat - >=sys-apps/sed-4 - net-nds/openldap - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 - <media-libs/libdc1394-1.9.9 - !>=media-libs/libdc1394-2.0.0_pre0 ) - esd? ( media-sound/esound )" - -src_unpack() { - unpack ${A} - - cd ${S} - - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - make/unix.mak - - # newer esound package doesn't install libesd.a anymore, - # use dynamic library instead (fixes #100432) - epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch - - # gcc-4 patch - epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff -} - -src_compile() { - local myconf - - # may cause ICE (bug #70638) - filter-flags -fstack-protector - - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support - ## (even if itself is built without...) - #use ipv6 \ - # && myconf="${myconf} --enable-ipv6" \ - # || myconf="${myconf} --disable-ipv6" - - # enable default plugins and force ipv6 support - myconf="--enable-ipv6 --enable-oss --enable-v4l" - - use ieee1394 \ - && myconf="${myconf} --enable-avc --enable-dc" \ - || myconf="${myconf} --disable-avc --disable-dc" - - # --disable-alsa breaks configure - use alsa \ - && myconf="${myconf} --enable-alsa" - - if use esd; then - # fixes bug #45059 - export ESDDIR=/usr - - # ESD includes are in /usr/include? - # remove include path, bad things may happen if we leave it in there - sed -i -e "s:-I\$(ESDDIR)/include::" \ - ${S}/make/unix.mak - fi - - econf \ - --enable-plugins \ - $(use_enable v4l2) \ - $(use_enable sdl) \ - ${myconf} || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - # makefile doesn't create ${D}/usr/bin - dodir /usr/bin - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - ## vv will try to fix the mess below, requires a lot of patching though... - - # these are for compiling openh323 - # NOTE: symlinks don't work when upgrading - # FIXME: probably should fix this with ptlib-config - dodir /usr/share/pwlib/include - cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include - - dodir /usr/share/pwlib/$(get_libdir) - for x in ${D}/usr/$(get_libdir)/*; do - dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` - done - - # just in case... - if [[ "$(get_libdir)" = "lib64" ]]; then - dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib - fi - - ## ^^ bad stuff - - # fix symlink - # only amd64 needs special handling, afaics - rm ${D}/usr/$(get_libdir)/libpt.so - if use amd64; then - dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so - else - dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so - fi - - # strip ${S} stuff - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config - dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak - - # dodgy configure/makefiles forget to expand this - dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm -} diff --git a/dev-libs/pwlib/pwlib-1.8.7.ebuild b/dev-libs/pwlib/pwlib-1.8.7.ebuild deleted file mode 100644 index 3fe2db8..0000000 --- a/dev-libs/pwlib/pwlib-1.8.7.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.7.ebuild,v 1.3 2006/07/05 00:50:55 nerdboy Exp $ - -inherit eutils flag-o-matic multilib - -IUSE="alsa esd ieee1394 oss sdl ssl v4l2" - -DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.openh323.org/" -SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz" - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" - -RDEPEND=" - dev-libs/expat - net-nds/openldap - esd? ( media-sound/esound ) - sdl? ( media-libs/libsdl ) - ssl? ( dev-libs/openssl ) - alsa? ( media-libs/alsa-lib ) - ieee1394? ( media-libs/libdv - sys-libs/libavc1394 - sys-libs/libraw1394 - <media-libs/libdc1394-1.9.9 - !>=media-libs/libdc1394-2.0.0_pre0 )" - -DEPEND="${REDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.5.4a - >=sys-apps/sed-4" - -src_unpack() { - unpack ${A} - - cd ${S} - # filter out -O3 and -mcpu embedded compiler flags - sed -i \ - -e "s:-mcpu=\$(CPUTYPE)::" \ - -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ - make/unix.mak - - # newer esound package doesn't install libesd.a anymore, - # use dynamic library instead (fixes #100432) - epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch - - # don't break make install if there are no plugins to install - epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff - - # gcc-4 patch - epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff - epatch "${FILESDIR}"/${P}-gcc41.patch - epatch ${FILESDIR}/${P}-gcc-4.1-v4l2.patch - -} - -src_compile() { - local myconf - - # may cause ICE (bug #70638) - filter-flags -fstack-protector - - if use ssl; then - export OPENSSLFLAG=1 - export OPENSSLDIR="/usr" - export OPENSSLLIBS="-lssl -lcrypt" - fi - - ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support - ## (even if itself is built without...) - #use ipv6 \ - # && myconf="${myconf} --enable-ipv6" \ - # || myconf="${myconf} --disable-ipv6" - - # enable default plugins and force ipv6 - myconf="--enable-ipv6 --enable-v4l" - - use ieee1394 \ - && myconf="${myconf} --enable-avc --enable-dc" \ - || myconf="${myconf} --disable-avc --disable-dc" - - use alsa \ - && myconf="${myconf} --enable-alsa" - - if use esd; then - # fixes bug #45059 - export ESDDIR=/usr - - # ESD includes are in /usr/include? - # remove include path, bad things may happen if we leave it in there - sed -i -e "s:-I\$(ESDDIR)/include::" \ - ${S}/make/unix.mak - fi - - econf \ - --enable-plugins \ - $(use_enable v4l2) \ - $(use_enable sdl) \ - $(use_enable oss) \ - ${myconf} || die "configure failed" - - # Horrible hack to strip out -L/usr/lib to allow upgrades - # problem is it adds -L/usr/lib before -L${S} when SSL is - # enabled. Same thing for -I/usr/include. - sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ - -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ - ${S}/make/ptbuildopts.mak - - sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ - -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ - ${S}/make/ptlib-config - - emake -j1 opt || die "make failed" -} - -src_install() { - local libdir libname - - libdir=$(get_libdir) - - # makefile doesn't create ${D}/usr/bin - dodir /usr/bin - make PREFIX=/usr DESTDIR=${D} install || die "install failed" - - # fix symlink - rm ${D}/usr/${libdir}/libpt.so - - libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) - dosym /usr/${libdir}/${libname} /usr/${libdir}/libpt.so - - # strip ${S} stuff - sed -i -e "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" \ - ${D}/usr/bin/ptlib-config \ - ${D}/usr/share/pwlib/make/ptlib-config \ - ${D}/usr/share/pwlib/make/ptbuildopts.mak - - # fix makefiles to use headers from /usr/include and libs from /usr/lib - # instead of /usr/share/pwlib - sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ - -e "s:-I\$(PWLIBDIR)/include::g" \ - -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ - ${D}/usr/share/pwlib/make/*.mak - - # dodgy configure/makefiles forget to expand this - sed -i -e "s:\${exec_prefix}:/usr:" \ - ${D}/usr/bin/ptlib-config \ - ${D}/usr/share/pwlib/make/ptlib-config - - # copy version.h - insinto /usr/share/pwlib - doins version.h - - dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm -} |