1. pena jive_messenger_src # pwd /var/tmp/portage/jive-messenger-2.2.0/work/jive_messenger_src pena jive_messenger_src # find -name "*.jar" ./build/lib/dist/activation.jar ./build/lib/dist/hsqldb.jar ./build/lib/dist/mail.jar ./build/lib/dist/mysql.jar ./build/lib/dist/postgres.jar ./build/lib/dist/servlet.jar ./build/lib/merge/commons-logging.jar ./build/lib/merge/dom4j.jar ./build/lib/merge/jaxen.jar ./build/lib/merge/jdic.jar ./build/lib/merge/jetty.jar ./build/lib/merge/jmdns.jar ./build/lib/merge/jstl.jar ./build/lib/merge/standard.jar ./build/lib/merge/whack.jar ./build/lib/merge/xpp3.jar ./build/lib/ant-contrib.jar ./build/lib/ant-subdirtask.jar ./build/lib/ant.jar ./build/lib/commons-el.jar ./build/lib/jasper-compiler.jar ./build/lib/jasper-runtime.jar ./build/lib/junit.jar ./build/lib/xmltask.jar ./src/plugins/forums/lib/forums-ws.jar ./src/plugins/forums/lib/hessian-3.0.8.jar ./src/plugins/userImportExport/lib/isorelax.jar ./src/plugins/userImportExport/lib/msv.jar ./src/plugins/userImportExport/lib/relaxngDatatype.jar ./src/plugins/userImportExport/lib/xsdlib.jar See http://gentoo-wiki.com/Gentoo_Java_Policy#Bundled_JARs 2. Also the RDEPEND is wrong -RDEPEND="|| ( >=virtual/jre-1.5 >=virtual/jdk-1.5 )" +RDEPEND=">=virtual/jre-1.5" All the jdks also provide virtual/jre. 3. the ebuild also installs the packed jars. 4. Javadoc installation should be done by the java-pkg_dohtml function and only with the doc use flag set. 5. Not strictly needed but I think it would be better if the package installed a jar file instead of separate class files but this is also an upstream issue if they do not provide such an option.
On a more general ebuild note you should use MY_PN because ${PN//-/_} is twice in the ebuild. Some developers also feel that versionator.eclass is the better way to do these kinds of things.
How about adding a section explaining java ebuilds to the developer handbook? gentoo-wiki.com is _not_ a official ressource.
(In reply to comment #2) > How about adding a section explaining java ebuilds to the developer handbook? > gentoo-wiki.com is _not_ a official ressource. Sure. There will be major changes in the java ebuild setup for which we (axxo, but he others are welcome too) are writing documentation. You can find the documentation work in progress in http://gentooexperimental.org/svn/java/axxo-overlay/README/docs/ . This new documentation will probably go to official gentoo.org sites and the developer documentation can then link to these.
Moving towards making our policy more official. http://www.gentoo.org/proj/en/java/java-devel.xml
Sorry guys, but it's just not in the cards for me to be able to learn all of the java herding knowledge that I would need to fix this package properly, so I'm going to have to dump this back to you. It seems like having things like a java policy starts to raise the barrier to entry for those wishing to contribute ebuilds to a rather high and possibly unacceptable level. The ebuild for this package as-is works correctly, and does not break any other packages, and is not in violation of the FHS AFAICS.
This package is marked for removal[1]. Please try net-im/wildfire [1]http://article.gmane.org/gmane.linux.gentoo.devel/36331