Browse Source

n/omero: Upgraded to omero-5.3.0.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
f5b02b8a76
  1. 1
      n/omero/OMERO.server-5.2.8-ice36-b57.zip.sha256
  2. 1
      n/omero/OMERO.server-5.3.0-ice36-b59.zip.sha256
  3. 24
      n/omero/README
  4. 16
      n/omero/omero.SlackBuild
  5. 1
      n/omero/omero.sh
  6. 4
      n/omero/rc.omero

1
n/omero/OMERO.server-5.2.8-ice36-b57.zip.sha256

@ -1 +0,0 @@
e5e2850724b05bbd9d2df5e283854e3bd08048452d23ac84f6b1ffb133e46159 OMERO.server-5.2.8-ice36-b57.zip

1
n/omero/OMERO.server-5.3.0-ice36-b59.zip.sha256

@ -0,0 +1 @@
3238e4d3fbc979df87977118c20cb9edbdc74d6625d319aa52d042c7bb6271e3 OMERO.server-5.3.0-ice36-b59.zip

24
n/omero/README

@ -1,4 +1,4 @@
PACKAGER'S README FOR OMERO-5.2.8
PACKAGER'S README FOR OMERO-5.3.0
Damien Goutte-Gattat <dgouttegattat@incenp.org>
@ -89,8 +89,8 @@
The Django-based web application OMERO.web is not enabled by default,
as it requires some configuration.
Make sure Django and mod_wsgi are installed. Add the following line
to the OMERO configuration file /etc/omero.conf:
Make sure Nginx and Django are installed. Add the following line to
the OMERO configuration file /etc/omero.conf:
---8<----------------------------------------------------------------
omero.web.application_server=wsgi
@ -107,9 +107,9 @@
actually serve the application.
The following command will produce a configuration snippet that can
directly inserted into the configuration file of Apache httpd:
directly inserted into the configuration file of Nginx:
omero web config apache
omero web config nginx
Start the web server. OMERO.web should now be reachable at the root
of the web server.
@ -140,7 +140,7 @@
http://www.openmicroscopy.org/site/support/omero5/sysadmins/server-upgrade.html
To upgrade OMERO 5.1.x to OMERO-5.2.8:
To upgrade OMERO 5.2.x to OMERO-5.3.0:
- stop OMERO if it is running;
@ -151,18 +151,8 @@
- upgrade the database:
$ cd /opt/omero
$ psql -h localhost -U omero omero < sql/psql/OMERO5.2__0/OMERO5.1__1.sql
$ psql -h localhost -U omero omero < sql/psql/OMERO5.3__0/OMERO5.2__0.sql
- start the upgraded server:
# /etc/rc.d/rc.omero start
To upgrade OMERO 5.2.x to OMERO 5.2.8:
- stop OMERO if it is running;
- backup the SQL database;
- upgrade the package;
- start the upgraded server.

16
n/omero/omero.SlackBuild

@ -24,13 +24,12 @@
#
# Latest omero sourcecode is available at: <http://www.openmicroscopy.org/>.
#
# Depends: d/ice, ap/postgresql
# Optional: l/pytables, l/scipy, l/matplotlib, d/Django
# Depends: d/ice, n/gunicorn, l/omero-marshal, l/django-pipeline, l/pytables
# Source package infos
NAMESRC=${NAMESRC:-OMERO.server}
VERSION=${VERSION:-5.2.8}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b57.zip}
VERSION=${VERSION:-5.3.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b59.zip}
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE}
# Build infos
@ -69,7 +68,7 @@ sha256sum -c $ARCHIVE.sha256
mkdir -p $PKG/opt
cd $PKG/opt
unzip $CWD/$ARCHIVE
mv OMERO.server-$VERSION-ice36-b57 omero
mv OMERO.server-$VERSION-ice36-b59 omero
rm omero/bin/*.bat omero/etc/env.bat
# Install launch scripts
@ -90,12 +89,11 @@ install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
django-pipeline
gunicorn
ice
postgresql
omero-marshal
pytables
scipy
matplotlib
Django
EOF
# Package the tree

1
n/omero/omero.sh

@ -1,6 +1,5 @@
#!/bin/sh
PYTHONPATH=/opt/omero/lib/python
export OMERO_HOME
export PYTHONPATH
exec /opt/omero/bin/omero $@

4
n/omero/rc.omero

@ -45,8 +45,8 @@ init)
createdb $PGOPTS -E UTF8 -l en_US.UTF-8 -T template0 -O $DB_USER $DB_NAME
createlang $PGOPTS plpgsql $DB_NAME
sudo -H -u omero -i omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.2__0.sql
rm -rf /var/lib/omero/OMERO5.2__0.sql
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.3__0.sql
rm -rf /var/lib/omero/OMERO5.3__0.sql
fi
;;

Loading…
Cancel
Save