From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 43F401388BF for ; Wed, 17 Feb 2016 11:14:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6254221C00A; Wed, 17 Feb 2016 11:14:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC33F21C00A for ; Wed, 17 Feb 2016 11:14:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80506340CDA for ; Wed, 17 Feb 2016 11:14:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD49B14AC for ; Wed, 17 Feb 2016 11:13:58 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1455707627.f640b7c3b14c747f026e5667beddbf7def4d0549.kensington@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/plasma/files/, kde-frameworks/plasma/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-frameworks/plasma/files/plasma-5.19.0-crash.patch kde-frameworks/plasma/files/plasma-5.19.0-systrayicons.patch kde-frameworks/plasma/plasma-5.19.0-r1.ebuild X-VCS-Directories: kde-frameworks/plasma/ kde-frameworks/plasma/files/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: f640b7c3b14c747f026e5667beddbf7def4d0549 X-VCS-Branch: master Date: Wed, 17 Feb 2016 11:13:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4665bcbc-8a4c-44ab-9ad4-328846d2205f X-Archives-Hash: cd3dcc48db80c8817221ee3867dc9efd commit: f640b7c3b14c747f026e5667beddbf7def4d0549 Author: Michael Palimaka gentoo org> AuthorDate: Wed Feb 17 11:13:25 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Feb 17 11:13:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f640b7c3 kde-frameworks/plasma: backport two patches from upstream Solves a crash when diplaying tooltips in the task manager, and missing icons in the system tray. Package-Manager: portage-2.2.27 .../plasma/files/plasma-5.19.0-crash.patch | 27 ++++++++ .../plasma/files/plasma-5.19.0-systrayicons.patch | 34 ++++++++++ kde-frameworks/plasma/plasma-5.19.0-r1.ebuild | 75 ++++++++++++++++++++++ 3 files changed, 136 insertions(+) diff --git a/kde-frameworks/plasma/files/plasma-5.19.0-crash.patch b/kde-frameworks/plasma/files/plasma-5.19.0-crash.patch new file mode 100644 index 0000000..8c3a60b --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.19.0-crash.patch @@ -0,0 +1,27 @@ +From 1e196fdfb2a6eaf1664e1155c086616d55c6712b Mon Sep 17 00:00:00 2001 +From: David Rosca +Date: Mon, 15 Feb 2016 19:05:26 +0100 +Subject: [PATCH] WindowThumbnail: Discard glx pixmap in stopRedirecting() + +BUG: 357895 +FIXED-IN: 5.20 +REVIEW: 127072 +--- + src/declarativeimports/core/windowthumbnail.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/declarativeimports/core/windowthumbnail.cpp b/src/declarativeimports/core/windowthumbnail.cpp +index 21e655e..b838053 100644 +--- a/src/declarativeimports/core/windowthumbnail.cpp ++++ b/src/declarativeimports/core/windowthumbnail.cpp +@@ -584,6 +584,7 @@ void WindowThumbnail::stopRedirecting() + return; + } + xcb_composite_unredirect_window(c, m_winId, XCB_COMPOSITE_REDIRECT_AUTOMATIC); ++ discardPixmap(); + if (m_damage == XCB_NONE) { + return; + } +-- +2.4.10 + diff --git a/kde-frameworks/plasma/files/plasma-5.19.0-systrayicons.patch b/kde-frameworks/plasma/files/plasma-5.19.0-systrayicons.patch new file mode 100644 index 0000000..f8488cf --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.19.0-systrayicons.patch @@ -0,0 +1,34 @@ +From 525bf2d377c21b41971a72d694a507bf2af0ada6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Dan=20Vr=C3=A1til?= +Date: Tue, 16 Feb 2016 17:59:32 +0100 +Subject: [PATCH] Fix IconItem not loading non-theme icons with name + +Commit 5184ac introduced a small regression that caused IconItem +to no longer load non-theme icons with name set, for instance icons +coming from sni-qt, causing sni-qt apps to not show in systray. + +BUG: 359388 +FIXED-IN: 5.20 +REVIEW: 127091 +--- + src/declarativeimports/core/iconitem.cpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/declarativeimports/core/iconitem.cpp b/src/declarativeimports/core/iconitem.cpp +index 1d7921a..085f284 100644 +--- a/src/declarativeimports/core/iconitem.cpp ++++ b/src/declarativeimports/core/iconitem.cpp +@@ -148,6 +148,10 @@ void IconItem::setSource(const QVariant &source) + //fail, use QIcon + } else { + m_icon = QIcon::fromTheme(sourceString); ++ if (m_icon.isNull()) { ++ // fallback for non-theme icons ++ m_icon = source.value(); ++ } + delete m_svgIcon; + m_svgIcon = 0; + m_imageIcon = QImage(); +-- +2.4.10 + diff --git a/kde-frameworks/plasma/plasma-5.19.0-r1.ebuild b/kde-frameworks/plasma/plasma-5.19.0-r1.ebuild new file mode 100644 index 0000000..dae6808 --- /dev/null +++ b/kde-frameworks/plasma/plasma-5.19.0-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KMNAME="${PN}-framework" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Plasma framework" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="egl gles2 X" + +COMMON_DEPEND=" + $(add_frameworks_dep kactivities) + $(add_frameworks_dep karchive) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kdeclarative) + $(add_frameworks_dep kglobalaccel) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep kpackage) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtdbus) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui 'gles2=') + $(add_qt_dep qtquickcontrols) + $(add_qt_dep qtscript) + $(add_qt_dep qtsql) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + egl? ( media-libs/mesa[egl] ) + !gles2? ( virtual/opengl ) + X? ( + $(add_qt_dep qtx11extras) + x11-libs/libX11 + x11-libs/libxcb + ) +" +DEPEND="${COMMON_DEPEND} + $(add_frameworks_dep kdoctools) + X? ( x11-proto/xproto ) +" +RDEPEND="${COMMON_DEPEND} + !