Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/strigi/files/, app-misc/strigi/
Date: Wed, 27 Jul 2016 22:01:23
Message-Id: 1469656862.87842c8c20ef680ee900b8776be1ce413969581b.johu@gentoo
1 commit: 87842c8c20ef680ee900b8776be1ce413969581b
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 27 21:56:25 2016 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 22:01:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87842c8c
7
8 app-misc/strigi: Remote last rited pkg
9
10 Gentoo-bug: 583716
11
12 app-misc/strigi/Manifest | 1 -
13 app-misc/strigi/files/strigi-0.7.8-ffmpeg29.patch | 21 -----
14 app-misc/strigi/files/strigi-0.7.8-gcc-4.8.patch | 11 ---
15 app-misc/strigi/files/strigi-0.7.8-gcc6.patch | 24 ------
16 app-misc/strigi/files/strigi-0.7.8-libav10.patch | 16 ----
17 app-misc/strigi/metadata.xml | 13 ---
18 app-misc/strigi/strigi-0.7.8-r1.ebuild | 100 ----------------------
19 app-misc/strigi/strigi-0.7.8-r2.ebuild | 84 ------------------
20 8 files changed, 270 deletions(-)
21
22 diff --git a/app-misc/strigi/Manifest b/app-misc/strigi/Manifest
23 deleted file mode 100644
24 index 5aaea43..0000000
25 --- a/app-misc/strigi/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST strigi-0.7.8.tar.bz2 810574 SHA256 43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989 SHA512 536f5bd5ed13d87d30c2fa31b6dcb2a883df173e5d60deefe0fdeb843f40f29f7edd0041029dc013bb31a205572087ed95ca661bcdf6d989d9806931716b1043 WHIRLPOOL 6853025cee89811dadb6e7f6309a6a8dfec1863cb75ab8af04a9a21b228b74723de06c4f787342ce7a0d6087303ecc0c4f599c2a3978838675678343d0b84ae4
29
30 diff --git a/app-misc/strigi/files/strigi-0.7.8-ffmpeg29.patch b/app-misc/strigi/files/strigi-0.7.8-ffmpeg29.patch
31 deleted file mode 100644
32 index ec5a6de..0000000
33 --- a/app-misc/strigi/files/strigi-0.7.8-ffmpeg29.patch
34 +++ /dev/null
35 @@ -1,21 +0,0 @@
36 -Index: strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
37 -===================================================================
38 ---- strigi-0.7.8.orig/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
39 -+++ strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
40 -@@ -355,7 +355,7 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
41 - #endif
42 -
43 - if(fc->bit_rate)
44 -- ar.addValue(factory->bitrateProperty, fc->bit_rate);
45 -+ ar.addValue(factory->bitrateProperty, (int)fc->bit_rate);
46 - else if (fc->duration!= no_bitrate && fc->duration > 0) {
47 - cout<<"Trying to estimate bitrate\n";
48 - int64_t size;
49 -@@ -486,7 +486,6 @@ FFMPEGEndAnalyzer::analyze(AnalysisResul
50 - outs << stream.avg_frame_rate.num / stream.avg_frame_rate.den;
51 - ar.addTriplet(streamuri, frameRatePropertyName, outs.str());
52 - }
53 -- if (codec.pix_fmt != PIX_FMT_NONE) {}//FIXME pixel format
54 - }
55 -
56 - }
57
58 diff --git a/app-misc/strigi/files/strigi-0.7.8-gcc-4.8.patch b/app-misc/strigi/files/strigi-0.7.8-gcc-4.8.patch
59 deleted file mode 100644
60 index d2b5142..0000000
61 --- a/app-misc/strigi/files/strigi-0.7.8-gcc-4.8.patch
62 +++ /dev/null
63 @@ -1,11 +0,0 @@
64 ---- a/libstreams/include/strigi/bufferedstream.h
65 -+++ b/libstreams/include/strigi/bufferedstream.h
66 -@@ -34,7 +34,7 @@
67 - * BufferedStream will do the rest.
68 - */
69 - template <class T>
70 --class BufferedStream : public StreamBase<T> {
71 -+class STREAMS_EXPORT BufferedStream : public StreamBase<T> {
72 - private:
73 - StreamBuffer<T> buffer;
74 - bool finishedWritingToBuffer;
75
76 diff --git a/app-misc/strigi/files/strigi-0.7.8-gcc6.patch b/app-misc/strigi/files/strigi-0.7.8-gcc6.patch
77 deleted file mode 100644
78 index b94f97f..0000000
79 --- a/app-misc/strigi/files/strigi-0.7.8-gcc6.patch
80 +++ /dev/null
81 @@ -1,24 +0,0 @@
82 -diff -Naur strigi-0.7.8.old/libstreamanalyzer/cmake/MacroCheckGccVisibility.cmake strigi-0.7.8/libstreamanalyzer/cmake/MacroCheckGccVisibility.cmake
83 ---- strigi-0.7.8.old/libstreamanalyzer/cmake/MacroCheckGccVisibility.cmake 2013-02-05 16:34:52.000000000 -0500
84 -+++ strigi-0.7.8/libstreamanalyzer/cmake/MacroCheckGccVisibility.cmake 2016-05-14 11:39:54.586260564 -0400
85 -@@ -15,7 +15,7 @@
86 - # get the gcc version
87 - exec_program(${CMAKE_C_COMPILER} ARGS ${CMAKE_C_COMPILER_ARG1} --version OUTPUT_VARIABLE _gcc_version_info)
88 -
89 -- string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
90 -+ string (REGEX MATCH "[3456]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
91 - # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the patch level, handle this here:
92 - if (NOT _gcc_version)
93 - string (REGEX REPLACE ".*\\(GCC\\).* ([34]\\.[0-9]) .*" "\\1.0" _gcc_version "${_gcc_version_info}")
94 -diff -Naur strigi-0.7.8.old/libstreams/cmake/MacroCheckGccVisibility.cmake strigi-0.7.8/libstreams/cmake/MacroCheckGccVisibility.cmake
95 ---- strigi-0.7.8.old/libstreams/cmake/MacroCheckGccVisibility.cmake 2013-02-05 16:34:57.000000000 -0500
96 -+++ strigi-0.7.8/libstreams/cmake/MacroCheckGccVisibility.cmake 2016-05-14 11:40:11.340134414 -0400
97 -@@ -15,7 +15,7 @@
98 - # get the gcc version
99 - exec_program(${CMAKE_C_COMPILER} ARGS ${CMAKE_C_COMPILER_ARG1} --version OUTPUT_VARIABLE _gcc_version_info)
100 -
101 -- string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
102 -+ string (REGEX MATCH "[3456]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")
103 - # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the patch level, handle this here:
104 - if (NOT _gcc_version)
105 - string (REGEX REPLACE ".*\\(GCC\\).* ([34]\\.[0-9]) .*" "\\1.0" _gcc_version "${_gcc_version_info}")
106
107 diff --git a/app-misc/strigi/files/strigi-0.7.8-libav10.patch b/app-misc/strigi/files/strigi-0.7.8-libav10.patch
108 deleted file mode 100644
109 index b38763f..0000000
110 --- a/app-misc/strigi/files/strigi-0.7.8-libav10.patch
111 +++ /dev/null
112 @@ -1,16 +0,0 @@
113 -Index: strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
114 -===================================================================
115 ---- strigi-0.7.8.orig/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp 2013-02-05 21:34:52.000000000 +0000
116 -+++ strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp 2014-02-28 21:45:10.570587443 +0000
117 -@@ -481,9 +481,9 @@
118 - outs << codec.height;
119 - ar.addTriplet(streamuri, heightPropertyName, outs.str());
120 - }
121 -- if (stream.r_frame_rate.num && stream.r_frame_rate.den) {
122 -+ if (stream.avg_frame_rate.num && stream.avg_frame_rate.den) {
123 - ostringstream outs;
124 -- outs << stream.r_frame_rate.num / stream.r_frame_rate.den;
125 -+ outs << stream.avg_frame_rate.num / stream.avg_frame_rate.den;
126 - ar.addTriplet(streamuri, frameRatePropertyName, outs.str());
127 - }
128 - if (codec.pix_fmt != PIX_FMT_NONE) {}//FIXME pixel format
129
130 diff --git a/app-misc/strigi/metadata.xml b/app-misc/strigi/metadata.xml
131 deleted file mode 100644
132 index 0a31e3d..0000000
133 --- a/app-misc/strigi/metadata.xml
134 +++ /dev/null
135 @@ -1,13 +0,0 @@
136 -<?xml version="1.0" encoding="UTF-8"?>
137 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
138 -<pkgmetadata>
139 - <use>
140 - <flag name="clucene">Enable <pkg>dev-cpp/clucene</pkg> backend support.</flag>
141 - <flag name="inotify">Enable support for inotify.</flag>
142 - <flag name="log">Enables advanced logging through <pkg>dev-libs/log4cxx</pkg>.</flag>
143 - </use>
144 - <maintainer type="project">
145 - <email>kde@g.o</email>
146 - <name>Gentoo KDE Project</name>
147 - </maintainer>
148 -</pkgmetadata>
149
150 diff --git a/app-misc/strigi/strigi-0.7.8-r1.ebuild b/app-misc/strigi/strigi-0.7.8-r1.ebuild
151 deleted file mode 100644
152 index 4f7694f..0000000
153 --- a/app-misc/strigi/strigi-0.7.8-r1.ebuild
154 +++ /dev/null
155 @@ -1,100 +0,0 @@
156 -# Copyright 1999-2015 Gentoo Foundation
157 -# Distributed under the terms of the GNU General Public License v2
158 -# $Id$
159 -
160 -EAPI=5
161 -
162 -if [[ "${PV}" != "9999" ]]; then
163 - SRC_URI="http://www.vandenoever.info/software/strigi/${P}.tar.bz2"
164 - KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
165 -else
166 - EGIT_REPO_URI=( "git://anongit.kde.org/strigi" )
167 - GIT_ECLASS="git-r3"
168 - KEYWORDS=""
169 -fi
170 -
171 -inherit cmake-utils ${GIT_ECLASS}
172 -
173 -DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
174 -HOMEPAGE="https://projects.kde.org/projects/kdesupport/strigi/strigi"
175 -
176 -LICENSE="GPL-2"
177 -SLOT="0"
178 -IUSE="clucene +dbus debug exif fam ffmpeg +inotify libav log +qt4 test"
179 -
180 -RDEPEND="
181 - app-arch/bzip2
182 - dev-libs/libxml2:2
183 - sys-libs/zlib
184 - virtual/libiconv
185 - clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
186 - dbus? (
187 - sys-apps/dbus
188 - qt4? ( dev-qt/qtdbus:4 )
189 - )
190 - exif? ( media-gfx/exiv2:= )
191 - fam? ( virtual/fam )
192 - ffmpeg? (
193 - libav? ( media-video/libav:0= )
194 - !libav? ( media-video/ffmpeg:0= )
195 - )
196 - log? ( >=dev-libs/log4cxx-0.10.0 )
197 - qt4? (
198 - dev-qt/qtcore:4
199 - dev-qt/qtgui:4
200 - )
201 -"
202 -DEPEND="${RDEPEND}
203 - test? ( dev-util/cppunit )
204 -"
205 -
206 -PATCHES=(
207 - "${FILESDIR}/${P}-gcc-4.8.patch"
208 - "${FILESDIR}/${P}-libav10.patch"
209 - "${FILESDIR}/${P}-ffmpeg29.patch"
210 -)
211 -
212 -if [[ ${PV} == 9999 ]] ; then
213 - src_unpack() {
214 - git config --global url."git://anongit.kde.org/".insteadOf "kde:" || die
215 - git-r3_src_unpack
216 - pushd "${S}" > /dev/null || die
217 - git submodule foreach git checkout master || die
218 - popd > /dev/null || die
219 - }
220 -fi
221 -
222 -src_configure() {
223 - # Enabled: POLLING (only reliable way to check for files changed.)
224 - # Disabled: xine - recommended upstream to keep it this way
225 - local mycmakeargs=(
226 - -DENABLE_POLLING=ON
227 - -DFORCE_DEPS=ON
228 - -DENABLE_REGENERATEXSD=OFF
229 - -DENABLE_XINE=OFF
230 - $(cmake-utils_use_enable clucene CLUCENE)
231 - $(cmake-utils_use_enable clucene CLUCENE_NG)
232 - $(cmake-utils_use_enable dbus)
233 - $(cmake-utils_use_enable exif EXIV2)
234 - $(cmake-utils_use_enable fam)
235 - $(cmake-utils_use_enable ffmpeg)
236 - $(cmake-utils_use_enable inotify)
237 - $(cmake-utils_use_enable log LOG4CXX)
238 - $(cmake-utils_use_enable qt4)
239 - $(cmake-utils_use_find_package test CPPUNIT)
240 - )
241 -
242 - if use qt4; then
243 - mycmakeargs+=( -DENABLE_DBUS=ON )
244 - fi
245 -
246 - cmake-utils_src_configure
247 -}
248 -
249 -pkg_postinst() {
250 - if ! use clucene ; then
251 - elog "Because you didn't enable the clucene backend, strigi may not be functional."
252 - elog "If you intend to use standalone strigi indexer (not needed for KDE),"
253 - elog "be sure to reinstall app-misc/strigi with the clucene USE flag enabled."
254 - fi
255 -}
256
257 diff --git a/app-misc/strigi/strigi-0.7.8-r2.ebuild b/app-misc/strigi/strigi-0.7.8-r2.ebuild
258 deleted file mode 100644
259 index 6abde40..0000000
260 --- a/app-misc/strigi/strigi-0.7.8-r2.ebuild
261 +++ /dev/null
262 @@ -1,84 +0,0 @@
263 -# Copyright 1999-2016 Gentoo Foundation
264 -# Distributed under the terms of the GNU General Public License v2
265 -# $Id$
266 -
267 -EAPI=6
268 -
269 -SRC_URI="http://www.vandenoever.info/software/strigi/${P}.tar.bz2"
270 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
271 -inherit cmake-utils
272 -
273 -DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
274 -HOMEPAGE="https://projects.kde.org/projects/kdesupport/strigi/strigi"
275 -
276 -LICENSE="GPL-2"
277 -SLOT="0"
278 -IUSE="clucene +dbus debug exif fam ffmpeg +inotify libav log +qt4 test"
279 -
280 -RDEPEND="
281 - app-arch/bzip2
282 - dev-libs/libxml2:2
283 - sys-libs/zlib
284 - virtual/libiconv
285 - clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
286 - dbus? (
287 - sys-apps/dbus
288 - qt4? ( dev-qt/qtdbus:4 )
289 - )
290 - exif? ( media-gfx/exiv2:= )
291 - fam? ( virtual/fam )
292 - ffmpeg? (
293 - libav? ( media-video/libav:0= )
294 - !libav? ( media-video/ffmpeg:0= )
295 - )
296 - log? ( >=dev-libs/log4cxx-0.10.0 )
297 - qt4? (
298 - dev-qt/qtcore:4
299 - dev-qt/qtgui:4
300 - )
301 -"
302 -DEPEND="${RDEPEND}
303 - test? ( dev-util/cppunit )
304 -"
305 -
306 -PATCHES=(
307 - "${FILESDIR}/${P}-gcc-4.8.patch"
308 - "${FILESDIR}/${P}-libav10.patch"
309 - "${FILESDIR}/${P}-ffmpeg29.patch"
310 - "${FILESDIR}/${P}-gcc6.patch"
311 -)
312 -
313 -src_configure() {
314 - # Enabled: POLLING (only reliable way to check for files changed.)
315 - # Disabled: xine - recommended upstream to keep it this way
316 - local mycmakeargs=(
317 - -DENABLE_POLLING=ON
318 - -DFORCE_DEPS=ON
319 - -DENABLE_REGENERATEXSD=OFF
320 - -DENABLE_XINE=OFF
321 - -DENABLE_CLUCENE=$(usex clucene)
322 - -DENABLE_CLUCENE_NG=$(usex clucene)
323 - -DENABLE_DBUS=$(usex dbus)
324 - -DENABLE_EXIV2=$(usex exif)
325 - -DENABLE_FAM=$(usex fam)
326 - -DENABLE_FFMPEG=$(usex ffmpeg)
327 - -DENABLE_INOTIFY=$(usex inotify)
328 - -DENABLE_LOG4CXX=$(usex log)
329 - -DENABLE_QT4=$(usex qt4)
330 - $(cmake-utils_use_find_package test CppUnit)
331 - )
332 -
333 - if use qt4; then
334 - mycmakeargs+=( -DENABLE_DBUS=ON )
335 - fi
336 -
337 - cmake-utils_src_configure
338 -}
339 -
340 -pkg_postinst() {
341 - if ! use clucene ; then
342 - elog "Because you didn't enable the clucene backend, strigi may not be functional."
343 - elog "If you intend to use standalone strigi indexer (not needed for KDE),"
344 - elog "be sure to reinstall app-misc/strigi with the clucene USE flag enabled."
345 - fi
346 -}