Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/log4cplus: ChangeLog log4cplus-1.1.2.ebuild log4cplus-1.1.0.ebuild
Date: Sat, 22 Feb 2014 14:52:12
Message-Id: 20140222145209.C94772004C@flycatcher.gentoo.org
1 idl0r 14/02/22 14:52:09
2
3 Modified: ChangeLog
4 Added: log4cplus-1.1.2.ebuild
5 Removed: log4cplus-1.1.0.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B427ABC8)
10
11 Revision Changes Path
12 1.5 dev-libs/log4cplus/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/log4cplus/ChangeLog?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/log4cplus/ChangeLog?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/log4cplus/ChangeLog?r1=1.4&r2=1.5
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/log4cplus/ChangeLog,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- ChangeLog 12 May 2013 11:04:35 -0000 1.4
25 +++ ChangeLog 22 Feb 2014 14:52:09 -0000 1.5
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/log4cplus
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cplus/ChangeLog,v 1.4 2013/05/12 11:04:35 patrick Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cplus/ChangeLog,v 1.5 2014/02/22 14:52:09 idl0r Exp $
32 +
33 +*log4cplus-1.1.2 (22 Feb 2014)
34 +
35 + 22 Feb 2014; Christian Ruppert <idl0r@g.o> -log4cplus-1.1.0.ebuild,
36 + +log4cplus-1.1.2.ebuild:
37 + Version bump
38
39 12 May 2013; Patrick Lauer <patrick@g.o> metadata.xml:
40 Remove obsolete useflag from metadata.xml
41
42
43
44 1.1 dev-libs/log4cplus/log4cplus-1.1.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/log4cplus/log4cplus-1.1.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/log4cplus/log4cplus-1.1.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: log4cplus-1.1.2.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/log4cplus/log4cplus-1.1.2.ebuild,v 1.1 2014/02/22 14:52:09 idl0r Exp $
54
55 EAPI=5
56
57 DESCRIPTION="C++ port of the Log for Java (log4j) logging library"
58 HOMEPAGE="http://log4cplus.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/project/${PN}/${PN}-stable/${PV}/${P}.tar.bz2"
60
61 LICENSE="|| ( Apache-2.0 BSD-2 )"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="iconv test threads working-locale working-c-locale qt4"
65
66 REQUIRED_USE="iconv? ( !working-locale !working-c-locale )
67 working-locale? ( !iconv !working-c-locale )
68 working-c-locale? ( !iconv !working-locale )"
69
70 RDEPEND="iconv? ( virtual/libiconv )
71 qt4? ( dev-qt/qtcore:4 )"
72 DEPEND="virtual/pkgconfig
73 ${RDEPEND}"
74
75 DOCS="AUTHORS ChangeLog NEWS README TODO docs/unicode.txt"
76
77 src_prepare() {
78 default
79
80 if ! use test; then
81 sed -i -e 's:tests::' Makefile.in || die
82 fi
83 }
84
85 src_configure() {
86 econf \
87 --disable-static \
88 $(use_enable threads) \
89 $(use_with iconv) \
90 $(use_with working-locale) \
91 $(use_with working-c-locale) \
92 $(use_with qt4 qt)
93 }
94
95 src_test() {
96 cd tests/
97
98 for dir in appender customloglevel fileappender filter \
99 hierarchy loglog ndc ostream patternlayout performance priority \
100 propertyconfig timeformat; do
101 einfo "Running test \"${dir}_test\""
102 pushd "${dir}_test/" 1>/dev/null
103 ./${dir}_test || die "Running ${dir}_test failed!"
104 popd 1>/dev/null
105 done
106
107 if use threads; then
108 for dir in configandwatch thread; do
109 einfo "Running test \"${dir}_test\""
110 pushd "${dir}_test/" 1>/dev/null
111 ./${dir}_test || die "Running ${dir}_test failed!"
112 popd 1>/dev/null
113 done
114 fi
115 }