I suggest removing the tidy->tidyp symlink from www/tidyp and switching
ports which just use command line tool rather than the library over to
tidy-html5. (Tidy-html5 will want an @conflict on versions of tidyp from
before this is done, i.e. @conflict tidyp-<=1.04v1p0).
Then when this is in we can look at switching library users to tidy-html5
(this should usually be easy - it's usually just a case of either removing
patches that we've added to use tidyp, or changing paths).
For those that don't know the history: the original tidy stopped
development long ago. tidyp was forked (by the HTML::Tidy developer) and
added some fixes but this is ~9 years dormant upstream now. The original
was re-forked to Tidy-html5 and this is now the main developed version.
For Perl, HTML::Tidy has been archived and there's a new HTML::Tidy5.
--
Sent from a phone, apologies for poor formatting.
On 10 May 2019 20:58:37 Charlene Wendling <juliana...@posteo.jp> wrote:
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