Accepting request 250104 from Base:System
- port dumpkeys-C-opt.patch - modified patches: * kbd-1.15.2-dumpkeys-C-opt.patch - kbd-2.0.2-doshell-reference.patch: drop doshell reference from openvt.1 man page [bnc#675317] OBS-URL: https://build.opensuse.org/request/show/250104 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbd?expand=0&rev=70
This commit is contained in:
commit
7b853443b0
@ -1,7 +1,7 @@
|
|||||||
Index: man/man1/dumpkeys.1.in
|
Index: docs/man/man1/dumpkeys.1.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- man/man1/dumpkeys.1.in.orig
|
--- docs/man/man1/dumpkeys.1.in.orig 2013-08-27 22:45:33.000000000 +0200
|
||||||
+++ man/man1/dumpkeys.1.in
|
+++ docs/man/man1/dumpkeys.1.in 2014-09-12 13:42:01.557871837 +0200
|
||||||
@@ -4,6 +4,7 @@
|
@@ -4,6 +4,7 @@
|
||||||
dumpkeys \- dump keyboard translation tables
|
dumpkeys \- dump keyboard translation tables
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -10,7 +10,7 @@ Index: man/man1/dumpkeys.1.in
|
|||||||
[
|
[
|
||||||
.B \-hilfn
|
.B \-hilfn
|
||||||
.BI \-c charset
|
.BI \-c charset
|
||||||
@@ -197,6 +198,12 @@ This option produces an output line `cha
|
@@ -197,6 +198,12 @@
|
||||||
loadkeys how to interpret the keymap. (For example, "division" is
|
loadkeys how to interpret the keymap. (For example, "division" is
|
||||||
0xf7 in iso-8859-1 but 0xba in iso-8859-8.)
|
0xf7 in iso-8859-1 but 0xba in iso-8859-8.)
|
||||||
.LP
|
.LP
|
||||||
@ -25,35 +25,27 @@ Index: man/man1/dumpkeys.1.in
|
|||||||
.TP 20
|
.TP 20
|
||||||
Index: src/dumpkeys.c
|
Index: src/dumpkeys.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- src/dumpkeys.c.orig
|
--- src/dumpkeys.c.orig 2014-06-15 20:33:18.000000000 +0200
|
||||||
+++ src/dumpkeys.c
|
+++ src/dumpkeys.c 2014-09-12 13:47:09.633866557 +0200
|
||||||
@@ -31,6 +31,7 @@
|
@@ -41,6 +41,8 @@
|
||||||
static int fd;
|
|
||||||
static int verbose;
|
|
||||||
static int nr_keys = 0; /* probably 112, 128, 256 or 512 */
|
|
||||||
+static char * console;
|
|
||||||
|
|
||||||
int keymap_index[MAX_NR_KEYMAPS]; /* inverse of good_keymap */
|
|
||||||
int good_keymap[MAX_NR_KEYMAPS], keymapnr, allocct;
|
|
||||||
@@ -582,6 +583,8 @@ valid options are:\n\
|
|
||||||
--funcs-only display only the function key strings\n\
|
--funcs-only display only the function key strings\n\
|
||||||
--keys-only display only key bindings\n\
|
--keys-only display only key bindings\n\
|
||||||
--compose-only display only compose key combinations\n\
|
--compose-only display only compose key combinations\n\
|
||||||
+ -C <vc>\n\
|
+ -C <vc>\n\
|
||||||
+ --console=<vc> Indicate the virtual console device to be used.\n\
|
+ --console=<vc> Indicate the virtual console device to be used.\n\
|
||||||
-c --charset="));
|
-c --charset="));
|
||||||
list_charsets(stderr);
|
lk_list_charsets(stderr);
|
||||||
fprintf(stderr, _("\
|
fprintf(stderr, _("\
|
||||||
@@ -593,7 +596,7 @@ valid options are:\n\
|
@@ -52,7 +54,7 @@
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[]) {
|
main (int argc, char *argv[]) {
|
||||||
- const char *short_opts = "hilvsnf1S:c:V";
|
- const char *short_opts = "hilvsnf1tkdS:c:V";
|
||||||
+ const char *short_opts = "hilvsnf1S:c:C:V";
|
+ const char *short_opts = "hilvsnf1tkdS:C:c:V";
|
||||||
const struct option long_opts[] = {
|
const struct option long_opts[] = {
|
||||||
{ "help", no_argument, NULL, 'h' },
|
{ "help", no_argument, NULL, 'h' },
|
||||||
{ "short-info", no_argument, NULL, 'i' },
|
{ "short-info", no_argument, NULL, 'i' },
|
||||||
@@ -606,6 +609,7 @@ main (int argc, char *argv[]) {
|
@@ -65,6 +67,7 @@
|
||||||
{ "keys-only", no_argument, NULL, 'k' },
|
{ "keys-only", no_argument, NULL, 'k' },
|
||||||
{ "compose-only",no_argument, NULL, 'd' },
|
{ "compose-only",no_argument, NULL, 'd' },
|
||||||
{ "charset", required_argument, NULL, 'c' },
|
{ "charset", required_argument, NULL, 'c' },
|
||||||
@ -61,8 +53,16 @@ Index: src/dumpkeys.c
|
|||||||
{ "verbose", no_argument, NULL, 'v' },
|
{ "verbose", no_argument, NULL, 'v' },
|
||||||
{ "version", no_argument, NULL, 'V' },
|
{ "version", no_argument, NULL, 'V' },
|
||||||
{ NULL, 0, NULL, 0 }
|
{ NULL, 0, NULL, 0 }
|
||||||
@@ -665,6 +669,9 @@ main (int argc, char *argv[]) {
|
@@ -79,6 +82,7 @@
|
||||||
usage();
|
char funcs_only = 0;
|
||||||
|
char keys_only = 0;
|
||||||
|
char diac_only = 0;
|
||||||
|
+ char * console = NULL;
|
||||||
|
|
||||||
|
struct lk_ctx *ctx;
|
||||||
|
|
||||||
|
@@ -135,6 +139,9 @@
|
||||||
|
}
|
||||||
printf("charset \"%s\"\n", optarg);
|
printf("charset \"%s\"\n", optarg);
|
||||||
break;
|
break;
|
||||||
+ case 'C':
|
+ case 'C':
|
||||||
@ -71,12 +71,12 @@ Index: src/dumpkeys.c
|
|||||||
case 'V':
|
case 'V':
|
||||||
print_version_and_exit();
|
print_version_and_exit();
|
||||||
case 'h':
|
case 'h':
|
||||||
@@ -676,7 +683,7 @@ main (int argc, char *argv[]) {
|
@@ -146,7 +153,7 @@
|
||||||
if (optind < argc)
|
if (optind < argc)
|
||||||
usage();
|
usage();
|
||||||
|
|
||||||
- fd = getfd(NULL);
|
- fd = getfd(NULL);
|
||||||
+ fd = getfd(console);
|
+ fd = getfd(console);
|
||||||
|
|
||||||
find_nr_keys();
|
/* check whether the keyboard is in Unicode mode */
|
||||||
|
if (ioctl(fd, KDGKBMODE, &kbd_mode)) {
|
||||||
|
10
kbd-2.0.2-doshell-reference.patch
Normal file
10
kbd-2.0.2-doshell-reference.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Index: docs/man/man1/openvt.1
|
||||||
|
===================================================================
|
||||||
|
--- docs/man/man1/openvt.1.orig 2013-08-27 22:45:33.000000000 +0200
|
||||||
|
+++ docs/man/man1/openvt.1 2014-09-12 11:48:08.465988937 +0200
|
||||||
|
@@ -92,5 +92,4 @@
|
||||||
|
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
.BR chvt (1),
|
||||||
|
-.BR doshell (8),
|
||||||
|
.BR login (1)
|
13
kbd.changes
13
kbd.changes
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 18 10:54:51 UTC 2014 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- port dumpkeys-C-opt.patch
|
||||||
|
- modified patches:
|
||||||
|
* kbd-1.15.2-dumpkeys-C-opt.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 12 09:52:30 UTC 2014 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- kbd-2.0.2-doshell-reference.patch:
|
||||||
|
drop doshell reference from openvt.1 man page [bnc#675317]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 4 17:51:54 UTC 2014 - jw@owncloud.com
|
Thu Sep 4 17:51:54 UTC 2014 - jw@owncloud.com
|
||||||
|
|
||||||
|
4
kbd.spec
4
kbd.spec
@ -50,6 +50,7 @@ Patch5: kbd-1.15.2-setfont-no-cruft.patch
|
|||||||
# TODO: no ideas how to port it.
|
# TODO: no ideas how to port it.
|
||||||
Patch6: kbd-1.15.2-dumpkeys-C-opt.patch
|
Patch6: kbd-1.15.2-dumpkeys-C-opt.patch
|
||||||
Patch9: kbd-2.0.2-comment-typo-qwerty.patch
|
Patch9: kbd-2.0.2-comment-typo-qwerty.patch
|
||||||
|
Patch10: kbd-2.0.2-doshell-reference.patch
|
||||||
|
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@ -89,8 +90,9 @@ Authors:
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
# TODO: no ideas how to port it.
|
# TODO: no ideas how to port it.
|
||||||
# %%patch6
|
%patch6
|
||||||
%patch9
|
%patch9
|
||||||
|
%patch10
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for i in `find data/keymaps/mac -type f` ; do
|
for i in `find data/keymaps/mac -type f` ; do
|
||||||
|
Loading…
Reference in New Issue
Block a user