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

Bug 174675

Summary: java-config make it possible to use || ( ) deps for providers
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: [OLD] LibraryAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 157357    
Bug Blocks:    

Description Petteri Räty (RETIRED) gentoo-dev 2007-04-15 12:06:40 UTC
Currently if the application for example detects the XML parser used at runtime we put all the parsers it can possibly use to DEPEND and RDEPEND. I think it would be better to extend package.env so that java-config checks which ones are installed and puts those to classpath. On the gjl side this can be implemented using Java virtuals but that doesn't work on the DEPEND side because we require all of them installed to be able to build all the providers. This approach should be most useful if we ever get a binary repo setup.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-04-15 12:09:30 UTC
Hmm. Should be implementable this way:
for DEPEND use --build-only and then register runtime dep on the virtual. We should find out what all packages can benefit from this.
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2008-11-20 10:48:13 UTC
Has this been solved with the register-optional-dep functionality?