Nothin' but Slackware

バイクとLinuxに戯れる日々

2022年09月

Open Visual TraceRoute for slackware

Open Visual Traceroute packages for slackware

Since I was not able to find SlackBuild of "Open Visual TraceRoute", I created a SlackBuild by referencing with Arch linux.
Thanks to Arch linux.

Latest version on SEP.15.2022: 2.0.0
Requires: Java(version 11-17)
  ※ In my case, echo $JAVA_HOME shows /usr/lib64/jdk11-11.0.14
<note> You can choose language and font in "Settings dialogue".
            Available languages are English, French, Japanese and Germany.

openvisualtraceroute.info
[code]
PRGNAM="openvisualtraceroute"
VERSION="2.0.0"
HOMEPAGE="https://visualtraceroute.net"
DOWNLOAD="direct download link(s) of application source tarball(s) arch-independent or x86"
MD5SUM=""
DOWNLOAD_x86_64="https://jaist.dl.sourceforge.net/project/openvisualtrace/2.0.0/OpenVisualTraceRoute2.0.0.zip"
MD5SUM_x86_64="25f685110684ee0549d2ba9d3c54891a"
REQUIRES="java(version 11~17)"
MAINTAINER="JW(Shinichi Abe)"
EMAIL="shin1.abe@nifty.com"


openvisualtraceroute.SlackBuild
[code]
#!/bin/sh

# Slackware build script for OpenVisualTraceRoute2.0.0

# Copyright 2022 JW(Shinichi Abe) <shin1.abe@nifty.com>
# 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.

PRGNAM=openvisualtraceroute
SRCNAM=OpenVisualTraceRoute
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-jw}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${SRCNAM}${VERSION}
unzip $CWD/${SRCNAM}${VERSION}.zip
cd ${SRCNAM}${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 -m755 "$PKG/usr/bin"
install -d -m755 "$PKG/usr/share/OpenVisualTraceRoute"
install -d -m755 "$PKG/usr/share/OpenVisualTraceRoute/"{lib,native/linux/${ARCH},resources}

cp -rPf "resources/"* "$PKG/usr/share/OpenVisualTraceRoute/resources"
cp -rPf "lib/"*.jar "$PKG/usr/share/OpenVisualTraceRoute/lib"

install -m755 "$CWD/ovtr" "$PKG/usr/bin/ovtr"
install -m755 "org.leo.traceroute.jar" "$PKG/usr/share/OpenVisualTraceRoute/"

install -D -m644 "$CWD/ovtr.desktop" "$PKG/usr/share/applications/ovtr.desktop"
install -D -m644 "resources/icon.png" "$PKG/usr/share/pixmaps/ovtr.png"

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

find $PKG -name perllocal.pod \
  -o -name ".packlist" \
  -o -name "*.bs" \
  | xargs rm -f

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt README.txt  $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}

slack-desc
[code]
# 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------------------------------------------------------|
openvisualtraceroute: openvisualtraceroute (cross-platform Java Visual Traceroute)
openvisualtraceroute:
openvisualtraceroute: Open source cross-platform Java Visual Traceroute.
openvisualtraceroute: Data is displayed in a 3D or a 2D map component.
openvisualtraceroute:
openvisualtraceroute: Home: https://visualtraceroute.net/
openvisualtraceroute:
openvisualtraceroute:
openvisualtraceroute:
openvisualtraceroute:
openvisualtraceroute:

ovtr
[code]
#!/bin/sh
cd /usr/share/OpenVisualTraceRoute
export PATH="$JAVA_HOME/bin/:$PATH"
java -Xmx512m -Djava.awt.headless=false -jar org.leo.traceroute.jar

ovtr.desktop
[code]
[Desktop Entry]
Name=Open Visual Traceroute
Comment=Visual Traceroute, packet sniffer and Whois.
Exec=ovtr
Icon=ovtr
Terminal=false
Type=Application
Categories=Development;Network

screenshots
ovtr_3D_JP_2022-09-15

ovtr_3D_2022-09-15




---
[2022-09-15] 新規
[2022-09-15] Added missing information about "ovtr" and "ovtr.desktop"



fcitx5-theme-collection

Here is a small package of fcitx5 skin/theme

URLs of each sources are below.
Thanks to all maintainers of thses skin/theme.
-----------------------------------------------------------------------------------------------------------------------------
## source from https://github.com/topics/fcitx5-skin ##
fcitx5-dracula-theme     : https://github.com/drbbr/fcitx5-dracula-theme        ;commit e27e1cb
Pisionics-Remix            : https://github.com/xTpx/Psionics-Remix                 ;commit 800f8e3
fcitx5-Black-Simplicity   : https://github.com/fuzmare/fcitx5-Black-Simplicity  ;commit 27e279c
fcitx5-solarized              ; https://github.com/mingyech/fcitx5-solarized          ;commit 7d85761
fcitx5-theme-neo-dark   ; https://github.com/weearc/fcitx5-theme-neo-dark   ;commit dbe6a7c
fcitx5-gruvbox                : https://github.com/ayamir/fcitx5-gruvbox                ;commit 80bd3ab
fcitx5-nord                     : https://github.com/tonyfettes/fcitx5-nord                  ;commit bdaa8fb
fcitx5-skin-simple-blue  : https://github.com/weearc/fcitx5-skin-simple-blue   ;commit a800e32
-----------------------------------------------------------------------------------------------------------------------------

fcitx5-theme-collection.SlackBuild
[code] Sorry, this build script is not soficticated. But this works anyway.
#!/bin/sh

# Slackware build script for fcitx5-theme-collection

