1 |
aidecoe 14/06/25 11:36:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: notmuch-0.18.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
NEWS |
9 |
~~~~ |
10 |
This is a bug fix and portability release. |
11 |
|
12 |
Build System |
13 |
------------ |
14 |
|
15 |
Make emacs install robust against the non-existence of emacs |
16 |
Put notmuch lib directory first in RPATH |
17 |
Fix handling of html_static_path in sphinx |
18 |
|
19 |
Test Suite |
20 |
---------- |
21 |
|
22 |
Use --quick when starting emacs (avoids a hang in the T160-json tests) |
23 |
Allow pending break points in atomicity script |
24 |
|
25 |
Command-Line Interface |
26 |
---------------------- |
27 |
|
28 |
To improve portability use fsync instead of fdatasync in |
29 |
`notmuch-dump`. There should be no functional difference. |
30 |
|
31 |
Library changes |
32 |
--------------- |
33 |
|
34 |
Resurrect support for single-message mbox files |
35 |
Fix for phrase indexing |
36 |
|
37 |
Emacs Interface |
38 |
--------------- |
39 |
|
40 |
Make sure tagging on an empty query is harmless |
41 |
|
42 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5) |
43 |
|
44 |
Revision Changes Path |
45 |
1.94 net-mail/notmuch/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.94&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.94&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?r1=1.93&r2=1.94 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v |
54 |
retrieving revision 1.93 |
55 |
retrieving revision 1.94 |
56 |
diff -u -r1.93 -r1.94 |
57 |
--- ChangeLog 20 May 2014 13:03:35 -0000 1.93 |
58 |
+++ ChangeLog 25 Jun 2014 11:36:09 -0000 1.94 |
59 |
@@ -1,6 +1,46 @@ |
60 |
# ChangeLog for net-mail/notmuch |
61 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.93 2014/05/20 13:03:35 aidecoe Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.94 2014/06/25 11:36:09 aidecoe Exp $ |
64 |
+ |
65 |
+*notmuch-0.18.1 (25 Jun 2014) |
66 |
+ |
67 |
+ 25 Jun 2014; Amadeusz Żołnowski <aidecoe@g.o> |
68 |
+ +notmuch-0.18.1.ebuild: |
69 |
+ Version bump. |
70 |
+ |
71 |
+ NEWS |
72 |
+ ~~~~ |
73 |
+ This is a bug fix and portability release. |
74 |
+ |
75 |
+ Build System |
76 |
+ ------------ |
77 |
+ |
78 |
+ Make emacs install robust against the non-existence of emacs |
79 |
+ Put notmuch lib directory first in RPATH |
80 |
+ Fix handling of html_static_path in sphinx |
81 |
+ |
82 |
+ Test Suite |
83 |
+ ---------- |
84 |
+ |
85 |
+ Use --quick when starting emacs (avoids a hang in the T160-json tests) |
86 |
+ Allow pending break points in atomicity script |
87 |
+ |
88 |
+ Command-Line Interface |
89 |
+ ---------------------- |
90 |
+ |
91 |
+ To improve portability use fsync instead of fdatasync in |
92 |
+ `notmuch-dump`. There should be no functional difference. |
93 |
+ |
94 |
+ Library changes |
95 |
+ --------------- |
96 |
+ |
97 |
+ Resurrect support for single-message mbox files |
98 |
+ Fix for phrase indexing |
99 |
+ |
100 |
+ Emacs Interface |
101 |
+ --------------- |
102 |
+ |
103 |
+ Make sure tagging on an empty query is harmless |
104 |
|
105 |
20 May 2014; Amadeusz Żołnowski <aidecoe@g.o> -notmuch-0.18.ebuild: |
106 |
Removed old revision of 0.18. |
107 |
|
108 |
|
109 |
|
110 |
1.1 net-mail/notmuch/notmuch-0.18.1.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.18.1.ebuild?rev=1.1&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.18.1.ebuild?rev=1.1&content-type=text/plain |
114 |
|
115 |
Index: notmuch-0.18.1.ebuild |
116 |
=================================================================== |
117 |
# Copyright 1999-2014 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.18.1.ebuild,v 1.1 2014/06/25 11:36:09 aidecoe Exp $ |
120 |
|
121 |
EAPI=5 |
122 |
|
123 |
DISTUTILS_OPTIONAL=1 |
124 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
125 |
|
126 |
inherit elisp-common eutils pax-utils distutils-r1 toolchain-funcs |
127 |
|
128 |
DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging" |
129 |
HOMEPAGE="http://notmuchmail.org/" |
130 |
SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz" |
131 |
|
132 |
LICENSE="GPL-3" |
133 |
SLOT="0" |
134 |
KEYWORDS="~amd64 ~x86" |
135 |
REQUIRED_USE=" |
136 |
python? ( ${PYTHON_REQUIRED_USE} ) |
137 |
test? ( crypt emacs python ) |
138 |
" |
139 |
IUSE="bash-completion crypt debug doc emacs mutt nmbug python test |
140 |
zsh-completion" |
141 |
|
142 |
CDEPEND=" |
143 |
>=dev-libs/glib-2.22 |
144 |
>=dev-libs/gmime-2.6.7 |
145 |
!=dev-libs/gmime-2.6.19 |
146 |
<dev-libs/xapian-1.3 |
147 |
>=sys-libs/zlib-1.2.5.2 |
148 |
sys-libs/talloc |
149 |
debug? ( dev-util/valgrind ) |
150 |
emacs? ( >=virtual/emacs-23 ) |
151 |
python? ( ${PYTHON_DEPS} ) |
152 |
x86? ( >=dev-libs/xapian-1.2.7-r2 ) |
153 |
" |
154 |
DEPEND="${CDEPEND} |
155 |
virtual/pkgconfig |
156 |
doc? ( python? ( dev-python/sphinx[${PYTHON_USEDEP}] ) ) |
157 |
test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2] |
158 |
>=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb ) |
159 |
" |
160 |
RDEPEND="${CDEPEND} |
161 |
bash-completion? ( >=app-shells/bash-completion-1.9 ) |
162 |
crypt? ( app-crypt/gnupg ) |
163 |
nmbug? ( dev-vcs/git virtual/perl-File-Temp virtual/perl-PodParser ) |
164 |
mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools |
165 |
dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu |
166 |
virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long |
167 |
virtual/perl-PodParser |
168 |
) |
169 |
zsh-completion? ( app-shells/zsh ) |
170 |
" |
171 |
|
172 |
DOCS=( AUTHORS NEWS README ) |
173 |
SITEFILE="50${PN}-gentoo.el" |
174 |
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib" |
175 |
MY_PATCHES=( ) |
176 |
|
177 |
bindings() { |
178 |
local ret=0 |
179 |
|
180 |
if use $1; then |
181 |
pushd bindings/$1 || die |
182 |
shift |
183 |
"$@" |
184 |
ret=$? |
185 |
popd || die |
186 |
fi |
187 |
|
188 |
return $ret |
189 |
} |
190 |
|
191 |
pkg_pretend() { |
192 |
if has_version '<net-mail/notmuch-0.18'; then |
193 |
ewarn |
194 |
ewarn "Notmuch 0.18 comes with few not backward compatible changes." |
195 |
ewarn "See NEWS file for details before first use!" |
196 |
ewarn |
197 |
fi |
198 |
} |
199 |
|
200 |
pkg_setup() { |
201 |
if use emacs; then |
202 |
elisp-need-emacs 23 || die "Emacs version too low" |
203 |
fi |
204 |
} |
205 |
|
206 |
src_prepare() { |
207 |
[[ "${MY_PATCHES[@]}" ]] && epatch "${MY_PATCHES[@]}" |
208 |
|
209 |
default |
210 |
bindings python distutils-r1_src_prepare |
211 |
bindings python mv README README-python || die |
212 |
mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die |
213 |
} |
214 |
|
215 |
src_configure() { |
216 |
local myeconfargs=( |
217 |
--bashcompletiondir="${ROOT}/usr/share/bash-completion" |
218 |
--emacslispdir="${ROOT}/${SITELISP}/${PN}" |
219 |
--emacsetcdir="${ROOT}/${SITEETC}/${PN}" |
220 |
--with-gmime-version=2.6 |
221 |
--zshcompletiondir="${ROOT}/usr/share/zsh/site-functions" |
222 |
$(use_with bash-completion) |
223 |
$(use_with emacs) |
224 |
$(use_with zsh-completion) |
225 |
) |
226 |
tc-export CC CXX |
227 |
econf "${myeconfargs[@]}" |
228 |
} |
229 |
|
230 |
src_compile() { |
231 |
V=1 default |
232 |
bindings python distutils-r1_src_compile |
233 |
|
234 |
if use mutt; then |
235 |
pushd contrib/notmuch-mutt || die |
236 |
emake notmuch-mutt.1 |
237 |
popd || die |
238 |
fi |
239 |
|
240 |
if use doc; then |
241 |
pydocs() { |
242 |
pushd docs || die |
243 |
emake html |
244 |
mv html ../python || die |
245 |
popd || die |
246 |
} |
247 |
LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs |
248 |
fi |
249 |
} |
250 |
|
251 |
src_test() { |
252 |
pax-mark -m notmuch |
253 |
LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" default |
254 |
pax-mark -ze notmuch |
255 |
} |
256 |
|
257 |
src_install() { |
258 |
default |
259 |
|
260 |
if use emacs; then |
261 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
262 |
fi |
263 |
|
264 |
if use nmbug; then |
265 |
dobin devel/nmbug/nmbug |
266 |
dobin devel/nmbug/nmbug-status |
267 |
fi |
268 |
|
269 |
if use mutt; then |
270 |
[[ -e /etc/mutt/notmuch-mutt.rc ]] && NOTMUCH_MUTT_RC_EXISTS=1 |
271 |
pushd contrib/notmuch-mutt || die |
272 |
dobin notmuch-mutt |
273 |
doman notmuch-mutt.1 |
274 |
insinto /etc/mutt |
275 |
doins notmuch-mutt.rc |
276 |
dodoc README-mutt |
277 |
popd || die |
278 |
fi |
279 |
|
280 |
DOCS="" bindings python distutils-r1_src_install |
281 |
use doc && bindings python dohtml -r python |
282 |
} |
283 |
|
284 |
pkg_postinst() { |
285 |
use emacs && elisp-site-regen |
286 |
|
287 |
if use mutt && [[ ! ${NOTMUCH_MUTT_RC_EXISTS} ]]; then |
288 |
elog "To enable notmuch support in mutt, add the following line into" |
289 |
elog "your mutt config file, please:" |
290 |
elog "" |
291 |
elog " source /etc/mutt/notmuch-mutt.rc" |
292 |
fi |
293 |
} |
294 |
|
295 |
pkg_postrm() { |
296 |
use emacs && elisp-site-regen |
297 |
} |