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 D4C73138334 for ; Mon, 22 Oct 2018 20:52:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2EF9E095D; Mon, 22 Oct 2018 20:52:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FD1EE0951 for ; Mon, 22 Oct 2018 20:52:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33967335D13 for ; Mon, 22 Oct 2018 20:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FCC73F0 for ; Mon, 22 Oct 2018 20:52:26 +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: <1540239827.1434fbc3845d6d53613591451a997afbbd7d979e.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/xembed-sni-proxy/, kde-plasma/xembed-sni-proxy/files/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.14.2-standalone.patch kde-plasma/xembed-sni-proxy/metadata.xml kde-plasma/xembed-sni-proxy/xembed-sni-proxy-5.14.49.9999.ebuild kde-plasma/xembed-sni-proxy/xembed-sni-proxy-9999.ebuild X-VCS-Directories: kde-plasma/xembed-sni-proxy/ kde-plasma/xembed-sni-proxy/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1434fbc3845d6d53613591451a997afbbd7d979e X-VCS-Branch: master Date: Mon, 22 Oct 2018 20:52:26 +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: f00b0cc6-b94f-43c5-97bc-9925da5beee0 X-Archives-Hash: 9f9e145ddbd2d8e6b80e7844bd16aa3c commit: 1434fbc3845d6d53613591451a997afbbd7d979e Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Oct 22 20:01:26 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Oct 22 20:23:47 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1434fbc3 kde-plasma/xembed-sni-proxy: New package (split from plasma-workspace) Initial ebuild and patch by Mykyta Holubakha, ported to kde5 and improved patch by me. Optional runtime binary only, no change for revdeps. Acked-by: Mykyta Holubakha gmail.com> Bug: https://bugs.gentoo.org/669314 Signed-off-by: Andreas Sturmlechner gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../files/xembed-sni-proxy-5.14.2-standalone.patch | 59 ++++++++++++++++++++++ kde-plasma/xembed-sni-proxy/metadata.xml | 8 +++ .../xembed-sni-proxy-5.14.49.9999.ebuild | 42 +++++++++++++++ .../xembed-sni-proxy/xembed-sni-proxy-9999.ebuild | 42 +++++++++++++++ 4 files changed, 151 insertions(+) diff --git a/kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.14.2-standalone.patch b/kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.14.2-standalone.patch new file mode 100644 index 0000000000..ddbf13d55d --- /dev/null +++ b/kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.14.2-standalone.patch @@ -0,0 +1,59 @@ +From 42008129f1659bc34c454ce14632fd279679f556 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Mon, 22 Oct 2018 21:44:33 +0200 +Subject: [PATCH] xembed-sni-proxy: Allow standalone build + +--- + CMakeLists.txt | 35 +++++++++++++++++++++++++++++++++ + 1 file changed, 35 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c2f67ac6..30b2c1b5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,3 +1,34 @@ ++project(xembed-sni-proxy) ++ ++if(${CMAKE_SOURCE_DIR} STREQUAL ${xembed-sni-proxy_SOURCE_DIR}) ++ set(PROJECT_VERSION "GENTOO_PV") ++ set(PROJECT_VERSION_MAJOR 5) ++ ++ cmake_minimum_required(VERSION 3.0) ++ ++ set(QT_MIN_VERSION "GENTOO_QT_MINIMAL") ++ set(KF5_MIN_VERSION "GENTOO_KF5_MINIMAL") ++ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core DBus X11Extras) ++ find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) ++ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) ++ ++ include(KDEInstallDirs) ++ include(KDECMakeSettings) ++ include(KDECompilerSettings NO_POLICY_SCOPE) ++ include(FeatureSummary) ++ include(ECMQtDeclareLoggingCategory) ++ ++ find_package(KF5WindowSystem ${KF5_MIN_VERSION} REQUIRED) ++ find_package(X11 REQUIRED) ++ find_package(XCB MODULE REQUIRED COMPONENTS XCB RANDR) ++ set_package_properties(XCB PROPERTIES TYPE REQUIRED) ++ ++ configure_file(../config-X11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-X11.h) ++else() ++ set(PROJECT_VERSION "5.14.1") ++ set(PROJECT_VERSION_MAJOR 5) ++endif() ++ + add_definitions(-DQT_NO_CAST_TO_ASCII + -DQT_NO_CAST_FROM_ASCII + -DQT_NO_URL_CAST_FROM_STRING +@@ -64,3 +95,7 @@ target_link_libraries(xembedsniproxy + install(TARGETS xembedsniproxy ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) + install(FILES xembedsniproxy.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR}) + ++if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}") ++ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) ++endif() ++ +-- +2.19.1 + diff --git a/kde-plasma/xembed-sni-proxy/metadata.xml b/kde-plasma/xembed-sni-proxy/metadata.xml new file mode 100644 index 0000000000..2fdbf33d96 --- /dev/null +++ b/kde-plasma/xembed-sni-proxy/metadata.xml @@ -0,0 +1,8 @@ + + + + + kde@gentoo.org + Gentoo KDE Project + + diff --git a/kde-plasma/xembed-sni-proxy/xembed-sni-proxy-5.14.49.9999.ebuild b/kde-plasma/xembed-sni-proxy/xembed-sni-proxy-5.14.49.9999.ebuild new file mode 100644 index 0000000000..e6084ad779 --- /dev/null +++ b/kde-plasma/xembed-sni-proxy/xembed-sni-proxy-5.14.49.9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +FRAMEWORKS_MINIMAL="5.50.0" +QT_MINIMAL="5.9.6" +KMNAME="plasma-workspace" +inherit kde5 + +DESCRIPTION="Legacy xembed tray icons support for SNI-only system trays" +HOMEPAGE="https://cgit.kde.org/plasma-workspace.git/tree/xembed-sni-proxy/Readme.md" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +DEPEND=" + $(add_frameworks_dep kwindowsystem) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtx11extras) + x11-libs/libxcb + x11-libs/libXtst + x11-libs/xcb-util-image +" +RDEPEND="${DEPEND} + !