12 Commits
Author SHA1 Message Date
lotherk 1529fce6db $Makronix$ in the files that carry it, and afpfs-ng's archive back
Two things, both found by reading the whole list of files that call
themselves pkgsrc's.

1. The header.  `ext/AGENTS.md` now says what the rule is: a file Makronix
   wrote carries `#\t$Makronix$' in its first lines, a file taken from pkgsrc
   keeps pkgsrc's `$NetBSD: <file>,v <rev> ... Exp $' (the revision says where
   it came from), and the unfilled `$NetBSD$' is neither -- it is pkgsrc's
   recipe skeleton before the revision is set.  Three files carried it:

   - ext/src/mcde/pkgsrc-motif/buildlink3.mk, ours throughout
     (MCDE_MOTIF_BUILDLINK3_MK, BUILDLINK_TREE mcde-motif, PKGSRCDIR
     ../../x11/mcde-motif) -- committed there, pushed to kropa.
   - PINS: makronix-pins.sh write now writes the header with it, check
     still matches.
   - distfiles.lst: cmd_list writes three `#' lines; every reader goes
     through list_lines() (verify, fetch, stage, the superset merge) and
     install-simple.sh skips them, so a comment cannot be read as a package
     path.  afpfs-ng keeps `$NetBSD: Makefile,v ... wiz Exp $' in its recipe:
     that file is upstream's, unchanged (diff against
     pkgsrc/filesystems/afpfs-ng is empty), not the template.

2. afpfs-ng's tarball was missing from distfiles.lst.  gen_list dropped every
   recipe under ext/ -- written when all of them build from their tree -- but
   afpfs-ng still builds from afpfs-ng-0.8.1.tar.gz, so the source set
   carried a recipe whose distfile it did not.  The filter now drops only a
   recipe with `DISTFILES= # empty' (the eight that build from ext/src/<name>)
   and keeps the one with an archive.  distfiles.lst: 2088 archives.

   install-simple.sh counted `stage's fork lines on top of distfiles.lst; that
   command is gone (nothing is fetched or staged for a tree recipe), the
   archive now counts in distfiles.lst itself.

Tested: tools/test-tools.sh 42 ok, 0 bad (six cases added: the header rule
over ext/src/*/pkgsrc*, distfiles.lst's header, four fields a line, afpfs-ng
present).  makronix-pins.sh check matches; makronix-distfiles.sh list, verify,
check, stage all green; stage carries distfiles/afpfs-ng-0.8.1.tar.gz and none
of the tree recipes; bmake -C pkgsrc/wm/mcde -V MOTIFLIB still resolves through
mcde-motif's buildlink3.mk.
2026-11-24 03:19:19 +00:00
lotherk 974603f8a6 pkgsrc: the forks of ext/ build from their tree, not from an archive
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
2026-11-23 19:49:07 +00:00
lotherkandClaude Sonnet 5.5 e3f12eee94 packages.list: junction, wikid, skilld, memoryd, tasksd as repo packages
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:41:13 +00:00
lotherkandClaude Sonnet 5.5 0d629ae70a Merge kropa/main: MCDE and splinter are submodules; the Makronix-tree work is in the mcde fork
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>
2026-11-23 08:36:20 +00:00
lotherkandClaude Sonnet 5.5 9570e48bdc ext: pkgsrc recipes for splinter, junction, wikid, skilld, memoryd, tasksd (pins moved); ext-dist.sh archives a submodule from its own repository
The recipes live in the project repositories (committed there, not pushed yet).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 22:13:42 +00:00
lotherk 07207f25bc ext: splinter, junction, wikid, skilld, memoryd, tasksd as git submodules 2026-11-22 22:01:16 +00:00
lotherk 7e20c712e8 ext/src/mcde is a submodule of its own repository
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.
2026-11-22 11:19:59 +01:00
lotherkandClaude Sonnet 5.5 73c9de51a6 licence: the CNCL line in every file Makronix wrote (tools, docs, www, mobile, top level)
consmirror.c: the BSD notice is replaced (Makronix's own file).  Files with
changes of other sessions pending are left for their commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 11:50:26 +00:00
lotherkandClaude Sonnet 5.5 f9767ef1a7 AGENTS.md of tools, vmbuild, .claude, www, ext, docs, refs: short, checked against the tree, VM scripts marked legacy; the old texts in docs/reference
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 14:13:50 +00:00
lotherkandClaude Opus 5.5 0c702d7fc9 Makronix's Motif: x11/mcde-motif from MCDE's motif/, wm/mcde links it
make userland stopped in the build VM (build/logs/x-userland-2026-11-13a.log:
"Makefile.am: error: required file './AUTHORS' not found", in motif/): since
081fb4c4b (2026-11-11) MCDE configures motif/ as a subpackage by default, and
pkgsrc's autoreconf -fiv of wm/mcde reached it; the last VM build (dd7c19207)
was before.  Against pkgsrc's unchanged x11/motif MCDE does not build at all
since 92e52775b (_XmMenuBarSetExported is ours).

Konrad, 2026-11-13: MCDE builds its own Motif only where it is not Makronix;
on Makronix the system's Motif comes from motif/ (configure.ac:622-626 says
so; the package did not exist).  Now:
- ext/src/mcde/pkgsrc-motif: x11/mcde-motif-2.3.8, built from the MCDE
  archive with WRKSRC motif/; pkgsrc's x11/motif recipe and PLIST otherwise
  (its 28 patches are folded in, d07ef09e1, checked with patch -R
  --dry-run: 28 of 28); CONFLICTS motif, lesstif, openmotif.
- wm/mcde: --without-private-motif and x11/mcde-motif's buildlink3.mk
  instead of mk/motif.buildlink3.mk.
- motif/Makefile.am: AUTOMAKE_OPTIONS foreign (autoreconf -fi of motif/
  exit 0 afterwards, on a copy of HEAD's motif/).
- tools: ext-sync takes ext/src/<name>/pkgsrc-<part> as
  <category>/<name>-<part>; mcde-dist writes the distinfo for both recipes
  and leaves pkgsrc-* out of the archive; the VM builds x11/mcde-motif before
  wm/mcde with the same GCC 14 settings, and a conflicting x11/motif needed
  by the old wm/mcde is removed with -f (wm/mcde is rebuilt after it);
  mk-cde.conf sets MOTIFBASE so other Motif packages take ours.
- packages.list and packages.vm.list name x11/mcde-motif.

Checked on the host with pkgsrc's bmake: x11/mcde-motif PKGNAME
mcde-motif-2.3.8, WRKSRC ${WRKDIR}/${DISTNAME}/motif; wm/mcde show-depends
"mcde-motif>=2.3.8:../../x11/mcde-motif", CONFIGURE_ARGS
--without-private-motif.  Not yet built in the VM: make userland next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 07:06:33 +00:00
lotherkandClaude Opus 5.5 2ac715990d ext: import glibc 2.44, unchanged -- the C library of Makronix/Linux
The upstream archive as it is (signature checked: Andreas K. Huettel,
FD19E6D3...5ED5412A, against the GNU keyring), with IMPORT.  No pkgsrc
recipe exists for glibc and src/ has none, so the recipe will be mx/
(LFS-style); ext/AGENTS.md now says how such a tree is built.  glibc
"for now": our own libc on Linux is the goal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:56:54 +00:00
lotherkandClaude Opus 5.5 7a787b72c5 ext/src/mcde: import CDE 2.5.3 and pkgsrc wm/cde unchanged (the base of the MCDE fork)
cde-2.5.3.tar.gz, SHA512 a01b413b... as in pkgsrc distinfo; recipe from
pkgsrc 3c1118e94432.  Added with -f: CDE's .gitignore hides 612 files of
the archive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:36:46 +00:00