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.4.1.ebuild
Date: Thu, 02 Oct 2008 22:46:49
Message-Id: E1KlWwX-0004uy-Cf@stork.gentoo.org
1 eva 08/10/02 22:46:45
2
3 Modified: ChangeLog
4 Added: gmime-2.4.1.ebuild
5 Log:
6 Version bump to 2.4.1.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.74 dev-libs/gmime/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 20 Sep 2008 22:10:38 -0000 1.73
23 +++ ChangeLog 2 Oct 2008 22:46:44 -0000 1.74
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/gmime
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v 1.73 2008/09/20 22:10:38 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/ChangeLog,v 1.74 2008/10/02 22:46:44 eva Exp $
29 +
30 +*gmime-2.4.1 (02 Oct 2008)
31 +
32 + 02 Oct 2008; Gilles Dartiguelongue <eva@g.o> +gmime-2.4.1.ebuild:
33 + Version bump to 2.4.1.
34
35 *gmime-2.2.23 (20 Sep 2008)
36
37
38
39
40 1.1 dev-libs/gmime/gmime-2.4.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/gmime-2.4.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/gmime/gmime-2.4.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gmime-2.4.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gmime/gmime-2.4.1.ebuild,v 1.1 2008/10/02 22:46:44 eva Exp $
50
51 inherit gnome2 eutils mono libtool
52
53 DESCRIPTION="Utilities for creating and parsing messages using MIME"
54 HOMEPAGE="http://spruce.sourceforge.net/gmime/"
55
56 SLOT="2.4"
57 LICENSE="LGPL-2.1"
58 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
59 IUSE="doc mono"
60
61 RDEPEND=">=dev-libs/glib-2.12
62 mono? ( dev-lang/mono
63 >=dev-dotnet/gtk-sharp-2.4.0 )
64 sys-libs/zlib"
65 DEPEND="${RDEPEND}
66 dev-util/pkgconfig
67 doc? (
68 >=dev-util/gtk-doc-1.0
69 app-text/docbook-sgml-utils )"
70
71 DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS PORTING README TODO doc/html/"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 if use doc ; then
78 #db2html should be docbook2html
79 sed -i -e 's:db2html:docbook2html -o gmime-tut:g' \
80 docs/tutorial/Makefile.am docs/tutorial/Makefile.in \
81 || die "sed failed (1)"
82 # Fix doc targets (bug #97154)
83 sed -i -e 's!\<\(tmpl-build.stamp\): !\1 $(srcdir)/tmpl/*.sgml: !' \
84 gtk-doc.make docs/reference/Makefile.in || die "sed failed (3)"
85 fi
86
87 # Use correct libdir for mono assembly
88 sed -i -e 's:^libdir.*:libdir=@libdir@:' \
89 -e 's:^prefix=:exec_prefix=:' \
90 -e 's:prefix)/lib:libdir):' \
91 mono/gmime-sharp-2.4.pc.in mono/Makefile.{am,in} || die "sed failed (2)"
92
93 elibtoolize
94 }
95
96 src_compile() {
97 econf $(use_enable mono) $(use_enable doc gtk-doc)
98 MONO_PATH="${S}" emake || die "emake failed"
99 }
100
101 src_install() {
102 emake GACUTIL_FLAGS="/root '${D}/usr/$(get_libdir)' /gacdir /usr/$(get_libdir) /package ${PN}" \
103 DESTDIR="${D}" install || die "installation failed"
104
105 if use doc ; then
106 # we don't use docinto/dodoc, because we don't want html doc gzipped
107 insinto /usr/share/doc/${PF}/tutorial
108 doins docs/tutorial/html/*
109 fi
110
111 # rename these two, so they don't conflict with app-arch/sharutils
112 # (bug #70392) Ticho, 2004-11-10
113 mv "${D}/usr/bin/uuencode" "${D}/usr/bin/gmime-uuencode-${SLOT}"
114 mv "${D}/usr/bin/uudecode" "${D}/usr/bin/gmime-uudecode-${SLOT}"
115 }