SHA256
7
0
forked from pool/lxinput

Accepting request 447662 from home:jcsl:GTKApps

- new upstream version 0.3.5
  * Fix: apply left handed mouse setting in autostart file
  * Fix GtkBuilder UI file for GTK+ 3, add mouse icon to mouse tab
  * Add MATE to NotShowIn in desktop entries
  * Translation updates
- Removed patch now in upstream code:
  * lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch

OBS-URL: https://build.opensuse.org/request/show/447662
OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxinput?expand=0&rev=28
This commit is contained in:
2017-01-03 14:47:24 +00:00
committed by Git OBS Bridge
parent 7d6875ef8a
commit 245b99a75a
5 changed files with 15 additions and 41 deletions

View File

@@ -1,35 +0,0 @@
From 38ea72e33fa3be77999367237fa7be8d3b7cf85b Mon Sep 17 00:00:00 2001
From: Andriy Grytsenko <andrej@rep.kiev.ua>
Date: Tue, 5 May 2015 12:35:26 +0300
Subject: [PATCH] Fix: apply left handed mouse setting in autostart file.
If it does not set then the setting is applied only for current session.
See also https://bugs.launchpad.net/ubuntu/+source/lxinput/+bug/1426766
---
src/lxinput.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/lxinput.c b/src/lxinput.c
index e6936dc..950c004 100644
--- a/src/lxinput.c
+++ b/src/lxinput.c
@@ -349,13 +349,14 @@ int main(int argc, char** argv)
"Name=%s\n"
"Comment=%s\n"
"NoDisplay=true\n"
- "Exec=sh -c 'xset m %d/10 %d r rate %d %d b %s'\n"
+ "Exec=sh -c 'xset m %d/10 %d r rate %d %d b %s%s'\n"
"NotShowIn=GNOME;KDE;XFCE;\n",
_("LXInput autostart"),
_("Setup keyboard and mouse using settings done in LXInput"),
/* FIXME: how to setup left-handed mouse? */
accel, threshold, delay, interval,
- beep ? "on" : "off");
+ beep ? "on" : "off",
+ left_handed ? ";xmodmap -e \"pointer = 3 2 1\"" : "");
g_file_set_contents(user_config_file, str, -1, NULL);
g_free(str);
}
--
2.1.3

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e37074e406a05792f6eaac029638bd02fe88926f20736d73dcb5113da825c24
size 144008

3
lxinput-0.3.5.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e8f778a65a4afe2365b47e7899358aa4fab535343aa62c72a3cdc4cac1f6e88
size 145356

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Dec 25 13:07:05 UTC 2016 - trcs@gmx.com
- new upstream version 0.3.5
* Fix: apply left handed mouse setting in autostart file
* Fix GtkBuilder UI file for GTK+ 3, add mouse icon to mouse tab
* Add MATE to NotShowIn in desktop entries
* Translation updates
- Removed patch now in upstream code:
* lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch
-------------------------------------------------------------------
Tue May 5 21:28:58 UTC 2015 - trcs@gmx.com

View File

@@ -17,14 +17,13 @@
Name: lxinput
Version: 0.3.4
Version: 0.3.5
Release: 0
Summary: Keyboard and mouse configuration tool
License: GPL-2.0
Group: System/GUI/LXDE
Url: http://www.lxde.org/
Source0: %{name}-%{version}.tar.xz
Patch0: lxinput-0.3.4-Apply-left-handed-mouse-setting-in-autostart-file.patch
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -46,7 +45,6 @@ LXinput is just the LXDE Keyboard and mouse config tool
%prep
%setup -q
%patch0 -p1
%build
%configure