mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
flowcanvas: remove
python 2, unused now that ladish is gone closes #46307
This commit is contained in:
parent
9dfc7156f2
commit
fa055fe600
5 changed files with 3 additions and 84 deletions
|
@ -1105,7 +1105,6 @@ libgvc.so.6 graphviz-libs-2.28.0_6
|
||||||
libcdt.so.5 graphviz-libs-2.28.0_6
|
libcdt.so.5 graphviz-libs-2.28.0_6
|
||||||
libpathplan.so.4 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
|
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
|
libmowgli-2.so.0 libmowgli-2.1.3_8
|
||||||
libgts-0.7.so.5 gts-0.7.6_1
|
libgts-0.7.so.5 gts-0.7.6_1
|
||||||
libguess.so.1 libguess-1.1_1
|
libguess.so.1 libguess-1.1_1
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
flowcanvas
|
|
|
@ -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',
|
|
|
@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'removed-packages'
|
# Template file for 'removed-packages'
|
||||||
pkgname=removed-packages
|
pkgname=removed-packages
|
||||||
version=0.1.20230930
|
version=0.1.20231006
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
short_desc="Uninstalls packages removed from repository"
|
short_desc="Uninstalls packages removed from repository"
|
||||||
|
@ -121,6 +121,8 @@ replaces="
|
||||||
flickcurl-devel<=1.26_4
|
flickcurl-devel<=1.26_4
|
||||||
flickcurl-doc<=1.26_4
|
flickcurl-doc<=1.26_4
|
||||||
flickcurl<=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
|
font-bitstream-speedo<=1.0.2_5
|
||||||
fontmatrix<=0.6.0.20171228_2
|
fontmatrix<=0.6.0.20171228_2
|
||||||
freshplayerplugin<=0.3.9_9
|
freshplayerplugin<=0.3.9_9
|
||||||
|
|
Loading…
Add table
Reference in a new issue