Skip to contentSkip to conversation

Add man page describing rc_keymap toml file

PATCH New Sean Young 1 participant 1 message Mar 8, 2019 Media (V4L/DVB)

lore
Share & tools
lore

Sean Young

author
#0 lore raw

PATCH 1/1 Add man page describing rc_keymap toml file

---
 configure.ac                    |   1 +
 utils/ir-ctl/ir-ctl.1.in        |   2 +-
 utils/keytable/.gitignore       |   1 +
 utils/keytable/Makefile.am      |   4 +-
 utils/keytable/ir-keytable.1.in |   1 +
 utils/keytable/rc_keymap.5.in   | 251 ++++++++++++++++++++++++++++++++
 v4l-utils.spec.in               |   1 +
 7 files changed, 258 insertions(+), 3 deletions(-)
 create mode 100644 utils/keytable/rc_keymap.5.in
configure.ac +1 -0
index 78cda9ed..4970eece 100644
@@ -70,6 +70,7 @@ AC_CONFIG_FILES([Makefile
 	utils/v4l2-compliance/v4l2-compliance.1
 	utils/v4l2-ctl/v4l2-ctl.1
 	utils/keytable/ir-keytable.1
+	utils/keytable/rc_keymap.5
 	utils/ir-ctl/ir-ctl.1
 	utils/dvb/dvb-fe-tool.1
 	utils/dvb/dvbv5-scan.1
utils/ir-ctl/ir-ctl.1.in +1 -1
index 03fcf438..c69ce8b1 100644
@@ -104,7 +104,7 @@ print the v4l2\-utils version
 .PP
 .SS Format of pulse and space file
 When sending IR, the format of the file should be as follows. A comment
-start with #. The carrier frequency can be specified as:
+starts with #. The carrier frequency can be specified as:
 .PP
 	carrier 38000
 .PP
utils/keytable/.gitignore +1 -0
index 6e1341d9..460e4a13 100644
@@ -1,2 +1,3 @@
 ir-keytable
 ir-keytable.1
+rc_keymap.5
utils/keytable/Makefile.am +2 -2
index 159520b6..148b9446 100644
@@ -1,5 +1,5 @@
 bin_PROGRAMS = ir-keytable
-man_MANS = ir-keytable.1
+man_MANS = ir-keytable.1 rc_keymap.5
 sysconf_DATA = rc_maps.cfg
 keytablesystem_DATA = $(srcdir)/rc_keymaps/*
 udevrules_DATA = 70-infrared.rules
@@ -18,7 +18,7 @@ ir_keytable_LDFLAGS += $(LIBELF_LIBS)
 SUBDIRS = bpf_protocols
 endif
 
-EXTRA_DIST = 70-infrared.rules rc_keymaps rc_keymaps_userspace gen_keytables.pl ir-keytable.1 rc_maps.cfg
+EXTRA_DIST = 70-infrared.rules rc_keymaps rc_keymaps_userspace gen_keytables.pl ir-keytable.1 rc_maps.cfg rc_keymap.5
 
 # custom target
 install-data-local:
utils/keytable/ir-keytable.1.in +1 -0
index 47fa1dfe..c0844945 100644
@@ -135,4 +135,5 @@ License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 .SH SEE ALSO
+rc_keymap(5).
 To transmit IR or receive raw IR, see ir\-ctl(1).
utils/keytable/rc_keymap.5.in new file +251 -0

251 lines not on this page · raw message

v4l-utils.spec.in +1 -0
index 67bdca57..ab0726bb 100644
@@ -160,6 +160,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_bindir}/v4l2-ctl
 %{_bindir}/v4l2-sysfs-path
 %{_mandir}/man1/ir-keytable.1*
+%{_mandir}/man5/rc_keymap.5*
 %{_mandir}/man1/ir-ctl.1*
 
 %files devel-tools
Signature · 1 line
2.20.1