====== FreeLib-Djatoka ======
CLOSED
\\
Mail from Kevin Clarke:
\\
Hi Giancarlo,
In talks with Kakadu Software, the company that makes the proprietary JP2 component freelib-djatoka was using, I came to believe that I was not okay with distributing their library in an open source project. The original adore-djatoka had done it, and I just continued, but over the years the license changed and in talking with the company I realized I could no longer do what I was doing so I removed it. Sorry for any inconvenience the disappearance causes, but I want to make sure I abide by their license.
It might be possible to rework the project so I wasn't distributing the libraries, but any place that wanted to use it would need to have a license from Kakadu. I don't have any immediate plans to go this route.
Sorry,
Kevin
cd /opt
git clone https://github.com/ksclarke/freelib-djatoka.git
cd /opt/freelib-djatoka
mvn install
mvn jetty:run-forked
mvn -q jetty:stop
chown -R www-data:www-data /opt/freelib-djatoka
cp /opt/freelib-djatoka/etc/init.d/djatoka /etc/init.d/djatoka
nano -w /etc/init.d/djatoka
MAVEN_OPTIONS="-Xmx4096m"
cp /opt/freelib-djatoka/pom.xml /opt/freelib-djatoka/pom.xml.ORI
nano -w /opt/freelib-djatoka/pom.xml
- ^http://localhost/islandora/object/([a-zA-Z]*(%3A|:)[0-9a-zA-Z]*)/datastream/JP2/view.*$
- ^http://localhost:${jetty.port}/images/([a-z0-9A-Z\-]*).jp2$
+ ^http://archive.digibess.eu/islandora/object/([a-zA-Z]*(%3A|:)[0-9a-zA-Z]*)/datastream/JP2/view.*$
OR
+ ^http://repo.digibess.eu/fedora/objects/([a-zA-Z]*(%3A|:)[0-9a-zA-Z]*)/datastreams/JP2/content.*$
- http://localhost/islandora/object/{}/datastream/JP2/view
- http://localhost:${jetty.port}/images/{}.jp2
+ http://archive.digibess.eu/islandora/object/{}/datastream/JP2/view
OR
+ http://repo.digibess.eu/fedora/objects/{}/datastreams/JP2/content
systemctl daemon-reload
mv /opt/freelib-djatoka/target /srv/
ln -s /srv/target /opt/freelib-djatoka/
chown -R www-data:www-data /opt/freelib-djatoka /srv/target
service djatoka start or /etc/init.d/djatoka start
tail -f /var/log/djatoka-console.log