# Copyright 2022 JW(Shinichi Abe) <shin1.abe@nifty.com>
# 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.
#
## source from https://github.com/topics/fcitx5-skin ##
# fcitx5-dracula-theme            : https://github.com/drbbr/fcitx5-dracula-theme         ;commit e27e1cb
# Pisionics-Remix                 : https://github.com/xTpx/Psionics-Remix                ;commit 800f8e3
# fcitx5-Black-Simplicity         : https://github.com/fuzmare/fcitx5-Black-Simplicity    ;commit 27e279c
# fcitx5-solarized                ; https://github.com/mingyech/fcitx5-solarized          ;commit 7d85761
# fcitx5-theme-neo-dark           ; https://github.com/weearc/fcitx5-theme-neo-dark       ;commit dbe6a7c
# fcitx5-gruvbox                  : https://github.com/ayamir/fcitx5-gruvbox              ;commit 80bd3ab
# fcitx5-nord                     : https://github.com/tonyfettes/fcitx5-nord             ;commit bdaa8fb
# fcitx5-skin-simple-blue         : https://github.com/weearc/fcitx5-skin-simple-blue     ;commit a800e32

PRGNAM=fcitx5-theme-collection
VERSION=${VERSION:-2022.09.04}
BUILD=${BUILD:-1}
TAG=${TAG:-jw}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i586 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i586" ]; then
  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
# Let's retrieve git sources
# Thanks to all maintainers of thses skin/theme.
git clone https://github.com/drbbr/fcitx5-dracula-theme
git clone https://github.com/xTpx/Psionics-Remix
git clone https://github.com/fuzmare/fcitx5-Black-Simplicity
git clone https://github.com/mingyech/fcitx5-solarized
git clone https://github.com/weearc/fcitx5-theme-neo-dark
git clone https://github.com/ayamir/fcitx5-gruvbox
git clone https://github.com/tonyfettes/fcitx5-nord
git clone https://github.com/weearc/fcitx5-skin-simple-blue
# rename source directory's name
mv fcitx5-dracula-theme dracula
mv fcitx5-theme-neo-dark neo-dark
mv fcitx5-skin-simple-blue simple-blue

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 {} \;

cd $TMP/$PRGNAM-$VERSION
mkdir -p ${PKG}/usr/share/fcitx5/themes
cp -a dracula Psionics-Remix fcitx5-Black-Simplicity/Black-Simplicity \
    fcitx5-solarized/solarized-dark fcitx5-solarized/solarized-light \
    neo-dark fcitx5-gruvbox/Gruvbox-Dark fcitx5-gruvbox/Gruvbox-Light \
    fcitx5-nord/Nord-Dark fcitx5-nord/Nord-Light simple-blue \
    ${PKG}/usr/share/fcitx5/themes

find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

find $PKG -name perllocal.pod \
  -o -name ".packlist" \
  -o -name "*.bs" \
  | xargs rm -f

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a fcitx5-solarized/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.solarized
cp -a neo-dark/UNLICENSE $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.neo-dark
cp -a simple-blue/UNLICENSE $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.simple-blue
cp -a fcitx5-nord/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE.nord

cp -a dracula/README.md $PKG/usr/doc/$PRGNAM-$VERSION/README.md.dracula
cp -a Psionics-Remix/README.org $PKG/usr/doc/$PRGNAM-$VERSION/README.Psionics-Remix
cp -a fcitx5-Black-Simplicity/README.md $PKG/usr/doc/$PRGNAM-$VERSION/README.md.Black-Simplicity
cp -a fcitx5-solarized/README.md $PKG/usr/doc/$PRGNAM-$VERSION/README.md.solarized
cp -a neo-dark/readme.md $PKG/usr/doc/$PRGNAM-$VERSION/readme.md.neo-dark
cp -a fcitx5-gruvbox/README.md $PKG/usr/doc/$PRGNAM-$VERSION/README.md.gruvbox
cp -a fcitx5-nord/README.md $PKG/usr/doc/$PRGNAM-$VERSION/README.md.nord
cp -a simple-blue/readme.md $PKG/usr/doc/$PRGNAM-$VERSION/readme.md.simple-blue

cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-txz}

slack-desc
[code]
# 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------------------------------------------------------|
fcitx5-theme-collection: fcitx5-theme-collection (Additiona fcitx5 themes)
fcitx5-theme-collection:
fcitx5-theme-collection: Additonal theme/skin for fcitx5
fcitx5-theme-collection: This package includes "Nord-Dark" "Nord-Light" "simple-blue"
fcitx5-theme-collection: "Gruvbox-Dark" "Gruvbox-Light" "neo-dark" "Black-Simplicity"  
fcitx5-theme-collection: "Dracula" "solarized-dark" "solarized-light" "Psionics-Remix"
fcitx5-theme-collection:
fcitx5-theme-collection:
fcitx5-theme-collection: src-url : https://github.com/topics/fcitx5-skin
fcitx5-theme-collection:
fcitx5-theme-collection:


screenshot of Dracula

FCITX5_skin_Dracula_2022-09-04


---
[2022-09-04] 新規
[ ]



ギャラリー
  • deepl-clip.sh で簡単翻訳 [更新:2025-04-29]
  • Avidemux 2.8.2_20250323_7cf15b3
  • Avidemux 2.8.2_20250323_7cf15b3
  • Avidemux 2.8.x with Qt6 GUI
  • Avidemux 2.8.x with Qt6 GUI
  • MEGAcmd-2.0.0_Linux
  • gcolor3 with Japanese menu and LC_MESSAGES
  • avidemux2 TEST package from the latest git source (on jul.23.2024)
  • fcitx5-mozc-2.29.5135.102.1 (15jw) -- Added "merge-ut-dictionaries"