[arch-commits] Commit in flowcanvas/repos (8 files)
Date: Monday, December 7, 2015 @ 22:05:54 Author: foutrelis Revision: 150131 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: flowcanvas/repos/community-staging-i686/ flowcanvas/repos/community-staging-i686/PKGBUILD (from rev 150130, flowcanvas/trunk/PKGBUILD) flowcanvas/repos/community-staging-i686/flowcanvas.install (from rev 150130, flowcanvas/trunk/flowcanvas.install) flowcanvas/repos/community-staging-i686/graphviz-2.30.patch (from rev 150130, flowcanvas/trunk/graphviz-2.30.patch) flowcanvas/repos/community-staging-x86_64/ flowcanvas/repos/community-staging-x86_64/PKGBUILD (from rev 150130, flowcanvas/trunk/PKGBUILD) flowcanvas/repos/community-staging-x86_64/flowcanvas.install (from rev 150130, flowcanvas/trunk/flowcanvas.install) flowcanvas/repos/community-staging-x86_64/graphviz-2.30.patch (from rev 150130, flowcanvas/trunk/graphviz-2.30.patch) --+ community-staging-i686/PKGBUILD | 46 community-staging-i686/flowcanvas.install| 13 + community-staging-i686/graphviz-2.30.patch | 56 + community-staging-x86_64/PKGBUILD| 46 community-staging-x86_64/flowcanvas.install | 13 + community-staging-x86_64/graphviz-2.30.patch | 56 + 6 files changed, 230 insertions(+) Copied: flowcanvas/repos/community-staging-i686/PKGBUILD (from rev 150130, flowcanvas/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-07 21:05:54 UTC (rev 150131) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Ray Rashif +# Contributor: Max a.k.a. Synthead +# Contributor: christhemonkey + +pkgname=flowcanvas +pkgver=0.7.1 +pkgrel=5 +pkgdesc="Gtkmm/Gnomecanvasmm widget for boxes-and-lines style environments" +arch=('i686' 'x86_64') +url="http://drobilla.net/software/flowcanvas/"; +depends=('libgnomecanvasmm' 'graphviz>=2.34') +makedepends=('boost' 'python2') +license=('GPL') +install=$pkgname.install +source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"; +"graphviz-2.30.patch") +md5sums=('a4908f6385ce9fd2ce97c8caa823f053' + 'e5b2b23d8be0c9fa14b8b52379a15155') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # graphviz 2.30 compatibility + # see http://dev.drobilla.net/ticket/888 + # adapted from FreeBSD patch (just stripped their stuff) + # potentially unstable (nothing committed by developer yet) + # may have to incorporate proposed patch for ganv (successor to this lib) + patch -Np0 -i "$srcdir/graphviz-2.30.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + CXXFLAGS+=' -std=c++11' + python2 waf configure --prefix=/usr + python2 waf build $MAKEFLAGS +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python2 waf install --destdir="$pkgdir" +} + +# vim:set ts=2 sw=2 et: Copied: flowcanvas/repos/community-staging-i686/flowcanvas.install (from rev 150130, flowcanvas/trunk/flowcanvas.install) === --- community-staging-i686/flowcanvas.install (rev 0) +++ community-staging-i686/flowcanvas.install 2015-12-07 21:05:54 UTC (rev 150131) @@ -0,0 +1,13 @@ +post_install() { + \ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: Copied: flowcanvas/repos/community-staging-i686/graphviz-2.30.patch (from rev 150130, flowcanvas/trunk/graphviz-2.30.patch) === --- community-staging-i686/graphviz-2.30.patch (rev 0) +++ community-staging-i686/graphviz-2.30.patch 2015-12-07 21:05:54 UTC (rev 150131) @@ -0,0 +1,56 @@ +--- src/Canvas.cpp.orig2011-01-10 00:19:58.0 +0100 src/Canvas.cpp 2013-03-16 13:45:17.797462753 +0100 +@@ -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))
[arch-commits] Commit in flowcanvas/repos (8 files)
Date: Tuesday, October 8, 2013 @ 22:03:48 Author: schiv Revision: 98344 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: flowcanvas/repos/community-staging-i686/ flowcanvas/repos/community-staging-i686/PKGBUILD (from rev 98343, flowcanvas/trunk/PKGBUILD) flowcanvas/repos/community-staging-i686/flowcanvas.install (from rev 98343, flowcanvas/trunk/flowcanvas.install) flowcanvas/repos/community-staging-i686/graphviz-2.30.patch (from rev 98343, flowcanvas/trunk/graphviz-2.30.patch) flowcanvas/repos/community-staging-x86_64/ flowcanvas/repos/community-staging-x86_64/PKGBUILD (from rev 98343, flowcanvas/trunk/PKGBUILD) flowcanvas/repos/community-staging-x86_64/flowcanvas.install (from rev 98343, flowcanvas/trunk/flowcanvas.install) flowcanvas/repos/community-staging-x86_64/graphviz-2.30.patch (from rev 98343, flowcanvas/trunk/graphviz-2.30.patch) --+ community-staging-i686/PKGBUILD | 45 community-staging-i686/flowcanvas.install| 13 + community-staging-i686/graphviz-2.30.patch | 56 + community-staging-x86_64/PKGBUILD| 45 community-staging-x86_64/flowcanvas.install | 13 + community-staging-x86_64/graphviz-2.30.patch | 56 + 6 files changed, 228 insertions(+) Copied: flowcanvas/repos/community-staging-i686/PKGBUILD (from rev 98343, flowcanvas/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-10-08 20:03:48 UTC (rev 98344) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Ray Rashif +# Contributor: Max a.k.a. Synthead +# Contributor: christhemonkey + +pkgname=flowcanvas +pkgver=0.7.1 +pkgrel=4 +pkgdesc="Gtkmm/Gnomecanvasmm widget for boxes-and-lines style environments" +arch=('i686' 'x86_64') +url="http://drobilla.net/software/flowcanvas/"; +depends=('libgnomecanvasmm' 'graphviz>=2.34') +makedepends=('boost' 'python2') +license=('GPL') +install=$pkgname.install +source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"; +"graphviz-2.30.patch") +md5sums=('a4908f6385ce9fd2ce97c8caa823f053' + 'e5b2b23d8be0c9fa14b8b52379a15155') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # graphviz 2.30 compatibility + # see http://dev.drobilla.net/ticket/888 + # adapted from FreeBSD patch (just stripped their stuff) + # potentially unstable (nothing committed by developer yet) + # may have to incorporate proposed patch for ganv (successor to this lib) + patch -Np0 -i "$srcdir/graphviz-2.30.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + python2 waf configure --prefix=/usr + python2 waf build $MAKEFLAGS +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python2 waf install --destdir="$pkgdir" +} + +# vim:set ts=2 sw=2 et: Copied: flowcanvas/repos/community-staging-i686/flowcanvas.install (from rev 98343, flowcanvas/trunk/flowcanvas.install) === --- community-staging-i686/flowcanvas.install (rev 0) +++ community-staging-i686/flowcanvas.install 2013-10-08 20:03:48 UTC (rev 98344) @@ -0,0 +1,13 @@ +post_install() { + \ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: Copied: flowcanvas/repos/community-staging-i686/graphviz-2.30.patch (from rev 98343, flowcanvas/trunk/graphviz-2.30.patch) === --- community-staging-i686/graphviz-2.30.patch (rev 0) +++ community-staging-i686/graphviz-2.30.patch 2013-10-08 20:03:48 UTC (rev 98344) @@ -0,0 +1,56 @@ +--- src/Canvas.cpp.orig2011-01-10 00:19:58.0 +0100 src/Canvas.cpp 2013-03-16 13:45:17.797462753 +0100 +@@ -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(""); +