--- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/ChangeLog +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/ChangeLog @@ -18,7 +18,7 @@ Compiled with -O0: Breakpoint 1, test_nonzero_x_linear () at test-bezier.c:157 - 157 assert(bezier[x] > bezier[x-1]); + 157 assert(bezier[x] > bezier[x-1]); (gdb) p bezier $6 = {0 , 1, 2, 4, 5, 7, 9, 10, 12, 14, 15, 17, 19, 21, 22, --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/autogen.sh +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/autogen.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd "$srcdir" + +autoreconf -v --install || exit 1 +cd "$ORIGDIR" || exit $? + +git config --local --get format.subjectPrefix >/dev/null 2>&1 || + git config --local format.subjectPrefix "PATCH xf86-input-libinput" + +if test -z "$NOCONFIGURE"; then + exec "$srcdir"/configure "$@" +fi --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/README.source +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/README.source @@ -0,0 +1,49 @@ +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + +------------------------------------ +Guide To The X Strike Force Packages +------------------------------------ + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. +Otherwise, the upstream sources are manually installed in the Debian +git repository. + +The .orig.tar.gz upstream source file could be generated using this +"upstream-*" branch in the Debian git repository but it is actually +copied from upstream tarballs directly. + +Due to X.org being highly modular, packaging all X.org applications +as their own independent packages would have created too many Debian +packages. For this reason, some X.org applications have been grouped +into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils, +x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils. +Most packages, including the X.org server itself and all libraries +and drivers are, however maintained independently. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/changelog +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/changelog @@ -0,0 +1,121 @@ +xserver-xorg-input-libinput-hwe-16.04 (0.25.0-0ubuntu1~16.04.1) xenial; urgency=medium + + * Backport for hwe-16.04 stack. + + -- Timo Aaltonen Wed, 05 Jul 2017 16:45:13 +0300 + +xserver-xorg-input-libinput (0.25.0-0ubuntu1) zesty; urgency=medium + + * Sync from debian git. + + -- Timo Aaltonen Fri, 10 Mar 2017 11:04:50 +0200 + +xserver-xorg-input-libinput (0.25.0-1) UNRELEASED; urgency=medium + + * New upstream release. + + -- Timo Aaltonen Thu, 09 Feb 2017 13:49:32 +0200 + +xserver-xorg-input-libinput (0.23.0-2) unstable; urgency=medium + + [ Andreas Boll ] + * Cherry-pick commit f47f78e (Ignore LED updates for disabled devices) + from upstream master branch (Closes: #829386). + * Switch URLs to https. + * Move URL from description to Homepage field. + * Bump Standards-Version to 3.9.8. + + -- Timo Aaltonen Thu, 12 Jan 2017 13:48:06 +0200 + +xserver-xorg-input-libinput (0.23.0-1) unstable; urgency=medium + + * New upstream release. + * Bump debhelper compat to 10. + + Let debhelper run autoreconf for us. + * No need to pass --disable-silent-rules to configure, debhelper does + that these days. + * No need for --destdir=debian/tmp as we have multiple binary packages. + + -- Emilio Pozuelo Monfort Mon, 12 Dec 2016 19:15:41 +0100 + +xserver-xorg-input-libinput (0.22.0-1) unstable; urgency=medium + + * New upstream release. + * control: Bump build-dep on libinput-dev. + + -- Timo Aaltonen Fri, 18 Nov 2016 16:03:02 +0200 + +xserver-xorg-input-libinput (0.20.0-1) unstable; urgency=medium + + * New upstream release. + * control, rules: Drop -dbg package. + + -- Timo Aaltonen Fri, 30 Sep 2016 15:05:19 +0300 + +xserver-xorg-input-libinput (0.19.1-1) unstable; urgency=medium + + * Team upload. + * Use https URL in debian/watch. + * New upstream release. + + -- Julien Cristau Sat, 24 Sep 2016 15:58:15 +0200 + +xserver-xorg-input-libinput (0.19.0-1) unstable; urgency=medium + + [ Andreas Boll ] + * control: Fix Vcs-Git field. + + [ Timo Aaltonen ] + * New upstream release. + + -- Timo Aaltonen Tue, 10 May 2016 11:37:55 +0300 + +xserver-xorg-input-libinput (0.18.0-1) unstable; urgency=medium + + * New upstream release. + * control: Update the description to mention that this driver can + replace -evdev and -synaptics. + * control: Bump libinput-dev build-dependency. + * control: Bump Standards-Version to 3.9.7 (no changes). + + -- Timo Aaltonen Thu, 07 Apr 2016 10:20:31 +0300 + +xserver-xorg-input-libinput (0.17.0-1) unstable; urgency=medium + + * New upstream release. + * control: Update Vcs fields to use https. + + -- Timo Aaltonen Sat, 27 Feb 2016 10:03:43 +0200 + +xserver-xorg-input-libinput (0.16.0-1) unstable; urgency=medium + + * New upstream release. + + -- Timo Aaltonen Thu, 14 Jan 2016 14:59:15 +0200 + +xserver-xorg-input-libinput (0.15.0-1) unstable; urgency=medium + + * New upstream release. + * control: Bump libinput-dev build-dep. + * install: Fix conf snippet source path. + + -- Timo Aaltonen Wed, 28 Oct 2015 18:30:03 +0200 + +xserver-xorg-input-libinput (0.14.0-1) unstable; urgency=medium + + * New upstream release. + + -- Timo Aaltonen Wed, 23 Sep 2015 13:12:50 +0300 + +xserver-xorg-input-libinput (0.13.0-1) unstable; urgency=medium + + * New upstream release. + * control: Bump libinput build-dep (Closes: #794032). + + -- Timo Aaltonen Fri, 07 Aug 2015 09:12:38 +0300 + +xserver-xorg-input-libinput (0.11.0-1) unstable; urgency=medium + + * Initial release. (Closes: #784114) + + -- Timo Aaltonen Mon, 06 Jul 2015 16:27:42 +0300 --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/compat +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/compat @@ -0,0 +1 @@ +9 --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/control +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/control @@ -0,0 +1,72 @@ +Source: xserver-xorg-input-libinput-hwe-16.04 +Section: x11 +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian X Strike Force +Uploaders: Timo Aaltonen , +Build-Depends: + dh-autoreconf, debhelper (>= 9), + libinput-dev (>= 1.4.901), + libudev-dev, + pkg-config, + quilt, + x11proto-core-dev, + x11proto-input-dev (>= 2.2), + xserver-xorg-dev-hwe-16.04 (>= 2:1.15.99), + xutils-dev, +Standards-Version: 3.9.8 +Homepage: https://www.x.org +Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-libinput.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-xorg/driver/xserver-xorg-input-libinput.git + +Package: xserver-xorg-input-libinput-hwe-16.04 +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${xinpdriver:Depends}, +Provides: + xserver-xorg-input-libinput, xorg-renamed-package, xorg-renamed-package-hwe-16.04, + ${xinpdriver:Provides} +Description: X.Org X server -- libinput input driver + This package provides the driver for input devices using libinput library. + It can handle keyboards, mice and touchpads, and essentially replaces the + separate -evdev and -synaptics drivers. + . + This package is built from the X.org xf86-input-libinput driver module. +Replaces: xserver-xorg-input-libinput +Conflicts: xserver-xorg-input-libinput + +Package: xserver-xorg-input-libinput-dev-hwe-16.04 +Section: libdevel +Architecture: all +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Description: X.Org X server -- libinput input driver (development headers) + This package provides the development headers for the libinput input driver + found in xserver-xorg-input-libinput. Non-developers likely have little use + for this package. + . + This package is built from the X.org xf86-input-libinput driver module. +Replaces: xserver-xorg-input-libinput-dev +Provides: xserver-xorg-input-libinput-dev, xorg-renamed-package, xorg-renamed-package-hwe-16.04 +Conflicts: xserver-xorg-input-libinput-dev + + +Package: xserver-xorg-input-libinput-udeb-hwe-16.04 +XC-Package-Type: udeb +Section: debian-installer +Architecture: linux-any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + ${xinpdriver:Depends}, + udev-udeb, +Provides: + xserver-xorg-input-libinput-udeb, xorg-renamed-package, xorg-renamed-package-hwe-16.04, + ${xinpdriver:Provides} +Description: X.Org X server -- libinput input driver + This is a udeb, or a microdeb, for the debian-installer. +Replaces: xserver-xorg-input-libinput-udeb +Conflicts: xserver-xorg-input-libinput-udeb --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/copyright +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/copyright @@ -0,0 +1,52 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-name: xf86-input-libinput +Source: https://xorg.freedesktop.org/releases/individual/driver/ + +Files: * +Copyright: 2013-2014 Red Hat, Inc. +License: MIT + +Files: configure.ac +Copyright: 2005 Adam Jackson +License: xorg + 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 + on the rights to use, copy, modify, merge, publish, distribute, sub + license, 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 (including the next + paragraph) 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 NON-INFRINGEMENT. IN NO EVENT SHALL + ADAM JACKSON 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. + +Files: debian/* +Copyright: 2014 Timo Aaltonen +License: MIT + +License: MIT + 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 authors + not be used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. The authors make no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + . + THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN + NO EVENT SHALL THE AUTHORS 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. --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/files-o +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/files-o @@ -0,0 +1,3 @@ +xserver-xorg-input-libinput-dev_0.24.0-0.7_all.deb libdevel optional +xserver-xorg-input-libinput-udeb_0.24.0-0.7_amd64.udeb debian-installer optional +xserver-xorg-input-libinput_0.24.0-0.7_amd64.deb x11 optional --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/patches/series +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/patches/series @@ -0,0 +1 @@ +# placeholder --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/rules +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +override_dh_auto_configure: + dh_auto_configure -- \ + --libdir=\$${exec_prefix}/lib + +# Kill *.la files, and forget no-one: +override_dh_install: + find debian/tmp -name '*.la' -delete + dh_install --fail-missing + +# That's a plugin, use appropriate warning level: +override_dh_shlibdeps: + dh_shlibdeps -- --warnings=6 + +%: + dh $@ --with autoreconf,quilt,xsf --builddirectory=build/ --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/upstream/signing-key.asc +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/upstream/signing-key.asc @@ -0,0 +1,24 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1 + +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----- --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/watch +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/watch @@ -0,0 +1,4 @@ +#git=git://anongit.freedesktop.org/xorg/driver/xf86-input-libinput +version=3 +opts=pgpsigurlmangle=s/$/.sig/ \ +https://xorg.freedesktop.org/releases/individual/driver/ xf86-input-libinput-(.*)\.tar\.gz --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/xserver-xorg-input-libinput-dev-hwe-16.04.install +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/xserver-xorg-input-libinput-dev-hwe-16.04.install @@ -0,0 +1,2 @@ +usr/include/xorg/libinput-properties.h +usr/lib/pkgconfig/* --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/xserver-xorg-input-libinput-hwe-16.04.install +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/xserver-xorg-input-libinput-hwe-16.04.install @@ -0,0 +1,3 @@ +usr/lib/xorg/modules/input/*.so +usr/share/man +usr/share/X11/xorg.conf.d --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/xserver-xorg-input-libinput-hwe-16.04.links +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/xserver-xorg-input-libinput-hwe-16.04.links @@ -0,0 +1 @@ +usr/share/bug/xserver-xorg-core/script usr/share/bug/xserver-xorg-input-libinput-hwe-16.04/script --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/debian/xserver-xorg-input-libinput-udeb-hwe-16.04.install +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/debian/xserver-xorg-input-libinput-udeb-hwe-16.04.install @@ -0,0 +1 @@ +usr/lib/xorg/modules/input/*.so --- xserver-xorg-input-libinput-hwe-16.04-0.25.0.orig/fix-ppc.patch +++ xserver-xorg-input-libinput-hwe-16.04-0.25.0/fix-ppc.patch @@ -0,0 +1,18 @@ +diff --git a/test/test-bezier.c b/test/test-bezier.c +index 1b290a4..9a6e59e 100644 +--- a/test/test-bezier.c ++++ b/test/test-bezier.c +@@ -153,6 +153,13 @@ test_nonzero_x_linear(void) + assert(bezier[x] == 0); + } while (++x < size * 0.2 - 1); + ++ /* ppc64le, ppc64, aarch64 have different math results at -O2, ++ resulting in one extra zero at the beginning of the array. ++ some other numbers are different too but within the error ++ margin (#99992) */ ++ if (bezier[x] == 0) ++ x++; ++ + do { + assert(bezier[x] > bezier[x-1]); + } while (++x < size * 0.8 - 1);