diff options
Diffstat (limited to 'meta-oe/recipes-graphics/x11vnc/files')
-rw-r--r-- | meta-oe/recipes-graphics/x11vnc/files/endian-fix.patch | 24 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/x11vnc/files/starting-fix.patch | 25 |
2 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/x11vnc/files/endian-fix.patch b/meta-oe/recipes-graphics/x11vnc/files/endian-fix.patch new file mode 100644 index 000000000..f2a538bf6 --- /dev/null +++ b/meta-oe/recipes-graphics/x11vnc/files/endian-fix.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | libvncserver: replace LIBVNCSERVER_WORDS_BIGENDIAN with WORDS_BIGENDIAN | ||
2 | |||
3 | since macro AC_C_BIGENDIAN is used in autoconf and WORDS_BIGENDIAN is | ||
4 | automatically set for different arch, it is better to use WORDS_BIGENDIAN | ||
5 | instead of LIBVNCSERVER_WORDS_BIGENDIAN, which cuase issue in mips. | ||
6 | |||
7 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | diff --git a/libvncserver/main.c b/libvncserver/main.c | ||
12 | index 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-oe/recipes-graphics/x11vnc/files/starting-fix.patch b/meta-oe/recipes-graphics/x11vnc/files/starting-fix.patch new file mode 100644 index 000000000..f62e405dd --- /dev/null +++ b/meta-oe/recipes-graphics/x11vnc/files/starting-fix.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | "-gui" & "-rfbport" require "wish" installed, or else x11vnc fails to start. | ||
2 | Removing these 2 parameters makes x11vnc works well on poky sato image. | ||
3 | |||
4 | Add also -skip_lockkeys option to ignore all Caps_Lock, Shift_Lock, Num_Lock, | ||
5 | Scroll_Lock keysyms received from viewers, in order to leave the lock state on | ||
6 | the server side unchanged. Yet, the keys will appear correctly. | ||
7 | |||
8 | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | ||
9 | Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> | ||
10 | |||
11 | Upstream-Status: Inappropriate [configuration] | ||
12 | |||
13 | Index: 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 | ||