public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/okular] f45: Added upstream patch to fix kile crashing on start
@ 2026-08-26 11:07 Steve Cossette
  0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-08-26 11:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/okular
Branch : f45
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=f45

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26 11:07 [rpms/okular] f45: Added upstream patch to fix kile crashing on start Steve Cossette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox