google-perftools (1.5-1) debian-dir only changes

Summary

 debian/README        |    7 ++
 debian/README.Debian |    5 +
 debian/changelog     |  137 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat        |    1 
 debian/control       |   83 ++++++++++++++++++++++++++++++
 debian/copyright     |   35 +++++++++++++
 debian/rules         |   66 ++++++++++++++++++++++++
 debian/watch         |    7 ++
 8 files changed, 341 insertions(+)

    
download this patch

Patch contents

--- google-perftools-1.5.orig/debian/control
+++ google-perftools-1.5/debian/control
@@ -0,0 +1,83 @@
+Source: google-perftools
+Section: libs
+Priority: optional
+Maintainer: Daigo Moriwaki <daigo@debian.org>
+Build-Depends: cdbs, autoconf, automake1.9, libtool, patchutils, debhelper (>= 7.0.0), binutils, libunwind7-dev [!i386]
+Build-Conflicts: autoconf2.13, automake1.4
+Standards-Version: 3.8.4
+Homepage: http://code.google.com/p/google-perftools/
+
+Package: libgoogle-perftools-dev
+Section: libdevel
+Architecture: i386 amd64 powerpc
+Depends: ${misc:Depends}, libgoogle-perftools0 (= ${binary:Version}), libtcmalloc-minimal0 (= ${binary:Version})
+Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc
+ The google-perftools package contains some utilities to improve and
+ analyze the performance of C++ programs.  This includes an optimized
+ thread-caching malloc() and cpu and heap profiling utilities.  The
+ devel package contains static and debug libraries and header files
+ for developing applications that use the google-perftools package.
+
+Package: libtcmalloc-minimal0
+Section: libs
+Architecture: i386 amd64 powerpc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: an efficient thread-caching malloc
+ The google-perftools package contains some utilities to improve and
+ analyze the performance of C++ programs. This is a part of that package, 
+ and includes an optimized thread-caching malloc.
+
+Package: libtcmalloc-minimal0-dbg
+Section: debug
+Priority: extra
+Architecture: i386 amd64 powerpc
+Depends: ${misc:Depends}, libtcmalloc-minimal0 (= ${binary:Version})
+Description: an efficient thread-caching malloc
+ Contains debugging symbols for libtcmalloc-minimal0.
+ .
+ This package is provided primarily to provide a backtrace with names
+ in a debugger, this makes it somewhat easier to interpret core
+ dumps.  Most people will not need this package.
+
+Package: libgoogle-perftools0
+Section: libs
+Architecture: i386 amd64 powerpc
+Depends: libtcmalloc-minimal0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc
+ The google-perftools package contains some utilities to improve and 
+ analyze the performance of C++ programs. This includes the full features: 
+ an optimized thread-caching malloc() and cpu and heap profiling utilities.
+
+Package: libgoogle-perftools0-dbg
+Section: debug
+Priority: extra
+Architecture: i386 amd64 powerpc
+Depends: ${misc:Depends}, libgoogle-perftools0 (= ${binary:Version})
+Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc
+ Contains debugging symbols for libgoogle-perftools0.
+ .
+ This package is provided primarily to provide a backtrace with names
+ in a debugger, this makes it somewhat easier to interpret core
+ dumps.  Most people will not need this package.
+
+Package: google-perftools
+Section: devel
+Architecture: i386 amd64 powerpc
+Depends: ${shlibs:Depends}, ${misc:Depends}, libgoogle-perftools0
+Recommends: graphviz, gv
+Description: command line utilities to analyze the performance of C++ programs
+ The google-perftools package contains some utilities to improve and
+ analyze the performance of C++ programs. This is a part of that package, 
+ and includes command line utilities.
+
+Package: google-perftools-dbg
+Section: debug
+Priority: extra
+Architecture: i386 amd64 powerpc
+Depends: ${misc:Depends}, google-perftools (= ${binary:Version})
+Description: command line utilities to analyze the performance of C++ programs
+ Contains debugging symbols for google-perftools
+ .
+ The google-perftools package contains some utilities to improve and
+ analyze the performance of C++ programs. This is a part of that package, 
+ and includes command line utilities.
--- google-perftools-1.5.orig/debian/copyright
+++ google-perftools-1.5/debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by Google Inc. <opensource@google.com> on
+15 February 2005.
+
+It was downloaded from http://code.google.com/
+
+Upstream Author: opensource@google.com
+
+Copyright (c) 2005, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+    * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- google-perftools-1.5.orig/debian/changelog
+++ google-perftools-1.5/debian/changelog
@@ -0,0 +1,137 @@
+google-perftools (1.5-1) unstable; urgency=low
+
+  * New upstream release (Closes: #521935)
+  * Now this package will be built on i386, amd64 and powerpc
+    (Closes: #387401, #506679, #556908)
+  * debian/control: Bumped up Standards-Version to 3.8.4.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Sun, 07 Feb 2010 09:57:09 +0900
+
+google-perftools (1.4-3) unstable; urgency=low
+
+  * debian/control: Bumpled up Standards-Version to 3.8.3.
+  * debian/control: google-perftools package now recommends graphviz and gv.
+    (Closes: #507823)
+  * debian/{control|rules}: autoconf and automake will be executed in a build
+    time. (Closes: #558508)
+
+ -- Daigo Moriwaki <daigo@debian.org>  Mon, 30 Nov 2009 21:53:39 +0900
+
+google-perftools (1.4-2) unstable; urgency=low
+
+  * debian/control, debian/rules: Added a new package, google-perftools, which
+    contains command line utilities.  (Closes: #547956)
+
+ -- Daigo Moriwaki <daigo@debian.org>  Mon, 26 Oct 2009 20:19:18 +0900
+
+google-perftools (1.4-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #537269)
+  * debian/control:
+    - Bumped up Standards-Version to 3.8.2.
+    - Build-depends on libunwind. (Closes: #487374)
+    - Provides debugging symbol packages: libtcmalloc-minimal0-dbg and
+      libgoogle-perftools0-dbg.
+  * Merged contents of
+    - debian/libgoogle-perftools0.docs
+    - debian/libgoogle-perftools0.manpages
+    - debian/docs
+    - debian/libtcmalloc-minimal0.dirs
+    - debian/libgoogle-perftools-dev.dirs
+    - debian/libtcmalloc-minimal0.install
+    - debian/libgoogle-perftools0.dirs
+    - debian/libgoogle-perftools-dev.install
+    - debian/libgoogle-perftools0.install
+    into debian/rules.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Sat, 19 Sep 2009 00:10:06 +0900
+
+google-perftools (0.98-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #425147)
+  * Compiled with GCC 4.3. (Closes: #454841)
+  * debian/watch: can now report upstream's version (Closes: #450294)
+  * Because of a file conflict between tau and libgoogle-perftools the
+    binary pprof is renamed as google-pprof. (Closes: #404001)
+    Great thanks to Michael Mende.
+  * debian/rules: autoconf files are now generated at the build time.
+  * Bumped up Standards-Version to 3.7.3, no changes are required.
+  * Split a new package, libtcmallc_minimal0. The upstream supports
+    this module for wider platforms. So I leave its architecture to be
+    `any'.
+  * libgoogle-perftools0's architecture is now i386. The upstream
+    supports this module for x86 and x86_64. However, x86_64 requires
+    libunwind's development head, which Debian does not have yet.
+  * Removed an unnecessary patch, debian/patches/02_profiler.cc_alpha.diff.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Sun, 15 Jun 2008 23:41:36 +0900
+
+google-perftools (0.91-1) unstable; urgency=low
+
+  * New upstream release
+  * The hosting site of the upstream has been changed. 
+
+ -- Daigo Moriwaki <daigo@debian.org>  Sat, 12 May 2007 15:56:25 +0900
+
+google-perftools (0.8-5) unstable; urgency=low
+
+  * Apply a patch from Yauheni Kaliuta to fix an error, 'sys_mmap' has not
+    been declared, which may happen with Linux kernel 2.6.18.
+    (Closes: #397908)
+
+ -- Daigo Moriwaki <daigo@debian.org>  Mon, 13 Nov 2006 12:13:52 +0900
+
+google-perftools (0.8-4) unstable; urgency=low
+
+  * Fixed FTBFS (alpha) again. debian/patches/01_configure.ac_alpha.diff is no
+    longer provided. Instead, configure.ac and configure are directly updated
+    to be correctly built. (Closes: #387401)  
+
+ -- Daigo Moriwaki <daigo@debian.org>  Thu, 14 Sep 2006 01:18:10 +0900
+
+google-perftools (0.8-3) unstable; urgency=low
+
+  * Use DEB_AUTO_UPDATE_AUTOCONF to rebuild configure from patched
+    configure.ac. 
+  * Fixed debian/watch file.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Thu, 14 Sep 2006 00:09:39 +0900
+
+google-perftools (0.8-2) unstable; urgency=low
+
+  * Make pathces for FTBFS (alpha). Thanks to Falk Hueffner. (Closes: #384236)
+    (debian/patches/01_configure.ac_alpha.diff,
+     debian/patches/02_profiler.cc_alpha.diff)
+
+ -- Daigo Moriwaki <daigo@debian.org>  Tue, 20 Jun 2006 23:05:05 +0900
+
+google-perftools (0.8-1) unstable; urgency=low
+
+  * Remove the patches (thread_lister.c.diff and malloc_hook.cc.diff) that
+    were included in the previous release because the upstream has fixed the
+    issues.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Tue, 20 Jun 2006 22:20:58 +0900
+
+google-perftools (0.7-2) unstable; urgency=low
+
+  * Make a patch (debian/patches/thread_lister.c.diff) for FTBFS: error:
+    conflicting types for 'ResumeAllProcessThreads' (Closes: #370449)
+  * Make a patch (debian/patches/malloc_hook.cc.diff) for FTBFS:
+    src/malloc_hook.cc:118: error: invalid conversion from 'long int' to
+    'void*' (Closes: #370802)
+  * Add a debian/watch file.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Mon, 12 Jun 2006 20:00:35 +0900
+
+google-perftools (0.7-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Daigo Moriwaki <daigo@debian.org>  Mon,  8 May 2006 20:08:10 +0900
+
+google-perftools (0.1-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Google Inc. <opensource@google.com>  Fri, 11 Mar 2005 08:07:33 -0800
--- google-perftools-1.5.orig/debian/README.Debian
+++ google-perftools-1.5/debian/README.Debian
@@ -0,0 +1,5 @@
+Because of a file conflict between tau and libgoogle-perftools [1]
+the binary pprof is renamed as google-pprof,
+its manpage in Debian is /usr/share/man/man1/google-pprof.1.gz.
+
+[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404001.
--- google-perftools-1.5.orig/debian/README
+++ google-perftools-1.5/debian/README
@@ -0,0 +1,7 @@
+The list of files here isn't complete.  For a step-by-step guide on
+how to set this package up correctly, check out
+    http://www.debian.org/doc/maint-guide/
+
+Most of the files that are in this directory are boilerplate.
+However, you may need to change the list of binary-arch dependencies
+in 'rules'.
--- google-perftools-1.5.orig/debian/watch
+++ google-perftools-1.5/debian/watch
@@ -0,0 +1,7 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+# http://prdownloads.sourceforge.net/goog-perftools/
+version=3
+http://code.google.com/p/google-perftools/downloads/list          .*/google-perftools-(.*)\.tar\.gz         debian          uupdate
--- google-perftools-1.5.orig/debian/rules
+++ google-perftools-1.5/debian/rules
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_AUTO_UPDATE_AUTOCONF = 2.61
+DEB_AUTO_UPDATE_AUTOMAKE = 1.9
+DEB_AUTO_UPDATE_ACLOCAL = $(DEB_AUTO_UPDATE_AUTOMAKE)
+DEB_AUTO_UPDATE_LIBTOOL = pre
+DEB_INSTALL_CHANGELOGS_ALL := ChangeLog
+
+lib_dir = usr/lib
+bin_dir = usr/bin
+man_dir = usr/share/man/man1
+
+DEB_INSTALL_DIRS_libtcmalloc-minimal0 += $(lib_dir)
+
+DEB_INSTALL_DIRS_libgoogle-perftools0 += $(lib_dir)
+DEB_INSTALL_DOCS_libgoogle-perftools0 += debian/README.Debian
+
+DEB_INSTALL_DIRS_libgoogle-perftools-dev += $(lib_dir) usr/include/google
+DEB_INSTALL_DOCS_libgoogle-perftools-dev += $(DEB_SRCDIR)/doc/* -Xpprof.1
+
+DEB_INSTALL_DIRS_google-perftools += $(bin_dir) $(man_dir)
+DEB_INSTALL_MANPAGES_google-perftools += debian/tmp/$(man_dir)/google-pprof.1
+
+pre-build::
+	chmod u+w -R $(CURDIR)
+
+install/libtcmalloc-minimal0::
+	(cd $(CURDIR)/debian/tmp && \
+	    find usr/lib -name 'libtcmalloc_minimal.so.*' -o \
+	                 -name 'libtcmalloc_minimal_debug.so.*') | \
+	    xargs dh_movefiles -p$(cdbs_curpkg)
+
+install/libgoogle-perftools0::
+	(cd $(CURDIR)/debian/tmp && \
+	    find usr/lib -name 'libprofiler.so.*' -o \
+	                 -name 'libtcmalloc.so.*' -o \
+	                 -name 'libtcmalloc_debug.so.*' -o \
+			 -name 'libtcmalloc_and_profiler.so.*') | \
+	    xargs dh_movefiles -p$(cdbs_curpkg)
+
+install/libgoogle-perftools-dev::
+	(cd $(CURDIR)/debian/tmp && \
+	    find usr/lib -name '*.a' -o -name '*.so') | \
+	    xargs dh_movefiles -p$(cdbs_curpkg)
+	dh_movefiles -p$(cdbs_curpkg) usr/include/google
+
+install/google-perftools::
+	(cd $(CURDIR)/debian/tmp/usr/bin && \
+	  mv pprof google-pprof)
+	dh_movefiles -p$(cdbs_curpkg) usr/bin/google-pprof
+	(cd $(CURDIR)/debian/tmp/usr/share/man/man1 && \
+	  mv pprof.1 google-pprof.1 && \
+	sed -i -e "s/pprof/google-pprof/g" google-pprof.1)
--- google-perftools-1.5.orig/debian/compat
+++ google-perftools-1.5/debian/compat
@@ -0,0 +1 @@
+7