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/
Date: Mon, 10 Sep 2018 19:46:41
Message-Id: 1536608785.5e53fa63d8d7b6597aac5592f6c63b91927d91b8.asturm@gentoo
1 commit: 5e53fa63d8d7b6597aac5592f6c63b91927d91b8
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 9 20:48:36 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 10 19:46:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e53fa63
7
8 app-misc/recoll: Drop old
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 app-misc/recoll/Manifest | 2 -
13 app-misc/recoll/recoll-1.23.3.ebuild | 123 -----------------------------------
14 app-misc/recoll/recoll-1.23.6.ebuild | 122 ----------------------------------
15 3 files changed, 247 deletions(-)
16
17 diff --git a/app-misc/recoll/Manifest b/app-misc/recoll/Manifest
18 index ff2c982bc7b..813a20ac0f4 100644
19 --- a/app-misc/recoll/Manifest
20 +++ b/app-misc/recoll/Manifest
21 @@ -1,3 +1 @@
22 -DIST recoll-1.23.3.tar.gz 2590148 BLAKE2B ec058bac500aa61b4e395720bffcc2bfbcaded954c986e8e1fe69720456267c33b5e34eb3e28de47f57d9af207c60b138c521792882b093120b988b682600b2a SHA512 bfad118dd9561c8d18e194b11d8014e2f9ea74f6aaf50f91704087775e6f72d5f3574a3eafe470dab7658cb4a7233817a672af939f21b3e69c719e599bc5cd06
23 -DIST recoll-1.23.6.tar.gz 2601494 BLAKE2B e64ed422a1ac1a816091f9ee00ee23b551690f5038cf3378a00ebf39c9e4f4e22436105ed01a1aa2bc21b633c85a73ba2847a265e4d199109a8b0c03ec53421e SHA512 ae6f6dfe5e63faf2310b32bd0ffd90f08b12de7452ded9e5bd58a45690797caa9f5c66ea94ef94ed7a4ee3e55083cc191fbecfc112dbce42415d0af1300fe8fd
24 DIST recoll-1.24.1.tar.gz 2644672 BLAKE2B e5bce2231e075fe9a2bfad7d0d1068906e625106b09247dc5baffaf92957db111dd6be90c658266b8b9940d885b3495769c68ce66247d00568df24c1b5222226 SHA512 60bf57d2718a21dbd578fa1dc73a542fc7ab2152c4c5bb763885b19c14d080340587cb8c01f82f1ca7d1cb63a03edf03b4501f3ef63f06ab6506356c4a0a095c
25
26 diff --git a/app-misc/recoll/recoll-1.23.3.ebuild b/app-misc/recoll/recoll-1.23.3.ebuild
27 deleted file mode 100644
28 index 36095b328a9..00000000000
29 --- a/app-misc/recoll/recoll-1.23.3.ebuild
30 +++ /dev/null
31 @@ -1,123 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python2_7 )
38 -
39 -inherit eutils linux-info python-single-r1 qmake-utils
40 -
41 -DESCRIPTION="A personal full text search package"
42 -HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
43 -SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -
49 -IUSE="camelcase doc +inotify qt5 session +spell"
50 -REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
51 -
52 -CDEPEND="
53 - dev-libs/xapian:=
54 - sys-libs/zlib
55 - virtual/libiconv
56 - qt5? (
57 - dev-qt/qtcore:5
58 - dev-qt/qtgui:5
59 - dev-qt/qtprintsupport:5
60 - dev-qt/qtwebkit:5
61 - )
62 - session? (
63 - inotify? ( x11-libs/libSM x11-libs/libICE )
64 - )
65 - spell? ( app-text/aspell )
66 - ${PYTHON_DEPS}
67 -"
68 -
69 -DEPEND="
70 - ${CDEPEND}
71 - qt5? ( dev-qt/linguist-tools:5 )
72 -"
73 -
74 -RDEPEND="
75 - ${CDEPEND}
76 - app-arch/unzip
77 - sys-apps/sed
78 - virtual/awk
79 -"
80 -
81 -pkg_setup() {
82 - if has_version "<app-misc/recoll-1.20"; then
83 - einfo "Installing ${PV} over an 1.19 index is possible,"
84 - einfo "but there have been small changes in the way"
85 - einfo "compound words are indexed. So it is best to reset"
86 - einfo "the index. The best method to reset the index is to"
87 - einfo "quit all recoll programs and delete the index directory"
88 - einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
89 - fi
90 - if use inotify; then
91 - CONFIG_CHECK="~INOTIFY_USER"
92 - check_extra_config
93 - fi
94 - python-single-r1_pkg_setup
95 -}
96 -
97 -src_prepare() {
98 - python_fix_shebang filters
99 - default
100 -}
101 -
102 -src_configure() {
103 - local qtconf
104 - if use qt5; then
105 - export QMAKE="$(qt5_get_bindir)/qmake"
106 - qtconf="--enable-qtgui --enable-webkit"
107 - else
108 - qtconf="--disable-qtgui --disable-webkit"
109 - fi
110 -
111 - econf \
112 - $(use_enable camelcase) \
113 - $(use_enable session x11mon) \
114 - $(use_with inotify) \
115 - $(use_with spell aspell) \
116 - ${qtconf} \
117 - --without-fam \
118 - --enable-recollq
119 -}
120 -
121 -src_install() {
122 - emake STRIP="$(type -P true)" DESTDIR="${D}" install
123 - prune_libtool_files
124 -
125 - # html docs should be placed in /usr/share/doc/${PN}/html
126 - use doc && dodoc "${ED}"/usr/share/recoll/doc/*
127 - rm -r "${ED}/usr/share/recoll/doc" || die
128 -}
129 -
130 -pkg_postinst() {
131 - einfo "In order to extract the full functionality of "
132 - einfo "recoll, the following packages should be installed "
133 - einfo "to get the corresponding document support."
134 -
135 - optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
136 - optfeature "PDF files support" app-text/poppler
137 - optfeature "PDF files with OCR support" app-text/tesseract
138 - optfeature "MS Word files support" app-text/antiword
139 - optfeature "Wordperfect files support" "app-text/libwpd[tools]"
140 - optfeature "Lyx files support" app-office/lyx
141 - optfeature "CHM files support" dev-python/pychm
142 - optfeature "GNU Info files support" sys-apps/texinfo
143 - optfeature "RAR archives support" dev-python/rarfile
144 - optfeature "7zip archives support" dev-python/pylzma
145 - optfeature "iCalendar files support" dev-python/icalendar
146 - optfeature "Postscript files support" app-text/pstotext
147 - optfeature "RTF files support" app-text/unrtf
148 - optfeature "TeX files support" dev-text/detex
149 - optfeature "DVI files support" virtual/tex-base
150 - optfeature "DJVU files support" app-text/djvu
151 - optfeature "tags in audio files support" media-libs/mutagen
152 - optfeature "tags in image files support" media-libs/exiftool
153 - optfeature "Midi karaoke files support" dev-python/chardet
154 -}
155
156 diff --git a/app-misc/recoll/recoll-1.23.6.ebuild b/app-misc/recoll/recoll-1.23.6.ebuild
157 deleted file mode 100644
158 index 685945ed2d2..00000000000
159 --- a/app-misc/recoll/recoll-1.23.6.ebuild
160 +++ /dev/null
161 @@ -1,122 +0,0 @@
162 -# Copyright 1999-2018 Gentoo Foundation
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=6
166 -
167 -PYTHON_COMPAT=( python2_7 )
168 -
169 -inherit eutils linux-info python-single-r1 qmake-utils
170 -
171 -DESCRIPTION="A personal full text search package"
172 -HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
173 -SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
174 -
175 -LICENSE="GPL-2"
176 -SLOT="0"
177 -KEYWORDS="~amd64 ~x86"
178 -
179 -IUSE="camelcase doc +inotify qt5 session +spell"
180 -REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
181 -
182 -CDEPEND="
183 - dev-libs/xapian:=
184 - sys-libs/zlib:=
185 - virtual/libiconv
186 - qt5? (
187 - dev-qt/qtcore:5
188 - dev-qt/qtgui:5
189 - dev-qt/qtprintsupport:5
190 - dev-qt/qtwebkit:5
191 - )
192 - session? (
193 - inotify? (
194 - x11-libs/libSM
195 - x11-libs/libICE
196 - x11-libs/libX11
197 - )
198 - )
199 - spell? ( app-text/aspell )
200 - ${PYTHON_DEPS}
201 -"
202 -
203 -DEPEND="
204 - ${CDEPEND}
205 - qt5? ( dev-qt/linguist-tools:5 )
206 -"
207 -
208 -RDEPEND="
209 - ${CDEPEND}
210 - app-arch/unzip
211 -"
212 -
213 -PATCHES=( "${FILESDIR}/recoll-python3.patch" )
214 -
215 -pkg_setup() {
216 - if has_version "<app-misc/recoll-1.20"; then
217 - einfo "Installing ${PV} over an 1.19 index is possible,"
218 - einfo "but there have been small changes in the way"
219 - einfo "compound words are indexed. So it is best to reset"
220 - einfo "the index. The best method to reset the index is to"
221 - einfo "quit all recoll programs and delete the index directory"
222 - einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
223 - fi
224 - if use inotify; then
225 - CONFIG_CHECK="~INOTIFY_USER"
226 - check_extra_config
227 - fi
228 - python-single-r1_pkg_setup
229 -}
230 -
231 -src_prepare() {
232 - default
233 - python_fix_shebang filters
234 -}
235 -
236 -src_configure() {
237 - use qt5 && export QMAKE="$(qt5_get_bindir)/qmake"
238 -
239 - econf \
240 - $(use_enable camelcase) \
241 - $(use_enable session x11mon) \
242 - $(use_enable qt5 qtgui) \
243 - $(use_enable qt5 webkit) \
244 - $(use_with inotify) \
245 - $(use_with spell aspell) \
246 - --without-fam \
247 - --enable-recollq
248 -}
249 -
250 -src_install() {
251 - emake STRIP="$(type -P true)" DESTDIR="${D}" install
252 -
253 - # html docs should be placed in /usr/share/doc/${PN}/html
254 - use doc && dodoc -r "${ED}"/usr/share/recoll/doc/.
255 - rm -r "${ED}/usr/share/recoll/doc" || die
256 - find "${D}" -name '*.la' -delete || die
257 -}
258 -
259 -pkg_postinst() {
260 - einfo "In order to extract the full functionality of "
261 - einfo "recoll, the following packages should be installed "
262 - einfo "to get the corresponding document support."
263 -
264 - optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
265 - optfeature "PDF files support" app-text/poppler
266 - optfeature "PDF files with OCR support" app-text/tesseract
267 - optfeature "MS Word files support" app-text/antiword
268 - optfeature "Wordperfect files support" "app-text/libwpd[tools]"
269 - optfeature "Lyx files support" app-office/lyx
270 - optfeature "CHM files support" dev-python/pychm
271 - optfeature "GNU Info files support" sys-apps/texinfo
272 - optfeature "RAR archives support" dev-python/rarfile
273 - optfeature "7zip archives support" dev-python/pylzma
274 - optfeature "iCalendar files support" dev-python/icalendar
275 - optfeature "Postscript files support" app-text/pstotext
276 - optfeature "RTF files support" app-text/unrtf
277 - optfeature "TeX files support" dev-text/detex
278 - optfeature "DVI files support" virtual/tex-base
279 - optfeature "DJVU files support" app-text/djvu
280 - optfeature "tags in audio files support" media-libs/mutagen
281 - optfeature "tags in image files support" media-libs/exiftool
282 - optfeature "Midi karaoke files support" dev-python/chardet
283 -}