Looking for tangojava deb package
I'm looking for a tango9 java package. SKA people open a discussion to create Tango packages for ubuntu where there is a Fred's recipe to create it.
But, Does anyone did it?
There are several PPA for tango packages but unfortunately the tango9 java package is not there:
Thanks in advance,
For now this package is called tango-nonfree, and is sort of available (9.2.1) here
git clone http://repo.or.cz/tango-nonfree.git
It should be updated in order to integrate tango 9.2.5a
It would be nice if someone could work in order to produce an official debian package for the java part.
By official, I mean something that can be uploaded into Debian, Ubuntu, Mint etc…
- packaged all the java dependencies. (jacorb, … ?)
- build from the sources (Debian know about mavan so it should not be too hard to create this sort of package). We need a .tar.gz with all the java sources.
I personnaly do not have the time nor the competencies in order to maintain the tango java stack.
I can just help for the sponsoring, and packaging advices.
At the end, I did it for us (as an "ALBA backport"), I used your package as reference, and I updated the upstream (using 9.2.5a sources).
Me neither have the competences but if anyone need it I can shared it.
Hello, maybe the best solution should be to put the tango-nonfree repository under Debian-pan in order to allow everyone involved into Debian packaging to contribute.
Ubuntu/Debian guyes, what is your opinion ?
Sounds like a good idea to me.
Bintray's tango-controls debian repo can be used to provide immediate access to java tools. Since most of them are now mavenized we can use maven to build debian package and deploy it to bintray. There is no requirement to use OpenJDK, tools can be uploaded with JacORB. So minimum efforts are required from both sides: maintainer and end user. End user only needs to alter apt/source.list
The downside is that this is not an official debian repo. So for major releases it would be nice to support the official one.
Do you know if someone had packaged newer tango-java part. The one that we are talking here  contains JTango-9.1.2.jar.
We need one where tango-controls/JTango#90  is fixed.
Thanks a lot in advance for your help!
All Tango java projects have been mavenized since 2016, maybe not all but definitely most of the important ones.
Personally I do not see any good reason for packaging java, especially if we talk about libraries. GUIs are different beasts.
Anyway you can download the latest JTango jars from GitHub - e.g. https://github.com/tango-controls/JTango/releases/tag/9.5.17
And tools from bintray e.g. Astor - https://bintray.com/tango-controls/maven/Astor
My name is Emilio Morales and I'm working at ALBA Synchrotron.
We are packing the tango-nonfree for debian (as Carlos Falcón said time ago…) using a backport strategy. We actually are generating packages for Debian 9, Debian 10 and for Sid. We are using the Frédéric-Emmanuel Picca Debian files, like ones in Debian salsa repository for tango-nonfree (https://salsa.debian.org/science-team/tango-nonfree/-/tree/master/debian).
We are experiencing problems installing the libtango-java package in Debian 10. The problem we are facing is related to the java application launchers. The package creation seems fine, the installation seems fine but when we try to launch jive or astor the system say "command not found".
dpkg -L libtango-java in a Debian 9 machine:
dpkg -L libtango-java show in a Debian 10 machine:
I am not able to find the root of the problem and I have a few questions. My questions are:
during the build process, configure check that the available java version is java-8, if not it does not install the java binaries. The default-jdk of Debian 10 and 11 is openjdk-11. Now the question is: Does the binaries provided by TangoSources are compatible with openjdk-11 ?
temporarly, I built the package with openjdk-8 and it generated a package with the missing files. But I did not found the time to test it.