Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107778 - net-im/jive-messenger does not follow java policy
Summary: net-im/jive-messenger does not follow java policy
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 120513
  Show dependency tree
 
Reported: 2005-10-01 05:43 UTC by Petteri Räty (RETIRED)
Modified: 2006-02-28 14:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2005-10-01 05:43:17 UTC
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.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-10-01 05:59:51 UTC
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.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-01 08:02:55 UTC
How about adding a section explaining java ebuilds to the developer handbook?
gentoo-wiki.com is _not_ a official ressource.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-10-01 09:59:50 UTC
(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.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-10-04 11:52:45 UTC
Moving towards making our policy more official.
http://www.gentoo.org/proj/en/java/java-devel.xml
Comment 5 Brandon Low (RETIRED) gentoo-dev 2005-10-17 14:24:39 UTC
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.
Comment 6 Gustavo Felisberto (RETIRED) gentoo-dev 2006-02-28 14:45:08 UTC
This package is marked for removal[1]. Please try net-im/wildfire

[1]http://article.gmane.org/gmane.linux.gentoo.devel/36331