Wed Feb 23 08:20:30 2022 UTC ()
lowdown: update to 0.11.0.

Version 0.11.0, 2022-02-21

Add class and identifier extended attributes to headers. These are
stipulated in PHP Markdown Extra. Documentation in lowdown(5).

When using header identifiers (the default) and the names collide, use
pandoc's method of creating unique header names. Also handle the case of
markup in headers and the identifier created from those to also be like
pandoc. This isn't a fix, but rather make output consistent with other
tools.

Fix output of how links are handled in -Tms when part of headers. The same
applies to other block-level macros with link children such as in
definition lists. This also cleans up how headers are shown in the PDF
TOC. While here, make header identifiers the same as in -Thtml so that
intra-document links are consistent, and enable linking within a document
using the PDF markers.

Fix footnotes to be actual footnotes in -Tlatex and -Tms instead of
endnotes. The other formats (-Tman, etc.) all continue to use endnotes.
The note system has internally been cleaned up and now allows for more
flexible note placement, e.g., side-notes.

Allow footnotes to properly exist in -Tlatex tables. Also allow for table
alignment.

Bump the minor number as the ABI has been tidied up with respect to
footnotes: they're now all in their LOWDOWN_FOOTNOTE blocks instead of
split into definitions and references. The LOWDOWN_DOC_FOOTER element,
which was not used, has also been removed.

The system in general has spent many, many computer-hours being fuzzed
with AFL thanks to hardware donated by Michael Dexter. Thank you!

Finally, make -T be a synonym for the new -t, which is used by pandoc.


(fcambus)
diff -r1.25 -r1.26 pkgsrc/textproc/lowdown/Makefile
diff -r1.10 -r1.11 pkgsrc/textproc/lowdown/PLIST
diff -r0 -r1.1 pkgsrc/textproc/lowdown/buildlink3.mk
diff -r1.26 -r1.27 pkgsrc/textproc/lowdown/distinfo

cvs diff -r1.25 -r1.26 pkgsrc/textproc/lowdown/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/lowdown/Makefile 2021/11/05 11:06:24 1.25
+++ pkgsrc/textproc/lowdown/Makefile 2022/02/23 08:20:29 1.26
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.25 2021/11/05 11:06:24 fcambus Exp $ 1# $NetBSD: Makefile,v 1.26 2022/02/23 08:20:29 fcambus Exp $
2 2
3DISTNAME= lowdown-0.10.0 3DISTNAME= lowdown-0.11.0
4CATEGORIES= textproc 4CATEGORIES= textproc
5MASTER_SITES= https://kristaps.bsd.lv/lowdown/snapshots/ 5MASTER_SITES= https://kristaps.bsd.lv/lowdown/snapshots/
6 6
7MAINTAINER= fcambus@NetBSD.org 7MAINTAINER= fcambus@NetBSD.org
8HOMEPAGE= https://kristaps.bsd.lv/lowdown/ 8HOMEPAGE= https://kristaps.bsd.lv/lowdown/
9COMMENT= Simple Markdown translator 9COMMENT= Simple Markdown translator
10LICENSE= isc 10LICENSE= isc
11 11
12HAS_CONFIGURE= yes 12HAS_CONFIGURE= yes
13 13
14SUBST_CLASSES+= install 14SUBST_CLASSES+= install
15SUBST_SED.install+= -e 's,/usr/local,${PREFIX},' \ 15SUBST_SED.install+= -e 's,/usr/local,${PREFIX},' \
16 -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},' \ 16 -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},' \

cvs diff -r1.10 -r1.11 pkgsrc/textproc/lowdown/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/lowdown/PLIST 2021/11/05 11:06:24 1.10
+++ pkgsrc/textproc/lowdown/PLIST 2022/02/23 08:20:29 1.11
@@ -1,18 +1,19 @@ @@ -1,18 +1,19 @@
1@comment $NetBSD: PLIST,v 1.10 2021/11/05 11:06:24 fcambus Exp $ 1@comment $NetBSD: PLIST,v 1.11 2022/02/23 08:20:29 fcambus Exp $
2bin/lowdown 2bin/lowdown
3bin/lowdown-diff 3bin/lowdown-diff
4include/lowdown.h 4include/lowdown.h
5lib/liblowdown.a 5lib/liblowdown.a
 6lib/liblowdown.so.1
