summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Dvoretsky2015-05-20 02:06:08 +0300
committerEugene Dvoretsky2015-05-20 02:52:08 +0300
commitcc4979484c932076a62fbe5f447994c37558d0a6 (patch)
tree735a9f1863b7f7c1854f466b2f6b431eff3dfbaa
parent4929829ae50445c9c2d3914e0ae9b58a526405b0 (diff)
downloadaur-cc4979484c932076a62fbe5f447994c37558d0a6.tar.gz
Fiji lifeline 20141125 update
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
-rw-r--r--fiji.desktop14
3 files changed, 43 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d896f5269de2..891a429d23da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = fiji-binary
pkgdesc = ImageJ distribution with a lot of plugins for scientific (especially biology related) image processing.
- pkgver = 20140602
+ pkgver = 20141125
pkgrel = 1
url = http://fiji.sc/
install = fiji.install
@@ -9,15 +9,17 @@ pkgbase = fiji-binary
license = GPL
depends = java-runtime>=6
optdepends = java3d: For the 3D viewer plugin.
- provides = fiji=20140602
- provides = fiji-binary=20140602
+ provides = fiji=20141125
+ provides = fiji-binary=20141125
conflicts = fiji-binary-latest
- replaces = fiji<=20140602
- replaces = fiji-binary<=20140602
- source = http://fiji.sc/downloads/Life-Line/fiji-nojre-20140602.zip
+ replaces = fiji<=20141125
+ replaces = fiji-binary<=20141125
+ source = http://fiji.sc/downloads/Life-Line/fiji-nojre-20141125.zip
source = fiji.desktop
- md5sums = 0b33c507ec65ff1f7bd888c27a4db3ab
- md5sums = 4c59f5f24368b179aab17eac1e1dfd2a
+ source = fiji.install
+ sha256sums = 43e74e668a83e78d323bf7bcb71e8cc587f453164eedf6460d7aba3736c6d307
+ sha256sums = aabd26ddf25802e852f14000b19c714f8f1016c863ba1ceed28b840fee332b07
+ sha256sums = 6dcc861af9328076282893ffcecc77a7fee448cec51fb7ccd51c5cece9740fa1
pkgname = fiji-binary
diff --git a/PKGBUILD b/PKGBUILD
index 7cf858763446..5971f620e1f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,9 @@
-# Maintainer: radioxoma
+# Maintainer: Eugene Dvoretsky <radioxoma from gmail com>
+# Visit https://github.com/radioxoma/aur for pull requests or issue solving.
# Contributor: dreieck
-# PKGBUILD repository:
-# https://github.com/radioxoma/aur/tree/master/fiji-binary
-
pkgname="fiji-binary"
-pkgver="20140602"
+pkgver="20141125"
pkgrel="1"
pkgdesc="ImageJ distribution with a lot of plugins for scientific (especially biology related) image processing."
arch=('i686' 'x86_64')
@@ -18,13 +16,22 @@ provides=("fiji=${pkgver}" "fiji-binary=${pkgver}")
replaces=("fiji<=${pkgver}" "fiji-binary<=${pkgver}")
conflicts=("fiji-binary-latest")
install=fiji.install
-source=(
- "http://fiji.sc/downloads/Life-Line/fiji-nojre-${pkgver}.zip"
- # "http://jenkins.imagej.net/job/Stable-Fiji/lastSuccessfulBuild/artifact/fiji-nojre.zip" ## This one is the "continuous build".
+
+## Life-line
+source=("http://fiji.sc/downloads/Life-Line/fiji-nojre-${pkgver}.zip"
"fiji.desktop"
- )
-md5sums=('0b33c507ec65ff1f7bd888c27a4db3ab'
- '4c59f5f24368b179aab17eac1e1dfd2a')
+ "fiji.install")
+sha256sums=('43e74e668a83e78d323bf7bcb71e8cc587f453164eedf6460d7aba3736c6d307'
+ 'aabd26ddf25802e852f14000b19c714f8f1016c863ba1ceed28b840fee332b07'
+ '6dcc861af9328076282893ffcecc77a7fee448cec51fb7ccd51c5cece9740fa1')
+
+## Latest (continuous) build
+# source=("http://jenkins.imagej.net/job/Stable-Fiji/lastSuccessfulBuild/artifact/fiji-nojre.zip"
+# "fiji.desktop"
+# "fiji.install")
+# sha256sums=('SKIP'
+# 'aabd26ddf25802e852f14000b19c714f8f1016c863ba1ceed28b840fee332b07'
+# '6dcc861af9328076282893ffcecc77a7fee448cec51fb7ccd51c5cece9740fa1')
_userexecutable="fiji" # That name to be presented to the user.
@@ -49,9 +56,10 @@ build()
'plugins/Fiji_Updater.jar'
)
_executablebak="$(mktemp)" || exit 21 # Save the executable matching our architecture.
-
+
# Dry run to update plugins status
- "./${_executable}" --update list-local-only
+ # This was a fix for 20140602, but brokes distribution in newer versions
+ # "./${_executable}" --update list-local-only
cp "${_executable}" "${_executablebak}" || exit 31
rm -Rf "${_removefrompackage[@]}" || exit 41
@@ -61,6 +69,8 @@ build()
# Associate fiji.desktop with appropriate binary
sed -ie "s/Exec=.*$/Exec=${_executable} %F/g" "${srcdir}/fiji.desktop"
+ # FIJI creates own invalid desktop entry by
+ # plugins/Scripts/Plugins/Utilities/Create_Desktop_Icon.bsh
}
package()
diff --git a/fiji.desktop b/fiji.desktop
index 977867cbf53c..8c795a49eae3 100644
--- a/fiji.desktop
+++ b/fiji.desktop
@@ -1,8 +1,14 @@
[Desktop Entry]
-Type=Application
+Version=1.0
Name=Fiji
GenericName=Fiji Is Just ImageJ
-Comment=Image processing and analysis
-Categories=Graphics;Science;ImageProcessing;Biology;
-Icon=/opt/fiji/images/icon.png
+X-GNOME-FullName=Fiji Is Just ImageJ
+Comment=Scientific Image Analysis
+Type=Application
+Categories=Graphics;Science;ImageProcessing;
Exec='ImageJ-linux %f'
+Terminal=false
+StartupNotify=true
+MimeType=image/*;
+Icon=/opt/fiji/images/icon.png
+StartupWMClass=net-imagej-launcher-ClassLauncher