aboutsummaryrefslogtreecommitdiff
path: root/www-plugins
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:37 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:37 +0000
commitb617374df9d9e5025ea543a32553b08f3eb8448c (patch)
tree227d9f5bd0a2f49535ca745a2634d4dbec380c81 /www-plugins
parentf416a9711a1f2716f2641427b2162da0840b0d25 (diff)
downloadyoubroketheinternet-overlay-b617374df9d9e5025ea543a32553b08f3eb8448c.tar.gz
youbroketheinternet-overlay-b617374df9d9e5025ea543a32553b08f3eb8448c.zip
gnash no longer up2d8
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/gnash/Manifest8
-rw-r--r--www-plugins/gnash/files/gnash-0.8.10-amf-include.patch45
-rw-r--r--www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch24
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch12
-rw-r--r--www-plugins/gnash/files/gnash-0.8.9-klash.patch12
-rw-r--r--www-plugins/gnash/gnash-0.8.10_p20160329-r667.ebuild259
-rw-r--r--www-plugins/gnash/metadata.xml17
8 files changed, 0 insertions, 401 deletions
diff --git a/www-plugins/gnash/Manifest b/www-plugins/gnash/Manifest
deleted file mode 100644
index 60e4956..0000000
--- a/www-plugins/gnash/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
1AUX gnash-0.8.10-amf-include.patch 1245 BLAKE2B f73c74329ae848e6dc1674d58179d5c04cb30dd7b4dcfe30b0e09ed350ad2ceabc7d5b1fde2866fc691f558cbe277bde3f594b6b5e11609b404998312a8b3d49 SHA512 46c2b9d4a57a1180626760ebcdbcbdc10c01fba4e01d8c45378ad26da3bf1181daaa54a2c88419452b6e691467c1ccb77374d8e926776b5f1b93ee2baa875986
2AUX gnash-0.8.10_p20150316-boost-1.60.patch 746 BLAKE2B cdb98c9424940aa5b2596bd94f037708211323f2fa1d371ba923d12f1279644e517bd4eccaa42528b13e452e915b8ebd7e6f032e8add1be7590a76e9a02f7599 SHA512 302946a47710978471837a8ddacd4be0eaf116cd6d1389f98155a939df774d61557eaafcec473cfdb37c06439b6f7cc5de8a5494fb880aa62669df5d951feb5d
3AUX gnash-0.8.9-external-dejagnu.patch 700 BLAKE2B c01f515259aa96076cf47f0f3a5553b405dae0ce997dc50310207189fc3aacd89a6f3158bb8ec47ff6a30072d872884f159c7e3c35176929639bb0222775887a SHA512 1b6714e0d44d3d43dcef53622cb6a8c153a1e336a99ef5ee13de1a092e54dc1b1c346e4468e9ea66035762195bd45b84dd185370bb726427472e5b5d6b470556
4AUX gnash-0.8.9-kde4-libdir.patch 498 BLAKE2B ae7d071ef8026e134415481b613c343fea78e038ba7568a6b05e319eaf7c02ec6a20502a7486e560beec30f05d50716ec468456f5a0fd5b88c94c64f71bc5c1a SHA512 df1a6faf5b3cae8a519b590ee3e26009b5a194a01f5dacc5b1862751118d1172f0babf85f7641d6b8e898d5013b6c11002c593df589c57312d842930ab964341
5AUX gnash-0.8.9-klash.patch 471 BLAKE2B 0006bfe83a78dd923766972b44138ceea36befaaf5e9b09560e2a06b0d902791a8d7645e32d357196264fc126c34d448585672647cf800085e07a48138fd5980 SHA512 4a57310522ac2323eee26bb027432b12606d91add6d528b31afd69e172c73aa9f80bafc7c0a84fed4214773f901b65ddea4a7de67865f82a2984ac1dfe274c4d
6DIST gnash-0.8.10_p20160329.tar.xz 4079572 BLAKE2B 4d5f4799add9d2e00a9b9322dc48be0b8b3c9f790dc5881d9fba6e4d9646537786f7644d3dbbf3bd259d1975062438af071eb2ab28c661de2b5510368c9d218e SHA512 e8956d6277dde29a22bfe5af4279b40f80dad5659961d042e0bb57505b084f3ef1b489cf6fdf06730a8f3e2f9fdb737d7b1bc015a0255a80b167b98e686aa245
7EBUILD gnash-0.8.10_p20160329-r667.ebuild 6514 BLAKE2B 1e9d5c14c5460a8416d820eed3c8c2562e6807a27c2f0c37427b96ddab12bddf8433ca0dfe833852946a6ceed3650dc16fc135a5cf1e7abf265365b8e805fea0 SHA512 a0d6a953779154e042a2e2480038ba32c9de4177e1837b16f616dd05766a483142ba4e19f867f1caaaf3b5950e0591d3af19f83d671bee196ac3c565be3012af
8MISC metadata.xml 1086 BLAKE2B d00c9a09b846c88412200030a6744cc2a0fad5cbbeabf054ef3fac4e658061355a2133b4ef374904d4553d8cd3cce9ae806da4d1e3dd2b0e4161f39db912cea4 SHA512 819c7c00ab2ed21cb5826f534fe8cc51394d41a67e038f9f0ca707061494af1954a242b8cf9f67c3952d20dc4f8eff47b759d8b8e197e0207e617c20786f6c73
diff --git a/www-plugins/gnash/files/gnash-0.8.10-amf-include.patch b/www-plugins/gnash/files/gnash-0.8.10-amf-include.patch
deleted file mode 100644
index 983fa6b..0000000
--- a/www-plugins/gnash/files/gnash-0.8.10-amf-include.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1diff -ur a/cygnal/libnet/cque.h b/cygnal/libnet/cque.h
2--- a/cygnal/libnet/cque.h 2012-01-19 20:17:47.000000000 +0100
3+++ b/cygnal/libnet/cque.h 2012-02-23 20:13:39.000000000 +0100
4@@ -25,8 +25,9 @@
5 #include <boost/thread/condition.hpp>
6 #include <deque>
7
8+#include "../libamf/amf.h"
9 #include "getclocktime.hpp"
10-#include "buffer.h"
11+#include "../libamf/buffer.h"
12 #include "network.h"
13 #include "dsodefs.h" //For DSOEXPORT.
14
15diff -ur a/cygnal/libnet/sshclient.h b/cygnal/libnet/sshclient.h
16--- a/cygnal/libnet/sshclient.h 2012-01-19 20:17:47.000000000 +0100
17+++ b/cygnal/libnet/sshclient.h 2012-02-23 20:13:09.000000000 +0100
18@@ -32,9 +32,10 @@
19 #include <libssh/sftp.h>
20 }
21
22+#include "../libamf/amf.h"
23 #include "cque.h"
24 #include "network.h"
25-#include "buffer.h"
26+#include "../libamf/buffer.h"
27
28 namespace gnash
29 {
30diff -ur a/cygnal/libnet/sslclient.h b/cygnal/libnet/sslclient.h
31--- a/cygnal/libnet/sslclient.h 2012-01-19 20:17:47.000000000 +0100
32+++ b/cygnal/libnet/sslclient.h 2012-02-23 20:13:21.000000000 +0100
33@@ -36,10 +36,11 @@
34 #include <openssl/err.h>
35 #endif
36
37+#include "../libamf/amf.h"
38 #include "dsodefs.h"
39 #include "cque.h"
40 #include "network.h"
41-#include "buffer.h"
42+#include "../libamf/buffer.h"
43
44
45 namespace gnash
diff --git a/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch b/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch
deleted file mode 100644
index 6671d36..0000000
--- a/www-plugins/gnash/files/gnash-0.8.10_p20150316-boost-1.60.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1diff --git i/libbase/accumulator.h w/libbase/accumulator.h
2index 694cbd2..876c669 100644
3--- i/libbase/accumulator.h
4+++ w/libbase/accumulator.h
5@@ -22,6 +22,7 @@
6
7 #include <boost/program_options/value_semantic.hpp>
8 #include <boost/any.hpp>
9+#include <boost/version.hpp>
10 #include <functional>
11 #include <vector>
12 #include <string>
13@@ -61,6 +62,11 @@ public:
14 virtual unsigned min_tokens() const { return 0; }
15 virtual unsigned max_tokens() const { return 0; }
16
17+#if BOOST_VERSION >= 105900
18+ /// There are no tokens, so this is indifferent.
19+ virtual bool adjacent_tokens_only() const { return false; }
20+#endif
21+
22 /// Accumulating from different sources is silly.
23 virtual bool is_composing() const { return false; }
24
diff --git a/www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch b/www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch
deleted file mode 100644
index eaffda7..0000000
--- a/www-plugins/gnash/files/gnash-0.8.9-external-dejagnu.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1diff -ur a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
2--- a/plugin/npapi/test.cpp 2011-03-13 17:47:36.000000000 +0100
3+++ b/plugin/npapi/test.cpp 2011-03-20 23:52:20.369998096 +0100
4@@ -35,7 +35,7 @@
5 #include "npfunctions.h"
6 #endif
7 #include "pluginbase.h"
8-#include "dejagnu.h"
9+#include <dejagnu.h>
10 #include "../../testsuite/check.h"
11 #include <regex.h>
12
13diff -ur a/testsuite/check.h b/testsuite/check.h
14--- a/testsuite/check.h 2011-02-26 19:11:08.000000000 +0100
15+++ b/testsuite/check.h 2011-03-20 23:52:32.570998094 +0100
16@@ -29,7 +29,7 @@
17
18 #define HAVE_DEJAGNU_H 1 // we ship our own now...
19 #ifdef HAVE_DEJAGNU_H
20-#include "dejagnu.h"
21+#include <dejagnu.h>
22
23 #define info(x) note x
24
diff --git a/www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch b/www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch
deleted file mode 100644
index b327944..0000000
--- a/www-plugins/gnash/files/gnash-0.8.9-kde4-libdir.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -ur a/macros/kde4.m4 b/macros/kde4.m4
2--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
3+++ b/macros/kde4.m4 2011-11-25 18:09:25.000000000 +0100
4@@ -198,7 +198,7 @@
5 if test -d ${KDE4_PREFIX}/lib64 -a -f /etc/redhat-release; then
6 KDE4_PLUGINDIR="${KDE4_PREFIX}/lib64/kde4"
7 else
8- KDE4_PLUGINDIR="${KDE4_PREFIX}/lib/kde4"
9+ KDE4_PLUGINDIR="${KDE4_PREFIX}/${acl_libdirstem}/kde4"
10 fi
11 fi
12 if test x"${with_kde4_servicesdir}" != x ; then
diff --git a/www-plugins/gnash/files/gnash-0.8.9-klash.patch b/www-plugins/gnash/files/gnash-0.8.9-klash.patch
deleted file mode 100644
index e6afec0..0000000
--- a/www-plugins/gnash/files/gnash-0.8.9-klash.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -ur a/macros/kde4.m4 b/macros/kde4.m4
2--- a/macros/kde4.m4 2011-02-26 19:11:08.000000000 +0100
3+++ b/macros/kde4.m4 2011-03-21 00:04:38.845997945 +0100
4@@ -210,7 +210,7 @@
5 KDE4_CONFIGDIR="${KDE4_PREFIX}/share/kde4/config"
6 fi
7 if test x"${KDE4_APPSDATADIR}" = x ; then
8- KDE4_APPSDATADIR="${KDE4_PREFIX}/share/kde4/apps/klash"
9+ KDE4_APPSDATADIR="${KDE4_PREFIX}/share/apps/klash"
10 fi
11
12 if test x"${ac_cv_path_kde4_incl}" != x ; then
diff --git a/www-plugins/gnash/gnash-0.8.10_p20160329-r667.ebuild b/www-plugins/gnash/gnash-0.8.10_p20160329-r667.ebuild
deleted file mode 100644
index b1bef02..0000000
--- a/www-plugins/gnash/gnash-0.8.10_p20160329-r667.ebuild
+++ /dev/null
@@ -1,259 +0,0 @@
1# Copyright 1999-2018 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=6
5AT_M4DIR="cygnal"
6# won't build with python-3, bug #392969
7PYTHON_COMPAT=( python2_7 )
8
9inherit autotools eutils multilib nsplugins python-any-r1 flag-o-matic xdg-utils
10
11DESCRIPTION="GNU Flash movie player that supports many SWF v7,8,9 features"
12HOMEPAGE="https://www.gnu.org/software/gnash/"
13
14if [[ ${PV} = 9999* ]]; then
15 SRC_URI=""
16 EGIT_REPO_URI="git://git.savannah.gnu.org/gnash.git"
17 inherit git-r3
18else
19# Release tarball is b0rked, upstream #35612
20 SRC_URI="mirror://gnu/${PN}/${PV}/${P}.tar.gz"
21 SRC_URI="mirror://gentoo/${P}.tar.xz"
22fi
23
24LICENSE="GPL-3"
25SLOT="0"
26KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
27IUSE="X +agg cairo cygnal dbus directfb doc dump egl fbcon +ffmpeg libav libressl gnome gtk harden jemalloc lirc mysql +nls nsplugin opengl openvg python sdl +sdl-sound ssh ssl test vaapi"
28REQUIRED_USE="
29 dump? ( agg ffmpeg )
30 fbcon? ( agg )
31 nsplugin? ( gtk )
32 openvg? ( egl )
33 python? ( gtk )
34 vaapi? ( agg ffmpeg )
35 || ( agg cairo opengl openvg )
36 || ( dump fbcon gtk sdl )
37"
38
39RDEPEND=">=dev-libs/boost-1.41.0
40 dev-libs/expat
41 dev-libs/libxml2:2
42 virtual/jpeg:0
43 media-libs/libpng:0=
44 net-misc/curl
45 x11-libs/libX11
46 x11-libs/libXi
47 x11-libs/libXmu
48 x11-libs/libXt
49 media-libs/giflib:=
50 agg? ( x11-libs/agg )
51 cairo? ( x11-libs/cairo )
52 directfb? (
53 dev-libs/DirectFB
54 )
55 doc? (
56 >=app-text/docbook2X-0.8.8
57 app-text/docbook-sgml-utils
58 )
59 egl? (
60 media-libs/mesa[egl]
61 )
62 fbcon? (
63 x11-libs/tslib
64 )
65 ffmpeg? (
66 libav? ( media-video/libav:0=[vaapi?] )
67 !libav? ( media-video/ffmpeg:0=[vaapi?] )
68 )
69 gtk? (
70 x11-libs/gtk+:2
71 python? ( dev-python/pygtk:2 )
72 )
73 jemalloc? ( dev-libs/jemalloc )
74 opengl? (
75 virtual/glu
76 virtual/opengl
77 gtk? ( x11-libs/gtkglext )
78 )
79 openvg? (
80 media-libs/mesa[openvg]
81 )
82 sdl? ( media-libs/libsdl[X] )
83 sdl-sound? ( media-libs/libsdl )
84 >=media-libs/speex-1.2.0
85 media-libs/speexdsp
86 sys-libs/zlib
87 >=sys-devel/libtool-2.2
88 mysql? ( virtual/mysql )
89 lirc? ( app-misc/lirc )
90 dbus? ( sys-apps/dbus )
91 ssh? ( >=net-libs/libssh-0.4[server] )
92 ssl? (
93 libressl? ( dev-libs/libressl:0= )
94 !libressl? ( dev-libs/openssl:0= )
95 )
96 vaapi? ( x11-libs/libva[opengl?] )
97 "
98DEPEND="${RDEPEND}
99 virtual/pkgconfig
100 nls? ( sys-devel/gettext )
101 gnome? ( app-text/rarian )
102 nsplugin? ( net-misc/npapi-sdk )
103 test? ( dev-util/dejagnu )
104 ${PYTHON_DEPS}
105"
106# Tests hang with sandbox, bug #321017
107RESTRICT="test"
108
109pkg_setup() {
110 python-any-r1_pkg_setup
111
112 if use !ffmpeg; then
113 ewarn "You are trying to build Gnash without choosing a media handler."
114 ewarn "Sound and video playback will not work."
115 fi
116}
117
118src_unpack() {
119 default
120 # rename git snapshot directory to what portage expects
121 mv ${PN}-*/ ${P} || die
122}
123
124src_prepare() {
125 default
126
127 xdg_environment_reset # 591014
128
129 # Fix paths for klash, bug #339610
130 eapply "${FILESDIR}"/${PN}-0.8.9-klash.patch
131
132 # Use external dejagnu for tests, bug #321017
133 eapply "${FILESDIR}"/${PN}-0.8.9-external-dejagnu.patch
134
135 # Fix building on ppc64, bug #342535
136 use ppc64 && append-flags -mminimal-toc
137
138 # Fix kde multilib library path, bug #391283
139 eapply "${FILESDIR}"/${PN}-0.8.9-kde4-libdir.patch
140
141 # Fix libamf includes
142 eapply "${FILESDIR}"/${PN}-0.8.10-amf-include.patch
143
144 # Fix new adjacent_tokens_only() in >=boost-1.59 (bug 579142)
145 # See https://savannah.gnu.org/bugs/?46148
146 eapply "${FILESDIR}"/${PN}-0.8.10_p20150316-boost-1.60.patch
147
148 eautoreconf
149}
150src_configure() {
151 local device gui input media myconf myext renderers
152
153 # Set nsplugin install directory.
154 use nsplugin && myconf="${myconf} --with-npapi-plugindir=/usr/$(get_libdir)/gnash/npapi/"
155
156 # Set hardware acceleration.
157 use X && device+=",x11"
158 use directfb && device+=",directfb"
159 use egl && device+=",egl"
160 use fbcon && device+=",rawfb"
161 use vaapi && device+=",vaapi"
162 [[ "${device}x" == "x" ]] && device+=",none"
163
164 # Set rendering engine.
165 use agg && renderers+=",agg"
166 use cairo && renderers+=",cairo"
167 use opengl && renderers+=",opengl"
168 use openvg && renderers+=",openvg"
169
170 # Set media handler.
171 use ffmpeg || media+=",none"
172 use ffmpeg && media+=",ffmpeg"
173
174 # Set gui.
175 use dump && gui+=",dump"
176 use fbcon && gui+=",fb"
177 use gtk && gui+=",gtk"
178 use sdl && gui+=",sdl"
179
180 if use sdl-sound; then
181 myconf="${myconf} --enable-sound=sdl"
182 else
183 myconf="${myconf} --enable-sound=none"
184 fi
185
186 # Set extensions
187 use mysql && myext=",mysql"
188 use gtk && myext="${myext},gtk"
189 use lirc && myext="${myext},lirc"
190 use dbus && myext="${myext},dbus"
191
192 # Strip extra comma from gui, myext, hwaccel and renderers.
193 device=$( echo $device | sed -e 's/,//' )
194 gui=$( echo $gui | sed -e 's/^,//' )
195 myext=$( echo $myext | sed -e 's/,//' )
196 renderers=$( echo $renderers | sed -e 's/,//' )
197 media=$( echo $media | sed -e 's/,//' )
198
199 econf \
200 --disable-kparts3 \
201 --disable-kparts4 \
202 --without-gconf \
203 $(use_enable cygnal) \
204 $(use_enable cygnal cgibins) \
205 $(use_enable doc docbook) \
206 $(use_enable gnome ghelp) \
207 $(use_enable harden) \
208 $(use_enable jemalloc) \
209 $(use_enable nls) \
210 $(use_enable nsplugin npapi) \
211 $(use_enable python) \
212 $(use_enable ssh) \
213 $(use_enable ssl) \
214 $(use_enable test testsuite) \
215 --enable-gui=${gui} \
216 --enable-device=${device} \
217 --enable-extensions=${myext} \
218 --enable-renderer=${renderers} \
219 --enable-media=${media} \
220 ${myconf}
221}
222src_test() {
223 local log=testsuite-results.txt
224 cd testsuite
225 emake check || die "make check failed"
226 ./anaylse-results.sh > $log || die "results analyze failed"
227 cat $log
228}
229src_install() {
230 emake DESTDIR="${D}" install || die "emake install failed"
231
232 # Install nsplugin in directory set by --with-npapi-plugindir.
233 if use nsplugin; then
234 emake DESTDIR="${D}" install-plugin || die "install plugins failed"
235 fi
236
237 # Create a symlink in /usr/$(get_libdir)/nsbrowser/plugins to the nsplugin install directory.
238 use nsplugin && inst_plugin /usr/$(get_libdir)/gnash/npapi/libgnashplugin.so
239
240 # Remove eglinfo, bug #463654
241 if use egl; then
242 rm -f "${D}"/usr/bin/eglinfo || die
243 fi
244
245 einstalldocs
246}
247pkg_postinst() {
248 if use !gnome || use !ffmpeg ; then
249 ewarn ""
250 ewarn "Gnash was built without a media handler and or http handler !"
251 ewarn ""
252 ewarn "If you want Gnash to support video then you will need to"
253 ewarn "rebuild Gnash with the ffmpeg and gnome use flags set."
254 ewarn ""
255 fi
256 ewarn "${PN} is still in heavy development"
257 ewarn "Please first report bugs on upstream gnashdevs and deal with them"
258 ewarn "And then report a Gentoo bug to the maintainer"
259}
diff --git a/www-plugins/gnash/metadata.xml b/www-plugins/gnash/metadata.xml
deleted file mode 100644
index 7c3def3..0000000
--- a/www-plugins/gnash/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3<pkgmetadata>
4 <use>
5 <flag name="agg">Rendering based on the Anti-Grain Geometry Rendering Engine library</flag>
6 <flag name="cygnal">Enable building of the cygnal server</flag>
7 <flag name="dump">Enable dump output module for creating video from SWF</flag>
8 <flag name="egl">Enable EGL support for the OpenVG, OpenGL and X11 renderers</flag>
9 <flag name="gconf">Enable GConf configuration backend</flag>
10 <flag name="harden">Enable upstream recommended hardening build flags (may conflict with system ones)</flag>
11 <flag name="jemalloc">Use dev-libs/jemalloc for allocations</flag>
12 <flag name="openvg">Rendering based on the OpenVG graphics acceleration API</flag>
13 <flag name="sdl-sound">Enable SDL audio output for the standalone player</flag>
14 <flag name="ssh">Enable using SSH for network authentication in libnet</flag>
15 <flag name="ssl">Enable directly using OpenSSL in libnet (not needed for nsplugin ssl support)</flag>
16 </use>
17</pkgmetadata>