Bug#365408: [POLICY-PROPOSAL] Drop java*-runtime/compiler...
All:
In reviewing the proposed changes to Debian Java Policy [1] [2]
please allow me to make the following suggestions:
1. With respect to virtual packages [3] I understand that
Debian Policy does not allow packages in "main" to
depend on packages in "non-free". Therefore a distinction
must be made between the provides for "main" and "non-free".
As naming can be somewhat problematic allow me to
separate the choice of names (which involves clarity, brevity
and trademark issues) from the use of names (use in control
and update-$J-alternatives) via the following variables
Here I am showing my proposed choices for names but I'm more
interested in your opinion of name usage below:
J=cafe # the generic name of a technology that runs coffee like programs
R=runtime # the name of the part of a platform to run such programs
D=dev # the name of the superset of $R to develop such programs
P=plugin # the optional part of $R that provides OJI plugin capability
For packages intended for "main" control cannot have any Depends:
on "non-free" provides so a sample entry could be:
Depends: $J-$R
NOTE: a user may still run those packages in "main" with a
"non-free" $J implementation, but would have to do so manually
(update-java-alternatives) and not via dpkg dependencies AND
would be required to have a Free $J-$R installed even if it
were not used for the program in question.
For packages in "non-free" or "contrib" the entry could be:
Depends: $J-$R | $J-$R-nonfree
In which case a $J-$R-nonfree could satisfy the dependency.
Therefore for a given substitution of name choices I propose
the following alternative to [3]
Free:
* $J-$R
* $J-$D
Non-Free:
* $J-$R-nonfree
* $J-$D-nonfree
2. I have additional ideas about update-$J-alternatives (UJA) which really
should be the subject of a separate e-mail. For now let me
propose that we need a list of components (executables or plugins)
which need to be marshaled by UJA. This should be the union of
all components provided by all of:
* $J-$R
* $J-$D
* $J-$R-nonfree
* $J-$D-nonfree
Starting with Sun Java this list of components would be:
for $R:
ControlPanel
java
java_vm
javaws
keytool
kinit
klist
ktab
orbd
pack200
policytool
rmid
rmiregistry
servertool
tnameserv
unpack200
for $D:
appletviewer
apt
extcheck
HtmlConverter
idlj
jar
jarsigner
javac
javadoc
javah
javap
java-rmi.cgi
jconsole
jdb
jinfo
jmap
jps
jsadebugd
jstack
jstat
jstatd
native2ascii
rmic
serialver
for plugin (NOTE: this should be generic for any plugin provider)
mozilla-javaplugin.so
firefox-javaplugin.so
mozilla-snapshot-javaplugin.so
As a concrete example, using the name choices above, the UJA
config file for Sun Java would be (/usr/lib/jvm/.java-1.5.0-sun.jinfo):
::::::::::::::
name=java-1.5.0-sun-1.5.0.06
alias=java-1.5.0-sun
priority=53
section=non-free
runtime ControlPanel /usr/lib/jvm/java-1.5.0-sun/jre/bin/ControlPanel
runtime java /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
runtime java_vm /usr/lib/jvm/java-1.5.0-sun/jre/bin/java_vm
runtime javaws /usr/lib/jvm/java-1.5.0-sun/jre/bin/javaws
runtime keytool /usr/lib/jvm/java-1.5.0-sun/jre/bin/keytool
runtime pack200 /usr/lib/jvm/java-1.5.0-sun/jre/bin/pack200
runtime policytool /usr/lib/jvm/java-1.5.0-sun/jre/bin/policytool
runtime rmid /usr/lib/jvm/java-1.5.0-sun/jre/bin/rmid
runtime rmiregistry /usr/lib/jvm/java-1.5.0-sun/jre/bin/rmiregistry
runtime unpack200 /usr/lib/jvm/java-1.5.0-sun/jre/bin/unpack200
dev appletviewer /usr/lib/jvm/java-1.5.0-sun/bin/appletviewer
dev apt /usr/lib/jvm/java-1.5.0-sun/bin/apt
dev extcheck /usr/lib/jvm/java-1.5.0-sun/bin/extcheck
dev HtmlConverter /usr/lib/jvm/java-1.5.0-sun/bin/HtmlConverter
dev idlj /usr/lib/jvm/java-1.5.0-sun/bin/idlj
dev jar /usr/lib/jvm/java-1.5.0-sun/bin/jar
dev jarsigner /usr/lib/jvm/java-1.5.0-sun/bin/jarsigner
dev javac /usr/lib/jvm/java-1.5.0-sun/bin/javac
dev javadoc /usr/lib/jvm/java-1.5.0-sun/bin/javadoc
dev javah /usr/lib/jvm/java-1.5.0-sun/bin/javah
dev javap /usr/lib/jvm/java-1.5.0-sun/bin/javap
dev java-rmi.cgi /usr/lib/jvm/java-1.5.0-sun/bin/java-rmi.cgi
dev jconsole /usr/lib/jvm/java-1.5.0-sun/bin/jconsole
dev jdb /usr/lib/jvm/java-1.5.0-sun/bin/jdb
dev jinfo /usr/lib/jvm/java-1.5.0-sun/bin/jinfo
dev jmap /usr/lib/jvm/java-1.5.0-sun/bin/jmap
dev jps /usr/lib/jvm/java-1.5.0-sun/bin/jps
dev jsadebugd /usr/lib/jvm/java-1.5.0-sun/bin/jsadebugd
dev jstack /usr/lib/jvm/java-1.5.0-sun/bin/jstack
dev jstat /usr/lib/jvm/java-1.5.0-sun/bin/jstat
dev jstatd /usr/lib/jvm/java-1.5.0-sun/bin/jstatd
dev native2ascii /usr/lib/jvm/java-1.5.0-sun/bin/native2ascii
dev rmic /usr/lib/jvm/java-1.5.0-sun/bin/rmic
dev serialver /usr/lib/jvm/java-1.5.0-sun/bin/serialver
plugin mozilla-javaplugin.so /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
plugin firefox-javaplugin.so /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
plugin mozilla-snapshot-javaplugin.so /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so
::::::::::::::
I look forward to your comments.
Regards,
--Tom
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365408
[2] http://wiki.debian.org/Java/Draft
[3] http://wiki.debian.org/Java/Draft#head-ba2586418ede32dc0f3b1afb0be50128ce77c7a6
Reply to: