On 10/22/25 4:34 PM, Enrico Forestieri wrote:
On Wed, Oct 22, 2025 at 04:31:34AM +0200, Marco Atzeri wrote:
On 19/10/2025 21:23, Richard Kimberly Heck wrote:
We are pleased to announce the first release candidate for LyX 2.5.0. This is 'feature complete': no new features will be added. Most of the translation work has also been finished, though there are some new things that will be in the final release.

Find it here: http://ftp.lyx.org/pub/lyx/devel/lyx-2.5/

Please note that LyX 2.5 needs Python 3.8 or newer to work.

Please test this version and let us know if you run into any problems by reporting them to [email protected], which you may do by replying to this message.

Hi Richard,

the attached patch is needed to properly compile on Cygwin

It is equivalent to the current    2.4.3-winres.patch we are
using to build the cygwin binary package.

https://cygwin.com/cgit/cygwin-packages/lyx/tree/
https://cygwin.com/packages/summary/lyx-src.html

windres changed and now requires a different invocation.

Thanks Marco. So, seemingly, the corresponding windres bug
https://sourceware.org/bugzilla/show_bug.cgi?id=27594
will not get fixed?

My workaround has been using a script properly named:

$ cat "/usr/local/bin/gcc -E -xc-header -DRC_INVOKED"
#!/bin/sh
gcc -E -xc-header -DRC_INVOKED "$@"

but your patch is certainly right, whatever the resolution of that bug.

I committed it to master at 63f2e83f after changing --preprocessor="gcc" to --preprocessor="$(CC)", in order to account for cross-compilations, where the command might be "x86_64-w64-mingw32-gcc", for example.

Riki, this should be backported to the 2.4.x branch, too.

Cherry-picked.

Riki



--
----------------------------
Richard Kimberly (Riki) Heck
Professor of Philosophy and Professor of Linguistics
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to