Skip to content

Commit 85810ca

Browse files
d-torrancecrmafra
authored andcommitted
fookb: Update manpage.
In addition to accounting for the various changes in the new version, we also rename from the deprecated 1x section to just 1 and get the current version number from autoconf.
1 parent c28b0dc commit 85810ca

File tree

3 files changed

+20
-48
lines changed

3 files changed

+20
-48
lines changed

fookb/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bin_PROGRAMS = fookb
22
fookb_SOURCES = fookb.c fookb.h images.c images.h opts.h \
33
params.c params.h sound.c sound.h
4-
dist_man_MANS = fookb.1x
4+
dist_man_MANS = fookb.1
55
dist_pkgdata_DATA = 1.xpm 2.xpm 3.xpm 4.xpm rus.xpm lat.xpm boom.xpm \
66
En.xpm Ru.xpm beep_spring.au
77
desktopdir = @datadir@/applications

fookb/configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ PKG_CHECK_MODULES([libXpm], [xpm])
1919
PKG_CHECK_MODULES([WUtil], [WUtil])
2020
PKG_CHECK_MODULES([libdockapp], [dockapp])
2121

22-
AC_OUTPUT(Makefile)
22+
AC_OUTPUT(Makefile fookb.1)

fookb/fookb.1x fookb/fookb.1.in

+18-46
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.\" This manual is distributed in the hope that it will be useful,
66
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
77
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
8-
.TH fookb 1 "10 Jan 2002" "fookb" "FOOcrosoft"
8+
.TH fookb 1 "September 2017"
99
.SH NAME
1010
fookb \- Xkb state indicator with optional Window Maker support
1111
.SH SYNOPSIS
@@ -26,26 +26,31 @@ with Window Maker support).
2626

2727
.SH OPTIONS
2828
.TP
29-
NB! Command line parameters take precedence over config file or X resources!
29+
NB! Command line parameters take precedence over config file!
3030
.TP
31-
All the icons should be of the same size or fookb will refuse to run. If you
32-
use Windowmaker-enabled version of fookb (windowmaker dockable applet) then
31+
All the icons should be of the same size or fookb will refuse to run.
3332
fookb will warn you if you use icons of size more than 64x64, but it will try
3433
to run anyway.
3534
.TP
36-
.B -icon1
35+
.B --icon1
36+
Icon to show for the 1st Xkb group
3737
.TP
38-
.B -icon2
38+
.B --icon2
39+
Icon to show for the 2nd Xkb group
3940
.TP
40-
.B -icon3
41+
.B --icon3
42+
Icon to show for the 3rd Xkb group
4143
.TP
42-
.B -icon4
44+
.B --icon4
45+
Icon to show for the 4th Xkb group
4346
.TP
44-
.B -iconboom
47+
.B --iconboom
48+
Icon to show when Xkb system goes crazy
4549
.TP
46-
.B -display
50+
.B -d,--display
51+
X display to use (normally not needed)
4752

48-
.SH CONFIGURATION FILE (for libWUtil-enabled version)
53+
.SH CONFIGURATION FILE
4954
The configuration file consist of a single PropList dictionary, which
5055
in turn is composed of several PropList key\-value pairs. The
5156
recognized keys is:
@@ -76,24 +81,6 @@ run.
7681
This command will be run if XKB locked group is changed and "Sound" is
7782
set to "Yes".
7883

79-
.SH X resources
80-
.TP
81-
NB! Parameters in PropList config file take precedence over X resources!
82-
.TP
83-
.B fookb.icon1 Filename
84-
.TP
85-
.B fookb.icon2 Filename
86-
.TP
87-
.B fookb.icon3 Filename
88-
.TP
89-
.B fookb.icon4 Filename
90-
.TP
91-
.B fookb.iconBoom Filename
92-
.TP
93-
.B fookb.sound Yes/No
94-
.TP
95-
.B fookb.command Command
96-
9784
.SH EXAMPLES
9885
Here is an example of configuration file.
9986
.P
@@ -109,25 +96,10 @@ Here is an example of configuration file.
10996
}
11097
.fi
11198

112-
Here is an example of app-defaults file.
113-
.P
114-
.nf
115-
fookb.icon1: /usr/local/share/fookb/icon1.xpm
116-
fookb.icon2: /usr/local/share/fookb/icon2.xpm
117-
fookb.icon3: /usr/local/share/fookb/icon3.xpm
118-
fookb.icon4: /usr/local/share/fookb/icon4.xpm
119-
fookb.iconBoom: /usr/local/share/fookb/crash.xpm
120-
fookb.sound: Yes
121-
fookb.command: /home/bgates/bin/playmssound
122-
.fi
123-
12499
.SH FILES
125100
.TP
126-
.B ~/GNUstep/Defaults/FOOkb
127-
\fBfookb\fP defaults (for Window Maker enabled version).
128-
.TP
129101
.B ~/.fookb
130-
\fBfookb\fP defaults (for Window Maker disabled version).
102+
\fBfookb\fP defaults
131103

132104
.SH BUGS
133105
Sometimes \fBfookb\fP receives message about changing XKB group, but
@@ -137,7 +109,7 @@ case \fBfookb\fP will show IconBoom (from config file) picture.
137109
As far as I know the only way to look at this bug is to run vmware.
138110

139111
.SH VERSION
140-
This man page is [hopefully] up-to-date for version 3.1 of \fBfookb\fP.
112+
This man page is [hopefully] up-to-date for version @PACKAGE_VERSION@ of \fBfookb\fP.
141113

142114
.SH AUTHORS
143115
.P

0 commit comments

Comments
 (0)