flowcanvas: remove

python 2, unused now that ladish is gone

closes #46307
This commit is contained in:
classabbyamp 2023-10-06 09:50:25 -04:00
parent 9dfc7156f2
commit fa055fe600
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
5 changed files with 3 additions and 84 deletions

View File

@ -1105,7 +1105,6 @@ libgvc.so.6 graphviz-libs-2.28.0_6
libcdt.so.5 graphviz-libs-2.28.0_6
libpathplan.so.4 graphviz-libs-2.28.0_6
liblab_gamut.so.1 graphviz-libs-2.40.1_1
libflowcanvas.so.5 flowcanvas-0.7.1_1
libmowgli-2.so.0 libmowgli-2.1.3_8
libgts-0.7.so.5 gts-0.7.6_1
libguess.so.1 libguess-1.1_1

View File

@ -1 +0,0 @@
flowcanvas

View File

@ -1,56 +0,0 @@
--- a/src/Canvas.cpp 2011-01-10 00:19:58.000000000 +0100
+++ b/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<Module>(*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);
}
}
--- a/wscript 2011-01-12 00:09:31.000000000 +0100
+++ b/wscript 2013-03-16 14:19:43.577462602 +0100
@@ -41,6 +41,7 @@
conf.check_tool('compiler_cxx')
autowaf.check_pkg(conf, 'libgvc', uselib_store='AGRAPH',
atleast_version='2.8', mandatory=False)
+ conf.env['LIB_AGRAPH'] = ['cgraph' if l == 'graph' else l for l in conf.env['LIB_AGRAPH']]
autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GLIBMM',
atleast_version='2.10.0', mandatory=True)
autowaf.check_pkg(conf, 'libgnomecanvasmm-2.6', uselib_store='GNOMECANVASMM',

View File

@ -1,25 +0,0 @@
# Template file for 'flowcanvas'
pkgname=flowcanvas
version=0.7.1
revision=9
build_style=waf
hostmakedepends="pkg-config python"
makedepends="gtkmm2-devel libgnomecanvasmm-devel graphviz-devel boost-devel"
short_desc="Interactive canvas widget for boxes-and-lines style environments"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://drobilla.net/software/flowcanvas/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=047928d858fd1e9296a9984de7468c86bbe23fc42e286691b8f273541402c596
CXXFLAGS="-std=c++11"
flowcanvas-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}

View File

@ -1,6 +1,6 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1.20230930
version=0.1.20231006
revision=1
build_style=meta
short_desc="Uninstalls packages removed from repository"
@ -121,6 +121,8 @@ replaces="
flickcurl-devel<=1.26_4
flickcurl-doc<=1.26_4
flickcurl<=1.26_4
flowcanvas-devel<=0.7.1_9
flowcanvas<=0.7.1_9
font-bitstream-speedo<=1.0.2_5
fontmatrix<=0.6.0.20171228_2
freshplayerplugin<=0.3.9_9