Add patch to correctly set application ID

epel9
Ankur Sinha (Ankur Sinha Gmail) 5 years ago
parent acd4c1a3ea
commit c0681e821d
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

@ -0,0 +1,26 @@
From 73228688090414d5ba2373f08167b547a7ea71c8 Mon Sep 17 00:00:00 2001
From: "Ankur Sinha (Ankur Sinha Gmail)" <sanjay.ankur@gmail.com>
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

@ -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 <ankursinha AT fedoraproject DOT org> - 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 <releng@fedoraproject.org> - 0.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save