Looking for tangojava deb package

Hello everybody,
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:

https://launchpad.net/~tango-controls/+archive/ubuntu/core
https://launchpad.net/~lmc-cam-ska/+archive/ubuntu/tango/+packages

Thanks in advance,
Carlos
Hello Carlos,

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.

Cheers

Fred
Thanks Fred,
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.


Best,
Carlos
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 ?

Fred
Sounds like a good idea to me.

Andy
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.
Hi all,

Do you know if someone had packaged newer tango-java part. The one that we are talking here [1] contains JTango-9.1.2.jar.
We need one where tango-controls/JTango#90 [2] is fixed.

Thanks a lot in advance for your help!
Zibi

[1] https://people.debian.org/~picca/libtango-java_9.2.5a-1_all.deb
[2] https://github.com/tango-controls/JTango/issues/90
Hi Zibi,

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

Cheers
Hello,

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:

/.
/usr
/usr/bin
/usr/bin/TangoRestServer
/usr/bin/TangoVers
/usr/bin/astor
/usr/bin/atkmoni
/usr/bin/atkpanel
/usr/bin/atktuning
/usr/bin/cvstag
/usr/bin/jdraw
/usr/bin/jive
/usr/bin/logviewer
/usr/bin/pogo
/usr/bin/synopticappli
/usr/bin/tg_devtest
/usr/share
/usr/share/doc
/usr/share/doc/libtango-java
/usr/share/doc/libtango-java/README.Debian
/usr/share/doc/libtango-java/README.gz
/usr/share/doc/libtango-java/changelog.Debian.gz
/usr/share/doc/libtango-java/copyright
/usr/share/java
/usr/share/java/ATKCore-9.3.19.jar



dpkg -L libtango-java show in a Debian 10 machine:

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libtango-java
/usr/share/doc/libtango-java/README.Debian
/usr/share/doc/libtango-java/README.gz
/usr/share/doc/libtango-java/changelog.Debian.gz
/usr/share/doc/libtango-java/copyright
/usr/share/java
/usr/share/java/ATKCore-9.3.19.jar



I am not able to find the root of the problem and I have a few questions. My questions are:
  • Anyone is facing similar issues with this package for any Debian distribution?
  • Anyone face this problem in the past and know if there is any solution?

Kind regards
Emilio Morales
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.
 
Register or login to create to post a reply.