- fixed keymaps path
This commit is contained in:
Valery Inozemtsev 2016-06-28 08:01:07 +00:00 committed by Girar Builder pender robot
parent 67aede4287
commit 9be1547f0d
2 changed files with 28 additions and 3 deletions

View File

@ -4,7 +4,7 @@
Name: pve-%sname
Summary: SPICE Terminal Emulator
Version: 2.0
Release: alt1
Release: alt2
License: GPLv2
Group: Networking/WWW
Url: https://git.proxmox.com/
@ -60,6 +60,9 @@ install -pD -m0644 %sname.1 %buildroot%_man1dir/%sname.1
%_man1dir/%sname.1*
%changelog
* Tue Jun 28 2016 Valery Inozemtsev <shrek@altlinux.ru> 2.0-alt2
- fixed keymaps path
* Mon Mar 21 2016 Valery Inozemtsev <shrek@altlinux.ru> 2.0-alt1
- initial release

View File

@ -1,5 +1,5 @@
--- spiceterm/Makefile.alt 2015-02-28 07:18:01.000000000 +0000
+++ spiceterm/Makefile 2016-06-09 12:41:26.674229220 +0000
--- spiceterm/Makefile.alt 2015-02-28 10:18:01.000000000 +0300
+++ spiceterm/Makefile 2016-06-28 10:55:51.243470943 +0300
@@ -20,7 +20,9 @@ SOURCES=screen.c event_loop.c input.c sp
all: ${PROGRAMS}
@ -11,3 +11,25 @@
genfont: genfont.c
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz
--- spiceterm/input.c.alt 2015-02-28 10:18:01.000000000 +0300
+++ spiceterm/input.c 2016-06-28 10:57:19.175452295 +0300
@@ -732,7 +732,7 @@ parse_keymap(const char *language)
}
}
- char *filename = g_strdup_printf("/usr/share/kvm/keymaps/%s", language);
+ char *filename = g_strdup_printf("/usr/share/qemu/keymaps/%s", language);
FILE *f = fopen(filename, "r");
g_free(filename);
if (!f) {
--- spiceterm/spiceterm.pod.alt 2015-02-28 10:18:01.000000000 +0300
+++ spiceterm/spiceterm.pod 2016-06-28 10:56:41.798460222 +0300
@@ -55,7 +55,7 @@ the C<SPICE_TICKET> environment variable
Due to SPICE protocol limitation, you need to specify the keyboard
layout used by the client. We currently use the keymap files from kvm
-(/usr/share/kvm/keymaps/).
+(/usr/share/qemu/keymaps/).
# spiceterm --keymap de