Your message dated Thu, 19 Nov 2009 22:25:03 +0000
with message-id <[email protected]>
and subject line Bug#447723: fixed in vnc4 4.1.1+X4.3.0-33
has caused the Debian Bug report #447723,
regarding support to XEmbed
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.)


-- 
447723: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447723
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xvnc4viewer
Version: 4.1.1+X4.3.0-21
Severity: normal
Tags: patch

While working in a product here at O.S. Systems, we cook up this patch
and it might be useful for others too.

Thanks in advance,

--- a/parameters.h      2007-07-12 09:22:24.591551132 -0300
+++ b/parameters.h      2007-07-12 09:25:23.101723657 -0300
@@ -38,6 +38,7 @@
 extern rfb::BoolParameter fullScreen;
 extern rfb::StringParameter geometry;
 extern rfb::BoolParameter popupXDialog;
+extern rfb::StringParameter xEmbed;
 
 extern char aboutText[];
 extern char* programName;
--- a/vncviewer.cxx     2007-07-12 09:23:41.595939203 -0300
+++ b/vncviewer.cxx     2007-07-12 09:25:27.601980041 -0300
@@ -100,6 +100,7 @@
                            !isatty(0));
 StringParameter geometry("geometry", "X geometry specification", "");
 StringParameter displayname("display", "The X display", "");
+StringParameter xEmbed("XEmbed", "Embed into another window with a given id", 
"");
 
 /* Support for tunnelling */
 StringParameter via("via", "Gateway to tunnel via", "");
--- a/CConn.cxx 2007-07-12 09:24:19.098076430 -0300
+++ b/CConn.cxx 2007-07-12 09:29:29.115743176 -0300
@@ -295,9 +295,16 @@
   fullColourPF = desktop->getPF();
   if (!serverPF.trueColour)
     fullColour = true;
-  recreateViewport();
+  CharArray xEmbedStr(xEmbed.getData());
+  if (!xEmbedStr.buf[0])
+    recreateViewport();
   formatChange = encodingChange = true;
   requestNewUpdate();
+  if (xEmbedStr.buf[0]) {
+    unsigned int targetWindow = 0;
+    targetWindow = strtol(xEmbed.getData(), NULL, 0);
+    XReparentWindow(dpy, desktop->win(), (Window) targetWindow, 0, 0);
+  }
 }
 
 // setDesktopSize() is called when the desktop size changes (including when


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xvnc4viewer depends on:
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.2-3        GCC support library
ii  libice6                 2:1.0.4-1        X11 Inter-Client Exchange library
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libstdc++6              4.2.2-3          The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

xvnc4viewer recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: vnc4
Source-Version: 4.1.1+X4.3.0-33

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

vnc4_4.1.1+X4.3.0-33.diff.gz
  to main/v/vnc4/vnc4_4.1.1+X4.3.0-33.diff.gz
vnc4_4.1.1+X4.3.0-33.dsc
  to main/v/vnc4/vnc4_4.1.1+X4.3.0-33.dsc
vnc4server_4.1.1+X4.3.0-33_i386.deb
  to main/v/vnc4/vnc4server_4.1.1+X4.3.0-33_i386.deb
xvnc4viewer_4.1.1+X4.3.0-33_i386.deb
  to main/v/vnc4/xvnc4viewer_4.1.1+X4.3.0-33_i386.deb



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.
Ola Lundqvist <[email protected]> (supplier of updated vnc4 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, 19 Nov 2009 21:56:04 +0100
Source: vnc4
Binary: vnc4server xvnc4viewer
Architecture: source i386
Version: 4.1.1+X4.3.0-33
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[email protected]>
Changed-By: Ola Lundqvist <[email protected]>
Description: 
 vnc4server - Virtual network computing server software
 xvnc4viewer - Virtual network computing client software for X
Closes: 282820 447723 550789 551278
Changes: 
 vnc4 (4.1.1+X4.3.0-33) unstable; urgency=low
 .
   * Applying patch from Red Hat to solve problem with vncconfig crashing
     on amd64. Closes: #551278. Thanks to Michael Terry
     <[email protected]> for pointing to the patch.
   * Applied patch from Roman Mamedov <[email protected]> that adds IPv6
     support for the vncserver. Closes: #550789.
   * Fixed assertion by using suggested patch from ubuntu bug 202123.
     Closes: #282820.
   * Applied patch from Otavio Salvador <[email protected]> to support
     XEmbed. Closes: #447723.
Checksums-Sha1: 
 5bfcd13e1877fba34fcb4f5c28b38ffc45d382b7 1083 vnc4_4.1.1+X4.3.0-33.dsc
 b5646373e8fb402a6fac8dfa5c5f58d0bee916a1 57803 vnc4_4.1.1+X4.3.0-33.diff.gz
 da12adfd89f91da676e4d5decd876cc07f9c9efe 1864062 
vnc4server_4.1.1+X4.3.0-33_i386.deb
 18cc9f6be6fceac31133fb8265d65c273f914195 133646 
xvnc4viewer_4.1.1+X4.3.0-33_i386.deb
Checksums-Sha256: 
 4eb210652976c119ab32524481a06c42b8a7bb3511d1acab8cfd584fd48adf3f 1083 
vnc4_4.1.1+X4.3.0-33.dsc
 805c82989f554da8b1fe503bae93574bc1d5c5055cda560f25747fdf0b337a0e 57803 
vnc4_4.1.1+X4.3.0-33.diff.gz
 f9d033b0bd40b16897fcacc0a148dc8ca29b7e19afc2dd052ee1bcb81d63ba2c 1864062 
vnc4server_4.1.1+X4.3.0-33_i386.deb
 df2b43bc0b2cc3f8987481d57550b9236664eee0891620abc88c156023c6572f 133646 
xvnc4viewer_4.1.1+X4.3.0-33_i386.deb
Files: 
 a291182ac4cc8e69bda96907f74860f7 1083 x11 optional vnc4_4.1.1+X4.3.0-33.dsc
 92782a0ef4ee95e404cd368ea78e9fdf 57803 x11 optional 
vnc4_4.1.1+X4.3.0-33.diff.gz
 61331d9e9e2a63efdeb4cbda5b166f25 1864062 x11 optional 
vnc4server_4.1.1+X4.3.0-33_i386.deb
 0892721a612d361356035263295d3cce 133646 net optional 
xvnc4viewer_4.1.1+X4.3.0-33_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksFuksACgkQGKGxzw/lPdlhgACdGUHwJPAl7Ii6VBivgpYanng9
P48AnR35RoV/VOmF8Zp5BHCm2/asq/FV
=wllw
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to