Files
makronix/ext/AGENTS.md
T
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

2.1 KiB

ext/ -- third-party sources that Makronix ships and changes

What it is for

ext/src/<name>/ is an upstream tree Makronix owns as a fork. Its pkgsrc recipe is ext/src/<name>/pkgsrc/; IMPORT records pkgsrc path, version, archive, hash, signature and licence. A second package from the same tree has its recipe in pkgsrc-<part>/ and becomes <category>/<name>-<part> (tools/ext-sync.sh): ext/src/mcde/pkgsrc-motif is x11/mcde-motif.

What is in it

  • src/mcde/ -- MCDE, the fork of CDE 2.5.3 (src/mcde/AGENTS.md). It is a submodule of git.kropa.tech/hiddenbox/mcde since 2026-11-22; the parent records the commit, the history is split out of this repository (git subtree split -P ext/src/mcde, 404 commits, head 3d79fc80) and complete in the submodule. A change to MCDE is a commit in that repository and then a gitlink bump here -- git -C ext/src/mcde commit, git add ext/src/mcde.
  • src/afpfs-ng/ -- AFP client, with recipe pkgsrc/.
  • src/glibc/ -- glibc 2.44 for Makronix/Linux; no pkgsrc/: its recipe is mx/, a NetBSD-style Makefile run by the Makronix/Linux build (LFS-style, from upstream; mobile/docs/NETBSD-USERLAND.md).

What may be changed

  • The forks, as ordinary commits. After changing one, tools/ext-dist.sh (or tools/mcde-dist.sh) renews the distfile and the recipe's distinfo. For MCDE the archive is made inside the submodule from the commit the parent's gitlink names -- git archive of a gitlink in the parent would write an empty directory.
  • An update to a newer upstream is a merge onto the fork with IMPORT renewed, never a silent overwrite.

What must not be touched

  • The first commit of a tree is the upstream archive and recipe, unchanged (signature checked and named in IMPORT), so every later change is a visible diff. Import with git add -f: upstream .gitignore files hide files that are in the archive.
  • Nothing here is built by build.sh; pkgsrc builds it from the recipe.