summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-03-25 12:03:45 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-03-25 12:04:03 +1100
commite230ec40a8f223dd43048993ae67bd04439c72ac (patch)
treef2f0b4ad5e9057b1c61eb807a2aa61a7b8d82a88 /kde-apps/krfb
parentsci-chemistry/avogadro2: Adjust Qt5 dependencies (diff)
downloadgentoo-e230ec40a8f223dd43048993ae67bd04439c72ac.tar.gz
gentoo-e230ec40a8f223dd43048993ae67bd04439c72ac.tar.bz2
gentoo-e230ec40a8f223dd43048993ae67bd04439c72ac.zip
kde-apps/krfb: backport patch from upstream solving frame update issue
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'kde-apps/krfb')
-rw-r--r--kde-apps/krfb/files/krfb-16.12.3-framebuffer.patch30
-rw-r--r--kde-apps/krfb/krfb-16.12.3-r1.ebuild42
2 files changed, 72 insertions, 0 deletions
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 000000000000..e6117a979a81
--- /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 <aacid@kde.org>
+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 000000000000..de5a1a7d081e
--- /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" )