Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174675 - java-config make it possible to use || ( ) deps for providers
Summary: java-config make it possible to use || ( ) deps for providers
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 157357
Blocks:
  Show dependency tree
 
Reported: 2007-04-15 12:06 UTC by Petteri Räty (RETIRED)
Modified: 2010-09-04 05:36 UTC (History)
1 user (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 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?