Bug#917576: stegosuite: depends on libswt-gtk2 which is no longer built

2019-01-02 Thread Emmanuel Bourg
Le 30/12/2018 à 15:45, tony mancill a écrit :

> The issue I am running into is that ${maven:Depends} is injecting an
> unresolvable dependency on "libswt-gtk-4-java (>= 4.x)" and so the
> resulting binary package fails to install with:
> 
> dpkg: dependency problems prevent configuration of stegosuite:
>  stegosuite depends on libswt-gtk-4-java (>= 4.x); however:
>   Version of libswt-gtk-4-java on system is 4.10.0-1.

Hi Tony,

There is an issue with the Maven artifacts for SWT, they are installed
with the versions 'debian' and '4.x', and we've set the
--has-package-version flag stating that the pom and the package have the
same version, which is wrong.

I've fixed that in swt4-gtk/4.10.0-2

Emmanuel Bourg



Bug#917576: stegosuite: depends on libswt-gtk2 which is no longer built

2018-12-30 Thread tony mancill
owner -1 tmanc...@debian.org
thanks

On Fri, Dec 28, 2018 at 04:40:24PM -0500, Jeremy Bicha wrote:
> Source: stegosuite
> Version: 0.8.0-1
> Severity: serious
> 
> stegosuite depends on libswt-gtk2-4-jni but that package is no longer
> built by swt4-gtk.
> 
> Please switch to using libswt-gtk-4-jni instead (which uses gtk3
> instead of gtk2).

Hi Jeremy,

Thank you for the bug report; I am working on the update, (which is
thankfully trivial).

The issue I am running into is that ${maven:Depends} is injecting an
unresolvable dependency on "libswt-gtk-4-java (>= 4.x)" and so the
resulting binary package fails to install with:

dpkg: dependency problems prevent configuration of stegosuite:
 stegosuite depends on libswt-gtk-4-java (>= 4.x); however:
  Version of libswt-gtk-4-java on system is 4.10.0-1.

A temporary hack would be to drop ${maven:Depends} from the control file
and specify a resolvable dependency on libswt-gtk-4-java directly, but
this sidesteps what I believe is a more general issue with
maven-debian-helper and the swt4-gtk packaging.

For Debian Java, could this be resolved by having swt4-gtk install a pom
that specifies 4.10.1 as the debian.originalVersion?  Or could we get way with 
specifying simply "4" for the version?

Here's the current pom:

$ cat 
/usr/share/maven-repo/org/eclipse/swt/org.eclipse.swt/4.x/org.eclipse.swt-4.x.pom
 

http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4_0_0.xsd;>
4.0.0
org.eclipse.swt
org.eclipse.swt
4.x
jar


4.x
libswt-gtk-4-java



Any tips on how to resolve this for packages that have runtime
dependences on swt4-gtk's binary packages?

Thank you,
tony


signature.asc
Description: PGP signature


Bug#917576: stegosuite: depends on libswt-gtk2 which is no longer built

2018-12-28 Thread Jeremy Bicha
Source: stegosuite
Version: 0.8.0-1
Severity: serious

jameica depends on libswt-gtk2-4-jni but that package is no longer
built by swt4-gtk.

Please switch to using libswt-gtk-4-jni instead (which uses gtk3
instead of gtk2).

Thanks,
Jeremy Bicha