Processing of libinput_1.5.2-1_source.changes

2016-12-02 Thread Debian FTP Masters
libinput_1.5.2-1_source.changes uploaded successfully to localhost
along with the files:
  libinput_1.5.2-1.dsc
  libinput_1.5.2.orig.tar.xz
  libinput_1.5.2-1.debian.tar.xz

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



libinput: Changes to 'refs/tags/libinput-1.5.2-1'

2016-12-02 Thread Timo Aaltonen
Tag 'libinput-1.5.2-1' created by Timo Aaltonen  at 
2016-12-02 08:17 +

Tagging upload of libinput 1.5.2-1 to unstable.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABCAAGBQJYQS4wAAoJEMtwMWWoiYTcEPUP/36FIMTJhajCAhMnq+VtVj/S
id+NkSc9v49K0Jvpdt6+Kn/xHOjDpj2FbhZw1QLkwM/l9WPgwdR7uYEOoai4BV++
im+h/PxoXZXuqnC6YCgKrFkUzc3hwvS4DlR4YviPVmSXom11qO4JIzr9jJHxTiym
w8Sh1ydOoFYBCEyXyfgIkzLJbGwbfEKVkaUoRmYZLGGGJil61eHbCdJH56XtQ2mb
58VK4al6sX8acHw5YxcySceeiX55e5K0eI64zhjFW+iTNtmeEMlFo8LSD3VvTqss
YWf9PUPf2/sQii7Xi8KtjRvOIDcyNs1Klt2AsWpJd7xN6zrDpvxWadAc+w5DT6uq
R8YKYfgYgyleUziQh4awFnNLnF7WQhio4WTu6rYOkMREg6GqxFN6oy/Vh7VBNI5t
4neDcC4Pjl1bSWlwA55ouG/hMVVJrsvhv0C7nSeYoqccD9uFw/yYyefEJkzlDqJ+
U+K51M0pqRUFvJuWdIieMolEDS/BmwneIuhV5Ln9DCovGafinH6LTq8ZvKEJSnOj
JM4XRChCYW1K3n2N6lhOL/TO+o2DuwgqKGzszfsPZIBTaJb80LW7x1oeDhp3wnUf
LussfUhV8v/9tQUlqr5QmOH3y5lXl8ZjYEjGyhaP9IZEtqyBh0Cj+3T3y4EfvbB1
DS33VONrJDAm0zGdKFEJ
=0Cpz
-END PGP SIGNATURE-

Changes since libinput-1.5.1-1:
Peter Hutterer (16):
  configure.ac: move all AM_CONDITIONALs into one place
  configure.ac: add some comment markers to see the configure.ac sections 
easier
  configure.ac: move the udev test path up into the test section
  Disable test runs on 'distcheck'
  Use AM_DISTCHECK_CONFIGURE_FLAGS, not just DISTCHECK_CONFIGURE_FLAGS
  evdev: add a quirk for the HP Zbook Studio G3
  test: mark the various abort functions as noreturn
  test: fix maybe-uninitialized compiler warnings
  udev: move TEST_EXTENSIONS out of the conditional
  test: start with the first offset when moving touches
  test: fix edge-scroll no-motion test
  test: allow the first event to be a short one during scroll tests
  evdev: simplify hysteresis code and document it
  doc: remove unnecessary linebreak in doxygen file
  touchpad: only use the last two coordinates for delta calculation
  libinput 1.5.2

Timo Aaltonen (4):
  control: Add libudev-dev to libinput-dev depends. (Closes: #846506)
  Merge branch 'upstream-unstable' into debian-unstable
  update changelog
  release to sid

---
 Makefile.am|2 +
 configure.ac   |   44 +++--
 debian/changelog   |7 +
 debian/control |1 
 doc/libinput.doxygen.in|3 --
 src/evdev-mt-touchpad.c|   20 
 src/evdev.c|6 +
 src/evdev.h|   39 ++--
 test/Makefile.am   |3 ++
 test/litest.c  |   28 +--
 test/touchpad-tap.c|   10 
 test/touchpad.c|4 +--
 udev/90-libinput-model-quirks.hwdb |4 +++
 udev/Makefile.am   |3 +-
 14 files changed, 128 insertions(+), 46 deletions(-)
---



libinput: Changes to 'upstream-unstable'

2016-12-02 Thread Timo Aaltonen
 Makefile.am|2 +
 configure.ac   |   44 +++--
 doc/libinput.doxygen.in|3 --
 src/evdev-mt-touchpad.c|   20 
 src/evdev.c|6 +
 src/evdev.h|   39 ++--
 test/Makefile.am   |3 ++
 test/litest.c  |   28 +--
 test/touchpad-tap.c|   10 
 test/touchpad.c|4 +--
 udev/90-libinput-model-quirks.hwdb |4 +++
 udev/Makefile.am   |3 +-
 12 files changed, 120 insertions(+), 46 deletions(-)

New commits:
commit a9dad56948083939ecc71c2e569889289cf8c6d1
Author: Peter Hutterer 
Date:   Fri Nov 25 11:02:13 2016 +1000

libinput 1.5.2

Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index a70f4be..7c13a4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.64])
 
 m4_define([libinput_major_version], [1])
 m4_define([libinput_minor_version], [5])
-m4_define([libinput_micro_version], [1])
+m4_define([libinput_micro_version], [2])
 m4_define([libinput_version],
   
[libinput_major_version.libinput_minor_version.libinput_micro_version])
 
