pve-spiceterm/spiceterm-alt.patch

39 lines
1.8 KiB
Diff
Raw Permalink Normal View History

2017-07-19 12:15:26 +03:00
--- spiceterm/Makefile.alt 2015-02-28 07:18:01.008125536 +0000
+++ spiceterm/Makefile 2017-07-19 08:47:53.296990815 +0000
@@ -19,8 +19,11 @@ SOURCES=screen.c event_loop.c input.c sp
2016-06-09 15:49:31 +03:00
all: ${PROGRAMS}
2017-07-19 12:15:26 +03:00
-spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
2016-06-09 15:49:31 +03:00
- gcc -Werror -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server,libsasl2)
2017-07-19 12:15:26 +03:00
+spiceterm: ${SOURCES} ${HEADERS} spiceterm.c spiceterm.1
2018-11-27 10:58:49 +03:00
+ gcc -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 -o $@ -I$(shell pwd)/spice/server -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,libsasl2) \
2017-07-19 12:15:26 +03:00
+ $(shell pwd)/spice/server/.libs/libspice-server.a \
+ $(shell pwd)/celt/libcelt/.libs/libcelt051.a \
2016-06-09 15:49:31 +03:00
+ -lgio-2.0 -lgobject-2.0 -lopus -lglib-2.0 -ljpeg -llz4 -lpixman-1 -lsasl2 -lssl -lcrypto -lz -lm -lrt
genfont: genfont.c
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz
2016-06-28 11:01:07 +03:00
--- spiceterm/input.c.alt 2015-02-28 10:18:01.000000000 +0300
2017-07-19 12:15:26 +03:00
+++ spiceterm/input.c 2017-07-19 12:12:53.172901735 +0300
2016-06-28 11:01:07 +03:00
@@ -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
2017-07-19 12:15:26 +03:00
+++ spiceterm/spiceterm.pod 2017-07-19 12:12:41.015893190 +0300
2016-06-28 11:01:07 +03:00
@@ -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