SHA256
1
0
forked from pool/libinput

Accepting request 512365 from X11:Wayland

New stable release (forwarded request 512334 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/512365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libinput?expand=0&rev=46
This commit is contained in:
Yuchen Lin 2017-08-08 10:05:33 +00:00 committed by Git OBS Bridge
commit f72bd979ca
7 changed files with 89 additions and 34 deletions

BIN
libinput-1.7.3.tar.xz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
libinput-1.8.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
libinput-1.8.1.tar.xz.sig Normal file

Binary file not shown.

3
libinput-rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
addFilter("shlib-policy-nonversioned-dir .*/usr/lib/libinput");
addFilter("shlib-policy-nonversioned-dir .*/usr/lib/udev");
addFilter("shlib-policy-missing-lib");

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Mon Jul 24 17:13:19 UTC 2017 - zaitor@opensuse.org
- Update to version 1.8.1:
* This release includes a build fix for the meson build (together
with better meson instructions).
* The palm edge zone is slightly increased from 5% to 8% to avoid
accidental palm touches in the edges. On most modern touchpads
that works out to be a 5mm to 8mm increase.
* The second one is a straightforward bugfix: if the keyboard was
removed while disable-while-typing was active, the touchpad
would never turn on again.
-------------------------------------------------------------------
Mon Jul 3 19:26:37 UTC 2017 - zaitor@opensuse.org
- Update to version 1.8.0:
* libinput debug-gui is now installed by default unless disabled.
* The biggest change in this release is that libinput has
switched to meson as primary build system.
* The second big change that is user-visible is that we have
switched to a git-like approach to handling the helper tools
for libinput. The previously installed tools of
libinput-debug-events and libinput-list-devices are now
"libinput debug-events" and "libinput list-devices",
respectively. For the 1.8.x releases compat-wrappers are in
place.
* Tablet stylus events now average across multiple events to stop
the wobbly lines previously produced by libinput.
* On touchpads that provide MT_TOOL_PALM, i.e.
in-kernel/in-firmware palm detection we now honor that bit and
treat that touch as palm.
* Tapping has seen some fixes for previously broken timestamps in
the multi-tap use-cases.
* The lid switch handling now uses a udev property to tell us
whether a keyboard is external or internal. Together with some
improved state tracking it should make the lid switch handling
more reliable on devices where the lid switch is broken. The
property is also used for disable-while-typing which makes it
easier to special-case hardware.
- Switch buildsystem to meson following upstream changes.
- Following the above, add meson BuildRequires.
- Add graphviz, pkgconfig(cairo), pkgconfig(glib-2.0) and
pkgconfig(gtk+-3.0) BuildRequires, new dependencies (for
debug-gui).
- Pass tests=false to meson, not possible to run on the obs.
- Following the above, drop pkgconfig(check) BuildRequires, no
longer needed.
- Drop xz BuildRequires: Not needed for any current openSUSE
release.
- Drop autoconf, automake and libtool #git BuildRequires, no longer
needed when building with meson.
- Add libinput-rpmlintrc, silence erronus rpmlint warnings.
-------------------------------------------------------------------
Fri Jun 9 07:58:39 UTC 2017 - jengelh@inai.de

View File

@ -18,7 +18,7 @@
Name: libinput
%define lname libinput10
Version: 1.7.3
Version: 1.8.1
Release: 0
Summary: Input device and event processing library
License: MIT
@ -32,21 +32,21 @@ Source: http://freedesktop.org/software/libinput/%name-%version.tar.xz
Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig
Source3: baselibs.conf
Source4: %name.keyring
#git#BuildRequires: autoconf >= 2.64
#git#BuildRequires: automake >= 1.11
#git#BuildRequires: libtool >= 2.2
Source5: libinput-rpmlintrc
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: graphviz >= 2.26
BuildRequires: grep
BuildRequires: meson >= 0.40.0
BuildRequires: pkgconfig
BuildRequires: xz
BuildRequires: pkgconfig(check) >= 0.9.10
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libevdev) >= 0.4
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libwacom) >= 0.20
BuildRequires: pkgconfig(mtdev) >= 1.1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libinput is a library that handles input devices for display servers and
@ -100,51 +100,49 @@ to develop applications that require libinput.
%setup -qn %name-%version
%build
if [ ! -e configure ]; then
autoreconf -fi
fi;
%configure --disable-static --includedir="%_includedir/%name" \
--with-udev-dir="%_libexecdir/udev"
make %{?_smp_mflags} V=1
%meson \
-Dudev-dir="%_prefix/lib/udev" \
-Dtests=false \
%nil
%meson_build
%install
%make_install
%meson_install
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%check
%if !0%{?qemu_user_space_build}
mkdir xdg
chmod 700 xdg
export XDG_RUNTIME_DIR="$PWD/xdg"
make check %{?_smp_mflags} V=1 || :
%endif
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files udev
%defattr(-,root,root)
%_libexecdir/udev/hwdb.d
%_libexecdir/udev/libinput-device-group
%_libexecdir/udev/libinput-model-quirks
%_libexecdir/udev/rules.d
%_prefix/lib/udev/hwdb.d
%_prefix/lib/udev/libinput-device-group
%_prefix/lib/udev/libinput-model-quirks
%_prefix/lib/udev/rules.d
%files -n %lname
%defattr(-,root,root)
%doc COPYING
%_libdir/libinput.so.10*
%files tools
%defattr(-,root,root)
%_bindir/libinput
%_bindir/libinput-debug-events
%_bindir/libinput-list-devices
%dir %_prefix/lib/libinput
%_prefix/lib/libinput/libinput-debug-events
%_prefix/lib/libinput/libinput-debug-gui
%_prefix/lib/libinput/libinput-list-devices
%_prefix/lib/libinput/libinput-measure
%_prefix/lib/libinput/libinput-measure-touchpad-tap
%_mandir/man1/libinput-debug-events.1.gz
%_mandir/man1/libinput-debug-gui.1.gz
%_mandir/man1/libinput-list-devices.1.gz
%_mandir/man1/libinput-measure-touchpad-tap.1.gz
%_mandir/man1/libinput-measure.1.gz
%_mandir/man1/libinput.1.gz
%files devel
%defattr(-,root,root)
%_includedir/%name/
%_includedir/libinput.h
%_libdir/pkgconfig/libinput.pc
%_libdir/libinput.so