Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/commoncpp2: ChangeLog commoncpp2-1.8.0.ebuild
Date: Fri, 23 Apr 2010 10:18:02
Message-Id: 20100423101757.CD18D317E1@corvid.gentoo.org
1 pva 10/04/23 10:17:57
2
3 Modified: ChangeLog
4 Added: commoncpp2-1.8.0.ebuild
5 Log:
6 Version bump, bug #279505, thank Eric Womer for report. This should fix gcc-4.4 build issues.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.50 dev-cpp/commoncpp2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/ChangeLog?rev=1.50&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/ChangeLog?rev=1.50&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/ChangeLog?r1=1.49&r2=1.50
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v
19 retrieving revision 1.49
20 retrieving revision 1.50
21 diff -u -r1.49 -r1.50
22 --- ChangeLog 30 Jul 2009 07:58:34 -0000 1.49
23 +++ ChangeLog 23 Apr 2010 10:17:57 -0000 1.50
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-cpp/commoncpp2
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v 1.49 2009/07/30 07:58:34 dirtyepic Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/commoncpp2/ChangeLog,v 1.50 2010/04/23 10:17:57 pva Exp $
30 +
31 +*commoncpp2-1.8.0 (23 Apr 2010)
32 +
33 + 23 Apr 2010; Peter Volkov <pva@g.o> +commoncpp2-1.8.0.ebuild:
34 + Version bump, bug #279505, thank Eric Womer for report. This should fix
35 + gcc-4.4 build issues.
36
37 30 Jul 2009; Ryan Hill <dirtyepic@g.o> commoncpp2-1.6.3.ebuild,
38 +files/commoncpp2-1.6.3-glibc-2.10.patch:
39
40
41
42 1.1 dev-cpp/commoncpp2/commoncpp2-1.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/commoncpp2/commoncpp2-1.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: commoncpp2-1.8.0.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.8.0.ebuild,v 1.1 2010/04/23 10:17:57 pva Exp $
52
53 EAPI="2"
54 inherit eutils autotools
55
56 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"
57 SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
58 HOMEPAGE="http://www.gnu.org/software/commoncpp/"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
62 IUSE="debug doc examples ipv6 gnutls"
63
64 RDEPEND="gnutls? ( dev-libs/libgcrypt
65 net-libs/gnutls )
66 !gnutls? ( dev-libs/openssl )
67 sys-libs/zlib"
68 DEPEND="doc? ( >=app-doc/doxygen-1.3.6 )
69 ${RDEPEND}"
70
71 src_prepare() {
72 epatch "${FILESDIR}/1.6.1-gcc42_atomicity.patch"
73 epatch "${FILESDIR}/1.6.2-configure_detect_netfilter.patch" # bug 236177
74 eautoreconf
75 }
76
77 src_configure() {
78 use doc || \
79 sed -i "s/^DOXYGEN=.*/DOXYGEN=no/" configure || die "sed failed"
80
81 local myconf
82 if use gnutls; then
83 myconf="--with-gnutls --without-openssl"
84 else
85 myconf="--without-gnutls --with-openssl"
86 fi
87
88 econf \
89 $(use_enable debug) \
90 $(use_with ipv6 ) \
91 ${myconf}
92 }
93
94 src_compile() {
95 emake -j1 || die "emake failed"
96 }
97
98 src_install () {
99 emake DESTDIR="${D}" install || die "emake install failed"
100
101 dodoc AUTHORS NEWS ChangeLog README THANKS TODO COPYING.addendum
102
103 # Only install html docs
104 # man and latex available, but seems a little wasteful
105 use doc && dohtml doc/html/*
106
107 if use examples ; then
108 insinto /usr/share/doc/${PF}/examples
109 cd demo
110 doins *.cpp *.h *.xml README
111 fi
112 }
113
114 pkg_postinst() {
115 ewarn "There's a change in the ABI between version 1.5.x and 1.6.x, please"
116 ewarn "run the following command to find broken packages and rebuild them:"
117 ewarn " revdep-rebuild --library=libccext2-1.5.so"
118 }
119
120 # Some of the tests hang forever
121 #src_test() {
122 # cd "${S}/tests"
123 # emake || die "emake tests failed"
124 # ./test.sh || die "tests failed"
125 #}