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.
The archive is made from 4e51d6dd by tools/mcde-dist.sh, so the checksums
belong to the source that carries the M_PI define and the three-argument
memcpy. Test: the recipe checksum matches the distfile that was just
built, and dtphoto.c in the archive has both fixes.
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.
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.
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.
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.
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.
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).
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).
configure took the build host's gencat; on Linux it wrote glibc catalogues
(magic 0x960408de, dtfile.cat in the makronix set) which NetBSD's catopen(3)
rejects (src/lib/libc/nls/catopen.c:183, _NLS_MAGIC 0xff88ff89): catgets()
always returned the built-in English, translations never showed. The
tooldir's nbgencat writes the NetBSD format; a native NetBSD host keeps its
own gencat.
Xstartup's last line is 'exec sessreg -a ...' and Xreset's 'sessreg -d ...'.
configure (AC_CHECK_PROGS(SESSREG, sessreg)) recorded the bare name from the
build host, and Dtlogin*userPath had no /usr/X11R7/bin -- where NetBSD's
sessreg is. The session setup died with 'Xstartup[57]: exec: sessreg: not
found', dtlogin restarted the greeter: the password was accepted and the
login bounced (measured in the installed VM 2026-11-18, Xerrors).
- pkgsrc/Makefile: ac_cv_prog_SESSREG=/bin/sessreg
- dtlogin/config/Xconfig.src: NetBSD's userPath carries /usr/X11R7/bin
(xrdb, xset, xmodmap too)
- tools/install-simple.sh: answer the museum question (it hung there)
- tools/test-desktop-login.sh: the greeter test rebuilt: root shell first,
wait for X and dtgreet before typing (keys sent too early were lost), -g
restarts dtlogin with -debug.
pre-configure ran sed over every file under WRKSRC holding /usr/dt or
/etc/dt. From an extracted archive that is text; in a built tree,
configured again by ext-resync/fork_reconfigure, it garbled 35 objects and
libraries (ld: 'file format not recognized', userland-2026-11-17g.log:33,
h.log:148), and since ${PKG_SYSCONFDIR}/dt holds /etc/dt again, the second
pass wrote /usr/pkg/usr/pkg/etc/dt into 276 files of the work directory.
Now grep -I (text only), the package's path set aside before the
replacement (idempotent), and a file the replacement does not change is not
rewritten (no new time stamp, nothing recompiled). Tested in a scratch
tree: two passes, a binary with /etc/dt untouched, the time stamp kept.
configure found the build host's go, and programs/dtchat built
dtchat-whatsapp with it: a host binary, from modules pkgsrc's build phase
may not download (http_proxy=downloads-forbidden-except-during-fetch,
build/logs/userland-2026-11-17c.log:19467). PLIST.whatsapp is never set,
so the package never wanted the file. The two commits that let go
download (38d293c454, 6f23f4e232) are reverted.
dtchat-telegram joins bin_PROGRAMS (always built: TDLib when available, otherwise a stub that reports the missing library); dtchat-xmpp is installed when MCDE_STROPHE built it; the Go-built dtchat-whatsapp is installed by install-exec-hook when MCDE_GO is set. The PLIST lists dtchat-telegram unconditionally and the other two behind PLIST_VARS xmpp/whatsapp (left unset in the recipe, so a target without libstrophe/Go omits them while the host build installs all three). The accounts editor's default adapter path becomes <bindir>/dtchat-<protocol> in the packaged layout. Host build and mcde-linux install/plist follow.
accounts_run.c loads accounts.json (id, protocol, label, adapter, settings, enabled) and secrets.json (per account id) and starts one DcAdapter per enabled account, pumping the DcLoop from an Xt timeout. Its events go into the model and the panel: state into the status line, conversation (direct/channel/group) and roster entries into the model (roster sets presence), messages into the transcript via dtchat_ui_message_added, presence/typing/errors into the status/dialog, request events into the existing request dialog with the answer routed to that adapter. The UI send hook resolves the selected account (dtchat_ui_current_account) or the account that owns the conversation and calls dc_adapter_send_text; dtchat_accounts_join/_typing expose join and XEP-0085 for menus and tests. Normal GUI runs (not --demo/--local/--perf/--smoke) start with an empty model and the configured accounts; the demo peers are gone in that mode. dtchat-irc is installed next to dtchat and listed in the PLIST; dtchat-xmpp and the demo adapter remain build artifacts. Verified with the fake adapter under Xvfb (accounts fake: starting/online/sent alice/message alice), including the real UI send path (DTCHAT_TEST_UI_SEND), screenshot build/mcde-shots/dtchat-accounts.png; --smoke-test still passes.
configure.ac stops with 'libopus not found; dtchat needs it for audio' in the cross
userland (build/logs/userland-2026-11-17-fix2.log:1324), so wm/mcde never reached the
sysroot and the images kept the Nov 15 MCDE (wrong PAM file, host xrdb path, CDE logo).
The NetBSD project's binaries are taken; they must stay in the sysroot as the shared
libraries of dtchat.
SvcPam.c: a fresh PAM handle per authenticate, pam_end on failure, the PAM_USER
check was inverted, the conv default case did not advance, failures go to
authlog (follows xsrc/external/mit/xdm greeter/greet.c).
pkgsrc/Makefile: ac_cv_path_XRDB=${X11BASE}/bin/xrdb - the cross build baked the
Linux host's /usr/bin/xrdb into dtlogin; /var/dt/Xerrors on an installed system
said 'sh: /usr/bin/xrdb: not found', so Xresources never loaded and the CDE logo
showed (measured in a VM 2026-11-17).
tradcpp/config.h: CONFIG_OS is the ident as given; the stringify macro turned the
quoted -DCONFIG_OS_IDENT into an invalid macro name and wm/mcde stopped in
lib/tt (tradcpp: Invalid macro name "__NetBSD__", build/logs/userland-2026-11-16-atomic.log)
so the sysroot kept the Nov 15 MCDE. t0436 t0438 t0217
mcde-linux MCDE_DIRS=plist found four installed names that no PLIST line covered: dt/include/DtChat/DtChat.h, dt/include/DtChat/Ipc.h, dt/lib/libDtChat.la and dt/lib/libDtChatIpc.la (libDtChat was added in the dtchat work but never packaged). The check now reports 3710 installed names, 8907 listed, PLIST ok. Verified with make mcde-linux MCDE_DIRS=install (exit 0) and make mcde-linux MCDE_DIRS=plist (exit 0).
bin_PROGRAMS now installs dtchat and dtchat-headless; man_MANS installs dtchat.1 (the roff source was renamed from dtchat.man because automake treats .man as section m). The PLIST gains the lines for bin/dtchat, bin/dtchat-headless, app-defaults/C/Dtchat, the three Dtchat icons, appconfig/types/C/dtchat.dt, appmanager/C/Internet/Dtchat, the C and de_DE.UTF-8 dtchat.cat and dt/man/man1/dtchat.1. Verification (make mcde-host MCDE_DIRS=install, mcde-plist-check, pkg_add/pkg_delete) is pending: a foreign release chain holds the lock (pid 141722).
The Helvetica bitmaps of the reference desktops are in share/fonts: the six
IRIX x_eoe PCFs (helvB10, helvBO10, helvR10, helvR12, helvR14, helvR18) and
the twenty Solaris SUNWxwfnt PCFs (Helvetica 6..14, bold, oblique, bold
oblique); mkfontdir wrote fonts.dir.
Dtwm.defs.src sets the four fontLists of the 4Dwm app-defaults: menus and
client titles -adobe-helvetica-bold-o-normal--14-*, feedback
-adobe-helvetica-bold-r-normal--14-*, icon labels
-adobe-helvetica-medium-r-normal--14-*.
The fonts are core X11 fonts (Motif reads them): dtlogin fontPathTail
(config/Xconfig) puts share/fonts on the X server font path at session
start (ApplyFontPathMods, fontpath.c); 0070.dtfonts keeps the same for a
session that did not come through dtlogin, without a second entry.
Measured: xlsfonts -fn -adobe-helvetica-bold-o-normal--14-* returns the
IRIX 100dpi face; xrmget on the installed Dtwm app-defaults resolves the
four fontLists to the Helvetica names; a session through dtlogin lists
.../share/fonts in xset q Font Path (9 elements); mcde-plist-check ok;
docs/screenshots/desktop/dtwm-4dwm-font.png shows the dtterm title in
Helvetica Bold Oblique.
The IRIX cursor font x_eoe usr/lib/X11/fonts/misc/cursor.pcf is extracted
with the sw parser, pcf2bdf turns it into BDF, and bdf-cursors.py makes
58 Xcursor names from the glyphs (form + _mask). The Solaris and IRIX
themes are in share/icons/Solaris and share/icons/IRIX; the Appearance
pane has a "Cursor theme:" menu (Solaris, IRIX) that keeps the choice in
~/.dt/cursor-theme; 0079.dtcursor exports XCURSOR_THEME from it.
Measured: XcursorLibraryLoadImage("left_ptr", "IRIX", 16) returns a
16x16 image, and the menu shows Solaris/IRIX; choosing Solaris wrote
~/.dt/cursor-theme.
The .cursor files are converted once into the Xcursor format: 41
standard cursor names (left_ptr, watch, wait, hand2, xterm, fleur,
copy, crosshair, question_arrow, glass, the eight resize arrows,
dnd-copy/dnd-move, document, ...) in share/icons/Solaris, with
index.theme. XCURSOR_THEME=Solaris and XCURSOR_PATH in 0079.dtcursor
make GTK, Qt, Firefox and every other program that reads Xcursor use
them natively; dtcursor keeps setting the saved one on the root window
for the Motif programs that inherit it. Measured with libXcursor:
XcursorLibraryLoadImage("left_ptr", "Solaris", 16) returns a 16x16
image.
programs/cursors holds the 27 .cursor files of Solaris 2.6; programs/dtcursor
reads the X11 cursor text format (Format_version=1, Width, Height,
Valid_bits_per_item=16, one or two bitmaps) into source and mask bitmaps,
makes the cursor with XCreatePixmapCursor and puts it on the root window
(XDefineCursor; the clients that set none inherit it). The name is kept
in ~/.dt/cursor; 0079.dtcursor sets it at login. The Appearance pane has
a "Pointer:" menu of the cursor names; a choice runs dtcursor -set NAME.
Measured under Xvfb: the menu lists black, bullseye, busy, ... gr_root;
choosing busy wrote ~/.dt/cursor and printed "dtcursor: busy".
tools/fti2xpm.py raster the Foundation .fti vector icons into 32x32 XPM
(colour(N), bgnpolygon/endpolygon, bgnoutlinepolygon/bgnline, vertex).
Six of them -- IrixDisk, IrixCD, IrixDVD, IrixFloppy, IrixNet, IrixTape
-- are in programs/icons, Makefile.am and the PLIST. Measured: they
are thin line drawings at 32x32 and stay pale on the desktop, so
DeskIconName keeps the CDE glyphs; the icons are there for a later,
larger rendering.
- dtwm: Dtwm*titleLeft (the 4Dwm SG_titleLeft) draws the title at the
left of the bar; the app-defaults set it and frameBorderWidth 7; the
IRIX palette IRIX.dp carries sgilightgray/sgibrightgray. Measured:
with titleLeft=1 the Terminal title stands at the left (screenshot).
- Solaris 2.6 demo sounds: 20 events converted from .au to WAV and
installed as theme Solaris (SUNWaudmo /usr/demo/SOUND/sounds); the
Sound pane lists Camouflage, Base, IRIX, Solaris and the selftest
passes for Solaris.
- the 25 OpenWindows .xbm patterns are in share/backdrops now
(OpenWin-*.xbm), so the Desktop & Screen Saver pane offers them.
common.c's tool runner built its sentences as format strings, so every
dialog that shows mcde_sys_error() was English. They are set 1 of
lib/McdeSys/mcdesys.msg now (9 messages: not there, cannot start, failed
with status, no pipe, no answer within N seconds, out of memory, the program
is not installed, the connector ended without an answer, cancelled), read by
lib/McdeSys/text.c (mcde_sys_msg, plain catopen/catgets; NLSPATH is set the
way DtSvc does when the session has none, from -DMCDE_DT_TOP=$(prefix)).
The German copy is programs/localized/de_DE.UTF-8/msg/mcdesys.msg, built by
msg.C.am into lib/nls/msg and listed in the PLIST (C plain, ${PLIST.nls} for
German). A library does not call setlocale; the program does.
mcdesoundd gets no catalog: its only text is the log of a background daemon,
and the system layer stays English (AGENTS.md, language point 6).
Measured: a small program (setlocale + mcde_sys_run) prints
"/nonexistent/tool is not there." and "/bin/false did not succeed
(status 1)." with LANG=C, and "/nonexistent/tool ist nicht vorhanden." /
"/bin/false war nicht erfolgreich (Status 1)." with LANG=de_DE.UTF-8
(localedef/LOCPATH). make mcde-linux MCDE_DIRS="install lib/McdeSys" and
"install programs/localized/C/msg" exit=0; MCDE_DIRS=plist: "3487 installed
names under dt/, 8682 in the PLISTs", ok.
dtpaint builds its menus in code, so its labels are catalogued:
programs/dtpaint/dtpaint.msg (set 1, 23 messages: the six menu titles, the
items of File/Edit/View/Image/Colors/Help, the About title and the status
line), the German copy in programs/localized/de_DE.UTF-8/msg/dtpaint.msg,
built by msg.C.am and listed in the PLIST (C plain, ${PLIST.nls} for
German). catopen/catgets itself, setlocale in main.
dtpaint has no render table (core font): a UTF-8 "ü" in the status line came
out as two latin-1 characters ("Menü"), so the German string says
"Hilfe-Menue" instead (recorded in AGENTS.md).
Measured on Xvfb (1280x800, fresh HOME, ttsession + dtwm), de_DE.UTF-8 via
localedef/LOCPATH: menus "Datei Bearbeiten Ansicht Bild Farben Hilfe",
status "Hilfe: Hilfe-Themen im Hilfe-Menue." (/tmp/opencode/dtpa-de.png);
LANG=C: "File Edit View Image Colors Help" and the English status
(/tmp/opencode/dtpa-c.png). make mcde-linux MCDE_DIRS="install
programs/dtpaint" and "install programs/localized/C/msg" exit=0;
MCDE_DIRS=plist: "3486 installed names under dt/, 8680 in the PLISTs", ok.
dtphoto's own sentences and titles come from programs/dtphoto/dtphoto.msg
(set 1, 5 messages: the toolbox window title "Tools", the status line
"Scratch: 1.2M/50M", the "Doc: %dK/%dK" format, the open and the save
error), the German copy in programs/localized/de_DE.UTF-8/msg/dtphoto.msg,
built by msg.C.am and listed in the PLIST (C plain, ${PLIST.nls} for
German). Like dtlaunch it calls catopen/catgets itself and setlocale in
main before its first message.
The menus stay as they are: dtphoto.menu follows
docs/reference/photoshop-ui.csv -- the programme's look -- and the command
lookup matches those English labels, so they are not a catalog.
Measured on Xvfb (1280x800, fresh HOME, ttsession + dtwm), de_DE.UTF-8 via
localedef/LOCPATH: the toolbox is titled "Werkzeuge", the status line reads
"Dok: 225K/1125K" and "Arbeitsspeicher: 1.2M/50M" (/tmp/opencode/dtp-de.png);
LANG=C: "Tools", "Doc: 225K/1125K", "Scratch: 1.2M/50M"
(/tmp/opencode/dtp-c.png). make mcde-linux MCDE_DIRS="install
programs/dtphoto" and "install programs/localized/C/msg" exit=0;
MCDE_DIRS=plist: "3485 installed names under dt/, 8678 in the PLISTs", ok.
dttoolbox's own texts come from programs/dttoolbox/dttoolbox.msg (set 1, 2
messages: the "ToolChest" window title and the "No ToolChest menu" label of
the empty chest), the German copy in programs/localized/de_DE.UTF-8/msg/
dttoolbox.msg, built by msg.C.am, listed in the PLIST (C plain,
${PLIST.nls} for German). Like dtlaunch it calls catopen/catgets itself and
setlocale before its first message. The menu labels come from the person's
chestrc (~/.chestrc or the installed one), which is their file and stays as
written.
Measured on Xvfb (1280x800, fresh HOME, ttsession + dtwm, DTTB_CHESTRC on a
missing file so the empty chest shows): de_DE.UTF-8 via localedef/LOCPATH
gives "Werkzeugkiste" and "Kein ToolChest-Menü" (/tmp/opencode/dtb-de.png),
LANG=C "ToolChest" and "No ToolChest menu" (/tmp/opencode/dtb-c.png).
make mcde-linux MCDE_DIRS="install programs/dttoolbox" and
"install programs/localized/C/msg" exit=0; MCDE_DIRS=plist: "3484 installed
names under dt/, 8676 in the PLISTs", ok.
dtlaunch's visible texts come from programs/dtlaunch/dtlaunch.msg (set 1, 3
messages: the hint line under the field, and the two Parental Controls
sentences), the German copy in programs/localized/de_DE.UTF-8/msg/
dtlaunch.msg, built by msg.C.am and listed in the PLIST (C plain,
${PLIST.nls} for German). dtlaunch does not link libDtSvc, so it calls
catopen/catgets itself (Dt/MsgCatP.h's CATGETS needs _DtCatgets); its
Makefile now passes -DCDE_INSTALLATION_TOP for the NLSPATH fallback.
The list's pane entries are already translated: dtlaunch reads them from
`dtsystemsettings -list-panes`, which uses the catalog of 89e41554e6.
Measured on Xvfb (1280x800, fresh HOME, ttsession + dtwm, dtlaunch -show
-nograb), de_DE.UTF-8 via localedef/LOCPATH:
"Tippen: ein Programm, eine Einstellung, einen Schnipsel oder =1+2"; LANG=C:
"Type to find a program, a setting, a snippet, or =1+2" (screenshots
/tmp/opencode/dtl-de.png, /tmp/opencode/dtl-c.png).
make mcde-linux MCDE_DIRS="install programs/dtlaunch" and
"install programs/localized/C/msg" exit=0; MCDE_DIRS=plist: "3483 installed
names under dt/, 8674 in the PLISTs", ok.
Following dtbar (2c229d08c6): the categories, the panes, the window title and
"Show All" come from dtsystemsettings' catalog -- English source
programs/dtsystemsettings/dtsystemsettings.msg (set 1, messages 1-32: the
four categories, 26 panes by ID, the title, Show All), German copy in
programs/localized/de_DE.UTF-8/msg/dtsystemsettings.msg, gencat rule in
msg.C.am, PLIST C plain and ${PLIST.nls} for the German one.
main.c calls setlocale(LC_ALL, "") first: the window title is an argument of
XtVaAppInitialize, and a catalog opened while the locale was still C would
stay the C one for the whole process (measured: first attempt stayed English
in every label).
Measured on Xvfb (1280x800, fresh HOME, ttsession + dtwm), de_DE.UTF-8 via
localedef/LOCPATH: title "Systemeinstellungen", "Alle zeigen", categories
"Persönlich / Hardware / Internet & Netzwerk / System" and the panes
"Darstellung", "Schreibtisch & Bildschirmschoner", "Sprache", "Sicherheit",
"Standardprogramme", "Ton", "Bildschirme", "Tastatur & Maus", "Drucker",
"Energiesparmodus", "Internet-Konten", "Netzwerk", "Freigaben",
"Systeminformation", "Datum & Uhrzeit", "Starten", "Kindersicherung",
"Benutzer", "Software-Aktualisierung", "Sicherung", "Startvolume",
"Bedienungshilfen"; LANG=C the English labels. make mcde-linux
MCDE_DIRS="install programs/dtsystemsettings" and "install
programs/localized/C/msg" exit=0; MCDE_DIRS=plist: "3482 installed names
under dt/, 8672 in the PLISTs", ok.
The old IRIX desktop sounds (imported from the IRIX 6.5.29 media,
~/tmp/irix_extract/assets/desktop-sounds/sounds-events) are a theme of
their own beside Camouflage and Base: 20 events with the names MCDE
uses (Launch, Start, End, Error, Warning, Beep, OpenFolder, DropMove,
DropCopy, Remove, RemoveToDumpster, DeskSwitch, Iconify, Deiconify,
NewMail, PrintFiles, SearchHit, SearchMiss, ClockChimeHour, TerminalBell),
theme.ss from the reference's event list, in
/share/sounds/themes/IRIX. The Sound pane lists
it (Theme menu: Camouflage, Base, IRIX); mcdesoundd -selftest with
MCDE_SOUND_THEME=.../IRIX prints PASS. tools/mcde-shot.sh passes
MCDE_SOUND_THEME through for such tests.
The M menu's labels come from dtbar's catalog now, the CDE way: the English
source programs/dtbar/dtbar.msg, the German copy in
programs/localized/de_DE.UTF-8/msg/dtbar.msg, both built by
programs/localized/*/msg with gencat (dtbar.cat added to msg.C.am) and
installed under lib/nls/msg/<locale>/. catopen("dtbar", NL_CAT_LOCALE) --
the name without .cat, because NLSPATH appends %N.cat (CDE's
NLS_PATH_STRING); dtbar sets NLSPATH itself when the session has none.
Strings: About This Computer, Software Update..., Makronix Software...,
System Settings..., Favourites, Recent Items, Force Quit..., Front Panel,
Sleep, Restart..., Shut Down..., Lock Screen (set 1, messages 1-12).
Measured on Xvfb with ttsession + dtwm + dtbar, a fresh HOME, the M menu
opened with a click:
- LANG=de_DE.UTF-8 (locale generated with localedef into /tmp, LOCPATH):
"Über diesen Computer", "Software-Aktualisierung...",
"Systemeinstellungen...", "Favoriten", "Zuletzt verwendet", "Frontplatte",
"Ruhezustand", "Neustart...", "Ausschalten...", "Bildschirm sperren"
(screenshot /tmp/opencode/catalog-de.png);
- LANG=C: the English labels (/tmp/opencode/catalog-c.png), so the C
catalog and the fallback work.
A direct check with catopen/catgets in C returns the same two strings.
make mcde-linux MCDE_DIRS="install programs/dtbar" and
"... programs/localized/C/msg" exit=0; MCDE_DIRS=plist:
"3410 installed names under dt/, 8599 in the PLISTs", ok.
McdeFile.m.pm (32x32 XPM: a sheet with a folded corner and grey text
lines) is the desktop icon of a file; a folder keeps DtdirB.m.pm.
DeskIconName() picks it for the 'f' of DeskAddDir(). The icon is in
programs/icons/Makefile.am and the PLIST. Measured under Xvfb:
datei.txt shows the document, Ordner the folder.