Bug#696286: unnecessary dependencies in package, strange files in jar

Stefan Denker Stefan at dn-kr.de
Tue Dec 18 22:46:45 UTC 2012


Package: ini4j
Version: 0.5.2-SNAPSHOT-2
Severity: minor
Tags: patch

The package ini4j has unnecessary dependencies: libjetty-java and
libservlet2.5-java. It recommends jetty and thereby installs a complete
servlet engine for an Ini-Parser.  These libraries are not used by the
package, in fact it compiles and runs just fine without them.

Also, the jar includes some strange files: 

site/apt/design.apt
site/apt/overview.apt
site/resources/.htaccess
site/resources/css/site.css
site/resources/favicon.ico
site/resources/img/bugs.png
site/resources/img/community.png
site/resources/img/docs.png
site/resources/img/download.png
site/resources/img/feature.png
site/resources/img/fedora.png
site/resources/img/forum.png
site/resources/img/ini4j-banner.png
site/resources/img/ini4j.png
site/resources/img/sample.png
site/resources/img/tutorial.png
site/resources/img/ubuntu.png
site/resources/img/writer.png
site/resources/robots.txt
test/java/org/ini4j/demo/help.txt
test/java/org/ini4j/demo/ini-data.txt
test/java/org/ini4j/demo/ini-tip.txt
test/java/org/ini4j/demo/options-data.txt
test/java/org/ini4j/demo/options-tip.txt
test/java/org/ini4j/demo/reg-data.txt
test/java/org/ini4j/demo/reg-tip.txt
test/java/org/ini4j/sample/dwarfs.opt
test/java/org/ini4j/sample/dwarfs.reg
test/java/org/ini4j/sample/package-info.class
test/java/org/ini4j/tutorial/package-info.class
test/resources/org/ini4j/mozilla.reg
test/resources/org/ini4j/spi/include.txt
test/resources/org/ini4j/spi/nested.txt
test/resources/org/ini4j/spi/part1.txt
test/resources/org/ini4j/spi/part2.txt

These seem to be part of the website, but these should not be in the jar
containing the java-classes.

The attached patch modifies the package so these issues are addressed.
All unit tests included in the package passing before modification still
pass afterwards.

I've left the build-dependencies for testing the package alone although
they are not needed since no tests are run during build.

-- 
+++ I am sorry. It is hard to convey five-dimensional ideas in a language
    evolved to scream defiance at the monkeys in the next tree +++
[Terry Pratchett - The Science of the Discworld 3]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_dependencies.patch
Type: text/x-diff
Size: 2945 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20121218/aad0255a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20121218/aad0255a/attachment.pgp>


More information about the pkg-java-maintainers mailing list