Comment 4 for bug 416907

Revision history for this message
Nicolas Van Wambeke (nicolasvw) wrote : Re: [Bug 416907] Re: Please merge salliere 0.7.1-1 (universe) from Debian unstable (main)

> A few things:
> - can you depends on salliere (= ${binary:Version}) instead of
> salliere (= 0.7.1-1)?

Of course! I didn't know about that way of doing it.

> - what exactly are you merging? We didn't actually introduce any
> changes in the package before.

Merging is not the right term. My goal was to fix the FTBFS for 0.7-1. Debian already had 0.7.1-1 which fixes the iText lib compatibility issue but also FTBFS (see below).

> - why do you drop ${java:Depends} from the Depends of gsalliere?
>

jh_depends fails on gsalliere, this is due to the fact that gsalliere's jar file's manifest refers to /usr/share/salliere/salliere-0.7.1.jar which has just been built but is not installed at the time jh_depends is called.
As gsalliere doesn't have dependencies other than salliere, I changed the call to jh_depends so it is only effective on salliere making ${java:Depends} not substituted anymore for gsalliere, which explains why I dropped it.

Maybe there's another way to go, what would you suggest? Can I make salliere a specific Build Dep for gsalliere?

> Also the clean target is broken right now:

Didn't notice that, I'll fix it in the next debdiff.