From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 549C6139694 for ; Sat, 18 Mar 2017 22:27:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E0FA21C073; Sat, 18 Mar 2017 22:27:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6023921C073 for ; Sat, 18 Mar 2017 22:27:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3105E34105A for ; Sat, 18 Mar 2017 22:27:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E9706CEF for ; Sat, 18 Mar 2017 22:27:32 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1489876041.c7d06fd8eee37017eba3a09438632b923f751485.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/plasma/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/plasma/metadata.xml kde-frameworks/plasma/plasma-9999.ebuild X-VCS-Directories: kde-frameworks/plasma/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c7d06fd8eee37017eba3a09438632b923f751485 X-VCS-Branch: master Date: Sat, 18 Mar 2017 22:27:32 +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: 6a995e2e-65d3-4b79-83df-47a22d679dec X-Archives-Hash: 6edad74968fa6b74f47ed7b994abcb2c commit: c7d06fd8eee37017eba3a09438632b923f751485 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Mar 18 13:53:21 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Mar 18 22:27:21 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c7d06fd8 kde-frameworks/plasma: Drop USE=egl and tie it together w/ USE=wayland In short: X11 default is GLX with no UI handle to change it, on Wayland EGL is required. It is then much simpler to drop USE=egl and enable EGL support together with the wayland USE flag. See also: https://blog.martin-graesslin.com/blog/2016/08/opengl-changes-in-kwin-compositing/ Reported-by: Martijn Schmidt gmail.com> Gentoo-bug: 610892 Package-Manager: Portage-2.3.3, Repoman-2.3.1 kde-frameworks/plasma/metadata.xml | 1 - kde-frameworks/plasma/plasma-9999.ebuild | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/kde-frameworks/plasma/metadata.xml b/kde-frameworks/plasma/metadata.xml index 03d701808d..6b9e870031 100644 --- a/kde-frameworks/plasma/metadata.xml +++ b/kde-frameworks/plasma/metadata.xml @@ -6,7 +6,6 @@ Gentoo KDE Project - Enable EGL support Use GLES 2.0 or later instead of full OpenGL diff --git a/kde-frameworks/plasma/plasma-9999.ebuild b/kde-frameworks/plasma/plasma-9999.ebuild index cc13c6d726..157a89ba61 100644 --- a/kde-frameworks/plasma/plasma-9999.ebuild +++ b/kde-frameworks/plasma/plasma-9999.ebuild @@ -10,7 +10,7 @@ inherit kde5 DESCRIPTION="Plasma framework" LICENSE="LGPL-2+" KEYWORDS="" -IUSE="egl gles2 wayland X" +IUSE="gles2 wayland X" COMMON_DEPEND=" $(add_frameworks_dep kactivities) @@ -36,9 +36,11 @@ COMMON_DEPEND=" $(add_qt_dep qtsql) $(add_qt_dep qtsvg) $(add_qt_dep qtwidgets) - egl? ( media-libs/mesa[egl] ) !gles2? ( virtual/opengl ) - wayland? ( $(add_frameworks_dep kwayland) ) + wayland? ( + $(add_frameworks_dep kwayland) + media-libs/mesa[egl] + ) X? ( $(add_qt_dep qtx11extras) x11-libs/libX11 @@ -57,8 +59,8 @@ RESTRICT+=" test" src_configure() { local mycmakeargs=( - $(cmake-utils_use_find_package egl EGL) $(cmake-utils_use_find_package !gles2 OpenGL) + $(cmake-utils_use_find_package wayland EGL) $(cmake-utils_use_find_package wayland KF5Wayland) $(cmake-utils_use_find_package X X11) $(cmake-utils_use_find_package X XCB)