Home | History | Annotate | Download | only in libexec
History log of /src/external/mit/ctwm/libexec/ctwm_app_menu
RevisionDateAuthorComments
 1.8  17-Apr-2026  nia ctwm_app_menu: Handle whitespace around equals sign in ini files

from Robert Whitlock

PR xsrc/60198 ctwm_app_menu doesn't consder whitespace
 1.7  01-Feb-2026  riastradh ctwm_app_menu: Rewrite largely in awk for ~20-100x speedup.

Previously took ~2.5sec on my laptop, now 0.03sec.

Previously took ~10sec on a wiiu, now ~0.5sec.

Output is meant to be byte-for-byte identical, except possibly in
cases that could have screwed up ctwm by quoting shenanigans which
are now escaped. (I hope the escape sequences work, didn't actually
check how ctwm interprets them.) Can maybe support Exec line with
`"' in them by deleting some code (marked XXX) but I didn't test that
it actually works that way.

PR bin/59958: ctwm: long delay during ctwm_app_menu
 1.6  24-Jul-2022  nia ctwm_app_menu: Various shell script optimization suggestions by kre@.
 1.5  22-Jul-2022  nia ctwm_app_menu: Work around "emacs being installed results in the
generated ctwmrc containing invalid syntax" problem. Emacs installs
a desktop file called "emacsclient" that contains "doublequotes"
in its exec string. Pending a better solution for dumping escaped
shell lines into the config file, hide or sanitize desktop entires
that might mess up the internal ctwmrc quoting rules.
 1.4  09-May-2022  nia ctwmrc: Split the automatically generated pkgsrc applications menu
into categories similarly to MATE and Xfce.
 1.3  01-Mar-2021  nia Make this work with a non-standard LOCALBASE.
 1.2  12-Oct-2020  nia Automatic font scaling based on screen size in the default ctwm config.

Based on a shell script which gets the DPI from the X server, and if this
fails, attempts to guess based on resolution. Taking advantage of M4 macros
in the ctwmrc, we can also scale the workspace manager and window list.

The following sizes are supported: 6x12 (<800x600) 8x16 12x24 (4k and higher)
16x32 32x64

Also makes Spleen the default font in ctwm
 1.1  23-Sep-2020  nia branches: 1.1.2;
add a script for dynamically generating a menu in the ctwm desktop

this parses the files in /usr/pkg/share/applications and provides a
submenu for launching applications.

TODO: make /usr/pkg configurable somehow?
 1.1.2.3  24-Jul-2022  martin Pull up following revision(s) (requested by nia in ticket #1481):

external/mit/ctwm/libexec/ctwm_app_menu: revision 1.5 (via patch)

ctwm_app_menu: Work around "emacs being installed results in the
generated ctwmrc containing invalid syntax" problem. Emacs installs
a desktop file called "emacsclient" that contains "doublequotes"
in its exec string. Pending a better solution for dumping escaped
shell lines into the config file, hide or sanitize desktop entires
that might mess up the internal ctwmrc quoting rules.
 1.1.2.2  08-Oct-2020  martin Pull up following revision(s) (requested by nia in ticket #1099):

external/mit/ctwm/libexec/Makefile: revision 1.1
external/mit/ctwm/bin/ctwm/Makefile: revision 1.6
external/mit/ctwm/bin/ctwm/Makefile: revision 1.7
external/mit/ctwm/bin/ctwm/Makefile: revision 1.8
external/mit/ctwm/libexec/ctwm_app_menu: revision 1.1
distrib/sets/lists/xbase/mi: revision 1.157
external/mit/ctwm/Makefile: revision 1.2
external/mit/ctwm/Makefile: revision 1.3
external/mit/ctwm/Makefile: revision 1.4
external/mit/ctwm/Makefile: revision 1.5
external/mit/ctwm/etc/system.ctwmrc: revision 1.1
external/mit/ctwm/etc/Makefile: revision 1.1
external/mit/ctwm/etc/Makefile: revision 1.2

add a script for dynamically generating a menu in the ctwm desktop
this parses the files in /usr/pkg/share/applications and provides a
submenu for launching applications.

TODO: make /usr/pkg configurable somehow?

move the new ctwmrc here so it doesn't conflict with the upstream one

revert; use system.ctwmrc from xsrc until I understand why the build fails

unbreak. bsd.files.mk needs to have an includes target, see also
share/wscons/fonts/Makefile
 1.1.2.1  23-Sep-2020  martin file ctwm_app_menu was added on branch netbsd-9 on 2020-10-08 16:04:07 +0000

RSS XML Feed