1 |
eva 10/10/28 21:15:38 |
2 |
|
3 |
Modified: ChangeLog gmime-2.4.19.ebuild |
4 |
Added: gmime-2.4.20.ebuild |
5 |
Log: |
6 |
Version bump. Fix various ebuild issues and most notably html tutorial generation, bug #340198. |
7 |
|
8 |
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.125 dev-libs/gmime/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/ChangeLog?rev=1.125&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/ChangeLog?rev=1.125&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/ChangeLog?r1=1.124&r2=1.125 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v |
20 |
retrieving revision 1.124 |
21 |
retrieving revision 1.125 |
22 |
diff -u -r1.124 -r1.125 |
23 |
--- ChangeLog 13 Sep 2010 16:33:47 -0000 1.124 |
24 |
+++ ChangeLog 28 Oct 2010 21:15:38 -0000 1.125 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-libs/gmime |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v 1.124 2010/09/13 16:33:47 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v 1.125 2010/10/28 21:15:38 eva Exp $ |
30 |
+ |
31 |
+*gmime-2.4.20 (28 Oct 2010) |
32 |
+ |
33 |
+ 28 Oct 2010; Gilles Dartiguelongue <eva@g.o> gmime-2.4.19.ebuild, |
34 |
+ +gmime-2.4.20.ebuild: |
35 |
+ Version bump. Fix various ebuild issues and most notably html tutorial |
36 |
+ generation, bug #340198. |
37 |
|
38 |
*gmime-2.4.19 (13 Sep 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.2 dev-libs/gmime/gmime-2.4.19.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/gmime-2.4.19.ebuild?rev=1.2&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/gmime-2.4.19.ebuild?rev=1.2&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/gmime-2.4.19.ebuild?r1=1.1&r2=1.2 |
48 |
|
49 |
Index: gmime-2.4.19.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.19.ebuild,v |
52 |
retrieving revision 1.1 |
53 |
retrieving revision 1.2 |
54 |
diff -u -r1.1 -r1.2 |
55 |
--- gmime-2.4.19.ebuild 13 Sep 2010 16:33:47 -0000 1.1 |
56 |
+++ gmime-2.4.19.ebuild 28 Oct 2010 21:15:38 -0000 1.2 |
57 |
@@ -1,6 +1,8 @@ |
58 |
# Copyright 1999-2010 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.19.ebuild,v 1.1 2010/09/13 16:33:47 pacho Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.19.ebuild,v 1.2 2010/10/28 21:15:38 eva Exp $ |
62 |
+ |
63 |
+EAPI="2" |
64 |
|
65 |
inherit gnome2 eutils mono libtool |
66 |
|
67 |
@@ -24,17 +26,18 @@ |
68 |
app-text/docbook-sgml-utils ) |
69 |
mono? ( dev-dotnet/gtk-sharp-gapi )" |
70 |
|
71 |
-DOCS="AUTHORS ChangeLog NEWS PORTING README TODO doc/html/" |
72 |
+DOCS="AUTHORS ChangeLog NEWS PORTING README TODO" |
73 |
|
74 |
-src_unpack() { |
75 |
- unpack ${A} |
76 |
- cd "${S}" |
77 |
+src_prepare() { |
78 |
+ gnome2_src_prepare |
79 |
|
80 |
if use doc ; then |
81 |
# db2html should be docbook2html |
82 |
+ sed -i -e 's:db2html:docbook2html:' \ |
83 |
+ configure.in configure || die "sed failed (1)" |
84 |
sed -i -e 's:db2html:docbook2html -o gmime-tut:g' \ |
85 |
docs/tutorial/Makefile.am docs/tutorial/Makefile.in \ |
86 |
- || die "sed failed (1)" |
87 |
+ || die "sed failed (2)" |
88 |
# Fix doc targets (bug #97154) |
89 |
sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \ |
90 |
gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)" |
91 |
@@ -44,14 +47,20 @@ |
92 |
sed -i -e 's:^libdir.*:libdir=@libdir@:' \ |
93 |
-e 's:^prefix=:exec_prefix=:' \ |
94 |
-e 's:prefix)/lib:libdir):' \ |
95 |
- mono/gmime-sharp-2.4.pc.in mono/Makefile.{am,in} || die "sed failed (2)" |
96 |
+ mono/gmime-sharp-2.4.pc.in mono/Makefile.{am,in} || die "sed failed (4)" |
97 |
|
98 |
elibtoolize |
99 |
} |
100 |
|
101 |
-src_compile() { |
102 |
+src_configure() { |
103 |
econf $(use_enable mono) $(use_enable doc gtk-doc) --enable-cryptography |
104 |
+} |
105 |
+ |
106 |
+src_compile() { |
107 |
MONO_PATH="${S}" emake || die "emake failed" |
108 |
+ if use doc; then |
109 |
+ emake -C docs/tutorial html || die "emake html failed" |
110 |
+ fi |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
@@ -64,6 +73,8 @@ |
115 |
doins docs/tutorial/html/* |
116 |
fi |
117 |
|
118 |
+ dodoc $DOCS || die "dodoc failed" |
119 |
+ |
120 |
# rename these two, so they don't conflict with app-arch/sharutils |
121 |
# (bug #70392) Ticho, 2004-11-10 |
122 |
mv "${D}/usr/bin/uuencode" "${D}/usr/bin/gmime-uuencode-${SLOT}" |
123 |
|
124 |
|
125 |
|
126 |
1.1 dev-libs/gmime/gmime-2.4.20.ebuild |
127 |
|
128 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/gmime-2.4.20.ebuild?rev=1.1&view=markup |
129 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gmime/gmime-2.4.20.ebuild?rev=1.1&content-type=text/plain |
130 |
|
131 |
Index: gmime-2.4.20.ebuild |
132 |
=================================================================== |
133 |
# Copyright 1999-2010 Gentoo Foundation |
134 |
# Distributed under the terms of the GNU General Public License v2 |
135 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.20.ebuild,v 1.1 2010/10/28 21:15:38 eva Exp $ |
136 |
|
137 |
EAPI="2" |
138 |
|
139 |
inherit gnome2 eutils mono libtool |
140 |
|
141 |
DESCRIPTION="Utilities for creating and parsing messages using MIME" |
142 |
HOMEPAGE="http://spruce.sourceforge.net/gmime/" |
143 |
|
144 |
SLOT="2.4" |
145 |
LICENSE="LGPL-2.1" |
146 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
147 |
IUSE="doc mono" |
148 |
|
149 |
RDEPEND=">=dev-libs/glib-2.12 |
150 |
sys-libs/zlib |
151 |
mono? ( |
152 |
dev-lang/mono |
153 |
>=dev-dotnet/gtk-sharp-2.4.0 )" |
154 |
DEPEND="${RDEPEND} |
155 |
dev-util/pkgconfig |
156 |
doc? ( |
157 |
>=dev-util/gtk-doc-1.8 |
158 |
app-text/docbook-sgml-utils ) |
159 |
mono? ( dev-dotnet/gtk-sharp-gapi )" |
160 |
|
161 |
DOCS="AUTHORS ChangeLog NEWS PORTING README TODO" |
162 |
|
163 |
src_prepare() { |
164 |
gnome2_src_prepare |
165 |
|
166 |
if use doc ; then |
167 |
# db2html should be docbook2html |
168 |
sed -i -e 's:db2html:docbook2html:' \ |
169 |
configure.in configure || die "sed failed (1)" |
170 |
sed -i -e 's:db2html:docbook2html -o gmime-tut:g' \ |
171 |
docs/tutorial/Makefile.am docs/tutorial/Makefile.in \ |
172 |
|| die "sed failed (2)" |
173 |
# Fix doc targets (bug #97154) |
174 |
sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \ |
175 |
gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)" |
176 |
fi |
177 |
|
178 |
# Use correct libdir for mono assembly |
179 |
sed -i -e 's:^libdir.*:libdir=@libdir@:' \ |
180 |
-e 's:^prefix=:exec_prefix=:' \ |
181 |
-e 's:prefix)/lib:libdir):' \ |
182 |
mono/gmime-sharp-2.4.pc.in mono/Makefile.{am,in} || die "sed failed (4)" |
183 |
|
184 |
elibtoolize |
185 |
} |
186 |
|
187 |
src_configure() { |
188 |
econf $(use_enable mono) $(use_enable doc gtk-doc) --enable-cryptography |
189 |
} |
190 |
|
191 |
src_compile() { |
192 |
MONO_PATH="${S}" emake || die "emake failed" |
193 |
if use doc; then |
194 |
emake -C docs/tutorial html || die "emake html failed" |
195 |
fi |
196 |
} |
197 |
|
198 |
src_install() { |
199 |
emake GACUTIL_FLAGS="/root '${D}/usr/$(get_libdir)' /gacdir /usr/$(get_libdir) /package ${PN}" \ |
200 |
DESTDIR="${D}" install || die "installation failed" |
201 |
|
202 |
if use doc ; then |
203 |
# we don't use docinto/dodoc, because we don't want html doc gzipped |
204 |
insinto /usr/share/doc/${PF}/tutorial |
205 |
doins docs/tutorial/html/* |
206 |
fi |
207 |
|
208 |
dodoc $DOCS || die "dodoc failed" |
209 |
|
210 |
# rename these two, so they don't conflict with app-arch/sharutils |
211 |
# (bug #70392) Ticho, 2004-11-10 |
212 |
mv "${D}/usr/bin/uuencode" "${D}/usr/bin/gmime-uuencode-${SLOT}" |
213 |
mv "${D}/usr/bin/uudecode" "${D}/usr/bin/gmime-uudecode-${SLOT}" |
214 |
} |