44 Commits
Author SHA1 Message Date
lotherk 7dd90490b4 pkgsrc-motif: our buildlink3.mk carries $Makronix$, not the pkgsrc template
The file is ours -- MCDE_MOTIF_BUILDLINK3_MK, but the BUILDLINK_TREE entry
mcde-motif, BUILDLINK_PKGSRCDIR ../../x11/mcde-motif -- and it opened with the
unfilled `$NetBSD$' of pkgsrc's recipe skeleton, which reads as if the file
were pkgsrc's own.

Checked: bmake -C pkgsrc/wm/mcde -V MOTIFLIB still resolves through it
(COMPILER_RPATH_FLAG ... -lXm -lXft) and mcde-motif is in BUILDLINK_TREE.
tools/test-tools.sh fails if an unfilled $NetBSD$ comes back to a recipe in
ext/.
2026-11-24 02:18:37 +00:00
lotherk 91967e9f0d pkgsrc: build MCDE and Motif from the tree, no archives
Both recipes set DISTFILES and built from archives that tools/mcde-dist.sh
made.  They now set DISTFILES= # empty and copy the tree in do-extract, the
way pkgsrc's own net/fetch and pkgtools/pkg_install do.  The copy is made by
tools/ext-extract.sh: it copies only the files that differ and keeps the time
stamps of the rest, so a commit rebuilds what it touched and not all 27
minutes of MCDE.

Verified: bmake -C pkgsrc/wm/mcde package built mcde-0.1.0.tgz (16 MB) with
no distinfo present.
2026-11-23 19:47:27 +00:00
lotherkandClaude Sonnet 5.5 87687d5ed3 pkgsrc: distinfo of the merged tree (tools/mcde-dist.sh)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:42:33 +00:00
lotherk 7c9347dc9b pkgsrc: distinfo for the IRIX font catalogs (67,131,128 bytes) 2026-11-22 19:08:23 +01:00
lotherk d283449167 pkgsrc: distinfo for the IRIX session fonts (67,131,895 bytes) 2026-11-22 19:01:40 +01:00
lotherk ab00c2186c pkgsrc: distinfo for the panel drag and drop tree (67,130,796 bytes) 2026-11-22 18:40:58 +01:00
lotherk da3f2019ae pkgsrc: distinfo for the tree archive
tools/mcde-dist.sh archives SRCREV^{tree} now (no pax header that changes
with every commit); the archive is 67,130,261 bytes.  This distinfo is for
exactly that file.
2026-11-22 17:41:43 +01:00
lotherk 0cea680844 pkgsrc: distinfo for the merged UTF-8 title tree
67,130,487 bytes, from the merge of the UTF-8 title work with dtphoto and the
libDtChat tests.
2026-11-22 17:36:26 +01:00
lotherk 78993ae092 pkgsrc: distinfo for the UTF-8 title tree 2026-11-22 17:33:40 +01:00
lotherk 0fa42ac765 pkgsrc: distinfo for the tree without the dead Startup Disk call
tools/mcde-dist.sh made the archive again after the dtsystemsettings fix;
this is its checksum.
2026-11-22 15:05:48 +01:00
lotherk 28d82377d1 pkgsrc: distinfo for the tree with the icons, iconv and the README
tools/mcde-dist.sh made the archive again from mcde 285ea4b3: 67,010,712
bytes (the README and the two screenshots are in it now).  These are its
checksums.
2026-11-22 13:56:42 +01:00
lotherk be056d34ee pkgsrc: distinfo for the archive the source really is
tools/mcde-dist.sh's "archive unchanged" check hashed with sha256sum, which
NetBSD does not have: the key was empty, both sides compared equal, and the
distfile was never remade after the 64x64 icons and the AGENTS.md update.  The
archive the recipe named was 66,941,013 bytes and held the old AGENTS.md
(58,298 bytes) and the 32x32 pictures.

The fixed script made the archive again: 66,940,999 bytes, AGENTS.md 61,013
bytes, IrixDisk.m.pm begins "64 64".  These are its checksums.

Measured: tools/mcde-dist.sh from the parent at 7e20c712, mcde 3d79fc80.
2026-11-22 11:21:37 +01:00
lotherk 3d79fc80ca mcde: the archive with the 64x64 icons and the AGENTS.md 2026-11-22 10:05:47 +01:00
lotherk 727965b212 mcde: the archive with the Dock pane 2026-11-22 08:09:02 +01:00
lotherk 4aa00e0649 mcde: the archive of 94ab6eb75e 2026-11-22 06:46:42 +01:00
lotherk 38c7bd1901 mcde: the archive of 8f03d0d74e
The recipe had the archive of the commit before the System Settings change.
2026-11-21 21:46:03 +01:00
lotherk fd55404245 mcde recipes and the cross configuration: the X of the build host, named once
These are the changes the cross (Linux) path needed before the chroot path
made them unnecessary on Makronix; they are kept because that path still
builds for the same sysroot on a host that is not Makronix.

tools/pkgsrc-cross.mk.conf names the host side in one place instead of in the
recipes: HOST_TOOLS_BIN on PREPEND_PATH (autoreconf stopped with "Can't exec
libtoolize"), HOST_X11BASE (the include path of the host's X), HOST_X11_LIBS
and HOST_FL_A (the archives the host tools link) and HOST_BUILD_CFLAGS
(-std=gnu17 -fPIE: the 1990s C of the forks, and NetBSD links PIE by default
so tradcpp failed with "relocation R_X86_64_32 ... can not be used when
making a PIE object").  /usr/pkg/lib comes before the base X when linking: a
library pkgsrc builds because the base copy is too old must be the one a
package links (the base freetype is 2.10.4, pkgsrc's 2.15.0 was ignored and
libfontconfig.so needed .19).  x11-links keeps the sysroot override only on a
host without X of its own (on Makronix it doubled the path, 7 instead of 111
pkg-config links, x11/libXft then "Package 'x11' not found").

ext/src/mcde/pkgsrc-motif and ext/src/mcde/pkgsrc use those variables; the
build tools (makestrs, wml, wmldbcreate) are built and run by the host, so
their CFLAGS come from HOST_BUILD_CFLAGS and their include path from
HOST_X11BASE.

Measured on makronix-build before the chroot path: mcde-motif rc=0 in 529 s,
wm/mcde rc=0 in 1506 s.
2026-11-21 01:49:20 +01:00
lotherk 16826ffd01 motif recipe: the build tools link the host archives where the host has X
The cross branch named ${MAKRONIX_TOP}/build/pkg/lib/libXt.a and friends.  That
is a Linux host, where userland builds them as host tools; on Makronix the
builtin libXt is used, the bootstrap has no libXt.a, and makestrs stopped at
the link ("cannot find /usr/src/build/pkg/lib/libX11.a", measured 2026-11-20).
Where /usr/X11R7/lib/libXt.a and /usr/lib/libfl.a exist, they are named
instead; the bootstrap path stays for the Linux host.
2026-11-20 16:12:57 +01:00
lotherk 3a9f769c51 mcde recipes: the build tools take the X of the build host
makestrs, wml and wmldbcreate are built and RUN by the build host, and in a
cross build prefix is the target ( /usr/pkg ): there /usr/pkg/include has no
X11, and makestrs stopped with "X11/Xos.h: No such file or directory" on
Makronix (measured 2026-11-20) while the Linux host had the buildlink stub in
that directory.  Where the host has its own X (/usr/X11R7), the tools use it;
else the old -I${PREFIX}/include stays.
2026-11-20 15:40:03 +01:00
lotherk ba6190a157 userland: the set is built for the sysroot on every host; dist scripts hash without digest(1)
tools/userland.sh decided by uname: on NetBSD it took a "native" branch that
built the forks for the bootstrap's prefix (build/pkg), never installed
anything into build/obj/destdir/usr/pkg and never ran tools/makronix-set.sh.
Measured 2026-11-20 on makronix-build: userland exit=0, then build.sh release
stopped at checkflist with "9422 missing files", all under ./usr/pkg.  The
cross branch builds what the set needs -- the sysroot, PREFIX /usr/pkg, this
tree's own toolchain from build.sh (tooldir.NetBSD-11.99.9-amd64 on Makronix)
-- and that is the same build on Linux and on Makronix (AGENTS.md: cross and
native are one build).  It is the default now; USERLAND_MODE=native keeps the
old branch for packages of the running host.  mk-host.conf takes the archives
from distfiles/ of the tree.

tools/ext-dist.sh and tools/mcde-dist.sh: digest_of() (digest when it exists,
else SHA512 from cksum) and no hash line without a value.  This was meant for
0c91b0cddf and stayed staged when that commit stopped at the ignored recipe
paths.  ext/src/mcde/pkgsrc-motif/distinfo names the archive in distfiles/.
2026-11-20 10:31:44 +01:00
lotherk 9b8e5b12ff mcde: distinfo of the archive with dtlogin's LANG order
test-desktop-login on the installed VM with this dtlogin: 12 of 12 PASS,
the session runs with LANG=en_US.UTF-8 (build/logs/desktop-login-2026-11-18f.log).
2026-11-18 12:38:05 +00:00
lotherk b6cbd0eb87 mcde: distinfo of the archive with the session fixes (libSM ID, locale, fonts, catalogues, ICE) 2026-11-18 06:49:26 +00:00
lotherk 03ce0155cc mcde: distinfo of the archive with the sessreg and userPath fix 2026-11-18 02:16:08 +00:00
lotherk f8f0194533 ext: distinfo of the archives of HEAD (make userland, build/logs/userland-2026-11-17j.log exit=0) 2026-11-17 17:12:52 +00:00
lotherk 4172a1c2a5 ext: refresh mcde distinfo and makronix set
mcde-dist from HEAD (7f80d71c74, tradcpp target-OS fix) and makronix-set after installing the rebuilt mcde into destdir.amd64 (adds dt/bin/dtscreenshot now present in the package).
2026-11-15 09:44:57 +00:00
lotherk 85af89a9d9 ext: the distinfo files match the archives of HEAD again (t0222)
tools/mcde-dist.sh and tools/ext-dist.sh archive a commit, not the working
tree, so the checksums have to be renewed after the change is committed: the
mcde archive of HEAD (7f764fddc9) now carries programs/dtscreenshot, and
pkgsrc-motif, which builds the same archive, gets the same three lines.

  mcde-dist: /home/lotherk/src/distfiles/mcde-0.1.0.tar.gz, 61719603 bytes,
             BLAKE2s 591c6e04be4ccbc4388f47c3eb06133c9bbcb40f0aca5a01e1d8de80a883fe4c
  ext-dist afpfs-ng: 459861 bytes,
             BLAKE2s ece337077bbb159740ecd828b1c3a08aaafac455eb5983e4898af242ffd69de0

The archive in DISTDIR and the copy in build/distfiles are hard links and
hash the same; ext/src/mcde/pkgsrc and pkgsrc-motif differ by nothing;
tools/ext-sync.sh put the recipes into pkgsrc/ (wm/mcde, x11/mcde-motif,
filesystems/afpfs-ng).
2026-11-15 08:57:24 +00:00
lotherkandClaude Sonnet 5.5 7c38dfc91e MCDE distinfo: the archive of HEAD after the process list
Cross-checked with an archive made by hand from HEAD: SHA512 equal for both recipes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:46:20 +00:00
lotherkandClaude Sonnet 5.5 d1204c9e38 MCDE distinfo: the archive of HEAD after the dttoolbox change
Cross-checked with an archive made by hand from HEAD: SHA512 equal for both recipes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:08:51 +00:00
lotherkandClaude Sonnet 5.5 259697bd5d MCDE distinfo: the archive of HEAD after t0080
Cross-checked with an archive made by hand from HEAD: SHA512 equal for both recipes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:59:33 +00:00
lotherkandClaude Sonnet 5.5 a5f891cd08 MCDE distinfo: the archive of HEAD after t0217
Cross-checked with an archive made by hand from HEAD: SHA512 equal for both recipes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:46:35 +00:00
lotherkandClaude Sonnet 5.5 6901ec83e0 MCDE distinfo: the archive of HEAD after t0185
Cross-checked with an archive made by hand from HEAD: SHA512 equal for both recipes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 22:29:12 +00:00
lotherkandClaude Sonnet 5.5 827cdd3d4a MCDE distinfo: the archive of HEAD after t0197
Cross-checked with an archive made by hand from HEAD: SHA512 equal for both recipes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:23:26 +00:00
lotherkandClaude Sonnet 5.5 33090b37c9 MCDE distinfo: the archive of HEAD after t0216 and t0078
The Dts.c and McdeSys commits change what git archive HEAD:ext/src/mcde makes;
tools/mcde-dist.sh renewed the checksums.  Cross-checked with an archive made
by hand from HEAD: SHA512 64d39d7b..., 61669464 bytes, equal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:16:43 +00:00
lotherkandClaude Sonnet 5.5 2593715509 MCDE distinfo: the checksums of the archive git makes of HEAD
The committed distinfo named the archive of an older HEAD; a fresh clone failed
the checksum.  Measured: git archive HEAD:ext/src/mcde (tools/mcde-dist.sh's
command) gives SHA512 df4ada94..., 61667349 bytes, as in these files.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 21:00:46 +00:00
lotherk 9d5f5a04c9 cross: flex is built without NLS, and the installed .la files lose libtool's '=' buildlink paths
Two more stops from build/logs/userland-2026-11-14h.log:

- devel/flex linked stage1flex without libintl: its gnulib decides gettext is
  needed in a cross build but adds no library, 'undefined reference to gettext'
  (log:393-398).  The target's base has no libintl, and flex's messages do not
  need translating: PKG_OPTIONS.flex= -nls, which its own option turns into
  --disable-nls (verified with show-var: CONFIGURE_ARGS carries it).
- wm/mcde stopped linking ttdbck on libXm.la: libtool had recorded a
  sysroot-relative '=<workdir>/.buildlink/lib/libpng16.la' in dependency_libs, so
  the consumer looked for <sysroot>/<workdir>/... (log:5370ff).  pkgsrc rewrites
  dependency_libs (mk/buildlink3/bsd.buildlink3.mk:859ff) but not a path starting
  with '='.  The Motif recipe's post-install gives the installed .la files the
  target's path.
2026-11-14 06:29:56 +00:00
lotherk a22682f6ca motif: libXt is a tool dependency in every cross build, not only with modular X
The pkgsrc recipe adds TOOL_DEPENDS libXt inside `.if ${X11_TYPE} != "native"`
within the cross branch, with the reasoning that native builds get libXt through
libXmu.  That holds only when host and target are the same machine: here the wml
tools run on this host, link the target's libXt through the buildlink directory
and die on NetBSD's libc.so.12 (build/logs/userland-2026-11-14b.log:3698ff).
The dependency is unconditional in the cross branch now, and LIBS_FOR_BUILD
names the host archives it produces (9fd08ec250 and this commit).
2026-11-14 00:04:10 +00:00
lotherk 1123e1eda3 motif: wmluiltok's LDADD names the host libfl
The link took -lfl from wmluiltok_LDADD in tools/wml/Makefile, not from LEXLIB,
so the LEXLIB setting of 41bdd94470 changed nothing (build/logs/
userland-2026-11-14a.log:3678ff is the same failure).  The variable that decides
the link is overridden now.
2026-11-13 23:49:18 +00:00
lotherk 8ada7b3434 motif: wmluiltok links the bootstrap prefix's libfl, not the target's
wmluiltok is a host tool and links -lfl; -L${LOCALBASE}/lib becomes the buildlink
directory in a cross build, so the linker took the TARGET's flex library and
stopped on NetBSD's libc.so.12 against the host's libc ('errno@@GLIBC_PRIVATE ...
TLS definition ... mismatches non-TLS definition', build/logs/
userland-2026-11-13z.log:3680ff).  The path is only set for a cross build; a
native build has flex in its own prefix.
2026-11-13 23:40:06 +00:00
lotherk 44f77a7308 motif: the wml parser is regenerated from its grammar
git archive stamps every file with the commit's time, so make saw the checked-in
wmlparse.c as up to date and compiled it although wmlparse.y had changed: the
prototype fixes of a4da3c7870 were ignored and the errors named line numbers of
the old grammar (build/logs/userland-2026-11-13y.log:3660ff, the displayed line
empty).  The recipe removes the generated parser in post-extract; yacc (already
in USE_TOOLS) regenerates it.
2026-11-13 23:31:54 +00:00
lotherk a812f66848 motif: CFLAGS_FOR_BUILD is passed with :Q -- a space in MAKE_FLAGS became a make option
build/logs/userland-2026-11-13x.log:396: '/bin/make: invalid option -- '='' --
pkgsrc hands MAKE_FLAGS to make as command-line words, so CFLAGS_FOR_BUILD=-O2
-std=gnu17 split and make tried to read -std=gnu17 itself.  The variable is set
apart and passed with :Q, as the CPPFLAGS_FOR_BUILD line above already does.
2026-11-13 23:23:36 +00:00
lotherk 80a3ea509b ext/src/mcde: the Motif recipe is tracked, and its build tools are compiled as gnu17
The bare 'Makefile' line in ext/src/mcde/.gitignore hid pkgsrc-motif/Makefile,
so that recipe lived only in the working tree -- found when the change below
could not be committed.  It is a recipe, not a generated Makefile; the negation
keeps it visible to git (pkgsrc/Makefile was force-added earlier).

The recipe now passes CFLAGS_FOR_BUILD=-O2 -std=gnu17: config/util/makestrs and
tools/wml are host tools (CC_FOR_BUILD=NATIVE_CC), this host's compiler defaults
to C23 where '()' means 'no arguments', and the fork's 1990s sources stop with
'too many arguments to function' (build/logs/userland-2026-11-13v.log:3646).
The target code is unaffected: the tree's cross gcc defaults to C17
(__STDC_VERSION__ 201710L, measured).
2026-11-13 23:09:34 +00:00
lotherkandClaude Sonnet 5.5 807a65d1d1 afpfs-ng cross-built and in the makronix set (mount_afp, afpcmd); userland.sh cross half installs into the sysroot
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 17:23:21 +00:00
lotherkandClaude Sonnet 5.5 edb0e6949c MCDE: Mac OS X keyboard shortcuts through the desktop (Cmd+space dtlaunch, f.mcde_app, bar commands, dtterm/dtfile keys); fuse-afpfs-ng dropped from the build
The makronix set list is regenerated (46569 entries,
build/logs/x-userland-2026-11-13d.log); mcde-host exit=0
(build/logs/mcde-host-2026-11-13c.log).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 12:05:06 +00:00
lotherkandClaude Opus 5.5 ddb37d6a86 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