[Pkg-tigervnc-devel] Bug#654924: Helping with tigervnc 1.5.0

Martin Dorey Martin.Dorey at hds.com
Tue May 17 02:06:19 UTC 2016


On Tue, 26 Jan 2016 11:42:22 -0500 Geoffrey Thomas <geofft at hudson-trading.com> wrote:
> ... I
> built tigervnc 1.5.0 from git (4a25ccd) on jessie, with a no-change
> backport of fltk1.3 1.3.3-6

Thanks for this encouraging post.  Sadly, the build on Jessie seems to have broken since.  This fixed it for me:

diff --git a/debian/patches/fix-build-error-with-xserver-1.18.patch b/debian/patches/fix-build-error-with-xserver-1.18.p
index e9f29cf..390370d 100644
--- a/debian/patches/fix-build-error-with-xserver-1.18.patch
+++ b/debian/patches/fix-build-error-with-xserver-1.18.patch
@@ -2,11 +2,14 @@ Description: Fix build error with xorg xserver 1.18
 Author: Liang Guo <guoliang at debian.org
 --- a/unix/xserver/hw/vnc/Input.c
 +++ b/unix/xserver/hw/vnc/Input.c
-@@ -307,7 +307,7 @@
+@@ -300,8 +306,10 @@ static inline void pressKey(DeviceIntPtr dev, int kc, Bool down, const char *msg
+ #if XORG < 111
        n = GetKeyboardEvents(eventq, dev, action, kc);
        enqueueEvents(dev, n);
- #else
--      QueueKeyboardEvents(dev, action, kc, NULL);
+-#else
++#elif XORG < 118
+       QueueKeyboardEvents(dev, action, kc, NULL);
++#else
 +      QueueKeyboardEvents(dev, action, kc);
  #endif
  }

Presumably there's a better way for me to contribute such trifles, but I failed to discover how to do a "pull request" or some such.

I also had a problem with png files in  media/icons/ disappearing, like they were being cleaned but not regenerated:

-- Installing: /home/martind/download/pkg-tigervnc/debian/tmp/usr/share/man/man1/vncviewer.1
CMake Error at media/cmake_install.cmake:44 (file):
  file INSTALL cannot find
  "/home/martind/download/pkg-tigervnc/media/icons/tigervnc_16.png".
Call Stack (most recent call first):
  cmake_install.cmake:65 (include)


Makefile:69: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/martind/download/pkg-tigervnc/obj-x86_64-linux-gnu'
/usr/share/cdbs/1/class/makefile.mk:61: recipe for target 'debian/stamp-makefile-install' failed
make: *** [debian/stamp-makefile-install] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
gbp:error: 'debuild -i -I' failed: it exited with 29
martind at paris:~/download/pkg-tigervnc$

I didn't spot any error related to regenerating them and /usr/bin/convert does exist on this machine.  I removed my write permission on the media/icons/ directory and that got me past it.  I failed to work out what was doing it, sorry.

Getting the llvmpipe part to work was a challenge.  I failed on the first system I tried, which had an nvidia :0.  On another, headless Jessie system, installing libgl1-mesa-dev seemed to be the crux of it.

Then "it" wanted authentication to create a color managed device, per https://bugzilla.redhat.com/show_bug.cgi?id=1149893, but Cancel, as suggested there, got me going.



More information about the Pkg-tigervnc-devel mailing list