[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/driver/xserver-xorg-input-evdev][debian-unstable] 14 commits: autogen.sh: use exec instead of waiting for configure to finish



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-input-evdev

Commits:

7 changed files:

Changes:

  • autogen.sh
    1 1
     #! /bin/sh
    
    2 2
     
    
    3
    -srcdir=`dirname $0`
    
    3
    +srcdir=`dirname "$0"`
    
    4 4
     test -z "$srcdir" && srcdir=.
    
    5 5
     
    
    6 6
     ORIGDIR=`pwd`
    
    7
    -cd $srcdir
    
    7
    +cd "$srcdir"
    
    8 8
     
    
    9 9
     autoreconf -v --install || exit 1
    
    10
    -cd $ORIGDIR || exit $?
    
    10
    +cd "$ORIGDIR" || exit $?
    
    11
    +
    
    12
    +git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
    
    13
    +    git config --local format.subjectPrefix "PATCH xf86-input-evdev"
    
    11 14
     
    
    12 15
     if test -z "$NOCONFIGURE"; then
    
    13
    -    $srcdir/configure "$@"
    
    16
    +    exec "$srcdir"/configure "$@"
    
    14 17
     fi

  • configure.ac
    ... ... @@ -23,7 +23,7 @@
    23 23
     # Initialize Autoconf
    
    24 24
     AC_PREREQ([2.60])
    
    25 25
     AC_INIT([xf86-input-evdev],
    
    26
    -        [2.10.5],
    
    26
    +        [2.10.6],
    
    27 27
             [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
    
    28 28
             [xf86-input-evdev])
    
    29 29
     AC_CONFIG_SRCDIR([Makefile.am])
    

  • debian/changelog
    1
    +xserver-xorg-input-evdev (1:2.10.6-1) unstable; urgency=medium
    
    2
    +
    
    3
    +  * New upstream release.
    
    4
    +  * control: Update vcs urls.
    
    5
    +  * Bump debhelper to 10.
    
    6
    +  * control: Bump policy to 4.2.0, no changes.
    
    7
    +
    
    8
    + -- Timo Aaltonen <tjaalton@debian.org>  Thu, 23 Aug 2018 16:45:13 +0300
    
    9
    +
    
    1 10
     xserver-xorg-input-evdev (1:2.10.5-1) unstable; urgency=medium
    
    2 11
     
    
    3 12
       * Team upload.
    

  • debian/compat
    1
    -9
    1
    +10

  • debian/control
    ... ... @@ -3,8 +3,7 @@ Section: x11
    3 3
     Priority: optional
    
    4 4
     Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
    
    5 5
     Build-Depends:
    
    6
    - debhelper (>= 9),
    
    7
    - dh-autoreconf,
    
    6
    + debhelper (>= 10),
    
    8 7
      pkg-config,
    
    9 8
      quilt,
    
    10 9
      xserver-xorg-dev (>= 2:1.15.99),
    
    ... ... @@ -17,10 +16,10 @@ Build-Depends:
    17 16
      libudev-dev,
    
    18 17
      libmtdev-dev,
    
    19 18
      libevdev-dev (>= 1.2.2+dfsg-1~),
    
    20
    -Standards-Version: 3.9.8
    
    19
    +Standards-Version: 4.2.0
    
    21 20
     Homepage: https://www.x.org
    
    22
    -Vcs-Git: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev.git
    
    23
    -Vcs-Browser: https://anonscm.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev.git
    
    21
    +Vcs-Git: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-evdev.git
    
    22
    +Vcs-Browser: https://salsa.debian.org/xorg-team/driver/xserver-xorg-input-evdev
    
    24 23
     
    
    25 24
     Package: xserver-xorg-input-evdev
    
    26 25
     Architecture: linux-any
    

  • debian/rules
    1 1
     #!/usr/bin/make -f
    
    2 2
     
    
    3 3
     override_dh_auto_configure:
    
    4
    -	dh_auto_configure -- --disable-silent-rules \
    
    4
    +	dh_auto_configure -- \
    
    5 5
     		--libdir=\$${exec_prefix}/lib
    
    6 6
     
    
    7 7
     # Install in debian/tmp to retain control through dh_install:
    
    ... ... @@ -18,7 +18,7 @@ override_dh_shlibdeps:
    18 18
     	dh_shlibdeps -- --warnings=6
    
    19 19
     
    
    20 20
     %:
    
    21
    -	dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
    
    21
    +	dh $@ --with quilt,xsf --builddirectory=build/
    
    22 22
     
    
    23 23
     # Debug package:
    
    24 24
     override_dh_strip:
    

  • src/evdev.c
    ... ... @@ -551,6 +551,16 @@ EvdevProcessProximityState(InputInfoPtr pInfo)
    551 551
             }
    
    552 552
         }
    
    553 553
     
    
    554
    +    /* Wacom's last frame resets all values to 0, including x/y.
    
    555
    +       Skip over this. */
    
    556
    +    if (prox_state == 0) {
    
    557
    +        int v;
    
    558
    +        if (valuator_mask_fetch(pEvdev->abs_vals, 0, &v) && v == 0)
    
    559
    +            valuator_mask_unset(pEvdev->abs_vals, 0);
    
    560
    +        if (valuator_mask_fetch(pEvdev->abs_vals, 1, &v) && v == 0)
    
    561
    +            valuator_mask_unset(pEvdev->abs_vals, 1);
    
    562
    +    }
    
    563
    +
    
    554 564
         if ((prox_state && !pEvdev->in_proximity) ||
    
    555 565
             (!prox_state && pEvdev->in_proximity))
    
    556 566
         {
    
    ... ... @@ -905,7 +915,7 @@ EvdevPostProximityEvents(InputInfoPtr pInfo, int which)
    905 915
                     break;
    
    906 916
                 case EV_QUEUE_PROXIMITY:
    
    907 917
                     if (pEvdev->queue[i].val == which)
    
    908
    -                    xf86PostProximityEvent(pInfo->dev, which, 0, 0);
    
    918
    +                    xf86PostProximityEventM(pInfo->dev, which, pEvdev->old_vals);
    
    909 919
                     break;
    
    910 920
             }
    
    911 921
         }
    
    ... ... @@ -2353,8 +2363,10 @@ EvdevProbe(InputInfoPtr pInfo)
    2353 2363
                 pInfo->type_name = XI_TOUCHSCREEN;
    
    2354 2364
     	} else {
    
    2355 2365
                 if (!libevdev_has_event_code(pEvdev->dev, EV_REL, REL_X) ||
    
    2356
    -                !libevdev_has_event_code(pEvdev->dev, EV_REL, REL_Y))
    
    2366
    +                !libevdev_has_event_code(pEvdev->dev, EV_REL, REL_Y)) {
    
    2367
    +                pEvdev->flags |= EVDEV_RELATIVE_EVENTS;
    
    2357 2368
                     EvdevForceXY(pInfo, Relative);
    
    2369
    +            }
    
    2358 2370
     	    xf86IDrvMsg(pInfo, X_INFO, "Configuring as mouse\n");
    
    2359 2371
     	    pInfo->type_name = XI_MOUSE;
    
    2360 2372
     	}
    
    ... ... @@ -2485,7 +2497,7 @@ EvdevOpenDevice(InputInfoPtr pInfo)
    2485 2497
         }
    
    2486 2498
     
    
    2487 2499
         if (pInfo->fd < 0) {
    
    2488
    -        xf86IDrvMsg(pInfo, X_ERROR, "Unable to open evdev device \"%s\".\n", device);
    
    2500
    +        xf86IDrvMsg(pInfo, X_ERROR, "Unable to open evdev device \"%s\" (%s).\n", device, strerror(errno));
    
    2489 2501
             return BadValue;
    
    2490 2502
         }
    
    2491 2503
     
    


  • Reply to: