summaryrefslogtreecommitdiff
path: root/textproc/lowdown
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2022-02-23 08:20:29 +0000
committerfcambus <fcambus@pkgsrc.org>2022-02-23 08:20:29 +0000
commit2488d8407eb0d186260efbfd2970c6dccc5eb140 (patch)
tree6bf53e3a3888d17858bf3a9d244ee963aa3c48f2 /textproc/lowdown
parent078152b7c5370ab5afae6acfa515113cb078428d (diff)
downloadpkgsrc-2488d8407eb0d186260efbfd2970c6dccc5eb140.tar.gz
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 (limited to 'textproc/lowdown')
-rw-r--r--textproc/lowdown/Makefile4
-rw-r--r--textproc/lowdown/PLIST4
-rw-r--r--textproc/lowdown/buildlink3.mk12
-rw-r--r--textproc/lowdown/distinfo8
4 files changed, 21 insertions, 7 deletions
diff --git a/textproc/lowdown/Makefile b/textproc/lowdown/Makefile
index 4c384a7e020..215314332b1 100644
--- a/textproc/lowdown/Makefile
+++ b/textproc/lowdown/Makefile
@@ -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 --git a/textproc/lowdown/PLIST b/textproc/lowdown/PLIST
index 66f8691e5f9..7056bb2f8f1 100644
--- a/textproc/lowdown/PLIST
+++ b/textproc/lowdown/PLIST
@@ -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_new.3
man/man3/lowdown_term_rndr.3
man/man3/lowdown_tree_rndr.3
man/man5/lowdown.5
+share/lowdown/odt/styles.xml
diff --git a/textproc/lowdown/buildlink3.mk b/textproc/lowdown/buildlink3.mk
new file mode 100644
index 00000000000..ea2e6b1ec03
--- /dev/null
+++ b/textproc/lowdown/buildlink3.mk
@@ -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 --git a/textproc/lowdown/distinfo b/textproc/lowdown/distinfo
index 6a68e309de5..fa661038c21 100644
--- a/textproc/lowdown/distinfo
+++ b/textproc/lowdown/distinfo
@@ -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