Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sioyek for openSUSE:Factory checked in at 2023-03-08 14:53:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sioyek (Old) and /work/SRC/openSUSE:Factory/.sioyek.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sioyek" Wed Mar 8 14:53:34 2023 rev:5 rq:1070076 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sioyek/sioyek.changes 2023-01-16 18:01:47.871790828 +0100 +++ /work/SRC/openSUSE:Factory/.sioyek.new.31432/sioyek.changes 2023-03-08 14:53:37.283018710 +0100 @@ -1,0 +2,5 @@ +Tue Mar 7 18:01:05 UTC 2023 - Jan Engelhardt <jeng...@inai.de> + +- Add no-link-gumbo.patch and drop dependency on gumbo. + +------------------------------------------------------------------- New: ---- no-link-gumbo.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sioyek.spec ++++++ --- /var/tmp/diff_new_pack.guCxBM/_old 2023-03-08 14:53:37.819021629 +0100 +++ /var/tmp/diff_new_pack.guCxBM/_new 2023-03-08 14:53:37.823021651 +0100 @@ -24,6 +24,7 @@ Group: Productivity/Office/Other URL: https://github.com/ahrm/sioyek Source0: https://github.com/ahrm/sioyek/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch1: no-link-gumbo.patch BuildRequires: binutils BuildRequires: c++_compiler BuildRequires: libQt5Gui-devel @@ -35,7 +36,6 @@ BuildRequires: mupdf-devel-static BuildRequires: openjpeg2-devel BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(gumbo) BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(jbig2dec) BuildRequires: pkgconfig(libjpeg) ++++++ no-link-gumbo.patch ++++++ From: Jan Engelhardt <jeng...@inai.de> Date: 2023-03-07 18:53:31.749775858 +0100 "-lgumbo" is present in the .pro file because libmupdf is a static archive - with no record of dependencies like an .so file. When MuPDF is built with bundled gumbo however, gumbo is included in mupdf.a, therefore sioyek need not link to it. Without a mupdf.pc file, it's programmatically not possible for sioyek to do the right thing. Because gumbo is removed from openSUSE and mupdf is built with bundled gumbo, we statically remove -lgumbo from the makefile. --- pdf_viewer_build_config.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: sioyek-2.0.0/pdf_viewer_build_config.pro =================================================================== --- sioyek-2.0.0.orig/pdf_viewer_build_config.pro +++ sioyek-2.0.0/pdf_viewer_build_config.pro @@ -82,7 +82,7 @@ unix:!mac { } else { DEFINES += NON_PORTABLE DEFINES += LINUX_STANDARD_PATHS - LIBS += -ldl -lmupdf -lmupdf-third -lgumbo -lharfbuzz -lfreetype -ljbig2dec -ljpeg -lmujs -lopenjp2 -lz + LIBS += -ldl -lmupdf -lmupdf-third -lharfbuzz -lfreetype -ljbig2dec -ljpeg -lmujs -lopenjp2 -lz } isEmpty(PREFIX){