On Fri, 10 May 2019 12:16:23 -0600 Aaron Bieber <aa...@bolddaemon.com> wrote:
> Hi, > > Attached is tidy-html5: > > Information for inst:tidy-html5-5.6.0 > > Comment: > correct and clean up HTML and XML > > Required by: > edbrowse-3.7.4 > > Description: > Tidy is a console application for Mac OS X, Linux, Windows, UNIX, > and more. It corrects and cleans up HTML and XML documents by fixing > markup errors and upgrading legacy code to modern standards. > > libtidy is a C static and dynamic library that developers can > integrate into their applications in order to bring all of Tidy's > power to your favorite tools. libtidy is used today in desktop > applications, web servers, and more. > > Maintainer: Aaron Bieber <abie...@openbsd.org> > > WWW: https://www.html-tidy.org/ > > This is needed for edbrowse which will follow in another mail. > > OK? Clue stick? I didn't even know there was a HTML5 version of tidy! I've tested on macppc. The build breaks because there are characters that base-gcc can't understand in headers file: In file included from /usr/ports/pobj/tidy-html5-5.6.0/tidy-html5-5.6.0/src/language.c:18: /usr/ports/pobj/tidy-html5-5.6.0/tidy-html5-5.6.0/src/language_zh_cn.h:1: error: stray '\357' in program /usr/ports/pobj/tidy-html5-5.6.0/tidy-html5-5.6.0/src/language_zh_cn.h:1: error: stray '\273' in program /usr/ports/pobj/tidy-html5-5.6.0/tidy-html5-5.6.0/src/language_zh_cn.h:1: error: stray '\277' in program (and more...) - It builds after adding a 'COMPILER = base-clang ports-gcc' line to the Makefile, or someone has a better solution? - pkg/DESCR needs to be chmoded 0644 (it breaks packaging with PORTS_PRIVSEP=Yes) - there is a stray BROWSE file I've met no issue during the 'tidy' runtime, the results are as expected. Trying to install www/tidyp when www/tidy-html5 is installed leads to a conflict, as expected (the two have a 'tidy' executable). I haven't tested the library. Charlène. > -- > PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D > 62A9 ADCE