[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



owner -1 tmancill@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 
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="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";>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.eclipse.swt</groupId>
    <artifactId>org.eclipse.swt</artifactId>
    <version>4.x</version>
    <packaging>jar</packaging>
    <properties>
        <debian.hasPackageVersion/>
        <debian.originalVersion>4.x</debian.originalVersion>
        <debian.package>libswt-gtk-4-java</debian.package>
    </properties>
</project>

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

Thank you,
tony

Attachment: signature.asc
Description: PGP signature


Reply to: