mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
gtk-doc: bump version (#1262)
This commit is contained in:
committed by
Jérôme Duval
parent
f447645854
commit
dca3e96aa8
94
dev-util/gtk_doc/gtk_doc-1.25.recipe
Normal file
94
dev-util/gtk_doc/gtk_doc-1.25.recipe
Normal file
@@ -0,0 +1,94 @@
|
||||
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/"
|
||||
COPYRIGHT="2002-2010 Damon Chaplin and Owen Taylor"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.gnome.org/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="1ea46ed400e6501f975acaafea31479cea8f32f911dca4dff036f59e6464fd42"
|
||||
SOURCE_DIR="gtk-doc-$portVersion"
|
||||
PATCHES="gtk_doc-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
gtk_doc$secondaryArchSuffix = $portVersion
|
||||
cmd:gtkdoc_check$secondaryArchSuffix
|
||||
cmd:gtkdoc_depscan$secondaryArchSuffix
|
||||
cmd:gtkdoc_fixxref$secondaryArchSuffix
|
||||
cmd:gtkdoc_mkdb$secondaryArchSuffix
|
||||
cmd:gtkdoc_mkhtml$secondaryArchSuffix
|
||||
cmd:gtkdoc_mkman$secondaryArchSuffix
|
||||
cmd:gtkdoc_mkpdf$secondaryArchSuffix
|
||||
cmd:gtkdoc_mktmpl$secondaryArchSuffix
|
||||
cmd:gtkdoc_rebase$secondaryArchSuffix
|
||||
cmd:gtkdoc_scan$secondaryArchSuffix
|
||||
cmd:gtkdoc_scangobj$secondaryArchSuffix
|
||||
cmd:gtkdoc_scanobj$secondaryArchSuffix
|
||||
cmd:gtkdocize$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
docbook_xml_dtd
|
||||
docbook_xsl_stylesheets
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:itstool
|
||||
cmd:make
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:vim
|
||||
cmd:xsltproc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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-highlight=auto --with-xml-catalog=`pwd`/xmlcat --libdir=$developLibDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
35
dev-util/gtk_doc/patches/gtk_doc-1.25.patchset
Normal file
35
dev-util/gtk_doc/patches/gtk_doc-1.25.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From d5275c793b894a9bbe042ee325283bb81d721c17 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Thu, 30 Mar 2017 22:05:17 +0200
|
||||
Subject: fix pkg-config path for gtk-doc so the Haiku system finds it
|
||||
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 3fe249d..e2ca722 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -43,7 +43,7 @@ gtkdocdata_DATA = \
|
||||
style/up-insensitive.png \
|
||||
style/style.css
|
||||
|
||||
-pkgconfigdir = $(datadir)/pkgconfig
|
||||
+pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = gtk-doc.pc
|
||||
|
||||
aclocaldir = $(datadir)/aclocal
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 4eb8d5e..3174b39 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -426,7 +426,7 @@ gtkdocdata_DATA = \
|
||||
style/up-insensitive.png \
|
||||
style/style.css
|
||||
|
||||
-pkgconfigdir = $(datadir)/pkgconfig
|
||||
+pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = gtk-doc.pc
|
||||
aclocaldir = $(datadir)/aclocal
|
||||
aclocal_DATA = gtk-doc.m4
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user