pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/lowdown lowdown: update to 0.11.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a996f1520c8f
branches:  trunk
changeset: 374454:a996f1520c8f
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Wed Feb 23 08:20:29 2022 +0000

description:
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.

diffstat:

 textproc/lowdown/Makefile      |   4 ++--
 textproc/lowdown/PLIST         |   4 +++-
 textproc/lowdown/buildlink3.mk |  12 ++++++++++++
 textproc/lowdown/distinfo      |   8 ++++----
 4 files changed, 21 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r c734ee014a3a -r a996f1520c8f textproc/lowdown/Makefile
--- a/textproc/lowdown/Makefile Wed Feb 23 04:24:37 2022 +0000
+++ b/textproc/lowdown/Makefile Wed Feb 23 08:20:29 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2021/11/05 11:06:24 fcambus Exp $
+# $NetBSD: Makefile,v 1.26 2022/02/23 08:20:29 fcambus Exp $
 
-DISTNAME=      lowdown-0.10.0
+DISTNAME=      lowdown-0.11.0
 CATEGORIES=    textproc
 MASTER_SITES=  https://kristaps.bsd.lv/lowdown/snapshots/
 
diff -r c734ee014a3a -r a996f1520c8f textproc/lowdown/PLIST
--- a/textproc/lowdown/PLIST    Wed Feb 23 04:24:37 2022 +0000
+++ b/textproc/lowdown/PLIST    Wed Feb 23 08:20:29 2022 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.10 2021/11/05 11:06:24 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.11 2022/02/23 08:20:29 fcambus Exp $
 bin/lowdown
 bin/lowdown-diff
 include/lowdown.h
 lib/liblowdown.a
+lib/liblowdown.so.1
 lib/pkgconfig/lowdown.pc
 man/man1/lowdown-diff.1
 man/man1/lowdown.1
@@ -39,3 +40,4 @@
 man/man3/lowdown_term_rndr.3
 man/man3/lowdown_tree_rndr.3
 man/man5/lowdown.5
+share/lowdown/odt/styles.xml
diff -r c734ee014a3a -r a996f1520c8f textproc/lowdown/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/lowdown/buildlink3.mk    Wed Feb 23 08:20:29 2022 +0000
@@ -0,0 +1,12 @@
+# $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
diff -r c734ee014a3a -r a996f1520c8f textproc/lowdown/distinfo
--- a/textproc/lowdown/distinfo Wed Feb 23 04:24:37 2022 +0000
+++ b/textproc/lowdown/distinfo Wed Feb 23 08:20:29 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2021/11/05 11:06:24 fcambus Exp $
+$NetBSD: distinfo,v 1.27 2022/02/23 08:20:29 fcambus Exp $
 
-BLAKE2s (lowdown-0.10.0.tar.gz) = 2242830632a7445c59efb568f64ec3a8c4e2367b8f22086f94cba72567ec49d3
-SHA512 (lowdown-0.10.0.tar.gz) = 52ba939eff32dfe2c0b4fa530e058cc3faee3b21babe312bc35a60e2c66d2ba4f577c23a46e1711231e1054afd4ee27df5c30d368839fb1d2d28fedc9d2b83df
-Size (lowdown-0.10.0.tar.gz) = 229928 bytes
+BLAKE2s (lowdown-0.11.0.tar.gz) = 6aa479d3e91b4703f6d092229486f86e1d6c54a5266c6578cb12e558913401e9
+SHA512 (lowdown-0.11.0.tar.gz) = 0a3270a934de583011351bea53f74c9ea9620c7a38171d9b42e66e6987640af1db8f3ef9b3baf7fa0bafa8d5a873e433da51252b1887adaca850d283f75d3764
+Size (lowdown-0.11.0.tar.gz) = 237405 bytes



Home | Main Index | Thread Index | Old Index