--- deps-0.13.orig/graph-includes +++ deps-0.13/graph-includes @@ -222,10 +222,6 @@ our $stat_ndeps = sum (map { scalar ($project->{ROOTGRAPH}->get_edges_from($_)) } ($project->{ROOTGRAPH}->get_edge_origins) ); -## the transformation graph -#$renderer->printgraph($project->{TRANSGRAPH}, -# \@nodestylers, \@edgestylers); - if (!defined $stat_ndeps or $stat_ndeps == 0) { print STDERR "$0: found no dependency\n"; exit 0; --- deps-0.13.orig/debian/control +++ deps-0.13/debian/control @@ -0,0 +1,74 @@ +Source: deps +Section: devel +Priority: optional +Build-Depends: debhelper (>= 4.0.2) +Build-Depends-Indep: perl (>= 5.6.0) +Maintainer: Yann Dirson +Standards-Version: 3.6.2 + +Package: libdeps-perl +Architecture: all +Depends: libset-object-perl, ${perl:Depends}, ${misc:Depends} +Recommends: libdeps-renderer-dot-perl | libdeps-renderer +Replaces: graph-includes (<< 0.12) +Conflicts: graph-includes (<< 0.12) +Description: Dependency Extraction and Processing System + Toolkit to extract internal dependencies from a project, manipulate + the dependency graph in arbitrary ways, and produce graphs to help in + managing your project, including locating abusive #includes. + . + It aims to be fully generic and pluggable, but is still under + development. However, several aspects are already possible to + customize. Eg, you can provide your own graph transformations, + styling rules, and graph renderers. + +Package: libdeps-renderer-dot-perl +Architecture: all +Depends: libdeps-perl, graphviz, ${perl:Depends}, ${misc:Depends} +Enhances: libdeps-perl +Provides: libdeps-renderer +Replaces: graph-includes (<< 0.12) +Conflicts: graph-includes (<< 0.12) +Description: DEPS renderer plugin using GraphViz/dot + Graphviz output support for the Dependency Extraction and Processing + System. Highly recommended. + +Package: libdeps-renderer-tulip-perl +Architecture: all +Depends: libdeps-perl, tulip, ${perl:Depends}, ${misc:Depends} +Enhances: libdeps-perl +Provides: libdeps-renderer +Replaces: graph-includes (<< 0.12) +Conflicts: graph-includes (<< 0.12) +Description: DEPS renderer plugin using Tulip + Tulip output support for the Dependency Extraction and Processing + System. Tulip can render graphs in three dimensions using OpenGL, + but this plugin is currently very limited. + +Package: deps-tools-cli +Architecture: all +Depends: libdeps-perl, libdeps-renderer-dot-perl | libdeps-renderer, ${perl:Depends}, ${misc:Depends} +Replaces: graph-includes (<< 0.12) +Conflicts: graph-includes (<< 0.12) +Description: DEPS command-line tools + Currently only contains the limited "graph-includes" tool. + . + Graph-includes creates a graph of dependencies between source-files + and/or groups of source-files, with an emphasis on getting readable + and usable graphs even for large projects. + . + Usability of the dependency graphs are currently improved by: + - customizable grouping of several source files into a single node + - transitive reduction of the graph + . + It currently supports graphing the C/C++ #include relationship, using + graphviz by default. Limited support is provided to draw 3D graphs + using tulip. + + +Package: graph-includes +Architecture: all +Depends: deps-tools-cli +Description: transitionnal package + This package solely exists to smooth the transition from + graph-includes to DEPS. It can be safely removed after upgrade. --- deps-0.13.orig/debian/changelog +++ deps-0.13/debian/changelog @@ -0,0 +1,86 @@ +deps (0.13-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Conditionally remove /usr/lib/perl5 (closes: #467648) + + -- Stephen Gran Sat, 05 Apr 2008 12:30:45 +0100 + +deps (0.13-1) unstable; urgency=low + + * New upstream release, package name change. + * Switch to multi-binary packaging. + + -- Yann Dirson Thu, 9 Feb 2006 19:34:38 +0100 + +graph-includes (0.11-1) unstable; urgency=low + + * The "take down the steam" release. + * New upstream release. + * Fixed "upsteam" typo all over this changelog :) + + -- Yann Dirson Wed, 7 Dec 2005 23:01:30 +0100 + +graph-includes (0.10-1) unstable; urgency=low + + * New upstream release. + * Suggest tulip, now supported as an alternative to dot. + * Run "make distclean" again if it fails, which is necessary because in + some obscure cases it causes the Makefile to be regenerated (sic). + * Bumped Standards-Version to 3.6.2 (no change). + + -- Yann Dirson Tue, 29 Nov 2005 23:20:54 +0100 + +graph-includes (0.9.1-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Tue, 7 Jun 2005 22:10:54 +0200 + +graph-includes (0.8-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Thu, 26 May 2005 00:34:36 +0200 + +graph-includes (0.7-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Tue, 10 May 2005 23:30:04 +0200 + +graph-includes (0.6.1-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Tue, 26 Apr 2005 23:35:02 +0200 + +graph-includes (0.5-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Wed, 20 Apr 2005 00:26:35 +0200 + +graph-includes (0.4-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Mon, 18 Apr 2005 22:52:28 +0200 + +graph-includes (0.3-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Thu, 14 Apr 2005 21:39:02 +0200 + +graph-includes (0.2-1) unstable; urgency=low + + * New upstream release. + + -- Yann Dirson Fri, 1 Apr 2005 20:59:14 +0200 + +graph-includes (0.1-1) unstable; urgency=low + + * Initial Release. + + -- Yann Dirson Mon, 28 Mar 2005 21:14:37 +0200 + --- deps-0.13.orig/debian/rules +++ deps-0.13/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages | head -1) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/tmp + +build: build-stamp +build-stamp: + dh_testdir + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + -$(MAKE) distclean || $(MAKE) distclean + + dh_clean build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + +# $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --verbose --parents $(TMP)/usr/lib/perl5 + + dh_movefiles + test -z "`find ${TMP} ! -type d | tee /dev/fd/2`" + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + + # share docdir from main $PACKAGE + set -e; for i in $(shell dh_listpackages | tail +2); do \ + mkdir -p debian/$$i/usr/share/doc ;\ + ! test -e debian/$$i/usr/share/doc/$$i ;\ + ln -s $(PACKAGE) debian/$$i/usr/share/doc/$$i ;\ + done + + dh_installexamples examples/* + dh_installdocs README NEWS + dh_installchangelogs + dh_perl + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- deps-0.13.orig/debian/compat +++ deps-0.13/debian/compat @@ -0,0 +1 @@ +4 --- deps-0.13.orig/debian/copyright +++ deps-0.13/debian/copyright @@ -0,0 +1,17 @@ +This is the debian package for the graph-includes module. +It was created by Yann Dirson with the help of +dh-make-perl. + + Copyright (c) 2005 Yann Dirson + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License, version 2, + as published by the Free Software Foundation. + + 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. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. --- deps-0.13.orig/debian/libdeps-perl.files +++ deps-0.13/debian/libdeps-perl.files @@ -0,0 +1,5 @@ +/usr/share/perl5/DEPS +/usr/share/perl5/graphincludes/*.pm +/usr/share/perl5/graphincludes/extractor +/usr/share/perl5/graphincludes/project +/usr/share/perl5/graphincludes/graph --- deps-0.13.orig/debian/deps-tools-cli.files +++ deps-0.13/debian/deps-tools-cli.files @@ -0,0 +1 @@ +/usr/bin --- deps-0.13.orig/debian/libdeps-renderer-tulip-perl.files +++ deps-0.13/debian/libdeps-renderer-tulip-perl.files @@ -0,0 +1 @@ +/usr/share/perl5/graphincludes/renderer/tulip.pm --- deps-0.13.orig/debian/libdeps-renderer-dot-perl.files +++ deps-0.13/debian/libdeps-renderer-dot-perl.files @@ -0,0 +1 @@ +/usr/share/perl5/graphincludes/renderer/dot.pm