From c9a7bf4b61ae6ea28cc09fc1cb98e6896d3fa364 Mon Sep 17 00:00:00 2001 From: Leonardo Boshell Date: Mon, 29 May 2006 09:36:27 +0000 Subject: Added patch to fix generation of SGML manuals (bug #133825) (Portage version: 2.1_rc3-r1) --- dev-util/gtk-doc/ChangeLog | 8 +- dev-util/gtk-doc/files/digest-gtk-doc-1.6-r1 | 3 + .../gtk-doc/files/gtk-doc-1.6-no_dupe_ids.patch | 330 +++++++++++++++++++++ dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild | 71 +++++ 4 files changed, 411 insertions(+), 1 deletion(-) create mode 100644 dev-util/gtk-doc/files/digest-gtk-doc-1.6-r1 create mode 100644 dev-util/gtk-doc/files/gtk-doc-1.6-no_dupe_ids.patch create mode 100644 dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild (limited to 'dev-util') diff --git a/dev-util/gtk-doc/ChangeLog b/dev-util/gtk-doc/ChangeLog index e488a71204a2..fefb10521c07 100644 --- a/dev-util/gtk-doc/ChangeLog +++ b/dev-util/gtk-doc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/gtk-doc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.63 2006/05/23 01:17:30 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/ChangeLog,v 1.64 2006/05/29 09:36:26 leonardop Exp $ + +*gtk-doc-1.6-r1 (29 May 2006) + + 29 May 2006; Leonardo Boshell + +files/gtk-doc-1.6-no_dupe_ids.patch, +gtk-doc-1.6-r1.ebuild: + Added patch to fix generation of SGML manuals (bug #133825). *gtk-doc-1.6 (23 May 2006) diff --git a/dev-util/gtk-doc/files/digest-gtk-doc-1.6-r1 b/dev-util/gtk-doc/files/digest-gtk-doc-1.6-r1 new file mode 100644 index 000000000000..2922f681e446 --- /dev/null +++ b/dev-util/gtk-doc/files/digest-gtk-doc-1.6-r1 @@ -0,0 +1,3 @@ +MD5 09c7a89efff2e0bbaba02a12bff58dfd gtk-doc-1.6.tar.bz2 177476 +RMD160 f1bb0d5396173ef00d18ee68d7c013a7734e3454 gtk-doc-1.6.tar.bz2 177476 +SHA256 c7f2051ddb46881122cf15f11395f31b94fe3c1690c8dd8148698d069555de08 gtk-doc-1.6.tar.bz2 177476 diff --git a/dev-util/gtk-doc/files/gtk-doc-1.6-no_dupe_ids.patch b/dev-util/gtk-doc/files/gtk-doc-1.6-no_dupe_ids.patch new file mode 100644 index 000000000000..d0fb00378818 --- /dev/null +++ b/dev-util/gtk-doc/files/gtk-doc-1.6-no_dupe_ids.patch @@ -0,0 +1,330 @@ +Index: gtk-doc.xsl +=================================================================== +RCS file: /cvs/gnome/gtk-doc/gtk-doc.xsl,v +retrieving revision 1.23 +diff -u -d -r1.23 gtk-doc.xsl +--- gtk-doc.xsl 9 Dec 2005 09:07:39 -0000 1.23 ++++ gtk-doc.xsl 24 May 2006 23:35:17 -0000 +@@ -170,18 +170,18 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + ++ ++ ++ + + + +Index: gtkdoc-mkdb.in +=================================================================== +RCS file: /cvs/gnome/gtk-doc/gtkdoc-mkdb.in,v +retrieving revision 1.142 +diff -u -d -r1.142 gtkdoc-mkdb.in +--- gtkdoc-mkdb.in 21 May 2006 11:18:22 -0000 1.142 ++++ gtkdoc-mkdb.in 24 May 2006 23:35:19 -0000 +@@ -412,16 +412,16 @@ + + if ($signals_synop ne '') { + $signals_synop = < +-Signals ++ ++Signals + + + ${signals_synop} + + EOF + $signals_desc = < +-Signal Details ++ ++Signal Details + $signals_desc + + EOF +@@ -429,16 +429,16 @@ + + if ($args_synop ne '') { + $args_synop = < +-Properties ++ ++Properties + + + ${args_synop} + + EOF + $args_desc = < +-Property Details ++ ++Property Details + $args_desc + + EOF +@@ -446,16 +446,16 @@ + + if ($child_args_synop ne '') { + $args_synop .= < +-Child Properties ++ ++Child Properties + + + ${child_args_synop} + + EOF + $args_desc .= < +-Child Property Details ++ ++Child Property Details + $child_args_desc + + EOF +@@ -463,16 +463,16 @@ + + if ($style_args_synop ne '') { + $args_synop .= < +-Style Properties ++ ++Style Properties + + + ${style_args_synop} + + EOF + $args_desc .= < +-Style Property Details ++ ++Style Property Details + $style_args_desc + + EOF +@@ -480,8 +480,8 @@ + + if ($hierarchy ne "") { + $hierarchy = < +-Object Hierarchy ++ ++Object Hierarchy + $hierarchy + + EOF +@@ -489,8 +489,8 @@ + + if ($interfaces ne "") { + $interfaces = < +-Implemented Interfaces ++ ++Implemented Interfaces + $interfaces + + EOF +@@ -498,8 +498,8 @@ + + if ($implementations ne "") { + $implementations = < +-Known Implementations ++ ++Known Implementations + $implementations + + EOF +@@ -507,8 +507,8 @@ + + if ($prerequisites ne "") { + $prerequisites = < +-Prerequisites ++ ++Prerequisites + $prerequisites + + EOF +@@ -516,8 +516,8 @@ + + if ($derived ne "") { + $derived = < +-Known Derived Interfaces ++ ++Known Derived Interfaces + $derived + + EOF +@@ -1558,7 +1558,7 @@ + print OUTPUT < + +-$title ++$title + 3 + \U$MODULE\E Library + +@@ -1569,8 +1569,8 @@ + + + $stability +- +-Synopsis ++ ++Synopsis + $object_anchors + + +@@ -1587,13 +1587,13 @@ + $$args_synop + $$signals_synop + +- +-Description ++ ++Description + $long_desc + + +- +-Details ++ ++Details + $$details + + $$args_desc diff --git a/dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild b/dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild new file mode 100644 index 000000000000..6483cc9c90b4 --- /dev/null +++ b/dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gtk-doc/gtk-doc-1.6-r1.ebuild,v 1.1 2006/05/29 09:36:26 leonardop Exp $ + +inherit eutils elisp-common gnome2 + +DESCRIPTION="GTK+ Documentation Generator" +HOMEPAGE="http://www.gtk.org/gtk-doc/" + +LICENSE="GPL-2 FDL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc emacs" + +RDEPEND=">=dev-lang/perl-5.6 + >=app-text/openjade-1.3.1 + dev-libs/libxslt + >=dev-libs/libxml2-2.3.6 + ~app-text/docbook-xml-dtd-4.1.2 + app-text/docbook-xsl-stylesheets + ~app-text/docbook-sgml-dtd-3.0 + >=app-text/docbook-dsssl-stylesheets-1.40 + emacs? ( virtual/emacs )" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.19 + >=app-text/scrollkeeper-0.3.5" + +SITEFILE="60gtk-doc-gentoo.el" + +DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README TODO" + + +src_unpack() { + unpack "${A}" + cd "${S}" + + # Fix building of SGML manuals (bug #133825) and improve navigation header + # of XML manuals. + epatch "${FILESDIR}"/${P}-no_dupe_ids.patch +} + +src_compile() { + gnome2_src_compile + + use emacs && elisp-compile tools/gtk-doc.el +} + +src_install() { + gnome2_src_install + + if use doc; then + docinto doc + dodoc doc/* + docinto examples + dodoc examples/* + fi + + if use emacs; then + elisp-install ${PN} tools/gtk-doc.el* + elisp-site-file-install ${FILESDIR}/${SITEFILE} + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3-65-gdbad