Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/xembed-sni-proxy/files/
Date: Wed, 07 Sep 2022 18:13:24
Message-Id: 1662574361.2d1f5f3f073ce67c59c88b35fcc03e9b17e4777f.asturm@gentoo
1 commit: 2d1f5f3f073ce67c59c88b35fcc03e9b17e4777f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 19:30:01 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 7 18:12:41 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2d1f5f3f
7
8 kde-plasma/xembed-sni-proxy: Drop unused patch
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../xembed-sni-proxy-5.20.80-standalone.patch | 60 ----------------------
13 1 file changed, 60 deletions(-)
14
15 diff --git a/kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.20.80-standalone.patch b/kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.20.80-standalone.patch
16 deleted file mode 100644
17 index a1f09aa93c..0000000000
18 --- a/kde-plasma/xembed-sni-proxy/files/xembed-sni-proxy-5.20.80-standalone.patch
19 +++ /dev/null
20 @@ -1,60 +0,0 @@
21 -From da1c5074e390b2ceca3f632f14adfba55def45ab Mon Sep 17 00:00:00 2001
22 -From: Andreas Sturmlechner <asturm@g.o>
23 -Date: Thu, 24 Sep 2020 22:34:28 +0200
24 -Subject: [PATCH] xembed-sni-proxy: Allow standalone build
25 -
26 ----
27 - CMakeLists.txt | 36 +++++++++++++++++++++++++++++++++
28 - 1 file changed, 36 insertions(+)
29 -
30 -diff --git a/CMakeLists.txt b/CMakeLists.txt
31 -index 443ff07c1..ba15b9ea5 100644
32 ---- a/CMakeLists.txt
33 -+++ b/CMakeLists.txt
34 -@@ -1,3 +1,35 @@
35 -+project(xembed-sni-proxy)
36 -+
37 -+if(${CMAKE_SOURCE_DIR} STREQUAL ${xembed-sni-proxy_SOURCE_DIR})
38 -+ set(PROJECT_VERSION "GENTOO_PV")
39 -+ set(PROJECT_VERSION_MAJOR 5)
40 -+
41 -+ cmake_minimum_required(VERSION 3.0)
42 -+
43 -+ set(QT_MIN_VERSION "5.15.0")
44 -+ set(KF5_MIN_VERSION "5.74")
45 -+ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core DBus X11Extras)
46 -+ find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
47 -+ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
48 -+
49 -+ include(KDEInstallDirs)
50 -+ include(KDECMakeSettings)
51 -+ include(KDECompilerSettings NO_POLICY_SCOPE)
52 -+ include(FeatureSummary)
53 -+ include(ECMQtDeclareLoggingCategory)
54 -+ include(ECMConfiguredInstall)
55 -+
56 -+ find_package(KF5WindowSystem ${KF5_MIN_VERSION} REQUIRED)
57 -+ find_package(X11 REQUIRED)
58 -+ find_package(XCB MODULE REQUIRED COMPONENTS XCB RANDR)
59 -+ set_package_properties(XCB PROPERTIES TYPE REQUIRED)
60 -+
61 -+ configure_file(../config-X11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-X11.h)
62 -+else()
63 -+ set(PROJECT_VERSION "5.20.80")
64 -+ set(PROJECT_VERSION_MAJOR 5)
65 -+endif()
66 -+
67 - add_definitions(-DQT_NO_CAST_TO_ASCII
68 - -DQT_NO_CAST_FROM_ASCII
69 - -DQT_NO_URL_CAST_FROM_STRING
70 -@@ -65,3 +97,7 @@ install(TARGETS xembedsniproxy ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
71 - install(FILES xembedsniproxy.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR})
72 -
73 - ecm_install_configured_files(INPUT plasma-xembedsniproxy.service.in @ONLY DESTINATION ${SYSTEMD_USER_UNIT_INSTALL_DIR})
74 -+
75 -+if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
76 -+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
77 -+endif()
78 ---
79 -2.28.0
80 -