Gentoo Archives: gentoo-commits

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