best Depends: line for an app that needs Java 5 but prefers Java 6?

2007-05-11 Thread Elliott Hughes
Hi. I maintain various GPL programs that aren't in Debian, but which are available as .deb packages from http://software.jessies.org/ and I was wondering if anyone here had any good ideas about our Depends: lines. Looking for a solution to my perceived problem (which I'll get to in a mome

Re: java dependency substvars and native compilation

2007-05-11 Thread Florian Weimer
* Matthew Johnson: > It also makes sense for libraries; Java recursively adds the > classpath, so a library which depended on other libraries would have > one so that applications don't have to guess what libraries their > libraries may use. Looking at the spec, this doesn't seem to be required.

Re: java dependency substvars and native compilation

2007-05-11 Thread Michael Koch
On Fri, May 11, 2007 at 06:09:40PM +0100, Matthew Johnson wrote: > On Fri May 11 07:19, Michael Koch wrote: > > On Thu, May 10, 2007 at 02:11:27PM +0100, Matthew Johnson wrote: > > > OK, so as an alternative, I have a version which reads the Class-Path: > > > variable from the jar. This is rather m

Re: java dependency substvars and native compilation

2007-05-11 Thread Matthew Johnson
On Fri May 11 07:19, Michael Koch wrote: > On Thu, May 10, 2007 at 02:11:27PM +0100, Matthew Johnson wrote: > > OK, so as an alternative, I have a version which reads the Class-Path: > > variable from the jar. This is rather more efficient as well. I assume > > upstream's build should set this to s