Date: Tue, 04 May 2004 11:16:20 +0100 From: Brian Candler <B.Candler@pobox.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/66246: new ports: textproc/docbook-utils, textproc/p5-SGMLSpm Message-ID: <E1BKwyK-0006vl-RD@billdog.local.linnet.org> Resent-Message-ID: <200405041020.i44AKPUD043829@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66246 >Category: ports >Synopsis: new ports: textproc/docbook-utils, textproc/p5-SGMLSpm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue May 04 03:20:24 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD billdog.local.linnet.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Tue Mar 30 11:09:14 BST 2004 root@playdog.local.linnet.org:/usr/src/sys/i386/compile/PLAYDOG i386 >Description: I have written ports for "docbook-utils" and the Perl module it depends on, "p5-SGMLSpl". You can find them at http://www.linnet.org/ports/docbook-utils.tgz http://www.linnet.org/ports/p5-SGMLSpm.tgz This is my first attempt at contributing to FreeBSD ports; I'd be grateful if someone would check through what I've done before committing. "docbook-utils" is the package bundled with most Linux distributions for processing docbook sources. It includes scripts such as docbook2html and docbook2man. There is a particular reason why I want to see it in the ports collection: I've been in contact with the author of sgmltools-lite and he says that he is not maintaining this package, and therefore he will not be releasing any new version after 3.0.3 (this was when I sent in a patch to try and fix a problem with it not using /usr/local/share/sgml/catalog properly). In that case, it really seems to make sense to use what most other people are using. >How-To-Repeat: Here's the patch I tried to get incorporated into sgmltools-lite: --- utils.py.orig Mon Apr 26 13:15:15 2004 +++ utils.py Mon Apr 26 13:22:29 2004 @@ -247,7 +247,11 @@ # mo = re.compile(r'CATALOG\s*"([^"]+)"').match(line) if mo != None: - retval = _searchInCat(mo.group(1), id, section) + subfile = mo.group(1) + if subfile[0] != '/' and curcat[0] == '/': + curdir = re.compile(r'/[^/]+$').sub('/',curcat) + subfile = curdir+subfile + retval = _searchInCat(subfile, id, section) if retval != None: return retval; and here's the response I got: Hi Brian, SGMLtools is not being maintained anymore, at least not by me. So I cannot use your patch to create a new release. Regards, Cees >Fix: See URLs above. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BKwyK-0006vl-RD>