6lib/pkgconfig/lowdown.pc 7lib/pkgconfig/lowdown.pc
7man/man1/lowdown-diff.1 8man/man1/lowdown-diff.1
8man/man1/lowdown.1 9man/man1/lowdown.1
9man/man3/lowdown.3 10man/man3/lowdown.3
10man/man3/lowdown_buf.3 11man/man3/lowdown_buf.3
11man/man3/lowdown_buf_diff.3 12man/man3/lowdown_buf_diff.3
12man/man3/lowdown_buf_free.3 13man/man3/lowdown_buf_free.3
13man/man3/lowdown_buf_new.3 14man/man3/lowdown_buf_new.3
14man/man3/lowdown_diff.3 15man/man3/lowdown_diff.3
15man/man3/lowdown_doc_free.3 16man/man3/lowdown_doc_free.3
16man/man3/lowdown_doc_new.3 17man/man3/lowdown_doc_new.3
17man/man3/lowdown_doc_parse.3 18man/man3/lowdown_doc_parse.3
18man/man3/lowdown_file.3 19man/man3/lowdown_file.3
@@ -29,13 +30,14 @@ man/man3/lowdown_latex_rndr.3 @@ -29,13 +30,14 @@ man/man3/lowdown_latex_rndr.3
29man/man3/lowdown_metaq_free.3 30man/man3/lowdown_metaq_free.3
30man/man3/lowdown_node_free.3 31man/man3/lowdown_node_free.3
31man/man3/lowdown_nroff_free.3 32man/man3/lowdown_nroff_free.3
32man/man3/lowdown_nroff_new.3 33man/man3/lowdown_nroff_new.3
33man/man3/lowdown_nroff_rndr.3 34man/man3/lowdown_nroff_rndr.3
34man/man3/lowdown_odt_free.3 35man/man3/lowdown_odt_free.3
35man/man3/lowdown_odt_new.3 36man/man3/lowdown_odt_new.3
36man/man3/lowdown_odt_rndr.3 37man/man3/lowdown_odt_rndr.3
37man/man3/lowdown_term_free.3 38man/man3/lowdown_term_free.3
38man/man3/lowdown_term_new.3 39man/man3/lowdown_term_new.3
39man/man3/lowdown_term_rndr.3 40man/man3/lowdown_term_rndr.3
40man/man3/lowdown_tree_rndr.3 41man/man3/lowdown_tree_rndr.3
41man/man5/lowdown.5 42man/man5/lowdown.5
 43share/lowdown/odt/styles.xml

File Added: pkgsrc/textproc/lowdown/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 08:20:29 fcambus Exp $

BUILDLINK_TREE+=	lowdown

.if !defined(LOWDOWN_BUILDLINK3_MK)
LOWDOWN_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.lowdown+=	lowdown>=0.11.0
BUILDLINK_PKGSRCDIR.lowdown?=	../../textproc/lowdown
.endif	# LOWDOWN_BUILDLINK3_MK

BUILDLINK_TREE+=	-lowdown

cvs diff -r1.26 -r1.27 pkgsrc/textproc/lowdown/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/lowdown/distinfo 2021/11/05 11:06:24 1.26
+++ pkgsrc/textproc/lowdown/distinfo 2022/02/23 08:20:29 1.27
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.26 2021/11/05 11:06:24 fcambus Exp $ 1$NetBSD: distinfo,v 1.27 2022/02/23 08:20:29 fcambus Exp $
2 2
3BLAKE2s (lowdown-0.10.0.tar.gz) = 2242830632a7445c59efb568f64ec3a8c4e2367b8f22086f94cba72567ec49d3 3BLAKE2s (lowdown-0.11.0.tar.gz) = 6aa479d3e91b4703f6d092229486f86e1d6c54a5266c6578cb12e558913401e9
4SHA512 (lowdown-0.10.0.tar.gz) = 52ba939eff32dfe2c0b4fa530e058cc3faee3b21babe312bc35a60e2c66d2ba4f577c23a46e1711231e1054afd4ee27df5c30d368839fb1d2d28fedc9d2b83df 4SHA512 (lowdown-0.11.0.tar.gz) = 0a3270a934de583011351bea53f74c9ea9620c7a38171d9b42e66e6987640af1db8f3ef9b3baf7fa0bafa8d5a873e433da51252b1887adaca850d283f75d3764
5Size (lowdown-0.10.0.tar.gz) = 229928 bytes 5Size (lowdown-0.11.0.tar.gz) = 237405 bytes