Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/commoncpp2: ChangeLog commoncpp2-1.6.1.ebuild
Date: Mon, 24 Dec 2007 09:32:03
Message-Id: E1J6jfA-0003ac-B2@stork.gentoo.org
1 dev-zero 07/12/24 09:31:56
2
3 Modified: ChangeLog
4 Added: commoncpp2-1.6.1.ebuild
5 Log:
6 Version bump, fixes compile problems with gcc-4.2 (bug #187206). Added '-j1' to avoid parallel build problems (thanks to dragonheart)
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.35 dev-cpp/commoncpp2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 16 Aug 2007 09:52:51 -0000 1.34
23 +++ ChangeLog 24 Dec 2007 09:31:55 -0000 1.35
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-cpp/commoncpp2
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v 1.34 2007/08/16 09:52:51 dertobi123 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v 1.35 2007/12/24 09:31:55 dev-zero Exp $
29 +
30 +*commoncpp2-1.6.1 (24 Dec 2007)
31 +
32 + 24 Dec 2007; Tiziano Müller <dev-zero@g.o>
33 + +files/1.6.1-gcc42_atomicity.patch, +commoncpp2-1.6.1.ebuild:
34 + Version bump, fixes compile problems with gcc-4.2 (bug #187206). Added '-j1'
35 + to avoid parallel build problems (thanks to dragonheart)
36
37 16 Aug 2007; Tobias Scherbaum <dertobi123@g.o>
38 commoncpp2-1.5.7.ebuild:
39
40
41
42 1.1 dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: commoncpp2-1.6.1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.6.1.ebuild,v 1.1 2007/12/24 09:31:55 dev-zero Exp $
52
53 inherit eutils autotools
54
55 DESCRIPTION="GNU Common C++ is a C++ framework offering portable support for threading, sockets, file access, daemons, persistence, serial I/O, XML parsing, and system services"
56 SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
57 HOMEPAGE="http://www.gnu.org/software/commoncpp/"
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
61 IUSE="debug doc examples ipv6 gnutls"
62
63 RDEPEND="gnutls? ( dev-libs/libgcrypt
64 net-libs/gnutls )
65 !gnutls? ( dev-libs/openssl )
66 sys-libs/zlib"
67 DEPEND="doc? ( >=app-doc/doxygen-1.3.6 )
68 ${RDEPEND}"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73
74 epatch "${FILESDIR}/${PV}-gcc42_atomicity.patch"
75 eautoconf
76 }
77
78 src_compile() {
79 use doc || \
80 sed -i "s/^DOXYGEN=.*/DOXYGEN=no/" configure || die "sed failed"
81
82 local myconf
83 use gnutls || myconf="--with-openssl"
84
85 econf \
86 $(use_enable debug) \
87 $(use_with ipv6 ) \
88 ${myconf} || die "econf failed"
89 emake -j1 || die "emake failed"
90 }
91
92 src_install () {
93 emake DESTDIR="${D}" install || die "emake install failed"
94
95 dodoc AUTHORS NEWS ChangeLog README THANKS TODO COPYING.addendum
96
97 # Only install html docs
98 # man and latex available, but seems a little wasteful
99 use doc && dohtml doc/html/*
100
101 if use examples ; then
102 insinto /usr/share/doc/${PF}/examples
103 cd demo
104 doins *.cpp *.h *.xml README
105 fi
106 }
107
108 # Some of the tests hang forever
109 #src_test() {
110 # cd "${S}/tests"
111 # emake || die "emake tests failed"
112 # ./test.sh || die "tests failed"
113 #}
114
115
116
117 --
118 gentoo-commits@g.o mailing list