Re: New port: www/chawan
[email protected] Thu, 06 Aug 2026 08:24:42 +0000
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <TJs3R7c4rI44M15s-D_doDYGbhqFq7zRr5COQ4f_AmXrQ-Lf8ouDSIgz5kQvZ_68pDONEmh0VFOz9yXywKJy9vnkoc_NmGb7DrlmYY86WPA=@protonmail.com> |
P=C3=A5 torsdag 6. august 2026 kl. 09:38, skrev Lydia Sobot <[email protected]>: >> On August 6, 2026 8:00:02 GMT+02:00, [email protected] wrote: > > Please test with 0.4.4 >=20 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-depe= nds-check check-shlib-syms clean =3D=3D=3D> 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/c= harset/basic.nim CGS_TESTDIR=3D.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 --ve= rbosity:0 ttwtstr.nim) =3D=3D=3D> Cleaning for chawan-0.4.4 -- // That good? # TRUSTED_PKG_PATH=3D/usr/ports/packages/amd64/all/ pkg_add -Dsnap -u chawa= n=20 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 =3D lang/nim #security/libssh2 archivers/brotli > > > >Think the comment above was leftover by mistake? > Oh god yes sorry, that's embarrassing >=20 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. >=20 > >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 =3D=09amd64 arm64 i386 # Nim arches > > > >COMMENT =3D=09TUI web/Gopher/Gemini/SFTP browser with CSS and JS support > >DIST_TUPLE +=3D=09srht bptato chawan v$V . > >V =3D=09=090.4.3 > > > >CATEGORIES =3D=09www sysutils > >HOMEPAGE =3D=09https://chawan.net/ > > > >MAINTAINER =3D=09Lydia Sobot <[email protected]> > > > ># Public Domain/Unlicense, > ># see https://git.sr.ht/~bptato/chawan/tree/HEAD/res/license.md for deps > >PERMIT_PACKAGE =3D=09Yes > > > >WANTLIB +=3D=09brotlicommon brotlidec c crypto m ssh2 ssl > > > >BUILD_DEPENDS =3D=09lang/nim > >LIB_DEPENDS =3D=09security/libssh2 archivers/brotli > > > >FAKE_FLAGS =3D=09PREFIX=3D${LOCALBASE} MANPREFIX=3D${LOCALBASE}/man > >TEST_FLAGS =3D=09NIMC=3D"nim --nimcache:${NIMCACHE} c" NIM=3D"nim --nimc= ache:${NIMCACHE}" > >NIMCACHE =3D=09${WRKDIR}/nimcache > >USE_GMAKE =3D=09Yes > > > >WRKDIST =3D=09${WRKDIR}/chawan-v$V > > > >pre-test: > >=09mkdir -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 semanticall= y important? >=20 For comparison: --- Makefile.orig=09Thu Aug 6 09:58:48 2026 +++ Makefile=09Thu Aug 6 09:52:52 2026 @@ -1,12 +1,13 @@ -V =3D=090.4.4 ONLY_FOR_ARCHS =3D=09amd64 arm64 i386 # Nim arches + COMMENT =3D=09TUI web/Gopher/Gemini/SFTP browser with CSS and JS support DIST_TUPLE +=3D=09srht bptato chawan v$V . +V =3D=09=090.4.4 =20 CATEGORIES =3D=09www net sysutils HOMEPAGE =3D=09https://chawan.net/ =20 -MAINTAINER =3D=09=09Lydia Sobot <[email protected]> +MAINTAINER =3D=09Lydia Sobot <[email protected]> =20 # Public Domain/Unlicense, # see https://git.sr.ht/~bptato/chawan/tree/HEAD/res/license.md for deps @@ -20,9 +21,9 @@ LIB_DEPENDS =3D=09security/libssh2 archivers/brotli FAKE_FLAGS =3D=09PREFIX=3D${LOCALBASE} MANPREFIX=3D${LOCALBASE}/man TEST_FLAGS =3D=09NIMC=3D"nim --nimcache:${NIMCACHE} c" NIM=3D"nim --nimcac= he:${NIMCACHE}" NIMCACHE =3D=09${WRKDIR}/nimcache -USE_GMAKE =3D=09=09Yes +USE_GMAKE =3D=09Yes =20 -WRKDIST =3D=09=09${WRKDIR}/chawan-v$V +WRKDIST =3D=09${WRKDIR}/chawan-v$V =20 pre-test: =09mkdir -p ${NIMCACHE} -- An attempt to keep the tabbing more consistent? Spelling/grammar looks fine in pkg/DESCR and Makefile.