Bug#855689: jython.jar does not provide a Class-Path

2017-02-21 Thread Gilles Filippini
Hi Ole,

On Tue, 21 Feb 2017 09:54:48 +0100 Ole Streicher  wrote:
> Package: jython
> Version: 2.5.3-14
> Severity: serious
> 
> There is no classpath for the dependencies of jython.jar defined in its
> manifest:
> 
> $ unzip -p /usr/share/java/jython.jar META-INF/MANIFEST.MF | \
>   grep Class-Path
> $
> 
> This leads to the problem that dependent packages need to specify the
> classpath themself, which is difficult since it is not documented in
> /usr/share/docs/jython. Also, it requires tracking internal changes of
> jython, since some of the dependent jar names are version dependent;
> namely antlr3-runtime-3.2.jar, which makes it difficult to handle for
> the dependencies over long time (f.e. for backports).
> 
> Java policy requires to have the classpath documented. I would ask you
> to do this in the manifest (at least for the strong dependencies), since
> this makes the usage much easier.

Would the attached patch do the trick?

Thanks,

_g.
diff -Nru jython-2.5.3/debian/changelog jython-2.5.3/debian/changelog
--- jython-2.5.3/debian/changelog   2016-12-11 17:02:02.0 +0100
+++ jython-2.5.3/debian/changelog   2017-02-21 20:22:33.0 +0100
@@ -1,3 +1,9 @@
+jython (2.5.3-15) UNRELEASED; urgency=medium
+
+  * Set 'Class-Path' into jython.jar's manifest (closes: #855689)
+
+ -- Gilles Filippini   Tue, 21 Feb 2017 20:22:33 +0100
+
 jython (2.5.3-14) unstable; urgency=medium
 
   * debian/jython_perl: fix use of abs_path
diff -Nru jython-2.5.3/debian/patches/04-runtime-classpath.patch 
jython-2.5.3/debian/patches/04-runtime-classpath.patch
--- jython-2.5.3/debian/patches/04-runtime-classpath.patch  1970-01-01 
01:00:00.0 +0100
+++ jython-2.5.3/debian/patches/04-runtime-classpath.patch  2017-02-21 
20:22:33.0 +0100
@@ -0,0 +1,12 @@
+Index: jython/build.xml
+===
+--- jython.orig/build.xml
 jython/build.xml
+@@ -721,6 +721,7 @@ The readme text for the next release wil
+  
excludes="org/python/expose/generate/**,org/python/version.properties"/>   
+   
+   
++  
+   
+   
+   
diff -Nru jython-2.5.3/debian/patches/series jython-2.5.3/debian/patches/series
--- jython-2.5.3/debian/patches/series  2016-12-11 17:02:02.0 +0100
+++ jython-2.5.3/debian/patches/series  2017-02-21 20:22:33.0 +0100
@@ -1,3 +1,4 @@
 01-build.patch
 02-jnr_refactoring.patch
 03-default-cachedir.patch
+04-runtime-classpath.patch
diff -Nru jython-2.5.3/debian/rules jython-2.5.3/debian/rules
--- jython-2.5.3/debian/rules   2016-12-11 17:02:02.0 +0100
+++ jython-2.5.3/debian/rules   2017-02-21 20:22:33.0 +0100
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+RTCLASSPATH := $(shell grep '^\s*appendJar' debian/jython_perl | sed 
"s/^.*('//;s/').*$$//" | tr '\n' ' ')
+
 %:
dh $@ --with python2 --with maven-repo-helper
 
@@ -31,7 +33,7 @@
 
 override_dh_auto_build:
# Build the class files.
-   ant -nouserlib developer-build jar javadoc
+   ant -nouserlib developer-build jar javadoc 
-DRuntimeClasspath="$(RTCLASSPATH)"
# -nouserlib is required to prevent conflicts with the ant jython plugin
 
# Generate OSGi metadata for jython.jar


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

Bug#837081: netbeans: Crashes due to assertion failure in GLib

2017-02-21 Thread Markus Koschany
On 21.02.2017 18:38, Jaime Torres wrote:
> commenting in /etc/java-8-openjdk/accessibility.properties the next line
> seems to work:
> 
> #assistive_technologies=org.GNOME.Accessibility.AtkWrapper
> 
> I figured it out cause I have a computer with netbeans working properly
> without any problem with that settings due to a time ago bug that
> preventing netbeans to start and another with a fresh debian
> installation, in the last one, netbeans closed sundenly when editing in
> php. Changing that in the new one seems to work and I have no unexpected
> close of netbeans.

