summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2004-03-08 11:26:12 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2004-03-08 11:26:12 +0000
commit4fe1790df7647a71dc6e145024edad7ec76fb5af (patch)
tree5a97487bc54dd094db3e6a423640467df43fe7d6 /net-libs/gnet
parentNew version. (Manifest recommit) (diff)
downloadgentoo-2-4fe1790df7647a71dc6e145024edad7ec76fb5af.tar.gz
gentoo-2-4fe1790df7647a71dc6e145024edad7ec76fb5af.tar.bz2
gentoo-2-4fe1790df7647a71dc6e145024edad7ec76fb5af.zip
Patch to correct the doc building process. Closes bug #43942
Diffstat (limited to 'net-libs/gnet')
-rw-r--r--net-libs/gnet/ChangeLog7
-rw-r--r--net-libs/gnet/files/gnet-2.0.5-gtkdoc_fix.patch11
-rw-r--r--net-libs/gnet/gnet-2.0.5.ebuild10
3 files changed, 26 insertions, 2 deletions
diff --git a/net-libs/gnet/ChangeLog b/net-libs/gnet/ChangeLog
index a36a86babb2e..464531056698 100644
--- a/net-libs/gnet/ChangeLog
+++ b/net-libs/gnet/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for net-libs/gnet
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v 1.22 2004/03/07 00:21:44 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v 1.23 2004/03/08 11:26:12 leonardop Exp $
+ 08 Mar 2004; L. Boshell <leonardop@gentoo.org> gnet-2.0.5.ebuild,
+ gnet-2.0.5-gtkdoc_fix.patch:
+ Patch to build the API docs correctly with gtk-doc-1.2. Closes bug
+ #43942.
+
*gnet-2.0.5 (06 Mar 2004)
06 Mar 2004; L. Boshell <leonardop@gentoo.org> gnet-2.0.5.ebuild:
diff --git a/net-libs/gnet/files/gnet-2.0.5-gtkdoc_fix.patch b/net-libs/gnet/files/gnet-2.0.5-gtkdoc_fix.patch
new file mode 100644
index 000000000000..f936de948227
--- /dev/null
+++ b/net-libs/gnet/files/gnet-2.0.5-gtkdoc_fix.patch
@@ -0,0 +1,11 @@
+diff -NurB gnet-2.0.5-orig/doc/Makefile.in gnet-2.0.5/doc/Makefile.in
+--- gnet-2.0.5-orig/doc/Makefile.in 2004-03-08 05:14:20.000000000 -0500
++++ gnet-2.0.5/doc/Makefile.in 2004-03-08 06:00:32.000000000 -0500
+@@ -368,6 +368,7 @@
+
+ @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
+ @ENABLE_GTK_DOC_TRUE@ @echo '*** Building HTML ***'
++@ENABLE_GTK_DOC_TRUE@ sed -i 's:refentry id=".*":refentry id="gnet-pack-sect":' $(srcdir)/xml/pack.xml
+ @ENABLE_GTK_DOC_TRUE@ rm -rf $(srcdir)/html
+ @ENABLE_GTK_DOC_TRUE@ mkdir $(srcdir)/html
+ @ENABLE_GTK_DOC_TRUE@ cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
diff --git a/net-libs/gnet/gnet-2.0.5.ebuild b/net-libs/gnet/gnet-2.0.5.ebuild
index 08505c2b0864..db490f0a3456 100644
--- a/net-libs/gnet/gnet-2.0.5.ebuild
+++ b/net-libs/gnet/gnet-2.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/gnet-2.0.5.ebuild,v 1.1 2004/03/07 00:21:44 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/gnet-2.0.5.ebuild,v 1.2 2004/03/08 11:26:12 leonardop Exp $
inherit gnome2
@@ -19,3 +19,11 @@ DEPEND="${RDEPEND}
G2CONF=" --with-html-dir=${D}/usr/share/gtk-doc/html"
DOCS="AUTHORS BUGS ChangeLog COPYING HACKING NEWS README TODO"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gtkdoc_fix.patch
+}
+