libinput-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. %global udevdir %(pkg-config --variable=udevdir udev)
  2. #global gitdate 20141211
  3. %global gitversion 58abea394
  4. Name: libinput
  5. Version: 1.3.3
  6. Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?_dist_release}
  7. Summary: Input device library
  8. License: MIT
  9. URL: http://www.freedesktop.org/wiki/Software/libinput/
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. %if 0%{?gitdate}
  13. Source0: %{name}-%{gitdate}.tar.xz
  14. Source1: make-git-snapshot.sh
  15. Source2: commitid
  16. %else
  17. Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
  18. %endif
  19. # Not upstream, keep until kernel 4.2 or 4.1.x with dbf3c37086
  20. Patch01: 0001-touchpad-serial-synaptics-need-to-fake-new-touches-o.patch
  21. BuildRequires: git
  22. BuildRequires: autoconf automake libtool pkgconfig
  23. BuildRequires: libevdev-devel
  24. BuildRequires: libudev-devel
  25. BuildRequires: mtdev-devel libwacom-devel
  26. BuildRequires: pkgconfig(udev)
  27. %description
  28. libinput is a library that handles input devices for display servers and other
  29. applications that need to directly deal with input devices.
  30. It provides device detection, device handling, input device event processing
  31. and abstraction so minimize the amount of custom input code the user of
  32. libinput need to provide the common set of functionality that users expect.
  33. %package devel
  34. Summary: Development files for %{name}
  35. Requires: %{name}%{?_isa} = %{version}-%{release}
  36. %description devel
  37. The %{name}-devel package contains libraries and header files for
  38. developing applications that use %{name}.
  39. %prep
  40. %setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
  41. git init
  42. if [ -z "$GIT_COMMITTER_NAME" ]; then
  43. git config user.email "x@fedoraproject.org"
  44. git config user.name "Fedora X Ninjas"
  45. fi
  46. git add .
  47. git commit --allow-empty -a -q -m "%{version} baseline."
  48. # Apply all the patches.
  49. git am -p1 %{patches} < /dev/null
  50. %build
  51. autoreconf -v --install --force || exit 1
  52. %configure --disable-static --disable-silent-rules --with-udev-dir=%{udevdir}
  53. make %{?_smp_mflags}
  54. %install
  55. %make_install
  56. find $RPM_BUILD_ROOT -name '*.la' -delete
  57. %post
  58. /sbin/ldconfig
  59. /usr/bin/udevadm hwdb --update >/dev/null 2>&1 || :
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %license COPYING
  63. %{_libdir}/libinput.so.*
  64. %{udevdir}/libinput-device-group
  65. %{udevdir}/libinput-model-quirks
  66. %{udevdir}/rules.d/80-libinput-device-groups.rules
  67. %{udevdir}/rules.d/90-libinput-model-quirks.rules
  68. %{udevdir}/hwdb.d/90-libinput-model-quirks.hwdb
  69. %{_bindir}/libinput-list-devices
  70. %{_bindir}/libinput-debug-events
  71. %{_mandir}/man1/libinput-list-devices.1*
  72. %{_mandir}/man1/libinput-debug-events.1*
  73. %files devel
  74. %{_includedir}/libinput.h
  75. %{_libdir}/libinput.so
  76. %{_libdir}/pkgconfig/libinput.pc
  77. %changelog
  78. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-3
  79. - initial build for Vine Linux.
  80. * Fri Jun 24 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.3-2
  81. - Drop the now unnecessary patch
  82. * Fri Jun 24 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.3-1
  83. - libinput 1.3.3
  84. * Thu Jun 16 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.2-1
  85. - libinput 1.3.2
  86. * Mon May 30 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.1-1
  87. - libinput 1.3.1
  88. * Fri May 20 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.0-3
  89. - Stop pointer jitter on the Dell E5420, E530 and Lenovo Yoga 2
  90. * Thu May 19 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.0-2
  91. - Disable negative pressure transition on non-synaptics pads to avoid
  92. jerky movement (#1335249)
  93. * Tue May 10 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.3.0-1
  94. - libinput 1.3.0
  95. * Wed May 04 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.903-1
  96. - libinput 1.3rc3
  97. * Thu Apr 21 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.902-1
  98. - libinput 1.3rc2
  99. * Tue Apr 19 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.4-1
  100. - libinput 1.2.4
  101. * Tue Apr 12 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.3-1
  102. - libinput 1.2.3
  103. * Tue Mar 15 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.2-1
  104. - libinput 1.2.2
  105. * Fri Mar 11 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.1-4
  106. - Fix jerky pointer motion on the Lenovo T450/T460/X1 3rd hardware
  107. * Mon Mar 07 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.1-3
  108. - Fix segfault on mislabeled tablets (#1314955)
  109. * Wed Mar 02 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.1-2
  110. - Bump to maintain upgrade path with F23
  111. * Mon Feb 29 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.1-1
  112. - libinput 1.2.1
  113. * Tue Feb 23 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.2.0-1
  114. - libinput 1.2.0
  115. * Mon Feb 15 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.902-2
  116. - Add libwacom-devel to BuildRequires
  117. * Mon Feb 15 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.902-1
  118. - libinput 1.2rc2
  119. * Wed Feb 10 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.7-1
  120. - libinput 1.1.7
  121. * Fri Feb 05 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.6-1
  122. - libinput 1.1.6
  123. * Thu Feb 04 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.5-4
  124. - Fix patches from -3, they got corrupted somehow
  125. * Thu Feb 04 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.5-3
  126. - Disable the mode button on the Cyborg RAT 5
  127. - Drop touchpad motion hysteresis by default
  128. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
  129. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  130. * Mon Jan 25 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.5-1
  131. - libinput 1.1.5
  132. * Tue Jan 19 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-3
  133. - disable MT for semi-mt devices to solve the various two- and three-finger
  134. issues (at the cost of pinch gestures) (#1295073)
  135. * Mon Jan 11 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-2
  136. - fix disable-while-typing on macbooks
  137. * Tue Dec 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.4-1
  138. - libinput 1.1.4
  139. * Wed Dec 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.3-1
  140. - libinput 1.1.3
  141. * Wed Dec 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.2-1
  142. - libinput 1.1.2
  143. * Mon Dec 07 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.1-2
  144. - Reduce 2fg scroll threshold to 1mm (#1247958)
  145. * Mon Nov 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.1-1
  146. - libinput 1.1.1
  147. * Mon Nov 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-3
  148. - Fix invalid device group pointer, causing invalid memory access
  149. * Wed Oct 28 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-2
  150. - Fix crash triggered by Asus RoG Gladius mouse (#1275407)
  151. * Mon Oct 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-1
  152. - libinput 1.1.0
  153. * Wed Oct 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.2-1
  154. - libinput 1.0.2
  155. * Sat Sep 19 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-3
  156. - Fix the number of clicks sent in multitap (fdo #92016)
  157. * Mon Sep 07 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-2
  158. - Don't interpret short scrolls as right click (#1256045)
  159. * Thu Sep 03 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-1
  160. - libinput 1.0.1
  161. * Wed Aug 26 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.0.0-1
  162. - libinput 1.0
  163. * Fri Aug 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.99.1-1
  164. - libinput 1.0RC1
  165. * Wed Aug 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-3
  166. - Fix 2fg scroll threshold handling (#1249365)
  167. * Tue Aug 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-2
  168. - Fix pointer speed configuration, broke with 0.21.0
  169. * Tue Aug 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.21.0-1
  170. - libinput 0.21.0
  171. - fix 3fg touch detection on Synaptics semi-mt touchpads
  172. * Thu Jul 30 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-6
  173. - Fix broken 2fg scrolling on single-touch touchpads (#1246651)
  174. - Drop distance threshold for 2fg gesture detection (#1246868)
  175. * Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-5
  176. - Add a size hint for Apple one-button touchpads (#1246651)
  177. * Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-4
  178. - Disable 2fg scrolling on Synaptics semi-mt (#1235175)
  179. * Fri Jul 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-3
  180. - Disable thumb detection, too many false positives (#1246093)
  181. * Tue Jul 21 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-2
  182. - Restore parsing for trackpoing const accel
  183. * Thu Jul 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-1
  184. - libinput 0.20
  185. * Tue Jul 14 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-3
  186. - Only edge scroll when the finger is on the actual edge
  187. * Thu Jul 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-2
  188. - enable edge scrolling on clickpads (#1225579)
  189. * Mon Jul 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.19.0-1
  190. - libinput 0.19.0
  191. * Wed Jul 01 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-5
  192. - Improve trackpoint->touchpad transition responsiveness (#1233844)
  193. * Mon Jun 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-4
  194. - Steepen deceleration curve to get better 1:1 movement on slow speeds
  195. (#1231304)
  196. - Provide custom accel method for <1000dpi mice (#1227039)
  197. * Thu Jun 25 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-3
  198. - Fix stuck finger after a clickpad click on resolutionless touchpads
  199. * Wed Jun 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-2
  200. - Fix initial jump during edge scrolling
  201. * Mon Jun 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.18.0-1
  202. - libinput 0.18.0
  203. * Tue Jun 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-5
  204. - Use physical values for the hystersis where possible (#1230462)
  205. - Disable right-edge palm detection when edge scrolling is active
  206. (fdo#90980)
  207. * Tue Jun 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-4
  208. - Avoid erroneous finger movement after a physical click (#1230441)
  209. * Fri Jun 12 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-3
  210. - Require udev.pc for the build
  211. * Tue Jun 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-2
  212. - Cap the minimum acceleration slowdown at 0.3 (#1227796)
  213. * Thu Jun 04 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.17.0-1
  214. - libinput 0.17
  215. * Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-4
  216. - Always set the middle button as default button for button-scrolling
  217. (#1227182)
  218. * Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-3
  219. - Reduce tap-n-drag timeout (#1225998)
  220. * Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-2
  221. - Handle slow motions better (#1227039)
  222. * Tue Jun 02 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.16.0-1
  223. - libinput 0.16.0
  224. * Fri May 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-4
  225. - Add tap-to-end-drag patch (#1225998)
  226. * Wed May 27 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-3
  227. - Refine disable-while-typing (#1209753)
  228. * Mon May 18 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-2
  229. - Add disable-while-typing feature (#1209753)
  230. * Tue May 05 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.15.0-1
  231. - libinput 0.15.0
  232. * Fri Apr 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.1-2
  233. - Fix crash with the MS Surface Type Cover (#1206869)
  234. * Wed Apr 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.14.1-1
  235. - libinput 0.14.1
  236. * Thu Apr 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-6
  237. - git add the patch...
  238. * Thu Apr 16 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-5
  239. - Reduce palm detection threshold to 70mm (#1209753)
  240. - Don't allow taps in the top part of the palm zone (#1209753)
  241. * Thu Apr 09 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-4
  242. - Fix finger miscounts on single-touch touchpads (#1209151)
  243. * Wed Apr 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-3
  244. - Fix mouse slowdown (#1208992)
  245. * Wed Apr 08 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-2
  246. - Fix crasher triggered by fake MT devices without ABS_X/Y (#1207574)
  247. * Tue Mar 24 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.13.0-1
  248. - libinput 0.13.0
  249. * Fri Mar 20 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-2
  250. - Install the udev rules in the udevdir, not libdir (#1203645)
  251. * Tue Mar 10 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.12.0-1
  252. - libinput 0.12.0
  253. * Mon Feb 23 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.11.0-1
  254. - libinput 0.11.0
  255. * Fri Feb 06 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.10.0-1
  256. - libinput 0.10.0
  257. * Fri Jan 30 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.9.0-1
  258. - libinput 0.9.0
  259. * Mon Jan 19 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.8.0-1
  260. - libinput 0.8.0
  261. * Thu Dec 11 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-2.20141211git58abea394
  262. - git snapshot, fixes a crasher and fd confusion after suspending a device
  263. * Fri Dec 05 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.7.0-1
  264. - libinput 0.7.0
  265. * Mon Nov 24 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-3.20141124git92d178f16
  266. - Add the hooks to build from a git snapshot
  267. - Disable silent rules
  268. - Update to today's git master
  269. * Fri Sep 12 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.6.0-2
  270. - libinput 0.6.0
  271. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
  272. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  273. * Wed Jul 23 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.5.0-1
  274. - libinput 0.5.0
  275. * Wed Jul 02 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.4.0-2
  276. - Add the new touchpad pointer acceleration code
  277. * Wed Jun 25 2014 Kalev Lember <kalevlember@gmail.com> - 0.4.0-1
  278. - Update to 0.4.0
  279. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
  280. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  281. * Fri May 23 2014 Peter Hutterer <peter.hutterer@redhat.com> 0.2.0-1
  282. - libinput 0.2.0
  283. * Fri Feb 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.0-1
  284. - Initial Fedora packaging