--- google-perftools-2.1.orig/debian/README +++ google-perftools-2.1/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-2.1.orig/debian/README.Debian +++ google-perftools-2.1/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-2.1.orig/debian/changelog +++ google-perftools-2.1/debian/changelog @@ -0,0 +1,209 @@ +google-perftools (2.1-1) unstable; urgency=low + + * New upstream release. (Closes: #701378) + * debian/rules: + - Enable tests on amd64 and i386. (Closes: #695293) + * debian/control: + - Add missing dependency on libunwind8-dev for amd64 architecture + to libgoogle-perftools-dev. (Closes: #706860) + - Add new architectures: armel armhf. (Closes: #695308) + - Bumped up Standards-Version to 3.9.4. + * Removed debian/patches/20120708_ppc_ftbfs.patch, which has been applied by + the upstream. + + -- Daigo Moriwaki Sun, 04 Aug 2013 21:21:26 +0900 + +google-perftools (2.0-4) unstable; urgency=low + + * Added debian/patches/20121013-pprof.1.patch: Corrects a link. + Thanks to Junichi Uekawa for reporting. (Closes: #690313) + + -- Daigo Moriwaki Sun, 08 Jul 2012 19:26:52 +0900 + +google-perftools (2.0-3) unstable; urgency=low + + * debian/patches/20120708_ppc_ftbfs.patch: Imported Ubuntu's patch, fixing + a build failure on powerpc, derived from the upstream: + http://code.google.com/p/gperftools/issues/detail?id=431 + Thanks to James Page . (Closes: #680305) + * debian/control: Bumped up to libunwind8-dev for Build-Depends. + (Closes: #680724) + + -- Daigo Moriwaki Sun, 08 Jul 2012 18:08:36 +0900 + +google-perftools (2.0-2) unstable; urgency=low + + * Some include files were left out of the package. + Thanks to Laszlo Boszormenyi for a patch. (Closes: #666099) + + -- Daigo Moriwaki Sat, 31 Mar 2012 12:50:36 +0900 + +google-perftools (2.0-1) unstable; urgency=low + + * New upstream release. + (Closes: #663652, #635038) + * debian/watch: Followed the new upstream site. + * debian/control: + - Followed the new upstream site. + - Bumped up Standards-Version to 3.9.3. + - google-perftools depends on curl. (Closes: #630829) + - Updated the package names to match soname 4. + * debian/copyright: + - Followed the upstream' changes. + - Applied copyright-format 1.0. + * debian/compat: + - Bumped up the compatibility level to 7. + + -- Daigo Moriwaki Sat, 17 Mar 2012 14:58:23 +0900 + +google-perftools (1.7-1) unstable; urgency=low + + * New upstream release + * Updated debian/watch. + * debian/control: + - removed the meaningless google-perftools-dbg package. + - google-perftools that only includes a perl script is now Architecture: + all. + (Closes: #595184) + - Bumped up Standards-Version to 3.9.1. + * debian/copyright: packaged by myself. + + -- Daigo Moriwaki Sun, 06 Mar 2011 10:35:04 +0900 + +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 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 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 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 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 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 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 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 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 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 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 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 Mon, 12 Jun 2006 20:00:35 +0900 + +google-perftools (0.7-1) unstable; urgency=low + + * New upstream release. + + -- Daigo Moriwaki Mon, 8 May 2006 20:08:10 +0900 + +google-perftools (0.1-1) unstable; urgency=low + + * Initial release. + + -- Google Inc. Fri, 11 Mar 2005 08:07:33 -0800 --- google-perftools-2.1.orig/debian/compat +++ google-perftools-2.1/debian/compat @@ -0,0 +1 @@ +9 --- google-perftools-2.1.orig/debian/control +++ google-perftools-2.1/debian/control @@ -0,0 +1,75 @@ +Source: google-perftools +Section: libs +Priority: optional +Maintainer: Daigo Moriwaki +Build-Depends: cdbs, autoconf, automake1.9, libtool, patchutils, debhelper (>= 9.0.0), binutils, libunwind8-dev [amd64] +Build-Conflicts: autoconf2.13, automake1.4 +Standards-Version: 3.9.4 +Homepage: http://code.google.com/p/gperftools/ +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/google-perftools/trunk +Vcs-Browser: http://svn.debian.org/viewvc/collab-maint/deb-maint/google-perftools/trunk/ + +Package: libgoogle-perftools-dev +Section: libdevel +Architecture: i386 amd64 powerpc armel armhf +Depends: ${misc:Depends}, libgoogle-perftools4 (= ${binary:Version}), libtcmalloc-minimal4 (= ${binary:Version}), libunwind8-dev [amd64] +Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc + The gperftools, previously called 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-minimal4 +Section: libs +Architecture: i386 amd64 powerpc armel armhf +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: efficient thread-caching malloc + The gperftools, previously called 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-minimal4-dbg +Section: debug +Priority: extra +Architecture: i386 amd64 powerpc armel armhf +Depends: ${misc:Depends}, libtcmalloc-minimal4 (= ${binary:Version}) +Description: efficient thread-caching malloc + Contains debugging symbols for libtcmalloc-minimal4. + . + 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-perftools4 +Section: libs +Architecture: i386 amd64 powerpc armel armhf +Depends: libtcmalloc-minimal4 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Conflicts: libgoogle-perftools0 +Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc + The gperftools, previously called 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-perftools4-dbg +Section: debug +Priority: extra +Architecture: i386 amd64 powerpc armel armhf +Depends: ${misc:Depends}, libgoogle-perftools4 (= ${binary:Version}) +Description: libraries for CPU and heap analysis, plus an efficient thread-caching malloc + Contains debugging symbols for libgoogle-perftools4. + . + 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: all +Depends: ${shlibs:Depends}, ${misc:Depends}, libgoogle-perftools4, curl +Recommends: graphviz, gv +Description: command line utilities to analyze the performance of C++ programs + The gperftools, previously called 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-2.1.orig/debian/copyright +++ google-perftools-2.1/debian/copyright @@ -0,0 +1,57 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gperftools +Upstream-Contact: google-perftools@googlegroups.com +Source: http://code.google.com/p/gperftools/ + +Files: * +Copyright: Google Inc. +License: BSD-3-clause + 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. + +Files: debian/* +Copyright: Copyright 2011 Daigo Moriwaki +License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. --- google-perftools-2.1.orig/debian/patches/20121013-pprof.1.patch +++ google-perftools-2.1/debian/patches/20121013-pprof.1.patch @@ -0,0 +1,11 @@ +--- google-perftools.orig/doc/pprof.1 2012-02-04 04:18:22.000000000 +0900 ++++ google-perftools.orig/doc/pprof.1 2012-10-13 20:14:32.000000000 +0900 +@@ -125,7 +125,7 @@ + .B cpu_profiler.html + and is likely installed at one of the following locations: + .IP +-.B /usr/share/gperftools/cpu_profiler.html ++.B /usr/share/doc/libgoogle-perftools-dev/cpuprofile.html + .br + .B /usr/local/share/gperftools/cpu_profiler.html + .PP --- google-perftools-2.1.orig/debian/rules +++ google-perftools-2.1/debian/rules @@ -0,0 +1,75 @@ +#!/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 + +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) +# List of architectures for which test execution is enabled +TEST_ARCHS=i386 amd64 +ifneq (,$(findstring $(DEB_HOST_ARCH), $(TEST_ARCHS))) +DEB_MAKE_CHECK_TARGET := check +endif # TEST_ARCHS +endif # nocheck + +lib_dir = usr/lib +bin_dir = usr/bin +man_dir = usr/share/man/man1 + +DEB_INSTALL_DIRS_libtcmalloc-minimal4 += $(lib_dir) + +DEB_INSTALL_DIRS_libgoogle-perftools4 += $(lib_dir) +DEB_INSTALL_DOCS_libgoogle-perftools4 += debian/README.Debian + +DEB_INSTALL_DIRS_libgoogle-perftools-dev += $(lib_dir) usr/include/google usr/include/gperftools +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-minimal4:: + (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-perftools4:: + (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 + dh_movefiles -p$(cdbs_curpkg) usr/include/gperftools + +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-2.1.orig/debian/watch +++ google-perftools-2.1/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/gperftools/downloads/list?can=1 .*/gperftools-(\d[\d\.]*)\.tar\.gz