Browse Source

xap/fiji: Upgraded to fiji-20191119.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
bab0363a79
  1. 1
      xap/fiji/fiji-nojre-20151222.zip.sha1
  2. 1
      xap/fiji/fiji-nojre-20191119.tar.gz.sha256
  3. 20
      xap/fiji/fiji.SlackBuild
  4. 5
      xap/fiji/fiji.desktop

1
xap/fiji/fiji-nojre-20151222.zip.sha1

@ -1 +0,0 @@
714d7278b70519c435f13bfde15165471b2893c6 fiji-nojre-20151222.zip

1
xap/fiji/fiji-nojre-20191119.tar.gz.sha256

@ -0,0 +1 @@
7fad8e8f8676edbcfe7eb979421ab163e8d48bb7950a815f7821cbe58b8bb051 fiji-nojre-20191119.tar.gz

20
xap/fiji/fiji.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2014,2016 Damien Goutte-Gattat
# Copyright (C) 2013,2014,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,9 +26,9 @@
# Source package infos
NAMESRC=${NAMESRC:-fiji}
VERSION=${VERSION:-20151222}
ARCHIVE=${ARCHIVE:-$NAMESRC-nojre-$VERSION.zip}
WGET=${WGET:-http://fiji.sc/downloads/Life-Line/$ARCHIVE}
VERSION=${VERSION:-20191119}
ARCHIVE=${ARCHIVE:-$NAMESRC-nojre-$VERSION.tar.gz}
WGET=${WGET:-https://downloads.imagej.net/fiji/archive/$VERSION-2057/fiji-nojre.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-fiji}
@ -59,21 +59,21 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
# Extract
mkdir -p $PKG/usr/lib $PKG/usr/bin
cd $PKG/usr/lib
unzip $CWD/$ARCHIVE
mkdir -p $PKG/opt $PKG/usr/bin
cd $PKG/opt
tar xf $CWD/$ARCHIVE
mv Fiji.app fiji
cd fiji
rm -rf Contents ImageJ-win??.exe
if [ "x$ARCH" = xx86_64 ]; then
rm ImageJ-linux32
ln -s /usr/lib/fiji/ImageJ-linux64 $PKG/usr/bin/imagej
ln -s /opt/fiji/ImageJ-linux64 $PKG/usr/bin/imagej
else
rm ImageJ-linux64
ln -s /usr/lib/fiji/ImageJ-linux32 $PKG/usr/bin/imagej
ln -s /opt/fiji/ImageJ-linux32 $PKG/usr/bin/imagej
fi
install -D -m 644 $CWD/fiji.desktop $PKG/usr/share/applications/fiji.desktop

5
xap/fiji/fiji.desktop

@ -6,9 +6,8 @@ X-GNOME-FullName=Fiji Is Just ImageJ
Comment=Scientific Image Analysis
Type=Application
Categories=Education;Science;ImageProcessing;
Exec=/home/damien/Downloads/soft/Fiji.app/ImageJ-linux64
TryExec=/home/damien/Downloads/soft/Fiji.app/ImageJ-linux64
Exec=/usr/bin/imagej
Terminal=false
StartupNotify=true
Icon=/home/damien/Downloads/soft/Fiji.app/images/icon.png
Icon=/opt/fiji/images/icon.png
StartupWMClass=fiji-Main

Loading…
Cancel
Save