2015-03-19 21:50:52 +00:00
|
|
|
%global udevdir %(pkg-config --variable=udevdir udev)
|
|
|
|
|
2015-01-16 04:40:08 +00:00
|
|
|
#global gitdate 20141211
|
2014-12-11 01:27:31 +00:00
|
|
|
%global gitversion 58abea394
|
2014-11-24 04:17:57 +00:00
|
|
|
|
2014-03-07 13:15:27 +00:00
|
|
|
Name: libinput
|
2015-10-26 02:13:51 +00:00
|
|
|
Version: 1.1.0
|
2015-10-21 05:47:50 +00:00
|
|
|
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
2014-03-07 13:15:27 +00:00
|
|
|
Summary: Input device library
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.freedesktop.org/wiki/Software/libinput/
|
2014-11-24 04:17:57 +00:00
|
|
|
%if 0%{?gitdate}
|
|
|
|
Source0: %{name}-%{gitdate}.tar.xz
|
|
|
|
Source1: make-git-snapshot.sh
|
|
|
|
Source2: commitid
|
|
|
|
%else
|
2014-03-07 13:15:27 +00:00
|
|
|
Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
|
2014-11-24 04:17:57 +00:00
|
|
|
%endif
|
2014-03-07 13:15:27 +00:00
|
|
|
|
2015-08-04 01:52:44 +00:00
|
|
|
# Not upstream, keep until kernel 4.2 or 4.1.x with dbf3c37086
|
|
|
|
Patch01: 0001-touchpad-serial-synaptics-need-to-fake-new-touches-o.patch
|
2015-07-09 02:59:22 +00:00
|
|
|
|
2014-11-24 04:17:57 +00:00
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: autoconf automake libtool pkgconfig
|
2014-03-07 13:15:27 +00:00
|
|
|
BuildRequires: libevdev-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: mtdev-devel
|
2015-06-12 05:01:05 +00:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2014-03-07 13:15:27 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libinput is a library that handles input devices for display servers and other
|
|
|
|
applications that need to directly deal with input devices.
|
|
|
|
|
|
|
|
It provides device detection, device handling, input device event processing
|
|
|
|
and abstraction so minimize the amount of custom input code the user of
|
|
|
|
libinput need to provide the common set of functionality that users expect.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2014-11-24 04:17:57 +00:00
|
|
|
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
|
|
|
git init
|
|
|
|
if [ -z "$GIT_COMMITTER_NAME" ]; then
|
|
|
|
git config user.email "x@fedoraproject.org"
|
|
|
|
git config user.name "Fedora X Ninjas"
|
|
|
|
fi
|
|
|
|
git add .
|
|
|
|
git commit --allow-empty -a -q -m "%{version} baseline."
|
|
|
|
|
|
|
|
# Apply all the patches.
|
|
|
|
git am -p1 %{patches} < /dev/null
|
2014-03-07 13:15:27 +00:00
|
|
|
|
|
|
|
%build
|
2014-11-24 04:17:57 +00:00
|
|
|
autoreconf -v --install --force || exit 1
|
2015-03-19 21:50:52 +00:00
|
|
|
%configure --disable-static --disable-silent-rules --with-udev-dir=%{udevdir}
|
2014-03-07 13:15:27 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
|
|
|
|
2015-05-05 07:23:23 +00:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
/usr/bin/udevadm hwdb --update >/dev/null 2>&1 || :
|
2014-03-07 13:15:27 +00:00
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libinput.so.*
|
2015-03-19 21:50:52 +00:00
|
|
|
%{udevdir}/libinput-device-group
|
2015-07-16 05:07:26 +00:00
|
|
|
%{udevdir}/libinput-model-quirks
|
2015-05-05 07:23:23 +00:00
|
|
|
%{udevdir}/rules.d/80-libinput-device-groups.rules
|
|
|
|
%{udevdir}/rules.d/90-libinput-model-quirks.rules
|
|
|
|
%{udevdir}/hwdb.d/90-libinput-model-quirks.hwdb
|
2015-04-21 23:11:12 +00:00
|
|
|
%{_bindir}/libinput-list-devices
|
2015-05-05 07:23:23 +00:00
|
|
|
%{_bindir}/libinput-debug-events
|
2015-04-21 23:11:12 +00:00
|
|
|
%{_mandir}/man1/libinput-list-devices.1*
|
2015-05-05 07:23:23 +00:00
|
|
|
%{_mandir}/man1/libinput-debug-events.1*
|
2014-03-07 13:15:27 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/libinput.h
|
|
|
|
%{_libdir}/libinput.so
|
|
|
|
%{_libdir}/pkgconfig/libinput.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-10-26 02:13:51 +00:00
|
|
|
* Mon Oct 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-1
|
|
|
|
- libinput 1.1.0
|
|
|
|
|
2015-10-21 05:47:50 +00:00
|
|
|
* Wed Oct 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.2-1
|
|
|
|
- libinput 1.0.2
|
|
|
|
|
2015-09-18 19:00:20 +00:00
|
|
|
* Sat Sep 19 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-3
|
|
|
|
- Fix the number of clicks sent in multitap (fdo #92016)
|
|
|
|
|
2015-09-07 00:52:08 +00:00
|
|
|
* Mon Sep 07 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-2
|
|
|
|
- Don't interpret short scrolls as right click (#1256045)
|
|
|
|
|
2015-09-03 08:33:47 +00:00
|
|
|
* Thu Sep 03 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-1
|
|
|
|
- libinput 1.0.1
|
|
|
|
|
2015-08-26 02:09:35 +00:00
|
|
|
* Wed Aug 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.0-1
|
|
|
|
- libinput 1.0
|
|
|
|
|
2015-08-21 01:36:58 +00:00
|
|
|
* Fri Aug 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.99.1-1
|
|
|
|
- libinput 1.0RC1
|
|
|
|
|
2015-08-05 01:40:45 +00:00
|
|
|
* Wed Aug 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-3
|
|
|
|
- Fix 2fg scroll threshold handling (#1249365)
|
|
|
|
|
2015-08-04 06:36:45 +00:00
|
|
|
* Tue Aug 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-2
|
|
|
|
- Fix pointer speed configuration, broke with 0.21.0
|
|
|
|
|
2015-08-04 01:52:44 +00:00
|
|
|
* Tue Aug 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-1
|
|
|
|
- libinput 0.21.0
|
|
|
|
- fix 3fg touch detection on Synaptics semi-mt touchpads
|
|
|
|
|
2015-07-30 03:53:39 +00:00
|
|
|
* Thu Jul 30 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-6
|
|
|
|
- Fix broken 2fg scrolling on single-touch touchpads (#1246651)
|
|
|
|
- Drop distance threshold for 2fg gesture detection (#1246868)
|
|
|
|
|
2015-07-29 01:11:58 +00:00
|
|
|
* Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-5
|
|
|
|
- Add a size hint for Apple one-button touchpads (#1246651)
|
|
|
|
|
2015-07-28 22:21:50 +00:00
|
|
|
* Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-4
|
|
|
|
- Disable 2fg scrolling on Synaptics semi-mt (#1235175)
|
|
|
|
|
2015-07-23 22:38:31 +00:00
|
|
|
* Fri Jul 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-3
|
|
|
|
- Disable thumb detection, too many false positives (#1246093)
|
|
|
|
|
2015-07-21 05:21:10 +00:00
|
|
|
* Tue Jul 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-2
|
|
|
|
- Restore parsing for trackpoing const accel
|
|
|
|
|
2015-07-16 05:07:26 +00:00
|
|
|
* Thu Jul 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-1
|
|
|
|
- libinput 0.20
|
|
|
|
|
2015-07-13 23:47:06 +00:00
|
|
|
* Tue Jul 14 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-3
|
|
|
|
- Only edge scroll when the finger is on the actual edge
|
|
|
|
|
2015-07-09 02:59:22 +00:00
|
|
|
* Thu Jul 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-2
|
|
|
|
- enable edge scrolling on clickpads (#1225579)
|
|
|
|
|
2015-07-06 03:11:52 +00:00
|
|
|
* Mon Jul 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-1
|
|
|
|
- libinput 0.19.0
|
|
|
|
|
2015-06-30 23:31:21 +00:00
|
|
|
* Wed Jul 01 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-5
|
|
|
|
- Improve trackpoint->touchpad transition responsiveness (#1233844)
|
|
|
|
|
2015-06-29 01:19:32 +00:00
|
|
|
* Mon Jun 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-4
|
|
|
|
- Steepen deceleration curve to get better 1:1 movement on slow speeds
|
|
|
|
(#1231304)
|
|
|
|
- Provide custom accel method for <1000dpi mice (#1227039)
|
|
|
|
|
2015-06-25 02:46:49 +00:00
|
|
|
* Thu Jun 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-3
|
|
|
|
- Fix stuck finger after a clickpad click on resolutionless touchpads
|
|
|
|
|
2015-06-24 03:43:00 +00:00
|
|
|
* Wed Jun 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-2
|
|
|
|
- Fix initial jump during edge scrolling
|
|
|
|
|
2015-06-22 04:59:12 +00:00
|
|
|
* Mon Jun 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-1
|
|
|
|
- libinput 0.18.0
|
|
|
|
|
2015-06-16 07:08:39 +00:00
|
|
|
* Tue Jun 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-5
|
|
|
|
- Use physical values for the hystersis where possible (#1230462)
|
|
|
|
- Disable right-edge palm detection when edge scrolling is active
|
|
|
|
(fdo#90980)
|
|
|
|
|
2015-06-16 03:36:06 +00:00
|
|
|
* Tue Jun 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-4
|
|
|
|
- Avoid erroneous finger movement after a physical click (#1230441)
|
|
|
|
|
2015-06-12 05:01:05 +00:00
|
|
|
* Fri Jun 12 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-3
|
|
|
|
- Require udev.pc for the build
|
|
|
|
|
2015-06-08 23:18:48 +00:00
|
|
|
* Tue Jun 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-2
|
|
|
|
- Cap the minimum acceleration slowdown at 0.3 (#1227796)
|
|
|
|
|
2015-06-04 01:14:42 +00:00
|
|
|
* Thu Jun 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-1
|
|
|
|
- libinput 0.17
|
|
|
|
|
2015-06-02 07:41:42 +00:00
|
|
|
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-4
|
|
|
|
- Always set the middle button as default button for button-scrolling
|
|
|
|
(#1227182)
|
|
|
|
|
2015-06-02 03:46:01 +00:00
|
|
|
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-3
|
|
|
|
- Reduce tap-n-drag timeout (#1225998)
|
|
|
|
|
2015-06-02 01:11:00 +00:00
|
|
|
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-2
|
|
|
|
- Handle slow motions better (#1227039)
|
|
|
|
|
2015-06-01 22:45:28 +00:00
|
|
|
* Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-1
|
|
|
|
- libinput 0.16.0
|
|
|
|
|
2015-05-29 02:02:25 +00:00
|
|
|
* Fri May 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-4
|
|
|
|
- Add tap-to-end-drag patch (#1225998)
|
|
|
|
|
2015-05-27 04:32:52 +00:00
|
|
|
* Wed May 27 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-3
|
|
|
|
- Refine disable-while-typing (#1209753)
|
|
|
|
|
2015-05-18 06:22:26 +00:00
|
|
|
* Mon May 18 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-2
|
|
|
|
- Add disable-while-typing feature (#1209753)
|
|
|
|
|
2015-05-05 07:23:23 +00:00
|
|
|
* Tue May 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-1
|
|
|
|
- libinput 0.15.0
|
|
|
|
|
2015-04-24 05:45:34 +00:00
|
|
|
* Fri Apr 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.1-2
|
|
|
|
- Fix crash with the MS Surface Type Cover (#1206869)
|
|
|
|
|
2015-04-21 23:11:12 +00:00
|
|
|
* Wed Apr 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.1-1
|
|
|
|
- libinput 0.14.1
|
|
|
|
|
2015-04-16 08:21:36 +00:00
|
|
|
* Thu Apr 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-6
|
|
|
|
- git add the patch...
|
|
|
|
|
2015-04-16 08:10:34 +00:00
|
|
|
* Thu Apr 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-5
|
|
|
|
- Reduce palm detection threshold to 70mm (#1209753)
|
|
|
|
- Don't allow taps in the top part of the palm zone (#1209753)
|
|
|
|
|
2015-04-08 21:53:33 +00:00
|
|
|
* Thu Apr 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-4
|
|
|
|
- Fix finger miscounts on single-touch touchpads (#1209151)
|
|
|
|
|
2015-04-08 06:04:06 +00:00
|
|
|
* Wed Apr 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-3
|
|
|
|
- Fix mouse slowdown (#1208992)
|
|
|
|
|
2015-04-07 23:20:22 +00:00
|
|
|
* Wed Apr 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-2
|
|
|
|
- Fix crasher triggered by fake MT devices without ABS_X/Y (#1207574)
|
|
|
|
|
2015-03-24 06:26:43 +00:00
|
|
|
* Tue Mar 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-1
|
|
|
|
- libinput 0.13.0
|
|
|
|
|
2015-03-19 21:50:52 +00:00
|
|
|
* Fri Mar 20 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-2
|
|
|
|
- Install the udev rules in the udevdir, not libdir (#1203645)
|
|
|
|
|
2015-03-09 23:57:07 +00:00
|
|
|
* Tue Mar 10 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-1
|
|
|
|
- libinput 0.12.0
|
|
|
|
|
2015-02-23 01:07:22 +00:00
|
|
|
* Mon Feb 23 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.11.0-1
|
|
|
|
- libinput 0.11.0
|
|
|
|
|
2015-02-06 00:49:15 +00:00
|
|
|
* Fri Feb 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
|
|
|
|
- libinput 0.10.0
|
|
|
|
|
2015-01-30 04:29:07 +00:00
|
|
|
* Fri Jan 30 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.9.0-1
|
|
|
|
- libinput 0.9.0
|
|
|
|
|
2015-01-16 04:40:08 +00:00
|
|
|
* Mon Jan 19 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.8.0-1
|
|
|
|
- libinput 0.8.0
|
|
|
|
|
2014-12-11 01:27:31 +00:00
|
|
|
* Thu Dec 11 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-2.20141211git58abea394
|
|
|
|
- git snapshot, fixes a crasher and fd confusion after suspending a device
|
|
|
|
|
2014-12-05 05:10:59 +00:00
|
|
|
* Fri Dec 05 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-1
|
|
|
|
- libinput 0.7.0
|
|
|
|
|
2014-11-24 04:17:57 +00:00
|
|
|
* Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-3.20141124git92d178f16
|
|
|
|
- Add the hooks to build from a git snapshot
|
|
|
|
- Disable silent rules
|
|
|
|
- Update to today's git master
|
|
|
|
|
2014-09-12 06:29:09 +00:00
|
|
|
* Fri Sep 12 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-2
|
|
|
|
- libinput 0.6.0
|
|
|
|
|
2014-08-17 03:59:34 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-22 23:52:48 +00:00
|
|
|
* Wed Jul 23 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.5.0-1
|
|
|
|
- libinput 0.5.0
|
|
|
|
|
2014-07-02 04:29:01 +00:00
|
|
|
* Wed Jul 02 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.4.0-2
|
|
|
|
- Add the new touchpad pointer acceleration code
|
|
|
|
|
2014-06-25 19:19:33 +00:00
|
|
|
* Wed Jun 25 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.0-1
|
|
|
|
- Update to 0.4.0
|
|
|
|
|
2014-06-07 03:54:03 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-23 04:19:40 +00:00
|
|
|
* Fri May 23 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-1
|
|
|
|
- libinput 0.2.0
|
|
|
|
|
2014-03-07 13:15:27 +00:00
|
|
|
* Fri Feb 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.0-1
|
|
|
|
- Initial Fedora packaging
|