Dominique Leuenberger 2020-08-28 21:45:01 +00:00 committed by Git OBS Bridge
commit 723dbb31db
7 changed files with 11 additions and 26 deletions

View File

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

Binary file not shown.

3
libevdev-1.9.1.tar.xz Normal file
View File

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

BIN
libevdev-1.9.1.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Aug 16 01:38:47 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.9.1
* no changelog available
- remove n_buildfix_for_opensuse_12_2.patch: obsolete
-------------------------------------------------------------------
Mon Apr 6 09:22:38 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -18,19 +18,16 @@
%define sonum 2
Name: libevdev
Version: 1.9.0
Version: 1.9.1
Release: 0
Summary: A wrapper library for evdev devices
License: MIT
Group: Development/Libraries/C and C++
URL: https://xorg.freedesktop.org/
#Git-Web: http://cgit.freedesktop.org/libevdev
#Git-Clone: git://anongit.freedesktop.org/libevdev
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
Source1: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
Patch0: n_buildfix_for_opensuse_12_2.patch
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
@ -76,9 +73,6 @@ Aditional utilities for libevdev library
%prep
%setup -q
%if 0%{?suse_version} < 1230
%patch0 -p1
%endif
%build
%configure \

View File

@ -1,16 +0,0 @@
Author: Stefan Dirsch <sndirsch@suse.de>
Subject: Buildfix for openSUSE 12.2 (Linux kernel headers too old)
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Index: libevdev-0.4/libevdev/libevdev-int.h
===================================================================
--- libevdev-0.4.orig/libevdev/libevdev-int.h
+++ libevdev-0.4/libevdev/libevdev-int.h
@@ -35,6 +35,7 @@
#define MAX_NAME 256
#define MAX_SLOTS 32
#define ABS_MT_MIN ABS_MT_SLOT
+#define ABS_MT_TOOL_Y 0x3d /* Center Y tool position */
#define ABS_MT_MAX ABS_MT_TOOL_Y
#define ABS_MT_CNT (ABS_MT_MAX - ABS_MT_MIN + 1)
#define LIBEVDEV_EXPORT __attribute__((visibility("default")))