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

Bug#777377: marked as done (xbrlapi: braille input doesn't work when using lightdm to log in)



Your message dated Sun, 08 Feb 2015 22:49:06 +0000
with message-id <E1YKaf4-0005FK-Q4@franck.debian.org>
and subject line Bug#777377: fixed in brltty 5.2~20141018-3
has caused the Debian Bug report #777377,
regarding xbrlapi: braille input doesn't work when using lightdm to log in
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 owner@bugs.debian.org
immediately.)


-- 
777377: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777377
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xbrlapi
Version: 5.2~20141018-2
Severity: important

Hello,

When using lightdm, the session has XDG_VTNO defined to the VT number
(for instance 7), but not WINDOWPATH. xbrlapi know only about the
latter, while libbrlapi knows about both.  The result is that xbrlapi
confusingly attaches itself to the X window 7 of the VT 7, and thus
doesn't get braille input to be simulated in X.  This was fixed upstream
by the attached patch, which makes xbrlapi aware of XDG_VTNO too.  This
will however break Orca, which has the same problem, so we need to fix
Orca first.

Samuel

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages xbrlapi depends on:
ii  libbluetooth3  5.23-2+b1
ii  libbrlapi0.6   5.2~20141018-2
ii  libc6          2.19-13
ii  libgpm2        1.20.4-6.1+b2
ii  libicu52       52.1-7
ii  libx11-6       2:1.6.2-3
ii  libxext6       2:1.3.3-1
ii  libxtst6       2:1.2.2-1+b1

xbrlapi recommends no packages.

xbrlapi suggests no packages.

-- no debconf information
commit 2421eda2cf18ea4684b904867735778509af26c6
Author: Dave Mielke <dave@mielke.cc>
Date:   Sun Feb 1 17:40:30 2015 -0500

    Fix XDG_VTNR/WINDOWPATH support in xbrlapi. (st)

