diff options
Diffstat (limited to 'math/py-python-igraph/files')
-rw-r--r-- | math/py-python-igraph/files/patch-src_igraph_configuration.py | 21 | ||||
-rw-r--r-- | math/py-python-igraph/files/patch-vendor_source_igraph_bootstrap.sh | 11 |
2 files changed, 21 insertions, 11 deletions
diff --git a/math/py-python-igraph/files/patch-src_igraph_configuration.py b/math/py-python-igraph/files/patch-src_igraph_configuration.py new file mode 100644 index 000000000000..d165d46dbf32 --- /dev/null +++ b/math/py-python-igraph/files/patch-src_igraph_configuration.py @@ -0,0 +1,21 @@ +--- src/igraph/configuration.py.orig 2020-10-08 10:13:28 UTC ++++ src/igraph/configuration.py +@@ -56,6 +56,18 @@ def get_platform_image_viewer(): + if os.path.isfile(full_path): + return full_path + return "" ++ elif plat == "FreeBSD": ++ # FreeBSD also has a whole lot of choices, try to find one ++ choices = ["eog", "gthumb", "geeqie", "display", ++ "gpicview", "gwenview", "qiv", "gimv", "ristretto", ++ "geeqie", "eom"] ++ paths = ["%%LOCALBASE%%/bin"] ++ for path in paths: ++ for choice in choices: ++ full_path = os.path.join(path, choice) ++ if os.path.isfile(full_path): ++ return full_path ++ return "" + elif plat == "Windows" or plat == "Microsoft": # Thanks to Dale Hunscher + # Use the built-in Windows image viewer, if available + return "start" diff --git a/math/py-python-igraph/files/patch-vendor_source_igraph_bootstrap.sh b/math/py-python-igraph/files/patch-vendor_source_igraph_bootstrap.sh deleted file mode 100644 index 91dfd494d15f..000000000000 --- a/math/py-python-igraph/files/patch-vendor_source_igraph_bootstrap.sh +++ /dev/null @@ -1,11 +0,0 @@ ---- vendor/source/igraph/bootstrap.sh.orig 2020-08-17 08:48:54 UTC -+++ vendor/source/igraph/bootstrap.sh -@@ -4,7 +4,7 @@ cd "`dirname $0`" - - ## Find out our version number, need git for this - printf "Finding out version number/string... " --tools/getversion.sh > IGRAPH_VERSION -+#tools/getversion.sh > IGRAPH_VERSION - cat IGRAPH_VERSION - - for i in glibtoolize libtoolize; do |