Bug#635495: lintian want's jars at /usr/share/

2011-07-27 Thread Benjamin Drung
reassign 635495 lintian
thanks

Am Dienstag, den 26.07.2011, 13:07 +0200 schrieb Sascha Girrulat:
 if i use install-xpi for packaging xul extensions i got a lintian error at the
 final package. All jars will installed at /usr/lib/xul-ext/package/...
 
 I'm not sure witch is the really correct place will be but something seems to
 be wrong.
 
 For example:
 sascha@kang:/var/cache/pbuilder/sid/result$ lintian xul-ext-
 firetray_0.3.0-svn-r122-1_amd64.deb
 W: xul-ext-firetray: jar-not-in-usr-share usr/lib/xul-
 ext/firetray/chrome/firetray.jar

That's a bug in lintian. Java uses .jar files that are zip files
containing Java class files. Mozilla uses .jar files in XPI files that
are zip files containing everything below the chrome/ directory. lintian
should make a difference between both. file *.jar will both report that
the .jar files are zip files. lintian should look into the zip and check
if they contain Java files.

-- 
Benjamin Drung
Debian  Ubuntu Developer


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


Bug#635495: lintian want's jars at /usr/share/

2011-07-26 Thread Sascha Girrulat
Package: mozilla-devscripts
Version: 0.27
Severity: normal
Tags: sid

Hi,

if i use install-xpi for packaging xul extensions i got a lintian error at the
final package. All jars will installed at /usr/lib/xul-ext/package/...

I'm not sure witch is the really correct place will be but something seems to
be wrong.

For example:
sascha@kang:/var/cache/pbuilder/sid/result$ lintian xul-ext-
firetray_0.3.0-svn-r122-1_amd64.deb
W: xul-ext-firetray: jar-not-in-usr-share usr/lib/xul-
ext/firetray/chrome/firetray.jar
sascha@kang:/var/cache/pbuilder/sid/result$ lintian-info -t  jar-not-in-usr-
share
N: jar-not-in-usr-share
N:
N:   The classpath listed in some of the files references files outside of
N:   /usr/share, while all installed JAR files must be within
N:   /usr/share/java for libraries or /usr/share/package for JARs for
N:   private use.
N:
N:   The rationale is that jar files are in almost all cases architecture
N:   independent and therefore should be in /usr/share. If the jar file is
N:   truly architecture dependent or it cannot be moved since symlinked jar
N:   files are not accepted by the application, then please override this
N:   tag.
N:
N:   Refer to Debian Java Policy section 2.2 (Debian Java Policy) and
N:   Debian Java Policy section 2.3 (Debian Java Policy) for details.
N:
N:   Severity: normal, Certainty: possible
N:
N:   Check: java, Type: binary
N:

Cheers
Sascha



-- System Information:
Debian Release: 6.0.2
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mozilla-devscripts depends on:
ii  dpkg-dev   1.15.8.11 Debian package development tools
ii  fakeroot   1.14.4-1  Gives a fake root environment
ii  perl   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  python 2.6.7-1   interactive high-level object-orie
ii  python-librdf  1.0.10.1-2Python language bindings for the R
ii  python2.6  2.6.7-3   An interactive high-level object-o
ii  quilt  0.48-7Tool to work with series of patche
ii  unzip  6.0-4 De-archiver for .zip files
ii  wget   1.12-2.1  retrieves files from the web
ii  zip3.0-3 Archiver for .zip files

mozilla-devscripts recommends no packages.

Versions of packages mozilla-devscripts suggests:
ii  cvs 1:1.12.13-12 Concurrent Versions System
ii  git 1:1.7.2.5-2  fast, scalable, distributed revisi
pn  mercurial   none   (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org