@@ -35,7 +35,7 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
 # b) If interfaces have been changed or added, but binary compatibility has
 #been preserved, change to C+1:0:A+1
 # c) If the interface is the same as the previous version, change to C:R+1:A
-LIBINPUT_LT_VERSION=20:2:10
+LIBINPUT_LT_VERSION=20:3:10
 AC_SUBST(LIBINPUT_LT_VERSION)
 
 AM_SILENT_RULES([yes])

commit cfdaaa32a73ba2f7b0379c2dbccabf120db8fc5e
Author: Peter Hutterer 
Date:   Mon Nov 21 08:39:47 2016 +1000

touchpad: only use the last two coordinates for delta calculation

Taking the last 4 points means factoring in a coordinate that may be more 
than
40ms in the past - or even more when the finger moves slowly and we don't 
get
events for a while. This makes the pointer more sluggish and slower to 
catch up
with what the finger is actually doing.

We already have the motion hysteresis as a separate item to prevent jumps 
(and
thus adds some delay to the movement), the calculation over time doesn't
provide enough benefit to justify the sluggish pointer.

Signed-off-by: Peter Hutterer 
Reviewed-by: Hans de Goede 

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index d72cb19..7b8514c 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -262,29 +262,19 @@ tp_end_sequence(struct tp_dispatch *tp, struct tp_touch 
*t, uint64_t time)
tp_end_touch(tp, t, time);
 }
 
-static double
-tp_estimate_delta(int x0, int x1, int x2, int x3)
-{
-   return (x0 + x1 - x2 - x3) / 4.0;
-}
-
 struct normalized_coords
 tp_get_delta(struct tp_touch *t)
 {
struct device_float_coords delta;
const struct normalized_coords zero = { 0.0, 0.0 };
 
-   if (t->history.count < TOUCHPAD_MIN_SAMPLES)
+   if (t->history.count <= 1)
return zero;
 
-   delta.x = tp_estimate_delta(tp_motion_history_offset(t, 0)->x,
-   tp_motion_history_offset(t, 1)->x,
-   tp_motion_history_offset(t, 2)->x,
-   tp_motion_history_offset(t, 3)->x);
-   delta.y = tp_estimate_delta(tp_motion_history_offset(t, 0)->y,
-   tp_motion_history_offset(t, 1)->y,
-   tp_motion_history_offset(t, 2)->y,
-   tp_motion_history_offset(t, 3)->y);
+   delta.x = tp_motion_history_offset(t, 0)->x -
+ tp_motion_history_offset(t, 1)->x;
+   delta.y = tp_motion_history_offset(t, 0)->y -
+ tp_motion_history_offset(t, 1)->y;
 
return tp_normalize_delta(t->tp, delta);
 }

commit ab83c8e6267b9df5ab383e70e25e4d050a153601
Author: Peter Hutterer 
Date:   Wed Nov 23 10:38:45 2016 +1000

doc: remove unnecessary linebreak in doxygen file

Signed-off-by: Peter Hutterer 

diff --git a/doc/libinput.doxygen.in b/doc/libinput.doxygen.in
index cd52972..6fde2c3 100644
--- a/doc/libinput.doxygen.in
+++ b/doc/libinput.doxygen.in
@@ -18,8 +18,7 @@ MATHJAX_RELPATH= 
https://cdn.mathjax.org/mathjax/latest
 GENERATE_LATEX = NO
 MACRO_EXPANSION= YES
 EXPAND_ONLY_PREDEF = YES
-PREDEFINED = LIBINPUT_ATTRIBUTE_PRINTF(f, \
- a)= \
+PREDEFINED = LIBINPUT_ATTRIBUTE_PRINTF(f, a)= \
  LIBINPUT_ATTRIBUTE_DEPRECATED
 DOTFILE_DIRS   = @top_srcdir@/doc/dot
 

commit 05faf7bf735893570fb4c218c0daa23285b59c37
Author: Peter Hutterer 
Date:   Mon Nov 21 12:24:45 2016 +1000

evdev: simplify hysteresis code and document it

center 

libinput: Changes to 'debian-unstable'

2016-12-02 Thread Timo Aaltonen
 Makefile.am|2 +
 configure.ac   |   44 +++--
 debian/changelog   |7 +
 debian/control |1 
 doc/libinput.doxygen.in|3 --
 src/evdev-mt-touchpad.c|   20 
 src/evdev.c|6 +
 src/evdev.h|   39 ++--
 test/Makefile.am   |3 ++
 test/litest.c  |   28 +--
 test/touchpad-tap.c|   10 
 test/touchpad.c|4 +--
 udev/90-libinput-model-quirks.hwdb |4 +++
 udev/Makefile.am   |3 +-
 14 files changed, 128 insertions(+), 46 deletions(-)

New commits:
commit 73ccb627e7cb73a1f46ec72b171073fc96a1c660
Author: Timo Aaltonen 
Date:   Fri Dec 2 10:07:49 2016 +0200

release to sid

