Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/google-perftools: google-perftools-2.0.ebuild google-perftools-1.10.ebuild ChangeLog google-perftools-1.6.ebuild google-perftools-1.7.ebuild
Date: Fri, 06 Jul 2012 00:58:15
Message-Id: 20120706005734.E86AA2004B@flycatcher.gentoo.org
1 flameeyes 12/07/06 00:57:34
2
3 Modified: ChangeLog
4 Added: google-perftools-2.0.ebuild
5 google-perftools-1.10.ebuild
6 Removed: google-perftools-1.6.ebuild
7 google-perftools-1.7.ebuild
8 Log:
9 Version bump (both 1.10 and 2.0, the latter masked). Remove old versions.
10
11 (Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.18 dev-util/google-perftools/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?rev=1.18&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?rev=1.18&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?r1=1.17&r2=1.18
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v
23 retrieving revision 1.17
24 retrieving revision 1.18
25 diff -u -r1.17 -r1.18
26 --- ChangeLog 25 Jun 2012 06:28:33 -0000 1.17
27 +++ ChangeLog 6 Jul 2012 00:57:34 -0000 1.18
28 @@ -1,6 +1,15 @@
29 # ChangeLog for dev-util/google-perftools
30 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.17 2012/06/25 06:28:33 jdhore Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.18 2012/07/06 00:57:34 flameeyes Exp $
33 +
34 +*google-perftools-2.0 (06 Jul 2012)
35 +*google-perftools-1.10 (06 Jul 2012)
36 +
37 + 06 Jul 2012; Diego E. Pettenò <flameeyes@g.o>
38 + +google-perftools-1.10.ebuild, +google-perftools-2.0.ebuild,
39 + -files/google-perftools-1.7-syntax.patch, -google-perftools-1.6.ebuild,
40 + -google-perftools-1.7.ebuild:
41 + Version bump (both 1.10 and 2.0, the latter masked). Remove old versions.
42
43 25 Jun 2012; Jeff Horelick <jdhore@g.o> google-perftools-1.8.3.ebuild:
44 marked x86 per bug 418445
45 @@ -89,4 +98,3 @@
46 Initial import of google's perftools package, from Sven Wegener
47 (swegener)'s overlay, upon request by Pavel Stratil. Tests restricted as
48 per bug #290249.
49 -
50
51
52
53 1.1 dev-util/google-perftools/google-perftools-2.0.ebuild
54
55 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-2.0.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-2.0.ebuild?rev=1.1&content-type=text/plain
57
58 Index: google-perftools-2.0.ebuild
59 ===================================================================
60 # Copyright 1999-2012 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/google-perftools-2.0.ebuild,v 1.1 2012/07/06 00:57:34 flameeyes Exp $
63
64 EAPI=4
65
66 MY_P="gperftools-${PV}"
67
68 inherit toolchain-funcs eutils flag-o-matic
69
70 DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
71 HOMEPAGE="http://code.google.com/p/gperftools/"
72 SRC_URI="http://gperftools.googlecode.com/files/${MY_P}.tar.gz"
73
74 LICENSE="MIT"
75 SLOT="0"
76 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
77 IUSE="largepages +debug minimal test"
78
79 DEPEND="sys-libs/libunwind"
80 RDEPEND="${DEPEND}"
81
82 S="${WORKDIR}/${MY_P}"
83
84 pkg_setup() {
85 # set up the make options in here so that we can actually make use
86 # of them on both compile and install.
87
88 # Avoid building the unit testing if we're not going to execute
89 # tests; this trick here allows us to ignore the tests without
90 # touching the build system (and thus without rebuilding
91 # autotools). Keep commented as long as it's restricted.
92 use test || \
93 makeopts="${makeopts} noinst_PROGRAMS= "
94
95 # don't install _anything_ from the documentation, since it would
96 # install it in non-standard locations, and would just waste time.
97 makeopts="${makeopts} dist_doc_DATA= "
98 }
99
100 src_configure() {
101 use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES
102
103 append-flags -fno-strict-aliasing
104
105 econf \
106 --disable-static \
107 --disable-dependency-tracking \
108 --enable-fast-install \
109 $(use_enable debug debugalloc) \
110 $(use_enable minimal)
111 }
112
113 src_compile() {
114 emake ${makeopts}
115 }
116
117 src_test() {
118 case "${LD_PRELOAD}" in
119 *libsandbox*)
120 ewarn "Unable to run tests when sanbox is enabled."
121 ewarn "See http://bugs.gentoo.org/290249"
122 return 0
123 ;;
124 esac
125
126 emake check
127 }
128
129 src_install() {
130 emake DESTDIR="${D}" install ${makeopts}
131
132 # Remove libtool files since we dropped the static libraries
133 find "${D}" -name '*.la' -delete
134
135 dodoc README AUTHORS ChangeLog TODO NEWS
136 pushd doc
137 dohtml -r *
138 popd
139 }
140
141
142
143 1.1 dev-util/google-perftools/google-perftools-1.10.ebuild
144
145 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-1.10.ebuild?rev=1.1&view=markup
146 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-1.10.ebuild?rev=1.1&content-type=text/plain
147
148 Index: google-perftools-1.10.ebuild
149 ===================================================================
150 # Copyright 1999-2012 Gentoo Foundation
151 # Distributed under the terms of the GNU General Public License v2
152 # $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/google-perftools-1.10.ebuild,v 1.1 2012/07/06 00:57:34 flameeyes Exp $
153
154 EAPI=4
155
156 inherit toolchain-funcs eutils flag-o-matic
157
158 DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
159 HOMEPAGE="http://code.google.com/p/gperftools/"
160 SRC_URI="http://gperftools.googlecode.com/files/${P}.tar.gz"
161
162 LICENSE="MIT"
163 SLOT="0"
164 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
165 IUSE="largepages +debug minimal test"
166
167 DEPEND="sys-libs/libunwind"
168 RDEPEND="${DEPEND}"
169
170 pkg_setup() {
171 # set up the make options in here so that we can actually make use
172 # of them on both compile and install.
173
174 # Avoid building the unit testing if we're not going to execute
175 # tests; this trick here allows us to ignore the tests without
176 # touching the build system (and thus without rebuilding
177 # autotools). Keep commented as long as it's restricted.
178 use test || \
179 makeopts="${makeopts} noinst_PROGRAMS= "
180
181 # don't install _anything_ from the documentation, since it would
182 # install it in non-standard locations, and would just waste time.
183 makeopts="${makeopts} dist_doc_DATA= "
184 }
185
186 src_configure() {
187 use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES
188
189 append-flags -fno-strict-aliasing
190
191 econf \
192 --disable-static \
193 --disable-dependency-tracking \
194 --enable-fast-install \
195 $(use_enable debug debugalloc) \
196 $(use_enable minimal)
197 }
198
199 src_compile() {
200 emake ${makeopts}
201 }
202
203 src_test() {
204 case "${LD_PRELOAD}" in
205 *libsandbox*)
206 ewarn "Unable to run tests when sanbox is enabled."
207 ewarn "See http://bugs.gentoo.org/290249"
208 return 0
209 ;;
210 esac
211
212 emake check
213 }
214
215 src_install() {
216 emake DESTDIR="${D}" install ${makeopts}
217
218 # Remove libtool files since we dropped the static libraries
219 find "${D}" -name '*.la' -delete
220
221 dodoc README AUTHORS ChangeLog TODO NEWS
222 pushd doc
223 dohtml -r *
224 popd
225 }