Re: [MAINTAINER UPDATE] textproc/lowdown to 1.0.0

2022-07-27 Thread Omar Polo
Bryan Vyhmeister  wrote:
> On Mon, Jul 25, 2022 at 09:45:43PM +0200, Omar Polo wrote:
> > Bryan Vyhmeister  wrote:
> > > This is another maintainer update of lowdown from 0.10.0 to 1.0.0.
> > > There are quite a few changes included in the in-between releases. The
> > > changes included are:
> > > 
> > > [...]
> > > 
> > > I did testing on amd64 with no issues. It does appear that the
> > > liblowdown static library is no more also in case someone is using that.
> > > I believe it should work fine everywhere. If someone could ok and
> > > commit, that would be great. Thank you.
> > > 
> > > Bryan
> > 
> > works fine here, but I think it'd be better if we keep the library, the
> > header and the manpages :)
> > 
> > it seems that now an additional FAKE_TARGET is needed.  diff below
> > addresses that and also adds the proper SHARED_LIBS now that the port
> > has one.
> 
> Your patch does not compile for me. It seems that those extra man pages
> have been removed from the release.

can you please show the error?  (and the full log with `make clean; make
build 2>&1 | tee build.log`)

The manpages are definitely there:

% cd /usr/ports/pobj/lowdown-1.0.0/lowdown-1.0.0/
% ls man/
lowdown-diff.1 lowdown_file.3 lowdown_node_free.3
lowdown.1  lowdown_file_diff.3lowdown_nroff_free.3
lowdown.3  lowdown_gemini_free.3  lowdown_nroff_new.3
lowdown.5  lowdown_gemini_new.3   lowdown_nroff_rndr.3
lowdown_buf.3  lowdown_gemini_rndr.3  lowdown_odt_free.3
lowdown_buf_diff.3 lowdown_html_free.3lowdown_odt_new.3
...

