debian/0000755000000000000000000000000012265740032007167 5ustar debian/copyright0000644000000000000000000000667111542626035011137 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: FlowCanvas Upstream-Contact: David Robillard Source: http://drobilla.net/software/flowcanvas/ Files: * Copyright: 2007-2010 Dave Robillard 2008 Nedko Arnaudov Copyright: GPL-2+ Files: waf Copyright: Thomas Nagy, 2005-2010 License: BSD-3-clause Files: debian/* Copyright: 2009 Paul Brossier License: GPL-3 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. or point your web browser to http://www.gnu.org. Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. 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: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. 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. . 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR "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 AUTHOR 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. License: GPL-3 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 3 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 program. If not, see . Comment: On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/libflowcanvas5.install0000644000000000000000000000002211307760645013500 0ustar usr/lib/lib*.so.* debian/changelog0000644000000000000000000001030312265737640011051 0ustar flowcanvas (0.7.1+dfsg0-0.2ubuntu2) trusty; urgency=medium * No change rebuild for new graphviz libs. -- Matthias Klose Thu, 16 Jan 2014 12:16:14 +0100 flowcanvas (0.7.1+dfsg0-0.2ubuntu1) trusty; urgency=low * Apply patch from Fedora to fix build with libcgraph. -- Colin Watson Thu, 24 Oct 2013 10:03:33 +0100 flowcanvas (0.7.1+dfsg0-0.2build1) trusty; urgency=low * Rebuild for graphviz 2.30. -- Colin Watson Wed, 23 Oct 2013 23:48:20 +0100 flowcanvas (0.7.1+dfsg0-0.2) unstable; urgency=low * Non-maintainer upload. * Properly fill flowcanvas.pc's Requires field rather than putting hard-coded paths/libraries in Cflags/Libs to avoid build failures in a multiarchified world (Closes: #670113). -- Alessio Treglia Mon, 23 Apr 2012 11:10:47 +0200 flowcanvas (0.7.1+dfsg0-0.1) unstable; urgency=low * Non-maintainer upload. * Repack upstream tarball to get rid of the 'waf' blob. Closes: #654465 - debian/rules: + Use 'waf clean' instead of 'waf distclean' in order to avoid the removal of the waflib. + Skip errors on 'waf clean'. + Prune *.pyc files on clean. -- Alessio Treglia Mon, 09 Jan 2012 19:42:14 +0100 flowcanvas (0.7.1-0.2) unstable; urgency=low * Non-maintainer upload. * Upload to unstable to start lash->ladish smooth transition; this closes: #626142 -- Alessio Treglia Fri, 20 May 2011 15:16:33 +0200 flowcanvas (0.7.1-0.1) experimental; urgency=low * Non-maintainer upload. * New upstream release (Closes: #609981): - Changes in 0.7.1: + Reduce memory consumption and improve alignment + Eliminate port control "gauge" overhead for non-control ports + Add "partner" concept for aligning related but unconnected nodes. + Add missing #includes + Expand README + Add missing COPYING file to distribution + Upgrade to waf 1.6.2 - Changes in 0.6.4: + Consistently call Item::store_location when items are moved, previous versions didn't on arrange or when dragging a selection + Fix centering (e.g. on arrange, initial view) + Upgrade to waf 1.5.18 * SONAME change: libflowcanvas3 -> libflowcanvas5. * debian/{control,rules}: - Drop quilt support as the package format is set to 3.0 (quilt). - Also remove debian/README.source since it's no longer needed. * debian/patches/1001-dont_run_ldconfig.patch: - Avoid calling ldconfig once the build is finished, this allow us to save a bit of time. * debian/control: - Improve package's descriptions. - Bump Standards-Version. - Remove duplicate Section: libs. * debian/copyright: - Update debian/copyright as per DEP-5 rev#173. - Add licensing information about waf. -- Alessio Treglia Thu, 24 Mar 2011 12:18:13 +0100 flowcanvas (0.6.0-1.1) unstable; urgency=low * Non-maintainer upload. * Use convenience copy of waf, system wide waf package is being removed from Debian (Closes: #571705). * Build-depend on python, convenience copy of waf needs it. * Tight quilt build-dependency to be >= 0.46-7~. -- Luca Falavigna Sun, 11 Apr 2010 16:22:13 +0200 flowcanvas (0.6.0-1) unstable; urgency=low * New upstream release * debian/watch: update to bz2 * debian/rules: switch to waf * debian/control: add build-depends on waf * debian/libflowcanvas-dev.install: remove .la file * debian/README.source: added ref to quilt * debian/control: bump debhelper requirements to 7.0.50~ * debian/libflowcanvas3.{install,dirs}: bump version to 3 * debian/source/format: use 3.0 quilt for upstream bz2 * debian/patches: drop missing include, integrated upstream -- Paul Brossier Wed, 09 Dec 2009 18:34:27 +0100 flowcanvas (0.5.1-2) unstable; urgency=low * Add build-depends on quilt * Add patch to fix FTBFS with g++-4.4, thanks to Michael Bienia (closes: #559898) -- Paul Brossier Mon, 07 Dec 2009 18:20:13 +0100 flowcanvas (0.5.1-1) unstable; urgency=low * Initial release (closes: #553386) -- Paul Brossier Fri, 30 Oct 2009 19:53:21 +0100 debian/libflowcanvas5.dirs0000644000000000000000000000001011307760645012770 0ustar usr/lib debian/compat0000644000000000000000000000000211307760645010375 0ustar 7 debian/patches/0000755000000000000000000000000012232161137010613 5ustar debian/patches/0001-pkgconfig_fix.patch0000644000000000000000000000140711754764716015055 0ustar Subject: Strip hard-coded paths/libraries of Cflags/Libs. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670113 From: http://dev.drobilla.net/changeset/3432/trunk/flowcanvas/flowcanvas.pc.in Reviewed-by: Alessio Treglia --- flowcanvas.pc.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- flowcanvas-0.7.1+dfsg0.orig/flowcanvas.pc.in +++ flowcanvas-0.7.1+dfsg0/flowcanvas.pc.in @@ -6,5 +6,6 @@ includedir=@includedir@ Name: flowcanvas Version: @FLOWCANVAS_VERSION@ Description: A Gtkmm canvas widget for graph based interfaces -Libs: -L${libdir} -lflowcanvas @GNOMECANVASMM_LIBS@ -Cflags: -I${includedir} @GNOMECANVASMM_CFLAGS@ +Requires: libgnomecanvasmm-2.6 +Libs: -L${libdir} -lflowcanvas +Cflags: -I${includedir} debian/patches/series0000644000000000000000000000010712232161020012015 0ustar 0001-pkgconfig_fix.patch 1001-dont_run_ldconfig.patch graphviz23.patch debian/patches/graphviz23.patch0000644000000000000000000000417212232161137013637 0ustar Description: Fix build with libcgraph Author: Tom Callaway Origin: vendor, http://pkgs.fedoraproject.org/cgit/flowcanvas.git/commit/?id=925fa22d9466bcfa9cf7a434527f40ea8906e8da Forwarded: no Last-Update: 2013-10-24 Index: b/src/Canvas.cpp =================================================================== --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -1253,21 +1253,21 @@ */ GVC_t* gvc = gvContext(); - Agraph_t* G = agopen((char*)"g", AGDIGRAPH); + Agraph_t* G = agopen((char*)"g", Agdirected, NULL); nodes.gvc = gvc; nodes.G = G; if (_direction == HORIZONTAL) - agraphattr(G, (char*)"rankdir", (char*)"LR"); + agattr(G, AGRAPH, (char*)"rankdir", (char*)"LR"); else - agraphattr(G, (char*)"rankdir", (char*)"TD"); + agattr(G, AGRAPH, (char*)"rankdir", (char*)"TD"); unsigned id = 0; for (ItemList::const_iterator i = _items.begin(); i != _items.end(); ++i) { std::ostringstream ss; ss << "n" << id++; - Agnode_t* node = agnode(G, strdup(ss.str().c_str())); + Agnode_t* node = agnode(G, strdup(ss.str().c_str()), true); if (boost::dynamic_pointer_cast(*i)) { ss.str(""); ss << (*i)->width() / 96.0; @@ -1310,7 +1310,7 @@ assert(src_node && dst_node); - Agedge_t* edge = agedge(G, src_node, dst_node); + Agedge_t* edge = agedge(G, src_node, dst_node, NULL, true); if (use_length_hints && c->length_hint() != 0) { std::ostringstream len_ss; @@ -1325,7 +1325,7 @@ if (partner) { GVNodes::iterator p = nodes.find(partner); if (p != nodes.end()) - agedge(G, i->second, p->second); + agedge(G, i->second, p->second, NULL, true); } } Index: b/wscript =================================================================== --- a/wscript +++ b/wscript @@ -39,6 +39,7 @@ autowaf.configure(conf) autowaf.display_header('FlowCanvas Configuration') conf.check_tool('compiler_cxx') + conf.env['LIB_AGRAPH'] = ['cgraph' if l == 'graph' else l for l in conf.env['LIB_AGRAPH']] autowaf.check_pkg(conf, 'libgvc', uselib_store='AGRAPH', atleast_version='2.8', mandatory=False) autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GLIBMM', debian/patches/1001-dont_run_ldconfig.patch0000644000000000000000000000067011542626560015724 0ustar Description: Don't run ldconfig once the build is finished in order to save a bit of time. Author: Alessio Treglia Forwarded: not-needed --- wscript | 1 - 1 file changed, 1 deletion(-) --- flowcanvas-0.7.1.orig/wscript +++ flowcanvas-0.7.1/wscript @@ -86,4 +86,3 @@ def build(bld): # Documentation autowaf.build_dox(bld, 'FLOWCANVAS', FLOWCANVAS_VERSION, top, out) - bld.add_post_fun(autowaf.run_ldconfig) debian/control0000644000000000000000000000254112232161161010566 0ustar Source: flowcanvas Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Paul Brossier Build-Depends: debhelper (>= 7.0.50~), python, libgtkmm-2.4-dev, libgnomecanvasmm-2.6-dev, libboost-dev, libgraphviz-dev (>= 2.30) Standards-Version: 3.9.1 Section: libs Vcs-Bzr: http://bzr.debian.org/users/piem/flowcanvas/ Vcs-Browser: http://bzr.debian.org/loggerhead/users/piem/flowcanvas/ Homepage: http://drobilla.net/software/flowcanvas/ Package: libflowcanvas-dev Section: libdevel Architecture: any Depends: libflowcanvas5 (= ${binary:Version}), ${misc:Depends} Description: interactive widget for “boxes and lines” environments - header files FlowCanvas is an interactive Gtkmm/Gnomecanvasmm widget for “boxes and lines” environments (ie modular synths or interactive finite state automata diagrams). . This package provides the development files. Package: libflowcanvas5 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: interactive widget for “boxes and lines” environments FlowCanvas is an interactive Gtkmm/Gnomecanvasmm widget for “boxes and lines” environments (ie modular synths or interactive finite state automata diagrams). . This package provides the runtime library. debian/rules0000755000000000000000000000106111702633576010256 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_configure: ./waf configure --prefix /usr override_dh_auto_build: dh build --before dh_auto_build ./waf build dh build --after dh_auto_build override_dh_auto_install: dh install --before dh_auto_install ./waf install --destdir $(CURDIR)/debian/tmp dh install --after dh_auto_install override_dh_auto_clean: dh clean --before dh_auto_clean ./waf clean || true find -name "*.pyc" -delete dh clean --after dh_auto_clean debian/source/0000755000000000000000000000000011542626724010477 5ustar debian/source/format0000644000000000000000000000001411307761543011703 0ustar 3.0 (quilt) debian/libflowcanvas-dev.install0000644000000000000000000000006211307760645014173 0ustar usr/include/* usr/lib/lib*.so usr/lib/pkgconfig/* debian/watch0000644000000000000000000000015611307760645010232 0ustar version=3 http://drobilla.net/software/flowcanvas/ \ http://download.drobilla.net/flowcanvas-(.*)\.tar\.bz2 debian/libflowcanvas-dev.dirs0000644000000000000000000000002411307760645013464 0ustar usr/lib usr/include