|
|
[Gentoo Linux Home] [GLEP Index] [GLEP Source] |
| GLEP: | 5 |
|---|---|
| Title: | Extending metadata.xml |
| Version: | 1.3 |
| Last-Modified: | 2004/11/11 21:27:31 |
| Author: | Heinrich Wendel <sysop at heinospage.de>, |
| Status: | deferred |
| Type: | Standards Track |
| Content-Type: | text/x-rst |
| Created: | 02-Jul-2003 |
| Post-History: | 02-Jul-2003, 11-Nov-2004 |
As the latest development in Gentoo and Portage added the metadata.xml file to each package, which provides information about the package and it's maintainers, this GLEP proposes to extend this format in order to simplify the .ebuild format.
Timed out
The metadata.xml [1] standard was accepted and it already contains some information about the packages (longdescription).
Add the tags <description> <homepage> <license> to the metadata.xml [1] and remove them from the .ebuild files. All ebuilds and the emerge -S feature have to be changed to use the new format.
The three tags description, homepage and license are mostly the same in all versions of an ebuild, but they must be added to each version. In order to simplify the .ebuild format they can be moved to the new metadata.xml [1] file. This would also allow different descriptions for different languages (lang attribute) and there are no problems when a programm changes it license (restrict attribute).
As it will take some time to do the changes on every ebuild, portage should still support the old format for some time.
not yet ...
| [1] | (1, 2, 3) Gentoo Herds Project [http://www.gentoo.org/proj/en/metastructure/herds/#doc_chap2] |
This document has been placed in the public domain.