Bug#519235: pdfsam: requires openjdk-6-jre, but works with sun-6-jre

Eric Lavarde deb at zorglub.s.bawue.de
Wed Mar 11 20:09:09 UTC 2009


Hi Miguel,

Miguel Landaeta wrote:
> severity 519235 wishlist
> thanks
> 
> Hi,
> 
> This is not a "important" bug.
> You can check this: http://www.debian.org/Bugs/Developer#severities
> 
> This bug probably has "minor" or "wishlist" severity.
I do not fully agree: pdfsam doesn't follow the Java Policy, which 
states in 2.3. Java programs that "Programs must depend on 
java-virtual-machine and the needed runtime environment (java1-runtime 
and/or java2-runtime)." This together with the sentence about virtual 
machines stating that "Java virtual machines must provide 
java-virtual-machine and depend on java-common. They can also provide 
the runtime environment that the package contains (java1-runtime and/or 
java2-runtime). If it does not provide the files itself it must depend 
on the needed runtime environment." means that programs must depend on 
<specific vm> | java-virtual-machine and on <specific runtime> | 
javaN-runtime (the fact that most jre provide both at once is IMHO a 
weakness of the policy, but we don't want to redo the world here).

Given the fact that the Java Policy is only a "proposal" (since how many 
years?), one could discuss if it makes it a policy breach. I let you 
decide :-)

> 
> Regards,
> 
> PD: also due to license issues, if this package depends on sun-java5-jre,
> then it can not be in Debian main so it would not be available to many
> Debian users who don't include contrib and non-free in /etc/apt/sources.list.
Again, I do not agree, I think it would be perfectly allowed and user 
friendly to have alternatives: openjdk-6-jre | sun-java6-jre | 
sun-java5-jre | java2-runtime

Eric





More information about the pkg-java-maintainers mailing list