installworld puts no kernel on the system. build now ends with build.sh kernel=$(KERNEL), install
runs tools/kernel-install.sh on the result: /netbsd with /netbsd.old kept, and the same on
/cgdboot of an encrypted installation, as mxupgrade(8) does. No restart.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
'make all install' has to be the whole update on a running Makronix. 'build' ran build.sh
distribution only, so the makronix set (mcde, /usr/pkg) was never built by it, only by
'make release'. Same two steps as release 2/7 and 3/7, in one lock.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
checkflist stopped the MacBook release with 105 extra files in DESTDIR: ./mnt/dev, ./mnt/pkgsrc,
./mnt/work ... (the sandbox's mount points), plus debris of earlier runs (a nested usr/src tree,
var/tmp/cwdtest*, dev/null, etc/usermgmt.conf), which were removed from build/obj by hand.
The mount points are rmdir'ed now, never rm -rf'ed: a mounted directory is not touched.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The native MacBook build got through every package (mcde-0.1.0, mcde-motif-2.3.8 built) and
stopped here: 'pkg_install-20260227 ... marked as not for deletion'. The target's pkg_install
comes from the distribution; the delete runs against the sysroot (-P $DESTDIR) only.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Under set -e the cat of the absent options.mk ended the key's group before the source id
was written: a commit in ext/src/mcde never changed the key, so the MacBook kept building
the old work directory (UilLexPars.h: File exists, three runs). Optional files get '|| :';
find -L, because the recipe mirror is symlinks and PLIST/patches were not hashed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
sandbox_stale matched " $(fork_recipes) " against " <path> ", but the list is one path per line,
so only the first and the last entry had a space on both sides. x11/mcde-motif is not among
them: its source commit never reached the staleness key and a fix in ext/src/mcde was built
into the old work directory (MacBook 2026-11-24, UilLexPars.h: File exists, again).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
NetBSD fails the extract of every fork with 'xargs: sha256sum: No such file'
(MacBook, 2026-11-24). Same line format, '<hex> <path>'.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On the MacBook every recipe mirror came out empty (realpath: unknown option
-- m), so userland.sh found 'don't know how to make install' for mcde,
splinter, tasksd. Checked with a scratch tree: misc/tasksd links resolve,
no dangling link.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The recipes of the forks are tracked in their submodules and the set carries
them, but a recipe builds only from inside pkgsrc's own tree, so
tools/ext-sync.sh places a mirror at pkgsrc/<category>/<name>. That mirror is
named in pkgsrc's .git/info/exclude, so `git ls-files --others' does not list
it and the copy left it out: a tree built from the set had the recipe in
ext/src/<name>/pkgsrc and no way for pkgsrc to build it. It is written into
the set now, with the symlinks resolved -- a link copied as a link would point
out of the set once it is unpacked somewhere else.
Verified: the staging loop writes pkgsrc/misc/splinter/Makefile and the other
seven mirrors as files, 0 symlinks below the staged pkgsrc, and the content is
the recipe (# $Makronix$ as the first line).
Pins the five forks whose pkgsrc recipe stopped building from a tarball
(719c436, fdbaf84, 8a1b6e4, f85aaed, a7fe287; mcde 91967e9f was pinned by
the commit before). The four servers also carry libmcp's string-argument
fix from the remote, which was rebased onto, not overwritten.
Verified: bmake package built wikid, skilld, memoryd and tasksd from the
tree after the rebase (40-48 kB packages), splinter 505 kB, mcde 16 MB.
Each fork kept a recipe beside its source and a tarball in distfiles/ whose
distinfo had to be regenerated after every commit (tools/ext-dist.sh,
tools/mcde-dist.sh), and the work directory of a build could not see a later
commit at all (tools/ext-resync.sh merged an archive into it). Three tools,
one artefact per fork in git, and the failure mode that cost the 2026-11-23
release: mcde 288d1383 built from the commit of the day before, because the
recipe's mtime said "not stale".
Now the recipe builds the source tree itself, which is how pkgsrc's own
net/fetch and pkgtools/pkg_install do it: DISTFILES= # empty, do-extract
fills WRKSRC. What is gone with that:
- the tarballs (distfiles/{mcde,splinter,junction,wikid,skilld,memoryd,
tasksd}-*) and their .key
- tools/ext-dist.sh, tools/mcde-dist.sh, tools/ext-resync.sh and its test
- fork_archives in tools/makronix-distfiles.sh (nothing to fetch or stage)
- the distinfo files of the eight recipes
What replaces it: tools/ext-extract.sh, called from do-extract. It hashes
the tree, copies only the files that differ, keeps the time stamp of the rest
(so a commit rebuilds what it touched and not 27 minutes of MCDE) and
removes the copy when a file left the tree. The build key of a fork carries
the source commit for the same reason: a commit does not change the recipe.
The recipes keep $Makronix$ as their header; afpfs-ng keeps its upstream
$NetBSD: ...$ line and its real distfile, and fork_src() leaves it alone.
Verified:
- bmake package built all eight recipes from the tree with no distinfo:
splinter, junction, wikid, skilld, memoryd, tasksd, mcde (16 MB), and
mcde-motif's shared tree
- tools/test-tools.sh: 38 ok, 0 bad (5 new cases for ext-extract.sh)
- tools/makronix-distfiles.sh check: 0 missing, 0 wrong hash
- tools/makronix-pins.sh check: PINS matches
perl is a run-time dependency of devel/automake (USE_TOOLS=perl:run), and
NetBSD has no perl in the base system: the chroot build stopped at
"pkg_add: no pkg found for 'perl>=5.0'" (build/logs/release-2026-11-23-mbp1.log:5212).
Cross builds passed only because a Linux host has /usr/bin/perl in PATH.
fetch_binaries looked a package up by the last part of its PKGPATH (lang/perl5
-> perl5); the package is perl-5.44.0nb2. It now reads the name from the
repository summary, which carries PKGPATH, and falls back to the path.
distfiles.lst regenerated as the union of the recipes and the earlier list:
2086 archives, 0 dropped, 10 added. tools/makronix-distfiles.sh verify: matches.
.make_repo read .fetch-files from $ARCH/All, but tools/pkg-binaries.sh writes
it in $ARCH: the manifest was never found, every .tgz looked foreign, and the
282 downloaded packages were deleted before pkg_add could install them
(measured 2026-11-23 on the MacBook: 'userland: 0 packages in
build/packages/amd64/All', then automake failed on 'perl>=5.0' because perl
was gone). The function now keeps its own list, .repo-files, and clears only
what it copied itself.
The second loop wrote $tmp/files again, so .fetch-files had two lines
per package (measured 2026-11-23 on the MacBook: 564 lines for 282
packages). Its size lookup then read the wrong record and threw away
the archives it had just fetched.
pkgsrc removes DESTDIR on package-clean only; an install that died before
writing .install_done leaves the staging tree in place, and the next install
then fails on a file that is already there. pkgconf's
'ln -s pkgconf .destdir/usr/pkg/bin/pkg-config: File exists' stopped
x11/mcde-motif and wm/mcde on the MacBook.
Test: with .build_done and no .install_done the .destdir is removed; with
.install_done it stays. Both cases checked in a scratch tree.
verify compared the list for equality, so a run on Linux (where gmake, m4,
bison, gtar, bash, gsed, libXft are in PATH) rewrote the list without them and
would have broken an offline rebuild on Makronix. Now list only adds, and
verify asks for every implied line to be present, extras allowed.
Test: tools/makronix-distfiles.sh verify -> matches the recipes; the list kept
all 2076 lines, 0 lines lost against HEAD.
make_repo did rm -rf on build/packages/ARCH/All, the directory
tools/pkg-binaries.sh downloads the NetBSD project's binary packages
into: every release deleted the download and fetched it again, four
times on the MacBook on 2026-11-23, 20 minutes each. The manifest and
the key are now written before the first download rather than after the
last, and make_repo clears only what the manifest does not name.
Verified: a directory with a.tgz, b.tgz (in the manifest) and mine.tgz
(not) keeps the first two and loses the third; dash -n on both scripts.
In the chroot path every package of packages.list went through 'install',
which keeps an old registration and builds no archive: build/packages/All
held 64 packages and none of the five the media's repository names, so
make_repo said 'no package for: junction-0.1 wikid-0.1 ...' and the release
stopped. The target is now per package, as the cross path already had it.
build-lock: the nested path (make release -> sourcesets -> build-lock) ran
sh -c without dropping MAKEFLAGS, so step 5 hit the same read-only
.MAKE.LEVEL.ENV as step 4 did.
Debian's bmake exports .MAKE.LEVEL.ENV=MAKELEVEL, and the bmake that comes
with pkgsrc refuses to start with it ('Cannot delete ".MAKE.LEVEL.ENV" as
it is read-only'). Every bmake -V in a package directory came back empty, so
step 4 of a cross release took 0 archives from the shared DISTDIR and then
failed on all 26 it had to fetch.
install removes the .tgz again (_KEEP_BIN_PKGS defaults to no, and install
builds no package to begin with), so the MacBook's build/packages/All held
64 packages and none of the ones packages.list names as repo: make_repo had
nothing to copy and the release stopped there.
make_repo asked show-depends-recursive, which lists the build tools too
(pkgtools/cwrappers, libnbcompat, mktools, digest). Those are built for the
build host and have no package for the target, so every release printed seven
'no package ... .tgz' lines and copied nothing for them. The built package
itself records its run-time dependencies: +CONTENTS has them as
"@pkgdep name>=version". The closure is now read from there and closed until
it stops growing; a missing run-time dependency is still reported.
Test: the five repo packages plus their closure -> 5 tgz, 'missing: none';
the eight-package pkgtools noise is gone.
grep exits 1 when every line is filtered out -- which is exactly the good
case, every submodule at its pin. Under set -e the script died there in
silence (measured 2026-11-23: step 2, exit 1, no message, no work done).
`|| true' on the pipeline.
The reference trees are tens of gigabytes (the Linux kernel alone) and no
build step reads them: srctree-stage.sh keeps them out of the source set. A
fresh clone's `make release` pulled 36 GB before the timeout (measured
2026-11-23). refs/ is filtered out; the rest of the pinned submodules are
checked out.
A fresh clone has none of pkgsrc, ext/src/* checked out, and the release dies
in step 2 with 'no pkgsrc/bootstrap (pkgsrc submodule, PINS)'. The tree
carries everything it needs, so the build fetches it: the pinned submodules
are checked out at the start of userland, pkgsrc and the ext/ forks are then
required to be there, and the private trees the build does not read only warn.
Test: git submodule status marks the five private trees '-' (krang, sshcrypt,
kidstube, mikronix, CNCL) and the awk selects exactly those; a missing
pkgsrc/bootstrap dies with the message above.
pkgsrc's DISTDIR default is ${PKGSRCDIR}/distfiles, and PKGSRCDIR is
/usr/src/pkgsrc -- but tools/makronix-distfiles.sh stages the archives into
/usr/src/distfiles, and srctree-stage.sh puts them there in the source set.
On the installed system 'make -V DISTDIR' inside /usr/src/pkgsrc/wm/mcde
printed ${PKGSRCDIR}/distfiles while mcde-0.1.0.tar.gz lay one directory
up (measured 2026-11-23 on the MacBook), so a package build fetched an
archive it already had or failed without a network.
The file is what mk.conf(5) makes of /etc/mk.conf: one setting, a config
file at mode 644 that an update does not rewrite. It is in the etc set
(lists/etc/mi, etc-sys-etc) and installed from src/etc/Makefile with the
other CONFIGFILES.
Verified: the file was written by tools/makronix-distfiles.sh stage earlier
this session (1644 archives in /usr/src/distfiles on the running system);
bmake -V DISTDIR in src/etc is checked with the build that carries it.
pkgsrc/ stopped being an ignored copy at the top of the tree: it is a git
submodule of github.com/NetBSD/pkgsrc, pinned in PINS, so a fresh clone
gets it with 'git submodule update' and make release has what it needs.
The mtime test said nothing on the MacBook: a git checkout does not renew the
time of a file whose content changed in an earlier commit, so
/usr/src/pkgsrc/wm/mcde/Makefile kept 2026-11-22 10:27 after mcde 288d1383 was
checked out, and the work directory of 21:55 counted as newer. The release
then installed the binary of the day before again (run f, 12:30: no rebuild).
sandbox_stale() now hashes what the build reads -- Makefile, options.mk,
patches, PLIST, distinfo (which tools/ext-dist.sh writes from the archive) --
and compares that with the key it stored after the last build. A package
without a key is rebuilt once, which is the cost of the fix.
Test: key for wm/mcde computes (dc7b25d0...); dash -n; the release is not run
with it yet.
A fresh clone has empty directories where the submodules would be, and the
source set only needs the ones the build reads (the forks of ext/ and pkgsrc).
The rest -- krang, sshcrypt, kidstube, CNCL, mikronix -- are repositories whose
remotes ask for a password, so 'git submodule update --recursive' aborts on
them (measured 2026-11-23 on the MacBook, ext/src/mikronix) and step 5 of
make release then died on 'submodule ... is not checked out'.
Test: dash -n; the check is ls -A on the directory, and the root file list
already drops each submodule path before pax runs.
pkgsrc was gitignored, so a fresh checkout of the tree had no pkgsrc at all
and tools/userland.sh could not build a single package. It is a submodule
now (.gitmodules, pinned 3c1118e9 in PINS), like the forks of ext/.
The five server recipes (junction, wikid, skilld, memoryd, tasksd) had their
distfiles built but untracked: tools/makronix-distfiles.sh check counted them
as missing, so the source set could not be staged from a clean clone. They
are part of the repository now, like splinter's and MCDE's.
Test: git ls-files -s shows the gitlink for pkgsrc; git check-ignore says the
distfiles are not ignored; git status is clean for distfiles/.
Two bugs made the native release ship code from the day before:
- tools/pkgchroot.sh ran 'install' in a work directory pkgsrc had already
built. pkg_add printed 'already recorded as installed' and the step
counted as done, so MCDE and splinter in the 2026-11-23e run were the
binaries of 2026-11-22 21:39 while their distfiles were written 08:38
(build/logs/release-2026-11-23e.log:30,44). sandbox_stale() now drops a
work directory that is older than its recipe, and the old registration
goes with it -- the cross path in tools/userland.sh did that already.
- ensure_bootstrap returned at once for every mode but cross, so a fresh
tree without build/pkg stopped in tools/makronix-set.sh (pkg_info) and in
the reinstall logic (pkg_delete). It now bootstraps in all three modes.
The target system needs none of it: /usr/bin/make and /usr/sbin/pkg_add are
in base-util-bin and base-pkgutil-bin.
Test: sandbox_stale() against a work directory dated 2026-11-22 21:39 and
the recipe of 2026-11-23 -- stale: removed; fresh: kept. dash -n on both
scripts. The release itself is not run yet.
ext/src/mcde 288d1383: dtphoto, one CMD_SHOWOPTIONS case
ext/src/splinter f7c374b: embed.c, <signal.h> for kill/SIGKILL
misc/splinter stopped in the cross build of make release: memcpy() is a
three-argument macro in NetBSD's ssp/string.h and the commas of a compound
literal counted as its arguments. The fork builds its colours with rgb()
now. Test: clean make -j8 in the submodule, binary runs.
make release on the MacBook (build/logs/release-2026-11-23d.log): src/mcp.c:640
'implicit declaration of function usleep'.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
make release on the MacBook (build/logs/pkg-binaries-amd64.log): 24 packages 'is N bytes, want M'; the
cached pkg_summary.repo.gz was from 2026-11-19.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
make release on the MacBook (build/logs/release-2026-11-23b.log): junction, wikid, skilld, memoryd, tasksd
'has an unacceptable license condition: cncl-1.0'.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ext/src/mcde is the gitlink of hiddenbox/mcde at 222417e6, which carries the 27
commits of plain-file MCDE work (dtphoto, dtbar, dtsystemsettings, dtwm, icons)
merged into the fork by hand. splinter: the pin with its pkgsrc recipe.
.gitmodules is the union. tools/pkgchroot.sh and README.md take kropa's
(newer) version.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Two bugs, both measured on 2026-11-22 while rebuilding wm/mcde:
1. `force' ran `clean' + `reinstall'. reinstall is `install-clean
install' (mk/install/deinstall.mk:50) and install-clean only removes
state files, it does not deinstall. So pkg_add saw the package
already recorded, refused with "package `mcde-0.1.0' already
recorded as installed" and returned 0 -- the sysroot kept the
pre-fix binaries: dtphoto stayed at 15:15 while the binary package
carried the 21:28 build. pkgsrc documents the way itself in
mk/install/install.mk:225: `make deinstall reinstall'. `deinstall
|| true' because the package may not be installed yet.
2. sandbox_mount set `trap umount_all EXIT INT TERM HUP', so the
`mount' subcommand unmounted everything again before the caller
could use it, and still printed "pkgchroot: mounted". The trap
belongs to the modes that mount and work: build and force.
Test: `pkgchroot.sh mount' leaves 5 mounts standing and
/mnt/pkgsrc/wm/mcde is visible in the chroot; `pkgchroot.sh umount'
brings it back to 0. `deinstall' in the chroot removed
/usr/pkg/dt/bin/dtphoto and deregistered mcde-0.1.0.
dtphoto.c compiled without M_PI (not in POSIX, and _POSIX_C_SOURCE hides
it) and with a memcpy that _FORTIFY_SOURCE saw as five arguments, because
a compound literal put its commas between memcpy own ones. The paket
build stopped on both. Test: the source compiles with -std=gnu11
-D_FORTIFY_SOURCE=2, and the fork main is 4e51d6dd.
The dev tree has mcde-desktop.sh; the .deb path (/usr/mdt, /etc/mdt) had
no test that logs in. This one starts dtlogin on :94 against the
installed package, logs in with pam_permit, and requires the front
panel's Applications menu in the window tree.
Three things it learned in the runs, each a real failure first:
- -ac on the Xvfb line: dtlogin starts the server as nobody and nothing
can look at it otherwise (xwininfo, xdotool, import all refused).
- Roll dtlogin.log before the run: a previous run's "Greeter started"
satisfied the wait loop and the test measured a display that never
came up.
- Kill the display's dtlogin and its Xvfb BEFORE restoring $HOME/.dt:
dtsession writes sessions/current and errorlog on its way out, and a
copy put back while it still ran was written over again.
Also: dtsession restores the last session, so without an empty $HOME/.dt
the screenshot showed the user's own Firefox and xterm, not the package
(a 682k-pixel white block). $HOME/.dt is backed up and restored, and
the session's copy is kept in build/dtlogin-check/home.dt.session.
Test: sh tools/dtlogin-check.sh -> rc=0, clients dtwm, dtlaunch,
dtterm, mcdesoundd; screenshot is the MCDE desktop (no Firefox);
diff of $HOME/.dt against the pre-run copy: IDENTISCH.
The NLS catalogs (Dtwm, Dtstyle and sys.font in 18 locales) still carried the
wide CDE "-dt-interface" strings and overrode the source defaults; they are
Adobe Helvetica 14/12/10 now, the sizes of the 4DWm reference. The dtwm
title and menus stay at 14 px bold oblique. The submodule is 7c9347dc; the
distfile is 67,131,128 bytes and its distinfo matches it.
Measured: gencat rc=0 on the C catalogs and the compiled Dtwm.cat contains
-adobe-helvetica-medium-r-normal--14-*; cpp -DWIDTH=1280 selects Helvetica
14; make -C programs/dtwm rc=0 and make -C programs/dtsession rc=0, 0 errors.
The by-file index beside the package database is a cache, and pkg_add trusts
it without checking the database: after a `force' run had removed packages,
it still named digest-20220214 as the owner of /usr/pkg/bin/digest -- a
package that was not registered and a file that did not exist. pkg_add then
reported "digest-20220214: conflicting PLIST with digest-20220214: bin/digest"
against itself and would not install the tool, so every build that needed
something from the sysroot stopped. Measured 2026-11-22: 45 packages were
left deleted, and none of them could be reinstalled.
sandbox_index() rebuilds the index from the +CONTENTS of the packages that
are registered, so it can only name packages that exist. It runs at the end
of sandbox_mount(), before any build starts, and uses the sysroot's own
pkg_admin (/usr/sbin: the package tools are part of a base set since they
moved there), so the index format matches the pkg_add inside the chroot.
Measured: with the stale index, `tools/pkgchroot.sh force pkgtools/digest'
failed with the self-conflict above; after `pkg_admin -K ... rebuild' it
built and installed (rc=0, 14131 files from 86 packages).
dtsession's sys.resources and sys.font select Adobe Helvetica 14/12/10
instead of the wider CDE "-dt-interface system" face; the dtwm title and
menus stay at the 4DWm reference 14 bold oblique, the panel at 14/13/10.
The submodule is d2834491; the distfile is 67,131,895 bytes and its distinfo
matches it.
Measured: cpp -P -DXCOMM=# -DWIDTH=1280 sys.resources.src selects
-adobe-helvetica-medium-r-normal--14-* for FontList/button/label/text;
make -C programs/dtwm rc=0 and make -C programs/dtsession rc=0, 0 errors.
The front panel's form is a Motif drop site for FILENAME transfers: a
dropped executable joins the dock (`~/.dt/panel-apps`), a folder opens as
`dtfile -dir`, a plain file is ignored. dtfile is the source with
DtDndDragStart. The submodule is ab00c218; the distfile is 67,130,796 bytes
and its distinfo matches it.
Measured: make -C programs/dtwm rc=0, 0 errors; make -C programs/dtfile
rc=0, 0 errors.
Konrad, 2026-11-22: "i want mcde to support 'make debian' and it'll fully
create and download all required build dependencies and shit and make debian
debian-install would make the deb and all and then even install" and
"inkluding our own motif stuff xyz".
tools/mcde-debian.sh does the three steps in one lock:
build installs the build dependencies through apt-get (the ones
configure.ac stops on and each -dev the tree compiles against),
builds MCDE from a copy of ext/src/mcde with the path step of
tools/mcde-host.sh, installs into build/mcde-debian-stage, strips,
and packs build/mcde-debian/mcde_<version>_<arch>.deb
install installs that package
clean removes both directories
The package carries its own Motif: libXm, libMrm, libUil, the uil compiler
and the headers live in /usr/mdt, so the desktop runs from its own toolkit
and never from the system's libxm4 (--with-private-motif, as Konrad asked).
Four things cost a run each and are written where they bit:
- dpkg-shlibdeps matches a shlibs line on the SONAME version (libXm.so.4 ->
4), not on the file version (4.0.4). With 4.0.4 it ignored the line, found
the system's libxm4 and put it in Depends.
- -L is the override file dpkg-shlibdeps READS; -T is where it writes the
substvars it produced. The first version passed -T and got nothing.
- -x$PKG, or the package depends on itself (every binary links /usr/mdt/lib).
- The version carries the commit, so a rebuild leaves a second .deb beside
the first and `dpkg -i *.deb' installs both -- the older wins. One package,
one file: the old one goes.
debian-mcde/ holds what the package manager cannot do for the desktop: the
control paragraph, a postinst that indexes the fonts MCDE carries under
/usr/mdt/fonts for the X server, and the session entry (Type=XSession,
/usr/share/xsessions/mcde.desktop) -- without it a display manager lists the
host's desktops and not MCDE.
Verified on this host (2026-11-22):
bmake debian from an empty build/mcde-debian exit=0,
build/mcde-debian/mcde_0.1.0+git420f66c19e_amd64.deb (42M, 180280 KiB
installed, 4583 files)
Depends is free of libxm4/libuil4/libmrm4 and free of mcde itself
the package carries usr/mdt/lib/libXm.so.4.0.4, libMrm, libUil and the
uil compiler; /etc/pam.d/dtlogin and dtsession are conffiles
dpkg -i installs it, postinst runs
ldd /usr/mdt/bin/dtwm -> /usr/mdt/lib/libXm.so.4 (its own)
on a private Xvfb: dtsession, dtwm, dtlaunch, dtpad, dtfile and the
front panel (Applications/Files/Desktop/System/Network) run, no errors
bmake debian-install exit=0, "mcde 0.1.0+git420f66c19e install ok
installed", 0 upgraded / 0 newly installed
AGENTS.md and docs/BUILD-CONTRACT.md list mcde-debian.sh among the tools that
need the build lock, next to mcde-host.sh.
t0768
The PSD paragraphs still said TIFF and PSD were open and that saving
wrote anything unknown as BMP. PSD has been read and written for a while
now, so the two places that said otherwise are corrected.
The RLE layout is the part worth remembering: Photoshop writes all the row
lengths first, then the rows. The first version interleaved them and the
program's own reader interleaved them the same way, so the round trip was
green while the file was wrong. ImageMagick said InvalidLength; after both
sides changed it reads the composite and the layer at the pixels the test
wrote.
Measured 2026-11-22: 13 headless tests x 2 depths (24 and 8) green, a 64x64
picture with one hard edge 2436 bytes packed against 12530 raw, and
`-psdread` reads a 16x12 file ImageMagick wrote.
Tested: menutest optest selmodtest retouchtest movetest croptest typetest
cliptest viewtest drawtest layertest psdtest rletest on :91 (depth 24) and
:98 (depth 8) -- 26 of 26 PASS.
The files were listed, the directories were not: checkflist reported
./etc/junction and ./etc/splinter as extra (measured 2026-11-22 on the
MacBook; the /opt/src gate).
The source set carries the projects Makronix ships under usr/src/ext/src/<name>
(ext/AGENTS.md); an installed system also gets /opt/src there, where the other
trees live. /opt is a directory in NetBSD.dist.base, the link is a
CONFIGSYMLINKS pair (as /etc/rmt is), and the base set list carries both.
The link is dangling until the source set is installed, by design: without
the sources there is nothing to point at.
The distfile is made with the tree-based mcde-dist (67,130,261 bytes, 38 less
than the commit archive) and the submodule distinfo da3f2019 is for exactly
that file.
The other agent archives SRCREV^{tree} in mcde-dist.sh (no pax header that
changes with every commit) and brought dtphoto and the libDtChat tests; the
UTF-8 title work is in the submodule at 313ba2bd. The distfile is
67,130,487 bytes and the distinfo matches it.
git archive COMMIT writes "52 comment=<commit>" as a pax_global_header into
the tar, 38 bytes that change with every commit. Two commits with the same
source tree therefore gave different archives, and a rebuild from a cleared
DISTDIR produced a checksum pkgsrc refuses against the distinfo in the tree:
4fead8a3 (the merge) 67,122,036 bytes, BLAKE2s bb9d08d3...
c6441410 (+ pkgsrc/distinfo) 67,122,047 bytes, BLAKE2s ecad6283...
The .key check hid it: the key hashes ls-tree, which does not see the commit
id, so the tool said "archive unchanged" and never rebuilt. The archive now
comes from SRCREV^{tree}, the object that holds exactly what goes into the
package and carries no header.
Measured 2026-11-22 on the build host: both commits give 67,121,814 bytes,
BLAKE2s dd809aaa06af65128886c0741088174178a9dabb76cbb3a813da77d8557c04b7,
byte-identical across two runs with distfiles/ emptied in between.
ext-dist.sh is not affected: it archives REV:ext/src/NAME, a path, and git
writes no header for those (2,099,200 bytes twice, no pax_global_header).
dtwm keeps the title as UTF-8 text and draws it with an XFontSet of the
reference's Helvetica 14 bold oblique plus an ISO10646 fallback; the
_NET_WM_NAME atoms are interned even without EWMH, a compound-text WM_NAME is
converted with _XmStringUngenerate, and 0010.language gives a session without
a language LC_CTYPE=C.UTF-8 (XCreateFontSet builds for the locale; in C the
set had only ASCII).
The source commit is 067b95ec; the distfile and its distinfo are made again
from it (67,012,558 bytes).
Measured: make -C programs/dtwm rc=0, 0 errors; the MacBook title bar reads
"Grüße" in the IRIX face.
stays inside it
Three faults in Edit, all measured against pixels:
- Copy took the bounding rectangle of the selection, so Paste brought
back what a lasso had excluded. The clipboard is now RGB plus one
coverage byte per pixel (PasteBlend/SelectFromCover), not a pixmap,
which also blends a feathered edge and keeps both depths identical.
- Cut was MaskClear plus a full XFillRectangle: cutting a lasso wiped
the whole picture. It is now Copy followed by PaintMask, which is
mask-aware.
- Paste Into called PasteFromClip() with no limit and was a second
Paste; it now clips to the selection's coverage.
And one fault at the root: MaskFromRect() called MaskClear(), which
drops hasSel, after every caller had set hasSel = 1 -- so the marquee
produced a mask nothing believed in. Copy fell back to the whole
picture, Clear/Fill/Crop ignored the rectangle. MaskFromRect claims
the selection itself now, and no caller has to remember.
Evidence:
-cliptest PASS on depth 24 and depth 8: lasso hole kept through
Copy/Paste, cut-left/cut-right outside the band intact,
paste-into limited to the selection, soft paste blends,
a whole-picture clip stays opaque.
full run 24 green, 0 red (12 modes x 2 depths)
mouse dragged 60x60 box -> "dtphoto: copied 60x60";
Select > None, same Copy -> "dtphoto: copied 1024x768";
Edit > Cut -> "copied 60x60" then "cut";
Edit > Paste Into -> "pasted 60x60 into the selection"
A new layer used to be a white sheet that hid the picture: layers carried
RGB only, so nothing could say "this pixel is empty". LayerAbsorb made it
worse by copying the whole composite into the active layer, so the layer
below appeared twice.
- Layer carries coverage (0..255 per pixel) beside RGB; the background has
none (it covers everything), a new layer starts with an empty one, and
WritePatch sets the coverage of the layer being painted, so a stroke is
opaque while the rest of the layer stays clear.
- LayerAbsorb takes only the covered pixels of a layer that has coverage;
the background still takes the whole picture.
- The Layers palette is a list, not a label: one row per layer, top of the
stack first, an eye to hide it, the name to make it active. Rows are
rebuilt where the stack changes (new/duplicate/delete/merge), never from
inside a row's own callback.
- Layer Options sets opacity and blend mode through FieldDialog, and does
not absorb first: a property is not new pixels, and reading the composite
back baked the old blend in (50% gave 127,0,0; multiply over white went
black).
- New -layertest drives the real CanvasInput -- stack first, then the
stroke, the order that matters, because LayerEnsure after the stroke
would read the pixmap back and hide the fault.
Verified: 26/26 green (13 modes on depth 24 and depth 8), 206 menu paths
bound, 0 unbound, 0 doubled; build without warnings.
-menutest read only the command table against itself, so a menu line with
no command stayed invisible: it could be green while an entry did nothing.
It now reads dtphoto.menu and counts what resolves to no command -- 206
items, 0 unbound. Counter-check: Select/Grow set to CMD_NONE makes it
print "1 unbound" and FAIL.
Four entries only refused before and now work: Window > Show Commands
opens a palette listing the command table itself (206 rows, measured
206x26 px of text in the widget, so it cannot drift from the menu),
Publisher Options sets the EPS resolution (72 and 288 dpi, the
%%BoundingBox scales with it), Adjustment Options the default for new
adjustment layers, and Show Channels/Show Paths show measurements from the
picture and the lasso path. File > Acquire still refuses: there is no
scan source, and saying so beats a button that does nothing.
Real bug found on the way: Layer > Type > Horizontal/Vertical switched to
tool 7, which is crop; type is slot 8.
Measured on both depths (TrueColor :91, PseudoColor :98): 14 tests x 2 =
28 green, 0 red -- filtertest optest drawtest seltest movetest croftest
croptest typetest retouchtest selecttest selmodtest menutest exporttest
placetest printtest (the last with MCDE_PRINT_COMMAND=/tmp/dtpbin/lp,
230454 bytes spooled).
README.md collects what Makronix is, the repository layout, the one build
entry point and its gate, the installer/desktop/media design, offline
sources, platforms, the documentation map and the contribution rules from
AGENTS.md, GOAL.md and docs/BUILD-CONTRACT.md. It describes the tree as it
is on main: ext/src/* are submodules, distfiles/ is in the repository, and
the version is 0.99.11 (src/sys/conf/makronix-release) with 0.99.10
"Camouflage" as the last named release.
Remove .claude/ from the repository and ignore it: AGENTS.md is the
harness-independent convention. Root AGENTS.md and tools/AGENTS.md now
describe tools/claude-build-gate.sh as a build gate rather than a Claude
hook; docs/reference/AGENTS.md notes the removal of the archived directory.
build/ becomes build/* in .gitignore: git cannot re-include a file from an
excluded directory, so "build/ + !build/AGENTS.md" never worked and the
one tracked file the comment promises was never addable.
Verification: every relative link checked with git cat-file -e against main
(16 links, 0 dead, after build/AGENTS.md became addable); measured in a
throwaway repo that build/* adds build/AGENTS.md and still ignores
build/sub/x.o; make targets read from the root Makefile and
docs/BUILD-CONTRACT.md; 0.99.11 from src/sys/conf/makronix-release.
The full pkgchroot build found that ShowPane still called MakeStartupDisk
after the Startup Disk pane was removed; startupdisk.c is not built, so
dtsystemsettings did not link ("undefined reference to MakeStartupDisk").
The branch is gone in 345c5410, and the distfile and its distinfo are made
again from that commit: 67,010,401 bytes.
Measured: make -C programs/dtsystemsettings rc=0, 0 errors (the MacBook
build of this file, /tmp/dtsettings-build.log).
-filtertest now also covers the six entry points that sat outside every
test: CMYK Preview (must not flatten the picture to one colour), Gamut
Warning (saturated ink -> warning grey 128, printable pixel untouched),
the 5x5 Custom identity kernel, Perspective (0% identity, 50% reads the
top-left from inside the picture), a 90 degree Affine rotation as a
permutation, and Drop Shadow leaving the picture's own pixels alone.
That permutation check found a real bug: OpAffine mapped around w/2
instead of (w-1)/2, so a 90 degree turn of a 24-wide picture lost a whole
row to the background -- 552 of 576 pixels hit. Every sampler that maps
by inverse mapping now uses the same centre.
Measured: 12 test modes x depth 24 and depth 8 = 24/24 green, build with
0 warnings (make dtphoto, forced rebuild). The three false expectations
I wrote first were my arithmetic, not the code: gamut marks by ink above
0.9 (250,30,30 is 0.88), perspective squeezes towards the top so the
corner reads from inside, and (9,4) is 2 px from the edge.
-filtertest hands a structured 24x24 picture to every remaining filter
-- the four blurs, unsharp, high pass, find edges, emboss, trace contour,
facet, fragment, median, offset, clouds, crystallize, pointillize, color
halftone, mezzotint, diffuse, extrude, tiles, wind, deinterlace, NTSC
colors, dust and scratches, the nine distortions and the Image mode
family -- and checks a property of the result, not "it changed":
grayscale leaves r == g == b, bitmap only 0 and 255, indexed 4 only the
ladder 0/85/170/255, offset is a permutation (same sum and sum of
squares), equalize never narrows the range, inverting twice returns the
picture.
Two of those are judged against what the display can hold. On a
256-cell PseudoColor map a second inversion of a 576-colour picture
drifts 42/255 -- the map, not the operation -- so the involution runs on
a four-colour picture (floor 0) and grayscale gets the 10/255 the
nearest-cell search costs. The test prints the floor it measured (0 on
TrueColor, 30 on PseudoColor) instead of carrying a guessed tolerance.
XmLoc is now the one place that casts a catalogue string for
XmStringCreateLocalized: Tr promises const because its English fallback
is a literal, the widget asks for char *. Six dialogs warned before,
the file builds without a single warning now.
Measured on Xvfb 1024x768x24 (:91) and x8 (:98): menutest, viewtest,
optest, selmodtest, retouchtest, selecttest, movetest, croptest,
typetest, drawtest, filtertest all PASS on both depths (22), plus
selftest PASS (64x48) on both -- 24 of 24 green, 0 build warnings.
All 206 paths of dtphoto.menu resolve to a command the callback switches
on. The table had 43 doubled entries and 11 paths that named a menu
entry the menu does not have ("Image/Adjust/Image Size..." instead of
"Image/Image Size...", "@3.0" tags the reader already strips); both are
gone, CommandOf walks the table to its NULL entry, and -menutest now
proves the table against itself: 206 paths, 0 doubled, 0 bad, and an
unknown path stays CMD_NONE. DTPHOTO_CMDS=1 used to bind 38, now 206,
none on CMD_NONE.
The View switches were flags nobody read. SnapX/SnapY pull a marquee or
crop drag onto the grid or a guide a guide in reach wins over the grid,
Lock Guides refuses new and keeps existing ones), DrawGuides paints the
grid, the guides and the rulers on the canvas and not into the picture.
Two new headless tests, both green on depth 24 and depth 8:
-viewtest snapping arithmetic: 37 -> 32 on a 16 grid, 40 -> 48, a
guide at 35 catches 37, a vertical guide leaves y alone,
locked guides neither grow nor clear.
-drawtest counts the pixels on a real pixmap: grid 12509, one guide
280 (= the canvas height), rulers 558 and none of them
inside the canvas.
Measured: drawtest, viewtest, menutest, optest, selmodtest, retouchtest,
selecttest, movetest, croptest, typetest -> 20 green, 0 red (10 tests x
depth 24/depth 8); -selftest PASS on both, byte-identical output.
Three submodule commits:
- 753c0f83 dtwm: the desktop icons stay above the wallpaper -- the icons are
override-redirect and XLowerWindow put them below the backdrop window, so
they were mapped but invisible on the MacBook. DeskMap lowers the
backdrops too; the screenshot shows them.
- dd05d43c libDtChat: link libiconv -- the library used iconv without
carrying LTLIBICONV, so dtchat, dtchat-headless and dtchat-irc did not
link.
- 285ea4b3 README: MCDE, not CDE -- the new README, the two screenshots from
the MacBook and LICENSE.CNCL (CDE keeps COPYING/LGPL).
dtphoto read only BMP and ICO and wrote only BMP; PNG, JPEG and GIF were
listed as open in docs/MCDE-PROGRAMS.md since 2026-11-12. The reader was
already there: McdeThumbRead in libDtSvc has all five formats, is X-free and
is what dtfile uses for its miniatures. dtphoto calls it for everything its
own reader does not know, so the program carries no second decoder.
There was no picture writer anywhere in the tree, so McdeThumbWrite now sits
next to the reader: PNG through libpng's simplified API, BMP in C99, the
ending decides, an unknown ending is refused instead of silently becoming a
BMP.
Measured on Xvfb depth 24 (2026-11-22):
- 40x30 PNG -> PNG, 1200 of 1200 pixels identical, CRC checked.
- 40x30 GIF -> PNG, 0 of 1200 pixels different.
- 40x30 JPEG q100 -> PNG, at most 3 steps per channel (compression, not the
reader); the same picture written from libpng is 0 steps.
- Depth 8: a 32-colour picture comes back 0 of 256 pixels different; a
1200-colour ramp differs by mean 28.6/255, which is the colormap -- the
same ramp is 0 on depth 24.
test_thumb writes a 13x7 ramp (every pixel unique) as PNG and BMP and reads
it back pixel for pixel. Proved the test bites: writing the BMP rows
top-down turns it red at 78 of 91 pixels, PNG_FORMAT_BGR at 91 of 91. The
unknown-ending and zero-size cases are checked too.
dtphoto: the file dialog filters on every format it reads, not on *.bmp.
All 18 dtphoto test modes stay green on depth 24 and depth 8, test_thumb ok.
README.md collects what Makronix is, the repository layout, the one build
entry point and its gate, the installer/desktop/media design, offline
sources, platforms, the documentation map and the contribution rules from
AGENTS.md, GOAL.md and docs/BUILD-CONTRACT.md. All relative links resolve.
Remove .claude/ from the repository and ignore it: AGENTS.md is the
harness-independent convention. Root AGENTS.md and tools/AGENTS.md now
describe tools/claude-build-gate.sh as a build gate rather than a Claude
hook; docs/reference/AGENTS.md notes the removal of the archived directory.
Verification: sh -n tools/claude-build-gate.sh ok; tools/claude-build-gate-test.sh
25 ok, 0 bad; git check-ignore -v .claude/settings.json matches /.claude/;
README links checked against the tree.
got (Game of Trees, pkgsrc devel/got) is installed in the makronix set as a
second, OpenBSD-style VCS for Git repositories. It does not replace
git-base: Makronix's build calls `git archive`, `ls-files`, `ls-tree`,
`rev-parse`, `config`, `reset`, `restore` and `submodule`, and got has no
such commands -- a `git` symlink to got would stop `make release` (measured
on got-portable 0.127, the command lists). Konrad chose got in addition,
git stays (2026-11-22).
Measured: tools/pkglist.sh bin lists devel/got next to devel/git-base.
Image: Invert, Desaturate, Brightness/Contrast, Flip horizontal/vertical,
Rotate 180/90 CW/90 CCW, Image Size and Canvas Size. Filter: Blur,
Blur More, Sharpen, Sharpen More, Find Edges, Emboss, Solarize, Add Noise,
Median/Despeckle, Mosaic. All of them read and write through the same RGB
buffer, so no operation costs an X round trip per pixel.
Two bugs found while wiring them:
- A per-pixel correction ignored the selection. Invert, Desaturate,
Brightness and Solarize changed the whole picture even with a mask.
They now share OpPerPixel, so a new operation cannot forget the mask.
- A menu entry was bound by its label, but the reference has "Horizontal"
in Image > Flip and in Layer > Type. CommandOf takes the full path now
("Image/Flip/Horizontal"), the reader stores it in Item.path.
Verified, depth 24 and depth 8, 16 runs, 0 red:
- -menutest: 31 paths each resolve to the command the callback switches
on; an unknown path stays CMD_NONE.
- -optest against the arithmetic, not "the picture changed": a hard edge
blurred to 170 (six of nine window pixels white), the same edge
sharpened clamped to 255 and 0, mosaic cells to their mean (100,30,128),
noise deterministic and inside the range, mask inside changed and
outside untouched.
- -selftest on a 1024x768 24-bit BMP: byte-identical (2,359,350 bytes,
0 differing).
- -retouchtest -selecttest -movetest -croptest -typetest still green.
- DTPHOTO_CMDS=1 reports 37 bound entries, the 11 Filter paths among them.
Since ext/src/mcde and the other projects are submodules, `git ls-files` names
each one as a single gitlink -- and pax -rw, given that path, copied the whole
working tree behind it: .git and build output included. The root copy leaves
the gitlinks out now, and each submodule's tracked files are copied on their
own, so the source set carries the source and nothing else.
refs/ stays out as before: its five submodules are the 11 GB reference
checkouts, and only refs/AGENTS.md is part of a rebuild (the header says why).
Measured on the MacBook-built tree here:
- 7 submodules copied: splinter, krang, sshcrypt, kidstube, CNCL, mikronix,
mcde (~303 MB together, mcde 286 MB).
- mcde alone: 19,591 files copied == `git -C ext/src/mcde ls-files | wc -l`,
`find -name .git` = 0.
- sh -n tools/srctree-stage.sh rc=0.
Six rc.d scripts, all off by default (junction=YES etc. in /etc/rc.conf):
junction (the policy router, 127.0.0.1:8090), splinter (its MCP registry,
8098), wikid (8796), skilld (8790), tasksd (8781) and memoryd (8795).
The programs run in the foreground, so command_args ends in "&"; stop finds
them by their command, they write no pid file.
/etc/junction/junction.conf is a loopback listener with no endpoints and no
rules: a request is answered 503 naming why until one is added (the commented
block is the smallest working setup). /etc/splinter/splinter.conf has one
provider, the local junction, so the routing decision stays in
/etc/junction/junction.conf and not in splinter.
wikid and memoryd take their embeddings from the local junction and keep
their data in /var/db/<name>; each start_precmd makes the directory. skilld
and tasksd use their own stores, /var/db/skilld and /var/db/tasksd.
The scripts are installed by src/etc/rc.d/Makefile, the configurations by the
subdir loop in src/etc/Makefile, the directories by NetBSD.dist.base, and the
set list (src/distrib/sets/lists/etc/mi) carries all eight files.
Measured: sh -n on all six rc=0; /sbin/rcorder rc.d/* rc=0, junction at 113
before splinter (117), no stderr.
sandbox_run() assigned c=$1 and p=${1%/*} without local, so the second
sandbox_run in force's loop saw p=wm instead of p=wm/mcde: `pkgchroot force
wm/mcde` cleaned mcde and then ran `make -C /mnt/pkgsrc/wm reinstall`, a bulk
reinstall of every window manager in the category (measured 2026-11-22 on the
MacBook: after "Cleaning for mcde-0.1.0" it began to fetch 2bwm and afterstep).
The variables are prefixed (sr_path, sr_dir) so they cannot collide with a
caller's loop variable.
Measured: sh -n tools/pkgchroot.sh rc=0.
The "archive unchanged" check in tools/mcde-dist.sh was broken on NetBSD
(sha256sum does not exist, the key was empty), so the distfile was never
remade after the 64x64 icons and the AGENTS.md update: 66,941,013 bytes with
the old AGENTS.md (58,298) and the 32x32 pictures. Every build from it built
the old desktop.
The fixed script made the archive the submodule's tree really is:
66,940,999 bytes, AGENTS.md 61,013 bytes, IrixDisk.m.pm "64 64". Its
distinfo is be056d34 in the submodule; this commit bumps the gitlink and
carries the distfile and its key.
Measured: tools/mcde-dist.sh twice, the second run "archive unchanged
(HEAD ..., mcde 3d79fc80)".
The fork's history is split out (git subtree split -P ext/src/mcde, 404
commits) and pushed to git.kropa.tech/hiddenbox/mcde. This tree records the
commit 3d79fc80ca01e5afc94ea87db3c5a5f16c2284b5, whose tree is byte for byte
the tree of the last in-tree commit c723c7f277 for this path.
tools/mcde-dist.sh archives the submodule now: `git archive REV:ext/src/mcde'
in the parent writes an empty directory, because git does not descend into a
gitlink. The key beside the archive is hashed with sha256 when sha256sum is
missing -- NetBSD has no sha256sum, so the key was empty and the "archive
unchanged" comparison meaningless (measured 2026-11-22).
ext/AGENTS.md: a change to MCDE is a commit in the submodule, then a gitlink
bump here.
Measured: git submodule status -> 3d79fc80...; git rev-parse
c723c7f277:ext/src/mcde, mcde-split^{tree} and HEAD:ext/src/mcde are all
7469d5a621.
The selection was a rectangle, so the lasso, the magic wand and every
command that should honour a selected shape had nothing to work on. It
is a bit mask now: the lasso collects a path, the wand floods by colour
distance, Select > Inverse and Edit > Clear read the same mask, and a
command paints only inside it.
Move and Crop had no press or motion branch at all -- two of the 22
buttons did nothing. Move snapshots picture and mask at the press and
rebuilds from that snapshot on every motion event: rebuilding from the
last frame walks the pixels twice as far, and the release must not
recompute the offset, because a drag that ends on the frame gives a
position outside the canvas and moved the picture back. Without a
selection it moves the whole picture, as the original does. Crop drags
a rectangle and crops to it on release. Type opens a prompt and draws
one line over an undo snapshot (the drawing moved out of the dialog
callback so it is reachable without a dialog). The magnifier doubles on
the left button and halves on the right, the hand pans the view.
The six retouching tools (blur, sharpen, smudge, dodge, burn, sponge)
are new here -- dtpaint has none to copy -- and read a patch around the
dab in one GetImageRGB round trip, not one per pixel.
Two latent bugs found while testing: Unique() sorts the colour keys in
place but the bsearch afterwards ran over the reduced count, so lookups
past the holes failed (ReadPatch and GetImageRGB both had it), and
RGBToPixel returned 0 -- black -- when XAllocColor failed on a full
256-cell map, losing the pixel instead of taking the nearest cell.
Test evidence, headless, depth 24 and depth 8, all green:
-movetest 10x10 block moved (10,5), mask travelled, background hole
-croptest 40x30 -> 20x30, only blue kept
-typetest 75 dark pixels, corner still white
-selecttest wand 800 of 2400 exact, inverse 1600, lasso in/out, clear
only inside the mask
-retouchtest all six tools move the values the expected way
-selftest 1024x768 round trip PASS
Mouse-verified on Xvfb with xdotool: zoom 200% -> 400% -> 200%,
crop 1024x768 -> 200x150, move dragged twice (40,30 then 80,60) with
78,011 pixels changed.
MCDE's history was split out of this tree (git subtree split -P
ext/src/mcde, 404 commits, head 3d79fc80ca01e5afc94ea87db3c5a5f16c2284b5)
and pushed to git.kropa.tech/hiddenbox/mcde. The tree comes back as a
submodule; the in-tree copy leaves the index in this commit, so the history
of both sides stays complete and no file is lost (the same bytes are in the
submodule).
The pkgsrc recipe and tools/mcde-dist.sh keep working: the distfile is made
with git archive from the submodule.
Measured: tree of 3d79fc80 == tree of the last in-tree commit c723c7f277 for
this path.
splinter (replacing the in-tree copy), krang, sshcrypt, kidstube, CNCL and
mikronix are tracked as submodules of git.kropa.tech/hiddenbox/* now, next to
junction, memoryd, skilld, tasksd and wikid. koder has no repository there
and is left out (Konrad, 2026-11-22).
The clone used a token for the private repositories; .gitmodules carries the
plain https URL.
It was committed as ordinary files, so a submodule entry could not be added
("already exists in the index"). The fork is replaced by the submodule of
git.kropa.tech/hiddenbox/splinter.
Seven paragraphs were out of date after this session's changes:
- System Settings is one window (1022x550, min equal to max, panes scroll in
an XmScrolledWindow, the tab strip is one of many); a pane's picture must
exist, three did not and one was used twice.
- The Dock has a pane again, and it works: ~/.dt/panel-apps, remove, add,
_DtWmRestartNoConfirm.
- Startup Disk is not a pane any more; startupdisk.c is no longer built.
- dttoolbox's window title is "dttoolchest".
- dtkeys asks the machine (hw.model "Mac...") before usbdevs, because the
internal keyboard may not be enumerated when the session starts.
- The panel defines its own arrow and keeps the busy cursor's handle (the
black 16x16 square came from the frame's cursor).
- The desktop draws the Foundation icons at 64x64 by file system, shapes the
icon window to picture and label, and maps/lowers it, so a raised window
covers it.
- dtbar sets _MCDE_NO_FOCUS and dtwm skips such a client in its
focus-follows-pointer path: the bar keeps the last program's menu.