added missing install of ij opencv plugin

This commit is contained in:
Guillaume Raffy 2019-10-04 12:11:15 +02:00
parent ad07463c64
commit 1c44113747
1 changed files with 43 additions and 2 deletions

View File

@ -8,15 +8,56 @@ LIB_SRC_FILES=$(shell find ./src/lipase -name "*.py")
.PHONY: all
all: test0001
$(FIJI_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ip.lipase.lib.jar: $(LIB_SRC_FILES)
$(FIJI_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ip.lipase.lib.jar: $(LIB_SRC_FILES)
pushd ./src; \
mkdir -p $(FIJI_ROOT_PATH)/jars/Lib ; \
find ./lipase -name "*.py" > /tmp/files.txt ; \
jar cvf $(FIJI_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ip.lipase.lib.jar @/tmp/files.txt ; \
popd
.PHONY: install_ij_opencv
install_ij_opencv:
# enable IJ-OpenCV-plugins site because it's disabled by default
# graffy@graffy-ws2:~$ zcat /home/graffy/soft/Fiji.app/db.xml.gz | grep IJ-Op | grep -v "jar" | grep -v "<plu"
# <disabled-update-site name="IJ-OpenCV-plugins" url="https://sites.imagej.net/IJ-OpenCV/" official="true" description="Collection of plugins created using the IJ-OpenCV library -- a library that allows the connection of ImageJ and OpenCV." timestamp="20190819101544"/>
# graffy@graffy-ws2:~$ history | less
# graffy@graffy-ws2:~$ ~/soft/Fiji.app/ImageJ-linux64 --update edit-update-site IJ-OpenCV-plugins https://sites.imagej.net/IJ-OpenCV/
# Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
# Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
# Done: Checksummer
# graffy@graffy-ws2:~$ zcat /home/graffy/soft/Fiji.app/db.xml.gz | grep IJ-Op | grep -v "jar" | grep -v "<plu"
# <update-site name="IJ-OpenCV-plugins" url="https://sites.imagej.net/IJ-OpenCV/" official="true" description="Collection of plugins created using the IJ-OpenCV library -- a library that allows the connection of ImageJ and OpenCV." timestamp="20190819101544"/>
# $FIJI_ROOT_PATH/ImageJ-linux64 --update edit-update-site IJ-OpenCV-plugins https://sites.imagej.net/IJ-OpenCV/
# then apply an update to download and install IJ-OpenCV-plugins :
# jars/IJ-OpenCV.jar
# jars/javacv.far
# jars/opencv-linux-x86.jar
# jars/opencv-linux-x86_64.jar
# jars/opencv-macosx-x86_64.jar
# jars/opencv-windows-x86.jar
# jars/opencv-windows-x86_64.jar
# jars/opencv.jar
# lib/haarcascade_frontalface_alt.xml
# graffy@graffy-ws2:~$ ~/soft/Fiji.app/ImageJ-linux64 --update update
# Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
# Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
# Done: Checksummer
# Done: Downloading...
# Done: Downloading...
# $FIJI_ROOT_PATH/ImageJ-linux64 --update update
ls $(FIJI_ROOT_PATH)/jars/IJ-OpenCV-*.jar ; \
if [ $$? != 0 ] ; \
then \
$(FIJI_ROOT_PATH)/ImageJ-linux64 --update edit-update-site IJ-OpenCV-plugins https://sites.imagej.net/IJ-OpenCV/; \
$(FIJI_ROOT_PATH)/ImageJ-linux64 --update update; \
fi
.PHONY: install_lipase_libs
install_lipase_libs: $(FIJI_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ip.lipase.lib.jar
install_lipase_libs: $(FIJI_ROOT_PATH)/jars/Lib/fr.univ-rennes1.ip.lipase.lib.jar install_ij_opencv
.PHONY: install_lipase_plugins
install_lipase_plugins: