Penguin
Blame: defoma-app(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of defoma-app(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 defoma-app
2 !!!defoma-app
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 COMMANDS
7 OPTIONS
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 defoma-app - configure a specific application about fonts registered in Debian Font Manager.
14 !!SYNOPSIS
15
16
17 __defoma-app__ [[''options''] __clean__
18 ''application [[category..]''__
19 defoma-app__ [[''options''] __update__ ''application
20 [[category..]''__
21 defoma-app__ [[''options''] __purge__
22 ''application''__
23 defoma-app__ [[''options''] __ignore__ ''application
24 [[category..]''
25 !!DESCRIPTION
26
27
28 __defoma-app__ is a tool to configure the fonts
29 registered in Defoma, Debian Font Manager, for a specific
30 application. Defoma calls the Defoma-configuration script of
31 the specified application with register or unregister
32 command for each of the fonts registered in the categories
33 accepted by the application. It is supposed to be invoked
34 from postinst/prerm scripts of application packages, but may
35 be invoked from console.
36
37
38 ''application'' specifies the name of the application
39 that is going to be configured. The specified application
40 must have ''application-name''.defoma perl script under
41 /usr/share/defoma/scripts. If ''category'' is specified,
42 only the fonts in the specified categories get processed.
43 Oth- erwise all the fonts in all the categories accepted by
44 the application get processed.
45 !!COMMANDS
46
47
48 __update__
49
50
51 Update the configuration of the specified ''applica-
52 tion'' about the fonts registered in the specified
53 ''category''. ''category'' can be omitted. When it is
54 specified and the specified category is set __ignored__
55 (to be mentioned later), __ignore__ flag gets unset so
56 the category gets updated. Internally the Defo-
57 ma-configuration script of the application gets called with
58 __unregister__ command first and then with
59 __register__ command for each font of the category. Some
60 directories and symlinks specified in the header of the
61 script might be generated automati- cally.
62 This command should be invoked when the Defoma-con-
63 figuration script is newly installed or updated so that the
64 script gets installed to Defoma data di- rectory and the
65 fonts get configured to the appli- cation. It means it is
66 supposed to be invoked on the postinst configure
67 phase.
68
69
70 __clean__
71
72
73 Clean up the configuration of the specified ''appli-
74 cation'' about the fonts registered in the specified
75 ''category''. ''category'' can be omitted. Internally
76 the Defoma-configuration script of the application gets
77 called with __unregister__ command for each font of the
78 category.
79
80
81 __purge__
82
83
84 This command is almost the same as __clean__ command. It
85 only differs on removing the script installed in the defoma
86 data directory and some directories and symlinks if any was
87 generated in the update command before.
88 This command should be invoked when the Defoma-con-
89 figuration script is going to be removed so that the script
90 gets removed and the font configuration gets cleaned. It
91 means it is supposed to be invoked on the prerm remove
92 phase.
93
94
95 __ignore__
96
97
98 This command makes the speficied ''application'' not use
99 the fonts registered in the specified ''category''. It
100 removes the fonts in the category out of the font
101 configuration and sets the `ignore' flag against the
102 category in order to make the Defo- ma-configuration script
103 of the application not ac- cept fonts in the category. If
104 ''category'' is omitted, all categories gets ignored. To
105 unset the `ignore' flag, run defoma-app with __update__
106 command and the category against which you want to unset the
107 flag.
108 !!OPTIONS
109
110
111 __-t__
112
113
114 Exit with true value (0) even if error occurs.
115
116
117 __-v__
118
119
120 Verbose output.
121
122
123 __-d__
124
125
126 Debug/Testing mode.
127
128
129 __-q__
130
131
132 Quiet output.
133 !!SEE ALSO
134
135
136 defoma(1).
137 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.