FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 04-18-2008, 10:11 AM
Matthias Klose
 
Default Bug#476658: postgresql-pljava - direct dependencies on libgcj and misleading package name

Package: postgresql-pljava
Version: 1.4.0-1
Severity: important

postgresql-8.3-pljava-gcj currently directly depends on a specific
version of libgcj, which is unneeded, and doesn't allow the bindings
to work with another jvm. The upstream should be built without setting
USE_GCJ, but by setting JAVA_HOME to /usr/lib/java-gcj and adding
/usr/lib/java-gcj/bin to PATH.

The name of the binary package is wrong. The package itself contains
jni bindings and has nothing to do with gcj in the first place. Please
have a look at the glib-java package how jni bindings can be packaged:

- libpostgresql-8.3-pl-java, binary indep, holding the jar file
- libpostgresql-8.3-pl-jni, binary arch, holding the jni bindings
(these two packages could be merged into one).
- libpostgresql-8.3-pl-java-gcj, binary-arch, built using
dh_nativejava (using aotcompile) to optimize performance when
running with the gij runtime. Only this package depends on
libgcj-bc (not on a specific libgcj library package).
See for example the libxerces2-java source how such a package
is built.



--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 02:59 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org