Re: OpenOffice, db, java
On 05/11/06, Kurt Miller <[EMAIL PROTECTED]> wrote: viq wrote: > On 05/11/06, Robert Nagy <[EMAIL PROTECTED]> wrote: >> In the meantime I've had a discussion with Kurt and >> we are leaving the 1.3+ dependency. > > You mean db-java, right? > Also, does this form of dependency, 1.3+, is going to accept 1.4 or > 1.5, or it only means that both say 1.3.1 and 1.3.27 are going to > work? > > So, for now it is going to stay that way: > /usr/ports/editors/openoffice:123>$ make full-all-depends | sort > <...> > jasper-1.701.0p1 > javaPathHelper-0.2p0 > jdk-1.3.1p7 > jdk-1.4.2p9 > jdk-linux-1.3.1_16p0 > jpeg-6bp3 > <...> > ? > >> We want to provide as much functionality as we can by default. > > Yup, I can certainly understand that. I guess what I'm asking is > whether the same functionality can be achieved while having less than > all possible versions of java installed on the system ;) If you are building ports you may get unexpected build depends. That's just the way it goes. Remember the goal is to create quality packages, not faster builds. Once db-java is available via snapshots, you can get away building OOo with just devel/jdk/1.4 by installing it before the db-java package. Fair enough. Thank you for your reply and explanation. -- viq
Re: OpenOffice, db, java
viq wrote: On 05/11/06, Robert Nagy <[EMAIL PROTECTED]> wrote: In the meantime I've had a discussion with Kurt and we are leaving the 1.3+ dependency. You mean db-java, right? Also, does this form of dependency, 1.3+, is going to accept 1.4 or 1.5, or it only means that both say 1.3.1 and 1.3.27 are going to work? So, for now it is going to stay that way: /usr/ports/editors/openoffice:123>$ make full-all-depends | sort <...> jasper-1.701.0p1 javaPathHelper-0.2p0 jdk-1.3.1p7 jdk-1.4.2p9 jdk-linux-1.3.1_16p0 jpeg-6bp3 <...> ? We want to provide as much functionality as we can by default. Yup, I can certainly understand that. I guess what I'm asking is whether the same functionality can be achieved while having less than all possible versions of java installed on the system ;) If you are building ports you may get unexpected build depends. That's just the way it goes. Remember the goal is to create quality packages, not faster builds. Once db-java is available via snapshots, you can get away building OOo with just devel/jdk/1.4 by installing it before the db-java package.
Re: OpenOffice, db, java
On 05/11/06, Robert Nagy <[EMAIL PROTECTED]> wrote: In the meantime I've had a discussion with Kurt and we are leaving the 1.3+ dependency. You mean db-java, right? Also, does this form of dependency, 1.3+, is going to accept 1.4 or 1.5, or it only means that both say 1.3.1 and 1.3.27 are going to work? So, for now it is going to stay that way: /usr/ports/editors/openoffice:123>$ make full-all-depends | sort <...> jasper-1.701.0p1 javaPathHelper-0.2p0 jdk-1.3.1p7 jdk-1.4.2p9 jdk-linux-1.3.1_16p0 jpeg-6bp3 <...> ? We want to provide as much functionality as we can by default. Yup, I can certainly understand that. I guess what I'm asking is whether the same functionality can be achieved while having less than all possible versions of java installed on the system ;) On (05/11/06 15:18), Fritz Elfert wrote: > On Sunday 05 November 2006 14:59, Robert Nagy wrote: > > Of course it works and I am going to change that dep to 1.4+. > > > What i meant was leaving it out *at all*. After all, the missing functionality > is marginal. Probably, a hint in pkg/MESSAGE could mention, that additional > functionality is available if some JVM is installed. > > Ciao > -Fritz > > > On (05/11/06 14:49), Fritz Elfert wrote: > [...] > > > @kurt: > > > You probably should reconsider your recent change of dependencies. Even > > > the system db4.jar should work nicely with a 1.5 JVM. > > > > [...] -- viq
Re: OpenOffice, db, java
Fritz Elfert wrote: On Sunday 05 November 2006 10:03, viq wrote: db v4 seems to be hard coded to depend on java 1.3 (for the -java subpackage/flavor) OpenOffice wants java 1.4 or newer. It's nice to have a new java installed, and I already have 1.5 built and installed. Is there a way to have only one version of java installed, or if I want OpenOffice running I will have to have all 3 versions of java installed? Actually, *at runtime* OOo doesn't depend on java at all. It's just the RUN_DEPENDS in the Makefile. In my own port, i have left them out intentionally. At runtime, in Options/Java you then can configure a JVM (including parameters and classpath) of your choice. Note: WIthout java, some functionality will be missing. E.g. the Wizards. If you invoke a function which depends on java and it can't find a JVM, a messagebox will pop up. What you just described in your note is a java runtime dependency. So yes indeed OOo does have a runtime java that needs to be controlled. For example, I don't want people trying to run OOo with a pre p9 1.4 jdk that has internal libz in it. The runtime java depend is contained in the openoffice-java subpackage, so the base package doesn't require java. If you can demonstrate that some of the files contained in the PLIST-java or PFRAG-shared-java pkg lists can be used without java installed, I would be happy to move them into the base package. For example, I did that with the help file that require java to build but don't need java to run. @kurt: You probably should reconsider your recent change of dependencies. Even the system db4.jar should work nicely with a 1.5 JVM. Yes the current run depends for db-java allow the user to use any jdk or jre 1.3 and higher. There is no need to restrict that to 1.5 when 1.3 would work fine. It is ok that OOo needs a 1.4+ and higher jdk or jre and db-java is 1.3+. Its pretty simple. A user who wishes to run OOo java features can simply build and install any 1.4+ or higher jdk, then install the openoffice-java subpackage and all the runtime depends will be satisfied.
Re: OpenOffice, db, java
On Sunday 05 November 2006 14:59, Robert Nagy wrote: > Of course it works and I am going to change that dep to 1.4+. > What i meant was leaving it out *at all*. After all, the missing functionality is marginal. Probably, a hint in pkg/MESSAGE could mention, that additional functionality is available if some JVM is installed. Ciao -Fritz > On (05/11/06 14:49), Fritz Elfert wrote: [...] > > @kurt: > > You probably should reconsider your recent change of dependencies. Even > > the system db4.jar should work nicely with a 1.5 JVM. > > [...]
Re: OpenOffice, db, java
In the meantime I've had a discussion with Kurt and we are leaving the 1.3+ dependency. We want to provide as much functionality as we can by default. On (05/11/06 15:18), Fritz Elfert wrote: > On Sunday 05 November 2006 14:59, Robert Nagy wrote: > > Of course it works and I am going to change that dep to 1.4+. > > > What i meant was leaving it out *at all*. After all, the missing > functionality > is marginal. Probably, a hint in pkg/MESSAGE could mention, that additional > functionality is available if some JVM is installed. > > Ciao > -Fritz > > > On (05/11/06 14:49), Fritz Elfert wrote: > [...] > > > @kurt: > > > You probably should reconsider your recent change of dependencies. Even > > > the system db4.jar should work nicely with a 1.5 JVM. > > > > [...]
Re: OpenOffice, db, java
Of course it works and I am going to change that dep to 1.4+. On (05/11/06 14:49), Fritz Elfert wrote: > On Sunday 05 November 2006 10:03, viq wrote: > > db v4 seems to be hard coded to depend on java 1.3 (for the -java > > subpackage/flavor) > > OpenOffice wants java 1.4 or newer. > > It's nice to have a new java installed, and I already have 1.5 built > > and installed. > > > > Is there a way to have only one version of java installed, or if I > > want OpenOffice running I will have to have all 3 versions of java > > installed? > > Actually, *at runtime* OOo doesn't depend on java at all. It's just the > RUN_DEPENDS in the Makefile. In my own port, i have left them out > intentionally. At runtime, in Options/Java you then can configure a JVM > (including parameters and classpath) of your choice. > > Note: > WIthout java, some functionality will be missing. E.g. the Wizards. If you > invoke a function which depends on java and it can't find a JVM, a messagebox > will pop up. > > @kurt: > You probably should reconsider your recent change of dependencies. Even the > system db4.jar should work nicely with a 1.5 JVM. > > Ciao > -Fritz
Re: OpenOffice, db, java
On Sunday 05 November 2006 10:03, viq wrote: > db v4 seems to be hard coded to depend on java 1.3 (for the -java > subpackage/flavor) > OpenOffice wants java 1.4 or newer. > It's nice to have a new java installed, and I already have 1.5 built > and installed. > > Is there a way to have only one version of java installed, or if I > want OpenOffice running I will have to have all 3 versions of java > installed? Actually, *at runtime* OOo doesn't depend on java at all. It's just the RUN_DEPENDS in the Makefile. In my own port, i have left them out intentionally. At runtime, in Options/Java you then can configure a JVM (including parameters and classpath) of your choice. Note: WIthout java, some functionality will be missing. E.g. the Wizards. If you invoke a function which depends on java and it can't find a JVM, a messagebox will pop up. @kurt: You probably should reconsider your recent change of dependencies. Even the system db4.jar should work nicely with a 1.5 JVM. Ciao -Fritz
OpenOffice, db, java
db v4 seems to be hard coded to depend on java 1.3 (for the -java subpackage/flavor) OpenOffice wants java 1.4 or newer. It's nice to have a new java installed, and I already have 1.5 built and installed. Is there a way to have only one version of java installed, or if I want OpenOffice running I will have to have all 3 versions of java installed? -- viq