aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLockywolf <for_sbo.gephi_2023-07-18@lockywolf.net>2023-07-19 10:00:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-19 10:00:21 +0700
commita8479b3daedb775f8ddd4f66ade2407fee823f97 (patch)
tree55b5a552073fc2f5c2dbf269a88f35d68c8d5630
parent0a178e09bee10ade7f08a9bdcd63edd5ca2f5ab4 (diff)
academic/gephi: Added (Open Graph Viz Platform).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/gephi/README42
-rw-r--r--academic/gephi/doinst.sh9
-rw-r--r--academic/gephi/gephi.SlackBuild88
-rw-r--r--academic/gephi/gephi.info12
-rw-r--r--academic/gephi/slack-desc19
5 files changed, 170 insertions, 0 deletions
diff --git a/academic/gephi/README b/academic/gephi/README
new file mode 100644
index 000000000000..1f997e187baa
--- /dev/null
+++ b/academic/gephi/README
@@ -0,0 +1,42 @@
+The Open Graph Viz Platform
+
+Gephi is the leading visualization and exploration software for all
+kinds of graphs and networks. Gephi is open-source and free.
+
+Exploratory Data Analysis: intuition-oriented analysis by networks
+manipulations in real time.
+
+Link Analysis: revealing the underlying structures of associations
+between objects.
+
+Social Network Analysis: easy creation of social data connectors to
+map community organizations and small-world networks.
+
+Biological Network analysis: representing patterns of biological data.
+
+Poster creation: scientific work promotion with hi-quality printable
+maps.
+
+METRICS READY
+
+Centrality: used in sociology to indicate how well a node is
+connected. Available: degree (power-law), betweenness, closeness.
+
+And more: density, path length, diameter, HITS, modularity, clustering
+coefficient.
+
+TECHNOLOGY
+
+Ergonomic interface: no programming skills needed
+
+High-performance: built-in rendering engine.
+
+Native file formats: GDF (GUESS), GraphML (NodeXL), GML, NET (Pajek),
+GEXF and more.
+
+Customizable by plugins: layouts, metrics, data sources, manipulation
+tools, rendering presets and more.
+
+NOTE: Gephi's support for importing even non-trivial Graphviz dot is
+totally broken, so do not rely on it. For dot, the graphviz package
+is providing the gvedit tool.
diff --git a/academic/gephi/doinst.sh b/academic/gephi/doinst.sh
new file mode 100644
index 000000000000..65c7e2eeb9aa
--- /dev/null
+++ b/academic/gephi/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/academic/gephi/gephi.SlackBuild b/academic/gephi/gephi.SlackBuild
new file mode 100644
index 000000000000..d9d650d503c5
--- /dev/null
+++ b/academic/gephi/gephi.SlackBuild
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Slackware build script for gephi
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gephi
+VERSION=${VERSION:-0.10.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-linux-x64.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+install -d -m 755 $PKG/usr/bin
+install -d -m 755 $PKG/opt/$PRGNAM
+cp -r . $PKG/opt/$PRGNAM
+echo "#!/bin/bash
+exec /opt/$PRGNAM/bin/gephi $@" > $PKG/usr/bin/$PRGNAM
+chmod +x $PKG/usr/bin/$PRGNAM
+
+install -d -m0755 $PKG/usr/share/applications/
+install -m0644 $PKG/opt/$PRGNAM/flathub/org.gephi.Gephi.desktop $PKG/usr/share/applications/
+install -d -m0755 $PKG/usr/share/icons/hicolor/512x512/apps/
+install -m0644 $PKG/opt/$PRGNAM/flathub/gephi.png $PKG/usr/share/icons/hicolor/512x512/apps/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/gephi-tutorial-quick_start.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/gephi-tutorial-quick_start.pdf
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/academic/gephi/gephi.info b/academic/gephi/gephi.info
new file mode 100644
index 000000000000..1d7443d07d2a
--- /dev/null
+++ b/academic/gephi/gephi.info
@@ -0,0 +1,12 @@
+PRGNAM="gephi"
+VERSION="0.10.1"
+HOMEPAGE="https://gephi.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/gephi/gephi/releases/download/v0.10.1/gephi-0.10.1-linux-x64.tar.gz\
+ https://gephi.org/tutorials/gephi-tutorial-quick_start.pdf"
+MD5SUM_x86_64="b387916d8addb79935cff824b9973307\
+ a5e956a201ac957a4acd09a3cdc06506"
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.gephi_2023-07-18@lockywolf.net"
diff --git a/academic/gephi/slack-desc b/academic/gephi/slack-desc
new file mode 100644
index 000000000000..881315966da1
--- /dev/null
+++ b/academic/gephi/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gephi: gephi (The Open Graph Viz Platform)
+gephi:
+gephi: Gephi is the leading visualization and exploration software for all
+gephi: kinds of graphs and networks.
+gephi:
+gephi:
+gephi:
+gephi:
+gephi:
+gephi:
+gephi: