Hi Thomas

Thanks a lot for the update! Unfortunately I'm afraid the release needs to be
redone as release 1.0.13.1, since src/gen_deftwmrc.sh is missing from the
tarball (I think it's missing in src/Makefile.am:twm_SOURCES) and even if it
would be included it's likely not executable, so should be made executable
during build before executed or executed via 'sh'.

I'm attaching a workaround patch.

Stefan

On Sun, May 04, 2025 at 10:21:44AM -0400, Thomas Dickey wrote:
> Alan Coopersmith (3):
>       gitlab CI: stop requiring Signed-off-by in commits
>       Remove "All rights reserved" from Oracle copyright notices
>       configure: pass noyywrap to AC_PROG_LEX if using autoconf 2.70 or later
> 
> Thomas E. Dickey (11):
>       include "gram.h" only from "parse.h"
>       amend yylineno change
>       improve declaration of yylex()
>       improve portability for bison/byacc
>       build-fix
>       compiler-warning fixes
>       cleanup manpage-format
>       code-cleanup
>       spelling-fixes found by codespell
>       issue 5: modify manpage as suggested in issue about f.fullzoom
>       twm 1.0.13
> 
> Tim Wiederhake (49):
>       Fix include guard names
>       Remove disabled code
>       Remove always-true ifndef TOM
>       Remove support for xprint
>       Remove unused typedef SigProc
>       Remove write to never-read variable in InstallWindowColormaps
>       Enable compiler warnings
>       Silence uninitialized variable warning
>       Silence old-style function definition warning in yywrap
>       Make atom_names const correct
>       Remove redundant declaration of yylineno
>       Remove redundant declaration of yyparse
>       Remove redundant declaration of yylex
>       Replace GCC_PRINTFLIKE with _X_ATTRIBUTE_PRINTF
>       Replace GCC_NORETURN with _X_NORETURN
>       Remove now unused NoPrintscreens variable
>       Split up InitMenus
>       Make MultiScreen a local variable
>       Make InitFile a local variable
>       Make appContext a local variable
>       Make FirstScreen a local variable
>       Make XtSignalId si static
>       Rework dummy variable usage in AddWindow
>       Rework dummy variable usage in SetHighlightPixmap
>       Rework dummy variable usage in HandleButtonPress
>       Rework dummy variable usage in CreateIconManagers
>       Rework dummy variable usage in do_string_keyword
>       Rework dummy variable usage in IconUp
>       Rework dummy variable usage in ExecuteFunction
>       Remove global variables JunkRoot, JunkChild
>       Remove global variables JunkX, JunkY
>       Remove global variables JunkWidth, JunkHeight, JunkBW, JunkDepth, 
> JunkMask
>       Remove storage specifier 'register'
>       Rename field 'delete' to 'remove' in TitlebarPixmaps
>       Rename field 'class' to 'xclass' in TWMWinConfigEntry
>       Rename field 'class' to 'xclass' in TwmWindow
>       Rename argument 'class' to 'xclass' in LookInList
>       Rename argument 'class' to 'xclass' in GetColorFromList
>       Rename variable 'new' to 'entry' in splitEntry
>       Accomodate different field names when compiling with c++
>       Add explicit cast after memory allocation
>       Simplify default twmrc generation
>       Remove version.c and version.h
>       Provide defaults for externally defined symbols
>       Add meson as alternative build system
>       Add meson builds to CI
>       Fix memory leak in SaveYourselfPhase2CB
>       Fix memory leak in FindFontSet
>       Fix read from uninitialized data
> 
> git tag: twm-1.0.13
> 
> https://xorg.freedesktop.org/archive/individual/app/twm-1.0.13.tar.gz
> SHA256: 74ee5391104170f8b98b7af622c8f646e86cc30cce023970946a4c3435dd3cbe  
> twm-1.0.13.tar.gz
> SHA512: 
> 88e272b3074346c1829f2adad532bfbcb82c5beadac32c8268ad6ed13370bb8556b23bc71b5bfee0f7344abc10881e60f48ce6faf958c0b4171ebbb79bbcce90
>   twm-1.0.13.tar.gz
> PGP:  
> https://xorg.freedesktop.org/archive/individual/app/twm-1.0.13.tar.gz.sig
> 
> https://xorg.freedesktop.org/archive/individual/app/twm-1.0.13.tar.xz
> SHA256: 966c4df15757645943a916c1beee4ff4065b44fde00cf01f8477d8c1d0cba2b6  
> twm-1.0.13.tar.xz
> SHA512: 
> bab61865b798869d64fdf6e65ac9affee7ae0acf5523e4dc36e5fc65664ed83fb6ba8f1f7f495c29340e9e3dd00a386a81dcccfa11fc7adf3edda505db2f52b9
>   twm-1.0.13.tar.xz
> PGP:  
> https://xorg.freedesktop.org/archive/individual/app/twm-1.0.13.tar.xz.sig
> 
> -- 
> Thomas E. Dickey <dic...@invisible-island.net>
> https://invisible-island.net

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE Software Solutions Germany GmbH
Tel: 0911-740 53 0            Frankenstraße 146
FAX: 0911-740 53 479          D-90461 Nürnberg
http://www.suse.de            Germany 
----------------------------------------------------------------
Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
(HRB 36809, AG Nürnberg)
----------------------------------------------------------------
>From 68dc6f91963d4798880c5f574fdb8a1fd3b1b0b6 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndir...@suse.de>
Date: Mon, 5 May 2025 12:48:29 +0200
Subject: [PATCH] src/gen_deftwmrc.sh is not executable, so run it with sh ...

---
 src/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 96fa621..275c370 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -43,6 +43,7 @@ twm_SOURCES =		\
 	events.h	\
 	gc.c		\
 	gc.h		\
+	gen_deftwmrc.sh \
 	iconmgr.c	\
 	iconmgr.h	\
 	icons.c		\
@@ -68,6 +69,6 @@ twm_SOURCES =		\
 BUILT_SOURCES = gram.h deftwmrc.c
 
 deftwmrc.c:  system.twmrc
-	$(srcdir)/gen_deftwmrc.sh $@ $<
+	sh $(srcdir)/gen_deftwmrc.sh $@ $<
 
 EXTRA_DIST = siconify.bm
--- /dev/null	2025-03-14 11:53:06.373078251 +0100
+++ twm/src/gen_deftwmrc.sh	2025-05-05 11:53:46.905028000 +0200
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+rm -f ${1}
+echo '/*' >>${1}
+echo ' * This file is generated automatically from the default' >>${1}
+echo ' * twm bindings file system.twmrc by the twm Makefile.' >>${1}
+echo ' */' >>${1}
+echo '' >>${1}
+echo 'const unsigned char *defTwmrc[] = {' >>${1}
+sed \
+    -e '/^#/d' \
+    -e 's/"/\\"/g' \
+    -e 's/^/    (const unsigned char *) "/' \
+    -e 's/$/",/' \
+    <${2} \
+    >>${1}
+echo '    (const unsigned char *) 0 };' >>${1}

Reply via email to