lib/McdeSound (include/Mcde/Sound.h) reads the theme in the reference's X-Resource form (*Launch.soundfile: launch.wav) and sends an event as a ClientMessage to the selection owner of _MCDE_SOUND_SERVER. programs/mcdesoundd is that server: it looks the event up, drops a repeat within 50 ms, plays the file through paplay/aplay/audioplay (the X bell when no player is installed) and logs the path. The theme Camouflage carries 19 events with tones generated for MCDE (no files from the reference), installed under share/sounds/themes. Measured under Xvfb: mcdesoundd -selftest -> PASS; with the server running, 'Launch' and 'OpenFolder' arrive and the log names the played files.
14 lines
741 B
Makefile
14 lines
741 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
SUBDIRS = backdrops icons dsdm dtmail dtpad dtfile dtwm dtlogin \
|
|
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
|
|
dtcalc dtaction dtspcd dtscreen dtksh dtcm dtsearchpath \
|
|
dtappbuilder palettes dtappintegrate dtprintegrate dtconfig \
|
|
dtcreate dtprintinfo fontaliases dtdspmsg ttsnoop dtimsstart \
|
|
dtpdm dtsr dtpdmd dtinfo types tttypes util dtopen localized \
|
|
dthelp dtdocbook dtlaunch dtbar dtsystemsettings dtdiskutility dtbackup dtappscan dtkeys dtthemesync dtphoto dtpaint dttoolbox mcdesoundd
|
|
|
|
install-data-hook:
|
|
-if [ $(CDE_INSTALLATION_TOP)/bin != $(bindir) ];then \
|
|
cd $(DESTDIR)$(CDE_INSTALLATION_TOP) && $(LN_S) $(bindir) bin ; fi
|