Hello community, here is the log from the commit of package touchegg for openSUSE:Factory checked in at 2015-11-08 11:26:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/touchegg (Old) and /work/SRC/openSUSE:Factory/.touchegg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "touchegg" Changes: -------- New Changes file: --- /dev/null 2015-11-02 12:10:47.524024255 +0100 +++ /work/SRC/openSUSE:Factory/.touchegg.new/touchegg.changes 2015-11-08 11:26:30.000000000 +0100 @@ -0,0 +1,24 @@ +------------------------------------------------------------------- +Fri Oct 9 19:11:09 UTC 2015 - [email protected] + +- Further spec cleanup. +- Use a tarball with bundled touchegg-gui. +- Add touchegg-gui subpackage. +- Add GPL-3.0+ to licenses (touchegg-gui license). +- Use optimised CFLAGS. +- Correct package group. + +------------------------------------------------------------------- +Mon Dec 22 18:27:38 UTC 2014 - [email protected] + +- Cleanup with spec-cleaner to be acceptable + +------------------------------------------------------------------- +Sat Jun 22 00:00:00 UTC 2013 - [email protected] + +- Add patch touchegg-1.1.1-slowdown-scroll-speed.patch + +------------------------------------------------------------------- +Sat May 7 00:00:00 UTC 2011 - [email protected] + +- Create package in openSuse Build : Alessandro de Oliveira Faria. New: ---- touchegg-1.1.1-slowdown-scroll-speed.patch touchegg-1.1.1.tar.gz touchegg.changes touchegg.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ touchegg.spec ++++++ # # spec file for package touchegg # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: touchegg Version: 1.1.1 Release: 0 Summary: A multitouch gesture recogniser for GNU/Linux License: GPL-2.0+ and GPL-3.0+ Group: Hardware/Other Url: https://github.com/JoseExposito/touchegg Source: https://github.com/JoseExposito/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz #PATCH-FIX-OPENSUSE touchegg-1.1.1-slowdown-scroll-speed.patch Patch0: %{name}-1.1.1-slowdown-scroll-speed.patch BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkg-config BuildRequires: update-desktop-files BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(QtXml) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libgeis) Suggests: %{name}-gui >= %{version} %description Touchegg is a multitouch gesture recogniser for GNU/Linux that allows associating actions to each gesture. Written in C++ with Qt4 and geis library. %package gui Summary: Multitouch gesture recogniser GUI Group: System/GUI/Other Requires: %{name} >= %{version} %description gui Graphical user interface for a multitouch gesture recogniser for GNU/Linux. %prep %setup -q %patch0 %build for dir in %{name} %{name}-gui; do pushd "$dir" %{_libdir}/qt4/bin/qmake \ QMAKE_CFLAGS="%{optflags}" \ QMAKE_CXXFLAGS="%{optflags}" make %{?_smp_mflags} popd done %install make INSTALL_ROOT=%{buildroot} install -C %{name} make INSTALL_ROOT=%{buildroot} install -C %{name}-gui mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/ mv -f %{buildroot}%{_datadir}/icons/%{name}-gui.png \ %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}-gui.png %suse_update_desktop_file -r %{name}-gui Utility DesktopUtility %post gui %desktop_database_post %icon_theme_cache_post %postun gui %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/%{name}/ %files gui %defattr(-,root,root) %{_bindir}/%{name}-gui %{_datadir}/applications/%{name}-gui.desktop %{_datadir}/icons/hicolor/*/apps/%{name}-gui.* %changelog ++++++ touchegg-1.1.1-slowdown-scroll-speed.patch ++++++ --- touchegg_orig/src/touchegg/actions/implementation/Scroll.cpp +++ touchegg/src/touchegg/actions/implementation/Scroll.cpp @@ -48,9 +48,9 @@ Scroll::Scroll(const QString &settings, if (!error && mainStrSpeed.length() == 2 && mainStrSpeed.at(0) == "SPEED") { bool ok; int configSpeed = QString(mainStrSpeed.at(1)).toInt(&ok); - if (ok && configSpeed >= 1 && configSpeed <= 10) { - this->verticalSpeed = 40 - 2 * configSpeed; - this->horizontalSpeed = 40 - 2 * configSpeed; + if (ok && configSpeed >= 1 && configSpeed < 10) { + this->verticalSpeed = 1000 - 100 * configSpeed; + this->horizontalSpeed = 1000 - 100 * configSpeed; } else { error = true; }
