From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 6 18:10:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A804A1065769 for ; Mon, 6 Apr 2009 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7FEDF8FC17 for ; Mon, 6 Apr 2009 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n36IA30Z033393 for ; Mon, 6 Apr 2009 18:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n36IA3na033391; Mon, 6 Apr 2009 18:10:03 GMT (envelope-from gnats) Resent-Date: Mon, 6 Apr 2009 18:10:03 GMT Resent-Message-Id: <200904061810.n36IA3na033391@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Peter Schuller Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 035C010656D3 for ; Mon, 6 Apr 2009 18:05:35 +0000 (UTC) (envelope-from root@prometheus.scode.org) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id 989B58FC17 for ; Mon, 6 Apr 2009 18:05:30 +0000 (UTC) (envelope-from root@prometheus.scode.org) Received: from ironport2.bredband.com (195.54.101.122) by proxy2.bredband.net (7.3.139) id 49D528C40019AC44 for FreeBSD-gnats-submit@freebsd.org; Mon, 6 Apr 2009 20:05:29 +0200 Received: from c-cc9472d5.03-51-73746f3.cust.bredbandsbolaget.se (HELO prometheus.scode.org) ([213.114.148.204]) by ironport2.bredband.com with ESMTP; 06 Apr 2009 20:05:29 +0200 Received: by prometheus.scode.org (Postfix, from userid 0) id 3F5FD3A0B4E; Mon, 6 Apr 2009 20:05:29 +0200 (CEST) Message-Id: <20090406180529.3F5FD3A0B4E@prometheus.scode.org> Date: Mon, 6 Apr 2009 20:05:29 +0200 (CEST) From: Peter Schuller To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/133433: [MAINTAINER] textproc/asciidoc: update to 8.4.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2009 18:10:04 -0000 >Number: 133433 >Category: ports >Synopsis: [MAINTAINER] textproc/asciidoc: update to 8.4.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Apr 06 18:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: peter.schuller@infidyne.com >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD prometheus.scode.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Mar 27 19:04:46 CET 2009 >Description: - Update to 8.4.2 - Include patch to fix a problem with non-determinstic ordering of configuration loading (see http://hg.sharesource.org/asciidoc/raw-diff/1dfa7028bbb3/asciidoc.py). The patch has gone into trunk and won't be needed when the next asciidoc is released. Added file(s): - files/patch-asciidoc.py Generated with FreeBSD Port Tools 0.77 Upstream ChangeLog: 1. Version 8.4.2 (2009-03-19) Additions and changes * Added [1]testasciidoc, a tool to verify AsciiDoc conformance. * A warning is issued if nested inline passthroughs are encountered. * asciidocapi: setting an attribute value to None will undefine (delete) the attribute (this in addition to the name! attribute name format that the asciidoc(1) command uses). __________________________________________________________________ 2. Version 8.4.1 (2009-03-10) Additions and changes * AsciiDoc now has a [2]Python API. The following minimal example compiles mydoc.txt to mydoc.html: from asciidocapi import AsciiDocAPI asciidoc = AsciiDocAPI() asciidoc.execute('mydoc.txt') * Backtick quoting for monospaced text is now implemented as an inline literal passthrough. This makes more sense since monospace text is usually intended to be rendered literally. See [3]Regression issues below for the impact this may have on existing documents. Here are some examples that would previously have had to be escaped: The `++i` and `++j` auto-increments. Paths `~/.vim` and `~/docs`. The `__init__` method. The `{id}` attribute. * Added --doctest option to asciidoc(1) command. * Added an optional second argument to BlockId element, this sets the {reftext} attribute which in turn is used to set the xreflabel attribute in DocBook elements. * Added lists to --help syntax summary. * {infile} and {indir} attributes reflect the current input file (previously always referred to the root document). * {docfile} (new) and {docdir} (previously deprecated) attributes refer to the root document specified on the asciidoc(1) command-line. * Vim syntax highlighter improvements. * Syntax summary command (asciidoc -h syntax) additions. * Admonition icons now have transparent backgrounds. * Changed yellow W3C badges to blue ones in page footers. Bug fixes * Dropped asciidoc(1) broken undocumented --profile option. * Em dash replacement now recognized at start of block. 2.1. Regression issues Replacing backtick quoting with the inline literal passthrough raises two regression scenarios for existing documents: 1. You have escaped the expansion of enclosed inline elements, for example: \{id}. You would need to delete the backslashes: {id} (if you don't the backslashes will be printed). Mostly it's just a case of interactively finding and replacing of all occurrences of `\. 2. There are enclosed inline elements, for example: some *bold* monospaced. You would need to switch to plus character monospace quoting: +some *bold* monospaced+ (if you don't the enclosed elements won't be expanded). If your existing documents include these cases and you don't want to upgrade then use the -a no-inline-literal command-line option, alternatively put this in ~/.asciidoc/asciidoc.conf: [attributes] no-inline-literal= __________________________________________________________________ >How-To-Repeat: >Fix: --- asciidoc-8.4.2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/Makefile /usr/ports/textproc/asciidoc/Makefile --- /usr/ports/textproc/asciidoc.orig/Makefile 2009-02-03 06:42:23.000000000 +0100 +++ /usr/ports/textproc/asciidoc/Makefile 2009-03-23 21:16:58.774433288 +0100 @@ -6,7 +6,7 @@ # PORTNAME= asciidoc -PORTVERSION= 8.3.5 +PORTVERSION= 8.4.2 CATEGORIES= textproc MASTER_SITES= http://www.methods.co.nz/asciidoc/ \ SF diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/distinfo /usr/ports/textproc/asciidoc/distinfo --- /usr/ports/textproc/asciidoc.orig/distinfo 2009-02-03 06:42:23.000000000 +0100 +++ /usr/ports/textproc/asciidoc/distinfo 2009-03-23 21:16:58.834431538 +0100 @@ -1,3 +1,3 @@ -MD5 (asciidoc-8.3.5.tar.gz) = d3478021edb4dedd4431ad32dd60ee84 -SHA256 (asciidoc-8.3.5.tar.gz) = f9441ea25f4e948274e94a4e56b341c8b0058c62280cdcc3d06c926a0c230220 -SIZE (asciidoc-8.3.5.tar.gz) = 1112688 +MD5 (asciidoc-8.4.2.tar.gz) = 2a7a146c4651f2dc212fd8cd50392e13 +SHA256 (asciidoc-8.4.2.tar.gz) = c17a1ac6e958d4b0e00b2a3ccc14d0abfb81da34972b8eb3cf9484e1a1e645b8 +SIZE (asciidoc-8.4.2.tar.gz) = 1143803 diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/files/patch-Makefile.in /usr/ports/textproc/asciidoc/files/patch-Makefile.in --- /usr/ports/textproc/asciidoc.orig/files/patch-Makefile.in 2009-01-18 03:20:02.000000000 +0100 +++ /usr/ports/textproc/asciidoc/files/patch-Makefile.in 2009-03-23 21:16:58.841431999 +0100 @@ -1,16 +1,17 @@ ---- Makefile.in.orig 2008-12-31 07:33:56.000000000 +0300 -+++ Makefile.in 2009-01-15 20:48:23.000000000 +0300 -@@ -4,9 +4,6 @@ +--- Makefile.in.orig 2009-03-21 16:33:53.974304216 +0100 ++++ Makefile.in 2009-03-21 16:35:21.188379366 +0100 +@@ -4,10 +4,6 @@ .NOTPARALLEL: -INSTALL = @INSTALL@ -INSTALL_PROG = @INSTALL_PROGRAM@ -INSTALL_DATA = @INSTALL_DATA@ - +- SED = @SED@ -@@ -90,7 +87,7 @@ + prefix = @prefix@ +@@ -90,7 +86,7 @@ $(INSTALL) -d $(DESTDIR)/$($@) $(PROGTARGETS): % : %dir @@ -19,12 +20,12 @@ $(DATATARGETS): % : %dir $(INSTALL_DATA) $($@) $(DESTDIR)/$($<)/ -@@ -147,7 +144,7 @@ +@@ -147,7 +143,7 @@ build: fixconfpath --install: $(PROGTARGETS) $(DATATARGETS) renameprog install-vim -+install: $(PROGTARGETS) $(DATATARGETS) renameprog +-install: $(PROGTARGETS) $(DATATARGETS) progsymlink install-vim ++install: $(PROGTARGETS) $(DATATARGETS) progsymlink uninstall: uninstall-vim rm -f $(DESTDIR)/$(progdir)/asciidoc diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/files/patch-asciidoc.py /usr/ports/textproc/asciidoc/files/patch-asciidoc.py --- /usr/ports/textproc/asciidoc.orig/files/patch-asciidoc.py 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/textproc/asciidoc/files/patch-asciidoc.py 2009-04-06 19:44:09.685808688 +0200 @@ -0,0 +1,17 @@ +--- asciidoc.py Mon Mar 30 18:37:04 2009 +1300 ++++ asciidoc.py Fri Apr 03 12:38:26 2009 +1300 +@@ -3845,9 +3845,9 @@ + else: + sections[section] = contents + rdr.close() +- document.update_attributes() # So they are available immediately. + self.load_sections(sections) + self.loaded.append(os.path.realpath(fname)) ++ document.update_attributes() # So they are available immediately. + + def load_sections(self,sections): + '''Loads sections dictionary. Each dictionary entry contains a + + + + diff -ruN --exclude=CVS /usr/ports/textproc/asciidoc.orig/pkg-plist /usr/ports/textproc/asciidoc/pkg-plist --- /usr/ports/textproc/asciidoc.orig/pkg-plist 2009-01-18 03:20:02.000000000 +0100 +++ /usr/ports/textproc/asciidoc/pkg-plist 2009-03-23 21:16:58.843438077 +0100 @@ -1,5 +1,6 @@ bin/a2x bin/asciidoc +bin/asciidoc.py etc/asciidoc/asciidoc.conf etc/asciidoc/dblatex/asciidoc-dblatex.sty etc/asciidoc/dblatex/asciidoc-dblatex.xsl --- asciidoc-8.4.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: