Bug#281287: java-package: remove duplicate files from sun packages

Hendrik Sattler Hendrik Sattler <sattler2000@gmx.de>, 281287@bugs.debian.org
Sun Nov 14 17:54:01 2004


Package: java-package
Version: 0.16
Severity: wishlist


Hi,

SUN packagers do not seem to be very smart because they always have lots
of duplicate files in the J2SDK distribution. Some md5sums from
j2se-1.4.2_06:
00493ce549343ed3b35e1f77b0a8e811  /usr/lib/j2sdk1.4-sun/bin/tnameserv
00493ce549343ed3b35e1f77b0a8e811  /usr/lib/j2sdk1.4-sun/jre/bin/tnameserv
15b6f23569d201cc58d44e3bbe7087fe  /usr/lib/j2sdk1.4-sun/bin/keytool
15b6f23569d201cc58d44e3bbe7087fe  /usr/lib/j2sdk1.4-sun/jre/bin/keytool
3e37ff64756b268cafa765b558194ae8  /usr/lib/j2sdk1.4-sun/bin/rmiregistry
3e37ff64756b268cafa765b558194ae8  /usr/lib/j2sdk1.4-sun/jre/bin/rmiregistry
45a017bafe087886ad90eac6bd82106e  /usr/lib/j2sdk1.4-sun/bin/java
45a017bafe087886ad90eac6bd82106e  /usr/lib/j2sdk1.4-sun/jre/bin/java
8928a6f8be18d0c17f37b94310c37cc0  /usr/lib/j2sdk1.4-sun/bin/klist
8928a6f8be18d0c17f37b94310c37cc0  /usr/lib/j2sdk1.4-sun/jre/bin/klist
c352a14c5f7acf1a4560609f0644c41e  /usr/lib/j2sdk1.4-sun/bin/orbd
c352a14c5f7acf1a4560609f0644c41e  /usr/lib/j2sdk1.4-sun/jre/bin/orbd
d3e2788ca558e15758545bbd361a0702  /usr/lib/j2sdk1.4-sun/bin/ktab
d3e2788ca558e15758545bbd361a0702  /usr/lib/j2sdk1.4-sun/jre/bin/ktab
d4d62abf2d3a8bd922289d69aac44e62  /usr/lib/j2sdk1.4-sun/bin/servertool
d4d62abf2d3a8bd922289d69aac44e62  /usr/lib/j2sdk1.4-sun/jre/bin/servertool
d834765ba76ba292b763e490672dded3  /usr/lib/j2sdk1.4-sun/bin/kinit
d834765ba76ba292b763e490672dded3  /usr/lib/j2sdk1.4-sun/jre/bin/kinit
dc2f7b9d0d5ea7cb3f8e476b98a8c327  /usr/lib/j2sdk1.4-sun/bin/policytool
dc2f7b9d0d5ea7cb3f8e476b98a8c327  /usr/lib/j2sdk1.4-sun/jre/bin/policytool
f8ecd8284470958f1a0bc70723920516  /usr/lib/j2sdk1.4-sun/bin/rmid
f8ecd8284470958f1a0bc70723920516  /usr/lib/j2sdk1.4-sun/jre/bin/rmid

However, java-package could be smart enough to remove such unnecessary files from
bin/ and keep those in jre/bin/.
Maybe, other files are affected, too.

Additionally, I am not sure that japanese manpages are really needed in any
case (it is the ONLY localized version!), same for demo/ and src.zip.
Making those optional or even extra packages would be great, it would be even worth.
In KB:
11884   /usr/lib/j2sdk1.4-sun/demo/
11292   /usr/lib/j2sdk1.4-sun/src.zip
184     /usr/lib/j2sdk1.4-sun/man/ja_JP.eucJP/
Having 23MB(!) less to install is surely a nice thing!
Those are extras and absolutely not needed for a working SDK and removing/splitting
them would surely be worth some effort. A demo.tar.gz only has a size of 6330073,
that is already 5,5MB less.

HS

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9y
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages java-package depends on:
ii  debhelper                     4.2.23     helper programs for debian/rules

-- no debconf information