summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-16 11:35:06 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-16 11:35:06 +0000
commit1382b73f725209783575573af00d0e0fe07ebdc2 (patch)
treef88da8d00153df4564bf854aa6dfd0389b13fe44 /www-plugins
parentVersion bump. (diff)
downloadhistorical-1382b73f725209783575573af00d0e0fe07ebdc2.tar.gz
historical-1382b73f725209783575573af00d0e0fe07ebdc2.tar.bz2
historical-1382b73f725209783575573af00d0e0fe07ebdc2.zip
Stable on ppc wrt bug#408209. Remove old.
Package-Manager: portage-2.2.0_alpha105/cvs/Linux x86_64
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/gnash/ChangeLog24
-rw-r--r--www-plugins/gnash/Manifest50
-rw-r--r--www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch31
-rw-r--r--www-plugins/gnash/files/gnash-0.8.5-klash.patch96
-rw-r--r--www-plugins/gnash/files/gnash-0.8.7-amf-include.patch44
-rw-r--r--www-plugins/gnash/files/gnash-0.8.7-moc-qt4.patch14
-rw-r--r--www-plugins/gnash/files/gnash-0.8.8-documentation-paths.patch20
-rw-r--r--www-plugins/gnash/files/gnash-0.8.8-external-dejagnu.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.8-klash.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.8-secure-tempfile-creation.patch38
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-cve-2011-4328.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-cygnal-sshclient.patch91
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-documentation-paths.patch19
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch22
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-find-openvg.patch12
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-libavcodec-version.patch78
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-look-harder-for-version_h.patch13
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch16
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-audio.patch26
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-video.patch18
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-parser.patch19
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avformat-metadata.patch39
-rw-r--r--www-plugins/gnash/gnash-0.8.10-r1.ebuild292
-rw-r--r--www-plugins/gnash/gnash-0.8.10-r2.ebuild4
-rw-r--r--www-plugins/gnash/gnash-0.8.8.ebuild305
-rw-r--r--www-plugins/gnash/gnash-0.8.9-r2.ebuild308
-rw-r--r--www-plugins/gnash/gnash-0.8.9.ebuild299
27 files changed, 47 insertions, 1903 deletions
diff --git a/www-plugins/gnash/ChangeLog b/www-plugins/gnash/ChangeLog
index 1ba23bbdafbd..dc7ddedb4ddf 100644
--- a/www-plugins/gnash/ChangeLog
+++ b/www-plugins/gnash/ChangeLog
@@ -1,6 +1,28 @@
# ChangeLog for www-plugins/gnash
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.85 2012/05/03 06:08:02 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.86 2012/05/16 11:35:05 scarabeus Exp $
+
+ 16 May 2012; Tomáš Chvátal <scarabeus@gentoo.org>
+ -files/gnash-0.8.3-boost-dynamic-link.patch, -files/gnash-0.8.5-klash.patch,
+ -files/gnash-0.8.7-amf-include.patch, -files/gnash-0.8.7-moc-qt4.patch,
+ -files/gnash-0.8.8-documentation-paths.patch,
+ -files/gnash-0.8.8-external-dejagnu.patch, -files/gnash-0.8.8-klash.patch,
+ -files/gnash-0.8.8-secure-tempfile-creation.patch,
+ -files/gnash-0.8.9-cve-2011-4328.patch,
+ -files/gnash-0.8.9-cygnal-sshclient.patch,
+ -files/gnash-0.8.9-documentation-paths.patch,
+ -files/gnash-0.8.9-ffmpeg-detection.patch,
+ -files/gnash-0.8.9-find-openvg.patch,
+ -files/gnash-0.8.9-libavcodec-version.patch,
+ -files/gnash-0.8.9-look-harder-for-version_h.patch,
+ -files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch,
+ -files/gnash-0.8.9-no-deprecated-avcodec-decode-audio.patch,
+ -files/gnash-0.8.9-no-deprecated-avcodec-decode-video.patch,
+ -files/gnash-0.8.9-no-deprecated-avcodec-parser.patch,
+ -files/gnash-0.8.9-no-deprecated-avformat-metadata.patch,
+ -gnash-0.8.10-r1.ebuild, -gnash-0.8.8.ebuild, -gnash-0.8.9-r2.ebuild,
+ -gnash-0.8.9.ebuild, gnash-0.8.10-r2.ebuild:
+ Stable on ppc wrt bug#408209. Remove old.
03 May 2012; Jeff Horelick <jdhore@gentoo.org> gnash-0.8.8.ebuild,
gnash-0.8.9.ebuild, gnash-0.8.9-r2.ebuild, gnash-0.8.10-r1.ebuild,
diff --git a/www-plugins/gnash/Manifest b/www-plugins/gnash/Manifest
index 9516be22ef7d..5d82e9d545dd 100644
--- a/www-plugins/gnash/Manifest
+++ b/www-plugins/gnash/Manifest
@@ -1,38 +1,32 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX gnash-0.8.10-amf-include.patch 1245 RMD160 78108fb568c5ce5055f45fd388944d1e73206295 SHA1 2f82807f003b2f03cbd29e0ed27d14ff1442ebd9 SHA256 81f0cdf8246689614b1deaf36cf9c3e09d3501a55691ef95130d08ab1f6bc2e6
AUX gnash-0.8.10-cve-2012-1175.patch 1934 RMD160 012c0b33544e33f678cada1cdc068d46c7a9a6ba SHA1 92f7054a70b6c610041f526b4978740b6e5fb236 SHA256 610b33797162481eb907ead375aa520f0ca745f3b709fd18af20f69df0aafebc
AUX gnash-0.8.10-gettext-macro.patch 6296 RMD160 3898b588c07ae9786f429cb3d37c717d4783eeae SHA1 7f2fbd108eae2f0af15c5120c15afe31969b6c73 SHA256 ddacc3823ec0b87ceee618f48fbab87a083bf8047b4080bb8872b7bd19b07125
AUX gnash-0.8.10-jemalloc-aslr-fix.patch 1763 RMD160 4587d9c1763ef69860a6ad44078e0613c819b9dd SHA1 24f49d6637fbe021d913e5c4dd143b87086e9de3 SHA256 00a8a9996ce6648639041309a98fe467419afd19271a557304eb5fffe981fb23
AUX gnash-0.8.10-npapi-sdk.patch 964 RMD160 c30b2ba443f74985376de40aab287eb9a9599e9b SHA1 0c3e98702db6418a9c11b70b1d11f408645d9240 SHA256 16ad2ce72fc235ccce4de2962cdede30b46f057cce5c530bae2fbd1bbdd7c57c
-AUX gnash-0.8.3-boost-dynamic-link.patch 1474 RMD160 0ce418d9e7a0f4d5b3bc724c65dedc3c675b69ef SHA1 df6ae427a0efda13da822ca65700aebcb25ef504 SHA256 d3ada2ca33083b0b233051f66041eb57c402783b2cc177b126e4dccab2e32b76
-AUX gnash-0.8.5-klash.patch 4219 RMD160 f7d49ca32cf18d3d160ce8f0653fd12e5a278511 SHA1 fc44e119975ecc49d2d64450e0eeb92f6a84f893 SHA256 e1ad6b241bc28892ff9758d55851439b2b61b496dc2e73d96d9a13fdd44a4a08
-AUX gnash-0.8.7-amf-include.patch 1121 RMD160 5e17e26f5033816f011ccee9b943588fd55986a4 SHA1 955b1e17ddad3f2cca3cadb73e84c52714f57f3c SHA256 ea3a2324c061828142f715c9e40dbf21007e5230b1f81f8dbea7a8313bcc86bd
-AUX gnash-0.8.7-moc-qt4.patch 677 RMD160 b24a4421202a75d11ec6d868e3048a78b883abf8 SHA1 7b3af0e10afc9b1600d264b2435a0324effa88f1 SHA256 b510bfb59ad1cfc54e06227f922cafb44816abe0df55765a6884323892016240
-AUX gnash-0.8.8-documentation-paths.patch 662 RMD160 8ebce11605d93297e8af4ca1a547fe63603ab5a3 SHA1 a3c3fac4c9c7da930e72ab27d593ee8fd2d2b093 SHA256 86542d1ea03b44f00685a81c0d2e5392056dfc980068c2ae9edda76ba9b4fd2d
-AUX gnash-0.8.8-external-dejagnu.patch 703 RMD160 971bfb775a4019f27ca0a5048672154fe2555fe9 SHA1 8e0ab1caef24ed7cefd5da10a8985579bec01c84 SHA256 7bb96c5adf54686b1c6350dbc2730a0aab2529ed8e3f892c2ccd85a5f9afc27d
-AUX gnash-0.8.8-klash.patch 1127 RMD160 f03e8de0d5bcc3eeea08ca45b96196519b01d362 SHA1 f117f36d8452ee088b80552efdc7eea969324e8f SHA256 b3015cb93b91575d214c17cfbb7f5614c3df047261e184ec9ef84e28641ddc25
-AUX gnash-0.8.8-secure-tempfile-creation.patch 1166 RMD160 0c8d089de4107fc473e8cf765fa6ab809e07051a SHA1 f0037f46314fb2430f61dd8a3f8251b0513dbe01 SHA256 7883b1b94e5cb621d1c7773450dcf0b23bb9a677f72df8b50309ee9747ddc197
-AUX gnash-0.8.9-cve-2011-4328.patch 806 RMD160 d972c13cfc5f15007599ee7617c85a453a026130 SHA1 17dd80afa10b8bd9ea3d96b547f269bb02b78192 SHA256 0fc31bdffedcd4d97e4df78c66c02e9575b5fb055c3c2a79eb43315433a15a77
-AUX gnash-0.8.9-cygnal-sshclient.patch 2757 RMD160 271e6db69d7ae067ffd3369a04f1527d6fa24e6f SHA1 cb336c5e05f4a81144fb0ae938e24f92741a8745 SHA256 bd72016a5364eca765780247864117d20cca0c3596e58916196bc8c20503d999
-AUX gnash-0.8.9-documentation-paths.patch 623 RMD160 cdf0bb4cc4626bd50ab32c5a19183b57917f6e8e SHA1 eae72553893d2150b79ec71d948143ae8a4c5959 SHA256 473fefab01376ef8d9450518dee16ef6057cfd0618629e13f3f3ec8adf8c251f
AUX gnash-0.8.9-external-dejagnu.patch 700 RMD160 b24901796187f5b9ee2a27b60c0232884302af69 SHA1 5dc178479f5ad2aa1eb0d5314df0bec505708890 SHA256 b838af0304d41165557dff2538031edf8d14d5a221375aff4b9e404ef1cb261d
-AUX gnash-0.8.9-ffmpeg-detection.patch 780 RMD160 a7b02c2472b3bf2b8618e5d6d4203e8f30cc8aea SHA1 e6cfed32780546bc68acce66fb5da5fc64627585 SHA256 09bcb58f61d05a582206c82f789484471565f955e8daa6e852c62bca87624353
-AUX gnash-0.8.9-find-openvg.patch 465 RMD160 774f6ab0a42df1172c17f089d9c72502db6cb0bf SHA1 de8bb98460c0b37a75389c35b3e06500c4e10e15 SHA256 27d0cffa642c4eccaf894bcea590473db24462b6cd792827bdccc52653207b8b
AUX gnash-0.8.9-kde4-libdir.patch 498 RMD160 5e09d4adc1953b6149e2deffeeb74e3860adf19e SHA1 30f32d37e713b2dd1ffc88df99ff54f608ceb61a SHA256 43a74367b0f7452bed23577ddda2bde692b6ce4d2bd1d56e480c4d37380af80d
AUX gnash-0.8.9-klash.patch 471 RMD160 578a467c276884179a9110a18f381f46b2874157 SHA1 c480de3a87f409cbc1c1af499a304b020303fe83 SHA256 779f4be4eb25f654010b380fea4d6b092310d1f850acb040a203a7b8caf02bb8
-AUX gnash-0.8.9-libavcodec-version.patch 3181 RMD160 21473691da492c6da4c92718d7397cb7541d4747 SHA1 8cdfa8389ff0d4c84c92777f50c432cdecff4ad8 SHA256 8ec3d55aaa6fc1806b858387b9ccd5364e8bf4e21283a1156801c6c2d03e8daf
-AUX gnash-0.8.9-look-harder-for-version_h.patch 554 RMD160 6cb606cc740961433e69016f7dc8be41ab578d14 SHA1 d39135a9d6aa15a63b1b695d7eccfdb175880e39 SHA256 2e6436c021e7c2ebfe03935c8f18a10cc64810c5a5b55f0e05ef20935157f93f
-AUX gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch 620 RMD160 f9a3a62e52a9a5b3d965b4c51220bc72a0b3bcdf SHA1 c14593bab5556e186326a19bed9a605b79f968db SHA256 b443a9a20031719e5b0a1b314a6a62c19ada09bae8917192d219314901de5f0f
-AUX gnash-0.8.9-no-deprecated-avcodec-decode-audio.patch 931 RMD160 4a980c8329aa45bd0247c633d8444dea29fef39a SHA1 8af7d69fd8d78c2bf70635615b07af79efa879b1 SHA256 fd6a285e0de984ed5f59c0a507567bed2c8f59e05c1005e0b882356f76dc855a
-AUX gnash-0.8.9-no-deprecated-avcodec-decode-video.patch 753 RMD160 106cfee3903fcc23b1c473052d7ebd7bbd75e091 SHA1 baf4ab006ab3ded69eba3bbb0e801fdfae4e5eee SHA256 0f80bf395f015443a1e15c44a9492f87604e1176f231254a5e26d3b776f6f2c7
-AUX gnash-0.8.9-no-deprecated-avcodec-parser.patch 807 RMD160 09b2b0eb0bcf4dd5f52863ef221e92322d5b4e0d SHA1 67013b85dcd88641477951127db0003f8c8b9fc8 SHA256 9ad06584eb75218c300e732b461e275759963931b8e0fb4ad1dd8852fa77b6d3
-AUX gnash-0.8.9-no-deprecated-avformat-metadata.patch 1299 RMD160 a88e744b8886ad53cbf871212be2c2cbef3632b1 SHA1 d74e350e788d6f87b9c886bb6c7775e940e20bf0 SHA256 c2b72cbcab71756c285c207870175aadc0bd5619f364f2ede7b008c0b6d5aa1d
DIST gnash-0.8.10.tar.gz 6099894 RMD160 72debb3e64853450fe74b7f1d6e9b40b9ae70964 SHA1 4f8ace5af1a327718f353d5294b589f3251f41ae SHA256 61fbeec6826c89e6f3fc520336a152b17901e6d0e9db207d7c4db27eeb5ceb2b
-DIST gnash-0.8.8.tar.bz2 3850383 RMD160 621afbd14180ce770f60a6e158f9fda0b4d5ec02 SHA1 d349e0321e7fe9abcd265d63ce282cd2a7ce59d3 SHA256 dcac4b81f81ecd6cc7c5422d7c731fc5c2a7be7fb18b5570a7e6f8fb5fc6e220
-DIST gnash-0.8.9.tar.bz2 3777140 RMD160 34bb51cfe5b8593dc14bc2c21c0085277dbb23f1 SHA1 585c320c98b3304fcbba230f2c4b1fdf2a52aee0 SHA256 f90dbdc6f03d787b239b9edacbea077b46d69ae9d85f08af23f256af389c48bd
-EBUILD gnash-0.8.10-r1.ebuild 7956 RMD160 449e536782ef3a247f2cbef9b02a68dc59a32beb SHA1 53c88862999a94efad132718391c6f2f04490fc2 SHA256 69018bbe9bf788ec66823a745c90b1d9844573caf9a7950701b4120b70af4eba
-EBUILD gnash-0.8.10-r2.ebuild 8017 RMD160 b95855dd0e3f87b124a17097ff2866121ccbc167 SHA1 665c15b3d2441c6d6d0c07fa25f565e22b1af82c SHA256 e5993bb69111c06cbfff6e2b8809d9bb65e3b317e98840d29fab26f3da45664e
-EBUILD gnash-0.8.8.ebuild 9005 RMD160 8d00e188df3a5f26b6eed6aecff231017c286355 SHA1 7c1f58e955a616b5a286730531058de84c3e931c SHA256 4dbc41f945acb1b1ba9a8df9660a2f5aa3bef1d4487f6f03d6e38e7ecf309a0f
-EBUILD gnash-0.8.9-r2.ebuild 9117 RMD160 4dcf80c9607ae304266b9e1bb08ccdc3573b9d27 SHA1 9b73ec99492d2ebc84b8a0fc26df9dc49b47a764 SHA256 92dc07d3a7d484a524c688746570a348a24f6f7d02fb89a381bf1db1d79a09a9
-EBUILD gnash-0.8.9.ebuild 8827 RMD160 63bd6a2f42908d260f1f1b50a43be78a0b1b5f97 SHA1 b4d2681e6041d0947c3c574a6462d0f512d4335b SHA256 9a96fc59b2380e3c6ec273309f3b0cd33a33608b1c6c7bd2ec37a2899f5e0842
-MISC ChangeLog 28118 RMD160 8f7a7bf213411cf38321b821f0a37d7c573c7cca SHA1 07d51732b1f248b80745824a86a4cf33b7c6bef2 SHA256 02ccb961df6fea9103658b6984442d99bfc11ea74a44dd7a9d84b051d86e7b7c
+EBUILD gnash-0.8.10-r2.ebuild 8019 RMD160 83ac6e6a08aef273ea7ca4c68999e198e5a5ab10 SHA1 ac33a592afb5abef4f60f652fedc0449cdd5fea9 SHA256 74768f1ea07d3233a79ca931cf38d2a8624f0a4ef17c8ae4d07546e9030dc963
+MISC ChangeLog 29300 RMD160 ee541fae7521a48bb06ef9ba63828b8da7edcb8b SHA1 36cf4995d8c5d9b92d31594d5e0754afb5cdd4b4 SHA256 8076aec0aef81c678b099f1153d9ae7c64b0ada4f9bd33c62fdee5397d3b65be
MISC metadata.xml 1109 RMD160 2d603159e99e277607c5a2d2c37d994a600e0994 SHA1 1fc3dd173f02eae6c184dfe9049159ffc5a4cdcb SHA256 8ef9c60bbf427e51978c5f9c4f9b4bfb5de864d0d4091812e72d723034b8444a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBAgAGBQJPs5EcAAoJEOSiRoyO7jvowdMQAIUc2H4Te0cLkS7AGeHrr4EQ
+XqZrR5BjcJtZN3x1HCB9dNypNauBz2yxo17DEURkpxRnN/7QPdk0brWE8ac8owws
++cEsQ08TgkTbvoEjeJStT602+JTM6CVubKEQoo8hJnW8hQO4d0kL58rH6w9tOLju
+CrkbrdxHraAjFL8Zfyz88F6ZyDZw+QsutHt1toqd7xL+Lgb9zHL3zWIc9x4fidgl
+YNzLCCzecyH1Zo6USeYwRTLYupfq3Xe4RBjQhXfw146z0aEJxrqopJCkPAiR2PJH
+apCs/V87vLKabw98++2rOYK/SjVJPhprq7F2D9grhKIWZ4N+tpJXWKcWxSPrxiv2
+prqRJPK0q9Ehc4VTd8iFrz7kIp1aki6aOkVZBsB6ut9CR/JfqyfDLFMaSSKTDyWl
+ZXvQpUU2erqBPW0v0KJHrUPST57YPHWdX/pCRjFRTXgkevzpBtCMLbJ90oWNoSsZ
+JqPKRgSZkpNlEL8RwsZMrikcQagT04pdkIHdy72PS8PHfzuxnWUmUkYd5Ysb65Pj
+kahJeeFC2GsmGOYOajJupdFx+l6Qb3KoqQojsAZgvQyIoGXlqM2y/V1HiRGG+r/9
+/g8wpFYm+5zp6/728Q+RnWN6HeQ4r67s7liZAEaGB4ZYyZjYYrsCZfWIf2Al5irm
+m5dO7U+u/rcpZH8aFCXf
+=e/ZK
+-----END PGP SIGNATURE-----
diff --git a/www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch b/www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch
deleted file mode 100644
index ec1564a34d30..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.3-boost-dynamic-link.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index: boost.m4
-===================================================================
-RCS file: /sources/gnash/gnash/macros/boost.m4,v
-retrieving revision 1.74
-diff -u -r1.74 boost.m4
---- macros/boost.m4 16 Jan 2008 00:42:55 -0000 1.74
-+++ macros/boost.m4 19 Jan 2008 18:35:14 -0000
-@@ -127,9 +127,9 @@
- missing_libs=""
- fi
- for j in ${boost_libs}; do
-- dirs="`ls -dr $i/libboost_${j}*.${shlibext} $i/libboost_${j}*.a 2>/dev/null`"
-+ dirs="`ls -dr $i/libboost_${j}*.so 2>/dev/null`"
- if test -n "${dirs}"; then
-- libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
-+ libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.so::"`"
- if test x$dirname = x; then
- dirname="`echo ${dirs} | sed -e 's:/libboost.*$::'`"
- if test x"${dirname}" != "x/usr/lib"; then
-@@ -143,9 +143,9 @@
- done
- done
- for j in ${extra_boost_libs}; do
-- dirs="`ls -dr ${dirname}/libboost_${j}*.${shlibext} ${dirname}/libboost_${j}*.a 2>/dev/null`"
-+ dirs="`ls -dr ${dirname}/libboost_${j}*.so 2>/dev/null`"
- if test -n "${dirs}"; then
-- libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.${shlibext}::" -e "s:\.a::"`"
-+ libname="`echo ${dirs} | sed -e 's:^.*/lib::' -e "s:\.so::"`"
- ac_cv_path_boost_extra_lib="${ac_cv_path_boost_extra_lib} -l${libname}"
- else
- extra_missing_libs="${extra_missing_libs} $j"
diff --git a/www-plugins/gnash/files/gnash-0.8.5-klash.patch b/www-plugins/gnash/files/gnash-0.8.5-klash.patch
deleted file mode 100644
index e906439db088..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.5-klash.patch
+++ /dev/null
@@ -1,96 +0,0 @@
---- gnash-0.8.5/macros/kde4.m4.alt-kde4 2009-02-28 15:27:53 +0300
-+++ gnash-0.8.5/macros/kde4.m4 2009-07-15 16:02:13 +0400
-@@ -24,7 +24,7 @@ AC_DEFUN([GNASH_PATH_KDE4],
- with_kde4_incl=${withval})
- dnl make sure the path is a useable one
- if test x"${with_kde4_incl}" != x ; then
-- if test ! -f ${with_kde4_incl}/kapp.h ; then
-+ if test ! -f ${with_kde4_incl}/kapplication.h ; then
- AC_MSG_ERROR([${with_kde4_incl} directory doesn't contain any KDE 4.x headers])
- fi
- fi
-@@ -38,7 +38,7 @@ AC_DEFUN([GNASH_PATH_KDE4],
- with_kde4_lib=${withval})
- dnl make sure the path is a useable one
- if test x"${with_kde4_lib}" != x ; then
-- if test ! -f ${with_kde4_lib}/libkdeui.la; then
-+ if test ! -f ${with_kde4_lib}/libkdeui.so; then
- AC_MSG_ERROR([${with_kde4_lib} directory doesn't contain any KDE 4.x libraries!])
- fi
- fi
-@@ -134,7 +134,7 @@ AC_DEFUN([GNASH_PATH_KDE4],
- dnl Look for the libraries
- AC_CACHE_VAL(ac_cv_path_kde4_lib, [
- if test x"${with_kde4_lib}" != x ; then
-- if test -f ${with_kde4_lib}/libkdeui.la; then
-+ if test -f ${with_kde4_lib}/libkdeui.so; then
- ac_cv_path_kde4_lib="-L`(cd ${with_kde4_lib}; pwd)`"
- else
- AC_MSG_ERROR([${with_kde4_lib} directory doesn't contain KDE 4.x libraries.])
-@@ -144,7 +144,7 @@ AC_DEFUN([GNASH_PATH_KDE4],
- AC_MSG_CHECKING([for kdeui library])
- kde4_topdir=
- for i in ${kde4_prefix}/lib64 ${kde4_prefix}/lib $libslist ; do
-- if test -f $i/libkdeui.${shlibext} -o -f $i/libkdeui.la; then
-+ if test -f $i/libkdeui.${shlibext} -o -f $i/libkdeui.so; then
- kde4_topdir=$i
- AC_MSG_RESULT(${kde4_topdir}/libkdeui)
- if test ! x"$i" = x"/usr/lib" -a ! x"$i" = x"/usr/lib64"; then
-@@ -160,26 +160,13 @@ AC_DEFUN([GNASH_PATH_KDE4],
- dnl Look for the kdecore library, which is required
- if test x"${ac_cv_path_kde4_lib}" != x; then
- AC_MSG_CHECKING([for kdecore library])
-- if test -f ${kde4_topdir}/libkdecore.la; then
-+ if test -f ${kde4_topdir}/libkdecore.so; then
- ac_cv_path_kde4_lib="${ac_cv_path_kde4_lib} -lkdecore"
- AC_MSG_RESULT(${kde4_topdir}/libkdecore)
- else
- AC_MSG_RESULT(no)
- fi
- fi
-- dnl Look for the kdeprint library, which is required
-- AC_MSG_CHECKING([for kdeprint library])
-- if test x"${libkdeprint}" = x; then
-- if test -f ${kde4_topdir}/libkdeprint.la -o -f ${kde4_topdir}/libkdeprint.${shlibext}; then
-- ac_cv_path_kde4_lib="${ac_cv_path_kde4_lib} -lkdeprint"
-- AC_MSG_RESULT(${kde4_topdir}/libkdeprint)
-- else
-- AC_MSG_RESULT(no)
-- fi
-- else
-- AC_MSG_RESULT(${libkdeprint})
-- ac_cv_path_kde4_lib="${ac_cv_path_kde4_lib} ${libkdeprint}"
-- fi
- ]) dnl end of cache ac_cv_path_kde4_lib
- fi dnl end of build_kde4
-
-@@ -216,7 +203,7 @@ AC_DEFUN([GNASH_PATH_KDE4],
- fi dnl end of build_kparts4
-
- if test x"${ac_cv_path_kde4_incl}" != x ; then
-- if test x"${ac_cv_path_kde3_incl}" != x"-I/usr/include"; then
-+ if test x"${ac_cv_path_kde4_incl}" != x"-I/usr/include"; then
- KDE4_CFLAGS="${ac_cv_path_kde4_incl}"
- else
- KDE4_CFLAGS=""
---- gnash-0.8.5/plugin/klash4/Makefile.am.alt-kde4 2009-06-15 11:53:31 +0400
-+++ gnash-0.8.5/plugin/klash4/Makefile.am 2009-07-15 16:02:58 +0400
-@@ -42,6 +39,7 @@ libklashpart_la_LDFLAGS = -avoid-version
- else
- libklashpart_la_LDFLAGS = -module -avoid-version -L$(plugindir) $(KDE4_LIBS) $(QT4_LIBS)
- endif
-+libklashpart_la_LIBADD = $(KDE4_LIBS) $(QT4_LIBS) $(X11_LIBS) -lkparts
-
- dist_kde_services_DATA = klash_part.desktop
- dist_kde_rc_DATA = klashpartui.rc
---- gnash-0.8.5/plugin/klash4/pluginsinfo.alt-kde4 2008-12-28 13:13:38 +0300
-+++ gnash-0.8.5/plugin/klash4/pluginsinfo 2009-07-15 16:02:13 +0400
-@@ -1,7 +1,7 @@
- number=1
-
- [0]
--description=Shockwave Flash 7.0
-+description=Shockwave Flash 10.1 r999
- file=libklashpart.so
- mime=application/x-shockwave-flash:swf:Shockwave Flash;application/futuresplash:spl:FutureSplash Player
- name=Shockwave Flash
diff --git a/www-plugins/gnash/files/gnash-0.8.7-amf-include.patch b/www-plugins/gnash/files/gnash-0.8.7-amf-include.patch
deleted file mode 100644
index 2537ab06b4bc..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.7-amf-include.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -ur a/libnet/cque.h b/libnet/cque.h
---- a/libnet/cque.h 2010-02-11 00:20:18.000000000 +0100
-+++ b/libnet/cque.h 2010-03-18 00:05:37.000000000 +0100
-@@ -24,8 +24,9 @@
- #include <boost/thread/condition.hpp>
- #include <deque>
-
-+#include "libamf/amf.h"
- #include "getclocktime.hpp"
--#include "buffer.h"
-+#include "libamf/buffer.h"
- #include "network.h"
- #include "dsodefs.h" //For DSOEXPORT.
-
-diff -ur a/libnet/sshclient.h b/libnet/sshclient.h
---- a/libnet/sshclient.h 2010-02-11 00:20:18.000000000 +0100
-+++ b/libnet/sshclient.h 2010-03-18 00:03:49.000000000 +0100
-@@ -34,9 +34,10 @@
- #include <libssh/sftp.h>
- }
-
-+#include "libamf/amf.h"
- #include "cque.h"
- #include "network.h"
--#include "buffer.h"
-+#include "libamf/buffer.h"
-
- namespace gnash
- {
-diff -ur a/libnet/sslclient.h b/libnet/sslclient.h
---- a/libnet/sslclient.h 2010-02-11 00:20:17.000000000 +0100
-+++ b/libnet/sslclient.h 2010-03-18 00:05:24.000000000 +0100
-@@ -38,9 +38,10 @@
- #include <openssl/err.h>
- #endif
-
-+#include "libamf/amf.h"
- #include "cque.h"
- #include "network.h"
--#include "buffer.h"
-+#include "libamf/buffer.h"
-
- namespace gnash
- {
diff --git a/www-plugins/gnash/files/gnash-0.8.7-moc-qt4.patch b/www-plugins/gnash/files/gnash-0.8.7-moc-qt4.patch
deleted file mode 100644
index 219685ef16fa..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.7-moc-qt4.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ur a/macros/qt4.m4 b/macros/qt4.m4
---- a/macros/qt4.m4 2010-02-11 00:20:17.000000000 +0100
-+++ b/macros/qt4.m4 2010-03-15 18:26:34.000000000 +0100
-@@ -167,8 +167,8 @@
- has_qt4="no"
- fi
-
-- AC_PATH_PROGS(MOC4, [moc-qt4 moc], ,[${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}])
-- AC_PATH_PROGS(UIC4, [uic-qt4 uic], ,[${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}])
-+ AC_PATH_PROGS(MOC4, [moc-qt4 moc], ,[/usr/bin ${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}])
-+ AC_PATH_PROGS(UIC4, [uic-qt4 uic], ,[/usr/bin ${QTDIR}/bin /usr/lib/qt4/bin /usr/share/qt4/bin/ ${pathlist}])
-
-
- AC_SUBST([QT4_CFLAGS])
diff --git a/www-plugins/gnash/files/gnash-0.8.8-documentation-paths.patch b/www-plugins/gnash/files/gnash-0.8.8-documentation-paths.patch
deleted file mode 100644
index e57c2cecb2bc..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.8-documentation-paths.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ur a/doc/C/Makefile.am b/doc/C/Makefile.am
---- a/doc/C/Makefile.am 2010-08-07 17:50:00.000000000 +0200
-+++ b/doc/C/Makefile.am 2010-09-28 18:33:03.000000000 +0200
-@@ -18,14 +18,12 @@
-
- # Building a PDF using Apache FOP only works with fop-0.20.5 for now.
-
--htmldir = ${prefix}/share/doc/gnash
--infodir = ${prefix}/share/info
--man1dir = ${prefix}/share/man/man1
-+man1dir = ${mandir}/man1
- docname = gnash
- lang = C
- omffile = gnash-C.omf
-
--docdir = $(datadir)/$(PACKAGE)/doc/$(docname)/$(lang)
-+# docdir = $(datadir)/$(PACKAGE)/doc/$(docname)/$(lang)
- omf_dest_dir=$(datadir)/omf/$(PACKAGE)
- scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
-
diff --git a/www-plugins/gnash/files/gnash-0.8.8-external-dejagnu.patch b/www-plugins/gnash/files/gnash-0.8.8-external-dejagnu.patch
deleted file mode 100644
index 1453b6df3894..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.8-external-dejagnu.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
---- a/plugin/npapi/test.cpp 2010-08-07 17:50:01.000000000 +0200
-+++ b/plugin/npapi/test.cpp 2010-09-29 00:08:15.735999998 +0200
-@@ -27,7 +27,7 @@
- #include "npruntime.h"
- #include "pluginbase.h"
- #include "npfunctions.h"
--#include "dejagnu.h"
-+#include <dejagnu.h>
- #include <regex.h>
-
- #include "external.h"
-diff -ur a/testsuite/check.h b/testsuite/check.h
---- a/testsuite/check.h 2010-08-07 17:50:01.000000000 +0200
-+++ b/testsuite/check.h 2010-09-29 00:08:33.032999999 +0200
-@@ -11,7 +11,7 @@
-
- #define HAVE_DEJAGNU_H 1 // we ship our own now...
- #ifdef HAVE_DEJAGNU_H
--#include "dejagnu.h"
-+#include <dejagnu.h>
-
- #define info(x) note x
-
diff --git a/www-plugins/gnash/files/gnash-0.8.8-klash.patch b/www-plugins/gnash/files/gnash-0.8.8-klash.patch
deleted file mode 100644
index c895bde65763..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.8-klash.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur gnash-0.8.7_p20100812.orig/macros/kde4.m4 gnash-0.8.7_p20100812/macros/kde4.m4
---- gnash-0.8.7_p20100812.orig/macros/kde4.m4 2010-08-12 13:49:01.319789001 +0200
-+++ gnash-0.8.7_p20100812/macros/kde4.m4 2010-08-12 13:49:50.875789001 +0200
-@@ -136,7 +136,7 @@
- dnl Look for the libraries
- AC_CACHE_VAL(ac_cv_path_kde4_lib, [
- if test x"${with_kde4_lib}" != x ; then
-- if test -f ${with_kde4_lib}/libkdeui.la; then
-+ if test -f ${with_kde4_lib}/libkdeui.so; then
- ac_cv_path_kde4_lib="-L`(cd ${with_kde4_lib}; pwd)`"
- else
- AC_MSG_ERROR([${with_kde4_lib} directory doesn't contain KDE 4.x libraries.])
-@@ -214,9 +214,9 @@
- KDE4_CONFIGDIR="${KDE4_PREFIX}}/share/kde4/config"
- fi
- if test x"${KDE4_APPSDATADIR}" != x ; then
-- KDE4_APPSDATADIR="${KDE4_APPSDATADIR}/share/kde4/apps/klash"
-+ KDE4_APPSDATADIR="${KDE4_APPSDATADIR}/share/apps/klash"
- else
-- KDE4_APPSDATADIR="${KDE4_PREFIX}/share/kde4/apps/klash"
-+ KDE4_APPSDATADIR="${KDE4_PREFIX}/share/apps/klash"
- fi
- fi dnl end of build_kparts4
-
diff --git a/www-plugins/gnash/files/gnash-0.8.8-secure-tempfile-creation.patch b/www-plugins/gnash/files/gnash-0.8.8-secure-tempfile-creation.patch
deleted file mode 100644
index 8c9e79dfccaa..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.8-secure-tempfile-creation.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 6d86dd8cb9d567d8a6cedac301850c7349fe0ced Mon Sep 17 00:00:00 2001
-From: Gabriele Giacone <1o5g4r8o@gmail.com>
-Date: Mon, 03 Jan 2011 16:55:51 +0000
-Subject: Create configure temporary files in a secure way
-
----
-diff --git a/configure.ac b/configure.ac
-index 08d217b..85e19da 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -3021,9 +3021,14 @@ cygnal/testsuite/cygnal.all/Makefile
- ########################## Final report begins... ############################
- ###
-
--cerr=/tmp/gnash-configure-errors.$$
--cwarn=/tmp/gnash-configure-warnings.$$
--crec=/tmp/gnash-configure-recommended.$$
-+dnl Create temporary directory in a secure way
-+tmp=`mktemp -d ${TMPDIR=/tmp}/gnash-configure-XXXXXX`
-+if test \! -n "$tmp" || test \! -d "$tmp"; then
-+ tmp=`(umask 077 && mkdir -d ${TMPDIR=/tmp}/gnash-configure-${RANDOM}-$$) 2>/dev/null`
-+fi
-+cerr=${tmp}/errors
-+cwarn=${tmp}/warnings
-+crec=${tmp}/recommended
- echo ""
-
- #trap 'rm cerr' 0 # trap isn't a good idea, might override other traps
-@@ -4051,6 +4056,7 @@ else
- rm $cerr
- fi
-
-+rmdir $tmp
-
- if test x"$fork" = x"no"; then
- AC_MSG_ERROR([Currently only forking the standalone player works!])
---
-cgit v0.8.3.2
diff --git a/www-plugins/gnash/files/gnash-0.8.9-cve-2011-4328.patch b/www-plugins/gnash/files/gnash-0.8.9-cve-2011-4328.patch
deleted file mode 100644
index 14e3477b8020..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-cve-2011-4328.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From fa481c116e65ccf9137c7ddc8abc3cf05dc12f55 Mon Sep 17 00:00:00 2001
-From: Gabriele Giacone <1o5g4r8o@gmail.com>
-Date: Sun, 20 Nov 2011 17:27:42 +0100
-Subject: [PATCH] Make cookie file not world-readable. Fixes http://bugs.debian.org/649384
-
----
- plugin/npapi/plugin.cpp | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/plugin/npapi/plugin.cpp b/plugin/npapi/plugin.cpp
-index e161a1d..04950e6 100644
---- a/plugin/npapi/plugin.cpp
-+++ b/plugin/npapi/plugin.cpp
-@@ -1108,6 +1108,7 @@ nsPluginInstance::setupCookies(const std::string& pageurl)
- ss << "/tmp/gnash-cookies." << getpid();
-
- cookiefile.open(ss.str().c_str(), std::ios::out | std::ios::trunc);
-+ chmod (ss.str().c_str(), 0600);
-
- // Firefox provides cookies in the following format:
- //
---
-1.7.2.5
-
diff --git a/www-plugins/gnash/files/gnash-0.8.9-cygnal-sshclient.patch b/www-plugins/gnash/files/gnash-0.8.9-cygnal-sshclient.patch
deleted file mode 100644
index 52793e576ce9..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-cygnal-sshclient.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-diff -ur a/cygnal/libnet/sshclient.cpp b/cygnal/libnet/sshclient.cpp
---- a/cygnal/libnet/sshclient.cpp 2011-02-26 19:11:07.000000000 +0100
-+++ b/cygnal/libnet/sshclient.cpp 2011-11-26 02:58:31.314227874 +0100
-@@ -103,7 +103,7 @@
-
- // Read bytes from the already opened SSH connection
- int
--SSHClient::sshRead(amf::Buffer &buf)
-+SSHClient::sshRead(cygnal::Buffer &buf)
- {
- GNASH_REPORT_FUNCTION;
-
-@@ -125,7 +125,7 @@
-
- // Write bytes to the already opened SSH connection
- int
--SSHClient::sshWrite(amf::Buffer &buf)
-+SSHClient::sshWrite(cygnal::Buffer &buf)
- {
- GNASH_REPORT_FUNCTION;
-
-@@ -401,7 +401,7 @@
- }
-
- int
--SSHClient::readChannel(ssh_channel channel, amf::Buffer &buf)
-+SSHClient::readChannel(ssh_channel channel, cygnal::Buffer &buf)
- {
- // GNASH_REPORT_FUNCTION;
- int ret = -1;
-@@ -416,7 +416,7 @@
- }
-
- int
--SSHClient::writeChannel(ssh_channel channel, amf::Buffer &buf)
-+SSHClient::writeChannel(ssh_channel channel, cygnal::Buffer &buf)
- {
- // GNASH_REPORT_FUNCTION;
- int ret = -1;
-diff -ur a/cygnal/libnet/sshclient.h b/cygnal/libnet/sshclient.h
---- a/cygnal/libnet/sshclient.h 2011-02-26 19:11:07.000000000 +0100
-+++ b/cygnal/libnet/sshclient.h 2011-11-26 02:58:57.203229777 +0100
-@@ -32,6 +32,7 @@
- #include <libssh/sftp.h>
- }
-
-+#include "dsodefs.h"
- #include "cque.h"
- #include "network.h"
- #include "buffer.h"
-@@ -56,12 +57,12 @@
- ~SSHClient();
-
- // Read bytes from the already opened SSH connection
-- int sshRead(amf::Buffer &buf);
-+ int sshRead(cygnal::Buffer &buf);
- int sshRead(boost::uint8_t *buf, size_t length);
- int sshRead(std::string &buf);
-
- // Write bytes to the already opened SSH connection
-- int sshWrite(amf::Buffer &buf);
-+ int sshWrite(cygnal::Buffer &buf);
- int sshWrite(const boost::uint8_t *buf, size_t length);
- int sshWrite(std::string &buf);
-
-@@ -104,13 +105,13 @@
- // Accessors
- ssh_channel getChannel() { return _channel; };
- ssh_session getSession() { return _session; };
-- boost::shared_ptr<amf::Buffer> &getBuffer() { return _buffer; };
-+ boost::shared_ptr<cygnal::Buffer> &getBuffer() { return _buffer; };
-
- // Dump internal data to the screen for debugging
- void dump();
- protected:
-- int readChannel (ssh_channel channel, amf::Buffer &buf);
-- int writeChannel(ssh_channel channel, amf::Buffer &buf);
-+ int readChannel (ssh_channel channel, cygnal::Buffer &buf);
-+ int writeChannel(ssh_channel channel, cygnal::Buffer &buf);
-
- std::string _hostname;
- std::string _user;
-@@ -126,7 +127,7 @@
- ssh_session _session;
- ssh_channel _channel;
- #endif
-- boost::shared_ptr<amf::Buffer> _buffer;
-+ boost::shared_ptr<cygnal::Buffer> _buffer;
- };
-
- } // end of gnash namespace
diff --git a/www-plugins/gnash/files/gnash-0.8.9-documentation-paths.patch b/www-plugins/gnash/files/gnash-0.8.9-documentation-paths.patch
deleted file mode 100644
index dc56805fec6d..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-documentation-paths.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -ur a/doc/C/Makefile.am b/doc/C/Makefile.am
---- a/doc/C/Makefile.am 2011-03-13 17:47:36.000000000 +0100
-+++ b/doc/C/Makefile.am 2011-03-20 23:50:03.560998121 +0100
-@@ -19,13 +19,13 @@
-
- # Building a PDF using Apache FOP only works with fop-0.20.5 for now.
-
--infodir = ${prefix}/share/info
-+# infodir = ${prefix}/share/info
- man1dir = ${mandir}/man1
- docname = gnash
- lang = C
- omffile = gnash-C.omf
-
--docdir = $(datadir)/$(PACKAGE)/doc/$(docname)/$(lang)
-+# docdir = $(datadir)/$(PACKAGE)/doc/$(docname)/$(lang)
- omf_dest_dir=$(datadir)/omf/$(PACKAGE)
- scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper
-
diff --git a/www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch b/www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch
deleted file mode 100644
index 73e478f40ed9..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-ffmpeg-detection.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From f05022aca2c14022a942d36a22764fae4b8f00c0 Mon Sep 17 00:00:00 2001
-From: Brad Smith <brad@comstyle.com>
-Date: Sun, 03 Apr 2011 10:56:27 +0000
-Subject: Fix newer FFmpeg detection with pkg-config.
-
----
-diff --git a/macros/ffmpeg.m4 b/macros/ffmpeg.m4
-index 2a3d3fb..42c7555 100644
---- a/macros/ffmpeg.m4
-+++ b/macros/ffmpeg.m4
-@@ -70,6 +70,9 @@ AC_DEFUN([GNASH_PATH_FFMPEG],
- if test -f ${ffmpeg_top_incl}/${i}/avcodec.h; then
- ac_cv_path_ffmpeg_incl="-I`(cd ${ffmpeg_top_incl}; pwd)`"
- avcodec_h="${ffmpeg_top_incl}/${i}/avcodec.h"
-+ if test -f ${ffmpeg_top_incl}/${i}/version.h; then
-+ avcodec_version_h=${ffmpeg_top_incl}/${i}/version.h
-+ fi
- break
- fi
- done
---
-cgit v0.8.3.4
diff --git a/www-plugins/gnash/files/gnash-0.8.9-find-openvg.patch b/www-plugins/gnash/files/gnash-0.8.9-find-openvg.patch
deleted file mode 100644
index dfd6914ba320..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-find-openvg.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur a/configure.ac b/configure.ac
---- a/configure.ac 2011-03-18 14:49:55.000000000 +0100
-+++ b/configure.ac 2011-03-21 01:54:41.058996609 +0100
-@@ -2393,7 +2393,7 @@
-
- if test x"${build_ogv}" = xyes; then
- GNASH_PKG_FIND(EGL, [EGL/egl.h], [EGL library], eglGetDisplay)
-- GNASH_PKG_FIND(OpenVG, [vg/openvg.h], [OpenVG library], vgDrawImage)
-+ GNASH_PKG_FIND(OpenVG, [VG/openvg.h], [OpenVG library], vgDrawImage)
- fi
-
- if test x"${build_gtk}" = xyes; then
diff --git a/www-plugins/gnash/files/gnash-0.8.9-libavcodec-version.patch b/www-plugins/gnash/files/gnash-0.8.9-libavcodec-version.patch
deleted file mode 100644
index 323913e296f6..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-libavcodec-version.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From 27a4e1f6a5b50e35af8fa29f9cd9fabf5ee777bd Mon Sep 17 00:00:00 2001
-From: Benjamin Wolsey <bwy@benjaminwolsey.de>
-Date: Fri, 01 Apr 2011 11:15:47 +0000
-Subject: FFmpeg trunk uses libavcodec/version.h to store the version.
-
----
-diff --git a/macros/ffmpeg.m4 b/macros/ffmpeg.m4
-index 4eb68c2..85f11b8 100644
---- a/macros/ffmpeg.m4
-+++ b/macros/ffmpeg.m4
-@@ -22,6 +22,7 @@ AC_DEFUN([GNASH_PATH_FFMPEG],
- backupLIBS="$LIBS"
- backupCFLAGS="$CFLAGS"
- avcodec_h=""
-+ avcodec_version_h=""
- ffmpeg_top_incl=""
-
- dnl If the user specify an path to include headers from, we assume it's the full
-@@ -46,6 +47,9 @@ AC_DEFUN([GNASH_PATH_FFMPEG],
- else
- AC_MSG_ERROR([${with_ffmpeg_incl} directory does not contain the avcodec.h header])
- fi
-+ if test -f ${with_ffmpeg_incl}/version.h; then
-+ avcodec_version_h=${with_ffmpeg_incl}/version.h
-+ fi
- fi
- ])
-
-@@ -182,14 +186,24 @@ AC_DEFUN([GNASH_PATH_FFMPEG],
- dnl a modified form of grepping may be better, making sure all old kinds of
- dnl version numbering fail gracefully.
-
-+ versionfile=""
-+
- dnl Check avcodec version number, if it was found
-- if test x"${avcodec_h}" != x; then
-+ if test x"${avcodec_version_h}" != x; then
-+ versionfile=${avcodec_version_h}
-+ else
-+ if test x"${avcodec_h}" != x; then
-+ versionfile=${avcodec_h}
-+ fi
-+ fi
-+
-+ if test x"${versionfile}" != x; then
-
- AC_MSG_CHECKING([ffmpeg version])
-
-- ffmpeg_major_version=`$EGREP "define LIBAVCODEC_VERSION_MAJOR " ${avcodec_h} | sed -e "s%[[^0-9]]%%g"`
-- ffmpeg_minor_version=`$EGREP "define LIBAVCODEC_VERSION_MINOR " ${avcodec_h} | sed -e "s%[[^0-9]]%%g"`
-- ffmpeg_micro_version=`$EGREP "define LIBAVCODEC_VERSION_MICRO " ${avcodec_h} | sed -e "s%[[^0-9]]%%g"`
-+ ffmpeg_major_version=`$EGREP "define LIBAVCODEC_VERSION_MAJOR " ${versionfile} | sed -e "s%[[^0-9]]%%g"`
-+ ffmpeg_minor_version=`$EGREP "define LIBAVCODEC_VERSION_MINOR " ${versionfile} | sed -e "s%[[^0-9]]%%g"`
-+ ffmpeg_micro_version=`$EGREP "define LIBAVCODEC_VERSION_MICRO " ${versionfile} | sed -e "s%[[^0-9]]%%g"`
-
- if test x"${ffmpeg_major_version}" != x ; then
-
-@@ -198,15 +212,15 @@ AC_DEFUN([GNASH_PATH_FFMPEG],
- else
-
- dnl #define LIBAVCODEC_VERSION_TRIPLET 51,50,1
-- ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION_TRIPLET " ${avcodec_h} | awk '{print $'3'}' | sed -e "s%,%.%g"`
-+ ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION_TRIPLET " ${versionfile} | awk '{print $'3'}' | sed -e "s%,%.%g"`
-
- if test x"${ffmpeg_version}" = x ; then
-
- dnl NOTE: the [0-9]*d. pattern discards deb-heads rubbish prefix
-- ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION " ${avcodec_h} | awk '{print $'3'}' | sed -e "s%^[[0-9]]d\.%%"`
-+ ffmpeg_version=`$EGREP "define LIBAVCODEC_VERSION " ${versionfile} | awk '{print $'3'}' | sed -e "s%^[[0-9]]d\.%%"`
-
- if test x"${ffmpeg_version}" = x ; then
-- ffmpeg_version=`$EGREP "define LIBAVCODEC_BUILD " ${avcodec_h} | awk '{print $'3'}'`
-+ ffmpeg_version=`$EGREP "define LIBAVCODEC_BUILD " ${versionfile} | awk '{print $'3'}'`
- fi
- fi
-
---
-cgit v0.8.3.4
diff --git a/www-plugins/gnash/files/gnash-0.8.9-look-harder-for-version_h.patch b/www-plugins/gnash/files/gnash-0.8.9-look-harder-for-version_h.patch
deleted file mode 100644
index 71fc9b58793a..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-look-harder-for-version_h.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur a/macros/ffmpeg.m4 b/macros/ffmpeg.m4
---- a/macros/ffmpeg.m4 2011-04-09 17:26:26.817016067 +0200
-+++ b/macros/ffmpeg.m4 2011-04-09 17:51:04.142016943 +0200
-@@ -96,6 +96,9 @@
- if test -f ${ffmpeg_top_incl}/${i}/avcodec.h; then
- ac_cv_path_ffmpeg_incl="-I`(cd ${ffmpeg_top_incl}/${i}; pwd)`"
- avcodec_h=${ffmpeg_top_incl}/${i}/avcodec.h
-+ if test -f ${ffmpeg_top_incl}/${i}/version.h; then
-+ avcodec_version_h=${ffmpeg_top_incl}/${i}/version.h
-+ fi
- break
- fi
- done
diff --git a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch b/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch
deleted file mode 100644
index 675b6eec6fba..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ur a/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp b/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp
---- a/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp 2011-02-26 19:11:08.000000000 +0100
-+++ b/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp 2011-07-02 22:45:54.804995296 +0200
-@@ -46,8 +46,10 @@
- {
- if ( (ctx->sample_rate != 44100) || (ctx->channels != 2) ) {
- if ( ! _context ) {
-- _context = audio_resample_init(
-- 2, ctx->channels, 44100, ctx->sample_rate
-+ _context = av_audio_resample_init(
-+ 2, ctx->channels, 44100, ctx->sample_rate,
-+ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16,
-+ 16, 10, 0, 0.8
- );
- }
-
diff --git a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-audio.patch b/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-audio.patch
deleted file mode 100644
index 513d7f79723b..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-audio.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ur a/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp b/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp
---- a/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp 2011-02-26 19:11:08.000000000 +0100
-+++ b/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp 2011-07-02 21:03:32.785996541 +0200
-@@ -29,7 +29,7 @@
-
- //#define GNASH_DEBUG_AUDIO_DECODING
-
--#define AVCODEC_DECODE_AUDIO avcodec_decode_audio2
-+#define AVCODEC_DECODE_AUDIO avcodec_decode_audio3
-
- namespace gnash {
- namespace media {
-@@ -549,8 +549,12 @@
- #endif
-
- // older ffmpeg versions didn't accept a const input..
-+ AVPacket pkt;
-+ av_init_packet(&pkt);
-+ pkt.data = (uint8_t*) input;
-+ pkt.size = inputSize;
- int tmp = AVCODEC_DECODE_AUDIO(_audioCodecCtx, outPtr, &outSize,
-- input, inputSize);
-+ &pkt);
-
- #ifdef GNASH_DEBUG_AUDIO_DECODING
- log_debug(" avcodec_decode_audio[2](ctx, bufptr, %d, input, %d) "
diff --git a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-video.patch b/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-video.patch
deleted file mode 100644
index f73506260ef2..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-decode-video.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -ur a/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp b/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
---- a/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 2011-03-13 17:47:36.000000000 +0100
-+++ b/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 2011-07-02 21:40:28.026996093 +0200
-@@ -356,8 +356,12 @@
-
- int bytes = 0;
- // no idea why avcodec_decode_video wants a non-const input...
-- avcodec_decode_video(_videoCodecCtx->getContext(), frame, &bytes,
-- input, input_size);
-+ AVPacket pkt;
-+ av_init_packet(&pkt);
-+ pkt.data = (uint8_t*) input;
-+ pkt.size = input_size;
-+ avcodec_decode_video2(_videoCodecCtx->getContext(), frame, &bytes,
-+ &pkt);
-
- if (!bytes) {
- log_error("Decoding of a video frame failed");
diff --git a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-parser.patch b/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-parser.patch
deleted file mode 100644
index 9a46b521b755..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-parser.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -ur a/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp b/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp
---- a/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp 2011-02-26 19:11:08.000000000 +0100
-+++ b/libmedia/ffmpeg/AudioDecoderFfmpeg.cpp 2011-04-10 23:59:17.170781787 +0200
-@@ -658,13 +658,13 @@
- {
- if ( _needsParsing )
- {
-- return av_parser_parse(_parser, _audioCodecCtx,
-+ return av_parser_parse2(_parser, _audioCodecCtx,
- // as of 2008-10-28 SVN, ffmpeg doesn't
- // accept a pointer to pointer to const..
- const_cast<boost::uint8_t**>(outFrame),
- outFrameSize,
- input, inputSize,
-- 0, 0); // pts & dts
-+ 0, 0, AV_NOPTS_VALUE); // pts & dts
- }
- else
- {
diff --git a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avformat-metadata.patch b/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avformat-metadata.patch
deleted file mode 100644
index dcfb24cb20f9..000000000000
--- a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avformat-metadata.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -ur a/libmedia/ffmpeg/MediaParserFfmpeg.cpp b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
---- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp 2011-03-13 17:47:36.000000000 +0100
-+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp 2011-07-02 22:29:55.889995495 +0200
-@@ -387,7 +387,7 @@
-
- log_debug("Parsing FFMPEG media file: format:%s; nstreams:%d",
- _inputFmt->name, _formatCtx->nb_streams);
--
-+ /*
- if ( _formatCtx->title[0] )
- log_debug(_(" Title:'%s'"), _formatCtx->title);
- if ( _formatCtx->author[0] )
-@@ -398,7 +398,7 @@
- log_debug(_(" Comment:'%s'"), _formatCtx->comment);
- if ( _formatCtx->album[0] )
- log_debug(_(" Album:'%s'"), _formatCtx->album);
--
-+ */
- // Find first audio and video stream
- for (unsigned int i = 0; i < static_cast<unsigned int>(_formatCtx->nb_streams); i++)
- {
-@@ -415,7 +415,7 @@
- }
-
- switch (enc->codec_type) {
-- case CODEC_TYPE_AUDIO:
-+ case AVMEDIA_TYPE_AUDIO:
- if (_audioStreamIndex < 0) {
- _audioStreamIndex = i;
- _audioStream = _formatCtx->streams[i];
-@@ -425,7 +425,7 @@
- }
- break;
-
-- case CODEC_TYPE_VIDEO:
-+ case AVMEDIA_TYPE_VIDEO:
- if (_videoStreamIndex < 0) {
- _videoStreamIndex = i;
- _videoStream = _formatCtx->streams[i];
diff --git a/www-plugins/gnash/gnash-0.8.10-r1.ebuild b/www-plugins/gnash/gnash-0.8.10-r1.ebuild
deleted file mode 100644
index 154e4e9ea72c..000000000000
--- a/www-plugins/gnash/gnash-0.8.10-r1.ebuild
+++ /dev/null
@@ -1,292 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.10-r1.ebuild,v 1.3 2012/05/03 06:08:02 jdhore Exp $
-
-EAPI=4
-CMAKE_REQUIRED="never"
-KDE_REQUIRED="optional"
-AT_M4DIR="cygnal"
-PYTHON_DEPEND="python? 2"
-RESTRICT_PYTHON_ABIS="3.*"
-
-inherit autotools eutils kde4-base multilib nsplugins python flag-o-matic
-
-DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features"
-HOMEPAGE="http://www.gnu.org/software/gnash/"
-
-if [[ ${PV} = 9999* ]]; then
- SRC_URI=""
- EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git"
- inherit git-2
-else
-# Release tarball is b0rked, upstream #35612
-# SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
- SRC_URI="mirror://gentoo/${P}.tar.gz"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg gconf gnome gstreamer gtk kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi"
-REQUIRED_USE="dump? ( agg ffmpeg )
- fbcon? ( agg )
- nsplugin? ( gtk )
- openvg? ( egl )
- python? ( gtk )
- vaapi? ( agg ffmpeg )
- || ( agg cairo opengl openvg )
- || ( dump fbcon gtk kde sdl )
- "
-
-# gnash fails if obsolete boost is installed, bug #334259
-RDEPEND=">=dev-libs/boost-1.41.0
- !!dev-libs/boost:0
- dev-libs/expat
- dev-libs/libxml2
- virtual/jpeg
- media-libs/libpng
- net-misc/curl
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- media-libs/giflib
- x11-proto/xproto
- agg? ( x11-libs/agg )
- cairo? ( x11-libs/cairo )
- directfb? (
- dev-libs/DirectFB
- )
- doc? (
- >=app-text/docbook2X-0.8.8
- app-text/docbook-sgml-utils
- )
- egl? (
- media-libs/mesa[egl]
- )
- fbcon? (
- x11-libs/tslib
- )
- ffmpeg? (
- virtual/ffmpeg[vaapi?]
- )
- gconf? (
- gnome-base/gconf
- )
- gstreamer? (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- media-plugins/gst-plugins-meta
- )
- gtk? (
- x11-libs/gtk+:2
- net-libs/xulrunner:1.9
- python? ( dev-python/pygtk:2 )
- )
- kde? ( $(add_kdebase_dep kdebase-startkde) )
- opengl? (
- virtual/opengl
- gtk? ( x11-libs/gtkglext )
- )
- openvg? (
- media-libs/mesa[openvg]
- )
- nsplugin? (
- || (
- net-misc/npapi-sdk
- >=net-libs/xulrunner-1.9.2:1.9
- )
- )
- sdl? ( media-libs/libsdl[X] )
- sdl-sound? ( media-libs/libsdl )
- media-libs/speex[ogg]
- sys-libs/zlib
- >=sys-devel/libtool-2.2
- mysql? ( virtual/mysql )
- lirc? ( app-misc/lirc )
- dbus? ( sys-apps/dbus )
- ssh? ( >=net-libs/libssh-0.4[server] )
- ssl? ( dev-libs/openssl )
- vaapi? ( x11-libs/libva[opengl?] )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- gnome? ( app-text/rarian )
- test? ( dev-util/dejagnu )"
-# Tests hang with sandbox, bug #321017
-RESTRICT="test"
-
-pkg_setup() {
- kde4-base_pkg_setup
-
- if has_version ">=dev-libs/boost-1.46" && has_version "<dev-libs/boost-1.46"; then
- ewarn "If you have multiple versions of boost installed, gnash may attempt to"
- ewarn "compile against the older version and link against newer version, which can"
- ewarn "cause the build to fail. Unmerge of the old version of boost is recommended."
- fi
-
- if use !ffmpeg && use !gstreamer; then
- ewarn "You are trying to build Gnash without choosing a media handler."
- ewarn "Sound and video playback will not work."
- fi
-
- # won't build with python-3, bug #392969
- if use python; then
- python_set_active_version 2
- fi
-}
-
-src_prepare() {
- # Fix paths for klash, bug #339610
- epatch "${FILESDIR}"/${PN}-0.8.9-klash.patch
-
- # Use external dejagnu for tests, bug #321017
- epatch "${FILESDIR}"/${PN}-0.8.9-external-dejagnu.patch
-
- # Fix building on ppc64, bug #342535
- use ppc64 && append-flags -mminimal-toc
-
- # Fix kde multilib library path, bug #391283
- epatch "${FILESDIR}"/${PN}-0.8.9-kde4-libdir.patch
-
- # Fix gettext macros build failure
- epatch "${FILESDIR}"/${PN}-0.8.10-gettext-macro.patch
-
- # Fix libamf includes
- epatch "${FILESDIR}"/${PN}-0.8.10-amf-include.patch
-
- # Allow building against npapi-sdk, bug #383071
- epatch "${FILESDIR}"/${PN}-0.8.10-npapi-sdk.patch
-
- # Fix broken jemalloc, bug #405993
- epatch "${FILESDIR}"/${PN}-0.8.10-jemalloc-aslr-fix.patch
-
- eautoreconf
-}
-src_configure() {
- local device gui input media myconf myext renderers
-
- # Set nsplugin install directory.
- use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/"
-
- # Set hardware acceleration.
- use X && device+=",x11"
- use directfb && device+=",directfb"
- use egl && device+=",egl"
- use fbcon && device+=",rawfb"
- use vaapi && device+=",vaapi"
- [[ "${device}x" == "x" ]] && device+=",none"
-
- # Set rendering engine.
- use agg && renderers+=",agg"
- use cairo && renderers+=",cairo"
- use opengl && renderers+=",opengl"
- use openvg && renderers+=",openvg"
-
- # Set kde and konqueror plugin directories.
- if use kde; then
- myconf="${myconf}
- --with-plugins-install=system
- --with-kde4-incl=${KDEDIR}/include
- --with-kde4-configdir=${KDEDIR}/share/config
- --with-kde4-prefix=${KDEDIR}
- --with-kde4-lib=${KDEDIR}/$(get_libdir)
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services"
- fi
-
- # Set media handler.
- use ffmpeg || use gstreamer || media+=",none"
- use ffmpeg && media+=",ffmpeg"
- use gstreamer && media+=",gst"
-
- # Set gui.
- use dump && gui="${gui},dump"
- use fbcon && gui="${gui},fb"
- use gtk && gui=",gtk"
- use kde && gui="${gui},kde4"
- use sdl && gui="${gui},sdl"
-
- if use sdl-sound; then
- myconf="${myconf} --enable-sound=sdl"
- else
- myconf="${myconf} --enable-sound=none"
- fi
-
- # Set extensions
- use mysql && myext=",mysql"
- use gtk && myext="${myext},gtk"
- use lirc && myext="${myext},lirc"
- use dbus && myext="${myext},dbus"
-
- # Strip extra comma from gui, myext, hwaccel and renderers.
- device=$( echo $device | sed -e 's/,//' )
- gui=$( echo $gui | sed -e 's/,//' )
- myext=$( echo $myext | sed -e 's/,//' )
- renderers=$( echo $renderers | sed -e 's/,//' )
- media=$( echo $media | sed -e 's/,//' )
-
- econf \
- --docdir=/usr/share/doc/${PF} \
- --disable-dependency-tracking \
- --disable-kparts3 \
- $(use_enable cygnal) \
- $(use_enable cygnal cgibins) \
- $(use_enable doc docbook) \
- $(use_enable gnome ghelp) \
- $(use_enable kde kparts4) \
- $(use_enable nls) \
- $(use_enable nsplugin npapi) \
- $(use_enable python) \
- $(use_enable ssh) \
- $(use_enable ssl) \
- $(use_enable test testsuite) \
- $(use_with gconf) \
- --enable-gui=${gui} \
- --enable-device=${device} \
- --enable-extensions=${myext} \
- --enable-renderer=${renderers} \
- --enable-media=${media} \
- ${myconf}
-}
-src_test() {
- local log=testsuite-results.txt
- cd testsuite
- emake check || die "make check failed"
- ./anaylse-results.sh > $log || die "results analyze failed"
- cat $log
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install nsplugin in directory set by --with-npapi-plugindir.
- if use nsplugin; then
- emake DESTDIR="${D}" install-plugin || die "install plugins failed"
- fi
-
- # Install kde konqueror plugin.
- if use kde; then
- pushd "${S}/plugin/klash4" >& /dev/null || die
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed"
- popd >& /dev/null
- fi
- # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory.
- use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so \
-
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
-}
-pkg_postinst() {
- if use !gnome || use !gstreamer && use !ffmpeg ; then
- ewarn ""
- ewarn "Gnash was built without a media handler and or http handler !"
- ewarn ""
- ewarn "If you want Gnash to support video then you will need to"
- ewarn "rebuild Gnash with either the ffmpeg or gstreamer and gnome use flags set."
- ewarn ""
- fi
- ewarn "${PN} is still in heavy development"
- ewarn "Please first report bugs on upstream gnashdevs and deal with them"
- ewarn "And then report a Gentoo bug to the maintainer"
- use kde && kde4-base_pkg_postinst
-}
diff --git a/www-plugins/gnash/gnash-0.8.10-r2.ebuild b/www-plugins/gnash/gnash-0.8.10-r2.ebuild
index 952fba49064f..4aa33795d901 100644
--- a/www-plugins/gnash/gnash-0.8.10-r2.ebuild
+++ b/www-plugins/gnash/gnash-0.8.10-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.10-r2.ebuild,v 1.5 2012/05/03 06:08:02 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.10-r2.ebuild,v 1.6 2012/05/16 11:35:05 scarabeus Exp $
EAPI=4
CMAKE_REQUIRED="never"
@@ -26,7 +26,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg gconf gnome gstreamer gtk kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi"
REQUIRED_USE="dump? ( agg ffmpeg )
fbcon? ( agg )
diff --git a/www-plugins/gnash/gnash-0.8.8.ebuild b/www-plugins/gnash/gnash-0.8.8.ebuild
deleted file mode 100644
index 7e498059af13..000000000000
--- a/www-plugins/gnash/gnash-0.8.8.ebuild
+++ /dev/null
@@ -1,305 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.8.ebuild,v 1.22 2012/05/03 06:08:02 jdhore Exp $
-
-EAPI=3
-CMAKE_REQUIRED="never"
-KDE_REQUIRED="optional"
-AT_M4DIR="cygnal"
-
-inherit autotools eutils kde4-base multilib nsplugins python flag-o-matic
-
-DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features"
-HOMEPAGE="http://www.gnu.org/software/gnash/"
-
-if [[ ${PV} = 9999* ]]; then
- SRC_URI=""
- EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git"
- inherit git
-else
- SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
-IUSE="+agg cairo cygnal dbus doc fbcon +ffmpeg gnome gstreamer gtk kde lirc mysql +nls nsplugin opengl python +sdl sdl-sound ssh ssl test vaapi video_cards_intel xv"
-
-# gnash fails if obsolete boost is installed, bug #334259
-RDEPEND=">=dev-libs/boost-1.41.0
- !!dev-libs/boost:0
- dev-libs/expat
- dev-libs/libxml2
- virtual/jpeg
- media-libs/libpng
- net-misc/curl
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- x11-libs/libXv
- media-libs/giflib
- x11-proto/xproto
- agg? ( x11-libs/agg )
- cairo? ( x11-libs/cairo )
- doc? (
- >=app-text/docbook2X-0.8.8
- app-text/docbook-sgml-utils
- )
- ffmpeg? (
- virtual/ffmpeg[vaapi?]
- )
- gstreamer? (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- media-plugins/gst-plugins-meta
- )
- gtk? (
- x11-libs/gtk+:2
- net-libs/xulrunner:1.9
- python? ( dev-python/pygtk:2 )
- )
- kde? ( $(add_kdebase_dep kdebase-startkde) )
- opengl? (
- virtual/opengl
- gtk? ( x11-libs/gtkglext )
- )
- nsplugin? ( >=net-libs/xulrunner-1.9.2:1.9 )
- sdl? ( media-libs/libsdl[X] )
- sdl-sound? ( media-libs/libsdl )
- media-libs/speex[ogg]
- sys-libs/zlib
- >=sys-devel/libtool-2.2
- mysql? ( virtual/mysql )
- lirc? ( app-misc/lirc )
- dbus? ( sys-apps/dbus )
- ssh? ( >=net-libs/libssh-0.4[server] )
- ssl? ( dev-libs/openssl )
- vaapi? ( x11-libs/libva[opengl?] )
- xv? ( x11-libs/libXv )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- gnome? ( app-text/rarian )
- test? ( dev-util/dejagnu )"
-# Tests hang with sandbox, bug #321017
-RESTRICT="test"
-
-pkg_setup() {
- if use !ffmpeg && use !gstreamer; then
- ewarn "You are trying to build Gnash without choosing a media handler."
- ewarn "Sound and video playback will not work."
- fi
-
- if use vaapi && use !ffmpeg; then
- eerror "Support for VAAPI currently requires the ffmpeg media handler."
- die "vaapi requires the ffmpeg USE flag."
- fi
-
- if use xv && use !opengl; then
- eerror "Support for xvideo currently requires the opengl renderer."
- die "xv requires the opengl USE flag."
- fi
-
- if use !agg && use !cairo && use !opengl; then
- eerror "You are trying to build Gnash without choosing a renderer [agg|cairo|opengl]."
- die "Please enable a renderer"
- fi
-
- if use !fbcon && use !kde && use !gtk && use !sdl; then
- ewarn "You are trying to build Gnash without choosing a gui frontend [fbcon,gtk,kde,sdl]."
- die "Please enable at least one of these USE flags."
- fi
-
- if use python && use !gtk; then
- eerror "Building gnash with python support requires gtk."
- die "python requires the gtk USE flag."
- fi
-
- if use nsplugin && use !gtk; then
- eerror "Building gnash with nsplugin requires the gtk gui."
- die "Nsplugin requires the gtk gui."
- fi
-
- if use fbcon && use !agg; then
- eerror "Building gnash with fbcon requires the agg renderer."
- die "fbcon requires the agg USE flag."
- fi
-
- if use sdl; then
- einfo "Enable SDL as gui frontend and sound handler"
- fi
-
- if use lirc; then
- einfo "Enable LIRC daemon support and lirc extension"
- fi
-
- kde4-base_pkg_setup
-}
-
-src_prepare() {
- # TODO: Patch no longer applies
-# epatch "${FILESDIR}"/${PN}-0.8.7-amf-include.patch
-
- # Resurect patch from bug #230287
- epatch "${FILESDIR}"/${PN}-0.8.3-boost-dynamic-link.patch
-
- # Adapted from Alt Linux to fix klash support properly
- epatch "${FILESDIR}"/${PN}-0.8.8-klash.patch
-
- # Make gnash find moc and uic properly, upstream bug #25758,
- # gentoo bug #283905
- epatch "${FILESDIR}"/${PN}-0.8.7-moc-qt4.patch
-
- # Install documentation into the proper directories, bug #296110
- epatch "${FILESDIR}"/${PN}-0.8.8-documentation-paths.patch
-
- # Use external dejagnu for tests, bug #321017
- epatch "${FILESDIR}"/${PN}-0.8.8-external-dejagnu.patch
-
- # Fix insecure creation of temporary files, bug #351724
- epatch "${FILESDIR}"/${PN}-0.8.8-secure-tempfile-creation.patch
-
- # Fix detection of recent ffmpeg, bug #362683
- epatch "${FILESDIR}"/${PN}-0.8.9-ffmpeg-detection.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-libavcodec-version.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-look-harder-for-version_h.patch
-
- # Fix building on ppc64, bug #342535
- use ppc64 && append-flags -mminimal-toc
-
- eautoreconf
-}
-src_configure() {
- local gui hwaccel input media myconf myext renderers
-
- # Set nsplugin install directory.
- use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/"
-
- # Set hardware acceleration.
- use xv && hwaccel+=",xv"
- use vaapi && hwaccel+=",vaapi"
-
- # Set rendering engine.
- use agg && renderers+=",agg"
- use cairo && renderers+=",cairo"
- use opengl && renderers+=",opengl"
-
- # Set kde and konqueror plugin directories.
- if use kde; then
- myconf="${myconf}
- --with-plugins-install=system
- --with-kde4-incl=${KDEDIR}/include
- --with-kde4-configdir=${KDEDIR}/share/config
- --with-kde4-prefix=${KDEDIR}
- --with-kde4-lib=${KDEDIR}/$(get_libdir)
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services
- --with-kde4-plugindir=${KDEDIR}/$(get_libdir)/kde4/plugins"
- fi
-
- # Set media handler.
- use ffmpeg || use gstreamer || media+=",none"
- use ffmpeg && media+=",ffmpeg"
- use gstreamer && media+=",gst"
-
- # Set gui.
- use gtk && gui=",gtk"
- use fbcon && gui="${gui},fb"
- use kde && gui="${gui},kde4"
- use sdl && gui="${gui},sdl"
-
- if use sdl-sound; then
- myconf="${myconf} --enable-sound=sdl"
- fi
-
- # Set extensions
- use mysql && myext=",mysql"
- use gtk && myext="${myext},gtk"
- use lirc && myext="${myext},lirc"
- use dbus && myext="${myext},dbus"
-
- # Strip extra comma from gui, myext, hwaccel and renderers.
- gui=$( echo $gui | sed -e 's/,//' )
- hwaccel=$( echo $hwaccel | sed -e 's/,//' )
- myext=$( echo $myext | sed -e 's/,//' )
- renderers=$( echo $renderers | sed -e 's/,//' )
- media=$( echo $media | sed -e 's/,//' )
-
- econf \
- --docdir=/usr/share/doc/${PF} \
- --disable-dependency-tracking \
- --disable-kparts3 \
- $(use_enable cygnal) \
- $(use_enable cygnal cgibins) \
- $(use_enable doc docbook) \
- $(use_enable gnome ghelp) \
- $(use_enable kde kparts4) \
- $(use_enable lirc) \
- $(use_enable nls) \
- $(use_enable nsplugin npapi) \
- $(use_enable python) \
- $(use_enable ssh) \
- $(use_enable ssl) \
- $(use_enable test testsuite) \
- $(use_enable video_cards_intel i810-lod-bias) \
- --enable-gui=${gui} \
- --enable-extensions=${myext} \
- --enable-renderer=${renderers} \
- --enable-hwaccel=${hwaccel} \
- --enable-media=${media} \
- ${myconf}
-}
-src_test() {
- local log=testsuite-results.txt
- cd testsuite
- emake check || die "make check failed"
- ./anaylse-results.sh > $log || die "results analyze failed"
- cat $log
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install nsplugin in directory set by --with-npapi-plugindir.
- if use nsplugin; then
- emake DESTDIR="${D}" install-plugin || die "install plugins failed"
- fi
-
- # Install kde konqueror plugin.
- if use kde; then
- pushd "${S}/plugin/klash4" >& /dev/null
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed"
- popd >& /dev/null
- fi
- # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory.
- use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so \
-
- # Remove pointless .la file, bug 338831
- if use python; then
- rm "${D}/$(python_get_sitedir)"/gtk-2.0/${PN}.la || die
- fi
-
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
-}
-pkg_postinst() {
- if has_version net-misc/curl[threads]; then
- ewarn "net-misc/curl was built with USE=\"threads\", which causes problems."
- ewarn "If flash animations fail to download resources such as videos, build"
- ewarn "net-misc/curl without threading support. For details see"
- ewarn "https://bugs.gentoo.org/show_bug.cgi?id=332757 or"
- ewarn "https://savannah.gnu.org/bugs/?func=detailitem&item_id=30357"
- fi
- if use !gnome || use !gstreamer && use !ffmpeg ; then
- ewarn ""
- ewarn "Gnash was built without a media handler and or http handler !"
- ewarn ""
- ewarn "If you want Gnash to support video then you will need to"
- ewarn "rebuild Gnash with either the ffmpeg or gstreamer and gnome use flags set."
- ewarn ""
- fi
- ewarn "${PN} is still in heavy development"
- ewarn "Please first report bugs on upstream gnashdevs and deal with them"
- ewarn "And then report a Gentoo bug to the maintainer"
- use kde && kde4-base_pkg_postinst
-}
diff --git a/www-plugins/gnash/gnash-0.8.9-r2.ebuild b/www-plugins/gnash/gnash-0.8.9-r2.ebuild
deleted file mode 100644
index 2740100b0303..000000000000
--- a/www-plugins/gnash/gnash-0.8.9-r2.ebuild
+++ /dev/null
@@ -1,308 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.9-r2.ebuild,v 1.7 2012/05/03 06:08:02 jdhore Exp $
-
-EAPI=3
-CMAKE_REQUIRED="never"
-KDE_REQUIRED="optional"
-AT_M4DIR="cygnal"
-
-inherit autotools eutils kde4-base multilib nsplugins python flag-o-matic
-
-DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features"
-HOMEPAGE="http://www.gnu.org/software/gnash/"
-
-if [[ ${PV} = 9999* ]]; then
- SRC_URI=""
- EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git"
- inherit git-2
-else
- SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
-IUSE="+agg cairo cygnal dbus doc fbcon +ffmpeg gnome gstreamer gtk kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi"
-
-# gnash fails if obsolete boost is installed, bug #334259
-RDEPEND=">=dev-libs/boost-1.41.0
- !!dev-libs/boost:0
- dev-libs/expat
- dev-libs/libxml2
- virtual/jpeg
- media-libs/libpng
- net-misc/curl
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- media-libs/giflib
- x11-proto/xproto
- agg? ( x11-libs/agg )
- cairo? ( x11-libs/cairo )
- doc? (
- >=app-text/docbook2X-0.8.8
- app-text/docbook-sgml-utils
- )
- fbcon? (
- x11-libs/tslib
- )
- ffmpeg? (
- virtual/ffmpeg[vaapi?]
- )
- gstreamer? (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- media-plugins/gst-plugins-meta
- )
- gtk? (
- x11-libs/gtk+:2
- net-libs/xulrunner:1.9
- python? ( dev-python/pygtk:2 )
- )
- kde? ( $(add_kdebase_dep kdebase-startkde) )
- opengl? (
- virtual/opengl
- gtk? ( x11-libs/gtkglext )
- )
- openvg? (
- virtual/opengl
- )
- nsplugin? ( >=net-libs/xulrunner-1.9.2:1.9 )
- sdl? ( media-libs/libsdl[X] )
- sdl-sound? ( media-libs/libsdl )
- media-libs/speex[ogg]
- sys-libs/zlib
- >=sys-devel/libtool-2.2
- mysql? ( virtual/mysql )
- lirc? ( app-misc/lirc )
- dbus? ( sys-apps/dbus )
- ssh? ( >=net-libs/libssh-0.4[server] )
- ssl? ( dev-libs/openssl )
- vaapi? ( x11-libs/libva[opengl?] )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- gnome? ( app-text/rarian )
- test? ( dev-util/dejagnu )"
-# Tests hang with sandbox, bug #321017
-RESTRICT="test"
-
-pkg_setup() {
- if has_version ">=dev-libs/boost-1.46" && has_version "<dev-libs/boost-1.46"; then
- ewarn "If you have multiple versions of boost installed, gnash may attempt to"
- ewarn "compile against the older version and link against newer version, which can"
- ewarn "cause the build to fail. Unmerge of the old version of boost is recommended."
- fi
-
- if use !ffmpeg && use !gstreamer; then
- ewarn "You are trying to build Gnash without choosing a media handler."
- ewarn "Sound and video playback will not work."
- fi
-
- if use vaapi && use !ffmpeg; then
- eerror "Support for VAAPI currently requires the ffmpeg media handler."
- die "vaapi requires the ffmpeg USE flag."
- fi
-
- if use vaapi && use !agg; then
- eerror "Support for VAAPI currently requires the agg renderer."
- die "vaapi requires the agg USE flag."
- fi
-
- if use !agg && use !cairo && use !opengl && !use openvg; then
- eerror "You are trying to build Gnash without choosing a renderer [agg|cairo|opengl|openvg]."
- die "Please enable a renderer"
- fi
-
- if use !fbcon && use !kde && use !gtk && use !sdl; then
- ewarn "You are trying to build Gnash without choosing a gui frontend [fbcon,gtk,kde,sdl]."
- die "Please enable at least one of these USE flags."
- fi
-
- if use python && use !gtk; then
- eerror "Building gnash with python support requires gtk."
- die "python requires the gtk USE flag."
- fi
-
- if use nsplugin && use !gtk; then
- eerror "Building gnash with nsplugin requires the gtk gui."
- die "Nsplugin requires the gtk gui."
- fi
-
- if use fbcon && use !agg; then
- eerror "Building gnash with fbcon requires the agg renderer."
- die "fbcon requires the agg USE flag."
- fi
-
- kde4-base_pkg_setup
-}
-
-src_prepare() {
- # TODO: Patch no longer applies
-# epatch "${FILESDIR}"/${PN}-0.8.7-amf-include.patch
-
- # Look for openvg.h in correct path
- epatch "${FILESDIR}"/${PN}-0.8.9-find-openvg.patch
-
- # Fix paths for klash, bug #339610
- epatch "${FILESDIR}"/${PN}-0.8.9-klash.patch
-
- # Install documentation into the proper directories, bug #296110
- epatch "${FILESDIR}"/${PN}-0.8.9-documentation-paths.patch
-
- # Use external dejagnu for tests, bug #321017
- epatch "${FILESDIR}"/${PN}-0.8.9-external-dejagnu.patch
-
- # Fix detection of recent ffmpeg, bug #362683
- epatch "${FILESDIR}"/${PN}-0.8.9-ffmpeg-detection.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-libavcodec-version.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-look-harder-for-version_h.patch
-
- # Fix building against ffmpeg-0.8, bug #362949, upstream #33696
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-audio-resample.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-decode-audio.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-decode-video.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-parser.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avformat-metadata.patch
-
- # Fix building on ppc64, bug #342535
- use ppc64 && append-flags -mminimal-toc
-
- # Fix building of cygnal sshclient, bug #391915
- epatch "${FILESDIR}"/${PN}-0.8.9-cygnal-sshclient.patch
-
- # Fix kde multilib library path, bug #391283
- epatch "${FILESDIR}"/${PN}-0.8.9-kde4-libdir.patch
-
- # Fix security bug #391283
- epatch "${FILESDIR}"/${PN}-0.8.9-cve-2011-4328.patch
-
- eautoreconf
-}
-src_configure() {
- local gui hwaccel input media myconf myext renderers
-
- # Set nsplugin install directory.
- use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/"
-
- # Set hardware acceleration.
- if use vaapi; then
- hwaccel="vaapi"
- else
- hwaccel="none"
- fi
-
- # Set rendering engine.
- use agg && renderers+=",agg"
- use cairo && renderers+=",cairo"
- use opengl && renderers+=",opengl"
- use openvg && renderers+=",openvg"
-
- # Set kde and konqueror plugin directories.
- if use kde; then
- myconf="${myconf}
- --with-plugins-install=system
- --with-kde4-incl=${KDEDIR}/include
- --with-kde4-configdir=${KDEDIR}/share/config
- --with-kde4-prefix=${KDEDIR}
- --with-kde4-lib=${KDEDIR}/$(get_libdir)
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services"
- fi
-
- # Set media handler.
- use ffmpeg || use gstreamer || media+=",none"
- use ffmpeg && media+=",ffmpeg"
- use gstreamer && media+=",gst"
-
- # Set gui.
- use gtk && gui=",gtk"
- use fbcon && gui="${gui},fb"
- use kde && gui="${gui},kde4"
- use sdl && gui="${gui},sdl"
-
- if use sdl-sound; then
- myconf="${myconf} --enable-sound=sdl"
- else
- myconf="${myconf} --enable-sound=none"
- fi
-
- # Set extensions
- use mysql && myext=",mysql"
- use gtk && myext="${myext},gtk"
- use lirc && myext="${myext},lirc"
- use dbus && myext="${myext},dbus"
-
- # Strip extra comma from gui, myext, hwaccel and renderers.
- gui=$( echo $gui | sed -e 's/,//' )
- hwaccel=$( echo $hwaccel | sed -e 's/,//' )
- myext=$( echo $myext | sed -e 's/,//' )
- renderers=$( echo $renderers | sed -e 's/,//' )
- media=$( echo $media | sed -e 's/,//' )
-
- econf \
- --docdir=/usr/share/doc/${PF} \
- --disable-dependency-tracking \
- --disable-kparts3 \
- $(use_enable cygnal) \
- $(use_enable cygnal cgibins) \
- $(use_enable doc docbook) \
- $(use_enable gnome ghelp) \
- $(use_enable kde kparts4) \
- $(use_enable lirc) \
- $(use_enable nls) \
- $(use_enable nsplugin npapi) \
- $(use_enable python) \
- $(use_enable ssh) \
- $(use_enable ssl) \
- $(use_enable test testsuite) \
- --enable-gui=${gui} \
- --enable-extensions=${myext} \
- --enable-renderer=${renderers} \
- --enable-hwaccel=${hwaccel} \
- --enable-media=${media} \
- ${myconf}
-}
-src_test() {
- local log=testsuite-results.txt
- cd testsuite
- emake check || die "make check failed"
- ./anaylse-results.sh > $log || die "results analyze failed"
- cat $log
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install nsplugin in directory set by --with-npapi-plugindir.
- if use nsplugin; then
- emake DESTDIR="${D}" install-plugin || die "install plugins failed"
- fi
-
- # Install kde konqueror plugin.
- if use kde; then
- pushd "${S}/plugin/klash4" >& /dev/null || die
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed"
- popd >& /dev/null
- fi
- # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory.
- use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so \
-
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
-}
-pkg_postinst() {
- if use !gnome || use !gstreamer && use !ffmpeg ; then
- ewarn ""
- ewarn "Gnash was built without a media handler and or http handler !"
- ewarn ""
- ewarn "If you want Gnash to support video then you will need to"
- ewarn "rebuild Gnash with either the ffmpeg or gstreamer and gnome use flags set."
- ewarn ""
- fi
- ewarn "${PN} is still in heavy development"
- ewarn "Please first report bugs on upstream gnashdevs and deal with them"
- ewarn "And then report a Gentoo bug to the maintainer"
- use kde && kde4-base_pkg_postinst
-}
diff --git a/www-plugins/gnash/gnash-0.8.9.ebuild b/www-plugins/gnash/gnash-0.8.9.ebuild
deleted file mode 100644
index 4258d231c0ed..000000000000
--- a/www-plugins/gnash/gnash-0.8.9.ebuild
+++ /dev/null
@@ -1,299 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.9.ebuild,v 1.9 2012/05/03 06:08:02 jdhore Exp $
-
-EAPI=3
-CMAKE_REQUIRED="never"
-KDE_REQUIRED="optional"
-AT_M4DIR="cygnal"
-
-inherit autotools eutils kde4-base multilib nsplugins python flag-o-matic
-
-DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features"
-HOMEPAGE="http://www.gnu.org/software/gnash/"
-
-if [[ ${PV} = 9999* ]]; then
- SRC_URI=""
- EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git"
- inherit git-2
-else
- SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.bz2"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="+agg cairo cygnal dbus doc fbcon +ffmpeg gnome gstreamer gtk kde lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi"
-
-# gnash fails if obsolete boost is installed, bug #334259
-RDEPEND=">=dev-libs/boost-1.41.0
- !!dev-libs/boost:0
- dev-libs/expat
- dev-libs/libxml2
- virtual/jpeg
- media-libs/libpng
- net-misc/curl
- x11-libs/libX11
- x11-libs/libXi
- x11-libs/libXmu
- x11-libs/libXt
- media-libs/giflib
- x11-proto/xproto
- agg? ( x11-libs/agg )
- cairo? ( x11-libs/cairo )
- doc? (
- >=app-text/docbook2X-0.8.8
- app-text/docbook-sgml-utils
- )
- fbcon? (
- x11-libs/tslib
- )
- ffmpeg? (
- virtual/ffmpeg[vaapi?]
- )
- gstreamer? (
- media-plugins/gst-plugins-ffmpeg
- media-plugins/gst-plugins-mad
- media-plugins/gst-plugins-meta
- )
- gtk? (
- x11-libs/gtk+:2
- net-libs/xulrunner:1.9
- python? ( dev-python/pygtk:2 )
- )
- kde? ( $(add_kdebase_dep kdebase-startkde) )
- opengl? (
- virtual/opengl
- gtk? ( x11-libs/gtkglext )
- )
- openvg? (
- virtual/opengl
- )
- nsplugin? ( >=net-libs/xulrunner-1.9.2:1.9 )
- sdl? ( media-libs/libsdl[X] )
- sdl-sound? ( media-libs/libsdl )
- media-libs/speex[ogg]
- sys-libs/zlib
- >=sys-devel/libtool-2.2
- mysql? ( virtual/mysql )
- lirc? ( app-misc/lirc )
- dbus? ( sys-apps/dbus )
- ssh? ( >=net-libs/libssh-0.4[server] )
- ssl? ( dev-libs/openssl )
- vaapi? ( x11-libs/libva[opengl?] )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- gnome? ( app-text/rarian )
- test? ( dev-util/dejagnu )"
-# Tests hang with sandbox, bug #321017
-RESTRICT="test"
-
-pkg_setup() {
- if has_version ">=dev-libs/boost-1.46" && has_version "<dev-libs/boost-1.46"; then
- ewarn "If you have multiple versions of boost installed, gnash may attempt to"
- ewarn "compile against the older version and link against newer version, which can"
- ewarn "cause the build to fail. Unmerge of the old version of boost is recommended."
- fi
-
- if use !ffmpeg && use !gstreamer; then
- ewarn "You are trying to build Gnash without choosing a media handler."
- ewarn "Sound and video playback will not work."
- fi
-
- if use vaapi && use !ffmpeg; then
- eerror "Support for VAAPI currently requires the ffmpeg media handler."
- die "vaapi requires the ffmpeg USE flag."
- fi
-
- if use vaapi && use !agg; then
- eerror "Support for VAAPI currently requires the agg renderer."
- die "vaapi requires the agg USE flag."
- fi
-
- if use !agg && use !cairo && use !opengl && !use openvg; then
- eerror "You are trying to build Gnash without choosing a renderer [agg|cairo|opengl|openvg]."
- die "Please enable a renderer"
- fi
-
- if use !fbcon && use !kde && use !gtk && use !sdl; then
- ewarn "You are trying to build Gnash without choosing a gui frontend [fbcon,gtk,kde,sdl]."
- die "Please enable at least one of these USE flags."
- fi
-
- if use python && use !gtk; then
- eerror "Building gnash with python support requires gtk."
- die "python requires the gtk USE flag."
- fi
-
- if use nsplugin && use !gtk; then
- eerror "Building gnash with nsplugin requires the gtk gui."
- die "Nsplugin requires the gtk gui."
- fi
-
- if use fbcon && use !agg; then
- eerror "Building gnash with fbcon requires the agg renderer."
- die "fbcon requires the agg USE flag."
- fi
-
- kde4-base_pkg_setup
-}
-
-src_prepare() {
- # TODO: Patch no longer applies
-# epatch "${FILESDIR}"/${PN}-0.8.7-amf-include.patch
-
- # Look for openvg.h in correct path
- epatch "${FILESDIR}"/${PN}-0.8.9-find-openvg.patch
-
- # Fix paths for klash, bug #339610
- epatch "${FILESDIR}"/${PN}-0.8.9-klash.patch
-
- # Install documentation into the proper directories, bug #296110
- epatch "${FILESDIR}"/${PN}-0.8.9-documentation-paths.patch
-
- # Use external dejagnu for tests, bug #321017
- epatch "${FILESDIR}"/${PN}-0.8.9-external-dejagnu.patch
-
- # Fix detection of recent ffmpeg, bug #362683
- epatch "${FILESDIR}"/${PN}-0.8.9-ffmpeg-detection.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-libavcodec-version.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-look-harder-for-version_h.patch
-
- # Fix building against ffmpeg-0.8, bug #362949, upstream #33696
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-audio-resample.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-decode-audio.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-decode-video.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avcodec-parser.patch
- epatch "${FILESDIR}"/${PN}-0.8.9-no-deprecated-avformat-metadata.patch
-
- # Fix building on ppc64, bug #342535
- use ppc64 && append-flags -mminimal-toc
-
- eautoreconf
-}
-src_configure() {
- local gui hwaccel input media myconf myext renderers
-
- # Set nsplugin install directory.
- use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/"
-
- # Set hardware acceleration.
- if use vaapi; then
- hwaccel="vaapi"
- else
- hwaccel="none"
- fi
-
- # Set rendering engine.
- use agg && renderers+=",agg"
- use cairo && renderers+=",cairo"
- use opengl && renderers+=",opengl"
- use openvg && renderers+=",openvg"
-
- # Set kde and konqueror plugin directories.
- if use kde; then
- myconf="${myconf}
- --with-plugins-install=system
- --with-kde4-incl=${KDEDIR}/include
- --with-kde4-configdir=${KDEDIR}/share/config
- --with-kde4-prefix=${KDEDIR}
- --with-kde4-lib=${KDEDIR}/$(get_libdir)
- --with-kde-appsdatadir=${KDEDIR}/share/apps/klash
- --with-kde4-servicesdir=${KDEDIR}/share/kde4/services"
- fi
-
- # Set media handler.
- use ffmpeg || use gstreamer || media+=",none"
- use ffmpeg && media+=",ffmpeg"
- use gstreamer && media+=",gst"
-
- # Set gui.
- use gtk && gui=",gtk"
- use fbcon && gui="${gui},fb"
- use kde && gui="${gui},kde4"
- use sdl && gui="${gui},sdl"
-
- if use sdl-sound; then
- myconf="${myconf} --enable-sound=sdl"
- else
- myconf="${myconf} --enable-sound=none"
- fi
-
- # Set extensions
- use mysql && myext=",mysql"
- use gtk && myext="${myext},gtk"
- use lirc && myext="${myext},lirc"
- use dbus && myext="${myext},dbus"
-
- # Strip extra comma from gui, myext, hwaccel and renderers.
- gui=$( echo $gui | sed -e 's/,//' )
- hwaccel=$( echo $hwaccel | sed -e 's/,//' )
- myext=$( echo $myext | sed -e 's/,//' )
- renderers=$( echo $renderers | sed -e 's/,//' )
- media=$( echo $media | sed -e 's/,//' )
-
- econf \
- --docdir=/usr/share/doc/${PF} \
- --disable-dependency-tracking \
- --disable-kparts3 \
- $(use_enable cygnal) \
- $(use_enable cygnal cgibins) \
- $(use_enable doc docbook) \
- $(use_enable gnome ghelp) \
- $(use_enable kde kparts4) \
- $(use_enable lirc) \
- $(use_enable nls) \
- $(use_enable nsplugin npapi) \
- $(use_enable python) \
- $(use_enable ssh) \
- $(use_enable ssl) \
- $(use_enable test testsuite) \
- --enable-gui=${gui} \
- --enable-extensions=${myext} \
- --enable-renderer=${renderers} \
- --enable-hwaccel=${hwaccel} \
- --enable-media=${media} \
- ${myconf}
-}
-src_test() {
- local log=testsuite-results.txt
- cd testsuite
- emake check || die "make check failed"
- ./anaylse-results.sh > $log || die "results analyze failed"
- cat $log
-}
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install nsplugin in directory set by --with-npapi-plugindir.
- if use nsplugin; then
- emake DESTDIR="${D}" install-plugin || die "install plugins failed"
- fi
-
- # Install kde konqueror plugin.
- if use kde; then
- pushd "${S}/plugin/klash4" >& /dev/null || die
- emake DESTDIR="${D}" install-plugin || die "install kde plugins failed"
- popd >& /dev/null
- fi
- # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory.
- use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so \
-
- dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
-}
-pkg_postinst() {
- if use !gnome || use !gstreamer && use !ffmpeg ; then
- ewarn ""
- ewarn "Gnash was built without a media handler and or http handler !"
- ewarn ""
- ewarn "If you want Gnash to support video then you will need to"
- ewarn "rebuild Gnash with either the ffmpeg or gstreamer and gnome use flags set."
- ewarn ""
- fi
- ewarn "${PN} is still in heavy development"
- ewarn "Please first report bugs on upstream gnashdevs and deal with them"
- ewarn "And then report a Gentoo bug to the maintainer"
- use kde && kde4-base_pkg_postinst
-}