Index | Thread | Search

From:
Lydia Sobot <chilledfrogs@disroot.org>
Subject:
Re: New port: www/chawan
To:
ports@openbsd.org
Cc:
yaydn@protonmail.com, prx@si3t.ch
Date:
Thu, 06 Aug 2026 09:38:36 +0200

Download raw body.

Thread
On August 6, 2026 8:00:02 GMT+02:00, yaydn@protonmail.com wrote:
>
>Built/tested on current/amd64 with privsep.
>
>$ cd /usr/ports/www/chawan/ && make clean=all clean && make build package test ; make port-lib-depends-check check-shlib-syms
>
>===>  Regression tests for chawan-0.4.3
>mkdir -p /usr/ports/pobj/chawan-0.4.3/nimcache
>(cd test/js && ./run.sh)
>window.htmlmlllplus.htmltmlracking.app.html
>(cd test/layout && ./run.sh)
>z-index-for-table.htmltrinsic-min-width.htmlce.htmltmlth.htmlsa.htmll
>nim --nimcache:/usr/ports/pobj/chawan-0.4.3/nimcache c test/net/run.nim
>Hint: used config file '/etc/nim/nim.cfg' [Conf]
>Hint: used config file '/usr/ports/pobj/chawan-0.4.3/chawan-v0.4.3/nim.cfg' [Conf]
>.....................................................................................................................................................
>CC: system/exceptions.nim
>CC: system/ctypes.nim
>CC: std/private/digitsutils.nim
>CC: std/assertions.nim
>CC: std/objectdollar.nim
>CC: system/dollars.nim
>CC: std/syncio.nim
>CC: system.nim
>CC: parseutils.nim
>CC: math.nim
>CC: algorithm.nim
>CC: std/strbasics.nim
>CC: strutils.nim
>CC: std/oserrors.nim
>CC: posix.nim
>CC: options.nim
>CC: times.nim
>CC: std/envvars.nim
>CC: std/cmdline.nim
>CC: hashes.nim
>CC: tables.nim
>CC: heapqueue.nim
>CC: sets.nim
>CC: deques.nim
>CC: asyncfutures.nim
>CC: std/monotimes.nim
>CC: nativesockets.nim
>CC: net.nim
>CC: kqueue.nim
>CC: selectors.nim
>CC: asyncdispatch.nim
>CC: asyncnet.nim
>CC: uri.nim
>CC: httpcore.nim
>CC: asynchttpserver.nim
>CC: utils/twtstr.nim
>CC: io/chafile.nim
>CC: run.nim
>Hint:  [Link]
>Hint: mm: refc; opt: none (DEBUG BUILD, `-d:release` generates faster code)
>61831 lines; 16.882s; 110.168MiB peakmem; proj: /usr/ports/pobj/chawan-0.4.3/chawan-v0.4.3/test/net/run.nim; out: /usr/ports/pobj/chawan-0.4.3/chawan-v0.4.3/test/net/run [SuccessX]
>(cd test/net && ./run.sh)
>cookie.http
>(cd test/md && ./run.sh)
>thematic-break.mdd.mdch.mdeof.md
>(cd test/pager && ./run.sh)
>mkdir -p .obj/chagashi_test
>cp test/charset/data.tar.xz .obj/chagashi_test
>unxz .obj/chagashi_test/data.tar.xz
>tar xf .obj/chagashi_test/data.tar -C .obj/chagashi_test
>(cd test/charset && ./run.sh)
>nim --nimcache:/usr/ports/pobj/chawan-0.4.3/nimcache r --verbosity:0 test/charset/basic.nim
>CGS_TESTDIR=.obj/chagashi_test nim --nimcache:/usr/ports/pobj/chawan-0.4.3/nimcache r --verbosity:0 test/charset/data.nim
>(cd test/nim && nim --nimcache:/usr/ports/pobj/chawan-0.4.3/nimcache r --verbosity:0 ttwtstr.nim)
>--
>// Look fine? No issues from checks
>
># TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap chawan
>chawan-0.4.3: ok
Please test with 0.4.4

>
>Nits in Makefile:
>BUILD_DEPENDS = lang/nim #security/libssh2 archivers/brotli
>
>Think the comment above was leftover by mistake?
Oh god yes sorry, that's embarrassing

>Also while no spaces where tabs are preferred, but the lines are not
>very symmetrical? Staggered rather than consistent. Not big.
>Possible change below.
>
>Spelling/grammar looks fine.
>
>Otherwise I can also attest to this building and running.
>
>$ cha --version
>Chawan browser v0.4.3 (release, sandboxed by pledge, poll uses poll)
>
>This is was with foot on sway if it makes any difference. Could make
>images load with the alt-i key combo, which was odd but cool in a
>terminal browser for me at least.
I think image loading can be made the default, but yeah sixels are cool :)

>Looks neat. Bit better than lynx for github pages, though w3m has tabs,
>but no github display(though everything else loads). This along with
>surf, all these options are great to have.
>
>Thanks for the port. Might use this regularly in multiple foot
>windows.
>
>Sorry for any noise.
>
>Hope this helps and may you have a cool one.
>--
>yaydn
>
>An example for possible changes for Makefile:
>
>ONLY_FOR_ARCHS =	amd64 arm64 i386 # Nim arches
>
>COMMENT =	TUI web/Gopher/Gemini/SFTP browser with CSS and JS support
>DIST_TUPLE +=	srht bptato chawan v$V .
>V =		0.4.3
>
>CATEGORIES =	www sysutils
>HOMEPAGE =	https://chawan.net/
>
>MAINTAINER =	Lydia Sobot <chilledfrogs@disroot.org>
>
># Public Domain/Unlicense,
># see https://git.sr.ht/~bptato/chawan/tree/HEAD/res/license.md for deps
>PERMIT_PACKAGE =	Yes
>
>WANTLIB +=	brotlicommon brotlidec c crypto m ssh2 ssl
>
>BUILD_DEPENDS =	lang/nim
>LIB_DEPENDS =	security/libssh2 archivers/brotli
>
>FAKE_FLAGS =	PREFIX=${LOCALBASE} MANPREFIX=${LOCALBASE}/man
>TEST_FLAGS =	NIMC="nim --nimcache:${NIMCACHE} c" NIM="nim --nimcache:${NIMCACHE}"
>NIMCACHE =	${WRKDIR}/nimcache
>USE_GMAKE =	Yes
>
>WRKDIST =	${WRKDIR}/chawan-v$V
>
>pre-test:
>	mkdir -p ${NIMCACHE}
>
>.include <bsd.port.mk>
>
>--
>Don't know if that reads better. Thoughts?
Aren't there usually spaces after the equals sign except when semantically important?