and if you look at the makefile the target `install' installs the mans
in the section 1 and 5, and the target `install_lib_common' (deps of
`install_libs') installs all the section 3 mans.

note that my diff was meant to be applied on a clean tree.

Thanks,

Omar Polo



Re: [MAINTAINER UPDATE] textproc/lowdown to 1.0.0

2022-07-26 Thread Bryan Vyhmeister
On Mon, Jul 25, 2022 at 09:45:43PM +0200, Omar Polo wrote:
> Bryan Vyhmeister  wrote:
> > This is another maintainer update of lowdown from 0.10.0 to 1.0.0.
> > There are quite a few changes included in the in-between releases. The
> > changes included are:
> > 
> > [...]
> > 
> > I did testing on amd64 with no issues. It does appear that the
> > liblowdown static library is no more also in case someone is using that.
> > I believe it should work fine everywhere. If someone could ok and
> > commit, that would be great. Thank you.
> > 
> > Bryan
> 
> works fine here, but I think it'd be better if we keep the library, the
> header and the manpages :)
> 
> it seems that now an additional FAKE_TARGET is needed.  diff below
> addresses that and also adds the proper SHARED_LIBS now that the port
> has one.

Your patch does not compile for me. It seems that those extra man pages
have been removed from the release.

Bryan



Re: [MAINTAINER UPDATE] textproc/lowdown to 1.0.0

2022-07-25 Thread Omar Polo
Bryan Vyhmeister  wrote:
> This is another maintainer update of lowdown from 0.10.0 to 1.0.0.
> There are quite a few changes included in the in-between releases. The
> changes included are:
> 
> [...]
> 
> I did testing on amd64 with no issues. It does appear that the
> liblowdown static library is no more also in case someone is using that.
> I believe it should work fine everywhere. If someone could ok and
> commit, that would be great. Thank you.
> 
> Bryan

works fine here, but I think it'd be better if we keep the library, the
header and the manpages :)

it seems that now an additional FAKE_TARGET is needed.  diff below
addresses that and also adds the proper SHARED_LIBS now that the port
has one.

ok?

Index: Makefile
===
RCS file: /home/cvs/ports/textproc/lowdown/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile3 May 2022 15:39:24 -   1.29
+++ Makefile25 Jul 2022 19:40:33 -
@@ -1,7 +1,9 @@
 COMMENT =  simple markdown translator
-DISTNAME = lowdown-0.10.0
+DISTNAME = lowdown-1.0.0
 CATEGORIES =   textproc
 
+SHARED_LIBS =  lowdown 0.0 # 1
+
 HOMEPAGE = https://kristaps.bsd.lv/lowdown/
 MAINTAINER =   Bryan Vyhmeister 
 
@@ -16,8 +18,10 @@ WANTLIB +=   c m
 CONFIGURE_STYLE =  simple
 CONFIGURE_ARGS =   PREFIX="${PREFIX}"
 
-ALL_TARGET =   lowdown
+MAKE_FLAGS +=  LIBVER="${LIBlowdown_VERSION}"
 
+ALL_TARGET =   lowdown
+FAKE_TARGET =  install install_libs
 TEST_TARGET =  regress
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/textproc/lowdown/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo3 May 2022 15:39:24 -   1.25
+++ distinfo25 Jul 2022 19:30:20 -
@@ -1,2 +1,2 @@
-SHA256 (lowdown-0.10.0.tar.gz) = t1ytJbEPpy0sRzACDq31Y0WGCWT0Jmu8sYNj58icYpc=
-SIZE (lowdown-0.10.0.tar.gz) = 229928
+SHA256 (lowdown-1.0.0.tar.gz) = p8nbvUDj6dkpb/bvasVP7IOxq+VNt7YRPNnA9pKiDBM=
+SIZE (lowdown-1.0.0.tar.gz) = 247307
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/textproc/lowdown/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -r1.14 PLIST
--- pkg/PLIST   3 May 2022 15:39:24 -   1.14
+++ pkg/PLIST   25 Jul 2022 19:41:06 -
@@ -2,6 +2,7 @@
 @bin bin/lowdown-diff
 include/lowdown.h
 @static-lib lib/liblowdown.a
+@lib lib/liblowdown.so.${LIBlowdown_VERSION}
 lib/pkgconfig/lowdown.pc
 @man man/man1/lowdown-diff.1
 @man man/man1/lowdown.1
@@ -38,3 +39,6 @@ lib/pkgconfig/lowdown.pc
 @man man/man3/lowdown_term_rndr.3
 @man man/man3/lowdown_tree_rndr.3
 @man man/man5/lowdown.5
+share/lowdown/
+share/lowdown/odt/
+share/lowdown/odt/styles.xml



[MAINTAINER UPDATE] textproc/lowdown to 1.0.0

2022-07-25 Thread Bryan Vyhmeister
This is another maintainer update of lowdown from 0.10.0 to 1.0.0.
There are quite a few changes included in the in-between releases. The
changes included are:

lowdown 0.11.0: "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."

lowdown 0.11.1: "Have -tlatex process header identifiers, both
automatically generated and from PHP extra attributes. Allow linking to
these within the document body.
Have -tms print that an image happened instead of just omitting it
entirely. It now behaves like -tman in this regard.
Fix where -tterm would print double-spaces in certain conditions.
Have extended attribute classes apply as OpenDocument classes in
-tfodt."

lowdown 0.11.2: "Support native roff escapes instead of using Unicode
escapes. (This is a work in progress, as there are many.) This makes
special characters usable in sections and so on.
Fix a bogus free when running lowdown-diff(1). While here, handle
differences between totally-different files, where before we would error
out.
Document how differences are displayed in each output mode, as well as
how metadata is a special case.
Fix -tterm ANSI escape filtering for background colour, allowing changes
to be viewed again.
Fix a sneaky -tterm bug found by AFL where having the number of
footnotes change digit length (e.g., 9 to 10) within a table would cause
an assertion.
Another big thanks to Michael Dexter in providing hardware for
continuously running AFL and finding some of these corner case bugs!"
 
lowdown 1.0.0: "Very minor repairs. All of the functionality and
stability for a v1 release is in place. "Make it so, number one!""

I did testing on amd64 with no issues. It does appear that the
liblowdown static library is no more also in case someone is using that.
I believe it should work fine everywhere. If someone could ok and
commit, that would be great. Thank you.

Bryan



Index: textproc/lowdown/Makefile
===
RCS file: /cvs/ports/textproc/lowdown/Makefile,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 Makefile
--- textproc/lowdown/Makefile   3 May 2022 15:39:24 -   1.29
+++ textproc/lowdown/Makefile   25 Jul 2022 18:47:50 -
@@ -1,5 +1,5 @@
 COMMENT =  simple markdown translator
-DISTNAME = lowdown-0.10.0
+DISTNAME = lowdown-1.0.0
 CATEGORIES =   textproc
 
 HOMEPAGE = https://kristaps.bsd.lv/lowdown/
Index: textproc/lowdown/distinfo
===
RCS file: /cvs/ports/textproc/lowdown/distinfo,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 distinfo
--- textproc/lowdown/distinfo   3 May 2022 15:39:24 -   1.25
+++ textproc/lowdown/distinfo   25 Jul 2022 18:47:50 -
@@ -1,2 +1,2 @@
-SHA256 (lowdown-0.10.0.tar.gz) = t1ytJbEPpy0sRzACDq31Y0WGCWT0Jmu8sYNj58icYpc=
-SIZE (lowdown-0.10.0.tar.gz) = 229928
+SHA256 (lowdown-1.0.0.tar.gz) = p8nbvUDj6dkpb/bvasVP7IOxq+VNt7YRPNnA9pKiDBM=
+SIZE (lowdown-1.0.0.tar.gz) = 247307
Index: textproc/lowdown/pkg/PLIST
===
RCS file: /cvs/ports/textproc/lowdown/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 PLIST
--- textproc/lowdown/pkg/PLIST  3 May 2022 15:39:24 -   1.14
+++ textproc/lowdown/pkg/PLIST  25 Jul 2022 18:47:50 -
@@ -1,40 +1,8 @@
 @bin bin/lowdown
 @bin bin/lowdown-diff
-include/lowdown.h
-@static-lib lib/liblowdown.a
-lib/pkgconfig/lowdown.pc