[packages/valgrind-callgrind] - obsoleted by valgrind 3.2.0+

qboosh qboosh at pld-linux.org
Sat Aug 25 06:41:55 CEST 2012


commit 02a616cb118ba76ac8c1549144dcb09713bf0569
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Aug 25 06:41:52 2012 +0200

    - obsoleted by valgrind 3.2.0+

 valgrind-callgrind-pld-fuckup.patch | 72 -------------------------------------
 valgrind-callgrind.spec             | 60 -------------------------------
 2 files changed, 132 deletions(-)
---
diff --git a/valgrind-callgrind.spec b/valgrind-callgrind.spec
deleted file mode 100644
index 375f39f..0000000
--- a/valgrind-callgrind.spec
+++ /dev/null
@@ -1,60 +0,0 @@
-Summary:	Call-graph profiling
-Summary(pl.UTF-8):	Profilowanie przy użyciu wykresów wywołań
-Name:		valgrind-callgrind
-Version:	0.10.1
-Release:	1
-License:	GPL
-Group:		Development/Tools
-Source0:	http://kcachegrind.sourceforge.net/callgrind-%{version}.tar.bz2
-# Source0-md5:	6d8acca6b58b0b72804339d04426d550
-Patch0:		%{name}-pld-fuckup.patch
-URL:		http://kcachegrind.sourceforge.net/cgi-bin/show.cgi/KcacheGrindDownload
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	pkgconfig
-BuildRequires:	valgrind >= 3.1.0
-BuildRequires:	which
-Requires:	valgrind
-Obsoletes:	valgrind-calltree
-ExclusiveArch:	%{ix86} %{x8664} ppc
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This is a skin (aka plugin) for Valgrind, a program instrumentation
-system for x86-linux. It is based on the cachegrind skin, a cache
-simulator from the valgrind core package. It adds call-graph
-profiling.
-
-%description -l pl.UTF-8
-To jest wtyczka dla Valgrinda - systemu strojenia programów dla
-Linuksa na platformie x86. Jest oparty na cachegrind - symulatorze
-cache dołączonym do pakietu valgrind. calltree dodaje możliwość
-profilowania przy użyciu wykresów wywołań.
-
-%prep
-%setup -q -n callgrind-%{version}
-#%patch0 -p1
-
-%build
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-%configure
-%{__make}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/*
-%{_includedir}/*
-%attr(755,root,root) %{_libdir}/valgrind/*-linux/*
diff --git a/valgrind-callgrind-pld-fuckup.patch b/valgrind-callgrind-pld-fuckup.patch
deleted file mode 100644
index 77a7b17..0000000
--- a/valgrind-callgrind-pld-fuckup.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -ruN callgrind-0.9.11./configure.in callgrind-0.9.11/configure.in
---- callgrind-0.9.11./configure.in	2005-04-02 13:50:28.000000000 +0200
-+++ callgrind-0.9.11/configure.in	2005-04-02 13:54:48.116323688 +0200
-@@ -7,19 +7,7 @@
- 
- # set default PREFIX / check given PREFIX
- AC_MSG_CHECKING([for valgrind installation])
--if test "x$prefix" = "xNONE"; then
--  vg_exec=`which valgrind`
--  if test "x$vg_exec" = "x"; then
--    AC_MSG_RESULT([not found in $PATH])
--    AC_MSG_ERROR([Please install Valgrind])
--  fi
--else
--  vg_exec=`which $prefix/bin/valgrind`
--  if test "x$vg_exec" = "x"; then
--    AC_MSG_RESULT([not found in $prefix/bin])
--    AC_MSG_ERROR([Valgrind has to be installed in the specified prefix!])
--  fi
--fi
-+vg_exec=`which valgrind`
- vg_binpath=`dirname $vg_exec`
- ac_default_prefix=`dirname $vg_binpath`
- if test "x$prefix" = "xNONE"; then
-@@ -40,7 +28,7 @@
- CT_OPTIONS="--tool=callgrind"
- use_pkg_config="no"
- AC_MSG_CHECKING([for valgrind version])
--vg_version=`$prefix/bin/valgrind --version`
-+vg_version="valgrind-2.4.0"
- case "${vg_version}" in
-     valgrind-2.0.*)
- 	CT_OPTIONS="--skin=callgrind"
-@@ -97,38 +85,6 @@
- AC_MSG_RESULT([${CFLAGS}])
- 
- 
--# check if there is a vg_skin.h installed
--AC_MSG_CHECKING([if compiling a valgrind tool is possible])
--AC_TRY_COMPILE(
--[#include "vg_skin.h"],
--[],
--[
--# No need for additional directory
--AC_MSG_RESULT([Yes])
--], [
--AC_MSG_ERROR([No. Is a valgrind-dev package missing?])
--])
--
--
--# check if we support skin version of installed valgrind
--#
--# Note that versions used in VG releases 2.y.x, with y odd,
--# are *not* reliable, so we define UNSTABLE to distinguish
--# unstable VG releases from stable ones reusing versions.
--
--AC_MSG_CHECKING([if tool API version is supported])
--AC_TRY_RUN([
--#include "vg_skin.h"
--int main() { return (VG_CORE_INTERFACE_MAJOR_VERSION > 7) ? 1:0; }
--], [
--AC_MSG_RESULT([Yes])
--], [
--AC_MSG_ERROR([Installed valgrind version too new. Please update this package!])
--], [
--AC_MSG_RESULT([Assuming yes (cross-compiling)])
--])
--
--
- AC_OUTPUT(
- 	Makefile              \
- 	src/Makefile          \


More information about the pld-cvs-commit mailing list