Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/kdocker/, x11-misc/kdocker/files/
Date: Mon, 02 May 2022 12:46:40
Message-Id: 1651495593.fad8fa869e3c589295310fb75928e93f6a6a52d6.juippis@gentoo
1 commit: fad8fa869e3c589295310fb75928e93f6a6a52d6
2 Author: Nikos Chantziaras <realnc <AT> gmail <DOT> com>
3 AuthorDate: Fri Apr 29 06:11:56 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 12:46:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad8fa86
7
8 x11-misc/kdocker: delete old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Nikos Chantziaras <realnc <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/25247
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 x11-misc/kdocker/Manifest | 1 -
16 x11-misc/kdocker/files/qt-5.14.patch | 38 --------------------------
17 x11-misc/kdocker/kdocker-5.2.ebuild | 52 ------------------------------------
18 3 files changed, 91 deletions(-)
19
20 diff --git a/x11-misc/kdocker/Manifest b/x11-misc/kdocker/Manifest
21 index a2d109a151b7..f8ca7508572e 100644
22 --- a/x11-misc/kdocker/Manifest
23 +++ b/x11-misc/kdocker/Manifest
24 @@ -1,3 +1,2 @@
25 -DIST KDocker-5.2.tar.gz 173508 BLAKE2B e44a924a085c2d237c113028f40a98cfa8a8a5398525aea4e38fadabd23a10cc91648a55f800afd2ad398b744ad450d9c7bc26dd5bae994603f6ea4b322b5804 SHA512 1a98bf7b6360f4ce042b3e5330798076d42bd463c16e41b259706811f11516a34acfb0ace59f2c10c07aa6b2ff8fc57b1b1fa3ccdd33d452e220ec46446e8b64
26 DIST KDocker-5.3.tar.gz 180861 BLAKE2B b9ee9c2b035fb477e947b1b451d55e76fb4d9ae8788469fc2d05e1721b5ab71657e00e31331b5be6cf8776b37b7032720d4609df29f57e5c66a44d9fc5d38318 SHA512 8e5af389c402f337c75f861b4cc83036486903a9728fbcb6ea812392c297203fad7eec4e7b11eb1db83514fd615094ab9826277b73312ae8ea13b012d82524c4
27 DIST KDocker-5.4.tar.gz 181166 BLAKE2B 7a301cd36f73112f5a6df6ce65fc11c30b16089ccec98f46d435694b2bfb373eac11c2ba3be5c4e56a56cec1f5fad9bc17b014e47e55f886f0685b6f11707c51 SHA512 1bc1bc445ccc2406f3fe21deb68d9654b3d384ab88bce4bc49f123c343ece3dcc3dfdc49b796f6ad5251d050e57b4ad13e1900851519b3643263137550f0ccc9
28
29 diff --git a/x11-misc/kdocker/files/qt-5.14.patch b/x11-misc/kdocker/files/qt-5.14.patch
30 deleted file mode 100644
31 index ca1237965aaf..000000000000
32 --- a/x11-misc/kdocker/files/qt-5.14.patch
33 +++ /dev/null
34 @@ -1,38 +0,0 @@
35 -From 1579ee388749a7b056ccdd8ef2d4deafe21bd3e7 Mon Sep 17 00:00:00 2001
36 -From: Nikos Chantziaras <realnc@×××××.com>
37 -Date: Mon, 30 Dec 2019 16:03:16 +0200
38 -Subject: [PATCH] Fix building with Qt 5.14
39 -
40 -Qt 5.14 introduced QActionGroup::ExclusionPolicy::None, but <X.h> defines a
41 -'None' macro. Work around the resulting mess by temporarily undefining the
42 -macro.
43 ----
44 - src/trayitem.h | 8 ++++++++
45 - 1 file changed, 8 insertions(+)
46 -
47 -diff --git a/src/trayitem.h b/src/trayitem.h
48 -index 7698ea4..4b54cdd 100644
49 ---- a/src/trayitem.h
50 -+++ b/src/trayitem.h
51 -@@ -21,6 +21,10 @@
52 - #ifndef _TRAYITEM_H
53 - #define _TRAYITEM_H
54 -
55 -+// Qt 5.14 introduced QActionGroup::ExclusionPolicy::None, but <X.h> defines a 'None' macro.
56 -+#pragma push_macro("None")
57 -+#undef None
58 -+
59 - #include <QAction>
60 - #include <QEvent>
61 - #include <QIcon>
62 -@@ -32,6 +36,10 @@
63 -
64 - #include "xlibutil.h"
65 -
66 -+#ifndef None
67 -+#pragma pop_macro("None")
68 -+#endif
69 -+
70 - #define DEFAULT_CustomIcon QString()
71 - #define DEFAULT_BalloonTimeout 4000 // 4 seconds
72 - #define DEFAULT_SkipTaskbar false
73
74 diff --git a/x11-misc/kdocker/kdocker-5.2.ebuild b/x11-misc/kdocker/kdocker-5.2.ebuild
75 deleted file mode 100644
76 index e75cbf9228cc..000000000000
77 --- a/x11-misc/kdocker/kdocker-5.2.ebuild
78 +++ /dev/null
79 @@ -1,52 +0,0 @@
80 -# Copyright 1999-2020 Gentoo Authors
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI=7
84 -
85 -inherit bash-completion-r1 qmake-utils xdg
86 -
87 -MY_P=KDocker-${PV}
88 -DESCRIPTION="Helper to dock any application into the system tray"
89 -HOMEPAGE="https://github.com/user-none/KDocker"
90 -SRC_URI="https://github.com/user-none/KDocker/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
91 -
92 -LICENSE="GPL-2+"
93 -SLOT="0"
94 -KEYWORDS="amd64 x86"
95 -IUSE=""
96 -
97 -DEPEND="
98 - dev-qt/qtcore:5
99 - dev-qt/qtgui:5
100 - dev-qt/qtsingleapplication[qt5(+),X]
101 - dev-qt/qtwidgets:5
102 - dev-qt/qtx11extras:5
103 - x11-libs/libX11
104 - x11-libs/libXmu
105 - x11-libs/libXpm
106 -"
107 -RDEPEND="${DEPEND}"
108 -
109 -DOCS=( AUTHORS BUGS ChangeLog CREDITS README.md TODO )
110 -
111 -PATCHES=(
112 - "${FILESDIR}"/qt-5.14.patch
113 -)
114 -
115 -S=${WORKDIR}/${MY_P}
116 -
117 -src_prepare() {
118 - default
119 -
120 - sed -i -e "/completion.path/s%/etc/bash_completion.d%$(get_bashcompdir)%" \
121 - kdocker.pro || die "sed failed"
122 -}
123 -
124 -src_configure() {
125 - eqmake5 PREFIX="${EPREFIX}/usr" SYSTEMQTSA=1
126 -}
127 -
128 -src_install() {
129 - emake INSTALL_ROOT="${D}" install
130 - einstalldocs
131 -}