diff --git a/Programs/xbrlapi.c b/Programs/xbrlapi.c
index 4822e11..093f2c4 100644
--- a/Programs/xbrlapi.c
+++ b/Programs/xbrlapi.c
@@ -185,12 +185,13 @@ static int getXVTnb(void);
 
 static void getVT(void) {
   char *path = getenv("WINDOWPATH");
+  char *vtnr = getenv("XDG_VTNR");
   int vtno = -1;
-  if (!path)
+  if (!path && !vtnr)
     /* Workaround for old xinit/xdm/gdm/kdm */
     vtno = getXVTnb();
 
-  if (path || vtno == -1) {
+  if (path || vtnr || vtno == -1) {
     if (brlapi_enterTtyModeWithPath(NULL,0,NULL)<0)
       fatal_brlapi_errno("geTtyPath",gettext("cannot get tty\n"));
   } else {

--- End Message ---
--- Begin Message ---
Source: brltty
Source-Version: 5.2~20141018-3

We believe that the bug you reported is fixed in the latest version of
brltty, 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 777377@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated brltty 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 08 Feb 2015 22:58:05 +0100
Source: brltty
Binary: brltty brltty-dbg libbrlapi0.6 libbrlapi-dbg libbrlapi-dev libbrlapi-jni libbrlapi-java brltty-flite brltty-speechd brltty-espeak brltty-udeb brltty-x11 xbrlapi cl-brlapi python-brlapi python3-brlapi
Architecture: source amd64 all
Version: 5.2~20141018-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <debian-accessibility@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 brltty     - Access software for a blind person using a braille display
 brltty-dbg - debugging symbols for brltty
 brltty-espeak - Access software for a blind person - espeak driver
 brltty-flite - Access software for a blind person - Flite speech driver
 brltty-speechd - Access software for a blind person - Speech Dispatcher driver
 brltty-udeb - Access software for a blind person using a braille display (udeb)
 brltty-x11 - Access software for a blind person using a braille display - X11
 cl-brlapi  - Common Lisp bindings for BrlAPI
 libbrlapi-dbg - braille display access via BRLTTY - shared library debugging symb
 libbrlapi-dev - Library for communication with BRLTTY - static libs and headers
 libbrlapi-java - Java bindings for BrlAPI
 libbrlapi-jni - Java bindings for BrlAPI (native library)
 libbrlapi0.6 - braille display access via BRLTTY - shared library
 python-brlapi - Braille display access via BRLTTY - Python bindings
 python3-brlapi - Braille display access via BRLTTY - Python3 bindings
 xbrlapi    - Access software for a blind person using a braille display - xbrl
Closes: 774536 777377
Changes:
 brltty (5.2~20141018-3) unstable; urgency=medium
 .
   * brltty-udeb.prebaseconfig: Make grub beep at boot when brltty was used
     during installation (Closes: #774536).
   * patches/git-2421eda: Fix xbrlapi window path computation (Closes: #777377).
   * control: Break old version of Orca which does not have the same fix as
     xbrlapi.
Checksums-Sha1:
 52c5716cd0f21254d113b7d3c3c40fbfce60d8e2 3245 brltty_5.2~20141018-3.dsc
 14e0d9b56afaabb3a4c8013297f32f1ff37f251b 26760 brltty_5.2~20141018-3.debian.tar.xz
 7aaed0cf02527a605e50e379494a931074acc09f 1178638 brltty_5.2~20141018-3_amd64.deb
 36a5aa7f4bc89b6e9e02b70a08b3f6d103cc287b 702568 brltty-dbg_5.2~20141018-3_amd64.deb
 f5e451131c392f682979a889a07259b09d760159 80950 libbrlapi0.6_5.2~20141018-3_amd64.deb
 ef4ce864c5ab73cd0ff4d61e727b2d100455de4f 316396 libbrlapi-dbg_5.2~20141018-3_amd64.deb
 395a3dc715ae6f090f183291f42131e23994b855 191932 libbrlapi-dev_5.2~20141018-3_amd64.deb
 2820eb95266cea451896adfdfbef90958c6e135b 73140 libbrlapi-jni_5.2~20141018-3_amd64.deb
 e7bc296f7332d63136ff0379c7b6d61182dee9c4 68178 brltty-flite_5.2~20141018-3_amd64.deb
 b54bc7a67d13ffbbafa2f66e3e8224fe72514772 68708 brltty-speechd_5.2~20141018-3_amd64.deb
 700cc5b5c98cda947077c6ba37c76a0a3e1ce49d 68206 brltty-espeak_5.2~20141018-3_amd64.deb
 b5d4c420b418c2018e6cf8ac31f9c27e614c34d8 82340 brltty-x11_5.2~20141018-3_amd64.deb
 8f1fbdef1b5d56417a3ce02cfe296905d9ac34cb 116684 xbrlapi_5.2~20141018-3_amd64.deb
 7db83cf3a208752b5cc4986e390427ebc6b8fd5b 117866 python-brlapi_5.2~20141018-3_amd64.deb
 0de3510280e3bb5fbdb9d2eb2e60cb9498290d18 116252 python3-brlapi_5.2~20141018-3_amd64.deb
 90d1eb63814e8a84515526c30d946f125c6ee7f9 122154 libbrlapi-java_5.2~20141018-3_all.deb
 f759bca858060528e111adff88a8abf8258160a3 68110 cl-brlapi_5.2~20141018-3_all.deb
 0b0ecdfca85c3d03b9728104c69f252fb7e0afb7 284522 brltty-udeb_5.2~20141018-3_amd64.udeb
Checksums-Sha256:
 26865a74c30a45b167500df92eceac7b5aac568e26e175c7c0bb8ea846ad39a0 3245 brltty_5.2~20141018-3.dsc
 4a713f7a024737591b80bc88f747c4a1eae3fb32d21354dcef50e0c9b532051a 26760 brltty_5.2~20141018-3.debian.tar.xz
 78a75296a739a2adf26ed72b40febe590daebcd006eee7226f66949d11c8338d 1178638 brltty_5.2~20141018-3_amd64.deb
 275d740462f77ee2ce113bebdefade8b92f42674d8526cb7b2f76df0b987b6c8 702568 brltty-dbg_5.2~20141018-3_amd64.deb
 8cb61056c0bf3cfc7fcb904c1a16357e38c93771bcc3bb86e4c6d3972c81c03d 80950 libbrlapi0.6_5.2~20141018-3_amd64.deb
 454c4fde7ae0256a35c680cb223826c4f815609c0e1140cb1cd4b258c899d76b 316396 libbrlapi-dbg_5.2~20141018-3_amd64.deb
 67ced5dccb96852ffc682e3cbfd31fa8e874592b31256fd98a0e44af6f02c2fc 191932 libbrlapi-dev_5.2~20141018-3_amd64.deb
 8d894ce96489cec998b833b2db6920bd66d23c296157c67642201bc4318c0001 73140 libbrlapi-jni_5.2~20141018-3_amd64.deb
 49c9e9e4cbecb86b5221909a31dd9acd9d3184904911ab7bd1207e8c2f3d5c50 68178 brltty-flite_5.2~20141018-3_amd64.deb
 ba395bf805244250f8070b35f8bba26072106e001d49e8e554e12bef5aae0c43 68708 brltty-speechd_5.2~20141018-3_amd64.deb
 27db548945ae16d8669a25c955cf068d6ca73c2894cc1d05fa9d7c51eb518001 68206 brltty-espeak_5.2~20141018-3_amd64.deb
 dfd6d0e31d8b52adb600d0db69e0b399ff10b7c4837e6a0c4372d5978129da4e 82340 brltty-x11_5.2~20141018-3_amd64.deb
 a55e188932849cde211acd76562219805d76b2b486f9d1e27c773f6b51910f42 116684 xbrlapi_5.2~20141018-3_amd64.deb
 49467c0d15bfda045f36dd170ff65f806f99526d5e348850a065459de11b8d81 117866 python-brlapi_5.2~20141018-3_amd64.deb
 374bce5c960311d5902c49b2f72079593ef34959658dbcd40165f7f4272f85e3 116252 python3-brlapi_5.2~20141018-3_amd64.deb
 31f82306a19ee55bf8bc0f84638572ff23731d69c47b9f66a47a038e1232a76d 122154 libbrlapi-java_5.2~20141018-3_all.deb
 c2de6ba87c664a51f2873d38b7b3e3811d7f8aff1d87d47eb71c938f286c161b 68110 cl-brlapi_5.2~20141018-3_all.deb
 24664c710e7c113fccb5b545a4563beb51e21efa0134450f0b11ba17488b4942 284522 brltty-udeb_5.2~20141018-3_amd64.udeb
Files:
 93f9792ee613807a988330d6c59e9e95 3245 admin extra brltty_5.2~20141018-3.dsc
 ccb0f6ee0dfe31e8be66220eab119d59 26760 admin extra brltty_5.2~20141018-3.debian.tar.xz
 71beeb95998d12b9e5fbbec2b7914266 1178638 admin extra brltty_5.2~20141018-3_amd64.deb
 14003bf5036e64ef34b9d9221c170a59 702568 debug extra brltty-dbg_5.2~20141018-3_amd64.deb
 4f496d9cf16674a610c14c638a9e50e4 80950 libs extra libbrlapi0.6_5.2~20141018-3_amd64.deb
 649b8f56bee90aa7da4fde8b1bc9af9f 316396 debug extra libbrlapi-dbg_5.2~20141018-3_amd64.deb
 be45783a1f8c25887390bdc8026e6022 191932 libdevel extra libbrlapi-dev_5.2~20141018-3_amd64.deb
 96f3b7d26c01c22b800a5e36f7b9aee3 73140 java extra libbrlapi-jni_5.2~20141018-3_amd64.deb
 fb367c9effcbf8116d44374dfa838398 68178 admin extra brltty-flite_5.2~20141018-3_amd64.deb
 ef1a3b90bf9f4299b752a5b34297b6c7 68708 admin extra brltty-speechd_5.2~20141018-3_amd64.deb
 d77150a4bacfe0252c3a125c7009c6eb 68206 admin extra brltty-espeak_5.2~20141018-3_amd64.deb
 7450c8afa74c4dcca53f57aed386ab81 82340 admin extra brltty-x11_5.2~20141018-3_amd64.deb
 0c82c816051d6cf83d22c8434131ca85 116684 admin extra xbrlapi_5.2~20141018-3_amd64.deb
 6765fdd6747efe607814d2f0d21b02dc 117866 python extra python-brlapi_5.2~20141018-3_amd64.deb
 00f57500f59910903b397bc6bb27e2a0 116252 python extra python3-brlapi_5.2~20141018-3_amd64.deb
 34ec2081524c36e209ba95126ed119ba 122154 java extra libbrlapi-java_5.2~20141018-3_all.deb
 e83de5740e0b03326f728007b1179009 68110 lisp extra cl-brlapi_5.2~20141018-3_all.deb
 8418991caaa94a817f75630d041da841 284522 debian-installer extra brltty-udeb_5.2~20141018-3_amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJU1+GdAAoJEM8J0LDiiAQrYWkP/A8iPyYj+pvTpnd5vmrLswaE
Z7OF/hFflkBqaf66Sqrb38pOkN94bE7hC+Sha75xBFgZ/wrXdd5x7WGK4SsY3BhK
eQP/NHMTNJErGaRBgYD+1mcVwQKWO6r50vVq/kUHxBxbTrpAjBNzxrdocKew15SM
XuVw83rTDGq+RcRtFjs0Yk95h8riTHs7hODbva9ZWu0/X135faUiKWqJGAhIVbXe
DfnStLw+CW978z69zVzd+Ww66tRUMcE6MrWj6zLjXV4Dq/FDn0yaKXQRWo0ooWCL
SRajC4y+x9Ts/6kP+w1y4Ut4QT49G/vEmWe6A4PXTdbjkal9h/Q12y2GbfecIBC5
yuzsjuuxryuxo2BTYogpIdBrT4qSPgDPcL+eHaAI0AObUdVRsbbSJEFVOluZkfxw
Dr7NLqPX+o2Dm4y+L4KdRnvaqBxiqwZEG0sgkHiBK4e4FPnM7OvFADhacpaWtpwH
ZlHhJzim/GTyDPXsZOfGw4ncKiPRl6ksWR3DtHFPPpFIU5xyX1DN/4vIFL72j+vv
o5lWReAgc5sYVMVllFzX97Xa23uC8fBcqDh7FLMLjPerl5nGFxtAAGwJVVsfK+HY
kYqoKGZCPR6NfH7bYzhE7neZ93cQNSG3Wy8oGrmPIAdNEdVwM8lOJgmGO22TC5aX
rs9pb1l+/VbZjouOerSi
=0BX0
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: