1 |
commit: 0805a4ea8e90b0b2b966952e70cb7ba660c4327d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 21 13:57:22 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 16:45:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0805a4ea |
7 |
|
8 |
kde-misc/wacomtablet: EAPI-8 bump, several upstream fixes |
9 |
|
10 |
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=418827 |
11 |
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=419392 |
12 |
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=440556 |
13 |
|
14 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
kde-misc/wacomtablet/Manifest | 1 + |
18 |
.../files/wacomtablet-3.2.0-qt-5.15.patch | 24 ------------------- |
19 |
...et-3.2.0.ebuild => wacomtablet-3.2.0-r1.ebuild} | 27 ++++++++++++++++------ |
20 |
kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild | 4 +++- |
21 |
4 files changed, 24 insertions(+), 32 deletions(-) |
22 |
|
23 |
diff --git a/kde-misc/wacomtablet/Manifest b/kde-misc/wacomtablet/Manifest |
24 |
index d848982dd35e..b1170c608238 100644 |
25 |
--- a/kde-misc/wacomtablet/Manifest |
26 |
+++ b/kde-misc/wacomtablet/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
+DIST wacomtablet-3.2.0-patchset-1.tar.xz 7796 BLAKE2B 4fa998a0f4376579d1e0d06a8aa9edababedca22d579dbdae651eee3699decc880a7a1d277f04c2bc24adba87908c07ab711989a5985b68af5b295d3b3260d33 SHA512 ff96f05831e4760ce99920061f0dc927aa6a2d5ef4b7443c3129bb1431262cb4bc1434097595976672393e3b611438014ccb528fc948e7c0407fc9a2d52ade8d |
29 |
DIST wacomtablet-3.2.0.tar.xz 728468 BLAKE2B f741c8989f94cdc5b4839df5d91a6728c48308880c489e031d4615a58e82dddda75dcd1cd04b941035c1aece3ed4f7889508629100852cbcaafc063d7e0f8d1e SHA512 acbabd6d6546bc85f0ed4e245668dc89b1c2ecaedd3754bf7ad8027b90f3ae81e5312395376de272dcbd416a9a1115bff2481351bd3f418bef7fa06d0db0c5a6 |
30 |
|
31 |
diff --git a/kde-misc/wacomtablet/files/wacomtablet-3.2.0-qt-5.15.patch b/kde-misc/wacomtablet/files/wacomtablet-3.2.0-qt-5.15.patch |
32 |
deleted file mode 100644 |
33 |
index 572450b0b113..000000000000 |
34 |
--- a/kde-misc/wacomtablet/files/wacomtablet-3.2.0-qt-5.15.patch |
35 |
+++ /dev/null |
36 |
@@ -1,24 +0,0 @@ |
37 |
-From 4f73ff02b3efd5e8728b18fcf1067eca166704ee Mon Sep 17 00:00:00 2001 |
38 |
-From: Christophe Giboudeaux <christophe@××××.fr> |
39 |
-Date: Thu, 4 Jun 2020 16:00:38 +0200 |
40 |
-Subject: Fix build with Qt 5.15 |
41 |
- |
42 |
---- |
43 |
- src/kcmodule/pressurecurvewidget.cpp | 1 + |
44 |
- 1 file changed, 1 insertion(+) |
45 |
- |
46 |
-diff --git a/src/kcmodule/pressurecurvewidget.cpp b/src/kcmodule/pressurecurvewidget.cpp |
47 |
-index 0c943b3..f047a6c 100644 |
48 |
---- a/src/kcmodule/pressurecurvewidget.cpp |
49 |
-+++ b/src/kcmodule/pressurecurvewidget.cpp |
50 |
-@@ -22,6 +22,7 @@ |
51 |
- //Qt includes |
52 |
- #include <QDebug> |
53 |
- #include <QPainter> |
54 |
-+#include <QPainterPath> |
55 |
- #include <QMouseEvent> |
56 |
- #include <QResizeEvent> |
57 |
- #include <QTabletEvent> |
58 |
--- |
59 |
-cgit v1.1 |
60 |
- |
61 |
|
62 |
diff --git a/kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild b/kde-misc/wacomtablet/wacomtablet-3.2.0-r1.ebuild |
63 |
similarity index 61% |
64 |
copy from kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild |
65 |
copy to kde-misc/wacomtablet/wacomtablet-3.2.0-r1.ebuild |
66 |
index 01eecd353f26..9a4c1ff47f25 100644 |
67 |
--- a/kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild |
68 |
+++ b/kde-misc/wacomtablet/wacomtablet-3.2.0-r1.ebuild |
69 |
@@ -1,23 +1,24 @@ |
70 |
-# Copyright 1999-2021 Gentoo Authors |
71 |
+# Copyright 1999-2022 Gentoo Authors |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
|
74 |
-EAPI=7 |
75 |
+EAPI=8 |
76 |
|
77 |
ECM_HANDBOOK="forceoptional" |
78 |
-KFMIN=5.60.0 |
79 |
-QTMIN=5.12.3 |
80 |
+KFMIN=5.82.0 |
81 |
+QTMIN=5.15.2 |
82 |
VIRTUALX_REQUIRED="test" |
83 |
inherit ecm kde.org |
84 |
|
85 |
DESCRIPTION="System settings module for Wacom tablets" |
86 |
HOMEPAGE="https://apps.kde.org/wacomtablet/ |
87 |
https://userbase.kde.org/Wacomtablet" |
88 |
+SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz |
89 |
+https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-1.tar.xz" |
90 |
|
91 |
LICENSE="GPL-2" |
92 |
SLOT="5" |
93 |
-KEYWORDS="amd64 x86" |
94 |
+KEYWORDS="~amd64 ~x86" |
95 |
|
96 |
-BDEPEND="sys-devel/gettext" |
97 |
RDEPEND=" |
98 |
>=dev-libs/libwacom-0.30 |
99 |
>=dev-qt/qtdbus-${QTMIN}:5 |
100 |
@@ -44,8 +45,20 @@ DEPEND="${RDEPEND} |
101 |
x11-base/xorg-proto |
102 |
x11-libs/libX11 |
103 |
" |
104 |
+BDEPEND="sys-devel/gettext" |
105 |
|
106 |
-PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) |
107 |
+PATCHES=( |
108 |
+ "${WORKDIR}/${P}-qt-5.15.patch" |
109 |
+ "${WORKDIR}/${P}-qt-5.15-obsoletions.patch" |
110 |
+ "${WORKDIR}/${P}-no-override-screenspace-w-missing-screen.patch" # KDE-bug 419392 |
111 |
+ "${WORKDIR}/${P}-fix-xsetwacom-adapter.patch" |
112 |
+ "${WORKDIR}/${P}-Intuos-M-bluetooth.patch" # KDE-bug 418827 |
113 |
+ "${WORKDIR}/${P}-correct-icons.patch" |
114 |
+ "${WORKDIR}/${P}-drop-empty-X-KDE-PluginInfo-Depends.patch" |
115 |
+ "${WORKDIR}/${P}-fix-QProcess-invocation.patch" |
116 |
+ "${WORKDIR}/${P}-turn-off-gesture-support-by-default.patch" # KDE-bug 440556 |
117 |
+ "${WORKDIR}/${P}-only-show-on-X11.patch" |
118 |
+) |
119 |
|
120 |
src_test() { |
121 |
# test needs DBus, bug 675548 |
122 |
|
123 |
diff --git a/kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild b/kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild |
124 |
index 01eecd353f26..f75a218f027c 100644 |
125 |
--- a/kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild |
126 |
+++ b/kde-misc/wacomtablet/wacomtablet-3.2.0.ebuild |
127 |
@@ -12,6 +12,8 @@ inherit ecm kde.org |
128 |
DESCRIPTION="System settings module for Wacom tablets" |
129 |
HOMEPAGE="https://apps.kde.org/wacomtablet/ |
130 |
https://userbase.kde.org/Wacomtablet" |
131 |
+SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz |
132 |
+https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-1.tar.xz" |
133 |
|
134 |
LICENSE="GPL-2" |
135 |
SLOT="5" |
136 |
@@ -45,7 +47,7 @@ DEPEND="${RDEPEND} |
137 |
x11-libs/libX11 |
138 |
" |
139 |
|
140 |
-PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) |
141 |
+PATCHES=( "${WORKDIR}/${P}-qt-5.15.patch" ) |
142 |
|
143 |
src_test() { |
144 |
# test needs DBus, bug 675548 |