* [gentoo-dev] How shall ebuild handle binary package (jar file)?
@ 2002-03-23 21:01 Lars S. Jensen
2002-03-25 14:52 ` Karl Trygve Kalleberg
2002-03-25 14:54 ` Karl Trygve Kalleberg
0 siblings, 2 replies; 4+ messages in thread
From: Lars S. Jensen @ 2002-03-23 21:01 UTC (permalink / raw
To: Gentoo dev
I am trying to fix the problem with postgresql-7.2 and sun-jdk1.4 --
it is installed without JDBC support because sun-jdk1.4 can't compile a
JDBC 2.x interface but it can use it at runtime with the precompile
jar-file pgjdbc2.jar.
http://bugs.gentoo.org/show_bug.cgi?id=713
I need to install the precompile jar-file pgjdbc2.jar in the ebuild.
One solution is to pack it in a tarfile and install/unpack it like the
nvidia-glx -- is that OK?
Can 'use java' handle versions, so that we can compile it with versions
below 1.4 or shall we allways install the precompiled version!
Lars S. Jensen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] How shall ebuild handle binary package (jar file)?
2002-03-23 21:01 [gentoo-dev] How shall ebuild handle binary package (jar file)? Lars S. Jensen
@ 2002-03-25 14:52 ` Karl Trygve Kalleberg
2002-03-25 14:54 ` Karl Trygve Kalleberg
1 sibling, 0 replies; 4+ messages in thread
From: Karl Trygve Kalleberg @ 2002-03-25 14:52 UTC (permalink / raw
To: gentoo-dev
On Sat, Mar 23, 2002 at 10:01:19PM +0100, Lars S. Jensen wrote:
> I am trying to fix the problem with postgresql-7.2 and sun-jdk1.4 --
> it is installed without JDBC support because sun-jdk1.4 can't compile a
> JDBC 2.x interface but it can use it at runtime with the precompile
> jar-file pgjdbc2.jar.
>
> http://bugs.gentoo.org/show_bug.cgi?id=713
>
> I need to install the precompile jar-file pgjdbc2.jar in the ebuild.
You should not precompile it.
> One solution is to pack it in a tarfile and install/unpack it like the
> nvidia-glx -- is that OK?
No.
> Can 'use java' handle versions, so that we can compile it with versions
> below 1.4 or shall we allways install the precompiled version!
Why can't you have the postgres ebuild depend on <virtual/jdk-1.4, then
this problem goes away.
We will not add pre-built binaries in our source tree just because
jdk-1.4, which is spanking new, has a few issues the first few months.
Kind regards,
Karl T
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] How shall ebuild handle binary package (jar file)?
2002-03-23 21:01 [gentoo-dev] How shall ebuild handle binary package (jar file)? Lars S. Jensen
2002-03-25 14:52 ` Karl Trygve Kalleberg
@ 2002-03-25 14:54 ` Karl Trygve Kalleberg
2002-03-25 17:40 ` Lars S. Jensen
1 sibling, 1 reply; 4+ messages in thread
From: Karl Trygve Kalleberg @ 2002-03-25 14:54 UTC (permalink / raw
To: Lars S. Jensen; +Cc: Gentoo dev
Great of you to tackle this!
I strongly object to the pre-built binary approach. It goes in the face
of most of what Gentoo is about. I see that I should put the Java ebuild
guidelines up for public perusal, as they explain exactly why it's a
good idea to not pre-build it.
Kind regards,
Karl T
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-dev] How shall ebuild handle binary package (jar file)?
2002-03-25 14:54 ` Karl Trygve Kalleberg
@ 2002-03-25 17:40 ` Lars S. Jensen
0 siblings, 0 replies; 4+ messages in thread
From: Lars S. Jensen @ 2002-03-25 17:40 UTC (permalink / raw
To: Gentoo dev
On Mon, 2002-03-25 at 15:54, Karl Trygve Kalleberg wrote:
>
> Great of you to tackle this!
>
> I strongly object to the pre-built binary approach. It goes in the face
> of most of what Gentoo is about. I see that I should put the Java ebuild
> guidelines up for public perusal, as they explain exactly why it's a
> good idea to not pre-build it.
>
I found a patch for postgresql-7.2 to support jdk1.4 (JDBC3.0)
-- It is not compatible with jdk1.3 :-(
> Kind regards,
>
> Karl T
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-25 17:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-23 21:01 [gentoo-dev] How shall ebuild handle binary package (jar file)? Lars S. Jensen
2002-03-25 14:52 ` Karl Trygve Kalleberg
2002-03-25 14:54 ` Karl Trygve Kalleberg
2002-03-25 17:40 ` Lars S. Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox