From 8bb95484ee717b1afc2841b1c6cba6e7ccf7a611 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Tue, 21 Jul 2020 15:28:19 +0100 Subject: [PATCH] Import libevdev_1.9.1+dfsg-1.debian.tar.xz [dgit import tarball libevdev 1.9.1+dfsg-1 libevdev_1.9.1+dfsg-1.debian.tar.xz] --- changelog | 352 ++++++++++++++++++++++++++ clean | 1 + control | 84 ++++++ copyright | 146 +++++++++++ gbp.conf | 4 + libevdev-dev.dirs | 2 + libevdev-dev.install | 5 + libevdev-doc.doc-base | 9 + libevdev-doc.docs | 1 + libevdev-tools.install | 3 + libevdev-tools.manpages | 3 + libevdev-tweak-device.1 | 96 +++++++ libevdev2-udeb.install | 1 + libevdev2.dirs | 1 + libevdev2.install | 1 + libevdev2.symbols | 6 + mouse-dpi-tool.1 | 22 ++ not-installed | 1 + patches/remove-remote-resources.patch | 39 +++ patches/series | 1 + rules | 31 +++ source/format | 1 + tests/check | 27 ++ touchpad-edge-detector.1 | 21 ++ upstream/signing-key.asc | 23 ++ watch | 4 + 26 files changed, 885 insertions(+) create mode 100644 changelog create mode 100644 clean create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 libevdev-dev.dirs create mode 100644 libevdev-dev.install create mode 100644 libevdev-doc.doc-base create mode 100644 libevdev-doc.docs create mode 100644 libevdev-tools.install create mode 100644 libevdev-tools.manpages create mode 100644 libevdev-tweak-device.1 create mode 100644 libevdev2-udeb.install create mode 100644 libevdev2.dirs create mode 100644 libevdev2.install create mode 100644 libevdev2.symbols create mode 100644 mouse-dpi-tool.1 create mode 100644 not-installed create mode 100644 patches/remove-remote-resources.patch create mode 100644 patches/series create mode 100755 rules create mode 100644 source/format create mode 100755 tests/check create mode 100644 touchpad-edge-detector.1 create mode 100644 upstream/signing-key.asc create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..7c4e279 --- /dev/null +++ b/changelog @@ -0,0 +1,352 @@ +libevdev (1.9.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Switch to debhelper compatibility level 13. + * remove-remote-resources.patch is Debian-specific, indicate that it + doesn’t need to be forwarded. + + -- Stephen Kitt Tue, 21 Jul 2020 16:28:19 +0200 + +libevdev (1.9.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Enable tests, the default test suite no longer needs to run as root. + + -- Stephen Kitt Thu, 05 Mar 2020 12:21:46 +0100 + +libevdev (1.8.901+dfsg-1) unstable; urgency=medium + + * New upstream pre-release. + * Standards-Version 4.5.0, no change required. + * Explicitly indicate that we don’t install .la files. + + -- Stephen Kitt Fri, 21 Feb 2020 17:45:13 +0100 + +libevdev (1.8.0+dfsg-2) unstable; urgency=medium + + * Build with Python 3. Closes: #936851. + + -- Stephen Kitt Wed, 04 Sep 2019 09:03:49 +0200 + +libevdev (1.8.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Wed, 28 Aug 2019 20:50:32 +0200 + +libevdev (1.7.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Use dh_doxygen to clean up the doxygen output. + * Avoid pulling in remote resources from the docs. + * Standards-Version 4.4.0, no change required. + * Stop overriding the jQuery version used by doxygen. + + -- Stephen Kitt Mon, 15 Jul 2019 18:48:44 +0200 + +libevdev (1.6.901+dfsg-1) experimental; urgency=medium + + * New upstream pre-release. + * Rewrite libevdev2.symbols using version symbols. + * Simplify the upstream signing key. + * Standards-Version 4.3.0, no change required. + * Switch to debhelper compatibility level 12. + * Install libevdev.3 in libevdev-dev. + + -- Stephen Kitt Sat, 01 Jun 2019 15:17:16 +0200 + +libevdev (1.6.0+dfsg-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP + + [ Stephen Kitt ] + * New upstream release. + * Add “Build-Depends-Package” entry to libevdev2.symbols. + * Set “Rules-Requires-Root: no”. + * Standards-Version 4.2.1, no further change required. + + -- Stephen Kitt Fri, 26 Oct 2018 23:20:00 +0200 + +libevdev (1.5.9+dfsg-2) unstable; urgency=medium + + * Migrate to Salsa. + * Standards-Version 4.1.4, no further change required. + + -- Stephen Kitt Fri, 04 May 2018 22:46:21 +0200 + +libevdev (1.5.9+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Tue, 13 Mar 2018 20:31:35 +0100 + +libevdev (1.5.8+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Add Multi-Arch qualifiers for the -dev and -doc packages. + * Drop obsolete patches. + * Make libevdev-dev suggest libevdev-doc. Closes: #885079; thanks to + Yuri D'Elia for the suggestion! + * Switch to the secure upstream homepage URL. + * Switch to debhelper compatibility level 11, moving the documentation + to /usr/share/doc/libevdev-dev (still in the libevdev-doc package). + * Standards-Version 4.1.3, no further change required. + + -- Stephen Kitt Mon, 29 Jan 2018 09:19:01 +0100 + +libevdev (1.5.7+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Ship documentation in a separate libevdev-doc package (Closes: + #860980). + + -- Stephen Kitt Mon, 19 Jun 2017 08:42:07 +0200 + +libevdev (1.5.6+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Thu, 05 Jan 2017 23:32:44 +0100 + +libevdev (1.5.5+dfsg-1) unstable; urgency=medium + + * New upstream release, obsoleting reproducible-builds.patch. + + -- Stephen Kitt Thu, 01 Dec 2016 09:03:13 +0100 + +libevdev (1.5.4+dfsg-2) unstable; urgency=medium + + * Fix FTCBFS (Closes: #842989; thanks to Helmut Grohne): + - annotate Python build-dependency with :native; + - use triplet-prefixed pkg-config. + * Switch to debhelper compatibility level 10. + + -- Stephen Kitt Thu, 03 Nov 2016 23:14:31 +0100 + +libevdev (1.5.4+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Fri, 26 Aug 2016 23:10:52 +0200 + +libevdev (1.5.3+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Tue, 23 Aug 2016 09:25:04 +0200 + +libevdev (1.5.2+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Build-depend on graphviz, the doxygen documentation needs it. + + -- Stephen Kitt Wed, 15 Jun 2016 21:10:28 +0200 + +libevdev (1.5.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Mon, 16 May 2016 15:51:49 +0200 + +libevdev (1.5.0+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Switch to https: VCS URIs (see #810378). + * Clean up debian/control using cme. + * Standards-Version 3.9.8, no change required. + * Update debian/copyright. + * Enable full hardening. + * Avoid installing useless .md5 files generated by doxygen. + + -- Stephen Kitt Fri, 13 May 2016 21:27:09 +0200 + +libevdev (1.4.6+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Thu, 07 Jan 2016 17:23:10 +0100 + +libevdev (1.4.5+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Wed, 11 Nov 2015 23:07:12 +0100 + +libevdev (1.4.4+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Wed, 02 Sep 2015 23:15:53 +0200 + +libevdev (1.4.3+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Mon, 22 Jun 2015 22:39:48 +0200 + +libevdev (1.4.2+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Fri, 24 Apr 2015 20:56:45 +0200 + +libevdev (1.4.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Drop duplicate entry from debian/copyright and add repacksuffix in + debian/watch for newer versions of mk-origtargz. + + -- Stephen Kitt Sat, 11 Apr 2015 16:12:11 +0200 + +libevdev (1.4+dfsg-1) unstable; urgency=medium + + * New upstream release, providing a new tool, libevdev-tweak-device. + + -- Stephen Kitt Sat, 07 Mar 2015 21:42:50 +0100 + +libevdev (1.3.2+dfsg-2) unstable; urgency=medium + + * Mark libevdev2 as Multi-Arch: same (Closes: #770294); thanks to + Andreas Beckmann for pointing out the issue! + * Stop including timestamps in the generated documentation (they + prevent reproducible builds). + * Upload to unstable. + + -- Stephen Kitt Sun, 08 Feb 2015 21:14:55 +0100 + +libevdev (1.3.2+dfsg-1) experimental; urgency=medium + + * New upstream release. + + -- Stephen Kitt Fri, 05 Dec 2014 21:28:00 +0100 + +libevdev (1.3.1+dfsg-1) experimental; urgency=medium + + * New upstream release, uploaded to experimental for the Jessie freeze. + * Update the FSF's address in debian/copyright. + * Standards-Version 3.9.6, no change required. + * Remove doxygen's SQLite database on cleanup. + + -- Stephen Kitt Sat, 15 Nov 2014 11:20:50 +0100 + +libevdev (1.3+dfsg-1) unstable; urgency=medium + + * New upstream release. + * libevdev should really have priority optional rather than extra. + * Add upstream's signing key and use it in debian/watch. + + -- Stephen Kitt Tue, 09 Sep 2014 07:59:54 +0200 + +libevdev (1.2.2+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Ship a udeb for the installer (Closes: #750698). + + -- Stephen Kitt Fri, 06 Jun 2014 00:13:49 +0200 + +libevdev (1.2.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Wed, 14 May 2014 07:22:30 +0200 + +libevdev (1.2+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Add libevdev-tools package for touchpad-edge-detector. + + -- Stephen Kitt Thu, 01 May 2014 23:05:02 +0200 + +libevdev (1.1+dfsg-1) unstable; urgency=medium + + * New upstream release. + + -- Stephen Kitt Sat, 29 Mar 2014 23:43:56 +0100 + +libevdev (1.0.99.2+dfsg-3) unstable; urgency=medium + + * Disable the autopkgtests for now (sorry), making them run reliably in + CI environments is proving rather harder than I thought it would + be. (This addresses #742250 but not properly, so I'm not closing it + yet.) + + -- Stephen Kitt Wed, 26 Mar 2014 21:40:58 +0100 + +libevdev (1.0.99.2+dfsg-2) unstable; urgency=medium + + * Copy the autopkgtest tests to a temporary folder, and make sure the + tests use the installed libevdev binaries. Thanks to Jakub Wilk and + Martin Pitt for their explanations of the autopkgtest features! + + -- Stephen Kitt Wed, 19 Mar 2014 23:09:46 +0100 + +libevdev (1.0.99.2+dfsg-1) unstable; urgency=medium + + * New upstream release candidate. + * Correct VCS browser URL. + + -- Stephen Kitt Wed, 19 Mar 2014 22:40:13 +0100 + +libevdev (1.0.1+dfsg-1) unstable; urgency=medium + + * New upstream version. + + -- Stephen Kitt Fri, 14 Mar 2014 07:57:49 +0100 + +libevdev (1.0+dfsg-2) unstable; urgency=medium + + * Add Pre-Depends, thanks to Michael Terry for pointing out that it was + missing. + * Add DEP8 tests, thanks to Michael Terry (again) for the prod. + + -- Stephen Kitt Thu, 06 Mar 2014 00:08:28 +0100 + +libevdev (1.0+dfsg-1) unstable; urgency=medium + + * New upstream version. + + -- Stephen Kitt Tue, 18 Feb 2014 22:55:14 +0100 + +libevdev (0.9.1+dfsg-1) unstable; urgency=medium + + * Repack, removing doc/html (which is renegerated at build-time) to + avoid shipping the sourceless minified jquery.js in the source package + (thanks to Ansgar Burchardt for pointing this out). + * Update debian/copyright (thanks also to Ansgar Burchardt). + * Add Built-Using field to ensure all the source for the generated + files is kept in the archive. + + -- Stephen Kitt Wed, 12 Feb 2014 07:34:32 +0100 + +libevdev (0.9.1-1) unstable; urgency=medium + + * New upstream version, with new soname. + + -- Stephen Kitt Sat, 01 Feb 2014 19:29:30 +0100 + +libevdev (0.6-1) unstable; urgency=medium + + * New upstream version. + * Standards-Version 3.9.5, no change required. + + -- Stephen Kitt Tue, 24 Dec 2013 00:04:21 +0100 + +libevdev (0.5-1) unstable; urgency=low + + * New upstream version. + * libevdev is for Linux only, limit the architectures accordingly. + + -- Stephen Kitt Fri, 22 Nov 2013 01:04:28 +0100 + +libevdev (0.4.1-1) unstable; urgency=low + + * New upstream version. + + -- Stephen Kitt Tue, 05 Nov 2013 23:07:02 +0100 + +libevdev (0.4-1) unstable; urgency=low + + * Initial release (Closes: #722631, LP: #1223304). + + -- Stephen Kitt Wed, 18 Sep 2013 21:02:30 +0200 diff --git a/clean b/clean new file mode 100644 index 0000000..683c12f --- /dev/null +++ b/clean @@ -0,0 +1 @@ +doc/doxygen_sqlite3.db diff --git a/control b/control new file mode 100644 index 0000000..87920e4 --- /dev/null +++ b/control @@ -0,0 +1,84 @@ +Source: libevdev +Maintainer: Stephen Kitt +Section: libs +Priority: optional +Build-Depends: check, + debhelper-compat (= 13), + doxygen, + graphviz, + pkg-config, + python3:native +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/debian/libevdev +Vcs-Git: https://salsa.debian.org/debian/libevdev.git +Homepage: https://www.freedesktop.org/wiki/Software/libevdev/ +Rules-Requires-Root: no + +Package: libevdev-dev +Architecture: linux-any +Multi-Arch: same +Section: libdevel +Depends: libevdev2 (= ${binary:Version}), + ${misc:Depends} +Suggests: libevdev-doc +Description: wrapper library for evdev devices - development files + libevdev is a wrapper library for evdev devices. It provides + functions covering the common tasks when dealing with evdev devices, + thus avoiding erroneous ioctls and other errors. + . + This package contains the files required to build software using + libevdev. + +Package: libevdev-doc +Architecture: all +Multi-Arch: foreign +Section: doc +Depends: libjs-bootstrap, + ${misc:Depends} +Breaks: libevdev-dev (<< 1.5.7) +Replaces: libevdev-dev (<< 1.5.7) +Built-Using: doxygen (= ${doxygen:Version}) +Description: wrapper library for evdev devices - development docs + libevdev is a wrapper library for evdev devices. It provides + functions covering the common tasks when dealing with evdev devices, + thus avoiding erroneous ioctls and other errors. + . + This package contains the documentation for developers wishing to + build software using libevdev. + +Package: libevdev2 +Architecture: linux-any +Multi-Arch: same +Depends: ${misc:Depends}, + ${shlibs:Depends} +Pre-Depends: ${misc:Pre-Depends} +Description: wrapper library for evdev devices + libevdev is a wrapper library for evdev devices. It provides + functions covering the common tasks when dealing with evdev devices, + thus avoiding erroneous ioctls and other errors. + . + This package contains the files required to run software using + libevdev. + +Package: libevdev2-udeb +Architecture: linux-any +Section: debian-installer +Depends: ${misc:Depends}, + ${shlibs:Depends} +Pre-Depends: ${misc:Pre-Depends} +Package-Type: udeb +Description: wrapper library for evdev devices - udeb + This package contains the files required to provide libevdev for the + Debian Installer. Do not install it on a normal system. + +Package: libevdev-tools +Architecture: linux-any +Section: utils +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: wrapper library for evdev devices - tools + libevdev is a wrapper library for evdev devices. It provides + functions covering the common tasks when dealing with evdev devices, + thus avoiding erroneous ioctls and other errors. + . + This package contains touchpad-edge-detector. diff --git a/copyright b/copyright new file mode 100644 index 0000000..949d383 --- /dev/null +++ b/copyright @@ -0,0 +1,146 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libevdev +Source: https://www.freedesktop.org/wiki/Software/libevdev/ +Files-Excluded: doc/html doc/style/dynsections.js + +Files: * +Copyright: 2013-2014 Red Hat, Inc. + 2013 David Herrmann +License: X11 + +Files: debian/* +Copyright: 2013-2019 Stephen Kitt +License: X11 + +Files: doc/style/bootstrap.css +Copyright: 2012-2015 Thomas Park + 2011-2015 Twitter, Inc. +License: MIT + +Files: doc/style/customdoxygen.css + doc/style/footer.html + doc/style/header.html +Copyright: Anthony Hamilton +License: Apache-2.0 + +Files: doc/style/doxy-boot.js +Copyright: 2013-2016 Tyler Gilbert +License: BSD-3 + +Files: include/linux/input.h +Copyright: 1999-2002 Vojtech Pavlik +License: GPL-2 + +Files: include/linux/uinput.h +Copyright: 2002 Vojtech Pavlik + 2002 Aristeu Sergio Rozanski Filho + 2004 Micah Dowty + 2006 Anssi Hannula + 2014 Benjamin Tissoires +License: GPL-2+ + +License: X11 + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and + that both that copyright notice and this permission notice appear in + supporting documentation, and that the name of the copyright holders + not be used in advertising or publicity pertaining to distribution of + the software without specific, written prior permission. The + copyright holders make no representations about the suitability of + this software for any purpose. It is provided "as is" without + express or implied warranty. + . + THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS + SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + . + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in /usr/share/common-licenses/GPL-2 + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + . + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in /usr/share/common-licenses/GPL-2 + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +License: BSD-3 + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache License version 2 + can be found in /usr/share/common-licenses/Apache-2.0 + diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..7e38616 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,4 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +pristine-tar = True diff --git a/libevdev-dev.dirs b/libevdev-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/libevdev-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/libevdev-dev.install b/libevdev-dev.install new file mode 100644 index 0000000..bdfeeb1 --- /dev/null +++ b/libevdev-dev.install @@ -0,0 +1,5 @@ +usr/include/* +usr/lib/*/lib*.a +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* +usr/share/man/man3/libevdev.3* diff --git a/libevdev-doc.doc-base b/libevdev-doc.doc-base new file mode 100644 index 0000000..b29f99f --- /dev/null +++ b/libevdev-doc.doc-base @@ -0,0 +1,9 @@ +Document: libevdev-doc +Title: libevdev Manual +Author: Red Hat, Inc. +Abstract: This manual describes the libevdev API. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libevdev-dev/html/index.html +Files: /usr/share/doc/libevdev-dev/html/*.html diff --git a/libevdev-doc.docs b/libevdev-doc.docs new file mode 100644 index 0000000..a651601 --- /dev/null +++ b/libevdev-doc.docs @@ -0,0 +1 @@ +doc/html/ diff --git a/libevdev-tools.install b/libevdev-tools.install new file mode 100644 index 0000000..fe489d1 --- /dev/null +++ b/libevdev-tools.install @@ -0,0 +1,3 @@ +usr/bin/libevdev-tweak-device +usr/bin/mouse-dpi-tool +usr/bin/touchpad-edge-detector diff --git a/libevdev-tools.manpages b/libevdev-tools.manpages new file mode 100644 index 0000000..1dfaa6b --- /dev/null +++ b/libevdev-tools.manpages @@ -0,0 +1,3 @@ +debian/libevdev-tweak-device.1 +debian/mouse-dpi-tool.1 +debian/touchpad-edge-detector.1 diff --git a/libevdev-tweak-device.1 b/libevdev-tweak-device.1 new file mode 100644 index 0000000..819bc8b --- /dev/null +++ b/libevdev-tweak-device.1 @@ -0,0 +1,96 @@ +.TH libevdev-tweak-device 1 "March 4, 2015" libevdev-tools +.SH NAME +libevdev-tweak-device \- evdev device configuration tool +.SH SYNOPSIS +.B libevdev-tweak-device +.BR \-\-abs " <\fIaxis\fP>" +.RB [ \-\-min " <\fImin\fP>]" +.RB [ \-\-max " <\fImax\fP>]" +.RB [ \-\-res " <\fIres\fP>]" +.RB [ \-\-fuzz " <\fIfuzz\fP>]" +.RB [ \-\-flat " <\fIflat\fP>]" +.RI < device > +.PP +.B libevdev-tweak-device +.BR \-\-led " <\fIled\fP>" +.BR \-\-on | \-\-off +.RI < device > +.SH DESCRIPTION +.B libevdev-tweak-device +allows setting absolute axis parameters and controlling LEDs. +.SH OPTIONS +The first form of the command controls axis parameters. The options +are: +.TP +.BR \-\-abs " <\fIaxis\fP>" +specifies the axis to tweak; one of +.BR ABS_X , +.BR ABS_Y , +.BR ABS_Z , +.BR ABS_RX , +.BR ABS_RY , +.BR ABS_RZ , +.BR ABS_THROTTLE , +.BR ABS_RUDDER , +.BR ABS_WHEEL , +.BR ABS_GAS , +.BR ABS_BRAKE , +.BR ABS_HAT0X , +.BR ABS_HAT0Y , +.BR ABS_HAT1X , +.BR ABS_HAT1Y , +.BR ABS_HAT2X , +.BR ABS_HAT2Y , +.BR ABS_HAT3X , +.BR ABS_HAT3Y , +.BR ABS_PRESSURE , +.BR ABS_DISTANCE , +.BR ABS_TILT_X , +.BR ABS_TILT_Y , +.BR ABS_TOOL_WIDTH , +.B ABS_VOLUME +depending on the \fIdevice\fP's capabilities. +.TP +.BR \-\-min " <\fImin\fP>" +specifies the minimum for the axis. +.TP +.BR \-\-max " <\fImax\fP>" +specifies the maximum for the axis. +.TP +.BR \-\-res " <\fIresolution\fP>" +specifies the resolution for the axis. +.TP +.BR \-\-fuzz " <\fIfuzz\fP>" +specifies the fuzz for the axis. +.TP +.BR \-\-flat " <\fIflat\fP>" +specifies the flat for the axis. +.PP +The second form of the command controls LEDs. The options are: +.TP +.BR \-\-led " <\fIled\fP>" +specifies the LED to control; one of +.BR LED_NUML , +.BR LED_CAPSL , +.BR LED_SCROLLL , +.BR LED_COMPOSE , +.BR LED_KANA , +.BR LED_SLEEP , +.BR LED_SUSPEND , +.BR LED_MUTE , +.BR LED_MISC , +.BR LED_MAIL , +.B LED_CHARGING +depending on the device's capabilities. +.TP +.B \-\-on +switches the LED on. +.TP +.B \-\-off +switches the LED off. +.SH AUTHORS +\fBlibevdev-tweak-device\fP was written by Peter Hutterer for Red Hat, +Inc. This manual page was adapted from the program usage information +by Stephen Kitt , for the Debian GNU/Linux system +(but may be used by others). It was last modified for \fBlibevdev\fP +version 1.4. diff --git a/libevdev2-udeb.install b/libevdev2-udeb.install new file mode 100644 index 0000000..a595952 --- /dev/null +++ b/libevdev2-udeb.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* usr/lib diff --git a/libevdev2.dirs b/libevdev2.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/libevdev2.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/libevdev2.install b/libevdev2.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/libevdev2.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/libevdev2.symbols b/libevdev2.symbols new file mode 100644 index 0000000..476f99c --- /dev/null +++ b/libevdev2.symbols @@ -0,0 +1,6 @@ +libevdev.so.2 libevdev2 #MINVER# +* Build-Depends-Package: libevdev-dev + (symver)LIBEVDEV_1 0.9.1 + (symver)LIBEVDEV_1_3 1.3 + (symver)LIBEVDEV_1_6 1.6.0 + (symver)LIBEVDEV_1_7 1.6.901 diff --git a/mouse-dpi-tool.1 b/mouse-dpi-tool.1 new file mode 100644 index 0000000..73f10bf --- /dev/null +++ b/mouse-dpi-tool.1 @@ -0,0 +1,22 @@ +.TH mouse-dpi-tool 1 "December 5, 2014" libevdev-tools +.SH NAME +mouse-dpi-tool \- mouse resolution estimation tool +.SH SYNOPSIS +.B mouse-dpi-tool +<\fIevdev device\fP> +.SH DESCRIPTION +.B mouse-dpi-tool +reads mouse movement events and calculates the sampling frequency +and distance covered in device units. Combined with a measurement +of the actual distance physically covered, this allows the mouse's +resolution to be estimated. +.PP +.SH OPTIONS +.B mouse-dpi-tool +accepts no options. +.SH AUTHORS +\fBmouse-dpi-tool\fP was written by Peter Hutterer for Red Hat, Inc. +This manual page was adapted from the program usage information by +Stephen Kitt , for the Debian GNU/Linux system (but +may be used by others). It was last modified for \fBlibevdev\fP version +1.3.2. diff --git a/not-installed b/not-installed new file mode 100644 index 0000000..f403946 --- /dev/null +++ b/not-installed @@ -0,0 +1 @@ +usr/lib/*/*.la diff --git a/patches/remove-remote-resources.patch b/patches/remove-remote-resources.patch new file mode 100644 index 0000000..a2b6795 --- /dev/null +++ b/patches/remove-remote-resources.patch @@ -0,0 +1,39 @@ +Description: Don't pull in remote resources +Author: Stephen Kitt +Forwarded: not-needed + +--- a/doc/style/header.html ++++ b/doc/style/header.html +@@ -9,7 +9,7 @@ + + + +- ++ + + $projectname: $title + $title +@@ -20,7 +20,7 @@ + $mathjax + + $extrastylesheet +- ++ + + + +--- a/doc/style/libevdevdoxygen.css ++++ b/doc/style/libevdevdoxygen.css +@@ -1,5 +1,3 @@ +-@import url("https://fonts.googleapis.com/css?family=Roboto+Mono"); +- + dd { + margin-left: 30px; + } +--- a/doc/style/bootstrap.css ++++ b/doc/style/bootstrap.css +@@ -1,4 +1,3 @@ +-@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"); + /*! + * bootswatch v3.3.5 + * Homepage: http://bootswatch.com diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..12e8a08 --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +remove-remote-resources.patch diff --git a/rules b/rules new file mode 100755 index 0000000..cb4f959 --- /dev/null +++ b/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpkg/architecture.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# The tests needs libpthread +export CHECK_LIBS=-lpthread $(shell $(DEB_HOST_GNU_TYPE)-pkg-config --libs check) + +# doxygen version +doxygen_version := $(shell dpkg-query -W -f="\$${source:Version}\n" doxygen) + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- --disable-silent-rules PYTHON=/usr/bin/python3 + +override_dh_gencontrol: + dh_gencontrol -- -Vdoxygen:Version=$(doxygen_version) + +override_dh_makeshlibs: + dh_makeshlibs --add-udeb=libevdev2-udeb + +override_dh_installdocs-indep: + dh_installdocs -i + dh_doxygen -plibevdev-doc diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tests/check b/tests/check new file mode 100755 index 0000000..6909b23 --- /dev/null +++ b/tests/check @@ -0,0 +1,27 @@ +#!/bin/sh + +# Copy the package source somewhere safe +source=${0%/*}/../.. +build=$(mktemp -d --tmpdir=${AUTOPKGTEST_TMP}) +cp -a ${source}/* ${build}/ +cd ${build} + +# Deconfigure if necessary (running in a copy of a built tree) +if [ -f debian/autoreconf.before ]; then + dh_autoreconf_clean +fi + +# Enforce the use of the installed binaries +patch -p1 < debian/patches/use-system-libevdev-for-tests.patch + +# Reconfigure +dh_autoreconf +dh_auto_configure + +# Run the tests +make check + +# Log the test output +if [ -f test/test-suite.log ]; then + cat test/test-suite.log +fi diff --git a/touchpad-edge-detector.1 b/touchpad-edge-detector.1 new file mode 100644 index 0000000..d597fca --- /dev/null +++ b/touchpad-edge-detector.1 @@ -0,0 +1,21 @@ +.TH touchpad-edge-detector 1 "May 1, 2014" libevdev-tools +.SH NAME +touchpad-edge-detector \- touchpad edge detector +.SH SYNOPSIS +.B touchpad\-edge\-detector +<\fIevdev device\fP> +.SH DESCRIPTION +.B touchpad-edge-detector +reads touchpad events and calculates the minimum and maximum values +for the \fIx\fP and \fIy\fP coordinates. +.PP +.SH OPTIONS +.B touchpad-edge-detector +accepts no options. +.SH AUTHORS +\fBtouchpad-edge-detector\fP was written by Peter Hutterer and +Emmanuele Bassi for Red Hat, Inc. +This manual page was adapted from the program usage information by +Stephen Kitt , for the Debian GNU/Linux system (but +may be used by others). It was last modified for \fBlibevdev\fP version +1.2. diff --git a/upstream/signing-key.asc b/upstream/signing-key.asc new file mode 100644 index 0000000..767d86a --- /dev/null +++ b/upstream/signing-key.asc @@ -0,0 +1,23 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGiBD8b0wYRBACph9kRJmP+4+JGsCgFlFoy4vFO0DCG+jmkQN0n1wdInt/N/UtA +sZToO72AUmfmYizA+IEbzBrx0UnUo3w3BDmHxUWf/akZiPUz9AA/YFY4xC3MY2OK +VN2Jz6YSce4zJ5jd2ZRobHm4HuIf/8yqSCcsv7FNfrLaTNIFRs5gYYsqZwCgwmkp +RSLRc8WAnHrTWNQDaEFM2rUEAKTjrTjMN8+KGd0BxNX7HiTSqQP++nXNwAYs1oWB +Yt82YHj9SvRCqCzD1pzJQivYnlNoWDza1VeMnfdAvkdia8z4lYbO/RunXZJvra3Z +VDm+izq+uwUAyvFuEYnNz09VSqwXKT6+XW0Xtz2vHq52r6DS6mK8cGJHZ5OhrRjq +UEYxA/9STh+QfA98xtNoRcf52E/46r7IpCj440oRVc9lMfxQZrLGQNqp7sPdIhGQ +CCo2NUII5hkhdAG71kpbfSXU4Sh32p1cU1KYCAkDFfb49bKuAs+Pff8v6FGZxTdd +AinPZr4BbsYJatk818aTCnu0+s7L8jL5GPfeyuyEMKwzVBx2mLQpUGV0ZXIgSHV0 +dGVyZXIgKFdoby1UKSA8b2ZmaWNlQHdoby10Lm5ldD6IWQQTEQIAGQUCPxvTBgQL +BwMCAxUCAwMWAgECHgECF4AACgkQ4jt+cLRn8L/0RACfWo3KTMUg+uPRqA6RXxk0 +4CWjXaMAoJeIxOpZLB3RBltPnSi7PyVQIkHFuQENBD8b0wgQBACTnqOYOWYVR8O1 +D73J6nbdAeZCbXrUkyXIuyqBOdKmX/0QJmSs7Wfsa+hPfDhj6ai0Gs2C8Qg/0Pzk +86b4p9DLkf0M6RaYjUtCJBpS59xrsV6nz6xZzQa4RRdf1YJmw2tia1MMXzxbwQU2 +bKpYEm8NsGaBURMGd02EvsMN2wI2uwADBQP/e9MjVr/85XDzAlUBN8HwYW5szTyP +8ZVcQOqOmNebkTWGLvkPrBdXmxpzrWjxPolO1WcWQjUL0bN/rbdqefT65iVHJHJZ +/cpTtgGlCPhL5JTA50ltd0I13CABYWLFmswonXES/6tcglf4rr3Nri2sOrY5HggP +ipEzOo5vdKOow/qIRgQYEQIABgUCPxvTCAAKCRDiO35wtGfwv68jAKCDvL2gkrg1 +4NfV7rNc057K1nL2GgCeKApWRgGVzaOkAp0P5tQulaDD6zM= +=7uBX +-----END PGP PUBLIC KEY BLOCK----- diff --git a/watch b/watch new file mode 100644 index 0000000..39cc728 --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=3 + +opts=pgpsigurlmangle=s/$/.sig/,dversionmangle=s/\+dfsg\d*$//,repacksuffix=+dfsg \ + https://www.freedesktop.org/software/libevdev/ libevdev-(.*)\.tar.* -- 2.30.2