1 |
commit: 200a2c952c82bd44e6ea1342de7c59696931d8c9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 18:34:37 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 18:36:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200a2c95 |
7 |
|
8 |
www-plugins/freshplayerplugin: Remove last-rited package |
9 |
|
10 |
Closes: https://bugs.gentoo.org/694024 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 5 -- |
14 |
www-plugins/freshplayerplugin/Manifest | 1 - |
15 |
.../freshplayerplugin/files/0.3.5-cmake.patch | 70 -------------------- |
16 |
.../freshplayerplugin/files/0.3.9-ioctl.patch | 11 ---- |
17 |
.../files/freshplayerplugin-0.3.9-ffmpeg-4.patch | 74 --------------------- |
18 |
.../freshplayerplugin-0.3.9-r1.ebuild | 77 ---------------------- |
19 |
www-plugins/freshplayerplugin/metadata.xml | 11 ---- |
20 |
7 files changed, 249 deletions(-) |
21 |
|
22 |
diff --git a/profiles/package.mask b/profiles/package.mask |
23 |
index 9428cd48541..fead03099da 100644 |
24 |
--- a/profiles/package.mask |
25 |
+++ b/profiles/package.mask |
26 |
@@ -549,11 +549,6 @@ www-servers/cherokee |
27 |
# Removal in ~30 days. Bug #740868. |
28 |
dev-python/mini-amf |
29 |
|
30 |
-# Andreas Sturmlechner <asturm@g.o> (2020-09-04) |
31 |
-# No maintainer, defunct with modern browsers, bug #694024. |
32 |
-# Masked for removal in 30 days. |
33 |
-www-plugins/freshplayerplugin |
34 |
- |
35 |
# Louis Sautier <sbraz@g.o> (2020-09-04) |
36 |
# Masked for removal in 30 days, no revdeps. Dependency of |
37 |
# previously removed dev-python/flask-bootstrap |
38 |
|
39 |
diff --git a/www-plugins/freshplayerplugin/Manifest b/www-plugins/freshplayerplugin/Manifest |
40 |
deleted file mode 100644 |
41 |
index 1a31abda533..00000000000 |
42 |
--- a/www-plugins/freshplayerplugin/Manifest |
43 |
+++ /dev/null |
44 |
@@ -1 +0,0 @@ |
45 |
-DIST freshplayerplugin-0.3.9.tar.gz 790261 BLAKE2B 88526c01e7a06c7b295e5a7652602eb661097f869b30c8fd0978a4e03adea9d1fa75d35e5e9c0751d786c04f0247fc292aa0c1857cf1fa575eb0b11499bec7fc SHA512 999d7c223dd493e43a0fa7874371c7b781fe5273b2661fc30f814832b4aafd23f297795b644f58553107ef962ca17ce58fb39a637d1ab7bdf470cd33e0b19cf8 |
46 |
|
47 |
diff --git a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch b/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch |
48 |
deleted file mode 100644 |
49 |
index f925dfa31eb..00000000000 |
50 |
--- a/www-plugins/freshplayerplugin/files/0.3.5-cmake.patch |
51 |
+++ /dev/null |
52 |
@@ -1,70 +0,0 @@ |
53 |
-diff -uarN a/CMakeLists.txt b/CMakeLists.txt |
54 |
---- a/CMakeLists.txt 2015-04-25 11:17:24.000000000 -0400 |
55 |
-+++ b/CMakeLists.txt 2015-04-26 20:14:43.152014529 -0400 |
56 |
-@@ -61,35 +61,36 @@ |
57 |
- # optional dependencies |
58 |
- message(STATUS "checking for optional dependencies") |
59 |
- |
60 |
--pkg_check_modules(PULSEAUDIO QUIET libpulse) |
61 |
--pkg_check_modules(JACK QUIET jack) |
62 |
--pkg_check_modules(SOXR QUIET soxr) |
63 |
- set(WITH_PULSEAUDIO TRUE CACHE STRING "enable PulseAudio support") |
64 |
- set(WITH_JACK TRUE CACHE STRING "enable JACK Audio Connection Kit") |
65 |
- |
66 |
--if (PULSEAUDIO_FOUND AND WITH_PULSEAUDIO) |
67 |
-+if (WITH_PULSEAUDIO) |
68 |
-+ pkg_check_modules(PULSEAUDIO libpulse) |
69 |
-+ if (NOT PULSEAUDIO_FOUND) |
70 |
-+ message(FATAL_ERROR "PulseAudio requested but not found.") |
71 |
-+ endif() |
72 |
- add_definitions(-DHAVE_PULSEAUDIO=1) |
73 |
-- message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION} (optional)") |
74 |
-+ message(STATUS " found libpulse, version ${PULSEAUDIO_VERSION}") |
75 |
- list(APPEND REQ_LIBRARY_DIRS ${PULSEAUDIO_LIBRARY_DIRS}) |
76 |
- list(APPEND REQ_INCLUDE_DIRS ${PULSEAUDIO_INCLUDE_DIRS}) |
77 |
- list(APPEND REQ_LIBRARIES ${PULSEAUDIO_LIBRARIES}) |
78 |
--else() |
79 |
-- message(STATUS " no libpulse found (optional)") |
80 |
- endif() |
81 |
- |
82 |
--if (JACK_FOUND AND WITH_JACK) |
83 |
-- message(STATUS " found jack, version ${JACK_VERSION} (optional)") |
84 |
-- if (SOXR_FOUND) |
85 |
-- message(STATUS " found soxr, version ${SOXR_VERSION}") |
86 |
-- add_definitions(-DHAVE_JACK=1) |
87 |
-- list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") |
88 |
-- list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") |
89 |
-- list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") |
90 |
-- else() |
91 |
-- message(STATUS " no soxr found, JACK output disabled") |
92 |
-+if (WITH_JACK) |
93 |
-+ pkg_check_modules(JACK QUIET jack) |
94 |
-+ if (NOT JACK_FOUND) |
95 |
-+ message(FATAL_ERROR "JACK support requested but not found.") |
96 |
-+ endif() |
97 |
-+ pkg_check_modules(SOXR QUIET soxr) |
98 |
-+ if (NOT SOXR_FOUND) |
99 |
-+ message(FATAL_ERROR "SOXR libray not found but needed for JACK support.") |
100 |
- endif() |
101 |
--else() |
102 |
-- message(STATUS " no jack found (optional)") |
103 |
-+ message(STATUS " found jack, version ${JACK_VERSION}") |
104 |
-+ message(STATUS " found soxr, version ${SOXR_VERSION}") |
105 |
-+ add_definitions(-DHAVE_JACK=1) |
106 |
-+ list(APPEND REQ_LIBRARY_DIRS "${JACK_LIBRARY_DIRS}" "${SOXR_LIBRARY_DIRS}") |
107 |
-+ list(APPEND REQ_INCLUDE_DIRS "${JACK_INCLUDE_DIRS}" "${SOXR_INCLUDE_DIRS}") |
108 |
-+ list(APPEND REQ_LIBRARIES "${JACK_LIBRARIES}" "${SOXR_LIBRARIES}") |
109 |
- endif() |
110 |
- |
111 |
- list(APPEND REQ_LIBRARIES img-resources) |
112 |
---- a/src/CMakeLists.txt 2015-12-20 08:38:33.000000000 -0500 |
113 |
-+++ b/src/CMakeLists.txt 2015-12-26 20:45:07.000000000 -0500 |
114 |
-@@ -5,7 +5,7 @@ |
115 |
- |
116 |
- set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) |
117 |
- |
118 |
--set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/mozilla/plugins/" CACHE STRING "plugin install directory") |
119 |
-+set(MOZPLUGIN_INSTALL_DIR "lib${LIB_SUFFIX}/nsbrowser/plugins/" CACHE STRING "plugin install directory") |
120 |
- |
121 |
- add_subdirectory(uri_parser) |
122 |
- add_subdirectory(config_parser) |
123 |
|
124 |
diff --git a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch b/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch |
125 |
deleted file mode 100644 |
126 |
index 112b839016f..00000000000 |
127 |
--- a/www-plugins/freshplayerplugin/files/0.3.9-ioctl.patch |
128 |
+++ /dev/null |
129 |
@@ -1,11 +0,0 @@ |
130 |
-diff -aurN a/src/ppb_video_capture.c b/src/ppb_video_capture.c |
131 |
---- a/src/ppb_video_capture.c 2017-12-23 09:34:01.000000000 -0500 |
132 |
-+++ b/src/ppb_video_capture.c 2018-01-10 20:03:05.498415644 -0500 |
133 |
-@@ -75,6 +75,7 @@ |
134 |
- |
135 |
- #if !HAVE_LIBV4L2 |
136 |
- // define simple wrappers, if libv4l2 is not used |
137 |
-+#include <sys/ioctl.h> |
138 |
- static |
139 |
- ssize_t |
140 |
- v4l2_read(int fd, void *buffer, size_t n) |
141 |
|
142 |
diff --git a/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch b/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch |
143 |
deleted file mode 100644 |
144 |
index 15d713bc4e9..00000000000 |
145 |
--- a/www-plugins/freshplayerplugin/files/freshplayerplugin-0.3.9-ffmpeg-4.patch |
146 |
+++ /dev/null |
147 |
@@ -1,74 +0,0 @@ |
148 |
-From 934aa9c24d34f8203744b56e4ac6e8599446ca02 Mon Sep 17 00:00:00 2001 |
149 |
-From: Rinat Ibragimov <ibragimovrinat@××××.ru> |
150 |
-Date: Tue, 26 Dec 2017 16:16:39 +0300 |
151 |
-Subject: [PATCH] ppb_video_decoder: use AV_ prefixed macros |
152 |
- |
153 |
-Looks like newer FFmpeg versions have droped old definitions. |
154 |
---- |
155 |
- cmake/ffmpeg-compat/CMakeLists.txt | 1 + |
156 |
- cmake/ffmpeg-compat/cfg_avcodecflags.c | 4 ++++ |
157 |
- cmake/ffmpeg-compat/ffmpeg_compat.h.in | 1 + |
158 |
- src/ppb_video_decoder.c | 11 ++++++++--- |
159 |
- 4 files changed, 14 insertions(+), 3 deletions(-) |
160 |
- create mode 100644 cmake/ffmpeg-compat/cfg_avcodecflags.c |
161 |
- |
162 |
-diff --git a/cmake/ffmpeg-compat/CMakeLists.txt b/cmake/ffmpeg-compat/CMakeLists.txt |
163 |
-index 732a71ee..8f67c581 100644 |
164 |
---- a/cmake/ffmpeg-compat/CMakeLists.txt |
165 |
-+++ b/cmake/ffmpeg-compat/CMakeLists.txt |
166 |
-@@ -29,6 +29,7 @@ MACRO_C_SOURCE_CHECK(cfg_av_pix_fmt_vdpau.c HAVE_AV_PIX_FMT_VDPAU) |
167 |
- MACRO_C_SOURCE_CHECK(cfg_avcodecid.c HAVE_AVCodecID) |
168 |
- MACRO_C_SOURCE_CHECK(cfg_avcodeccontext_get_buffer2.c HAVE_AVCodecContext_get_buffer2) |
169 |
- MACRO_C_SOURCE_CHECK(cfg_AVVDPAUContext.c HAVE_AVVDPAUContext) |
170 |
-+MACRO_C_SOURCE_CHECK(cfg_avcodecflags.c HAVE_AV_CODEC_FLAGS) |
171 |
- |
172 |
- MACRO_SYMBOL_CHECK(av_frame_alloc "libavcodec/avcodec.h" HAVE_av_frame_alloc) |
173 |
- MACRO_SYMBOL_CHECK(av_frame_free "libavcodec/avcodec.h" HAVE_av_frame_free) |
174 |
-diff --git a/cmake/ffmpeg-compat/cfg_avcodecflags.c b/cmake/ffmpeg-compat/cfg_avcodecflags.c |
175 |
-new file mode 100644 |
176 |
-index 00000000..d04de55b |
177 |
---- /dev/null |
178 |
-+++ b/cmake/ffmpeg-compat/cfg_avcodecflags.c |
179 |
-@@ -0,0 +1,4 @@ |
180 |
-+#include <libavcodec/avcodec.h> |
181 |
-+int main(void) { |
182 |
-+ return AV_CODEC_FLAG_TRUNCATED + AV_CODEC_CAP_TRUNCATED; |
183 |
-+} |
184 |
-diff --git a/cmake/ffmpeg-compat/ffmpeg_compat.h.in b/cmake/ffmpeg-compat/ffmpeg_compat.h.in |
185 |
-index dd40922c..da7834b1 100644 |
186 |
---- a/cmake/ffmpeg-compat/ffmpeg_compat.h.in |
187 |
-+++ b/cmake/ffmpeg-compat/ffmpeg_compat.h.in |
188 |
-@@ -6,3 +6,4 @@ |
189 |
- #define HAVE_av_frame_free (@HAVE_av_frame_free@) |
190 |
- #define HAVE_avcodec_free_context (@HAVE_avcodec_free_context@) |
191 |
- #define HAVE_AVVDPAUContext (@HAVE_AVVDPAUContext@) |
192 |
-+#define HAVE_AV_CODEC_FLAGS (@HAVE_AV_CODEC_FLAGS@) |
193 |
-diff --git a/src/ppb_video_decoder.c b/src/ppb_video_decoder.c |
194 |
-index eb150725..23647cdd 100644 |
195 |
---- a/src/ppb_video_decoder.c |
196 |
-+++ b/src/ppb_video_decoder.c |
197 |
-@@ -70,6 +70,11 @@ |
198 |
- #define AV_CODEC_ID_H264 CODEC_ID_H264 |
199 |
- #endif // !HAVE_AVCodecID |
200 |
- |
201 |
-+#if !HAVE_AV_CODEC_FLAGS |
202 |
-+#define AV_CODEC_CAP_TRUNCATED CODEC_CAP_TRUNCATED |
203 |
-+#define AV_CODEC_FLAG_TRUNCATED CODEC_FLAG_TRUNCATED |
204 |
-+#endif // !HAVE_AV_CODEC_FLAGS |
205 |
-+ |
206 |
- enum hwdec_api_e { |
207 |
- HWDEC_NONE = 0, |
208 |
- HWDEC_VAAPI, |
209 |
-@@ -620,9 +625,9 @@ initialize_decoder(struct pp_video_decoder_s *vd) |
210 |
- goto err; |
211 |
- } |
212 |
- |
213 |
-- if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) { |
214 |
-- trace_info("%s, codec have CODEC_CAP_TRUNCATED\n", __func__); |
215 |
-- vd->avctx->flags |= CODEC_FLAG_TRUNCATED; |
216 |
-+ if (vd->avcodec->capabilities & AV_CODEC_CAP_TRUNCATED) { |
217 |
-+ trace_info("%s, codec have AV_CODEC_CAP_TRUNCATED\n", __func__); |
218 |
-+ vd->avctx->flags |= AV_CODEC_FLAG_TRUNCATED; |
219 |
- } |
220 |
- |
221 |
- vd->avctx->opaque = vd; |
222 |
|
223 |
diff --git a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild b/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild |
224 |
deleted file mode 100644 |
225 |
index 020fa45b2c5..00000000000 |
226 |
--- a/www-plugins/freshplayerplugin/freshplayerplugin-0.3.9-r1.ebuild |
227 |
+++ /dev/null |
228 |
@@ -1,77 +0,0 @@ |
229 |
-# Copyright 1999-2020 Gentoo Authors |
230 |
-# Distributed under the terms of the GNU General Public License v2 |
231 |
- |
232 |
-EAPI=6 |
233 |
- |
234 |
-inherit cmake-utils |
235 |
- |
236 |
-LICENSE="MIT" |
237 |
-HOMEPAGE="https://github.com/i-rinat/freshplayerplugin" |
238 |
-DESCRIPTION="PPAPI-host NPAPI-plugin adapter for flashplayer in npapi based browsers" |
239 |
-SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
240 |
-SLOT=0 |
241 |
-IUSE="gles2-only jack libressl pulseaudio v4l vaapi vdpau" |
242 |
- |
243 |
-KEYWORDS="amd64" |
244 |
- |
245 |
-HWDEC_DEPEND="media-video/ffmpeg:0=[vaapi?,vdpau?] |
246 |
- x11-libs/libvdpau |
247 |
-" |
248 |
- |
249 |
-COMMON_DEPEND=" |
250 |
- dev-libs/glib:2= |
251 |
- dev-libs/icu:0= |
252 |
- dev-libs/libevent:=[threads] |
253 |
- media-libs/alsa-lib:= |
254 |
- media-libs/freetype:2= |
255 |
- media-libs/mesa:=[egl] |
256 |
- gles2-only? ( media-libs/mesa[gles2] ) |
257 |
- x11-libs/cairo:=[X] |
258 |
- x11-libs/libXcursor:= |
259 |
- x11-libs/libXrandr:= |
260 |
- x11-libs/libXrender:= |
261 |
- x11-libs/libdrm:= |
262 |
- x11-libs/libva:= |
263 |
- x11-libs/pango:=[X] |
264 |
- jack? ( |
265 |
- media-sound/jack-audio-connection-kit |
266 |
- media-libs/soxr |
267 |
- ) |
268 |
- pulseaudio? ( media-sound/pulseaudio ) |
269 |
- libressl? ( dev-libs/libressl:0= ) |
270 |
- !libressl? ( dev-libs/openssl:0= ) |
271 |
- v4l? ( media-libs/libv4l:0= ) |
272 |
- vaapi? ( ${HWDEC_DEPEND} ) |
273 |
- vdpau? ( ${HWDEC_DEPEND} ) |
274 |
-" |
275 |
- |
276 |
-DEPEND="${COMMON_DEPEND} |
277 |
- dev-util/ragel |
278 |
- virtual/pkgconfig |
279 |
- " |
280 |
-RDEPEND="${COMMON_DEPEND} |
281 |
- www-plugins/adobe-flash:22[abi_x86_64,ppapi(+)] |
282 |
- " |
283 |
- |
284 |
-PATCHES=( |
285 |
- "${FILESDIR}/0.3.5-cmake.patch" |
286 |
- "${FILESDIR}/0.3.9-ioctl.patch" |
287 |
- "${FILESDIR}/${P}-ffmpeg-4.patch" |
288 |
-) |
289 |
-DOCS=( ChangeLog data/freshwrapper.conf.example README.md ) |
290 |
- |
291 |
-src_configure() { |
292 |
- mycmakeargs=( |
293 |
- -DWITH_JACK=$(usex jack) |
294 |
- -DWITH_PULSEAUDIO=$(usex pulseaudio) |
295 |
- -DWITH_GLES2=$(usex gles2-only) |
296 |
- -DWITH_LIBV4L2=$(usex v4l) |
297 |
- -DCMAKE_SKIP_RPATH=1 |
298 |
- ) |
299 |
- if use vaapi || use vdpau ; then |
300 |
- mycmakeargs+=( -DWITH_HWDEC=1 ) |
301 |
- else |
302 |
- mycmakeargs+=( -DWITH_HWDEC=0 ) |
303 |
- fi |
304 |
- cmake-utils_src_configure |
305 |
-} |
306 |
|
307 |
diff --git a/www-plugins/freshplayerplugin/metadata.xml b/www-plugins/freshplayerplugin/metadata.xml |
308 |
deleted file mode 100644 |
309 |
index 529020d6dc7..00000000000 |
310 |
--- a/www-plugins/freshplayerplugin/metadata.xml |
311 |
+++ /dev/null |
312 |
@@ -1,11 +0,0 @@ |
313 |
-<?xml version="1.0" encoding="UTF-8"?> |
314 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
315 |
-<pkgmetadata> |
316 |
- <!--maintainer-needed--> |
317 |
- <use> |
318 |
- <flag name="v4l">Use libv4l2 for colorspace conversion</flag> |
319 |
- </use> |
320 |
- <upstream> |
321 |
- <remote-id type="github">i-rinat/freshplayerplugin</remote-id> |
322 |
- </upstream> |
323 |
-</pkgmetadata> |