From 7b5508e4ceeed65e68f9b18ca6cfb458141fcd20 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 18 Jul 2022 14:07:03 +0200 Subject: [PATCH] Disable nautilus extension as it's not ported to gtk4-based nautilus --- evince.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/evince.spec b/evince.spec index 055e2a9..9433c3c 100644 --- a/evince.spec +++ b/evince.spec @@ -9,7 +9,7 @@ Name: evince Version: 43~alpha -Release: 1%{?dist} +Release: 2%{?dist} Summary: Document viewer License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse @@ -44,8 +44,10 @@ BuildRequires: libappstream-glib-devel BuildRequires: meson %if ! 0%{?flatpak} BuildRequires: pkgconfig(synctex) +%if 0 # for the nautilus properties page BuildRequires: pkgconfig(libnautilus-extension) +%endif # for the dvi backend BuildRequires: texlive-lib-devel %endif @@ -111,6 +113,7 @@ This package contains a backend to let evince display djvu files. %endif %if ! 0%{?flatpak} +%if 0 %package nautilus Summary: Evince extension for nautilus Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -120,6 +123,7 @@ Requires: nautilus%{?_isa} This package contains the evince extension for the nautilus file manager. It adds an additional tab called "Document" to the file properties dialog. %endif +%endif %package thumbnailer Summary: Evince thumbnailer @@ -157,8 +161,8 @@ It provides the printing preview for the GTK printing dialog. -Dxps=enabled \ %if 0%{?flatpak} -Dsystemduserunitdir=no \ - -Dnautilus=false \ %endif + -Dnautilus=false \ -Dps=enabled %meson_build @@ -254,9 +258,11 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p %endif %if ! 0%{?flatpak} +%if 0 %files nautilus %{_libdir}/nautilus/extensions-3.0/libevince-properties-page.so %endif +%endif %files thumbnailer %{_bindir}/evince-thumbnailer @@ -268,6 +274,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p %{_mandir}/man1/evince-previewer.1* %changelog +* Mon Jul 18 2022 Kalev Lember - 43~alpha-2 +- Disable nautilus extension as it's not ported to gtk4-based nautilus + * Mon Jul 18 2022 Kalev Lember - 43~alpha-1 - Update to 43.alpha