summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11vnc/files
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/x11vnc/files
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/x11vnc/files')
-rw-r--r--meta/recipes-graphics/x11vnc/files/endian-fix.patch24
-rw-r--r--meta/recipes-graphics/x11vnc/files/starting-fix.patch25
2 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11vnc/files/endian-fix.patch b/meta/recipes-graphics/x11vnc/files/endian-fix.patch
new file mode 100644
index 0000000000..f2a538bf63
--- /dev/null
+++ b/meta/recipes-graphics/x11vnc/files/endian-fix.patch
@@ -0,0 +1,24 @@
1libvncserver: replace LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN
2
3since macro AC_C_BIGENDIAN is used in autoconf and WORDS_BIGENDIAN is
4automatically set for different arch, it is better to use WORDS_BIGENDIAN
5instead of LIBVNCSERVER_WORDS_BIGENDIAN, which cuase issue in mips.
6
7Signed-off-by: Yu Ke <ke.yu@intel.com>
8
9Upstream-Status: Pending
10
11diff --git a/libvncserver/main.c b/libvncserver/main.c
12index b6bd930..8bbb7bf 100644
13--- a/libvncserver/main.c
14+++ b/libvncserver/main.c
15@@ -47,7 +47,7 @@ static MUTEX(extMutex);
16
17 static int rfbEnableLogging=1;
18
19-#ifdef LIBVNCSERVER_WORDS_BIGENDIAN
20+#ifdef WORDS_BIGENDIAN
21 char rfbEndianTest = (1==0);
22 #else
23 char rfbEndianTest = (1==1);
24
diff --git a/meta/recipes-graphics/x11vnc/files/starting-fix.patch b/meta/recipes-graphics/x11vnc/files/starting-fix.patch
new file mode 100644
index 0000000000..f62e405dd1
--- /dev/null
+++ b/meta/recipes-graphics/x11vnc/files/starting-fix.patch
@@ -0,0 +1,25 @@
1"-gui" & "-rfbport" require "wish" installed, or else x11vnc fails to start.
2Removing these 2 parameters makes x11vnc works well on poky sato image.
3
4Add also -skip_lockkeys option to ignore all Caps_Lock, Shift_Lock, Num_Lock,
5Scroll_Lock keysyms received from viewers, in order to leave the lock state on
6the server side unchanged. Yet, the keys will appear correctly.
7
8Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
9Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
10
11Upstream-Status: Inappropriate [configuration]
12
13Index: x11vnc-0.9.12/x11vnc/x11vnc.desktop
14===================================================================
15--- x11vnc-0.9.12.orig/x11vnc/x11vnc.desktop 2011-03-03 10:33:18.000000000 +0800
16+++ x11vnc-0.9.12/x11vnc/x11vnc.desktop 2011-03-03 10:35:20.000000000 +0800
17@@ -1,7 +1,7 @@
18 [Desktop Entry]
19 Name=X11VNC Server
20 Comment=Share this desktop by VNC
21-Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY
22+Exec=x11vnc -bg -rfbport 5900 -skip_lockkeys -o %%HOME/.x11vnc.log.%%VNCDISPLAY
23 Icon=computer
24 Terminal=false
25 Type=Application