Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/recoll/, app-misc/recoll/files/
Date: Thu, 18 Jul 2019 15:30:48
Message-Id: 1563463830.0af19821a9710ad70f10a474ff5e2a10d912d54b.asturm@gentoo
1 commit: 0af19821a9710ad70f10a474ff5e2a10d912d54b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 18 15:16:45 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 18 15:30:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af19821
7
8 app-misc/recoll: Drop old
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.66, Repoman-2.3.11
12
13 app-misc/recoll/Manifest | 2 -
14 app-misc/recoll/files/recoll-1.24.1-qt-5.11.patch | 12 --
15 app-misc/recoll/files/recoll-python3.patch | 17 ---
16 app-misc/recoll/recoll-1.24.1.ebuild | 125 --------------------
17 app-misc/recoll/recoll-1.25.15.ebuild | 134 ----------------------
18 5 files changed, 290 deletions(-)
19
20 diff --git a/app-misc/recoll/Manifest b/app-misc/recoll/Manifest
21 index d39b5b89da2..9c13790a98f 100644
22 --- a/app-misc/recoll/Manifest
23 +++ b/app-misc/recoll/Manifest
24 @@ -1,3 +1 @@
25 -DIST recoll-1.24.1.tar.gz 2644672 BLAKE2B e5bce2231e075fe9a2bfad7d0d1068906e625106b09247dc5baffaf92957db111dd6be90c658266b8b9940d885b3495769c68ce66247d00568df24c1b5222226 SHA512 60bf57d2718a21dbd578fa1dc73a542fc7ab2152c4c5bb763885b19c14d080340587cb8c01f82f1ca7d1cb63a03edf03b4501f3ef63f06ab6506356c4a0a095c
26 -DIST recoll-1.25.15.tar.gz 2843434 BLAKE2B 7facf6040560ab11b7a3d99b583020bdd4757157236a23430381c9d6932de558917f5dd1faf0f1ca87be3386307b5346ec66bb82637edd42035fd7be61ee9b39 SHA512 acd5349e1a1edd6ca22f819b0cfe76161fedb0bde8b4a86e679e78d68d090481a11a8d1980764d008074846b5033481c766e624da1322ab318b52c9c9c57104c
27 DIST recoll-1.25.19.tar.gz 2845683 BLAKE2B 745eac2dd3208619e173abba78f1e03186cdb5deb363c30728184a9d826c698d8e088cc0420178754131792f0d933f395a4fdb209a4315888b733a1209644580 SHA512 d56aff810e335f8212b908118de8fe12fc8d8f8341ebc281244c00dfe2216e008c655f4d39955b6c71928a28ea0aea073036fed17be5b80e8443fe6dfbe374f6
28
29 diff --git a/app-misc/recoll/files/recoll-1.24.1-qt-5.11.patch b/app-misc/recoll/files/recoll-1.24.1-qt-5.11.patch
30 deleted file mode 100644
31 index 146bc981b60..00000000000
32 --- a/app-misc/recoll/files/recoll-1.24.1-qt-5.11.patch
33 +++ /dev/null
34 @@ -1,12 +0,0 @@
35 -diff --git a/qtgui/ssearch_w.cpp b/qtgui/ssearch_w.cpp
36 -index 2d0c97c..ca72af1 100644
37 ---- a/qtgui/ssearch_w.cpp
38 -+++ b/qtgui/ssearch_w.cpp
39 -@@ -32,6 +32,7 @@
40 - #include <qevent.h>
41 - #include <QTimer>
42 - #include <QCompleter>
43 -+#include <QAbstractItemView>
44 -
45 - #include "log.h"
46 - #include "guiutils.h"
47 \ No newline at end of file
48
49 diff --git a/app-misc/recoll/files/recoll-python3.patch b/app-misc/recoll/files/recoll-python3.patch
50 deleted file mode 100644
51 index 6d6fbdf3961..00000000000
52 --- a/app-misc/recoll/files/recoll-python3.patch
53 +++ /dev/null
54 @@ -1,17 +0,0 @@
55 ---- a/filters/recoll-we-move-files.py
56 -+++ b/filters/recoll-we-move-files.py
57 -@@ -1,4 +1,4 @@
58 --#!/usr/bin/env python3
59 -+#!/usr/bin/env python2
60 - # Copyright (C) 2017 J.F.Dockes
61 - # This program is free software; you can redistribute it and/or modify
62 - # it under the terms of the GNU General Public License as published by
63 -@@ -42,6 +42,8 @@ try:
64 - except:
65 - import rclconfig
66 -
67 -+from __future__ import print_function
68 -+
69 - verbosity = 0
70 - def logdeb(s):
71 - if verbosity >= 4:
72
73 diff --git a/app-misc/recoll/recoll-1.24.1.ebuild b/app-misc/recoll/recoll-1.24.1.ebuild
74 deleted file mode 100644
75 index 3d326d8297b..00000000000
76 --- a/app-misc/recoll/recoll-1.24.1.ebuild
77 +++ /dev/null
78 @@ -1,125 +0,0 @@
79 -# Copyright 1999-2019 Gentoo Authors
80 -# Distributed under the terms of the GNU General Public License v2
81 -
82 -EAPI=6
83 -
84 -PYTHON_COMPAT=( python2_7 )
85 -
86 -inherit eutils linux-info python-single-r1 qmake-utils
87 -
88 -DESCRIPTION="A personal full text search package"
89 -HOMEPAGE="https://www.lesbonscomptes.com/recoll/"
90 -SRC_URI="https://www.lesbonscomptes.com/recoll/${P}.tar.gz"
91 -
92 -LICENSE="GPL-2"
93 -SLOT="0"
94 -KEYWORDS="amd64 x86"
95 -
96 -IUSE="camelcase doc +inotify qt5 session +spell"
97 -REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
98 -
99 -CDEPEND="
100 - dev-libs/xapian:=
101 - sys-libs/zlib:=
102 - virtual/libiconv
103 - qt5? (
104 - dev-qt/qtcore:5
105 - dev-qt/qtgui:5
106 - dev-qt/qtprintsupport:5
107 - dev-qt/qtwebkit:5
108 - )
109 - session? (
110 - inotify? (
111 - x11-libs/libSM
112 - x11-libs/libICE
113 - x11-libs/libX11
114 - )
115 - )
116 - spell? ( app-text/aspell )
117 - ${PYTHON_DEPS}
118 -"
119 -
120 -DEPEND="
121 - ${CDEPEND}
122 - qt5? ( dev-qt/linguist-tools:5 )
123 -"
124 -
125 -RDEPEND="
126 - ${CDEPEND}
127 - app-arch/unzip
128 -"
129 -
130 -PATCHES=(
131 - "${FILESDIR}"/${PN}-python3.patch # python3 patch
132 - "${FILESDIR}"/${P}-qt-5.11.patch # bugs 663028, 660912
133 -)
134 -
135 -pkg_setup() {
136 - if has_version "<app-misc/recoll-1.20"; then
137 - einfo "Installing ${PV} over an 1.19 index is possible,"
138 - einfo "but there have been small changes in the way"
139 - einfo "compound words are indexed. So it is best to reset"
140 - einfo "the index. The best method to reset the index is to"
141 - einfo "quit all recoll programs and delete the index directory"
142 - einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
143 - fi
144 - if use inotify; then
145 - CONFIG_CHECK="~INOTIFY_USER"
146 - check_extra_config
147 - fi
148 - python-single-r1_pkg_setup
149 -}
150 -
151 -src_prepare() {
152 - default
153 - python_fix_shebang filters
154 -}
155 -
156 -src_configure() {
157 - use qt5 && export QMAKE="$(qt5_get_bindir)/qmake"
158 -
159 - econf \
160 - $(use_enable camelcase) \
161 - $(use_enable session x11mon) \
162 - $(use_enable qt5 qtgui) \
163 - $(use_enable qt5 webkit) \
164 - $(use_with inotify) \
165 - $(use_with spell aspell) \
166 - --without-fam \
167 - --enable-recollq
168 -}
169 -
170 -src_install() {
171 - emake STRIP="$(type -P true)" DESTDIR="${D}" install
172 -
173 - # html docs should be placed in /usr/share/doc/${PN}/html
174 - use doc && dodoc -r "${ED}"/usr/share/recoll/doc/.
175 - rm -r "${ED}/usr/share/recoll/doc" || die
176 - find "${D}" -name '*.la' -delete || die
177 -}
178 -
179 -pkg_postinst() {
180 - einfo "In order to extract the full functionality of "
181 - einfo "recoll, the following packages should be installed "
182 - einfo "to get the corresponding document support."
183 -
184 - optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
185 - optfeature "PDF files support" app-text/poppler
186 - optfeature "PDF files with OCR support" app-text/tesseract
187 - optfeature "MS Word files support" app-text/antiword
188 - optfeature "Wordperfect files support" "app-text/libwpd[tools]"
189 - optfeature "Lyx files support" app-office/lyx
190 - optfeature "CHM files support" dev-python/pychm
191 - optfeature "GNU Info files support" sys-apps/texinfo
192 - optfeature "RAR archives support" dev-python/rarfile
193 - optfeature "7zip archives support" dev-python/pylzma
194 - optfeature "iCalendar files support" dev-python/icalendar
195 - optfeature "Postscript files support" app-text/pstotext
196 - optfeature "RTF files support" app-text/unrtf
197 - optfeature "TeX files support" dev-text/detex
198 - optfeature "DVI files support" virtual/tex-base
199 - optfeature "DJVU files support" app-text/djvu
200 - optfeature "tags in audio files support" media-libs/mutagen
201 - optfeature "tags in image files support" media-libs/exiftool
202 - optfeature "Midi karaoke files support" dev-python/chardet
203 -}
204
205 diff --git a/app-misc/recoll/recoll-1.25.15.ebuild b/app-misc/recoll/recoll-1.25.15.ebuild
206 deleted file mode 100644
207 index 05fa308a893..00000000000
208 --- a/app-misc/recoll/recoll-1.25.15.ebuild
209 +++ /dev/null
210 @@ -1,134 +0,0 @@
211 -# Copyright 1999-2019 Gentoo Authors
212 -# Distributed under the terms of the GNU General Public License v2
213 -
214 -EAPI=7
215 -
216 -PYTHON_COMPAT=( python3_{5,6,7} )
217 -
218 -inherit eutils linux-info python-single-r1 qmake-utils
219 -
220 -DESCRIPTION="A personal full text search package"
221 -HOMEPAGE="https://www.lesbonscomptes.com/recoll/"
222 -SRC_URI="https://www.lesbonscomptes.com/recoll/${P}.tar.gz"
223 -
224 -LICENSE="GPL-2"
225 -SLOT="0"
226 -KEYWORDS="~amd64 ~x86"
227 -
228 -IUSE="camelcase chm doc +inotify qt5 session +spell webengine"
229 -REQUIRED_USE="
230 - session? ( inotify )
231 - webengine? ( qt5 )
232 - ${PYTHON_REQUIRED_USE}
233 -"
234 -
235 -DEPEND="
236 - dev-libs/xapian:=
237 - sys-libs/zlib:=
238 - virtual/libiconv
239 - chm? (
240 - dev-libs/chmlib
241 - dev-python/pychm
242 - )
243 - qt5? (
244 - dev-qt/qtcore:5
245 - dev-qt/qtgui:5
246 - dev-qt/qtprintsupport:5
247 - webengine? ( dev-qt/qtwebengine:5[widgets] )
248 - )
249 - session? (
250 - inotify? (
251 - x11-libs/libSM
252 - x11-libs/libICE
253 - x11-libs/libX11
254 - )
255 - )
256 - spell? ( app-text/aspell )
257 - ${PYTHON_DEPS}
258 -"
259 -
260 -BDEPEND="
261 - qt5? ( dev-qt/linguist-tools:5 )
262 -"
263 -
264 -RDEPEND="
265 - ${DEPEND}
266 - app-arch/unzip
267 -"
268 -
269 -pkg_pretend() {
270 - if has_version "<app-misc/recoll-1.20"; then
271 - elog "Installing ${PV} over an 1.19 index is possible,"
272 - elog "but there have been small changes in the way"
273 - elog "compound words are indexed. So it is best to reset"
274 - elog "the index. The best method to reset the index is to"
275 - elog "quit all recoll programs and delete the index directory"
276 - elog "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
277 - fi
278 -}
279 -
280 -pkg_setup() {
281 - if use inotify; then
282 - local CONFIG_CHECK="~INOTIFY_USER"
283 - check_extra_config
284 - fi
285 - python-single-r1_pkg_setup
286 -}
287 -
288 -src_prepare() {
289 - default
290 - python_fix_shebang filters
291 -}
292 -
293 -src_configure() {
294 - use qt5 && export QMAKE="$(qt5_get_bindir)/qmake"
295 -
296 - local myeconfargs=(
297 - $(use_enable camelcase)
298 - $(use_enable chm python-chm)
299 - $(use_enable session x11mon)
300 - $(use_enable qt5 qtgui)
301 - $(use_enable webengine)
302 - $(use_with inotify)
303 - $(use_with spell aspell)
304 - --disable-webkit
305 - --without-fam
306 - --enable-recollq
307 - )
308 -
309 - econf "${myeconfargs[@]}"
310 -}
311 -
312 -src_install() {
313 - emake STRIP="$(type -P true)" DESTDIR="${D}" install
314 -
315 - # html docs should be placed in /usr/share/doc/${PN}/html
316 - use doc && dodoc -r "${ED}"/usr/share/recoll/doc/.
317 - rm -r "${ED}/usr/share/recoll/doc" || die
318 - find "${D}" -name '*.la' -delete || die
319 -}
320 -
321 -pkg_postinst() {
322 - elog "In order to extract the full functionality of "
323 - elog "recoll, the following packages should be installed "
324 - elog "to get the corresponding document support."
325 -
326 - optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
327 - optfeature "PDF files support" app-text/poppler
328 - optfeature "PDF files with OCR support" app-text/tesseract
329 - optfeature "MS Word files support" app-text/antiword
330 - optfeature "Wordperfect files support" "app-text/libwpd[tools]"
331 - optfeature "Lyx files support" app-office/lyx
332 - optfeature "GNU Info files support" sys-apps/texinfo
333 - optfeature "RAR archives support" dev-python/rarfile
334 - optfeature "7zip archives support" dev-python/pylzma
335 - optfeature "iCalendar files support" dev-python/icalendar
336 - optfeature "Postscript files support" app-text/pstotext
337 - optfeature "RTF files support" app-text/unrtf
338 - optfeature "TeX files support" dev-text/detex
339 - optfeature "DVI files support" virtual/tex-base
340 - optfeature "DJVU files support" app-text/djvu
341 - optfeature "tags in audio files support" media-libs/mutagen
342 - optfeature "tags in image files support" media-libs/exiftool
343 - optfeature "Midi karaoke files support" dev-python/chardet
344 -}