From dc6dc822c5ffb86e3ec57e44e6c921a6560148fdf830a89336ce3edef40c3771 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Wed, 13 Dec 2023 15:31:12 +0000 Subject: [PATCH] Accepting request 1132903 from home:gcomes.obs - move %reconfigure_fonts_prereq to the font package - fix build failure on tumbleweed * hack to be removed with lyx 2.4 OBS-URL: https://build.opensuse.org/request/show/1132903 OBS-URL: https://build.opensuse.org/package/show/Publishing/lyx?expand=0&rev=221 --- lyx.changes | 7 +++++++ lyx.spec | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lyx.changes b/lyx.changes index 5181c50..6e816c1 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 13 14:45:07 UTC 2023 - Giacomo Comes + +- move %reconfigure_fonts_prereq to the font package +- fix build failure on tumbleweed + * hack to be removed with lyx 2.4 + ------------------------------------------------------------------- Mon Jan 2 09:04:28 UTC 2023 - Cor Blom diff --git a/lyx.spec b/lyx.spec index 228b217..ad0387c 100644 --- a/lyx.spec +++ b/lyx.spec @@ -116,7 +116,6 @@ Recommends: texlive-doublestroke Recommends: texlive-picinpar Recommends: texlive-shapepar Recommends: texlive-sidecap -%reconfigure_fonts_prereq %description LyX is a document processor that encourages an approach to writing @@ -136,6 +135,7 @@ LyX uses ImageMagick to deal with images. For security reasons Summary: Fonts for displaying math Group: System/X11/Fonts BuildArch: noarch +%reconfigure_fonts_prereq %description fonts A collection of Math symbol fonts for LyX. @@ -144,6 +144,13 @@ A collection of Math symbol fonts for LyX. %autosetup -p1 %build +#hack for tumbleweed and for 2.3.7 only: fix build failure +#to be removed with lyx 2.4 as it already contains the fix +%if 0%{?suse_version} > 1500 +if [[ %{version} = 2.3.7 ]]; then + sed -i '/static.*zoom_/s@static @@' src/frontends/qt4/GuiView.h +fi +%endif #./autogen.sh TEXMF=%{_datadir}/texmf %configure \