commit:     e230ec40a8f223dd43048993ae67bd04439c72ac
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 01:03:45 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 01:04:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e230ec40

kde-apps/krfb: backport patch from upstream solving frame update issue

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 kde-apps/krfb/files/krfb-16.12.3-framebuffer.patch | 30 ++++++++++++++++
 kde-apps/krfb/krfb-16.12.3-r1.ebuild               | 42 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/kde-apps/krfb/files/krfb-16.12.3-framebuffer.patch 
b/kde-apps/krfb/files/krfb-16.12.3-framebuffer.patch
new file mode 100644
index 00000000000..e6117a979a8
--- /dev/null
+++ b/kde-apps/krfb/files/krfb-16.12.3-framebuffer.patch
@@ -0,0 +1,30 @@
+From c0ceb8a83de5d5a2be0f842eafd84024bfeea6ed Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <[email protected]>
+Date: Fri, 24 Mar 2017 00:20:12 +0100
+Subject: [PATCH] Set default framebuffer plugin to "qt" instead of "x11"
+
+Make default "qt" framebuffer plugin instead of "x11". Workaround for bug 
https://bugs.kde.org/show_bug.cgi?id=356782
+Not a proper fix, ideally "x11" plugin needs to be fixed.
+
+REVIEW: 129721
+BUGS: 356782
+---
+ krfb/krfb.kcfg | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/krfb/krfb.kcfg b/krfb/krfb.kcfg
+index e0683d8..309d561 100644
+--- a/krfb/krfb.kcfg
++++ b/krfb/krfb.kcfg
+@@ -46,7 +46,7 @@
+   <group name="FrameBuffer">
+     <entry name="preferredFrameBufferPlugin" type="String">
+       <label>Preferred Frame Buffer Plugin</label>
+-      <default>x11</default>
++      <default>qt</default>
+     </entry>
+   </group>
+ </kcfg>
+-- 
+2.10.2
+

diff --git a/kde-apps/krfb/krfb-16.12.3-r1.ebuild 
b/kde-apps/krfb/krfb-16.12.3-r1.ebuild
new file mode 100644
index 00000000000..de5a1a7d081
--- /dev/null
+++ b/kde-apps/krfb/krfb-16.12.3-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="VNC-compatible server to share KDE desktops"
+HOMEPAGE="https://www.kde.org/applications/system/krfb/";
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kcrash)
+       $(add_frameworks_dep kdbusaddons)
+       $(add_frameworks_dep kdnssd)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtx11extras)
+       >=net-libs/libvncserver-0.9.9
+       sys-libs/zlib
+       virtual/jpeg:0
+       x11-libs/libX11
+       x11-libs/libXdamage
+       x11-libs/libXext
+       x11-libs/libXtst
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-framebuffer.patch" )

Reply via email to