From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- kde-misc/synaptiks/Manifest | 1 + .../files/synaptiks-0.8.1-removedfeatures.patch | 200 +++++++++++++++++++++ .../files/synaptiks-0.8.1-templatesfix.patch | 48 +++++ kde-misc/synaptiks/metadata.xml | 8 + kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild | 60 +++++++ 5 files changed, 317 insertions(+) create mode 100644 kde-misc/synaptiks/Manifest create mode 100644 kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch create mode 100644 kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch create mode 100644 kde-misc/synaptiks/metadata.xml create mode 100644 kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild (limited to 'kde-misc/synaptiks') diff --git a/kde-misc/synaptiks/Manifest b/kde-misc/synaptiks/Manifest new file mode 100644 index 000000000000..92a8fa77265d --- /dev/null +++ b/kde-misc/synaptiks/Manifest @@ -0,0 +1 @@ +DIST synaptiks-0.8.1.tar.bz2 463495 SHA256 39bbafa6abd63903ba6f9ffd020ec754250ab7800ea9efcdeeebd69c0fcd5707 SHA512 a01b9833b2fb7af699eba015517ac652e4d0df9f46154097a26e57f0c4dc4467db1ceeea52c5f5ee5794b821870356d1d16e9da6aeaa845fc3d7bde10b85d053 WHIRLPOOL da9891f1b29ab174759efae779f08dea31e9a6b266b0d10ee60fa460e588c8620e2fa91a7eafddbd4ead3f9db7e365580bd34db66ea611b2c448590d09c47efd diff --git a/kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch b/kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch new file mode 100644 index 000000000000..4f9fe7c0f094 --- /dev/null +++ b/kde-misc/synaptiks/files/synaptiks-0.8.1-removedfeatures.patch @@ -0,0 +1,200 @@ +--- a/doc/api/touchpad.rst ++++ b/doc/api/touchpad.rst +@@ -27,8 +27,6 @@ The touchpad class + + .. autoattribute:: acceleration_factor + +- .. autoattribute:: edge_motion_always +- + .. rubric:: scrolling properties + + .. autoattribute:: vertical_edge_scrolling +@@ -55,8 +53,6 @@ The touchpad class + + .. rubric:: tapping properties + +- .. autoattribute:: fast_taps +- + .. autoattribute:: rt_tap_action + + .. autoattribute:: rb_tap_action +--- a/doc/handbook/reference.rst ++++ b/doc/handbook/reference.rst +@@ -69,13 +69,6 @@ The touchpad configuration module is available in |systemsettings| under + The acceleration between :guilabel:`Minimum speed` and :guilabel:`Maximum + speed` + +-:guilabel:`Continue cursor motion when hitting the touchpad edge` +- Continue the cursor move while the finger stays in the touchpad edge +- +- :guilabel:`For all movements, not only dragging` +- Always continue cursor movement, when hitting the touchpad edge, not only +- when dragging +- + + .. _commands-scrolling-configuration: + +@@ -152,13 +145,6 @@ The touchpad configuration module is available in |systemsettings| under + + Screenshot of the tapping configuration page + +-:guilabel:`General tapping settings` +- +- :guilabel:`Make single taps faster and double taps slower (fast taps)` +- Enable or disable fast taps. If fast taps are enabled, the driver will +- react faster on single taps, but slower on double clicks caused by double +- taps. +- + :guilabel:`Mouse clicks triggered by tapping` + :guilabel:`Top left corner` + Configure the mouse button, which is triggered by tapping the top left +--- a/doc/handbook/usage.rst ++++ b/doc/handbook/usage.rst +@@ -41,12 +41,6 @@ though the touchpad does not actually have one. In this case, the middle mouse + button is triggered by pressing the left mouse button and the right mouse + button at the same time. + +-Some systems have a circular touchpad. Unfortunately the touchpad driver does +-not detect circular touchpad automatically, so if you have a circular touchpad, +-please enable :guilabel:`The touchpad is circular` to let the driver know, that +-your touchpad is circular. +- +- + .. _motion-configuration: + + Motion configuration +--- a/synaptiks/config.py ++++ b/synaptiks/config.py +@@ -173,7 +173,6 @@ class TouchpadConfiguration(MutableMapping): + + CONFIG_KEYS = frozenset([ + 'minimum_speed', 'maximum_speed', 'acceleration_factor', +- 'edge_motion_always', 'fast_taps', + 'rt_tap_action', 'rb_tap_action', 'lt_tap_action', 'lb_tap_action', + 'f1_tap_action', 'f2_tap_action', 'f3_tap_action', + 'tap_and_drag_gesture', 'locked_drags', 'locked_drags_timeout', +@@ -182,7 +181,7 @@ class TouchpadConfiguration(MutableMapping): + 'vertical_scrolling_distance', 'horizontal_scrolling_distance', + 'vertical_two_finger_scrolling', 'horizontal_two_finger_scrolling', + 'circular_scrolling', 'circular_scrolling_trigger', +- 'circular_scrolling_distance', 'circular_touchpad']) ++ 'circular_scrolling_distance']) + + @classmethod + def load(cls, touchpad, filename=None): +--- a/synaptiks/kde/widgets/ui/hardwarepage.ui ++++ b/synaptiks/kde/widgets/ui/hardwarepage.ui +@@ -27,32 +27,6 @@ + + + +- +- +- Hardware settings +- +- +- +- +- +- Please enable this setting, if your touchpad is circular. +- +- +- true +- +- +- +- +- +- +- The touchpad is circular +- +- +- +- +- +- +- + + + Qt::Vertical +--- a/synaptiks/kde/widgets/ui/motionpage.ui ++++ b/synaptiks/kde/widgets/ui/motionpage.ui +@@ -81,22 +81,6 @@ + + + +- +- +- Continue cursor motion when hitting the touchpad edge +- +- +- +- +- +- For all movements, not only dragging +- +- +- +- +- +- +- + + + Qt::Vertical +diff --git a/synaptiks/kde/widgets/ui/tappingpage.ui b/synaptiks/kde/widgets/ui/tappingpage.ui +index 8d92c2c..89ca751 100644 +--- a/synaptiks/kde/widgets/ui/tappingpage.ui ++++ b/synaptiks/kde/widgets/ui/tappingpage.ui +@@ -15,22 +15,6 @@ + + + +- +- +- General tapping settings +- +- +- +- +- +- Make single taps faster and double taps slower (fast taps) +- +- +- +- +- +- +- + + + Mouse clicks triggered by tapping +--- a/synaptiks/touchpad.py ++++ b/synaptiks/touchpad.py +@@ -196,14 +196,6 @@ Whether the touchpad is off or not. Three valid values: + acceleration_factor = _move_speed_property( + 2, 'The acceleration factor of cursor movement as float') + +- edge_motion_always = device_property( +- 'Synaptics Edge Motion Always', 'bool', 0, +- '``True`` if edge motion is enabled, ``False`` otherwise.') +- +- fast_taps = device_property( +- 'Synaptics Tap FastTap', 'bool', 0, +- '``True`` if edge taps are enabled, ``False`` otherwise.') +- + _tap_action_property = partial(device_property, + 'Synaptics Tap Action', 'byte') + rt_tap_action = _tap_action_property( +@@ -291,11 +283,6 @@ generate a single scroll event. + circular_scrolling_distance.convert_from_property = math.degrees + circular_scrolling_distance.convert_to_property = math.radians + +- circular_touchpad = device_property( +- 'Synaptics Circular Pad', 'bool', 0, +- '``True``, if the touchpad is considered circular, ``False`` ' +- 'otherwise') +- + @property + def coasting(self): + """ diff --git a/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch b/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch new file mode 100644 index 000000000000..02fcee029e47 --- /dev/null +++ b/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch @@ -0,0 +1,48 @@ +--- /dev/null ++++ doc/_templates/issues.html +@@ -0,0 +1,11 @@ ++

Issues, questions and feedback

++ ++

++Please join the mailing list at ++synaptiks@librelist.com to ask questions or discuss ++about synaptiks. To subscribe, just send a mail to this list. ++

++ ++

You can also open an issue at the tracker to report ++bugs or make enhancement proposals.

+ +--- /dev/null ++++ doc/_templates/sidebartop.html +@@ -0,0 +1,30 @@ ++{% macro link(title, link, internal=true) -%} ++{{ title }} ++{%- endmacro %} ++ ++

Current version: {{release}}

++
    ++
  • {{link('Install synaptiks', pathto('install'))}}
  • ++
  • {{link('Downloads on PyPI', 'https://pypi.python.org/pypi/synaptiks', ++ internal=false)}}
  • ++
  • {{link('GitHub project', 'https://github.com/lunaryorn/synaptiks', ++ internal=false)}}
  • ++
  • {{link('KDE Apps', ++ 'http://kde-apps.org/content/show.php/synaptiks?content=114270', internal=false)}}
  • ++
++ ++
++ ++
    ++
  • {{link('Installation instructions', pathto('install'))}}
  • ++
  • {{link('Handbook', pathto('handbook/index'))}} ++
      ++
    • {{link('Usage', pathto('handbook/usage'))}}
    • ++
    • {{link('Reference', pathto('handbook/reference'))}}
    • ++
    ++
  • ++
  • {{link('Translation guide', pathto('translation_guide'))}}
  • ++
  • {{link('API documentation', pathto('api/index'))}}
  • ++
  • {{link('Changelog', pathto('changes'))}}
  • ++
diff --git a/kde-misc/synaptiks/metadata.xml b/kde-misc/synaptiks/metadata.xml new file mode 100644 index 000000000000..8a9a4c524671 --- /dev/null +++ b/kde-misc/synaptiks/metadata.xml @@ -0,0 +1,8 @@ + + + + kde + + synaptiks + + diff --git a/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild b/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild new file mode 100644 index 000000000000..ff55df7ab448 --- /dev/null +++ b/kde-misc/synaptiks/synaptiks-0.8.1-r4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_HANDBOOK="optional" +PYTHON_COMPAT=( python2_7 ) +inherit kde4-base distutils-r1 + +DESCRIPTION="Touchpad configuration and management tool for KDE" +HOMEPAGE="http://synaptiks.readthedocs.org" +SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="4" +KEYWORDS="amd64 x86" +IUSE="debug doc +upower" + +RDEPEND=" + >=dev-python/PyQt4-4.7[${PYTHON_USEDEP}] + >=dev-python/pyudev-0.8[pyqt4,${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + $(add_kdebase_dep pykde4 "${PYTHON_USEDEP}" ) + $(add_kdeapps_dep kde-dev-scripts) + >=x11-drivers/xf86-input-synaptics-1.3 + >=x11-libs/libXi-1.4 + x11-libs/libXtst + upower? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) + ) +" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + sys-devel/gettext + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-issuetracker-0.11-r1[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${P}-templatesfix.patch" + "${FILESDIR}/${PN}-0.8.1-removedfeatures.patch" +) + +python_compile_all() { + if use doc; then + einfo "Generating documentation" + pushd doc > /dev/null + sphinx-build . _build || die + popd > /dev/null + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3-65-gdbad