15 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
lotherk a1e2829a21 pkgsrc is a submodule, and the forks' archives are in the repository
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/.
2026-11-23 11:42:23 +00:00
lotherkandClaude Sonnet 5.5 21148822b2 mcde distfile and pins: mcde 87687d5e (distinfo of the merged tree), splinter 9b83b10
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:45:08 +00:00
lotherk b6ce45f6ab mcde: the panel, Style Manager and session fonts are IRIX Helvetica
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.
2026-11-22 19:09:30 +01:00
lotherk c5b90ef7ad mcde: the session UI is the IRIX Helvetica
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.
2026-11-22 19:02:41 +01:00
lotherk 64f2c0b3f0 mcde: the panel takes dropped programs into the dock
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.
2026-11-22 18:41:57 +01:00
lotherk 40f1b545df mcde: the tree archive of the merged tree
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.
2026-11-22 17:43:35 +01:00
lotherk 3d1339539d Merge origin/main: tree archive and the UTF-8 titles
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.
2026-11-22 17:39:59 +01:00
lotherk 4306f29ce6 mcde: UTF-8 window titles in the IRIX face
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.
2026-11-22 17:33:48 +01:00
lotherk 8c6835e027 mcde: dtsystemsettings links again, and the distfile is that tree
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).
2026-11-22 15:06:05 +01:00
lotherk 2e3b300bb0 mcde: the distfile of 285ea4b3 (icons, iconv, README) 2026-11-22 13:56:59 +01:00
lotherk 9f471c2847 mcde: the distfile is the source again
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)".
2026-11-22 11:22:49 +01:00
lotherk 0c91b0cddf ext: the recipes of the forks are tracked again, with their distinfo
The root .gitignore said "pkgsrc/", which git applies at every level, so
ext/src/*/pkgsrc -- the recipes of MCDE, afpfs-ng and splinter -- were ignored
and never in the repository; a fresh clone had no recipe for any fork and the
source set could not carry one.  The rule is "/pkgsrc/" now: the checkout at
the top stays out, the recipes belong in.

The three distinfo files name the hashes of the archives this run packed, and
the archives themselves are the ones in distfiles/ (regenerated with digest, or
with cksum when digest does not exist yet).
2026-11-20 05:59:49 +01:00
lotherk eb4b6ba65e distfiles: part of the repository
Konrad, 2026-11-19: everything the build needs lives in the repository --
today the source archives and the binary packages, later the sources of what
now comes as a binary.  The rule "distfiles/ never lives in the repository"
(AGENTS.md) was never his decision; it goes.  distfiles/ is the set the source
set carries (1621 archives, 4.6 GB, from /usr/src of Makronix 0.99.11 on the
build host); tools/pkgsrc-cross.mk.conf already prefers it.
2026-11-19 10:31:00 +01:00