Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/synaptiks/, kde-misc/synaptiks/files/
Date: Mon, 30 Nov 2020 00:52:23
Message-Id: 1606697512.7d4bfe77b6176f4f796185cc20f19d1b82f34570.asturm@gentoo
1 commit: 7d4bfe77b6176f4f796185cc20f19d1b82f34570
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 14:59:37 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 00:51:52 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=7d4bfe77
7
8 kde-misc/synaptiks: Remove package for too expensive deps
9
10 Missing kde-apps/pykde4 and easier (non-)maintenance without python.
11
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 .../files/synaptiks-0.8.1-removedfeatures.patch | 200 ---------------------
15 .../files/synaptiks-0.8.1-templatesfix.patch | 48 -----
16 kde-misc/synaptiks/metadata.xml | 8 -
17 kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild | 61 -------
18 4 files changed, 317 deletions(-)
19
20 diff --git a/kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch b/kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch
21 deleted file mode 100644
22 index 4f9fe7c0..00000000
23 --- a/kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch
24 +++ /dev/null
25 @@ -1,200 +0,0 @@
26 ---- a/doc/api/touchpad.rst
27 -+++ b/doc/api/touchpad.rst
28 -@@ -27,8 +27,6 @@ The touchpad class
29 -
30 - .. autoattribute:: acceleration_factor
31 -
32 -- .. autoattribute:: edge_motion_always
33 --
34 - .. rubric:: scrolling properties
35 -
36 - .. autoattribute:: vertical_edge_scrolling
37 -@@ -55,8 +53,6 @@ The touchpad class
38 -
39 - .. rubric:: tapping properties
40 -
41 -- .. autoattribute:: fast_taps
42 --
43 - .. autoattribute:: rt_tap_action
44 -
45 - .. autoattribute:: rb_tap_action
46 ---- a/doc/handbook/reference.rst
47 -+++ b/doc/handbook/reference.rst
48 -@@ -69,13 +69,6 @@ The touchpad configuration module is available in |systemsettings| under
49 - The acceleration between :guilabel:`Minimum speed` and :guilabel:`Maximum
50 - speed`
51 -
52 --:guilabel:`Continue cursor motion when hitting the touchpad edge`
53 -- Continue the cursor move while the finger stays in the touchpad edge
54 --
55 -- :guilabel:`For all movements, not only dragging`
56 -- Always continue cursor movement, when hitting the touchpad edge, not only
57 -- when dragging
58 --
59 -
60 - .. _commands-scrolling-configuration:
61 -
62 -@@ -152,13 +145,6 @@ The touchpad configuration module is available in |systemsettings| under
63 -
64 - Screenshot of the tapping configuration page
65 -
66 --:guilabel:`General tapping settings`
67 --
68 -- :guilabel:`Make single taps faster and double taps slower (fast taps)`
69 -- Enable or disable fast taps. If fast taps are enabled, the driver will
70 -- react faster on single taps, but slower on double clicks caused by double
71 -- taps.
72 --
73 - :guilabel:`Mouse clicks triggered by tapping`
74 - :guilabel:`Top left corner`
75 - Configure the mouse button, which is triggered by tapping the top left
76 ---- a/doc/handbook/usage.rst
77 -+++ b/doc/handbook/usage.rst
78 -@@ -41,12 +41,6 @@ though the touchpad does not actually have one. In this case, the middle mouse
79 - button is triggered by pressing the left mouse button and the right mouse
80 - button at the same time.
81 -
82 --Some systems have a circular touchpad. Unfortunately the touchpad driver does
83 --not detect circular touchpad automatically, so if you have a circular touchpad,
84 --please enable :guilabel:`The touchpad is circular` to let the driver know, that
85 --your touchpad is circular.
86 --
87 --
88 - .. _motion-configuration:
89 -
90 - Motion configuration
91 ---- a/synaptiks/config.py
92 -+++ b/synaptiks/config.py
93 -@@ -173,7 +173,6 @@ class TouchpadConfiguration(MutableMapping):
94 -
95 - CONFIG_KEYS = frozenset([
96 - 'minimum_speed', 'maximum_speed', 'acceleration_factor',
97 -- 'edge_motion_always', 'fast_taps',
98 - 'rt_tap_action', 'rb_tap_action', 'lt_tap_action', 'lb_tap_action',
99 - 'f1_tap_action', 'f2_tap_action', 'f3_tap_action',
100 - 'tap_and_drag_gesture', 'locked_drags', 'locked_drags_timeout',
101 -@@ -182,7 +181,7 @@ class TouchpadConfiguration(MutableMapping):
102 - 'vertical_scrolling_distance', 'horizontal_scrolling_distance',
103 - 'vertical_two_finger_scrolling', 'horizontal_two_finger_scrolling',
104 - 'circular_scrolling', 'circular_scrolling_trigger',
105 -- 'circular_scrolling_distance', 'circular_touchpad'])
106 -+ 'circular_scrolling_distance'])
107 -
108 - @classmethod
109 - def load(cls, touchpad, filename=None):
110 ---- a/synaptiks/kde/widgets/ui/hardwarepage.ui
111 -+++ b/synaptiks/kde/widgets/ui/hardwarepage.ui
112 -@@ -27,32 +27,6 @@
113 - </widget>
114 - </item>
115 - <item>
116 -- <widget class="QGroupBox" name="groupBox">
117 -- <property name="title">
118 -- <string>Hardware settings</string>
119 -- </property>
120 -- <layout class="QVBoxLayout" name="verticalLayout_2">
121 -- <item>
122 -- <widget class="QLabel" name="label_2">
123 -- <property name="text">
124 -- <string comment="@info">Please enable this setting, if your touchpad is circular.</string>
125 -- </property>
126 -- <property name="wordWrap">
127 -- <bool>true</bool>
128 -- </property>
129 -- </widget>
130 -- </item>
131 -- <item>
132 -- <widget class="QCheckBox" name="touchpad_circular_touchpad">
133 -- <property name="text">
134 -- <string comment="@option:check">The touchpad is circular</string>
135 -- </property>
136 -- </widget>
137 -- </item>
138 -- </layout>
139 -- </widget>
140 -- </item>
141 -- <item>
142 - <spacer name="verticalSpacer">
143 - <property name="orientation">
144 - <enum>Qt::Vertical</enum>
145 ---- a/synaptiks/kde/widgets/ui/motionpage.ui
146 -+++ b/synaptiks/kde/widgets/ui/motionpage.ui
147 -@@ -81,22 +81,6 @@
148 - </widget>
149 - </item>
150 - <item>
151 -- <widget class="QGroupBox" name="edgeMotionGroup">
152 -- <property name="title">
153 -- <string comment="@title:group">Continue cursor motion when hitting the touchpad edge</string>
154 -- </property>
155 -- <layout class="QVBoxLayout" name="verticalLayout_3">
156 -- <item>
157 -- <widget class="QCheckBox" name="touchpad_edge_motion_always">
158 -- <property name="text">
159 -- <string comment="@option:radio">For all movements, not only dragging</string>
160 -- </property>
161 -- </widget>
162 -- </item>
163 -- </layout>
164 -- </widget>
165 -- </item>
166 -- <item>
167 - <spacer name="verticalSpacer">
168 - <property name="orientation">
169 - <enum>Qt::Vertical</enum>
170 -diff --git a/synaptiks/kde/widgets/ui/tappingpage.ui b/synaptiks/kde/widgets/ui/tappingpage.ui
171 -index 8d92c2c..89ca751 100644
172 ---- a/synaptiks/kde/widgets/ui/tappingpage.ui
173 -+++ b/synaptiks/kde/widgets/ui/tappingpage.ui
174 -@@ -15,22 +15,6 @@
175 - </property>
176 - <layout class="QVBoxLayout" name="verticalLayout_2">
177 - <item>
178 -- <widget class="QGroupBox" name="generalSettingsGroup">
179 -- <property name="title">
180 -- <string comment="@title:group">General tapping settings</string>
181 -- </property>
182 -- <layout class="QVBoxLayout" name="verticalLayout_4">
183 -- <item>
184 -- <widget class="QCheckBox" name="touchpad_fast_taps">
185 -- <property name="text">
186 -- <string comment="@option:check">Make single taps faster and double taps slower (fast taps)</string>
187 -- </property>
188 -- </widget>
189 -- </item>
190 -- </layout>
191 -- </widget>
192 -- </item>
193 -- <item>
194 - <widget class="QGroupBox" name="tappingButtonGroup">
195 - <property name="title">
196 - <string comment="@title:group">Mouse clicks triggered by tapping</string>
197 ---- a/synaptiks/touchpad.py
198 -+++ b/synaptiks/touchpad.py
199 -@@ -196,14 +196,6 @@ Whether the touchpad is off or not. Three valid values:
200 - acceleration_factor = _move_speed_property(
201 - 2, 'The acceleration factor of cursor movement as float')
202 -
203 -- edge_motion_always = device_property(
204 -- 'Synaptics Edge Motion Always', 'bool', 0,
205 -- '``True`` if edge motion is enabled, ``False`` otherwise.')
206 --
207 -- fast_taps = device_property(
208 -- 'Synaptics Tap FastTap', 'bool', 0,
209 -- '``True`` if edge taps are enabled, ``False`` otherwise.')
210 --
211 - _tap_action_property = partial(device_property,
212 - 'Synaptics Tap Action', 'byte')
213 - rt_tap_action = _tap_action_property(
214 -@@ -291,11 +283,6 @@ generate a single scroll event.
215 - circular_scrolling_distance.convert_from_property = math.degrees
216 - circular_scrolling_distance.convert_to_property = math.radians
217 -
218 -- circular_touchpad = device_property(
219 -- 'Synaptics Circular Pad', 'bool', 0,
220 -- '``True``, if the touchpad is considered circular, ``False`` '
221 -- 'otherwise')
222 --
223 - @property
224 - def coasting(self):
225 - """
226
227 diff --git a/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch b/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch
228 deleted file mode 100644
229 index 02fcee02..00000000
230 --- a/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch
231 +++ /dev/null
232 @@ -1,48 +0,0 @@
233 ---- /dev/null
234 -+++ doc/_templates/issues.html
235 -@@ -0,0 +1,11 @@
236 -+<h3>Issues, questions and feedback</h3>
237 -+
238 -+<p>
239 -+Please join the mailing list at <a href="mailto:synaptiks@×××××××××.com">
240 -+synaptiks@×××××××××.com</a> to ask questions or discuss
241 -+about <strong>synaptiks</strong>. To subscribe, just send a mail to this list.
242 -+</p>
243 -+
244 -+<p>You can also open an issue at the <a class="reference external"
245 -+href="https://github.com/lunaryorn/synaptiks/issues">tracker</a> to report
246 -+bugs or make enhancement proposals.</p>
247 -
248 ---- /dev/null
249 -+++ doc/_templates/sidebartop.html
250 -@@ -0,0 +1,30 @@
251 -+{% macro link(title, link, internal=true) -%}
252 -+<a class="reference {{ 'internal' if internal else 'external' }}"
253 -+ href="{{ link }}">{{ title }}</a>
254 -+{%- endmacro %}
255 -+
256 -+<p>Current version: <strong>{{release}}</strong></p>
257 -+<ul>
258 -+ <li>{{link('Install <strong>synaptiks</strong>', pathto('install'))}}</li>
259 -+ <li>{{link('Downloads on PyPI', 'https://pypi.python.org/pypi/synaptiks',
260 -+ internal=false)}}</li>
261 -+ <li>{{link('GitHub project', 'https://github.com/lunaryorn/synaptiks',
262 -+ internal=false)}}</li>
263 -+ <li>{{link('KDE Apps',
264 -+ 'http://kde-apps.org/content/show.php/synaptiks?content=114270', internal=false)}}</li>
265 -+</ul>
266 -+
267 -+<hr/>
268 -+
269 -+<ul>
270 -+ <li>{{link('Installation instructions', pathto('install'))}}</li>
271 -+ <li>{{link('Handbook', pathto('handbook/index'))}}
272 -+ <ul>
273 -+ <li>{{link('Usage', pathto('handbook/usage'))}}</li>
274 -+ <li>{{link('Reference', pathto('handbook/reference'))}}</li>
275 -+ </ul>
276 -+ </li>
277 -+ <li>{{link('Translation guide', pathto('translation_guide'))}}</li>
278 -+ <li>{{link('API documentation', pathto('api/index'))}}</li>
279 -+ <li>{{link('Changelog', pathto('changes'))}}</li>
280 -+</ul>
281
282 diff --git a/kde-misc/synaptiks/metadata.xml b/kde-misc/synaptiks/metadata.xml
283 deleted file mode 100644
284 index aa58a5ea..00000000
285 --- a/kde-misc/synaptiks/metadata.xml
286 +++ /dev/null
287 @@ -1,8 +0,0 @@
288 -<?xml version="1.0" encoding="UTF-8"?>
289 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
290 -<pkgmetadata>
291 - <!-- maintainer-needed -->
292 - <upstream>
293 - <remote-id type="pypi">synaptiks</remote-id>
294 - </upstream>
295 -</pkgmetadata>
296
297 diff --git a/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild b/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild
298 deleted file mode 100644
299 index f1a30bd6..00000000
300 --- a/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild
301 +++ /dev/null
302 @@ -1,61 +0,0 @@
303 -# Copyright 1999-2017 Gentoo Foundation
304 -# Distributed under the terms of the GNU General Public License v2
305 -
306 -EAPI=5
307 -
308 -KDE_HANDBOOK="optional"
309 -PYTHON_COMPAT=( python2_7 )
310 -inherit kde4-base distutils-r1
311 -
312 -DESCRIPTION="Touchpad configuration and management tool for KDE"
313 -HOMEPAGE="http://synaptiks.readthedocs.org"
314 -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
315 -
316 -LICENSE="BSD-2"
317 -SLOT="4"
318 -KEYWORDS="~amd64 ~x86"
319 -IUSE="debug doc +upower"
320 -
321 -RDEPEND="
322 - >=dev-python/PyQt4-4.7[${PYTHON_USEDEP}]
323 - >=dev-python/pyudev-0.8[pyqt4,${PYTHON_USEDEP}]
324 - dev-python/setuptools[${PYTHON_USEDEP}]
325 - $(add_kdeapps_dep pykde4 "${PYTHON_USEDEP}" )
326 - >=x11-drivers/xf86-input-synaptics-1.3
327 - >=x11-libs/libXi-1.4
328 - x11-libs/libXtst
329 - upower? (
330 - dev-python/dbus-python[${PYTHON_USEDEP}]
331 - || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils )
332 - )
333 -"
334 -DEPEND="${RDEPEND}
335 - app-text/docbook-xsl-stylesheets
336 - sys-devel/gettext
337 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
338 -"
339 -
340 -PATCHES=(
341 - "${FILESDIR}/${P}-templatesfix.patch"
342 - "${FILESDIR}/${PN}-0.8.1-removedfeatures.patch"
343 -)
344 -
345 -python_prepare_all() {
346 - distutils-r1_python_prepare_all
347 -
348 - sed -i -e "s/, 'sphinxcontrib.issuetracker'//" doc/conf.py || die
349 -}
350 -
351 -python_compile_all() {
352 - if use doc; then
353 - einfo "Generating documentation"
354 - pushd doc > /dev/null
355 - sphinx-build . _build || die
356 - popd > /dev/null
357 - fi
358 -}
359 -
360 -python_install_all() {
361 - use doc && local HTML_DOCS=( doc/_build/. )
362 - distutils-r1_python_install_all
363 -}