gtk-doc: bump version.

* remove old recipe.
This commit is contained in:
Jerome Duval
2017-09-28 21:25:17 +02:00
parent d75e4fc409
commit dcc47518eb
3 changed files with 2 additions and 204 deletions

View File

@@ -1,78 +0,0 @@
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/"
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz"
CHECKSUM_SHA256="3e6ecf134dbf92a74c24d79848fea3a48e59ab95408a38c6405905d95a293011"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
gtk_doc = $portVersion
cmd:gtkdoc_check
cmd:gtkdoc_depscan
cmd:gtkdoc_fixxref
cmd:gtkdoc_mkdb
cmd:gtkdoc_mkhtml
cmd:gtkdoc_mkman
cmd:gtkdoc_mkpdf
cmd:gtkdoc_mktmpl
cmd:gtkdoc_rebase
cmd:gtkdoc_scan
cmd:gtkdoc_scangobj
cmd:gtkdoc_scanobj
cmd:gtkdocize
"
BUILD_REQUIRES="
docbook_xml_dtd
docbook_xsl_stylesheets
"
BUILD_PREREQUIRES="
haiku_devel
cmd:autoconf
cmd:awk
cmd:gcc
cmd:itstool
cmd:make
cmd:msgfmt
cmd:perl
cmd:pkg_config
cmd:python
cmd:xsltproc
"
SOURCE_DIR="gtk-doc-$portVersion"
BUILD()
{
# Generate an XML catalog that includes both the Docbook-XML and Docbook-XSL
# ones. Linux distros populate a global catalog file using post-install
# scripts in the docbook packages, but we don't have that yet.
echo "<!DOCTYPE catalog
PUBLIC \"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN\"
\"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd\">
<catalog xmlns=\"urn:oasis:names:tc:entity:xmlns:xml:catalog\"
prefer=\"public\">
" > xmlcat
for i in /system/data/xml/catalog/*
do
echo " <nextCatalog catalog=\"file://$i\"/>" >> xmlcat
done
echo "</catalog>" >> xmlcat
runConfigure ./configure --with-xml-catalog=`pwd`/xmlcat
make $jobArgs
}
INSTALL()
{
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"

View File

@@ -6,9 +6,9 @@ be used to document application code."
HOMEPAGE="http://www.gtk.org/gtk-doc/"
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://download.gnome.org/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz"
CHECKSUM_SHA256="1ea46ed400e6501f975acaafea31479cea8f32f911dca4dff036f59e6464fd42"
CHECKSUM_SHA256="bff3f44467b1d39775e94fad545f050faa7e8d68dc6a31aef5024ba3c2d7f2b7"
SOURCE_DIR="gtk-doc-$portVersion"
ARCHITECTURES="any"

View File

@@ -1,124 +0,0 @@
diff -Naur gtk-doc-1.15/configure gtk-doc-1.15-haiku/configure
--- gtk-doc-1.15/configure 2010-05-21 05:10:43.057671680 -0300
+++ gtk-doc-1.15-haiku/configure 2010-09-03 22:31:41.759431168 -0300
@@ -12900,120 +12900,6 @@
fi
- # check for the presence of the XML catalog
-
-# Check whether --with-xml-catalog was given.
-if test "${with_xml_catalog+set}" = set; then
- withval=$with_xml_catalog;
-else
- with_xml_catalog=/etc/xml/catalog
-fi
-
- jh_found_xmlcatalog=true
- XML_CATALOG_FILE="$with_xml_catalog"
-
- { $as_echo "$as_me:$LINENO: checking for XML catalog ($XML_CATALOG_FILE)" >&5
-$as_echo_n "checking for XML catalog ($XML_CATALOG_FILE)... " >&6; }
- if test -f "$XML_CATALOG_FILE"; then
- { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
- else
- jh_found_xmlcatalog=false
- { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
- fi
-
- # check for the xmlcatalog program
- # Extract the first word of "xmlcatalog", so it can be a program name with args.
-set dummy xmlcatalog; ac_word=$2
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_XMLCATALOG+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- case $XMLCATALOG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_XMLCATALOG="$XMLCATALOG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_XMLCATALOG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_XMLCATALOG" && ac_cv_path_XMLCATALOG="no"
- ;;
-esac
-fi
-XMLCATALOG=$ac_cv_path_XMLCATALOG
-if test -n "$XMLCATALOG"; then
- { $as_echo "$as_me:$LINENO: result: $XMLCATALOG" >&5
-$as_echo "$XMLCATALOG" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "x$XMLCATALOG" = xno; then
- jh_found_xmlcatalog=false
- fi
-
- if $jh_found_xmlcatalog; then
- :
- else
- :
- fi
-
-
- { $as_echo "$as_me:$LINENO: checking for DocBook XML DTD V4.3 in XML catalog" >&5
-$as_echo_n "checking for DocBook XML DTD V4.3 in XML catalog... " >&6; }
- if $jh_found_xmlcatalog && \
- { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"-//OASIS//DTD DocBook XML V4.3//EN\" >&2") >&5
- ($XMLCATALOG --noout "$XML_CATALOG_FILE" "-//OASIS//DTD DocBook XML V4.3//EN" >&2) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
- else
- { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
- { { $as_echo "$as_me:$LINENO: error: could not find DocBook XML DTD V4.3 in XML catalog" >&5
-$as_echo "$as_me: error: could not find DocBook XML DTD V4.3 in XML catalog" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-
- { $as_echo "$as_me:$LINENO: checking for DocBook XSL Stylesheets in XML catalog" >&5
-$as_echo_n "checking for DocBook XSL Stylesheets in XML catalog... " >&6; }
- if $jh_found_xmlcatalog && \
- { ($as_echo "$as_me:$LINENO: \$XMLCATALOG --noout \"\$XML_CATALOG_FILE\" \"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl\" >&2") >&5
- ($XMLCATALOG --noout "$XML_CATALOG_FILE" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" >&2) 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- { $as_echo "$as_me:$LINENO: result: found" >&5
-$as_echo "found" >&6; }
- else
- { $as_echo "$as_me:$LINENO: result: not found" >&5
-$as_echo "not found" >&6; }
- { { $as_echo "$as_me:$LINENO: error: could not find DocBook XSL Stylesheets in XML catalog" >&5
-$as_echo "$as_me: error: could not find DocBook XSL Stylesheets in XML catalog" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-
HIGHLIGHT_OPTIONS=""
# Extract the first word of "source-highlight", so it can be a program name with args.
set dummy source-highlight; ac_word=$2