Thank you for this valuable information. Eventually Netbeans also
crashed on my system when I worked on an HTML5 project and started to
use code completion. This happened three times now. I will try again
with assistive_technologies disabled.

Regards,

Markus




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

Bug#837081: netbeans: Crashes due to assertion failure in GLib

2017-02-21 Thread Jaime Torres
commenting in /etc/java-8-openjdk/accessibility.properties the next line seems 
to work:

#assistive_technologies=org.GNOME.Accessibility.AtkWrapper

I figured it out cause I have a computer with netbeans working properly without 
any problem with that settings due to a time ago bug that preventing netbeans 
to start and another with a fresh debian installation, in the last one, 
netbeans closed sundenly when editing in php. Changing that in the new one 
seems to work and I have no unexpected close of netbeans.

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

Bug#855324: pdfsam fails to start

2017-02-21 Thread Emmanuel Bourg
Le 16/02/2017 à 23:18, Markus Koschany a écrit :

> Given that pdfsam in Debian is pretty much
> outdated it probably makes sense to remove it from Stretch.

I'd also add that upstream provides its own .deb packages built with
jdeb [1], and it's a leaf package. So I wouldn't mind removing it.

Emmanuel Bourg

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


Processed: Restore "affects" that was lost in the merge

2017-02-21 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> affects 852253 src:kryo-serializers
Bug #852253 {Done: Markus Koschany } [libkryo-java] 
kryo-serializers: FTBFS (Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode)
Bug #851037 {Done: Emmanuel Bourg } [libkryo-java] 
kryo-serializers: FTBFS: find: 
'/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such 
file or directory
Added indication that 852253 affects src:kryo-serializers
Added indication that 851037 affects src:kryo-serializers
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
851037: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851037
852253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852253
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Processed: Second try, old bug was archived

2017-02-21 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> unarchive 851037
Bug #851037 {Done: Emmanuel Bourg } [libkryo-java] 
kryo-serializers: FTBFS: find: 
'/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such 
file or directory
Unarchived Bug 851037
> forcemerge 851037 852253
Bug #851037 {Done: Emmanuel Bourg } [libkryo-java] 
kryo-serializers: FTBFS: find: 
'/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such 
file or directory
Bug #852253 {Done: Markus Koschany } [libkryo-java] 
kryo-serializers: FTBFS (Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode)
Removed indication that 852253 affects src:kryo-serializers
Marked as fixed in versions libkryo-java/2.20-6.
Added tag(s) stretch and sid.
Merged 851037 852253
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
851037: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851037
852253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852253
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Processed (with 1 error): Re: Bug#852253: kryo-serializers: FTBFS (Cannot access central (https://repo.maven.apache.org/maven2) in offline mode)

2017-02-21 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 852253 libkryo-java
Bug #852253 {Done: Markus Koschany } [src:kryo-serializers] 
kryo-serializers: FTBFS (Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode)
Bug reassigned from package 'src:kryo-serializers' to 'libkryo-java'.
No longer marked as found in versions kryo-serializers/0.22-3.
Ignoring request to alter fixed versions of bug #852253 to the same values 
previously set
> affects 852253 src:kryo-serializers
Bug #852253 {Done: Markus Koschany } [libkryo-java] 
kryo-serializers: FTBFS (Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode)
Added indication that 852253 affects src:kryo-serializers
> forcemerge 851037 852253
Failed to forcibly merge 851037: Not altering archived bugs; see unarchive.

> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
852253: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852253
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

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


Bug#855689: jython.jar does not provide a Class-Path

2017-02-21 Thread Ole Streicher
Package: jython
Version: 2.5.3-14
Severity: serious

There is no classpath for the dependencies of jython.jar defined in its
manifest:

$ unzip -p /usr/share/java/jython.jar META-INF/MANIFEST.MF | \
  grep Class-Path
$

This leads to the problem that dependent packages need to specify the
classpath themself, which is difficult since it is not documented in
/usr/share/docs/jython. Also, it requires tracking internal changes of
jython, since some of the dependent jar names are version dependent;
namely antlr3-runtime-3.2.jar, which makes it difficult to handle for
the dependencies over long time (f.e. for backports).

Java policy requires to have the classpath documented. I would ask you
to do this in the manifest (at least for the strong dependencies), since
this makes the usage much easier.

Thank you very much

Best regards

Ole

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