Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445106 - xmlcatalog.eclass needed for managing xml catalogs in packages
Summary: xmlcatalog.eclass needed for managing xml catalogs in packages
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 445014
  Show dependency tree
 
Reported: 2012-11-28 20:41 UTC by Matthew Schultz
Modified: 2012-11-29 19:33 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 Matthew Schultz 2012-11-28 20:41:54 UTC
A new eclass will simplify multiple ebuilds that depend on dev-util/xml-core since duplicate funcationlity will not be required.  I propose that the xml-catalog.eclass work the same way as sgml-catalog.eclass and uses /usr/sbin/update-xmlcatalog provided by dev-util/xml-core to manage the catalogs.

Reproducible: Always
Comment 1 Matthew Schultz 2012-11-29 19:29:04 UTC
Since dev-libs/libxml2 already provides the functionality to manage xml catalogs with the xmlcatalog command, I propose to drop the idea to implement an eclass with update-xmlcatalog and xml-core but rather implement an eclass around xmlcatalog from libxml2 instead.  There are already a few eclasses in portage that could take advantage of this eclass.  xml-core will be another ebuild that could take advantage of an eclass built around the xmlcatalog command.  Here are a few ebuilds in portage as an example:

gnome-base/libglade
app-text/scrollkeeper-dtd