Browse Source

omero-client: Upgraded to omero-client-5.1.0.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
bba6024aae
  1. 1
      xap/omero-client/OMERO.clients-5.0.8-ice35-b60.linux.zip.sha1
  2. 8
      xap/omero-client/OMERO.editor.desktop
  3. 8
      xap/omero-client/OMERO.importer.desktop
  4. 1
      xap/omero-client/OMERO.insight-5.1.0-ice35-b40-linux.zip.sha1
  5. 19
      xap/omero-client/omero-client.SlackBuild
  6. 9
      xap/omero-client/omero.editor.sh
  7. 12
      xap/omero-client/omero.importer-cli.sh
  8. 9
      xap/omero-client/omero.importer.sh
  9. 2
      xap/omero-client/omero.insight.sh

1
xap/omero-client/OMERO.clients-5.0.8-ice35-b60.linux.zip.sha1

@ -1 +0,0 @@
e8f841e3a4613bb05fae3a4a2131127eea3ff05a OMERO.clients-5.0.8-ice35-b60.linux.zip

8
xap/omero-client/OMERO.editor.desktop

@ -1,8 +0,0 @@
[Desktop Entry]
Name=OMERO.editor
Comment=OMERO Protocol Editor
Exec=omero.editor
Terminal=false
Type=Application
Categories=GNOME;GTK;Qt;KDE;Science
StartupNotify=false

8
xap/omero-client/OMERO.importer.desktop

@ -1,8 +0,0 @@
[Desktop Entry]
Name=OMERO.importer
Comment=OMERO Importer
Exec=omero.importer
Terminal=false
Type=Application
Categories=GNOME;GTK;Qt;KDE;Science
StartupNotify=false

1
xap/omero-client/OMERO.insight-5.1.0-ice35-b40-linux.zip.sha1

@ -0,0 +1 @@
de3e077639b3557be37d374b9f59593ee7aba41d OMERO.insight-5.1.0-ice35-b40-linux.zip

19
xap/omero-client/omero-client.SlackBuild

@ -26,9 +26,9 @@
# <http://www.openmicroscopy.org/>
# Source package infos
NAMESRC=${NAMESRC:-OMERO.clients}
VERSION=${VERSION:-5.0.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice35-b60.linux.zip}
NAMESRC=${NAMESRC:-OMERO.insight}
VERSION=${VERSION:-5.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice35-b40-linux.zip}
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE}
# Build infos
@ -62,7 +62,7 @@ if [ ! -r $ARCHIVE ]; then
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$NAMESRC-$VERSION-ice35-b60.linux
NAME=$NAMESRC-$VERSION-ice35-b40-linux
# Extract and install
mkdir -p $PKG/usr/lib
@ -70,17 +70,14 @@ cd $PKG/usr/lib
unzip $CWD/$ARCHIVE
mv $NAME omero
cd omero
rm *_unix.sh importer-cli INSTALL.txt
rm OMEROinsight_unix.sh INSTALL.txt
# Create launch scripts
# Create launch script
install -D -m 755 $CWD/omero.insight.sh $PKG/usr/bin/omero.insight
install -m 755 $CWD/omero.editor.sh $PKG/usr/bin/omero.editor
install -m 755 $CWD/omero.importer.sh $PKG/usr/bin/omero.importer
install -m 755 $CWD/omero.importer-cli.sh $PKG/usr/bin/omero.importer-cli
# Install desktop files
# Install desktop file
mkdir -p $PKG/usr/share/applications
install -m 644 $CWD/*.desktop $PKG/usr/share/applications
install -m 644 $CWD/OMERO.insight.desktop $PKG/usr/share/applications
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

9
xap/omero-client/omero.editor.sh

@ -1,9 +0,0 @@
#!/bin/sh
if [ ! -d $XDG_DATA_HOME/omero ]; then
mkdir -p $XDG_DATA_HOME/omero
ln -s /usr/lib/omero/* $XDG_DATA_HOME/omero/
fi
cd $XDG_DATA_HOME/omero
exec java -Xms128m -Xmx512m -jar omero.insight.jar containerEditor.xml

12
xap/omero-client/omero.importer-cli.sh

@ -1,12 +0,0 @@
#!/bin/sh
cd /usr/lib/omero
CLASSPATH=./OmeroImporter.jar:./omero.insight.jar
for FILE in libs/*.jar; do
CLASSPATH="${CLASSPATH:+${CLASSPATH}:}$FILE"
done
CLASS=ome.formats.importer.cli.CommandLineImporter
java -cp "$CLASSPATH" -Djava.library.path=/usr/lib/omero -Xmx512m $CLASS "$@"

9
xap/omero-client/omero.importer.sh

@ -1,9 +0,0 @@
#!/bin/sh
if [ ! -d $XDG_DATA_HOME/omero ]; then
mkdir -p $XDG_DATA_HOME/omero
ln -s /usr/lib/omero/* $XDG_DATA_HOME/omero/
fi
cd $XDG_DATA_HOME/omero
java -Xms128m -Xmx512m -jar omero.insight.jar containerImporter.xml

2
xap/omero-client/omero.insight.sh

@ -6,4 +6,4 @@ if [ ! -d $XDG_DATA_HOME/omero ]; then
fi
cd $XDG_DATA_HOME/omero
exec java -Xms128m -Xmx512m -jar omero.insight.jar
exec java -Xms256m -Xmx1024m -jar omero.insight.jar

Loading…
Cancel
Save