forked from pool/libinput
Accepting request 510534 from home:Zaitor
Resub, most of spec cleaner changes reverted. OBS-URL: https://build.opensuse.org/request/show/510534 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=123
This commit is contained in:
parent
9a16341907
commit
66a89476f3
BIN
libinput-1.7.3.tar.xz
(Stored with Git LFS)
BIN
libinput-1.7.3.tar.xz
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
libinput-1.8.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
libinput-1.8.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
libinput-1.8.0.tar.xz.sig
Normal file
BIN
libinput-1.8.0.tar.xz.sig
Normal file
Binary file not shown.
3
libinput-rpmlintrc
Normal file
3
libinput-rpmlintrc
Normal 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");
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Fri Jun 9 07:58:39 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: libinput
|
Name: libinput
|
||||||
%define lname libinput10
|
%define lname libinput10
|
||||||
Version: 1.7.3
|
Version: 1.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Input device and event processing library
|
Summary: Input device and event processing library
|
||||||
License: MIT
|
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
|
Source2: http://freedesktop.org/software/libinput/%name-%version.tar.xz.sig
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Source4: %name.keyring
|
Source4: %name.keyring
|
||||||
#git#BuildRequires: autoconf >= 2.64
|
Source5: libinput-rpmlintrc
|
||||||
#git#BuildRequires: automake >= 1.11
|
|
||||||
#git#BuildRequires: libtool >= 2.2
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: graphviz >= 2.26
|
||||||
BuildRequires: grep
|
BuildRequires: grep
|
||||||
|
BuildRequires: meson >= 0.40.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(check) >= 0.9.10
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(libevdev) >= 0.4
|
BuildRequires: pkgconfig(libevdev) >= 0.4
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
BuildRequires: pkgconfig(libwacom) >= 0.20
|
BuildRequires: pkgconfig(libwacom) >= 0.20
|
||||||
BuildRequires: pkgconfig(mtdev) >= 1.1.0
|
BuildRequires: pkgconfig(mtdev) >= 1.1.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libinput is a library that handles input devices for display servers and
|
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
|
%setup -qn %name-%version
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
%meson \
|
||||||
autoreconf -fi
|
-Dudev-dir="%_libexecdir/udev" \
|
||||||
fi;
|
-Dtests=false \
|
||||||
%configure --disable-static --includedir="%_includedir/%name" \
|
%nil
|
||||||
--with-udev-dir="%_libexecdir/udev"
|
%meson_build
|
||||||
make %{?_smp_mflags} V=1
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
%fdupes %buildroot/%_prefix
|
%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
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files udev
|
%files udev
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libexecdir/udev/hwdb.d
|
%_libexecdir/udev/hwdb.d
|
||||||
%_libexecdir/udev/libinput-device-group
|
%_libexecdir/udev/libinput-device-group
|
||||||
%_libexecdir/udev/libinput-model-quirks
|
%_libexecdir/udev/libinput-model-quirks
|
||||||
%_libexecdir/udev/rules.d
|
%_libexecdir/udev/rules.d
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%_libdir/libinput.so.10*
|
%_libdir/libinput.so.10*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%_bindir/libinput
|
||||||
%_bindir/libinput-debug-events
|
%_bindir/libinput-debug-events
|
||||||
%_bindir/libinput-list-devices
|
%_bindir/libinput-list-devices
|
||||||
|
%dir %_libexecdir/libinput
|
||||||
|
%_libexecdir/libinput/libinput-debug-events
|
||||||
|
%_libexecdir/libinput/libinput-debug-gui
|
||||||
|
%_libexecdir/libinput/libinput-list-devices
|
||||||
|
%_libexecdir/libinput/libinput-measure
|
||||||
|
%_libexecdir/libinput/libinput-measure-touchpad-tap
|
||||||
%_mandir/man1/libinput-debug-events.1.gz
|
%_mandir/man1/libinput-debug-events.1.gz
|
||||||
|
%_mandir/man1/libinput-debug-gui.1.gz
|
||||||
%_mandir/man1/libinput-list-devices.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
|
%files devel
|
||||||
%defattr(-,root,root)
|
%_includedir/libinput.h
|
||||||
%_includedir/%name/
|
|
||||||
%_libdir/pkgconfig/libinput.pc
|
%_libdir/pkgconfig/libinput.pc
|
||||||
%_libdir/libinput.so
|
%_libdir/libinput.so
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user