Download raw body.
New port: www/chawan
På torsdag 6. august 2026 kl. 09:38, skrev Lydia Sobot
<chilledfrogs@disroot.org>:
>> On August 6, 2026 8:00:02 GMT+02:00, yaydn@protonmail.com wrote:
>
> Please test with 0.4.4
>
Sorry, must of confused the tar or thought I replaced the folder, but
still had the old one there.
$ cd /usr/ports/www/chawan/ && make build package test ; make port-lib-depends-check check-shlib-syms clean
===> Regression tests for chawan-0.4.4
mkdir -p /usr/ports/pobj/chawan-0.4.4/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.4/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.4/chawan-v0.4.4/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; 41.562s; 110.168MiB peakmem; proj: /usr/ports/pobj/chawan-0.4.4/chawan-v0.4.4/test/net/run.nim; out: /usr/ports/pobj/chawan-0.4.4/chawan-v0.4.4/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.4/nimcache r --verbosity:0 test/charset/basic.nim
CGS_TESTDIR=.obj/chagashi_test nim --nimcache:/usr/ports/pobj/chawan-0.4.4/nimcache r --verbosity:0 test/charset/data.nim
(cd test/nim && nim --nimcache:/usr/ports/pobj/chawan-0.4.4/nimcache r --verbosity:0 ttwtstr.nim)
===> Cleaning for chawan-0.4.4
--
// That good?
# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u chawan
chawan-0.4.3->0.4.4: ok
--
$ cha --version
Chawan browser v0.4.4 (release, sandboxed by pledge, poll uses poll)
--
> >
> >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
>
It happens, you're good since you caught it in the subsequent
version.
> >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 :)
It is a good default, less loading, but good to know. Saw it in the '-V'
help page flag.
>
> >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?
>
For comparison:
--- Makefile.orig Thu Aug 6 09:58:48 2026
+++ Makefile Thu Aug 6 09:52:52 2026
@@ -1,12 +1,13 @@
-V = 0.4.4
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.4
CATEGORIES = www net sysutils
HOMEPAGE = https://chawan.net/
-MAINTAINER = Lydia Sobot <chilledfrogs@disroot.org>
+MAINTAINER = Lydia Sobot <chilledfrogs@disroot.org>
# Public Domain/Unlicense,
# see https://git.sr.ht/~bptato/chawan/tree/HEAD/res/license.md for deps
@@ -20,9 +21,9 @@ 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
+USE_GMAKE = Yes
-WRKDIST = ${WRKDIR}/chawan-v$V
+WRKDIST = ${WRKDIR}/chawan-v$V
pre-test:
mkdir -p ${NIMCACHE}
--
An attempt to keep the tabbing more consistent? Spelling/grammar looks
fine in pkg/DESCR and Makefile.
New port: www/chawan