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

[Git][xorg-team/app/x11-xkb-utils][debian-unstable] 2 commits: Fix Vcs-Git URL



Title: GitLab

Julien Cristau pushed to branch debian-unstable at X Strike Force / app / x11-xkb-utils

Commits:

4 changed files:

Changes:

  • debian/changelog
    1
    +x11-xkb-utils (7.7+7) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Fix setxkbmap crash in d-i (closes: #1010161)
    
    4
    +
    
    5
    + -- Julien Cristau <jcristau@debian.org>  Mon, 25 Apr 2022 18:53:16 +0200
    
    6
    +
    
    1 7
     x11-xkb-utils (7.7+6) unstable; urgency=medium
    
    2 8
     
    
    3 9
       [ Jelmer Vernooij ]
    

  • debian/control
    ... ... @@ -22,7 +22,7 @@ Build-Depends:
    22 22
     # xkbprint: libx11-dev, libxkbfile-dev
    
    23 23
     # xkbutils: libx11-dev, libxaw7-dev, x11proto-core-dev
    
    24 24
     Standards-Version: 4.5.0
    
    25
    -Vcs-Git: https://salsa.debian.org/xorg-team/app/x11-xkb-utils
    
    25
    +Vcs-Git: https://salsa.debian.org/xorg-team/app/x11-xkb-utils.git
    
    26 26
     Vcs-Browser: https://salsa.debian.org/xorg-team/app/x11-xkb-utils
    
    27 27
     
    
    28 28
     Package: x11-xkb-utils
    

  • debian/patches/01_Be-more-careful-about-querying-randr.diff
    1
    +From 1c5597c529a8a8f836cd4da6e22e65c74c588064 Mon Sep 17 00:00:00 2001
    
    2
    +From: Julien Cristau <jcristau@debian.org>
    
    3
    +Date: Mon, 25 Apr 2022 15:41:26 +0200
    
    4
    +Subject: [PATCH app/setxkbmap] Be more careful about querying randr
    
    5
    +
    
    6
    +Check for extension version and number of outputs:
    
    7
    +XRRGetScreenResourcesCurrent was added in v1.3.  Also, there's no
    
    8
    +guarantee it returns any outputs, and we don't want to die with a
    
    9
    +BadRROutput error.
    
    10
    +---
    
    11
    + setxkbmap.c | 5 ++++-
    
    12
    + 1 file changed, 4 insertions(+), 1 deletion(-)
    
    13
    +
    
    14
    +Forwarded: https://gitlab.freedesktop.org/xorg/app/setxkbmap/-/merge_requests/4
    
    15
    +
    
    16
    +diff --git a/setxkbmap/setxkbmap.c b/setxkbmap/setxkbmap.c
    
    17
    +index 96761a0..6b6259c 100644
    
    18
    +--- a/setxkbmap/setxkbmap.c
    
    19
    ++++ b/setxkbmap/setxkbmap.c
    
    20
    +@@ -1090,9 +1090,12 @@ is_xwayland(void)
    
    21
    +         /* e.g. Xnest, but definitely not Xwayland */
    
    22
    +         goto out;
    
    23
    +     }
    
    24
    ++    if (major < 1 || (major == 1 && minor < 3)) {
    
    25
    ++        goto out;
    
    26
    ++    }
    
    27
    + 
    
    28
    +     resources = XRRGetScreenResourcesCurrent(dpy, DefaultRootWindow(dpy));
    
    29
    +-    if (!resources) {
    
    30
    ++    if (!resources || resources->noutput < 1) {
    
    31
    +         goto out;
    
    32
    +     }
    
    33
    + 
    
    34
    +-- 
    
    35
    +2.30.2
    
    36
    +

  • debian/patches/series
    1
    +01_Be-more-careful-about-querying-randr.diff
    
    1 2
     #11_xkb_documentation_updates.diff -p0


  • Reply to: