Skip to content

Commit

Permalink
kde-apps/krfb: backport patch from upstream solving frame update issue
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
Michael Palimaka committed Mar 25, 2017
1 parent 80273d2 commit e230ec4
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
30 changes: 30 additions & 0 deletions kde-apps/krfb/files/krfb-16.12.3-framebuffer.patch
Original file line number Diff line number Diff line change
@@ -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

42 changes: 42 additions & 0 deletions kde-apps/krfb/krfb-16.12.3-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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" )

0 comments on commit e230ec4

Please sign in to comment.