public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Cossette <farchord@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/okular] rawhide: Added upstream patch to fix kile crashing on start
Date: Wed, 26 Aug 2026 11:01:49 GMT [thread overview]
Message-ID: <178774210935.1.5565322646870939369.rpms-okular-209dbe882f5e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/okular
Branch : rawhide
Commit : 209dbe882f5e2fa4b7f64d50923f02c8fd5ad348
Author : Steve Cossette <farchord@gmail.com>
Date : 2026-08-26T07:01:39-04:00
Stats : +41/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/okular/c/209dbe882f5e2fa4b7f64d50923f02c8fd5ad348?branch=rawhide
Log:
Added upstream patch to fix kile crashing on start
---
diff --git a/e322356cd1b5fae4fb71ff61b248fcb352d189cb.patch b/e322356cd1b5fae4fb71ff61b248fcb352d189cb.patch
new file mode 100644
index 0000000..2b10e58
--- /dev/null
+++ b/e322356cd1b5fae4fb71ff61b248fcb352d189cb.patch
@@ -0,0 +1,33 @@
+From e322356cd1b5fae4fb71ff61b248fcb352d189cb Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Fri, 21 Aug 2026 11:55:20 +0000
+Subject: [PATCH] Initialize m_pasteAnnotation
+
+BUG: 524527
+
+
+(cherry picked from commit 32544042498b9f7f899aa29bb0211dc4ac2ab7c9)
+
+32544042 Initialize m_pasteAnnotation
+
+Co-authored-by: Antonio Rojas <arojas@archlinux.org>
+---
+ part/part.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/part/part.cpp b/part/part.cpp
+index f354c5e5b..d5cef64e9 100644
+--- a/part/part.cpp
++++ b/part/part.cpp
+@@ -761,6 +761,8 @@ void Part::setupViewerActions()
+ m_exportAsText = nullptr;
+ m_exportAsDocArchive = nullptr;
+
++ m_pasteAnnotation = nullptr;
++
+ #if HAVE_PURPOSE
+ m_share = nullptr;
+ m_shareMenu = nullptr;
+--
+GitLab
+
diff --git a/okular.spec b/okular.spec
index e237c4f..3bfc1b5 100644
--- a/okular.spec
+++ b/okular.spec
@@ -15,7 +15,7 @@
Name: okular
Summary: A document viewer
Version: 26.08.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL-2.0-only
URL: https://www.kde.org/applications/graphics/okular/
@@ -31,6 +31,10 @@ Source0: https://download.kde.org/%{stable}/release-service/%{version}/src/%{nam
## upstream patches (master branch)
+# Initialize m_pasteAnnotation (Fixes a crash with Kile)
+# https://invent.kde.org/graphics/okular/-/commit/e322356cd1b5fae4fb71ff61b248fcb352d189cb
+Patch0: e322356cd1b5fae4fb71ff61b248fcb352d189cb.patch
+
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -221,6 +225,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/org.kde.ok
%changelog
+* Wed Aug 26 2026 Steve Cossette <farchord@gmail.com> - 26.08.0-2
+- Added upstream patch to fix kile crashing on start
+
* Fri Aug 14 2026 Steve Cossette <farchord@gmail.com> - 26.08.0-1
- 26.08.0
reply other threads:[~2026-08-26 11:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178774210935.1.5565322646870939369.rpms-okular-209dbe882f5e@fedoraproject.org \
--to=farchord@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox