Download raw body.
[MAINTAINER UPDATE] textproc/lowdown to 3.0.1
On Sun, Mar 29, 2026 at 09:10:58PM -0700, Bryan Vyhmeister wrote: > This is a maintainer update for textproc/lowdown to 3.0.1. The changes > for 2.0.3, 2.0.4, 3.0.0, and 3.0.1 are: > > Version 2.0.3: > > "Automatically create the correct shared library type (dylib) on Mac OS > X. Fix how image links within links have their link content displayed > using OSC8 encoding in terminal mode Fix how -tlatex, -tms, and -tman > escape URLs or otherwise do percent and space encoding." > > Version 2.0.4: > > "Hot-fix 2.0.3 with correct Mac OS X conventions in shared library > versioning." > > Version 3.0.0: > > "Added initial support for outputting modern Unix manpages with -tmdoc. > This is intended as a replacement for the legacy -tman. Supplement this > with --roff-manpage, which accepts a markdown file that looks like a > Unix manpage and attempts to convert it into a well-formed mdoc or man. > Most of this is purely syntactic, but several sections in Unix manpages > (e.g., the NAME and SYNOPSIS) have a rigorous syntax that this mode > attempts to output. > > Several minor (but breaking) changes to the API to take up fewer bits in > the oflags field of struct lowdown_opts: consolidate all XXX_NOLINK, > XXX_RELLINK, and XXX_SHORTLINK as LOWDOWN_NOLINK, LOWDOWN_RELLINK, and > LOWDOWN_SHORTLINK. This only applies to the LOWDOWN_MAN, LOWDOWN_MS, and > LOWDOWN_TERM output modes. The earlier LOWDOWN_NROFF output mode is > deprecated and is now an alias for LOWDOWN_MS, which should be used > moving forward. > > Do the same with the various XXX_SKIP_HTML bits. > > Deprecate the lowdown_nroff_xxx in favour of lowdown_roff_xxx. The > functions remain as deprecated and passing through to the new > equivalents. > > Deprecate the macro variables LOWDOWN_NROFF_GROFF LOWDOWN_NROFF_NUMBERED > LOWDOWN_NROFF_MANPAGE LOWDOWN_NROFF_ENDNOTES in favour of their ROFF > names. The old macros are aliased for compatibility. > > Library bumped from version 2 to 3 for those reasons. > > Tweak the behaviour of -tterm and --term-no-links (or > --term-no-rellinks) with respect to embedded images and no text so that > there's always a clickable link and image component, if possible. > > Add --roff-no-rellinks, similar to --term-no-rellinks. Respect > --roff-short-links in more cases as well. > > Change the behaviour of -tms and -tman where --roff-no-links (or the new > --roff-no-rellinks) will have consistent behaviour even if > --roff-traditional is not specified. > > Fix that, when using lowdown-diff for the terminal, resetting the colour > after an insertion or delete would trigger the black colour, which > obviously doesn't work with a black background. Instead, use the default > colour. > > When generating header identifiers in -thtml, incorporate codespan text > as well. This is the same as pandoc's default behaviour as well." > > Version 3.0.1: > > "Flesh out -tmdoc to handle macros flush against other words and > punctuation, e.g., (*-abcd*):. > > Properly format -tmdoc and -tman compact lists, including nested compact > lists." > > Everything works fine in my testing. Changes warranted a shared library > bump due to additions and removals. Sending this again. It would be nice to get it in before 7.9 unless there is an objection. Thank you. Bryan Index: textproc/lowdown/Makefile =================================================================== RCS file: /cvs/ports/textproc/lowdown/Makefile,v diff -u -p -r1.37 Makefile --- textproc/lowdown/Makefile 13 Mar 2025 19:15:23 -0000 1.37 +++ textproc/lowdown/Makefile 30 Mar 2026 04:00:14 -0000 @@ -1,8 +1,8 @@ COMMENT = simple markdown translator -DISTNAME = lowdown-2.0.2 +DISTNAME = lowdown-3.0.1 CATEGORIES = textproc -SHARED_LIBS = lowdown 3.0 # 3 +SHARED_LIBS = lowdown 4.0 # 4 HOMEPAGE = https://kristaps.bsd.lv/lowdown/ MAINTAINER = Bryan Vyhmeister <bryan@bsdjournal.net> Index: textproc/lowdown/distinfo =================================================================== RCS file: /cvs/ports/textproc/lowdown/distinfo,v diff -u -p -r1.32 distinfo --- textproc/lowdown/distinfo 13 Mar 2025 19:15:23 -0000 1.32 +++ textproc/lowdown/distinfo 30 Mar 2026 03:56:30 -0000 @@ -1,2 +1,2 @@ -SHA256 (lowdown-2.0.2.tar.gz) = 1Z8q2C+YGmMFG7YdjQTALIxJQorCnENd/wOpLiELAAQ= -SIZE (lowdown-2.0.2.tar.gz) = 299643 +SHA256 (lowdown-3.0.1.tar.gz) = rJ6itRyL1ZNQx7+NteIGfp2WGx9I02LNilawIoUOllw= +SIZE (lowdown-3.0.1.tar.gz) = 378740 Index: textproc/lowdown/pkg/PLIST =================================================================== RCS file: /cvs/ports/textproc/lowdown/pkg/PLIST,v diff -u -p -r1.17 PLIST --- textproc/lowdown/pkg/PLIST 13 Mar 2025 19:15:24 -0000 1.17 +++ textproc/lowdown/pkg/PLIST 30 Mar 2026 03:58:59 -0000 @@ -28,12 +28,12 @@ lib/pkgconfig/lowdown.pc @man man/man3/lowdown_latex_rndr.3 @man man/man3/lowdown_metaq_free.3 @man man/man3/lowdown_node_free.3 -@man man/man3/lowdown_nroff_free.3 -@man man/man3/lowdown_nroff_new.3 -@man man/man3/lowdown_nroff_rndr.3 @man man/man3/lowdown_odt_free.3 @man man/man3/lowdown_odt_new.3 @man man/man3/lowdown_odt_rndr.3 +@man man/man3/lowdown_roff_free.3 +@man man/man3/lowdown_roff_new.3 +@man man/man3/lowdown_roff_rndr.3 @man man/man3/lowdown_term_free.3 @man man/man3/lowdown_term_new.3 @man man/man3/lowdown_term_rndr.3
[MAINTAINER UPDATE] textproc/lowdown to 3.0.1