diff --git a/debian/changelog b/debian/changelog
index 4c62b96..4390058 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-libinput (1.5.2-1) UNRELEASED; urgency=medium
+libinput (1.5.2-1) unstable; urgency=medium
 
   * New upstream release.
   * control: Add libudev-dev to libinput-dev depends. (Closes: #846506)
 
- -- Timo Aaltonen   Fri, 02 Dec 2016 10:04:26 +0200
+ -- Timo Aaltonen   Fri, 02 Dec 2016 10:07:40 +0200
 
 libinput (1.5.1-1) unstable; urgency=medium
 

commit 41b4e3d54c21ccc4d7af40d9abccba453394c05f
Author: Timo Aaltonen 
Date:   Fri Dec 2 10:05:28 2016 +0200

update changelog

diff --git a/debian/changelog b/debian/changelog
index b1ce2cb..4c62b96 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
-libinput (1.5.1-2) UNRELEASED; urgency=medium
+libinput (1.5.2-1) UNRELEASED; urgency=medium
 
+  * New upstream release.
   * control: Add libudev-dev to libinput-dev depends. (Closes: #846506)
 
  -- Timo Aaltonen   Fri, 02 Dec 2016 10:04:26 +0200

commit a84705d1e4bcf177d04430e83fa4c6c748b621d7
Author: Timo Aaltonen 
Date:   Fri Dec 2 10:04:28 2016 +0200

control: Add libudev-dev to libinput-dev depends. (Closes: #846506)

diff --git a/debian/changelog b/debian/changelog
index 56b32ab..b1ce2cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libinput (1.5.1-2) UNRELEASED; urgency=medium
+
+  * control: Add libudev-dev to libinput-dev depends. (Closes: #846506)
+
+ -- Timo Aaltonen   Fri, 02 Dec 2016 10:04:26 +0200
+
 libinput (1.5.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 0acae76..b546bbe 100644
--- a/debian/control
+++ b/debian/control
@@ -70,6 +70,7 @@ Architecture: any
 Multi-Arch: same
 Depends:
  libinput10 (= ${binary:Version}),
+ libudev-dev,
  ${shlibs:Depends},
  ${misc:Depends},
 Description: input device management and event handling library - development 
files

commit a9dad56948083939ecc71c2e569889289cf8c6d1
Author: Peter Hutterer 
Date:   Fri Nov 25 11:02:13 2016 +1000

libinput 1.5.2

Signed-off-by: Peter Hutterer 

diff --git a/configure.ac b/configure.ac
index a70f4be..7c13a4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ AC_PREREQ([2.64])
 
 m4_define([libinput_major_version], [1])
 m4_define([libinput_minor_version], [5])
-m4_define([libinput_micro_version], [1])
+m4_define([libinput_micro_version], [2])
 m4_define([libinput_version],
   
[libinput_major_version.libinput_minor_version.libinput_micro_version])
 
@@ -35,7 +35,7 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
 # b) If interfaces have been changed or added, but binary compatibility has
 #been preserved, change to C+1:0:A+1
 # c) If the interface is the same as the previous version, change to C:R+1:A
-LIBINPUT_LT_VERSION=20:2:10
+LIBINPUT_LT_VERSION=20:3:10
 AC_SUBST(LIBINPUT_LT_VERSION)
 
 AM_SILENT_RULES([yes])

commit cfdaaa32a73ba2f7b0379c2dbccabf120db8fc5e
Author: Peter Hutterer 
Date:   Mon Nov 21 08:39:47 2016 +1000

touchpad: only use the last two coordinates for delta calculation

Taking the last 4 points means factoring in a coordinate that may be more 
than
40ms in the past - or even more when the finger moves slowly and we don't 
get
events for a while. This makes the pointer more sluggish and slower to 
catch up
with what the finger is actually doing.

We already have the motion hysteresis as a separate item to prevent jumps 
(and
thus adds some delay to the movement), the calculation over time doesn't
provide enough benefit to justify the sluggish pointer.

Signed-off-by: Peter Hutterer 
Reviewed-by: Hans de Goede 

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index d72cb19..7b8514c 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -262,29 +262,19 @@ tp_end_sequence(struct tp_dispatch *tp, struct tp_touch 
*t, uint64_t time)
tp_end_touch(tp, t, time);
 }
 
-static double
-tp_estimate_delt

libinput_1.5.2-1_source.changes ACCEPTED into unstable

2016-12-02 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Fri, 02 Dec 2016 10:07:40 +0200
Source: libinput
Binary: libinput10 libinput-bin libinput10-udeb libinput-dev libinput-tools
Architecture: source
Version: 1.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 libinput-bin - input device management and event handling library - udev quirks
 libinput-dev - input device management and event handling library - development
 libinput-tools - input device management and event handling library - command 
line
 libinput10 - input device management and event handling library - shared libra
 libinput10-udeb - input device management and event handling library - shared 
libra (udeb)
Closes: 846506
Changes:
 libinput (1.5.2-1) unstable; urgency=medium
 .
   * New upstream release.
   * control: Add libudev-dev to libinput-dev depends. (Closes: #846506)
Checksums-Sha1:
 e04b6b0bf9e0e0d46243897e26566d644a6313e7 2319 libinput_1.5.2-1.dsc
 002cf10dd8d03595a34e6807d6ecb981f23fe705 652032 libinput_1.5.2.orig.tar.xz
 1064063c2cb5424c2b464408a049a5d1920a58ca 7292 libinput_1.5.2-1.debian.tar.xz
Checksums-Sha256:
 e6ccf9001d119d8204fb50ebcfa725853eebe8e04eea08ab9bd04c769e7bbddd 2319 
libinput_1.5.2-1.dsc
 f8c71c37cee06ab0c040f3e94fa7d500869a2b969f2f662aceeeda1fe2c6f363 652032 
libinput_1.5.2.orig.tar.xz
 796afe34ee91166a7c24eb34a74711be87bddce82c65401746ae7ae650c74b8c 7292 
libinput_1.5.2-1.debian.tar.xz
Files:
 c999d0cf2209ce709b61b005ff4d6452 2319 libs optional libinput_1.5.2-1.dsc
 8684e6e2aef891329f75d44e8b91 652032 libs optional 
libinput_1.5.2.orig.tar.xz
 483598a134e907ff033bff2ffc048744 7292 libs optional 
libinput_1.5.2-1.debian.tar.xz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJYQSvqAAoJEMtwMWWoiYTcD8QQAIZldpSOByEcCicuGLJ7tg9D
2j9hIAY5bH//e0hEAuG2HgRR2RCjHuzLnwSgHVIeE9d66kJRaEbKV3wyyByr5qRn
6iF5e6lpfxrC5poPIvLC2wHQDpMxjXY9RicYOMCPdyk3Plr2X0KTraa6rBjy232V
TivVb4UTarrFeJBGLwJSXJmKmaNALGKFX2rt0k0a+70wgk7RK4ivLTt+hCmazVbG
UFmAHcwXlhP2Oj/l36ngyAwO37TWOkOc/2bNe54ekz9IDBCuWNxVBuvz2LtmcyHV
mxIcGwageAhBw6Q/ScWotPkf5/feRnL2QLLKZU23C1ldSuFi1zCRclNfoeCYk1wB
5Bl3aI4Q/uVR7OlBWTpfWHfy6tBMrA7bdSgiQ17U4nH3tIUhCvmvpboFGUt8N2zN
t1RG2Y925z5u7+se1a0eHN3u6x6DsvFpKwSWLLHNxvvoAMGY4D+dtMPexg1zwuSF
5vq9EgIIGYELDuqDCqjSOvlJX/g4A/2KGjAmsVSNpFLSjXaxvNnxKqRftCBn5rZv
GwPsanADWOyRVC4HYqOGhKKtMRRddv+zi3uMn7hfCA9iK/X2MrukyCRarUv+m8LP
cTqfVIeJtpurhefTtzIjl1hjAfHP0103bFxulk2bZcM3AfVUFEZTbmAJULj7ksjK
5iCJ6lPOAgtTjD1zifl3
=LlhT
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Bug#846506: marked as done (libinput-dev: Please add dependency against libudev-dev)

2016-12-02 Thread Debian Bug Tracking System
Your message dated Fri, 02 Dec 2016 09:04:55 +
with message-id 
and subject line Bug#846506: fixed in libinput 1.5.2-1
has caused the Debian Bug report #846506,
regarding libinput-dev: Please add dependency against libudev-dev
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
846506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846506
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libinput-dev
Version: 1.5.1-1
Severity: serious

Hi,

It seems that libinput-dev is missing a dependency against libudev-dev

libinput.pc:Requires.private: libudev

This makes other packages (like mutter) FTBFS.

Please add the needed dependency against libudev-dev

Regards,

Laurent Bigonville

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libinput-dev depends on:
ii  libinput10  1.5.1-1

libinput-dev recommends no packages.

libinput-dev suggests no packages.

-- no debconf information
--- End Message ---
--- Begin Message ---
Source: libinput
Source-Version: 1.5.2-1

We believe that the bug you reported is fixed in the latest version of
libinput, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 846...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen  (supplier of updated libinput package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Fri, 02 Dec 2016 10:07:40 +0200
Source: libinput
Binary: libinput10 libinput-bin libinput10-udeb libinput-dev libinput-tools
Architecture: source
Version: 1.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 libinput-bin - input device management and event handling library - udev quirks
 libinput-dev - input device management and event handling library - development
 libinput-tools - input device management and event handling library - command 
line
 libinput10 - input device management and event handling library - shared libra
 libinput10-udeb - input device management and event handling library - shared 
libra (udeb)
Closes: 846506
Changes:
 libinput (1.5.2-1) unstable; urgency=medium
 .
   * New upstream release.
   * control: Add libudev-dev to libinput-dev depends. (Closes: #846506)
Checksums-Sha1:
 e04b6b0bf9e0e0d46243897e26566d644a6313e7 2319 libinput_1.5.2-1.dsc
 002cf10dd8d03595a34e6807d6ecb981f23fe705 652032 libinput_1.5.2.orig.tar.xz
 1064063c2cb5424c2b464408a049a5d1920a58ca 7292 libinput_1.5.2-1.debian.tar.xz
Checksums-Sha256:
 e6ccf9001d119d8204fb50ebcfa725853eebe8e04eea08ab9bd04c769e7bbddd 2319 
libinput_1.5.2-1.dsc
 f8c71c37cee06ab0c040f3e94fa7d500869a2b969f2f662aceeeda1fe2c6f363 652032 
libinput_1.5.2.orig.tar.xz
 796afe34ee91166a7c24eb34a74711be87bddce82c65401746ae7ae650c74b8c 7292 
libinput_1.5.2-1.debian.tar.xz
Files:
 c999d0cf2209ce709b61b005ff4d6452 2319 libs optional libinput_1.5.2-1.dsc
 8684e6e2aef891329f75d44e8b91 652032 libs optional 
libinput_1.5.2.orig.tar.xz
 483598a134e907ff033bff2ffc048744 7292 libs optional 
libinput_1.5.2-1.debian.tar.xz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJYQSvqAAoJEMtwMWWoiYTcD8QQAIZldpSOByEcCicuGLJ7tg9D
2j9hIAY5bH//e0hEAuG2HgRR2RCjHuzLnwSgHVIeE9d66kJRaEbKV3wyyByr5qRn
6iF5e6lpfxrC5poPIvLC2wHQDpMxjXY9RicYOMCPdyk3Plr2X0KTraa6rBjy232V
TivVb4UTarrFeJBGLwJSXJmKmaNALGKFX2rt0k0a+70wgk7RK4ivLTt+hCmazVbG
UFmAHcwXlhP2Oj/l36ngyAwO37TWOkOc/2bNe54ekz9IDBCuWNxVBuvz2LtmcyHV
mxIcGwageAhBw6Q/ScWotPkf5/feRnL2QLLKZU23C1ldSuFi1zCRclNfoeCYk1wB
5Bl3aI4Q/uVR7OlBWTpfWHfy6tBMrA7bdSgiQ17U4nH3tIUhCvmvpboFGUt8N2zN
t1RG2Y925z5u7+se1a0eHN3u6x6DsvFpKwSWLLHNxvvoAMGY4D+dtMPexg1zwuSF
5vq9EgIIGYELDuqDCqjSOvlJX/g4A/2KGjAmsVSNpFLSjXaxvNnxKqRftCBn5rZv
GwPsanADWOyRVC4HYqOGhKKtMRRddv+zi3uMn7hfCA9iK/X2MrukyCRarUv+m8LP
cTqfVIeJtpurhefTtzIjl1hjAfHP0103

libglvnd: Changes to 'upstream-unstable'

2016-12-02 Thread Timo Aaltonen
 configure.ac |   13 +--
 src/GLdispatch/vnd-glapi/entry_files.mk  |2 
 src/GLdispatch/vnd-glapi/entry_x86_tls.c |  108 ++-
 src/GLdispatch/vnd-glapi/entry_x86_tsd.c |   25 ---
 4 files changed, 58 insertions(+), 90 deletions(-)

New commits:
commit 9a17198be3622ffa00f9db36e6b55773d4dcf596
Author: Kyle Brenneman 
Date:   Tue Nov 22 12:39:25 2016 -0700

GLdispatch: Fix TEXTREL in the x86 TSD stubs.

Rewrite the x86 TSD dispatch stubs so that they go through the GOT and PLT
tables to look up _glapi_Current and _glapi_get_current, instead of using
absolute addresses for them.

Fixes https://github.com/NVIDIA/libglvnd/issues/108

diff --git a/src/GLdispatch/vnd-glapi/entry_x86_tsd.c 
b/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
index 8d18854..3157c37 100644
--- a/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
+++ b/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
@@ -38,7 +38,7 @@
 #include "glapi.h"
 #include "glvnd/GLdispatchABI.h"
 
-#define X86_ENTRY_SIZE 32
+#define X86_ENTRY_SIZE 64
 
 __asm__(".section wtext,\"ax\",@progbits\n");
 __asm__(".balign 4096\n"
@@ -53,13 +53,19 @@ __asm__(".balign 4096\n"
func ":"
 
 #define STUB_ASM_CODE(slot) \
-"movl _glapi_Current, %eax\n\t" \
-"testl %eax, %eax\n\t"   \
-"je 1f\n\t"  \
-"jmp *(4 * " slot ")(%eax)\n"\
-"1:\n\t" \
-"call _glapi_get_current\n\t" \
-"jmp *(4 * " slot ")(%eax)"
+"push %ebx\n" \
+"call 1f\n" \
+"1:\n" \
+"popl %ebx\n" \
+"addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx\n" \
+"movl _glapi_Current@GOT(%ebx), %eax\n" \
+"mov (%eax), %eax\n" \
+"testl %eax, %eax\n" \
+"jne 1f\n" \
+"call _glapi_get_current@PLT\n" \
+"1:\n" \
+"pop %ebx\n" \
+"jmp *(4 * " slot ")(%eax)\n"
 
 #define MAPI_TMP_STUB_ASM_GCC
 #include "mapi_tmp.h"
@@ -74,6 +80,9 @@ __asm__(".text\n");
 const int entry_type = __GLDISPATCH_STUB_X86;
 const int entry_stub_size = X86_ENTRY_SIZE;
 
+// Note that the generated stubs are simpler than the assembly stubs above.
+// For the generated stubs, we can patch in the addresses of _glapi_Current and
+// _glapi_get_current, so we don't need to go through the GOT and PLT lookups.
 static const unsigned char ENTRY_TEMPLATE[] =
 {
 0xa1, 0x40, 0x30, 0x20, 0x10,   // :mov_glapi_Current, 
%eax

commit f9117614be359e35a772d0748098ca4343f03a42
Author: Kyle Brenneman 
Date:   Tue Sep 27 15:56:01 2016 -0600

GLdispatch: Fix the x86 TLS stubs.

Fix the generated code for the x86 TLS dispatch stubs.

Update the x86 TLS stubs to use the same common code as the rest of the x86 
and
x86-64 entrypoints.

Fixes https://github.com/NVIDIA/libglvnd/issues/18

diff --git a/configure.ac b/configure.ac
index 73cafe8..1c0e6bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,18 +140,13 @@ AC_MSG_RESULT($HAVE_INIT_TLS)
 
 AC_MSG_CHECKING([for entrypoint stub type])
 case "x$asm_arch" in
-xx86)
-# The x86 TLS stubs don't work, so use the TSD stubs instead.
-gldispatch_entry_type=x86_tsd
-gldispatch_use_tls=no
-;;
-xx86_64)
-# For x86-64, both the TLS and TSD stubs work.
+xx86 | xx86_64)
+# For x86 and x86-64, both the TLS and TSD stubs work.
 if test "x$HAVE_INIT_TLS" = "xyes" ; then
-gldispatch_entry_type=x86_64_tls
+gldispatch_entry_type=${asm_arch}_tls
 gldispatch_use_tls=yes
 else
-gldispatch_entry_type=x86_64_tsd
+gldispatch_entry_type=${asm_arch}_tsd
 gldispatch_use_tls=no
 fi
 ;;
diff --git a/src/GLdispatch/vnd-glapi/entry_files.mk 
b/src/GLdispatch/vnd-glapi/entry_files.mk
index 38b6bf3..0a7c1e4 100644
--- a/src/GLdispatch/vnd-glapi/entry_files.mk
+++ b/src/GLdispatch/vnd-glapi/entry_files.mk
@@ -4,6 +4,8 @@
 
 if GLDISPATCH_TYPE_X86_TLS
 MAPI_GLDISPATCH_ENTRY_FILES = entry_x86_tls.c
+MAPI_GLDISPATCH_ENTRY_FILES += entry_x86_64_common.c
+MAPI_GLDISPATCH_ENTRY_FILES += entry_common.c
 endif
 
 if GLDISPATCH_TYPE_X86_TSD
diff --git a/src/GLdispatch/vnd-glapi/entry_x86_tls.c 
b/src/GLdispatch/vnd-glapi/entry_x86_tls.c
index b303bfa..6c9bd4b 100644
--- a/src/GLdispatch/vnd-glapi/entry_x86_tls.c
+++ b/src/GLdispatch/vnd-glapi/entry_x86_tls.c
@@ -25,19 +25,28 @@
  *Chia-I Wu 
  */
 
-#include 
+#include "entry.h"
+#include "entry_common.h"
+
 #include 
-#include "u_macros.h"
+#include 
+#include 
+#include 
+
 #include "utils_misc.h"
+#include "u_macros.h"
+#include "glapi.h"
+#include "glvnd/GLdispatchABI.h"
 
-#define ENTRY_STUB_ALIGN 32
+#define ENTRY_STUB_ALIGN 16
 #define ENTRY_STUB_SIZE ENTRY_STUB_ALIGN
 #define ENTRY_STUB_ALIGN_DIRECTIVE ".balign " U_STRINGIFY(ENTRY_STUB_ALIGN) 
"\n"
 
-__asm__(".section wtext, \"awx\", @progbits");
-
-__asm__(ENTRY_STUB_ALIGN_DIRECTIVE
-"x86_entry_start:");
+__asm__(".section wtext,\"ax\",@progbits\n");
+__asm__(".balign 4096\n"
+   ".globl public_entry_

libglvnd: Changes to 'debian-unstable'

2016-12-02 Thread Timo Aaltonen
 configure.ac |   13 +--
 debian/changelog |4 -
 debian/control   |5 -
 debian/rules |2 
 src/GLdispatch/vnd-glapi/entry_files.mk  |2 
 src/GLdispatch/vnd-glapi/entry_x86_tls.c |  108 ++-
 src/GLdispatch/vnd-glapi/entry_x86_tsd.c |   25 ---
 7 files changed, 65 insertions(+), 94 deletions(-)

New commits:
commit e50577db79a142f9d095728cf1d83fafd2cdd40e
Author: Timo Aaltonen 
Date:   Sat Dec 3 02:10:26 2016 +0200

release to experimental

fix maintainer

diff --git a/debian/changelog b/debian/changelog
index 0654579..5fc5fbb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-libglvnd (0.2.999+git20161203-1) UNRELEASED; urgency=low
+libglvnd (0.2.999+git20161203-1) experimental; urgency=low
 
   * Initial release (Closes: #812530)
 
- -- Timo Aaltonen   Thu, 29 Aug 2013 10:59:47 +0300
+ -- Timo Aaltonen   Sat, 03 Dec 2016 02:09:57 +0200
diff --git a/debian/control b/debian/control
index 22470a5..9d2073e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,6 +1,7 @@
 Source: libglvnd
 Priority: extra
-Maintainer: Timo Aaltonen 
+Maintainer: Debian X Strike Force 
+Uploaders: Timo Aaltonen 
 Build-Depends:
  debhelper (>= 10),
  pkg-config,

commit 4fdecc73802d82f94f1e1c629baca82558db3d76
Author: Timo Aaltonen 
Date:   Sat Dec 3 02:08:59 2016 +0200

bump version

diff --git a/debian/changelog b/debian/changelog
index 816b942..0654579 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libglvnd (0.2.999+git20161201-1) UNRELEASED; urgency=low
+libglvnd (0.2.999+git20161203-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #812530)
 

commit bb38f3849ac26b31ab0b055ed5d1299ecc29cfa7
Author: Timo Aaltonen 
Date:   Sat Dec 3 01:57:23 2016 +0200

Drop EGL support for now, mesa doesn't have it yet

diff --git a/debian/rules b/debian/rules
index 3fdbfca..b0bb8af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@
 
 override_dh_install:
find debian/tmp -name '*.la' -delete
+   find debian/tmp -name 'libEGL*' -delete
+   find debian/tmp -name 'libGLES*' -delete
dh_install --fail-missing
 
 # needs X

commit d5516d18c5794b29a25624906d1ae963349e6c50
Author: Timo Aaltonen 
Date:   Fri Dec 2 00:03:59 2016 +0200

bump policy to 3.9.8

diff --git a/debian/control b/debian/control
index 09760f8..22470a5 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends:
  python-dev,
  python-libxml2,
  x11proto-gl-dev,
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
 Section: libs
 Homepage: https://github.com/NVIDIA/libglvnd
 Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/lib/libglvnd.git

commit 9a17198be3622ffa00f9db36e6b55773d4dcf596
Author: Kyle Brenneman 
Date:   Tue Nov 22 12:39:25 2016 -0700

GLdispatch: Fix TEXTREL in the x86 TSD stubs.

Rewrite the x86 TSD dispatch stubs so that they go through the GOT and PLT
tables to look up _glapi_Current and _glapi_get_current, instead of using
absolute addresses for them.

Fixes https://github.com/NVIDIA/libglvnd/issues/108

diff --git a/src/GLdispatch/vnd-glapi/entry_x86_tsd.c 
b/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
index 8d18854..3157c37 100644
--- a/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
+++ b/src/GLdispatch/vnd-glapi/entry_x86_tsd.c
@@ -38,7 +38,7 @@
 #include "glapi.h"
 #include "glvnd/GLdispatchABI.h"
 
-#define X86_ENTRY_SIZE 32
+#define X86_ENTRY_SIZE 64
 
 __asm__(".section wtext,\"ax\",@progbits\n");
 __asm__(".balign 4096\n"
@@ -53,13 +53,19 @@ __asm__(".balign 4096\n"
func ":"
 
 #define STUB_ASM_CODE(slot) \
-"movl _glapi_Current, %eax\n\t" \
-"testl %eax, %eax\n\t"   \
-"je 1f\n\t"  \
-"jmp *(4 * " slot ")(%eax)\n"\
-"1:\n\t" \
-"call _glapi_get_current\n\t" \
-"jmp *(4 * " slot ")(%eax)"
+"push %ebx\n" \
+"call 1f\n" \
+"1:\n" \
+"popl %ebx\n" \
+"addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx\n" \
+"movl _glapi_Current@GOT(%ebx), %eax\n" \
+"mov (%eax), %eax\n" \
+"testl %eax, %eax\n" \
+"jne 1f\n" \
+"call _glapi_get_current@PLT\n" \
+"1:\n" \
+"pop %ebx\n" \
+"jmp *(4 * " slot ")(%eax)\n"
 
 #define MAPI_TMP_STUB_ASM_GCC
 #include "mapi_tmp.h"
@@ -74,6 +80,9 @@ __asm__(".text\n");
 const int entry_type = __GLDISPATCH_STUB_X86;
 const int entry_stub_size = X86_ENTRY_SIZE;
 
+// Note that the generated stubs are simpler than the assembly stubs above.
+// For the generated stubs, we can patch in the addresses of _glapi_Current and
+// _glapi_get_current, so we don't need to go through the GOT and PLT lookups.
 static const unsigned char ENTRY_TEMPLATE[] =
 {
 0xa1, 0x40, 0x30, 0x20, 0x10,   // :mov_glapi_Current, 
%eax

commit f9117614be359e35a772d0748098ca4343f03a42
Author: Kyle Brenneman 
Date:   Tue S

libglvnd: Changes to 'refs/tags/libglvnd-0.2.999+git20161203-1'

2016-12-02 Thread Timo Aaltonen
Tag 'libglvnd-0.2.999+git20161203-1' created by Timo Aaltonen 
 at 2016-12-03 00:12 +

Tagging upload of libglvnd 0.2.999+git20161203-1 to experimental.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABCAAGBQJYQg3iAAoJEMtwMWWoiYTc9LkP/iWBHcfN364vXj9LAoYZcS5I
SSCoTY5baC0yA1BaPpnyYuAeReSsfDqArWYX4Ygmjtg5sfcTyadOBkSfL03QbjyT
V+rTXiI4f6oquZhgfLJOn9xBdgrkwfohqXSK34elaRlP8PIe/u869EjSrxgI7+tg
CTlQjJF2gYi3c5gWosf7/mjV/EoHHye1AqtiXIZ0LmCfcghCPxCyIe7zbM8gfLRl
mH2B/QeB8VxdsJEdkTyClp5GIQ33ZA7ChMOHHD2OmFgxUicuoYViO0VH6TQlusvK
TNlxNJBzV7vI4qLyp6L3ekdC5P6O3+7MeYT4rpDDSmnRMOhMtCsdvo6cizDifk26
EGXvcu2i2ISp5cx5rnP3j6Z7L/X7ruwFPvHcU8QZLpj86Eduls6aN+DVRO3Hrwk9
tNp0GnGMP0lHTnjL+N+q9yDlU4CJmChphSRs/rBCbkndSYz17WO9J+6mY+h0+DV+
4PCkcHiNEu5gdIlFJrYt1hpw1saCk+VtPLzw++pOyWNyDp0vHeBciPKFJqn8XfMC
XuVZiiichxFqV2eZqTpIwQHw3yfpeAAJx7PLcM4nnwznHXFbuGAhUapWDCBpU7ol
ncJ9ItdV6NPTJ3zAd7UlJWb4989BSU/2Pty6Z2ZpmWem5Ee3zrk0SBH9d+K2xVZE
0Q7Q2uDoHMu45Y6Cy8rg
=RB2l
-END PGP SIGNATURE-

Changes since the dawn of time:
Aaron Plattner (14):
  [build] reorder SUBDIRS to only recurse once
  [build] fix srcdir != builddir mistakes
  [build] fix more srcdir != builddir mistakes
  [build] enable silent rules by default
  [tests] remove unused 'str' variable
  [build] don't try to create src/GLdispatch/mapi makefiles
  [build] make mapi a subdirectory of vnd-glapi
  [build] distribute files needed to build
  [build] add $(BUILT_SOURCES) to $(CLEANFILES)
  configure.ac: change contact email
  GLX: Return dummy strings for glXGetClientString(NULL, ...)
  x11glvndserver: Use MODULEVERSIONSTRING instead of hard-coding "NVIDIA 
Corporation"
  Don't use 'xrange' because Python 3 doesn't have it.
  chmod -x files that aren't scripts

Adam Jackson (8):
  [libglx] Don't throw an error for glXMakeContextCurrent(ctx, None, None)
  [libglx] Bump client string storage size
  [libglx] Fix a thread-safety bug in glXGetClientString
  [tests] Fix testpatchentrypoints
  [libglvnd] Add NVIDIA license to README.md
  tests: Don't force DISPLAY=:0, just inherit it from the environment
  GLX: Refuse to transition directly from EGL to GLX contexts
  GLdispatch: Emit public_entry_{start,end} as hidden symbols

Andy Ritger (5):
  Add initial libGLX implementation
  Unlock in the __glXFetchDispatchEntry() failure path.
  Check strdup(3) return value in AllocDispatchIndex()
  Link libtrace.la *after* libglvnd_pthread.la
  Check for strdup(3) failure in cacheProcAddress()

Brian Nguyen (129):
  Initial commit
  Add placeholder directories for the libglvnd component libraries
  Add autotools infrastructure for libglvnd
  Add mesa GL headers from git commit 
fa7829c36b78b8ecc42238cbc0a02d1059320c77
  Add glvnd_list.h
  [GLX] Re-define the libGLX vendor library ABI
  [GLX] First pass at implementing libGLX.so
  Add a header file for various utility functions
  [GLX] Define internal APIs needed for looking up mappings, getting 
current state
  Implement tracing
  [GLX] Begin implementing glXMake{,Context}Current()
  [GLX] Implement glXGetClientString()
  [GLX] Implement glXQueryVersion()
  [GLX] Implement MakeContextCurrentInternal()
  Implement glvnd_pthread
  [GLX] Hook up glvnd_pthread
  [GLX] Include libglxmapping.c and libglxnoop.h in build
  Add uthash commit 2c8cd98e0be93d38ff3340a0fbce300bc6739b08 to src/util
  [GLX] Implement caching proc addresses in glXGetProcAddress()
  Add lkdhash.h
  [GLX] Implement __glXLookupVendorByScreen()
  [GLX] Implement loading vendor libraries
  [GLX] Implement screen-XID mapping helper functions
  [GLX] Implement screen-pointer mapping helper functions
  [GLX] Implement __glXFetchDispatchEntry()
  [GLX] Implement the no-op GLX dispatch table
  [GLX] Define GLdispatch API
  [GLX] Add libglxgldispatch.[ch]
  Add GLdispatch DSO
  Add x11glvnd X11 extension
  [x11glvnd] Define X11 protocol for XGLVendor extension
  [x11glvnd] Implement the client- and server-side code
  [GLdispatch] Write pseudo-code implementations of API
  Add mesa headers from git commit fa7829c36b78b8ecc42238cbc0a02d1059320c77
  [GLdispatch] Add mapi from MESA commit 
fa7829c36b78b8ecc42238cbc0a02d1059320c77
  [GLdispatch] Build mapi
  [GLdispatch] First pass at implementing the GLdispatch API
  [GLdispatch] Add global current dispatch table list
  [GLdispatch] Implement FixupDispatchTable() and FindProcInList()
  [mapi] Implement _glapi_{set,get}_current()
  [mapi] Implement glapi_init_table_from_callback()
  [mapi] Add spec file for GL 4.x entrypoints
  Add libGL and libOpenGL filter libraries
  [mapi] mapi_abi.py: Implement a noop-gl printer
  Use noop-gl mapi generated header to implement GL noop stubs
  [tests] Add basic test infrastructure
  [tests] Add a GLX_dummy du

Processing of libglvnd_0.2.999+git20161203-1_amd64.changes

2016-12-02 Thread Debian FTP Masters
libglvnd_0.2.999+git20161203-1_amd64.changes uploaded successfully to localhost
along with the files:
  libglvnd_0.2.999+git20161203-1.dsc
  libglvnd_0.2.999+git20161203.orig.tar.gz
  libglvnd_0.2.999+git20161203-1.diff.gz
  libglvnd-dev_0.2.999+git20161203-1_amd64.deb
  libglvnd0_0.2.999+git20161203-1_amd64.deb
  libglvnd_0.2.999+git20161203-1_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



libglvnd_0.2.999+git20161203-1_amd64.changes is NEW

2016-12-02 Thread Debian FTP Masters
binary:libglvnd-dev is NEW.
binary:libglvnd0 is NEW.
binary:libglvnd0 is NEW.
binary:libglvnd-dev is NEW.
source:libglvnd is NEW.

Your package has been put into the NEW queue, which requires manual action
from the ftpteam to process. The upload was otherwise valid (it had a good
OpenPGP signature and file hashes are valid), so please be patient.

Packages are routinely processed through to the archive, and do feel
free to browse the NEW queue[1].

If there is an issue with the upload, you will receive an email from a
member of the ftpteam.

If you have any questions, you may reply to this email.

[1]: https://ftp-master.debian.org/new.html