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/libsigc++: ChangeLog libsigc++-2.2.3.ebuild
Date: Sat, 29 Nov 2008 20:03:37
Message-Id: E1L6W2Q-0000c6-0S@stork.gentoo.org
1 eva 08/11/29 20:03:34
2
3 Modified: ChangeLog
4 Added: libsigc++-2.2.3.ebuild
5 Log:
6 Bump to 2.2.3.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.130 dev-libs/libsigc++/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libsigc++/ChangeLog?rev=1.130&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libsigc++/ChangeLog?rev=1.130&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libsigc++/ChangeLog?r1=1.129&r2=1.130
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/ChangeLog,v
19 retrieving revision 1.129
20 retrieving revision 1.130
21 diff -u -r1.129 -r1.130
22 --- ChangeLog 5 Nov 2008 11:01:00 -0000 1.129
23 +++ ChangeLog 29 Nov 2008 20:03:33 -0000 1.130
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/libsigc++
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/ChangeLog,v 1.129 2008/11/05 11:01:00 remi Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/ChangeLog,v 1.130 2008/11/29 20:03:33 eva Exp $
29 +
30 +*libsigc++-2.2.3 (29 Nov 2008)
31 +
32 + 29 Nov 2008; Gilles Dartiguelongue <eva@g.o>
33 + +libsigc++-2.2.3.ebuild:
34 + Bump to 2.2.3.
35
36 05 Nov 2008; RĂ©mi Cardona <remi@g.o> -libsigc++-1.0.4-r2.ebuild:
37 remove old ebuild
38
39
40
41 1.1 dev-libs/libsigc++/libsigc++-2.2.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libsigc++/libsigc++-2.2.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libsigc++/libsigc++-2.2.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libsigc++-2.2.3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libsigc++/libsigc++-2.2.3.ebuild,v 1.1 2008/11/29 20:03:33 eva Exp $
51
52 inherit eutils gnome.org flag-o-matic
53
54 DESCRIPTION="Typesafe callback system for standard C++"
55 HOMEPAGE="http://libsigc.sourceforge.net/"
56
57 LICENSE="LGPL-2.1"
58 SLOT="2"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="debug doc test"
61
62 src_unpack() {
63 unpack ${A}
64 cd "${S}"
65
66 # don't waste time building examples/docs
67 sed -i 's|^\(SUBDIRS =.*\)docs examples\(.*\)$|\1\2|' Makefile.in || \
68 die "sed docs/examples failed"
69
70 # don't waste time building tests unless USE=test
71 if ! use test ; then
72 sed -i 's|^\(SUBDIRS =.*\)tests\(.*\)$|\1\2|' Makefile.in || \
73 die "sed tests failed"
74 fi
75
76 # fix image paths
77 if use doc ; then
78 sed -i 's|../../images/||g' docs/reference/html/*.html || \
79 die "sed failed"
80 fi
81 }
82
83 src_compile() {
84 filter-flags -fno-exceptions
85
86 local myconf
87 use debug \
88 && myconf="--enable-debug=yes" \
89 || myconf="--enable-debug=no"
90
91 econf ${myconf} || die "econf failed."
92 emake || die "emake failed"
93 }
94
95 src_install() {
96 make DESTDIR="${D}" install || die "make install failed."
97 rm -fr "${D}"/usr/share
98 dodoc AUTHORS ChangeLog README NEWS TODO
99
100 if use doc ; then
101 dohtml -r docs/reference/html/* docs/images/*
102 cp -R examples "${D}"/usr/share/doc/${PF}/
103 fi
104 }
105
106 pkg_postinst() {
107 ewarn "To allow parallel installation of sigc++-1.0, sigc++-1.2, and sigc++2.0"
108 ewarn "the header files are now installed in a version specific"
109 ewarn "subdirectory. Be sure to unmerge any libsigc++ versions"
110 ewarn "< 1.0.4 that you may have previously installed."
111 }