Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, media-video/2mandvd/, media-video/2mandvd/files/
Date: Wed, 07 Feb 2018 23:45:24
Message-Id: 1518047105.fca5cd69350f3bda4802f1d348091c42bca5860a.asturm@gentoo
1 commit: fca5cd69350f3bda4802f1d348091c42bca5860a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 31 20:52:33 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 23:45:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca5cd69
7
8 profiles: Remove last-rited media-video/2mandvd
9
10 Closes: https://bugs.gentoo.org/643976
11
12 media-video/2mandvd/2mandvd-1.8.5.ebuild | 67 ----------------------
13 media-video/2mandvd/Manifest | 1 -
14 .../2mandvd/files/2mandvd-1.7.3-libav.patch | 10 ----
15 .../2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch | 32 -----------
16 media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch | 21 -------
17 .../files/2mandvd-1.8.5-libavformat54.patch | 27 ---------
18 media-video/2mandvd/metadata.xml | 15 -----
19 profiles/package.mask | 5 --
20 8 files changed, 178 deletions(-)
21
22 diff --git a/media-video/2mandvd/2mandvd-1.8.5.ebuild b/media-video/2mandvd/2mandvd-1.8.5.ebuild
23 deleted file mode 100644
24 index f272c5b4e87..00000000000
25 --- a/media-video/2mandvd/2mandvd-1.8.5.ebuild
26 +++ /dev/null
27 @@ -1,67 +0,0 @@
28 -# Copyright 1999-2016 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -
31 -EAPI=5
32 -LANGS="cs de en it ru"
33 -
34 -inherit qt4-r2
35 -
36 -MY_PN="2ManDVD"
37 -
38 -DESCRIPTION="The successor of ManDVD"
39 -HOMEPAGE="http://kde-apps.org/content/show.php?content=99450"
40 -SRC_URI="http://download.tuxfamily.org/${PN}/${MY_PN}-${PV}.tar.gz"
41 -
42 -LICENSE="GPL-2+"
43 -SLOT="0"
44 -KEYWORDS="amd64 x86"
45 -IUSE="debug libav"
46 -
47 -DEPEND="libav? ( media-video/libav:= )
48 - !libav? ( media-video/ffmpeg:0= )
49 - media-libs/libsdl
50 - virtual/glu
51 - virtual/opengl
52 - dev-qt/qtcore:4
53 - dev-qt/qtgui:4
54 - dev-qt/qtopengl:4
55 -"
56 -RDEPEND="${DEPEND}
57 - || ( app-cdr/cdrkit app-cdr/cdrtools )
58 - dev-lang/perl
59 - media-fonts/dejavu
60 - media-gfx/exif
61 - media-libs/netpbm
62 - media-sound/sox
63 - media-video/dvdauthor
64 - media-video/ffmpegthumbnailer
65 - media-video/mjpegtools
66 - media-video/mplayer[encode]
67 -"
68 -
69 -S=${WORKDIR}/${MY_PN}
70 -
71 -PATCHES=(
72 - "${FILESDIR}/${PN}-1.7.3-libav.patch"
73 - "${FILESDIR}/${PN}-1.8.5-libavformat54.patch"
74 - "${FILESDIR}/${PN}-1.8.5-gcc6.patch"
75 - "${FILESDIR}/${PN}-1.8.5-ffmpeg3.patch"
76 -)
77 -
78 -src_prepare() {
79 - # Clean backup files
80 - find . -name "*~" -delete || die
81 -
82 - # Delete useless chmod that violates the sandbox
83 - sed -i -e '/chmod/d' ${MY_PN}.pro || die
84 -
85 - # Fix desktop file
86 - sed -i -e '/^Categories=/s/GNOME;AudioVideo;//' ${MY_PN}.desktop || die
87 -
88 - qt4-r2_src_prepare
89 -}
90 -
91 -pkg_postinst() {
92 - elog "You may wish to install media-video/xine-ui and/or build"
93 - elog "media-sound/sox with USE=mad for improved media handling support."
94 -}
95
96 diff --git a/media-video/2mandvd/Manifest b/media-video/2mandvd/Manifest
97 deleted file mode 100644
98 index fa29706110a..00000000000
99 --- a/media-video/2mandvd/Manifest
100 +++ /dev/null
101 @@ -1 +0,0 @@
102 -DIST 2ManDVD-1.8.5.tar.gz 29525071 BLAKE2B 7d1a4f8942fe29e29703ea9a13953f587cd482945676ee85dd8643291c3c680e280b12dbd7fe9eabecf2883251ce4ebede6a66154859ae5f65f7b83d8bbb642f SHA512 1e43034cab310ce0a642afdfcb2b4ddbc47b16b0f353adebd1fd2ec5f8445add41226390c6656e7cb520d9900e1b482adee7adb6f784d2fbfbaff2334feb3284
103
104 diff --git a/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch b/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch
105 deleted file mode 100644
106 index 59dfd1e33a1..00000000000
107 --- a/media-video/2mandvd/files/2mandvd-1.7.3-libav.patch
108 +++ /dev/null
109 @@ -1,10 +0,0 @@
110 ---- videowrapper.h
111 -+++ videowrapper.h
112 -@@ -11,6 +11,7 @@
113 - #include <libavutil/common.h>
114 - #include <libavcodec/avcodec.h>
115 - #include <libavformat/avformat.h>
116 -+ #include <libavutil/mathematics.h>
117 - #include <libswscale/swscale.h>
118 - }
119 -
120
121 diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch b/media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch
122 deleted file mode 100644
123 index 29ffc95ffa8..00000000000
124 --- a/media-video/2mandvd/files/2mandvd-1.8.5-ffmpeg3.patch
125 +++ /dev/null
126 @@ -1,32 +0,0 @@
127 -Index: 2ManDVD/videowrapper.cpp
128 -===================================================================
129 ---- 2ManDVD.orig/videowrapper.cpp
130 -+++ 2ManDVD/videowrapper.cpp
131 -@@ -99,11 +99,11 @@ int videowrapper::load_video(QString fil
132 -
133 - img_convert_ctx = sws_getContext(pCodecCtx->width,
134 - pCodecCtx->height, pCodecCtx->pix_fmt, pCodecCtx->width,
135 -- pCodecCtx->height, PIX_FMT_RGB24, SWS_BICUBIC, NULL,
136 -+ pCodecCtx->height, AV_PIX_FMT_RGB24, SWS_BICUBIC, NULL,
137 - NULL, NULL);
138 -
139 - // *** ON DETERMINE LA TAILLE DU BUFFER ***
140 -- numBytes=avpicture_get_size(PIX_FMT_RGB24, pCodecCtx->width,
141 -+ numBytes=avpicture_get_size(AV_PIX_FMT_RGB24, pCodecCtx->width,
142 - pCodecCtx->height);
143 - buffer=(uint8_t *)av_malloc(numBytes*sizeof(uint8_t));
144 - old_frame = -1;
145 -@@ -120,10 +120,10 @@ QImage videowrapper::read_frame(int64_t
146 - if ( num_frame != old_frame )
147 - {
148 - // *** ALLOCATE VIDEO FRAME ***
149 -- pFrameRGB=avcodec_alloc_frame();
150 -- pFrame=avcodec_alloc_frame();
151 -+ pFrameRGB=av_frame_alloc();
152 -+ pFrame=av_frame_alloc();
153 -
154 -- avpicture_fill((AVPicture *)pFrameRGB, buffer, PIX_FMT_RGB24,
155 -+ avpicture_fill((AVPicture *)pFrameRGB, buffer, AV_PIX_FMT_RGB24,
156 - pCodecCtx->width, pCodecCtx->height);
157 - av_seek_frame(pFormatCtx,videoStream,0, AVSEEK_FLAG_FRAME);
158 - compte_frame = -1;
159
160 diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch b/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch
161 deleted file mode 100644
162 index 5a16d95ef17..00000000000
163 --- a/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch
164 +++ /dev/null
165 @@ -1,21 +0,0 @@
166 -Index: 2ManDVD/tetrahedron.h
167 -===================================================================
168 ---- 2ManDVD.orig/tetrahedron.h
169 -+++ 2ManDVD/tetrahedron.h
170 -@@ -83,7 +83,6 @@ public:
171 - float scale_factor;
172 - float wg_x;
173 - float wdecal;
174 -- GLfloat light_position[];
175 -
176 - GLfloat anag_x;
177 - GLfloat anag_y;
178 -@@ -427,6 +426,8 @@ private:
179 - void dropEvent(QDropEvent *);
180 - void dragEnterEvent(QDragEnterEvent *);
181 - Qt::DropActions supportedDropActions () const;
182 -+public:
183 -+ GLfloat light_position[];
184 - };
185 -
186 - #endif
187
188 diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch b/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch
189 deleted file mode 100644
190 index 89ecc4d23c6..00000000000
191 --- a/media-video/2mandvd/files/2mandvd-1.8.5-libavformat54.patch
192 +++ /dev/null
193 @@ -1,27 +0,0 @@
194 -diff --git a/videowrapper.cpp b/videowrapper.cpp
195 -index 7ae4ad3..d50599b 100644
196 ---- a/videowrapper.cpp
197 -+++ b/videowrapper.cpp
198 -@@ -38,7 +38,7 @@ void videowrapper::delete_videowrapper()
199 - int videowrapper::load_video(QString filename)
200 - {
201 - // *** OUVERTURE DU FICHIER VIDEO ***
202 -- #ifdef avformat_open_input
203 -+ #if LIBAVFORMAT_VERSION_INT > AV_VERSION_INT(53,5,0)
204 - if (avformat_open_input(&pFormatCtx,filename.toAscii().data(),NULL,NULL)!=0)
205 - {
206 - #else
207 -@@ -91,13 +91,8 @@ int videowrapper::load_video(QString filename)
208 -
209 - // *** OUVERTURE DU CODEC ***
210 -
211 -- #ifdef av_find_stream_info
212 -- if(avcodec_open(pCodecCtx, pCodec)<0)
213 -- {
214 -- #else
215 - if (avcodec_open2(pCodecCtx, pCodec, NULL) < 0)
216 - {
217 -- #endif
218 - qDebug() << "CAN'T FIND VIDEO CODEC";
219 - return 1;
220 - }
221
222 diff --git a/media-video/2mandvd/metadata.xml b/media-video/2mandvd/metadata.xml
223 deleted file mode 100644
224 index 21d7a225440..00000000000
225 --- a/media-video/2mandvd/metadata.xml
226 +++ /dev/null
227 @@ -1,15 +0,0 @@
228 -<?xml version="1.0" encoding="UTF-8"?>
229 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
230 -<pkgmetadata>
231 -<maintainer type="project">
232 - <email>qt@g.o</email>
233 - <name>Gentoo Qt Project</name>
234 -</maintainer>
235 -<use>
236 - <flag name="linguas_cs">Czech locale</flag>
237 - <flag name="linguas_de">German locale</flag>
238 - <flag name="linguas_en">English locale</flag>
239 - <flag name="linguas_it">Italian locale</flag>
240 - <flag name="linguas_ru">Russian locale</flag>
241 -</use>
242 -</pkgmetadata>
243
244 diff --git a/profiles/package.mask b/profiles/package.mask
245 index c817a7a7f85..8d03fa40390 100644
246 --- a/profiles/package.mask
247 +++ b/profiles/package.mask
248 @@ -324,11 +324,6 @@ dev-libs/libFuzzer
249 # testing has been conducted.
250 =sys-apps/acl-2.2.52-r2
251
252 -# Andreas Sturmlechner <asturm@g.o> (09 Jan 2018)
253 -# Dead upstream, depends on dead Qt4.
254 -# Bug #643976. Masked for removal in 30 days.
255 -media-video/2mandvd
256 -
257 # Alice Ferrazzi <alicef@g.o> (05 Jan 2018)
258 # kernel: Meltdown and Spectre - Processor flaw. (#643228)
259 # Please upgrade for Intel processor flaw workaround