Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 63287

Summary: dev-java/xerces uses packed jars
Product: Gentoo Linux Reporter: Thomas Matthijs (RETIRED) <axxo>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 75335, 71686, 73816    
Bug Blocks: 69972, 58596    
Attachments: xerces-2.6.2-r1.ebuild
xerces-2.6.2-r1.ebuild
xerces-2.6.2-r1.ebuild

Description Thomas Matthijs (RETIRED) gentoo-dev 2004-09-08 08:25:32 UTC
Following the new java policy, packages shouldn't rely on packed jars, dependencies need to be added on our own packages and used.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2004-12-08 09:11:05 UTC
Created attachment 45541 [details]
xerces-2.6.2-r1.ebuild

this ebuild should remove the packed jar issue
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2004-12-21 03:25:09 UTC
Created attachment 46528 [details]
xerces-2.6.2-r1.ebuild

this ebuild corrects the DEPEND/RDEPEND problem i had in the past. now i know
how to resolve them correctly ;)
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-22 09:52:20 UTC
xml-stylebook (stylebook.jar) is still needed as well as packages from ant-tasks in the tools directory.
Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2004-12-25 22:54:22 UTC
We face evils -- Xerces has circular dependencies of the following:

Xerces (xercesImpl.jar)
Xalan which depends on Xerces (xalan.jar)
XML-Stylebook which depends on Xerces and Xalan.
Ant Optional (ant-tasks iirc in Gentoo) which depends on Xalan and Xerces.

What would be the suggested course of action?
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-02 12:33:52 UTC
Created attachment 47394 [details]
xerces-2.6.2-r1.ebuild

ok, updated the ebuild. this one should be suffient since all dependency issue
are now removed. i've also removed the "pointer" to the documentation which was
printed when pkg_postinst() was called.
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-15 05:23:00 UTC
done for xerces-1.3.1 , i've replaced the makefile with an build.xml which makes compiling on amd64 possible. the packed jars which come with the tools distfile are only needed for generating the full documentation:

2. Building Documentation

   You must download the tools required for building the documentation
   from the distribution page (http://xml.apache.org/dist/). Download 
   the following tools ZIP file:

     Xerces-J-tools.x.y.z.zip

i've removed the tools zipfile from SRC_URI, generation of the javadocs is still possible. 
Comment 7 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-15 06:04:45 UTC
done for 2.6.2, nearly the same here. i've completly removed the tools src tarball from SRC_URI. stylebook is only needed to generate some kind of documentation. i've bumped the new one to xerces-2.6.2-r2 , for 1.3.1 the fixed version is xerces-1.3.1-r1 , btw.
Comment 8 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-15 07:58:59 UTC
done for version 2.3.0 in xerces-2.3.0-r1. fixed now