Package: okular
Severity: normal
Control: tag -1 patch

kdeinit5 (in kinit) appears necessary for the proper functioning of
okular; failing to have it installed results in errors like:

QXcbConnection: XCB error: 3 (BadWindow), sequence: 1506, resource id: 6295547, 
major code: 40 (TranslateCoords), minor code: 0
Can not find 'kdeinit5' executable at  
"/home/don/bin:/usr/local/bin:/usr/bin:/bin:/usr/games" "/usr/bin, 
/usr/lib/qt5/bin"
Can not find 'kdeinit5' executable at  
"/home/don/bin:/usr/local/bin:/usr/bin:/bin:/usr/games" "/usr/bin, 
/usr/lib/qt5/bin"
Can not find 'kdeinit5' executable at  
"/home/don/bin:/usr/local/bin:/usr/bin:/bin:/usr/games" "/usr/bin, 
/usr/lib/qt5/bin"
kf5.kio.core: couldn't create slave: "Cannot talk to klauncher: The name 
org.kde.klauncher5 was not provided by any .service files"

when trying to save PDF files.

Installing kinit fixes the issue. [This isn't a huge deal, because most
people with KDE desktops will already have this package, but it caught
me out, since I just use some KDE apps, like okular.]

The attached trivial patch fixes this issue.


-- 
Don Armstrong                      https://www.donarmstrong.com

Taxes are not levied for the benefit of the taxed.
 -- Robert Heinlein _Time Enough For Love_ p250
From 192e159f9b32b5b637f6f44f39fd991db8aa336a Mon Sep 17 00:00:00 2001
From: Don Armstrong <d...@debian.org>
Date: Wed, 10 Jan 2018 10:34:36 -0800
Subject: [PATCH] Depend on kinit for kdeinit5 launcher

---
 debian/changelog | 6 ++++++
 debian/control   | 1 +
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 688aa87..d5bccbb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+okular (4:17.08.3-3) unstable; urgency=medium
+
+  * Depend on kinit for kdeinit5 launcher (Closes: #nnnn)
+
+ --
+
 okular (4:17.08.3-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index f5f2360..5f91c14 100644
--- a/debian/control
+++ b/debian/control
@@ -66,6 +66,7 @@ Depends: libokular5core7 (= ${binary:Version}),
          qml-module-qt-labs-folderlistmodel,
          qml-module-qtgraphicaleffects,
          qml-module-qtquick-controls,
+         kinit,
          ${misc:Depends},
          ${shlibs:Depends},
 Recommends: cups-bsd
-- 
2.15.1

Reply via email to