Your message dated Thu, 14 Aug 2014 00:33:57 +0000
with message-id <[email protected]>
and subject line Bug#757889: fixed in gdm3 3.12.2-2.1
has caused the Debian Bug report #757889,
regarding gdm3: Does not define WINDOWPATH any more
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 [email protected]
immediately.)


-- 
757889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757889
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gdm3
Version: 3.12.2-2
Severity: normal

Hello,

Starting from version 3.12, gdm3 does not define WINDOWPATH any more.
This breaks proper braille output. Upstream has put back the support, I
have attached the two corresponding patches, could you please apply
them?

Thanks,
Samuel

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

Kernel: Linux 3.16.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

-- 
Samuel
/* Halley */

        (Halley's comment.)
commit e4dbf006279ecbf408186f3759e559b46ddedda5
Author: Ray Strode <[email protected]>
Date:   Tue Jul 22 17:26:42 2014 -0400

    Revert "session: drop remnants of WINDOWPATH"
    
    This reverts commit 6e1f486ca0d37da9fc8239493633deed6d796b93.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730729

diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 60667c5..bb54084 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2387,6 +2387,12 @@ set_up_session_environment (GdmSession *self)
                 }
         }
 
+        if (g_getenv ("WINDOWPATH") != NULL) {
+                gdm_session_set_environment_variable (self,
+                                                      "WINDOWPATH",
+                                                      g_getenv ("WINDOWPATH"));
+        }
+
         g_free (desktop_names);
 }
 
commit 13dc48dd1e30356dbd83d319734fd38571806677
Author: Ray Strode <[email protected]>
Date:   Tue Jul 22 17:27:30 2014 -0400

    Revert "slave: Remove support for WINDOWPATH"
    
    This reverts commit 64210ac9dc1dafd1970ad0abcf46a010731d17b4.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730729

diff --git a/daemon/gdm-slave.c b/daemon/gdm-slave.c
index 1afe48e..b4bbcfd 100644
--- a/daemon/gdm-slave.c
+++ b/daemon/gdm-slave.c
@@ -250,6 +250,83 @@ gdm_slave_setup_xhost_auth (XHostAddress *host_entries, 
XServerInterpretedAddres
         host_entries[2].length    = sizeof (XServerInterpretedAddress);
 }
 
