diff --git a/0001-Set-application-ID.patch b/0001-Set-application-ID.patch new file mode 100644 index 0000000..96f7f11 --- /dev/null +++ b/0001-Set-application-ID.patch @@ -0,0 +1,26 @@ +From 73228688090414d5ba2373f08167b547a7ea71c8 Mon Sep 17 00:00:00 2001 +From: "Ankur Sinha (Ankur Sinha Gmail)" +Date: Mon, 5 Aug 2019 19:14:14 +0100 +Subject: [PATCH] Set application ID + +--- + zathura/zathura.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/zathura/zathura.c b/zathura/zathura.c +index 1dbc5c4..71ed41e 100644 +--- a/zathura/zathura.c ++++ b/zathura/zathura.c +@@ -420,6 +420,9 @@ zathura_init(zathura_t* zathura) + return false; + } + ++ /* Set application ID */ ++ g_set_prgname("org.pwmt.zathura"); ++ + /* create zathura (config/data) directory */ + create_directories(zathura); + +-- +2.21.0 + diff --git a/zathura.spec b/zathura.spec index 2b32199..8ed7d4e 100644 --- a/zathura.spec +++ b/zathura.spec @@ -1,10 +1,13 @@ Name: zathura Version: 0.4.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A lightweight document viewer License: zlib URL: http://pwmt.org/projects/%{name}/ Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz +# Correctly sets application ID +# https://git.pwmt.org/pwmt/zathura/merge_requests/21 +Patch0: 0001-Set-application-ID.patch BuildRequires: bash-completion BuildRequires: binutils BuildRequires: check @@ -13,6 +16,7 @@ BuildRequires: file-devel BuildRequires: gcc BuildRequires: gettext BuildRequires: girara-devel >= 0.3.2 +BuildRequires: git-core BuildRequires: glib2-devel >= 2.50 BuildRequires: gtk3-devel >= 3.22 BuildRequires: intltool @@ -91,7 +95,7 @@ Requires: zathura = %{version}-%{release} This package provides %{summary}. %prep -%setup -q +%autosetup -S git %build %meson -Dsynctex=enabled -Dsqlite=enabled -Dmagic=enabled -Dseccomp=enabled -Dtests=enabled @@ -132,6 +136,10 @@ rmdir %{buildroot}/%{_datadir}/zsh/vendor-completions %{_datadir}/zsh/site-functions/_zathura %changelog +* Wed Aug 07 2019 Ankur Sinha - 0.4.3-4 +- Includes patch to correctly set the application ID +- Corrects icon and application window grouping on wayland + * Sat Jul 27 2019 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild