Bug#845795: scala-parser-combinators: no symlink for scala-parser-combinators.jar?

2016-11-29 Thread Emmanuel Bourg
Le 29/11/2016 à 20:13, Patrice Duroux a écrit :

> I do not use any wrapper script, I just everything provided by the native 
> Debian
> package (latexdraw) and I juste run it after installation using terminal and 
> saw
> the warning message (its a chance!).

By wrapper script I meant this:

https://anonscm.debian.org/cgit/pkg-java/latexdraw.git/tree/debian/patches/latexdraw_shell_script.patch?id=b65868d

In this patch scala-parser-combinators has to be replaced by
scala-parser-combinators_2.11.

> Also why it is not the case for the scala-library package on which it depends?

Because scala-library is built by the scala package and thus is
implicitly tied to the current version of scala.

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#845795: scala-parser-combinators: no symlink for scala-parser-combinators.jar?

2016-11-29 Thread Patrice Duroux
Hi Emmanuel,

I do not use any wrapper script, I just everything provided by the native Debian
package (latexdraw) and I juste run it after installation using terminal and saw
the warning message (its a chance!).
Also why it is not the case for the scala-library package on which it depends?
I mean its installation generates following symlinks:
scala-actors-2.11.8.jar
scala-actors-2.11.jar -> scala-actors-2.11.8.jar
scala-actors.jar -> scala-actors-2.11.8.jar
scala-library-2.11.8.jar
scala-library-2.11.jar -> scala-library-2.11.8.jar
scala-library.jar -> scala-library-2.11.8.jar
scala-reflect-2.11.8.jar
scala-reflect-2.11.jar -> scala-reflect-2.11.8.jar
scala-reflect.jar -> scala-reflect-2.11.8.jar
So if the default is installing Scala 2.11, why not for the corresponding
library?
But ok, I will see to create a wrapper based on the latexdraw package wrapper
script.

Thanks,
Patrice

Le mardi 29 novembre 2016 à 00:21 +0100, Emmanuel Bourg a écrit :
> Hi Patrice,
> 
> Scala libraries are built for a specific version of the runtime
> (different versions of the runtime aren't fully compatible) Here
> scala-parser-combinators was built with Scala 2.11 and the jar installed
> in /usr/share/java contains the scala version to make this clear. So you
> simply have to modify the find_jar directive of your wrapper script and
> look for scala-parser-combinator_2.11 instead of scala-parser-combinator.
> 
> Emmanuel Bourg
> 

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#845795: scala-parser-combinators: no symlink for scala-parser-combinators.jar?

2016-11-28 Thread Emmanuel Bourg
Hi Patrice,

Scala libraries are built for a specific version of the runtime
(different versions of the runtime aren't fully compatible) Here
scala-parser-combinators was built with Scala 2.11 and the jar installed
in /usr/share/java contains the scala version to make this clear. So you
simply have to modify the find_jar directive of your wrapper script and
look for scala-parser-combinator_2.11 instead of scala-parser-combinator.

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#845795: scala-parser-combinators: no symlink for scala-parser-combinators.jar?

2016-11-26 Thread Patrice Duroux
Package: scala-parser-combinators
Version: 1.0.3-3
Severity: normal

Dear Maintainer,

After installing and using latexdraw package (3.3.4+ds1-1), here is the warning 
that I got:

patrice@hp-dark:~$ latexdraw
[warning] /usr/bin/latexdraw: No java runtime was found
[warning] /usr/bin/latexdraw: Unable to locate scala-parser-combinators in 
/usr/share/java
[warning] /usr/bin/latexdraw: No JAVA_CMD set for run_java, falling back to 
JAVA_CMD = java

but in /usr/share/java the situation is:

scala-parser-combinators_2.11.jar -> scala-parser-combinators_2.11-1.0.3.jar
scala-parser-combinators_2.11-1.0.3.jar

and adding manually a symlink 'scala-parser-combinators.jar' on 
'scala-parser-combinators_2.11-1.0.3.jar'
remove the warning.
But may be the trouble is due to a wrong classpath in latexdraw! ;-)

Regards,
Patrice

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.