+static void
+gdm_slave_set_windowpath (GdmSlave *slave)
+{
+        /* setting WINDOWPATH for clients */
+        Atom prop;
+        Atom actualtype;
+        int actualformat;
+        unsigned long nitems;
+        unsigned long bytes_after;
+        unsigned char *buf;
+        const char *windowpath;
+        char *newwindowpath;
+        unsigned long num;
+        char nums[10];
+        int numn;
+
+        prop = XInternAtom (slave->priv->server_display, "XFree86_VT", False);
+        if (prop == None) {
+                g_debug ("no XFree86_VT atom\n");
+                return;
+        }
+        if (XGetWindowProperty (slave->priv->server_display,
+                DefaultRootWindow (slave->priv->server_display), prop, 0, 1,
+                False, AnyPropertyType, &actualtype, &actualformat,
+                &nitems, &bytes_after, &buf)) {
+                g_debug ("no XFree86_VT property\n");
+                return;
+        }
+
+        if (nitems != 1) {
+                g_debug ("%lu items in XFree86_VT property!\n", nitems);
+                XFree (buf);
+                return;
+        }
+
+        switch (actualtype) {
+        case XA_CARDINAL:
+        case XA_INTEGER:
+        case XA_WINDOW:
+                switch (actualformat) {
+                case  8:
+                        num = (*(uint8_t  *)(void *)buf);
+                        break;
+                case 16:
+                        num = (*(uint16_t *)(void *)buf);
+                        break;
+                case 32:
+                        num = (*(long *)(void *)buf);
+                        break;
+                default:
+                        g_debug ("format %d in XFree86_VT property!\n", 
actualformat);
+                        XFree (buf);
+                        return;
+                }
+                break;
+        default:
+                g_debug ("type %lx in XFree86_VT property!\n", actualtype);
+                XFree (buf);
+                return;
+        }
+        XFree (buf);
+
+        windowpath = getenv ("WINDOWPATH");
+        numn = snprintf (nums, sizeof (nums), "%lu", num);
+        if (!windowpath) {
+                newwindowpath = malloc (numn + 1);
+                sprintf (newwindowpath, "%s", nums);
+        } else {
+                newwindowpath = malloc (strlen (windowpath) + 1 + numn + 1);
+                sprintf (newwindowpath, "%s:%s", windowpath, nums);
+        }
+
+        slave->priv->windowpath = newwindowpath;
+
+        g_setenv ("WINDOWPATH", newwindowpath, TRUE);
+}
+
 gboolean
 gdm_slave_connect_to_x11_display (GdmSlave *slave)
 {
@@ -299,6 +376,8 @@ gdm_slave_connect_to_x11_display (GdmSlave *slave)
                 if (gdm_error_trap_pop ()) {
                         g_warning ("Failed to give slave programs access to 
the display. Trying to proceed.");
                 }
+
+                gdm_slave_set_windowpath (slave);
         } else {
                 g_debug ("GdmSlave: Connected to display %s", 
slave->priv->display_name);
                 ret = TRUE;

--- End Message ---
--- Begin Message ---
Source: gdm3
Source-Version: 3.12.2-2.1

We believe that the bug you reported is fixed in the latest version of
gdm3, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <[email protected]> (supplier of updated gdm3 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 14 Aug 2014 02:09:47 +0200
Source: gdm3
Binary: gdm3 libgdm1 libgdm-dev gir1.2-gdm3
Architecture: source
Version: 3.12.2-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<[email protected]>
Changed-By: Josselin Mouette <[email protected]>
Description:
 gdm3       - GNOME Display Manager
 gir1.2-gdm3 - GObject introspection data for the GNOME Display Manager
 libgdm-dev - GNOME Display Manager (development files)
 libgdm1    - GNOME Display Manager (shared library)
Closes: 756068 756719 757889
Changes:
 gdm3 (3.12.2-2.1) unstable; urgency=medium
 .
   * Reinstate patches for better VT management.
     + 17_switch_on_finish.patch: introduce a setting for GdmDisplay that
       says it needs to go to the login screen when set.
     + 18_all_displays_transient.patch: give all local displays the same
       properties. Restart them by default, not restart them when told
       not to.
     + 19_switch_kill_greeter.patch: when switching to an existing
       session, kill the greeter session and the afferent X server.
     + debian/rules: use configure switch to disable the -novtswitch
       argument to X, if it ever builds again on !linux.
   * 01_session_windowpath.patch, 02_slave_windowpath.patch: reintroduce
     WINDOWPATH. Patches from upstream. Closes: #757889.
   * tr.po: updated Turkish translation from Mert Dirik. Closes: #756719.
   * 03_dont_mask_SIGUSR1.patch: patch from upstream. Stop masking
     forcibly SIGUSR1. Closes: #756068.
Checksums-Sha1:
 11ed058773f044c39fb0549c07c09222c05fc5d0 3245 gdm3_3.12.2-2.1.dsc
 8e3bef878fc530cbbbd98332eefcc06014142a87 87108 gdm3_3.12.2-2.1.debian.tar.xz
Checksums-Sha256:
 253f3fe59efc17bb484ea686c3adc6c9a9f05fce40cce880d1659e14be587dbe 3245 
gdm3_3.12.2-2.1.dsc
 40107e56c834bc0bf78554da9c074ab8fe506ef77d854145617cfff41535bad9 87108 
gdm3_3.12.2-2.1.debian.tar.xz
Files:
 1cdde0a2afcc76dd8a4ce003329cd03d 3245 gnome optional gdm3_3.12.2-2.1.dsc
 67549f3366847f061ff61caab3aab604 87108 gnome optional 
gdm3_3.12.2-2.1.debian.tar.xz

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

iQIVAwUBU+wAduePdRdw6BVUAQJBvRAAzja2yPoWjw1Dj0NvnabWNGbncewFL9ME
tHpdDcTfBwEd7i2usVsojQezHFOld03foawDJ5ng0SVHcg/kTLz5ADNpbKh7tJY9
AcslOHE7TAMn5TYIpge5Grt8BlvoUCmPhmYFybtRie9VQjLNafA95zcb2+dVwugD
YYNfBRkiKwsQP5uFyS9R1b67HcIEV4r+0BwmVVGrbdoJqDWXjpgGyMnf3BlZ58l3
5DlaTGHmVG5+4ewtv0xTlkLQy3S4DFc4uXp1TPhmcggGFS1rjUqYz2pHLpMN62WA
IAE3/CxqDbF+SpwOjmb2PdHlEZZcofLNy7ApTGV6HEfBXgeww+SKbh9mEi6GXtZk
Q4D+u1/6fuO+FuYDfU1z6h1/cDNfcIDLRDE4lF7QR8kp5CS/UBQuPwTKxGtnuPKT
mkBRMGIch4Hviw4ABs5Ia0DIgjnhim8tf5quUdFO1BeicX9i81zjc8BobFchaYrr
oLRR5co2H8XXZBHEbpXEm49yEAER5V88heOYn5yvlQB5HZrHHNVvKpIQvtCYBmas
aDP+WrcIwKAqEJ2PmvXlhYxFEBFtDmGJ/pkGArgbzPZfCrSpwXeYY/nskbQJexYY
j7/TEU/mOgIW0iKiR+g4mJI7wUqRzJh5ibZBwLJ8G/PZc+7+8qwG8sFZLMgAxZ+j
v0fmjeK1jbk=
=X71W
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to