Bug#506209: liblink-grammar4-java should be arch all, not any

2008-11-19 Thread Matthias Klose
Package: liblink-grammar4-java
Version: 4.3.5-1

liblink-grammar4-java should be arch all, not any

also please build-depend on default-jdk, instead of classpath/jikes.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#506209: liblink-grammar4-java should be arch all, not any

2008-11-19 Thread Chanoch (Ken) Bloom
On Wed, 2008-11-19 at 12:57 +0100, Matthias Klose wrote:
 Package: liblink-grammar4-java
 Version: 4.3.5-1
 
 liblink-grammar4-java should be arch all, not any

It's a jni package, so I guess I should rename it instead.

 also please build-depend on default-jdk, instead of classpath/jikes.

I asked for help with this on debian-devel a while ago (because it
causes FTBFS on some archs), but never got a response and I kinda lost
track of the issue. Thanks for the information. Hopefully this will fix
my issue.

Unfortunately, at the moment my pbuilder can't satisfy the build deps,
becuase of a version mismatch elsewhere in unstable (libfontconfig1 and
fontconfig-config), but hopefully that will work itself out quickly and
I should be able to build in the next day or two.

After that, would you be willing to test out the package on one of the
more obscure architectures in Debian? I'm not a DD, so I don't have
access to porter machines.

--Ken

-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/



signature.asc
Description: This is a digitally signed message part


Bug#506209: liblink-grammar4-java should be arch all, not any

2008-11-19 Thread Matthias Klose
Chanoch (Ken) Bloom writes:
 On Wed, 2008-11-19 at 12:57 +0100, Matthias Klose wrote:
  Package: liblink-grammar4-java
  Version: 4.3.5-1
  
  liblink-grammar4-java should be arch all, not any
 
 It's a jni package, so I guess I should rename it instead.

then why do you install this in /usr/share/java? and I don't see the
jni libs installed in /usr/lib/jni.

 After that, would you be willing to test out the package on one of the
 more obscure architectures in Debian? I'm not a DD, so I don't have
 access to porter machines.

I checked that the package builds on armel.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#506209: liblink-grammar4-java should be arch all, not any

2008-11-19 Thread Chanoch (Ken) Bloom
On Wed, 2008-11-19 at 16:52 +0100, Matthias Klose wrote:
 Chanoch (Ken) Bloom writes:
  On Wed, 2008-11-19 at 12:57 +0100, Matthias Klose wrote:
   Package: liblink-grammar4-java
   Version: 4.3.5-1
   
   liblink-grammar4-java should be arch all, not any
  
  It's a jni package, so I guess I should rename it instead.

Actually, looking at the Java policy, I probably shoudn't rename it:

http://www.debian.org/doc/packaging-manuals/java-policy/x105.html

If a Java library relies on native code, the dynamic libraries
containing this compiled native code should be installed into the
directory /usr/lib/jni. These dynamic libraries should be shipped in a
separate architecture-specific package named libXXX[version]-jni. The
package containing the Java bytecode (generally libXXX[version]-java)
should depend on this package. 

There may be situations, such as with very small packages, where it is
better to bundle the Java code and the native code together into a
single package. Such packages should be architecture-specific and follow
the usual libXXX[version]-java naming convention. 


 then why do you install this in /usr/share/java? and I don't see the
 jni libs installed in /usr/lib/jni.

It's there:

[EMAIL PROTECTED] ~]$ dpkg -L liblink-grammar4-java 
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/liblink-grammar4-java
/usr/share/doc/liblink-grammar4-java/TODO
/usr/share/doc/liblink-grammar4-java/AUTHORS
/usr/share/doc/liblink-grammar4-java/copyright
/usr/share/doc/liblink-grammar4-java/README.gz
/usr/share/doc/liblink-grammar4-java/changelog.Debian.gz
/usr/share/doc/liblink-grammar4-java/changelog.gz
/usr/share/java
/usr/share/java/link-grammar-4.3.5.jar
/usr/lib
/usr/lib/jni
/usr/share/java/link-grammar.jar
/usr/lib/jni/liblink-grammar-java.so



  After that, would you be willing to test out the package on one of the
  more obscure architectures in Debian? I'm not a DD, so I don't have
  access to porter machines.
 
 I checked that the package builds on armel.
-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/



signature.asc
Description: This is a digitally signed message part


Bug#506209: liblink-grammar4-java should be arch all, not any

2008-11-19 Thread Matthias Klose
Chanoch (Ken) Bloom writes:
 It's there:
 
 [EMAIL PROTECTED] ~]$ dpkg -L liblink-grammar4-java 
 /.
 /usr
 /usr/share
 /usr/share/doc
 /usr/share/doc/liblink-grammar4-java
 /usr/share/doc/liblink-grammar4-java/TODO
 /usr/share/doc/liblink-grammar4-java/AUTHORS
 /usr/share/doc/liblink-grammar4-java/copyright
 /usr/share/doc/liblink-grammar4-java/README.gz
 /usr/share/doc/liblink-grammar4-java/changelog.Debian.gz
 /usr/share/doc/liblink-grammar4-java/changelog.gz
 /usr/share/java
 /usr/share/java/link-grammar-4.3.5.jar
 /usr/lib
 /usr/lib/jni
 /usr/share/java/link-grammar.jar
 /usr/lib/jni/liblink-grammar-java.so

strange. when I do build the package with libtool-2.2, I have 
-rw-r--r-- root/root 13668 2008-11-19 18:39 
./usr/lib/jni/liblink-grammar-java.so.4.3.5
lrwxrwxrwx root/root 0 2008-11-19 18:39 
./usr/share/java/link-grammar.jar - link-grammar-4.3.5.jar
lrwxrwxrwx root/root 0 2008-11-19 18:39 
./usr/lib/jni/liblink-grammar-java.so.4 - liblink-grammar-java.so.4.3.5
lrwxrwxrwx root/root 0 2008-11-19 18:39 
./usr/lib/jni/liblink-grammar-java.so - liblink-grammar-java.so.4.3.5

so debian/liblink-grammar4-java.install should look:
debian/tmp/usr/lib/jni/*.so*
debian/tmp/usr/share/java/*

instead of
debian/tmp/usr/lib/jni/*.so
debian/tmp/usr/share/java/*



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]