Changeset - 927c558864c7
[Not reviewed]
app-text/docbook2X/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for app-text/docbook2X
 
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/ChangeLog,v 1.38 2010/07/18 16:46:46 armin76 Exp $
 

	
 
  18 Jul 2010; Raúl Porcel <armin76@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  alpha/arm/ia64/s390/sh/sparc stable wrt #321899
 

	
 
  09 Jun 2010; Patrick Lauer <patrick@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  Fixing automake dep for #318297
 

	
 
  02 Jan 2010; Brent Baude <ranger@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  Marking docbook2X-0.8.8-r2 ppc64 for bug 290161
 

	
 
  02 Dec 2009; Raúl Porcel <armin76@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  Add ~s390/~sh
 

	
 
  18 Nov 2009; Raúl Porcel <armin76@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  Add ~ia64 wrt #290161
 

	
 
  17 Nov 2009; Robin H. Johnson <robbat2@gentoo.org>
 
  docbook2X-0.8.7-r1.ebuild, docbook2X-0.8.8-r2.ebuild:
 
  Make repoman happy and keyword for ~arm as it compiles there.
 

	
 
  08 Nov 2009; Tobias Klausmann <klausman@gentoo.org>
 
  docbook2X-0.8.8-r2.ebuild:
 
  Keyworded on alpha, bug #290161
 

	
 
  06 Nov 2009; Harald van Dijk <truedfx@gentoo.org>
 
  docbook2X-0.8.8-r2.ebuild:
 
  Regenerate configure script to get rid of an already fixed autoconf bug
 
  (#290284)
 

	
 
  17 Sep 2008; Jeroen Roovers <jer@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  Stable for HPPA (bug #222041).
 

	
 
  17 Jul 2008; Alexis Ballier <aballier@gentoo.org>
 
  docbook2X-0.8.8-r2.ebuild:
 
  keyword ~x86-fbsd
 

	
 
  29 Jun 2008; Raúl Porcel <armin76@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  sparc stable wrt #222041
 

	
 
  26 Jun 2008; nixnut <nixnut@gentoo.org> docbook2X-0.8.8-r2.ebuild:
 
  Stable on ppc wrt bug 222041
 

	
 
  25 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
 
  docbook2X-0.8.8-r2.ebuild:
 
  stable x86, bug 222041
 

	
 
  25 Jun 2008; Santiago M. Mola <coldwind@gentoo.org>
 
  docbook2X-0.8.8-r2.ebuild:
 
  amd64 stable wrt bug #222041
 

	
 
*docbook2X-0.8.8-r2 (22 May 2008)
 

	
 
  22 May 2008; Peter Volkov <pva@gentoo.org>
 
  +files/docbook2X-0.8.8-error_on_missing_refentry.patch,
 
  +files/docbook2X-0.8.8-filename_whitespace_handling.patch,
 
  +files/docbook2X-0.8.8-preprocessor_declaration_syntax.patch,
 
  +docbook2X-0.8.8-r2.ebuild:
 
  Some patches from debian (read patches for description). Updated deps: 1.
 
  they required at build time too, 2. fixed bug #223071, thank Mike Weissman
 
  for report and hint to fix.
 

	
 
*docbook2X-0.8.8-r1 (09 Apr 2008)
 

	
 
  09 Apr 2008; Peter Volkov <pva@gentoo.org> +docbook2X-0.8.8-r1.ebuild:
 
  Fixed breakage due to binaries renaming, bug #205703, thank Thomas S.
 
  Howard and Vaclav Slavik.
 

	
 
  22 Aug 2007; Andrej Kacian <ticho@gentoo.org> docbook2X-0.8.7-r1.ebuild,
 
  docbook2X-0.8.8.ebuild:
 
  Added missing dependency on dev-perl/XML-SAX, bug #189862, fix pushed by
 
  Philip Kovacs <kovacsp3@comcast.net>.
 

	
 
*docbook2X-0.8.8 (21 Aug 2007)
 

	
 
  21 Aug 2007; Leonardo Boshell <leonardop@gentoo.org>
 
  +docbook2X-0.8.8.ebuild:
 
  Version bump (bug #188501). Fixed LICENSE. Install a few standard files
 
  with dodoc. Moved elog calls to pkg_postinst().
 

	
 
  21 Aug 2007; Leonardo Boshell <leonardop@gentoo.org> metadata.xml:
 
  Set 'sgml' herd as maintainer.
 

	
 
  14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
 
  add <herd>no-herd</herd>
 

	
 
*docbook2X-0.8.7-r1 (11 Apr 2007)
 

	
 
  11 Apr 2007; Robin H. Johnson <robbat2@gentoo.org>
 
  +docbook2X-0.8.7-r1.ebuild:
 
  Bug #166127, fix the collision with docbook-sgml-utils, patch from Alec
 
  Warner <antarus@gentoo.org>. Also re-add missing ~amd64 and ~hppa keywords
 
  that were dropped.
 

	
 
  28 Jan 2007; Marius Mauch <genone@gentoo.org> docbook2X-0.6.1-r2.ebuild:
 
  Replacing einfo with elog
 

	
 
*docbook2X-0.8.7 (17 Jan 2007)
 

	
 
  17 Jan 2007; Alec Warner <antarus@gentoo.org> +docbook2X-0.8.7.ebuild:
 
  bumpmaster 9000, bug 103281
 

	
 
  06 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -docbook2X-0.6.1.ebuild,
 
  -docbook2X-0.6.1-r1.ebuild:
 
  QA: Removed unused versions.
 

	
 
  30 Jul 2006; Rene Nussbaumer <killerfox@gentoo.org>
 
  docbook2X-0.6.1-r2.ebuild:
 
  Stable on hppa.
 

	
 
  18 Jun 2006; Rene Nussbaumer <killerfox@gentoo.org>
 
  docbook2X-0.6.1-r2.ebuild:
 
  Unstable on hppa.
 

	
 
*docbook2X-0.6.1-r2 (03 Jan 2003)
 

	
 
  7 Jul 2003; Yannick Koehler <ykoehler@gentoo.org> :
 
  Perl site arch installation directory now obtained dynamically.
 
  This resolve bug 16969.  Thanks to Michael Cummings.
 

	
 
*docbook2X-0.6.1-r2 (03 Jan 2003)
 

	
 
  7 Jul 2003; Yannick Koehler <ykoehler@gentoo.org> :
 
  Perl site arch installation directory now obtained dynamically.
 
  This resolve bug 16969.  Thanks to Michael Cummings.
 

	
 
*docbook2X-0.6.1-r1 (03 Jan 2003)
 

	
 
  31 Jan 2003; Yannick Koehler <ykoehler@gentoo.org> :
 
  Corrected syntax error in package description.
 

	
 
  03 Jan 2003; Matthew Turk <satai@gentoo.org> :
 
  changed to install everything as ${exe}.pl, to thus avoid the conflicts
 
  between this package and docbook-sgml-utils, as this one is much less widely
 
  used.
 

	
 
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
 

	
 
*docbook2X-0.6.1 (1 Feb 2002)
 

	
 
  31 Jan 2003; Yannick Koehler <ykoehler@gentoo.org> :
 
  Corrected syntax error in package description.
 

	
 
  19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> docbook2X-0.6.1.ebuild :
 
  Updated to mirror://sourceforge in SRC_URI.
 

	
 
  13 Aug 2002; pvdabeel <pvdabeel@gentoo.org> docbook2X-0.6.1.ebuild :
 

	
 
  Added ppc keyword
 

	
 
  2 Aug 2002; phoen][x <phoenix@gentoo.org> docbook2X-0.6.1.ebuild :
 
  Added LICENSE, KEYWORDS, SLOT.
 

	
 
  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
 

	
 
  Added initial ChangeLog which should be updated whenever the package is
 
  updated in any way. This changelog is targetted to users. This means that the
 
  comments should well explained and written in clean English. The details about
 
  writing correct changelogs are explained in the skel.ChangeLog file which you
 
  can find in the root directory of the portage repository.
app-text/docbook2X/Manifest
Show inline comments
 
new file 100644
 
AUX docbook2X-0.8.8-error_on_missing_refentry.patch 1247 RMD160 b8994d28b83b62a3880291e4bc22a13166653754 SHA1 0802e9a73aa4fd146c5394f5cd200c7e452de18e SHA256 273eaa08cfff75bb5fab4975761d1e427e4180d82700da396901a59ed0546c0d
 
AUX docbook2X-0.8.8-filename_whitespace_handling.patch 2080 RMD160 18965f6a35d2604e85558b188ae74ae3028113bf SHA1 db6411e5ee48b83c1d9a2fed296020c4f00e17d3 SHA256 ac5755da0dbdd67e7131284e865d86df24a56ac26cfbcdcdbe561926a54999fd
 
AUX docbook2X-0.8.8-preprocessor_declaration_syntax.patch 3358 RMD160 9d65c7e6cf48b0a99c7cb12e5ba2bfb48ebbf573 SHA1 eda3c5d507cd21c1f564110111c5f7a6c26c6fab SHA256 0f571f0e9576ef09a07c46da76723cd3f83085ccf8daf25dee15b9921455112a
 
DIST docbook2X-0.6.1.tar.gz 231262 RMD160 78b7f0cff04093a2c35371803d34c5c32c7eb8a9 SHA1 df1c70b3fa531c97fe406bea06eb3b5da05d4d1c SHA256 fb162799d29a86e2d7b506b87edd9b88eb6b126ed4b9648ac658fcdd0ebe058f
 
DIST docbook2X-0.8.7.tar.gz 656814 RMD160 89b40ffe563def5416139315e46e63b4f13d2307 SHA1 14aa84bc28080a74f9c47126dc21a9982a6cf7c0 SHA256 562c143f64091b7e537042a6dce582d98bd4120b08a500ded3f78815c334e5f4
 
DIST docbook2X-0.8.8.tar.gz 723909 RMD160 35c8dcbe86e91e787a67b1d17251bf00fed9aabf SHA1 7dc34d420f8aae2a0c0cdb39f52146ce005bf902 SHA256 4077757d367a9d1b1427e8d5dfc3c49d993e90deabc6df23d05cfe9cd2fcdc45
 
EBUILD docbook2X-0.6.1-r2.ebuild 1493 RMD160 9b71d505117606242cfbbbe9b1c127a9d6d9565c SHA1 0da44b91ee4c2891ef982cb9d9d09569ea37f4b6 SHA256 0046e0cf067e085addeaec0ff0e3617b9c70542870baa09a412f0b9ee9535359
 
EBUILD docbook2X-0.8.7-r1.ebuild 938 RMD160 719bbeb2fddde84764e532f597a91aa03a15b4cb SHA1 2d061cdfe0a924231edaa86f1ae7da42b944d02f SHA256 87138d6ef7e650e05a489a7815ed59a7a9838188f9df2ec6b628f0a0843e59f6
 
EBUILD docbook2X-0.8.8-r1.ebuild 1032 RMD160 616b540f10794e7f4680e18886cce8dbd2718940 SHA1 6d64debc6b3107d887f68de29fd869c82ceb5bfd SHA256 04587c87194ca5f409296f43cbe20fb55fe5b5f6b52880cce3b4ecb385454d1d
 
EBUILD docbook2X-0.8.8-r2.ebuild 1608 RMD160 9b6fd376fb7eee27aa67feb69198d7916fb851fa SHA1 c917df811440293364ae57b9f64929001beebe6f SHA256 277c3a8bfff7da26d797c3cc3c0e3eb9f66f7d64d217200c579390801f65ac85
 
EBUILD docbook2X-0.8.8.ebuild 1001 RMD160 7342631b1240fa4b8322aaa9bd00b92288cdffc6 SHA1 32de09cdd287df655697aaec6cd1bd0eaf67b0a3 SHA256 2cdf239aefe30673c829ae66b0ee1afd05d9e3e38fe558db8ff8f8a9d268055c
 
MISC ChangeLog 5817 RMD160 eb23f8a23eec6619c31986fb5329f65e0f94ac23 SHA1 b150d2699ca3d5c73d4a1925a0804be21d991255 SHA256 758acb0fb3dcbe7d2e85f9f39754ff6f576558b87e25a2407924eedb51665f73
 
MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3
app-text/docbook2X/docbook2X-0.6.1-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.6.1-r2.ebuild,v 1.10 2007/01/28 05:42:06 genone Exp $
 

	
 
S=${WORKDIR}/${PN}
 
DESCRIPTION="Tools to convert docbook to man and info"
 
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
 
HOMEPAGE="http://docbook2x.sourceforge.net"
 

	
 
SLOT="0"
 
KEYWORDS="amd64 hppa ppc sparc x86"
 
IUSE=""
 
LICENSE="GPL-2"
 

	
 
DEPEND=""
 

	
 
RDEPEND=">=dev-perl/XML-Writer-0.4
 
	>=dev-perl/XML-XSLT-0.31
 
	>=dev-perl/SGMLSpm-1.03"
 
	#>=dev-libs/libxslt-0.5.0"
 

	
 
src_install () {
 

	
 
	# Get current install Perl site arch directory.
 
	eval `perl '-V:installsitearch'`
 
	SITE_ARCH=${installsitearch}
 

	
 
	insinto ${SITE_ARCH}/XML/DOM
 
	doins XML/DOM/Map.pm
 
	insinto ${SITE_ARCH}/XML
 
	doins XML/SGMLSpl.pm
 
	insinto /usr/share/sgml/docbook/db2X-customization/common
 
	doins xslt/common/*
 
	insinto /usr/share/sgml/docbook/db2X-customization/lib
 
	doins xslt/lib/*
 
	insinto /usr/share/sgml/docbook/db2X-customization/texi
 
	doins xslt/texi/*
 
	insinto /usr/share/sgml/docbook/db2X-customization/dtd
 
	doins dtd/Texi-XML
 
	exeinto /usr/bin
 
	for exe in docbook2man docbook2manxml docbook2texi docbook2texixml texi_xml man_xml
 
	do
 
		mv ${exe} ${exe}.pl
 
		doexe ${exe}.pl
 
	done
 
	doexe docbook2man-spec.pl docbook2texi-spec.pl manpage_makelinks.pl
 
	elog "To avoid conflict with docbook-sgml-utils, which is much more widely used,"
 
	elog "all executables have been renamed to *.pl."
 
}
app-text/docbook2X/docbook2X-0.8.7-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.7-r1.ebuild,v 1.3 2009/11/17 21:40:15 robbat2 Exp $
 

	
 
DESCRIPTION="Tools to convert docbook to man and info"
 
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
 
HOMEPAGE="http://docbook2x.sourceforge.net"
 

	
 
SLOT="0"
 
KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~hppa"
 
IUSE=""
 
LICENSE="GPL-2"
 

	
 
DEPEND=""
 

	
 
RDEPEND=">=dev-perl/XML-Writer-0.4
 
	>=dev-perl/XML-XSLT-0.31
 
	>=dev-perl/SGMLSpm-1.03
 
	dev-perl/XML-SAX
 
	dev-libs/libxslt"
 

	
 
src_compile () {
 
	econf \
 
		--with-xslt-processor=libxslt \
 
		--program-suffix=.pl \
 
		|| die "econf failed"
 
	emake || die "emake failed"
 
}
 

	
 
src_install () {
 
	make DESTDIR="${D}" install || die "install failed"
 
	elog "To avoid conflict with docbook-sgml-utils, which is much more widely used,"
 
	elog "all executables have been renamed to *.pl."
 
}
app-text/docbook2X/docbook2X-0.8.8-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2008 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r1.ebuild,v 1.1 2008/04/09 09:27:21 pva Exp $
 

	
 
DESCRIPTION="Tools to convert docbook to man and info"
 
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
 
HOMEPAGE="http://docbook2x.sourceforge.net/"
 

	
 
SLOT="0"
 
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
 
IUSE=""
 
LICENSE="MIT"
 

	
 
DEPEND=""
 

	
 
RDEPEND=">=dev-perl/XML-Writer-0.4
 
	>=dev-perl/XML-XSLT-0.31
 
	>=dev-perl/SGMLSpm-1.03
 
	dev-perl/XML-SAX
 
	dev-libs/libxslt"
 

	
 
src_compile() {
 
	econf \
 
		--with-xslt-processor=libxslt \
 
		--program-transform-name='s,\(docbook2.*\),\1.pl,' \
 
		|| die "econf failed"
 

	
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	make "DESTDIR=${D}" install || die "install failed"
 

	
 
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
 
}
 

	
 
pkg_postinst() {
 
	elog "To avoid conflict with docbook-sgml-utils, which is much more widely used,"
 
	elog "all executables have been renamed to *.pl."
 
}
app-text/docbook2X/docbook2X-0.8.8-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2010 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8-r2.ebuild,v 1.15 2010/07/18 16:46:46 armin76 Exp $
 

	
 
# bug 318297
 
WANT_AUTOMAKE="1.10"
 

	
 
inherit autotools eutils
 

	
 
DESCRIPTION="Tools to convert docbook to man and info"
 
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
 
HOMEPAGE="http://docbook2x.sourceforge.net/"
 

	
 
SLOT="0"
 
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
 
IUSE="test"
 
LICENSE="MIT"
 

	
 
# dev-perl/XML-LibXML - although not mentioned upstream is required
 
# for make check to complete.
 
DEPEND="dev-lang/perl
 
	dev-libs/libxslt
 
	dev-perl/XML-NamespaceSupport
 
	dev-perl/XML-SAX
 
	dev-perl/XML-LibXML
 
	app-text/docbook-xsl-stylesheets
 
	=app-text/docbook-xml-dtd-4.2*"
 

	
 
RDEPEND="${DEPEND}"
 

	
 
src_unpack() {
 
	unpack ${A}
 
	cd "${S}"
 

	
 
	# Patches from debian, for description see patches itself.
 
	epatch "${FILESDIR}"/${P}-filename_whitespace_handling.patch
 
	epatch "${FILESDIR}"/${P}-preprocessor_declaration_syntax.patch
 
	epatch "${FILESDIR}"/${P}-error_on_missing_refentry.patch
 

	
 
	eautoreconf #290284
 
}
 

	
 
src_compile() {
 
	econf \
 
		--with-xslt-processor=libxslt \
 
		--program-transform-name='s,\(docbook2.*\),\1.pl,' \
 
		|| die "econf failed"
 

	
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	make DESTDIR="${D}" install || die "install failed"
 
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
 
}
 

	
 
pkg_postinst() {
 
	elog "To avoid conflict with docbook-sgml-utils, which is much more widely used,"
 
	elog "all executables have been renamed to *.pl."
 
}
app-text/docbook2X/docbook2X-0.8.8.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2007 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/app-text/docbook2X/docbook2X-0.8.8.ebuild,v 1.3 2007/08/22 18:39:37 ticho Exp $
 

	
 
DESCRIPTION="Tools to convert docbook to man and info"
 
SRC_URI="mirror://sourceforge/docbook2x/${P}.tar.gz"
 
HOMEPAGE="http://docbook2x.sourceforge.net/"
 

	
 
SLOT="0"
 
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
 
IUSE=""
 
LICENSE="MIT"
 

	
 
DEPEND=""
 

	
 
RDEPEND=">=dev-perl/XML-Writer-0.4
 
	>=dev-perl/XML-XSLT-0.31
 
	>=dev-perl/SGMLSpm-1.03
 
	dev-perl/XML-SAX
 
	dev-libs/libxslt"
 

	
 
src_compile() {
 
	econf \
 
		--with-xslt-processor=libxslt \
 
		--program-suffix=.pl \
 
		|| die "econf failed"
 

	
 
	emake || die "emake failed"
 
}
 

	
 
src_install() {
 
	make "DESTDIR=${D}" install || die "install failed"
 

	
 
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
 
}
 

	
 
pkg_postinst() {
 
	elog "To avoid conflict with docbook-sgml-utils, which is much more widely used,"
 
	elog "all executables have been renamed to *.pl."
 
}
app-text/docbook2X/files/docbook2X-0.8.8-error_on_missing_refentry.patch
Show inline comments
 
new file 100644
 
#! /bin/sh /usr/share/dpatch/dpatch-run
 
## 05_fix_439214_error_on_missing_refentry.dpatch by Daniel Leidert <daniel.leidert@wgdd.de>
 
##
 
## All lines beginning with `## DP:' are a description of the patch.
 
## DP: If there is no refentry element, the manpage stylesheets silently
 
## DP:   "ignores" this. It has been requested to print at least a
 
## DP:   warning.
 
## DP:
 
## DP: <URL:http://bugs.debian.org/439214>
 
## DP: <URL:http://lists.gnu.org/archive/html/groff/2007-11/msg00023.html>
 

	
 
@DPATCH@
 
diff -urNad trunk~/xslt/man/docbook.xsl trunk/xslt/man/docbook.xsl
 
--- trunk~/xslt/man/docbook.xsl	2006-04-11 21:00:19.000000000 +0200
 
+++ trunk/xslt/man/docbook.xsl	2008-02-05 03:31:48.000000000 +0100
 
@@ -111,11 +111,15 @@
 
     <xsl:when test="child::refentry">
 
       <xsl:apply-templates />
 
     </xsl:when>
 
-
 
-    <xsl:otherwise>
 
+    <xsl:when test="descendant-or-self::refentry">
 
       <manpageset>
 
         <xsl:apply-templates select="descendant-or-self::refentry" />
 
       </manpageset>
 
+    </xsl:when>
 
+    <xsl:otherwise>
 
+      <xsl:message terminate="no">
 
+        <xsl:text>WARNING: Sorry, but I cannot find a refentry element in your source!</xsl:text>
 
+      </xsl:message>
 
     </xsl:otherwise>
 
   </xsl:choose>
 
 </xsl:template>
app-text/docbook2X/files/docbook2X-0.8.8-filename_whitespace_handling.patch
Show inline comments
 
new file 100644
 
#! /bin/sh /usr/share/dpatch/dpatch-run
 
## 03_fix_420153_filename_whitespace_handling.dpatch by
 
##     Daniel Leidert (dale) <daniel.leidert@wgdd.de>
 
##
 
## All lines beginning with `## DP:' are a description of the patch.
 
## DP: Peter Eisentraut reported a regression in the whitespace handling of
 
## DP: refentrytitle content during filename creation:
 
## DP: http://bugs.debian.org/420153. The problem is, that upstream first
 
## DP: replaces all spaces (but not linebreaks btw) with underlines and then
 
## DP: it tries to normalize the result. This means, that a linebreak with
 
## DP: additional whitespaces results in manpage names like 'foo_ ____bar.9'.
 
## DP: So what we basically do in this patch is, that we first normalize the
 
## DP: refentrytitle and then replace any spaces left with underlines.
 

	
 
@DPATCH@
 
diff -urNad docbook2x-0.8.8~/xslt/man/manpage.xsl docbook2x-0.8.8/xslt/man/manpage.xsl
 
--- docbook2x-0.8.8~/xslt/man/manpage.xsl	2006-04-20 15:45:55.000000000 +0200
 
+++ docbook2x-0.8.8/xslt/man/manpage.xsl	2007-04-20 16:19:28.000000000 +0200
 
@@ -30,7 +30,7 @@
 
 
 
 <xsl:template name="manpage-filename">
 
   <xsl:param name="filename" />
 
-  <xsl:value-of select="normalize-space(translate($filename, &quot; /&quot;, &quot;__&quot;))" />
 
+  <xsl:value-of select="translate(normalize-space($filename), ' /', '__')" />
 
 </xsl:template>
 
 
 
 
 
diff -urNad docbook2x-0.8.8~/xslt/man/refentry.xsl docbook2x-0.8.8/xslt/man/refentry.xsl
 
--- docbook2x-0.8.8~/xslt/man/refentry.xsl	2006-04-21 04:39:55.000000000 +0200
 
+++ docbook2x-0.8.8/xslt/man/refentry.xsl	2007-04-20 16:21:53.000000000 +0200
 
@@ -38,7 +38,11 @@
 
 <xsl:template name="refentry-filename">
 
   <xsl:param name="title" />
 
 
 
-  <xsl:variable name="title2" select="translate($title, &quot; /&quot;, &quot;__&quot;)" />
 
+  <xsl:variable name="title2">
 
+    <xsl:call-template name="manpage-filename">
 
+      <xsl:with-param name="filename" select="$title" />
 
+    </xsl:call-template>
 
+  </xsl:variable>
 
 
 
   <!-- not using gentext here since man page names tend not to have
 
        accented chars / non-Latin chars ...
app-text/docbook2X/files/docbook2X-0.8.8-preprocessor_declaration_syntax.patch
Show inline comments
 
new file 100644
 
#! /bin/sh /usr/share/dpatch/dpatch-run
 
## 04_fix_442782_preprocessor_declaration_syntax.dpatch by Colin Watson <cjwatson@debian.org>.
 
##
 
## All lines beginning with `## DP:' are a description of the patch.
 
## DP: Conventionally, preprocessor declarations should start with
 
## DP:       '\"
 
## DP:   rather than
 
## DP:       .\"
 
## DP:   Current man-db only supports the first (and recommended) syntax. So
 
## DP:   Colin Watson provided this patch to fix docbook2x.
 
## DP:
 
## DP: <URL:http://bugs.debian.org/442782>
 
## DP: <URL:http://lists.gnu.org/archive/html/groff/2007-11/msg00023.html>
 

	
 
@DPATCH@
 
diff -urNad trunk~/perl/db2x_manxml.pl trunk/perl/db2x_manxml.pl
 
--- trunk~/perl/db2x_manxml.pl	2006-04-22 17:21:32.000000000 +0200
 
+++ trunk/perl/db2x_manxml.pl	2007-11-24 01:27:37.000000000 +0100
 
@@ -342,6 +342,25 @@
 
     $self->{line_start} = 1;
 
 }
 
 
 
+#
 
+# Print a comment in the output, without causing a break.
 
+# Params: comment - the comment text.  
 
+#                   May use any characters; they need not be escaped.
 
+#
 
+sub comment_nobreak
 
+{
 
+    my ($self, $comment) = @_;
 
+    $self->write("\n") unless $self->{line_start};
 
+
 
+    foreach my $line (split(/\n/, $comment)) {
 
+        $self->write('\'\" ');
 
+        $self->write($line);
 
+        $self->write("\n");
 
+    }
 
+
 
+    $self->{line_start} = 1;
 
+}
 
+
 
 
 
 #
 
 # Use a roff "escape" i.e. commands embedded in text starting with \
 
@@ -510,16 +529,20 @@
 
 
 
     $self->{'adjust-stack'} = [ 'b' ];
 
 
 
-    $self->{rw}->comment($elem->attr('preprocessors'))
 
-        if($elem->attr('preprocessors') ne '');
 
-
 
+    my $preprocessors = $elem->attr('preprocessors');
 
     # I've dug through the Internet to see if there was any
 
     # standard way to specify encoding with man pages.
 
     # The following seems to be a reasonable proposal:
 
     # <URL:http://mail.nl.linux.org/linux-utf8/2001-04/msg00168.html>
 
     my $encoding = $self->{options}->{'encoding'};
 
     $encoding =~ s#//TRANSLIT$##i;
 
-    $self->{rw}->comment("-*- coding: $encoding -*-");
 
+    $encoding = "-*- coding: $encoding -*-";
 
+    if ($preprocessors eq '') {
 
+        $preprocessors = $encoding;
 
+    } else {
 
+        $preprocessors = "$preprocessors $encoding";
 
+    }
 
+    $self->{rw}->comment_nobreak($preprocessors);
 
     
 
     # Define escapes for switching to and from monospace fonts (groff only)
 
     $self->{rw}->request(qw{ .if \n(.g .ds T< \\\\FC});
 
diff -urNad trunk~/xslt/backend/db2x_manxml.xsl trunk/xslt/backend/db2x_manxml.xsl
 
--- trunk~/xslt/backend/db2x_manxml.xsl	2006-04-23 16:44:52.000000000 +0200
 
+++ trunk/xslt/backend/db2x_manxml.xsl	2007-11-24 01:27:37.000000000 +0100
 
@@ -528,7 +528,7 @@
 
       <exslt:document method="text" 
 
                       encoding="{$encoding}" 
 
                       href="{$path}">
 
-        <xsl:text>.\" -*- coding: </xsl:text>
 
+        <xsl:text>'\" -*- coding: </xsl:text>
 
         <xsl:value-of select="$encoding" />
 
         <xsl:text> -*-&#10;</xsl:text>
 
         <xsl:copy-of select="$content" />
 
@@ -538,7 +538,7 @@
 
       <saxon:output method="text" 
 
                     encoding="{$encoding}" 
 
                     href="{$path}">
 
-        <xsl:text>.\" -*- coding: </xsl:text>
 
+        <xsl:text>'\" -*- coding: </xsl:text>
 
         <xsl:value-of select="$encoding" />
 
         <xsl:text> -*-&#10;</xsl:text>
 
         <xsl:copy-of select="$content" />
app-text/docbook2X/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
  <herd>sgml</herd>
 
</pkgmetadata>
0 comments (0 inline, 0 general)