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.

Regards
Marco


--- origsrc/lyx-2.5.0~RC1/development/cygwin/Makefile.am        2025-10-04 
21:00:02.000000000 +0200
+++ src/lyx-2.5.0~RC1/development/cygwin/Makefile.am    2025-10-22 
03:18:59.435044300 +0200
@@ -5,7 +5,7 @@ include $(top_srcdir)/config/common.am
 
 .rc.o:
        cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
-       windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header 
-DRC_INVOKED" $< -o $@
+       windres -I$(top_builddir) --preprocessor="gcc" --preprocessor-arg="-E" 
--preprocessor-arg="-xc-header" --preprocessor-arg="-DRC_INVOKED" $< -o $@
 
 bin_PROGRAMS = lyxeditor lyxwin
 bin_SCRIPTS = lyxeditor.sh
--- origsrc/lyx-2.5.0~RC1/src/Makefile.am       2025-10-04 21:00:02.000000000 
+0200
+++ src/lyx-2.5.0~RC1/src/Makefile.am   2025-10-22 03:19:50.227052600 +0200
@@ -43,7 +43,7 @@ if LYX_WIN_RESOURCE
 .rc.o:
        cp $(top_srcdir)/development/Win32/packaging/icons/lyx.ico .
        cp $(top_srcdir)/development/Win32/packaging/icons/lyx_doc.ico .
-       $(RC) -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" 
$< -o $@
+       $(RC) -I$(top_builddir) --preprocessor="gcc" --preprocessor-arg="-E" 
--preprocessor-arg="-xc-header" --preprocessor-arg="-DRC_INVOKED" $< -o $@
 endif
 
 if INSTALL_MACOSX
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to