mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
8b64c2a1a9
2004-12-11 Sven Neumann <sven@gimp.org> * configure.in: set version to 2.2.0. * tools/Makefile.am * tools/authorsgen/Makefile.am * tools/authorsgen/authorsgen.pl * tools/authorsgen/contributors: removed authorsgen, a perl script that used to be used to create AUTHORS and authors.h. * Makefile.am * authors.dtd * authors.xml: added a simple XML file that lists authors and contributors and a DTD to validate it. * authors.xsl: a stylesheet to generate AUTHORS from authors.xml. * app/dialogs/Makefile.am * app/dialogs/authors.xsl: a stylesheet to generate authors.h from authors.xml. * app/dialogs/authors.h: regenerated. * app/dialogs/about-dialog.c: added a const modifier.
28 lines
671 B
XML
28 lines
671 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- simple XSL transformation to create a header file from authors.xml -->
|
|
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:output method="text" />
|
|
<xsl:template match="/gimp-authors">
|
|
<xsl:text>
|
|
/* NOTE: This file is autogenerated from authors.xml, do not edit it. */
|
|
|
|
/*
|
|
* The main authors are Spencer Kimball and Peter Mattis.
|
|
*/
|
|
|
|
static const gchar *authors[] =
|
|
{
|
|
</xsl:text><xsl:apply-templates select="contributor" /><xsl:text>
|
|
};
|
|
</xsl:text>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="contributor"> "<xsl:apply-templates />",
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|