1 |
hwoarang 13/01/30 19:20:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: recoll-1.18.1.ebuild |
5 |
Log: |
6 |
Version bump #454554. Don't require inotify or fam. Bug #452192 |
7 |
|
8 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 app-misc/recoll/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/recoll/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/recoll/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/recoll/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/recoll/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 20 Nov 2012 20:38:56 -0000 1.13 |
24 |
+++ ChangeLog 30 Jan 2013 19:20:11 -0000 1.14 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-misc/recoll |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/ChangeLog,v 1.13 2012/11/20 20:38:56 ago Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/ChangeLog,v 1.14 2013/01/30 19:20:11 hwoarang Exp $ |
31 |
+ |
32 |
+*recoll-1.18.1 (30 Jan 2013) |
33 |
+ |
34 |
+ 30 Jan 2013; Markos Chandras <hwoarang@g.o> +recoll-1.18.1.ebuild: |
35 |
+ Version bump #454554. Don't require inotify or fam. Bug #452192 |
36 |
|
37 |
20 Nov 2012; Agostino Sarubbo <ago@g.o> recoll-1.17.3-r1.ebuild: |
38 |
Stable for x86, wrt bug #432782 |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-misc/recoll/recoll-1.18.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/recoll/recoll-1.18.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/recoll/recoll-1.18.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: recoll-1.18.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/recoll-1.18.1.ebuild,v 1.1 2013/01/30 19:20:11 hwoarang Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
|
55 |
PYTHON_DEPEND="2" |
56 |
inherit toolchain-funcs qt4-r2 linux-info python |
57 |
|
58 |
DESCRIPTION="A personal full text search package" |
59 |
HOMEPAGE="http://www.lesbonscomptes.com/recoll/" |
60 |
SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz" |
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
|
65 |
INDEX_HELPERS="audio chm djvu dvi exif postscript ics info lyx msdoc msppt msxls pdf rtf tex wordperfect xml" |
66 |
IUSE="+spell inotify +qt4 +session camelcase xattr fam ${INDEX_HELPERS}" |
67 |
|
68 |
DEPEND=" |
69 |
virtual/libiconv |
70 |
>=dev-libs/xapian-1.0.12 |
71 |
sys-libs/zlib |
72 |
spell? ( app-text/aspell ) |
73 |
!inotify? ( fam? ( virtual/fam ) ) |
74 |
qt4? ( |
75 |
x11-libs/qt-core:4[qt3support] |
76 |
x11-libs/qt-webkit:4 |
77 |
) |
78 |
session? ( |
79 |
inotify? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE ) |
80 |
!inotify? ( fam? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE ) ) |
81 |
) |
82 |
" |
83 |
|
84 |
RDEPEND=" |
85 |
${DEPEND} |
86 |
app-arch/unzip |
87 |
sys-apps/sed |
88 |
|| ( sys-apps/gawk sys-apps/mawk ) |
89 |
pdf? ( app-text/poppler ) |
90 |
postscript? ( app-text/pstotext ) |
91 |
msdoc? ( app-text/antiword ) |
92 |
msxls? ( app-text/catdoc ) |
93 |
msppt? ( app-text/catdoc ) |
94 |
wordperfect? ( app-text/libwpd:0.9 ) |
95 |
rtf? ( app-text/unrtf ) |
96 |
tex? ( dev-tex/detex ) |
97 |
dvi? ( virtual/tex-base ) |
98 |
djvu? ( >=app-text/djvu-3.5.15 ) |
99 |
exif? ( media-libs/exiftool ) |
100 |
chm? ( dev-python/pychm ) |
101 |
ics? ( dev-python/icalendar ) |
102 |
lyx? ( app-office/lyx ) |
103 |
audio? ( media-libs/mutagen ) |
104 |
xml? ( dev-libs/libxslt ) |
105 |
info? ( sys-apps/texinfo ) |
106 |
" |
107 |
|
108 |
REQUIRED_USE="session? ( || ( fam inotify ) )" |
109 |
|
110 |
pkg_pretend() { |
111 |
if use inotify; then |
112 |
CONFIG_CHECK="~INOTIFY_USER" |
113 |
check_extra_config |
114 |
fi |
115 |
} |
116 |
|
117 |
pkg_setup() { |
118 |
python_set_active_version 2 |
119 |
python_pkg_setup |
120 |
|
121 |
local i at_least_one_helper |
122 |
|
123 |
at_least_one_helper=0 |
124 |
for i in $INDEX_HELPERS; do |
125 |
if use $i; then |
126 |
at_least_one_helper=1 |
127 |
break |
128 |
fi |
129 |
done |
130 |
if [[ $at_least_one_helper -eq 0 ]]; then |
131 |
ewarn |
132 |
ewarn "You did not enable any of the optional file format flags." |
133 |
ewarn "Recoll can read some file formats natively, but many of them" |
134 |
ewarn "are optional since they require external helpers." |
135 |
ewarn |
136 |
fi |
137 |
} |
138 |
|
139 |
src_prepare() { |
140 |
# remember configure.ac is b0rked. Fix it before using eautoreconf in the |
141 |
# future |
142 |
# eautoreconf |
143 |
|
144 |
# do not strip binaries |
145 |
sed -i -e "/STRIP/d" "${S}"/${PN}install.in \ |
146 |
|| die "Failed to fix the installation script" |
147 |
# Drop all the QMAKE lines. We will do it ourselves |
148 |
sed -i -e "/QMAKE/d" Makefile.in || die |
149 |
} |
150 |
|
151 |
src_configure() { |
152 |
local qtconf |
153 |
|
154 |
use qt4 && qtconf="QMAKEPATH=/usr/bin/qmake" |
155 |
|
156 |
econf \ |
157 |
$(use_with spell aspell) \ |
158 |
$(use_enable xattr) \ |
159 |
$(use_with inotify) \ |
160 |
$(use_enable qt4 qtgui) \ |
161 |
$(use_enable camelcase) \ |
162 |
$(use_with fam) \ |
163 |
$(use_with inotify) \ |
164 |
$(use_enable session x11mon) \ |
165 |
${qtconf} |
166 |
cd qtgui && eqmake4 ${PN}.pro && cd .. |
167 |
} |
168 |
|
169 |
src_compile() { |
170 |
# Do not let upstream people decide on our behalf |
171 |
sed -i "s:ar ru:$(tc-getAR) ru:" lib/Makefile || die |
172 |
|
173 |
emake \ |
174 |
CC=$(tc-getCC) \ |
175 |
CXX=$(tc-getCXX) \ |
176 |
CFLAGS="${CFLAGS} ${LDFLAGS}" \ |
177 |
CXXFLAGS="${CXXFLAGS} ${LDFLAGS}" |
178 |
} |
179 |
|
180 |
src_install() { |
181 |
# You probably wonder why I did not fix recollinstall in src_prepare. |
182 |
# --prefix requires an absolute path but recollinstall requires prefix |
183 |
# to be actually 'usr' because double // makes portage sad. And no, I am not |
184 |
# gonna ask upstream to fix the build system |
185 |
sed -i -e "/PREFIX/s:/usr:usr:" "${S}"/${PN}install || die |
186 |
sed -i -e "/prefix/s:/usr:usr:" "${S}"/Makefile || die |
187 |
|
188 |
emake DESTDIR="${D%/}" install |
189 |
dodoc ChangeLog README |
190 |
mv "${D}/usr/share/${PN}/doc" "${D}/usr/share/doc/${PF}/html" |
191 |
dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
elog |
196 |
elog "Default configuration files located at" |
197 |
elog "/usr/share/${PN}/examples. Either edit these files to match" |
198 |
elog "your needs or copy them to ~/.recoll/ and edit these files" |
199 |
elog "instead." |
200 |
elog |
201 |
if use xattr; then |
202 |
elog "Use flag \"xattr\" enables support for fetching field values" |
203 |
elog "from extended file attributes. You will also need to set up a" |
204 |
elog "map from the attributes names to the Recoll field names" |
205 |
elog "(see comment at the end of the fields configuration file." |
206 |
fi |
207 |
if [[ -n ${REPLACING_VERSIONS} ]]; then |
208 |
elog |
209 |
elog "1.18 introduces significant index formats" |
210 |
elog "changes to support optional character case and diacritics" |
211 |
elog "sensitivity, and it will be advisable to reset the index in" |
212 |
elog "most cases. This will be best done by destroying the index" |
213 |
elog "directory (rm -rf ~/.recoll/xapiandb). If 1.18 is not configured" |
214 |
elog "for case and diacritics sensitivity, it is mostly compatible" |
215 |
elog "with 1.17 indexes." |
216 |
elog |
217 |
fi |
218 |
} |