Commit Graph
5 Commits
Author SHA1 Message Date
lotherk 5982a0ddde build: lock cdtest and the native MCDE builds; tools refuse outside the lock
- cdtest takes one lock around release, iso and the VM test; the nested
  make calls reuse it through BUILD_LOCK_HELD (re-entrant).  MAKE_CMD keeps
  make -n cdtest from executing the recipe: GNU make runs a recipe with
  $(MAKE) even under -n, and the rest of the line starts a VM.
- mcde-linux and mcde-host take the lock too; they read ext/src/mcde and
  the distfiles a release reads.
- build-lock.sh: --held for the tools, --check for read-only callers, pid
  plus process start time for stale locks, the child is killed on INT/TERM,
  and nested calls reuse the outer lock.
- build-stamp, cd2, cd3, cd-source, images, srctree-stage, userland,
  mcde-linux and mcde-host refuse to run outside the lock (the file and the
  message name the way in: make or tools/build-lock.sh).
2026-11-16 12:10:23 +00:00
lotherkandClaude Sonnet 5.5 044b50c69e tools/mcde-plist-check.sh, make mcde-linux MCDE_DIRS=plist: every file MCDE installs is in the PLIST (t0217)
pkgsrc stops make userland at the first installed file the PLIST does not list,
after hours of build (McdeLock.pm, Thumb.h, 0010.language, DtScrn.t.pm,
userland-2026-11-14n.log:26326).  This installs the native build into a fresh
temporary DESTDIR (not build/mcde-root, where make install never removes old
files) and names every file under dt/ that neither PLIST lists, in seconds.
Compared: only dt/; both PLISTs, the Motif one read as if under dt/ (the native
build makes its own Motif there, x11/mcde-motif ships it into the prefix);
libraries without their version; without documentation (-docs, pkgsrc-cross.mk.conf:238)
and the four files the recipe moves to share/doc.

Measured: the current PLIST: 3208 names, ok.  Controls from history: the PLIST
before fe8abbd1bb gives exactly the six files that commit added; before
2e062c4590 it gives McdeLock.pm and the same six.  (First versions gave 241
and 4 false positives: the Motif PLIST sits in the prefix, not under dt/, and
the recipe moves four docs.)  The rule is in ext/src/mcde/AGENTS.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:45:40 +00: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 Opus 5.5 76cbb0ad93 mcde: dtlaunch, the launcher: hot key, programs, snippets, clipboard history, calculator
programs/dtlaunch: Alt+space (Dtlaunch*hotkey) opens a field and a list;
matches programs in $PATH, ~/.dt/snippets (keyword TAB text), the
clipboard history (polled CLIPBOARD, 50 entries, memory only) and
calculations (=12*(3+4)).  Return starts the program or puts the text on
CLIPBOARD and PRIMARY.  One per display (_MCDE_DTLAUNCH); a second start
opens the first.  C99/POSIX + Xt/Motif, no warnings with -Wpedantic.
model.c (no X) with test_model.c: make check PASS.  Started in every
session by config/Xsession.d/0080.dtlaunch.  Tested on Xvfb: snippet and
result reach the clipboard (build/mcde-shots/dtlaunch-*.png).
tools/mcde-linux.sh: check mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 20:41:14 +00:00
lotherkandClaude Opus 5.5 68ddd3a7a0 mcde: builds on Linux (GCC 15); dtfile gets toolbar, sidebar, history, free space; make mcde-linux, mcde-shot
- configure.ac: the C dialect (-std=gnu11 and five GCC 14 downgrades) is
  configure's own, also handed to dtksh's ksh93 build (MCDE_DIALECT_CFLAGS).
- The pkgsrc placeholders folded in from wm/cde (@PREFIX@, @VARBASE@,
  @PKG_SYSCONFDIR@) are configure options now: --with-logfiles-dir,
  --with-config-dir, --with-local-bindir; and --with-pamdir (dtlogin,
  dtsession) and --with-calendar-dir (dtcm, rpc.cmsd) replace paths that
  were fixed.  Defaults unchanged; the recipe passes its paths.
- dtfile: programs/dtfile/Navigation.c -- Back/Forward with a history per
  window, views Icons/Small/List, places in a sidebar, free space in the
  status line (statvfs).  Screenshot: build/mcde-shots/dtfile-7.png.
- make mcde-linux (tools/mcde-linux.sh): the development build on this host,
  every system path under build/mcde-root.  tools/mcde-shot.sh: run a
  program on a private Xvfb with ttsession and dtwm, empty environment and
  its own HOME, take a screenshot.  tools/ext-sync.sh: ext recipes into
  pkgsrc/<cat>/<name>.

Measured: build/logs/mcde-linux-install3-2026-11-09.log (mcde-linux exit=0).

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