mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add WIP recipe for gtk-doc.
* Not working yet, added only because it exposes a bug in haikuporter.
This commit is contained in:
122
app-text/docbook_xml_dtd/docbook_xml_dtd-4.3.recipe
Normal file
122
app-text/docbook_xml_dtd/docbook_xml_dtd-4.3.recipe
Normal file
@@ -0,0 +1,122 @@
|
||||
SUMMARY="Docbook DTD for XML."
|
||||
DESCRIPTION="
|
||||
DocBook is an XML vocabulary that lets you create documents in a \
|
||||
presentation-neutral form that captures the logical structure of your content.
|
||||
|
||||
DocBook is a schema (available in several languages including RELAX NG, \
|
||||
W3C XML Schemas, and XML DTDs) maintained by the DocBook Technical Committee \
|
||||
of OASIS. It is particularly well suited to books and papers about computer \
|
||||
hardware and software (though it is by no means limited to these applications).
|
||||
"
|
||||
|
||||
HOMEPAGE="http://www.docbook.org/schemas/4x.html"
|
||||
SRC_URI="http://www.docbook.org/xml/$portVersion/docbook-xml-$portVersion.zip"
|
||||
CHECKSUM_SHA256="23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464"
|
||||
|
||||
REVISION="1"
|
||||
ARCHITECTURES="any"
|
||||
|
||||
LICENSE="Docbook"
|
||||
COPYRIGHT="
|
||||
19996-2006 HaL Computer Systems Inc., O'Reilly & Associates Inc,
|
||||
ArborText Inc, Fujitsu Software Corporation, Norman Walsh,
|
||||
Sun Microsystems Inc. and the Organization for the Advancement of
|
||||
Structured Information Standards (OASIS)
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
docbook_xml_dtd = $portVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:xmlcatalog
|
||||
cmd:find
|
||||
"
|
||||
|
||||
SOURCE_DIR=""
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $dataDir/xml/docbook/xml-dtd-$portVersion
|
||||
cp -v -af docbook.cat *.dtd ent/ *.mod \
|
||||
$dataDir/xml/docbook/xml-dtd-$portVersion
|
||||
|
||||
mkdir -p $settingsDir/etc/xml/catalog
|
||||
|
||||
CATALOG=$settingsDir/etc/xml/docbook
|
||||
xmlcatalog --noout --create $CATALOG
|
||||
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML V$portVersion//EN" \
|
||||
"http://www.oasis-open.org/docbook/xml/$portVersion/docbookx.dtd" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML CALS Table Model V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/calstblx.dtd" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/soextblx.dtd" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Information Pool V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbpoolx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbhierx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML HTML Tables V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/htmltblx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Notations V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbnotnx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Character Entities V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbcentx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Additional General Entities V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbgenent.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://www.oasis-open.org/docbook/xml/$portVersion" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/$portVersion" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion" \
|
||||
$CATALOG
|
||||
|
||||
CATALOG=$settingsDir/etc/xml/catalog/docbook-xml-dtd
|
||||
xmlcatalog --noout --create $CATALOG
|
||||
|
||||
xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//ENTITIES DocBook XML" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
}
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/etc/xml/catalog/docbook-xml-dtd keep-old
|
||||
settings/etc/xml/docbook keep-old
|
||||
"
|
||||
122
app-text/docbook_xml_dtd/docbook_xml_dtd-4.5.recipe
Normal file
122
app-text/docbook_xml_dtd/docbook_xml_dtd-4.5.recipe
Normal file
@@ -0,0 +1,122 @@
|
||||
SUMMARY="Docbook DTD for XML."
|
||||
DESCRIPTION="
|
||||
DocBook is an XML vocabulary that lets you create documents in a \
|
||||
presentation-neutral form that captures the logical structure of your content.
|
||||
|
||||
DocBook is a schema (available in several languages including RELAX NG, \
|
||||
W3C XML Schemas, and XML DTDs) maintained by the DocBook Technical Committee \
|
||||
of OASIS. It is particularly well suited to books and papers about computer \
|
||||
hardware and software (though it is by no means limited to these applications).
|
||||
"
|
||||
|
||||
HOMEPAGE="http://www.docbook.org/schemas/4x.html"
|
||||
SRC_URI="http://www.docbook.org/xml/$portVersion/docbook-xml-$portVersion.zip"
|
||||
CHECKSUM_SHA256="4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4"
|
||||
|
||||
REVISION="1"
|
||||
ARCHITECTURES="any"
|
||||
|
||||
LICENSE="Docbook"
|
||||
COPYRIGHT="
|
||||
19996-2006 HaL Computer Systems Inc., O'Reilly & Associates Inc,
|
||||
ArborText Inc, Fujitsu Software Corporation, Norman Walsh,
|
||||
Sun Microsystems Inc. and the Organization for the Advancement of
|
||||
Structured Information Standards (OASIS)
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
docbook_xml_dtd = $portVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:xmlcatalog
|
||||
cmd:find
|
||||
"
|
||||
|
||||
SOURCE_DIR=""
|
||||
BUILD()
|
||||
{
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $dataDir/xml/docbook/xml-dtd-$portVersion
|
||||
cp -v -af docbook.cat *.dtd ent/ *.mod \
|
||||
$dataDir/xml/docbook/xml-dtd-$portVersion
|
||||
|
||||
mkdir -p $settingsDir/etc/xml/catalog
|
||||
|
||||
CATALOG=$settingsDir/etc/xml/docbook
|
||||
xmlcatalog --noout --create $CATALOG
|
||||
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML V$portVersion//EN" \
|
||||
"http://www.oasis-open.org/docbook/xml/$portVersion/docbookx.dtd" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD DocBook XML CALS Table Model V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/calstblx.dtd" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/soextblx.dtd" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Information Pool V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbpoolx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbhierx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ELEMENTS DocBook XML HTML Tables V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/htmltblx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Notations V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbnotnx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Character Entities V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbcentx.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "public" \
|
||||
"-//OASIS//ENTITIES DocBook XML Additional General Entities V$portVersion//EN" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion/dbgenent.mod" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://www.oasis-open.org/docbook/xml/$portVersion" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://www.oasis-open.org/docbook/xml/$portVersion" \
|
||||
"file://$dataDir/xml/docbook/xml-dtd-$portVersion" \
|
||||
$CATALOG
|
||||
|
||||
CATALOG=$settingsDir/etc/xml/catalog/docbook-xml-dtd
|
||||
xmlcatalog --noout --create $CATALOG
|
||||
|
||||
xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//ENTITIES DocBook XML" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "delegatePublic" \
|
||||
"-//OASIS//DTD DocBook XML" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "delegateSystem" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
xmlcatalog --noout --add "delegateURI" \
|
||||
"http://www.oasis-open.org/docbook/" \
|
||||
"file://$settingsDir/etc/xml/docbook" \
|
||||
$CATALOG
|
||||
}
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/etc/xml/catalog/docbook-xml-dtd keep-old
|
||||
settings/etc/xml/docbook keep-old
|
||||
"
|
||||
26
app-text/docbook_xml_dtd/licenses/Docbook
Normal file
26
app-text/docbook_xml_dtd/licenses/Docbook
Normal file
@@ -0,0 +1,26 @@
|
||||
Copyright 1992-2006 HaL Computer Systems, Inc.,
|
||||
O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
|
||||
Corporation, Norman Walsh, Sun Microsystems, Inc., and the
|
||||
Organization for the Advancement of Structured Information
|
||||
Standards (OASIS).
|
||||
|
||||
See also http://docbook.org/specs/
|
||||
|
||||
$Id: docbookx.dtd 6340 2006-10-03 13:23:24Z nwalsh $
|
||||
|
||||
Permission to use, copy, modify and distribute the DocBook XML DTD
|
||||
and its accompanying documentation for any purpose and without fee
|
||||
is hereby granted in perpetuity, provided that the above copyright
|
||||
notice and this paragraph appear in all copies. The copyright
|
||||
holders make no representation about the suitability of the DTD for
|
||||
any purpose. It is provided "as is" without expressed or implied
|
||||
warranty.
|
||||
|
||||
If you modify the DocBook DTD in any way, except for declaring and
|
||||
referencing additional sets of general entities and declaring
|
||||
additional notations, label your DTD as a variant of DocBook. See
|
||||
the maintenance documentation for more information.
|
||||
|
||||
Please direct all questions, bug reports, or suggestions for
|
||||
changes to the docbook@lists.oasis-open.org mailing list. For more
|
||||
information, see http://www.oasis-open.org/docbook/.
|
||||
@@ -24,6 +24,7 @@ PROVIDES="
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:xmlcatalog
|
||||
cmd:find
|
||||
"
|
||||
|
||||
@@ -43,4 +44,31 @@ INSTALL()
|
||||
xhtml xhtml-1_1 $dataDir/xml/docbook/xsl-stylesheets-1.78.1
|
||||
|
||||
ln -s VERSION $dataDir/xml/docbook/xsl-stylesheets-1.78.1/VERSION.xsl
|
||||
|
||||
mkdir -p $settingsDir/etc/xml/catalog
|
||||
|
||||
CATALOG=$settingsDir/etc/xml/catalog/docbook-xsl
|
||||
xmlcatalog --noout --create $CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://docbook.sourceforge.net/release/xsl/1.78.1" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-1.78.1" \
|
||||
$CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://docbook.sourceforge.net/release/xsl/1.78.1" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-1.78.1" \
|
||||
$CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteSystem" \
|
||||
"http://docbook.sourceforge.net/release/xsl/current" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-1.78.1" \
|
||||
$CATALOG
|
||||
|
||||
xmlcatalog --noout --add "rewriteURI" \
|
||||
"http://docbook.sourceforge.net/release/xsl/current" \
|
||||
"$dataDir/xml/docbook/xsl-stylesheets-1.78.1" \
|
||||
$CATALOG
|
||||
}
|
||||
|
||||
GLOBAL_WRITABLE_FILES="settings/etc/xml/catalog/docbook-xsl keep-old"
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
DESCRIPTION="gtk-doc"
|
||||
HOMEPAGE="http://www.gtk.org/gtk-doc/"
|
||||
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.15/gtk-doc-1.15.tar.bz2"
|
||||
CHECKSUM_MD5="c022788b1fbbec30d55df4ccb34eeb90"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="pkgconfig >= 0.23
|
||||
dev-libs/libxslt >= 1.1.26"
|
||||
BUILD()
|
||||
{
|
||||
cd gtk-doc-1.15
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd gtk-doc-1.15
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2
|
||||
GNU FDL v1.1"
|
||||
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"
|
||||
43
dev-util/gtk_doc/gtk_doc-1.20.recipe
Normal file
43
dev-util/gtk_doc/gtk_doc-1.20.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY="Generate documentation from C sources"
|
||||
DESCRIPTION="
|
||||
GTK-Doc is a project which was started to generate API documentation from \
|
||||
comments added to C code. It is typically used to document the public API of \
|
||||
GTK+ and GNOME libraries, but it can also be used to document application code.
|
||||
"
|
||||
HOMEPAGE="http://www.gtk.org/gtk-doc/"
|
||||
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
PROVIDES="
|
||||
gtk_doc = $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
docbook_xml_dtd == 4.3
|
||||
docbook_xsl_stylesheets
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:perl
|
||||
cmd:pkg_config
|
||||
cmd:xsltproc
|
||||
"
|
||||
|
||||
SOURCE_DIR="gtk-doc-$portVersion"
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"
|
||||
Reference in New Issue
Block a user