1 |
commit: 321d6c06a23d34ab2f5e0820e917d9fe4b794d93 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 18:17:41 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 18:17:41 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=321d6c06 |
7 |
|
8 |
dev-util/valgrind: moved to tree |
9 |
|
10 |
(Portage version: 2.1.9.25/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-util/valgrind/ChangeLog | 4 + |
14 |
dev-util/valgrind/Manifest | 5 +- |
15 |
.../files/valgrind-3.6.1-user-enable-qt4.patch | 89 ------------------ |
16 |
dev-util/valgrind/valgrind-3.6.1.ebuild | 97 -------------------- |
17 |
4 files changed, 5 insertions(+), 190 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog |
20 |
index d47b14f..f2899f9 100644 |
21 |
--- a/dev-util/valgrind/ChangeLog |
22 |
+++ b/dev-util/valgrind/ChangeLog |
23 |
@@ -2,6 +2,10 @@ |
24 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.119 2011/01/27 04:51:32 ssuominen Exp $ |
26 |
|
27 |
+ 21 Feb 2011; Anthony G. Basile <blueness@g.o> |
28 |
+ -valgrind-3.6.1.ebuild, -files/valgrind-3.6.1-user-enable-qt4.patch: |
29 |
+ moved to tree |
30 |
+ |
31 |
*valgrind-3.6.1 (17 Feb 2011) |
32 |
|
33 |
17 Feb 2011; Anthony G. Basile <blueness@g.o> |
34 |
|
35 |
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest |
36 |
index b9f05e4..3614486 100644 |
37 |
--- a/dev-util/valgrind/Manifest |
38 |
+++ b/dev-util/valgrind/Manifest |
39 |
@@ -1,8 +1,5 @@ |
40 |
AUX valgrind-3.4.1-glibc-2.10.1.patch 1305 RMD160 27586a6140bc0c96589f7077a3c9ee266010ac9c SHA1 dc5df31911c93c98d7876fc6ad9157ab62b38de2 SHA256 b250a3f7e8654cbc835570b0647d035f25a866a51312a8c0d82119db474eddd6 |
41 |
AUX valgrind-3.6.0-local-labels.patch 1388 RMD160 e9c0064d1e857f1e616c5d9ca7a03e78eae3d5ab SHA1 173820d5671f56c864850c2d8df9d6d301dfda38 SHA256 34ae13eda378677f1e662e0813f138de9b897d6592d20872c58ed8ac1bcf7def |
42 |
AUX valgrind-3.6.0-non-exec-stack.patch 5613 RMD160 641cd94fd5254ea902bd66eb0437e9af0e21fdb4 SHA1 eeb788f208303ef8768d4713c2c01bfd3f2edec4 SHA256 9a5a92506a10af32eba7a28401f061d4a84eac26a4dbb94fc6a19471c4bdb257 |
43 |
-AUX valgrind-3.6.1-user-enable-qt4.patch 3100 RMD160 d5130569c986714dbd39af5354a1f5c9a039d019 SHA1 6252b9220f8ec6b3e336802101eb296b53209c97 SHA256 ffe139eabb1340a6f004e4a9858d36cf19616bb1c4156395ea2b3b6600a23217 |
44 |
-DIST valgrind-3.6.1.tar.bz2 5974836 RMD160 6f78ae50e2fb354547d90bf289abb1f56252043a SHA1 6116ddca2708f56e0a2851bdfbe88e01906fa300 SHA256 49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e |
45 |
-EBUILD valgrind-3.6.1.ebuild 3075 RMD160 359749476713239357a2a4d317916a97b8c78d84 SHA1 50a69383d04040b5837ac08e1dc19d7ddccb37a3 SHA256 e7c71b807172d4d42bb9793d6d6a9edc6c784d582ea85998706f589a2145e900 |
46 |
-MISC ChangeLog 20230 RMD160 b67cb5b2086d6b33e0b9d52abb430f5dabf5fb87 SHA1 3692f72c6fa1f64dd25086e3064793cb8802645c SHA256 7391c36c738b3d5f5abee2df045f41bdadaba103c9fc73b94c8b644f3a1fc2d7 |
47 |
+MISC ChangeLog 20373 RMD160 715c5dd01c7369e0744b87e3897601a259fefe62 SHA1 9b060b5d9278e56769cbe46908f5607f9db9b855 SHA256 2dfc74af88d203e2388b25fddfdf8ee2d5f3eb67e501161b0863ac91c88a8afc |
48 |
MISC metadata.xml 1002 RMD160 cac070ef7b7c44166aa21cda6063c597f66d0303 SHA1 adb9b3de0413a58f79b522f06f542854c3aaaca0 SHA256 ad67a48bab8386d59f5481471eb6a474e68a08a7f1d8f8c7a41b1134ac464f68 |
49 |
|
50 |
diff --git a/dev-util/valgrind/files/valgrind-3.6.1-user-enable-qt4.patch b/dev-util/valgrind/files/valgrind-3.6.1-user-enable-qt4.patch |
51 |
deleted file mode 100644 |
52 |
index 8f7c394..0000000 |
53 |
--- a/dev-util/valgrind/files/valgrind-3.6.1-user-enable-qt4.patch |
54 |
+++ /dev/null |
55 |
@@ -1,89 +0,0 @@ |
56 |
---- configure.in.orig 2011-02-17 14:29:14.000000000 -0500 |
57 |
-+++ configure.in 2011-02-17 15:05:46.000000000 -0500 |
58 |
-@@ -1692,7 +1692,8 @@ |
59 |
- # NEEDED BY THE REGRESSION TEST PROGRAMS. |
60 |
- |
61 |
- |
62 |
--# The test below verifies whether the QtCore package been installed. |
63 |
-+# The test below first checks if the user has manaually disabled |
64 |
-+# QtCore. It then verifies whether the QtCore package been installed. |
65 |
- # This test works as follows: |
66 |
- # - If pkg-config was not installed at the time autogen.sh was run, |
67 |
- # the definition of the PKG_CHECK_EXISTS() macro will not be found by |
68 |
-@@ -1709,37 +1710,49 @@ |
69 |
- # the pkg-config executable is not present on the system on which the |
70 |
- # configure script is run. |
71 |
- |
72 |
--ifdef( |
73 |
-- [PKG_CHECK_EXISTS], |
74 |
-- [PKG_CHECK_EXISTS( |
75 |
-- [QtCore], |
76 |
-+AC_ARG_ENABLE(qtcore, |
77 |
-+ AS_HELP_STRING(--enable-qtcore, compile with qtcore support), |
78 |
- [ |
79 |
-- PKG_CHECK_MODULES([QTCORE], [QtCore]) |
80 |
-- # Paranoia: don't trust the result reported by pkg-config, but when |
81 |
-- # pkg-config reports that QtCore has been found, verify whether linking |
82 |
-- # programs with QtCore succeeds. |
83 |
-- AC_LANG(C++) |
84 |
-- safe_CXXFLAGS="${CXXFLAGS}" |
85 |
-- CXXFLAGS="${QTCORE_CFLAGS} ${QTCORE_LIBS} $mflag_primary" |
86 |
-- AC_TRY_LINK( |
87 |
-- [#include <QMutex>], |
88 |
-- [QMutex Mutex;], |
89 |
-- [ac_have_qtcore=yes], |
90 |
-- [ |
91 |
-- AC_MSG_WARN([Although pkg-config detected Qt4, linking Qt4 programs fails. Skipping Qt4.]) |
92 |
-- ac_have_qtcore=no |
93 |
-- ] |
94 |
-- ) |
95 |
-- CXXFLAGS="${safe_CXXFLAGS}" |
96 |
-+ if test x$enableval = xno ; then |
97 |
-+ AC_MSG_CHECKING([for QTCORE ]) |
98 |
-+ AC_MSG_RESULT([QTCORE is manually distabled.]) |
99 |
-+ [ac_have_qtcore=no] |
100 |
-+ fi |
101 |
- ], |
102 |
- [ |
103 |
-- ac_have_qtcore=no |
104 |
-+ ifdef( |
105 |
-+ [PKG_CHECK_EXISTS], |
106 |
-+ [PKG_CHECK_EXISTS( |
107 |
-+ [QtCore], |
108 |
-+ [ |
109 |
-+ PKG_CHECK_MODULES([QTCORE], [QtCore]) |
110 |
-+ # Paranoia: don't trust the result reported by pkg-config, but when |
111 |
-+ # pkg-config reports that QtCore has been found, verify whether linking |
112 |
-+ # programs with QtCore succeeds. |
113 |
-+ AC_LANG(C++) |
114 |
-+ safe_CXXFLAGS="${CXXFLAGS}" |
115 |
-+ CXXFLAGS="${QTCORE_CFLAGS} ${QTCORE_LIBS} $mflag_primary" |
116 |
-+ AC_TRY_LINK( |
117 |
-+ [#include <QMutex>], |
118 |
-+ [QMutex Mutex;], |
119 |
-+ [ac_have_qtcore=yes], |
120 |
-+ [ |
121 |
-+ AC_MSG_WARN([Although pkg-config detected Qt4, linking Qt4 programs fails. Skipping Qt4.]) |
122 |
-+ ac_have_qtcore=no |
123 |
-+ ] |
124 |
-+ ) |
125 |
-+ CXXFLAGS="${safe_CXXFLAGS}" |
126 |
-+ ], |
127 |
-+ [ |
128 |
-+ ac_have_qtcore=no |
129 |
-+ ] |
130 |
-+ ) |
131 |
-+ ], |
132 |
-+ AC_MSG_WARN([pkg-config has not been installed or is too old.]) |
133 |
-+ AC_MSG_WARN([Detection of Qt4 will be skipped.]) |
134 |
-+ [ac_have_qtcore=no] |
135 |
-+ ) |
136 |
- ] |
137 |
-- ) |
138 |
-- ], |
139 |
-- AC_MSG_WARN([pkg-config has not been installed or is too old.]) |
140 |
-- AC_MSG_WARN([Detection of Qt4 will be skipped.]) |
141 |
-- [ac_have_qtcore=no] |
142 |
- ) |
143 |
- |
144 |
- AM_CONDITIONAL([HAVE_QTCORE], [test x$ac_have_qtcore = xyes]) |
145 |
|
146 |
diff --git a/dev-util/valgrind/valgrind-3.6.1.ebuild b/dev-util/valgrind/valgrind-3.6.1.ebuild |
147 |
deleted file mode 100644 |
148 |
index a0c131d..0000000 |
149 |
--- a/dev-util/valgrind/valgrind-3.6.1.ebuild |
150 |
+++ /dev/null |
151 |
@@ -1,97 +0,0 @@ |
152 |
-# Copyright 1999-2011 Gentoo Foundation |
153 |
-# Distributed under the terms of the GNU General Public License v2 |
154 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.0.ebuild,v 1.2 2011/01/27 04:51:32 ssuominen Exp $ |
155 |
- |
156 |
-EAPI=2 |
157 |
-inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils |
158 |
- |
159 |
-DESCRIPTION="An open-source memory debugger for GNU/Linux" |
160 |
-HOMEPAGE="http://www.valgrind.org" |
161 |
-SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" |
162 |
- |
163 |
-LICENSE="GPL-2" |
164 |
-SLOT="0" |
165 |
-KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
166 |
-IUSE="mpi qt4" |
167 |
- |
168 |
-DEPEND="mpi? ( virtual/mpi )" |
169 |
-RDEPEND="${DEPEND}" |
170 |
- |
171 |
-src_prepare() { |
172 |
- # Respect CFLAGS, LDFLAGS |
173 |
- sed -i -e '/^CPPFLAGS =/d' -e '/^CFLAGS =/d' -e '/^LDFLAGS =/d' \ |
174 |
- mpi/Makefile.am || die |
175 |
- |
176 |
- # Changing Makefile.all.am to disable SSP |
177 |
- sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' \ |
178 |
- Makefile.all.am || die |
179 |
- |
180 |
- # Correct hard coded doc location |
181 |
- sed -i -e "s:doc/valgrind:doc/${PF}:" \ |
182 |
- docs/Makefile.am || die |
183 |
- |
184 |
- # Yet more local labels, this time for ppc32 & ppc64 |
185 |
- epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch |
186 |
- |
187 |
- # Don't build in empty assembly files for other platforms or we'll get a QA |
188 |
- # warning about executable stacks. |
189 |
- epatch "${FILESDIR}"/${PN}-3.6.0-non-exec-stack.patch |
190 |
- |
191 |
- # Fix up some suppressions that were not general enough for glibc versions |
192 |
- # with more than just a major and minor number. |
193 |
- epatch "${FILESDIR}"/${PN}-3.4.1-glibc-2.10.1.patch |
194 |
- |
195 |
- # Remove automagic dependency on qt4 |
196 |
- epatch "${FILESDIR}"/${PN}-3.6.1-user-enable-qt4.patch |
197 |
- |
198 |
- # Regenerate autotools files |
199 |
- eautoreconf |
200 |
-} |
201 |
- |
202 |
-src_configure() { |
203 |
- local myconf |
204 |
- |
205 |
- # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
206 |
- # while compiling insn_sse.c in none/tests/x86 |
207 |
- # -fpie valgrind seemingly hangs when built with pie on |
208 |
- # amd64 (bug #102157) |
209 |
- # -fstack-protector more undefined references to __guard and __stack_smash_handler |
210 |
- # because valgrind doesn't link to glibc (bug #114347) |
211 |
- # -ggdb3 segmentation fault on startup |
212 |
- filter-flags -fomit-frame-pointer |
213 |
- filter-flags -fpie |
214 |
- filter-flags -fstack-protector |
215 |
- replace-flags -ggdb3 -ggdb2 |
216 |
- |
217 |
- if use amd64 || use ppc64; then |
218 |
- ! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
219 |
- fi |
220 |
- |
221 |
- # Don't use mpicc unless the user asked for it (bug #258832) |
222 |
- if ! use mpi; then |
223 |
- myconf="${myconf} --without-mpicc" |
224 |
- fi |
225 |
- |
226 |
- if ! use qt4; then |
227 |
- myconf="${myconf} --disable-qtcore" |
228 |
- fi |
229 |
- |
230 |
- econf ${myconf} |
231 |
-} |
232 |
- |
233 |
-src_install() { |
234 |
- emake DESTDIR="${D}" install || die |
235 |
- dodoc AUTHORS FAQ.txt NEWS README* |
236 |
- |
237 |
- pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux |
238 |
-} |
239 |
- |
240 |
-pkg_postinst() { |
241 |
- if use ppc || use ppc64 || use amd64 ; then |
242 |
- ewarn "Valgrind will not work on ppc, ppc64 or amd64 if glibc does not have" |
243 |
- ewarn "debug symbols (see https://bugs.gentoo.org/show_bug.cgi?id=214065" |
244 |
- ewarn "and http://bugs.gentoo.org/show_bug.cgi?id=274771)." |
245 |
- ewarn "To fix this you can add splitdebug to FEATURES in make.conf and" |
246 |
- ewarn "remerge glibc." |
247 |
- fi |
248 |
-} |