Files
mcde/programs/dtlaunch/Makefile.am
T
lotherk 9b41251028 MCDE dtlaunch: a message catalog, German measured (t0282)
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.
2026-11-16 09:56:46 +00:00

19 lines
599 B
Makefile

MAINTAINERCLEANFILES = Makefile.in
# dtlaunch, MCDE's launcher (dtlaunch.c); model.c is the part without X and
# has its own tests (make check).
bin_PROGRAMS = dtlaunch
dtlaunch_SOURCES = dtlaunch.c model.c model.h
dtlaunch_CPPFLAGS = $(XFIXES_CPPFLAGS) -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
dtlaunch_LDADD = $(XFIXESLIB) $(XTOOLLIB) -lm
check_PROGRAMS = test_model
test_model_SOURCES = test_model.c model.c model.h
test_model_LDADD = -lm
TESTS = test_model
# an example for ~/.dt/snippets
exampledir = $(CDE_INSTALLATION_TOP)/examples/dtlaunch
dist_example_DATA = snippets.example