This file is indexed.

/usr/share/freepwing/doc/freepwing-04.html is in freepwing 1.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<!--
Copyright 1999-2005  Motoyuki Kasahara

Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.

Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.

Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions,
except that this permission notice may be stated in a translation approved
by Free Software Foundation, Inc.
-->

<html lang="ja">
<head>
<meta http-equiv ="Content-Type" content ="text/html; charset=euc-jp">
<link rel="stylesheet" type="text/css" href="freepwing.css">
<title>FreePWING ¥×¥í¥°¥é¥ß¥ó¥°¥É¥­¥å¥á¥ó¥È</title>
</head>
<body>
<p>
[<a href="freepwing-03.html">Á°¤Ø</a>] [<a href="freepwing-05.html">¼¡¤Ø</a>] [<a href="freepwing.html#toc">Ìܼ¡</a>] 
</p>
<hr>
<h1><a name="package">¥Ñ¥Ã¥±¡¼¥¸²½</a></h1>

<p>
¤³¤³¤Þ¤Ç¤ÎÀâÌÀ¤Ç <code>honmon</code> ¥Õ¥¡¥¤¥ë¤ÏÀ¸À®¤Ç¤­¤ë¤è¤¦¤Ë
¤Ê¤ê¤Þ¤·¤¿¤¬¡¢¤³¤ì¤À¤±¤Ç¤Ï JIS X 4081 ·Á¼°¤Î½ñÀҤȤ·¤Æ´°Á´¤Ê¤â¤Î¤Ç¤Ï
¤¢¤ê¤Þ¤»¤ó¡£
¤³¤Î¾Ï¤Ç¤Ï¡¢JIS X 4081 ·Á¼°¤Î½ñÀҤȤ·¤Æ¥Ñ¥Ã¥±¡¼¥¸²½¤¹¤ëÊýË¡¤Ê¤É¤Ë
¤Ä¤¤¤ÆÀâÌÀ¤·¤Þ¤¹¡£
</p>

<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h2><a name="catalogs">catalogs</a></h2>

<p>
JIS X 4081 ·Á¼°¤Î½ñÀҤǤϡ¢¤³¤ì¤Þ¤Ç¤ËÀ¸À®¤·¤¿ <code>honmon</code> 
¥Õ¥¡¥¤¥ë¤Î¾¤Ë¡¢<code>catalogs</code> ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬É¬¤ºÉ¬ÍפǤ¹¡£
FreePWING ¤Ë¤Ï <code>catalogs</code> ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë»Å³Ý¤±¤¬ÍÑ°Õ
¤È¤·¤Æ¡¢EPWUTIL ¤È¤¤¤¦¥½¥Õ¥È¥¦¥§¥¢¤ËÉÕ°¤·¤Æ¤¤¤ë <code>catdump</code>
¥³¥Þ¥ó¥É¤È¸ß´¹¤Î Perl ¥¹¥¯¥ê¥×¥È¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
</p>

<p>
<code>catdump</code> ¤ò»È¤Ã¤Æ <code>catalogs</code> ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤¹¤ë
¤Ë¤Ï¡¢¤Þ¤º¼¡¤Î¤è¤¦¤Ê <code>catalogs.txt</code> ¥Õ¥¡¥¤¥ë¤òÍÑ°Õ¤·¤Þ¤¹¡£
</p>

<blockquote>
<pre>
[Catalog]
FileName   = catalogs
Type       = EPWING1
Books      = 1

[Book]
Title      = "¹ñ¸ì¼­Åµ"
BookType   = 6001
Directory  = "KOKUGO"
</pre>
</blockquote>

<p>
ÍÑ°Õ¤¬¤Ç¤­¤¿¤é¡¢¼ÂºÝ¤Ë <code>catalogs</code> ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£
<code>catdump</code> ¤òľÀܵ¯Æ°¤¹¤ëÂå¤ï¤ê¤Ë¡¢¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
</p>

<blockquote>
<pre>
% fpwmake catalogs
</pre>
</blockquote>

<p>
<code>catalogs.txt</code> ¥Õ¥¡¥¤¥ë¤Î½ñ¼°¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
<a href="catdump.txt">EPWUTIL ÉÕ°¤Î <code>catdump</code> ¤Î¥Þ¥Ë¥å¥¢¥ë</a>
¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
</p>

<p>
¤Ê¤ª¡¢<code>/usr/local/share/freepwing/catalogs</code> ¥Ç¥£¥ì¥¯¥È¥ê¤Ë
catdump ÍѤΠ<code>catalogs.txt</code> ¤Î¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¤È¡¢ catdump
¤ÇÀ¸À®¤·¤¿ <code>catalogs</code> ¥Õ¥¡¥¤¥ë¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹ 
(¤¿¤À¤·¡¢FreePWING ¤ò <code>/usr/local</code> °Ê²¼¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ
datadir ¤òÊѹ¹¤·¤Æ¤¤¤Ê¤¤¾ì¹ç)¡£
¤³¤Á¤é¤ò»²¹Í¤Ë¤¹¤ë¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£
</p>

<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h2><a name="Makefile-package">¥Ñ¥Ã¥±¡¼¥¸²½¤Î¤¿¤á¤Î Makefile ¤Î²þÎÉ</a></h2>

<p>
ÍÑ°Õ¤·¤¿ <code>Makefile</code> ¤Ë¤¤¤¯¤Ä¤«¤ÎÊÑ¿ô¤òÄɲ乤뤳¤È¤Ç¡¢
¥Ñ¥Ã¥±¡¼¥¸²½¤òÍưפˤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
°Ê²¼¤Ëµ­½ÒÎã¤òµ­¤·¤Þ¤¹¡£
</p>

<blockquote>
<pre>
PACKAGE = kokugo-fpw1.0
PACKAGEEXTRA = README.pkg=README TODO VERSION
PACKAGEDEPS  = VERSION
ARCHIVEEXTRA = README.pkg TODO
CLEANEXTRA   = VERSION
DIR = kokugo

VERSION:
      rm -f $@
      date +'version %Y-%m-%d' &gt; VERSION
</pre>
</blockquote>

<p>
³Æ¥Ñ¥é¥á¥¿¤Î°ÕÌ£¤Ï¡¢¼¡¤ÎÄ̤ê¤Ç¤¹¡£
</p>

<dl>
<dt><code>PACKAGE</code></dt>
<dd>
¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Î̾Á°¤Ç¤¹¡£
ÊÑ´¹¥×¥í¥°¥é¥à°ì¼°¤ò¡¢tar+gzip ¤ª¤è¤Ó zip ·Á¼°¤Ç¥¢¡¼¥«¥¤¥Ö¤¹¤ëºÝ¤Î
¥È¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤ª¤è¤Ó¥Õ¥¡¥¤¥ë̾¤ÎÀÜƬ¼­¤Ë»È¤ï¤ì¤Þ¤¹¡£
¾åµ­¤ÎÎã¤Ç¤Ï¥È¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤Ï <code>kokugo-fpw1.0</code>¡¢¥Õ¥¡¥¤¥ë
̾¤Ï <code>kokugo-fpw1.0-src.tar.gz</code> ¤Ë¤Ê¤ê¤Þ¤¹¡£
¤Þ¤¿¡¢JIS X 4081 ·Á¼°¤ËÊÑ´¹¤·¤¿½ñÀҥǡ¼¥¿°ì¼°¤ò¥Ñ¥Ã¥±¡¼¥¸²½¤·¤Æ 
tar+gzip ·Á¼°¤ä zip ·Á¼°¤Ç¥¢¡¼¥«¥¤¥Ö¤¹¤ëºÝ¤Î¥Õ¥¡¥¤¥ë̾¤Ë¤â»È¤ï¤ì¤Þ¤¹¡£
¾åµ­¤ÎÎã¤Ç¤Ï <code>kokugo-fpw1.0.tar.gz</code>¡¢
<code>kokugo-fpw1.0.zip</code> ¤Ë¤Ê¤ê¤Þ¤¹¡£
</dd>

<dt><code>PACKAGEEXTRA</code></dt>
<dd>
JIS X 4081 ·Á¼°¤ËÊÑ´¹¤·¤¿½ñÀҥǡ¼¥¿°ì¼° (<code>catalogs</code>¡¢
<code>honmon</code> ¤ª¤è¤Ó³°»ú¥Õ¥¡¥¤¥ë) ¤ò¼ý¤á¤¿¥¢¡¼¥«¥¤¥Ö¤òºî¤ëºÝ¤Ë¡¢
½ñÀҥǡ¼¥¿°Ê³°¤Ë°ì½ï¤ËÆþ¤ì¤ë¥Õ¥¡¥¤¥ë¤ò½ñ¤­Ê¤٤ޤ¹¡£
`¥Õ¥¡¥¤¥ë̾=¥Õ¥¡¥¤¥ë̾' ¤È¤¤¤¦·Á¤Ç»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢º¸ÊդΥե¡¥¤¥ë¤ò±¦ÊÕ
¤Î¥Õ¥¡¥¤¥ë̾¤Ë²þ̾¤·¤Æ¥Ñ¥Ã¥±¡¼¥¸¤ËÆþ¤ì¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
</dd>

<dt><code>PACKAGEDEPS</code></dt>
<dd>
ÊÑ´¹¥×¥í¥°¥é¥à°ì¼°¤Î¥¢¡¼¥«¥¤¥Ö¤òºîÀ®¤¹¤ëºÝ¤Ë¡¢¤³¤³¤Ë½ñ¤«¤ì¤¿¥¿¡¼¥²¥Ã¥È
¤¬Á°¤â¤Ã¤Æ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
<code>PACKAGEEXTRA</code> ¤Ç»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¡¢ºÇ½é¤«¤éÍÑ°Õ¤µ¤ì¤Æ
¤¤¤ë¥Õ¥¡¥¤¥ë¤Ç¤Ï¤Ê¤¯¡¢²¿¤é¤«¤Î½èÍý¤ò¤·¤ÆÀ¸À®¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¥Õ¥¡¥¤¥ë
¤¬¤¢¤Ã¤¿¾ì¹ç¤Ï¡¢¤³¤Î <code>PACKAGEDEPS</code> ¤Ë½ñ¤­¡¢À¸À®ÊýË¡¤ò
<code>Makefile</code> ¤ÎÃæ¤Ëµ­¤·¤Æ¤ª¤¯¤ÈÎɤ¤¤Ç¤·¤ç¤¦¡£
</dd>

<dt><code>ARCHIVEEXTRA</code></dt>
<dd>
ÊÑ´¹¥×¥í¥°¥é¥à°ì¼°¤Î¥¢¡¼¥«¥¤¥Ö¤òºî¤ëºÝ¤Ë¡¢<code>README</code>¡¢
<code>Makefile</code>¡¢catdump ÍѤΠ<code>catalogs.txt</code> °Ê³°¤Ë
°ì½ï¤ËÆþ¤ì¤ë¥Õ¥¡¥¤¥ë¤ò½ñ¤­Ê¤٤ޤ¹¡£
`¥Õ¥¡¥¤¥ë̾=¥Õ¥¡¥¤¥ë̾' ¤È¤¤¤¦·Á¤Ç»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢º¸ÊդΥե¡¥¤¥ë¤ò±¦ÊÕ
¤Î¥Õ¥¡¥¤¥ë̾¤Ë²þ̾¤·¤Æ¥Ñ¥Ã¥±¡¼¥¸¤ËÆþ¤ì¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£
</dd>

<dt><code>DIR</code></dt>
<dd>
<code>honmon</code> ¤ª¤è¤Ó³°»ú¥Õ¥¡¥¤¥ë¤ò¼ý¤á¤ë¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°
¤Ç¤¹¡£
<code>catalogs.txt</code> ¤ÎÃæ¤Ç <code>Directory</code> ¥Ñ¥é¥á¥¿¤Ë
½ñ¤¤¤¿Ãͤò¾®Ê¸»ú²½¤·¤¿¤â¤Î¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¤Þ¤¿¡¢¤³¤Î <code>DIR</code> ¤ÎÃͤϡ¢ÊÑ´¹¤·¤¿½ñÀҥǡ¼¥¿°ì¼°¤ò
¥Ñ¥Ã¥±¡¼¥¸²½¤¹¤ëºÝ¤Î¥È¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤â»È¤ï¤ì¤Þ¤¹¡£
</dd>
</dl>

<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h2><a name="fpwmake-install">¥¤¥ó¥¹¥È¡¼¥ë</a></h2>

<p>
Á°Àá¤ÇÀâÌÀ¤·¤¿²þÎɤò <code>Makefile</code> ¤Ë»Ü¤·¤¿¤é¡¢fpwmake ¤ò¼Â¹Ô
¤·¤Æ¤ß¤Þ¤¹¡£
¤Þ¤º¡¢JIS X 4081 ·Á¼°¤ËÊÑ´¹¤·¤¿½ñÀҥǡ¼¥¿°ì¼°¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤Þ¤¹¡£
¤³¤ì¤Ë¤Ï¡¢install ¥¿¡¼¥²¥Ã¥È¤ò»È¤¤¤Þ¤¹¡£
</p>

<blockquote>
<pre>
% fpwmake install
</pre>
</blockquote>

<p>
FreePWING ¤ò <code>/usr/local</code> °Ê²¼¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢
<code>datadir</code> ¤Î°ÌÃÖ¤òÊѹ¹¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
<code>/usr/local/share/dict</code> ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£
Á°Àá¤ÎÎã¤ò»È¤Ã¤¿¾ì¹ç¡¢¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Ï¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
</p>

<blockquote>
<pre>
kokugo/README
kokugo/TODO
kokugo/catalogs
kokugo/kokugo/data/honmon
</pre>
</blockquote>

<p>
Ê̤ξì½ê¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢<code>INSTALLDIR</code> ¤Ç»ØÄê
¤·¤Þ¤¹¡£
</p>

<blockquote>
<pre>
% fpwmake install installdir=/some/where
</pre>
</blockquote>

<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h2><a name="fpwmake-archive">ÊÑ´¹¤·¤¿½ñÀҥǡ¼¥¿¤Î¥¢¡¼¥«¥¤¥Ö</a></h2>

<p>
¼¡¤Ë¡¢JIS X 4081 ·Á¼°¤ËÊÑ´¹¤·¤¿½ñÀҥǡ¼¥¿°ì¼°¤ò¥Ñ¥Ã¥±¡¼¥¸²½¤·¤Æ 
tar+gzip ·Á¼°¤ª¤è¤Ó zip ·Á¼°¤Ç¥¢¡¼¥«¥¤¥Ö¤·¤Æ¤ß¤Þ¤¹¡£
(¥¤¥ó¥¹¥È¡¼¥ë¤ò¼Â¹Ô¤·¤Ê¤¯¤Æ¤â¡¢¥¢¡¼¥«¥¤¥Ö¤ÎºîÀ®¤Ï²Äǽ¤Ç¤¹¡£)
¤³¤ì¤Ë¤Ï¡¢package ¥¿¡¼¥²¥Ã¥È¤ò»È¤¤¤Þ¤¹¡£
</p>

<blockquote>
<pre>
% fpwmake package
</pre>
</blockquote>

<p>
Àè¤Ë¤âµ­¤·¤Þ¤·¤¿¤¬¡¢º£²ó¤ÎÎã¤Ç¤Ï¡¢¤Ç¤­¤¢¤¬¤ë¥Õ¥¡¥¤¥ë̾¤Ï
<code>kokugo-fpw1.0.tar.gz</code>¡¢<code>kokugo-fpw1.0.zip</code> ¤Ë
¤Ê¤ê¤Þ¤¹¡£
¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¼ý¤á¤é¤ì¤ë¥Õ¥¡¥¤¥ë¤Ï¡¢¼¡¤ÎÄ̤ê¤Ç¤¹¡£
´ðËÜŪ¤Ë¡¢¥¤¥ó¥¹¥È¡¼¥ë¤Î¤È¤­¤Î¹½À®¤ÈƱ¤¸¤Ç¤¹¡£¤¿¤À¤·¡¢zip ·Á¼°¤Ç¤Ï
¥Õ¥¡¥¤¥ë̾¤ª¤è¤Ó¥Ç¥£¥ì¥¯¥È¥ê̾¤ÏÂçʸ»ú¤Ë¤Ê¤ê¤Þ¤¹¡£
</p>

<blockquote>
<pre>
kokugo/README
kokugo/TODO
kokugo/catalogs
kokugo/kokugo/data/honmon
</pre>
</blockquote>


<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h2><a name="fpwmake-package">ÊÑ´¹¥¹¥¯¥ê¥×¥È¤Î¥¢¡¼¥«¥¤¥Ö</a></h2>

<p>
ºÇ¸å¤Ë¡¢ÊÑ´¹¥×¥í¥°¥é¥à°ì¼°¤ò¥Ñ¥Ã¥±¡¼¥¸²½¤·¤Æ tar+gzip ·Á¼°¤Ç¥¢¡¼¥«¥¤¥Ö
¤·¤Æ¤ß¤Þ¤¹¡£
(honmon ¤òºîÀ®¤·¤Æ¤¤¤Ê¤¯¤Æ¤â¡¢¥¢¡¼¥«¥¤¥Ö¤ÎºîÀ®¤Ï²Äǽ¤Ç¤¹¡£)
¤³¤ì¤Ë¤Ï¡¢archive ¥¿¡¼¥²¥Ã¥È¤ò»È¤¤¤Þ¤¹¡£
</p>

<blockquote>
<pre>
% fpwmake archive
</pre>
</blockquote>

<p>
º£²ó¤ÎÎã¤Ç¤Ï¡¢¤Ç¤­¤¢¤¬¤ë¥Õ¥¡¥¤¥ë̾¤Ï
<code>kokugo-fpw1.0-src.tar.gz</code> ¤Ë¤Ê¤ê¤Þ¤¹¡£
¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¼ý¤á¤é¤ì¤ë¥Õ¥¡¥¤¥ë¤Ï¡¢¼¡¤ÎÄ̤ê¤Ç¤¹¡£
</p>

<blockquote>
<pre>
kokugo-fpw1.0/README
kokugo-fpw1.0/catalogs.txt
kokugo-fpw1.0/Makefile
kokugo-fpw1.0/README.pkg
kokugo-fpw1.0/TODO
</pre>
</blockquote>

<!-- ============================================================= -->
<hr>
<p>
[<a href="freepwing-03.html">Á°¤Ø</a>] [<a href="freepwing-05.html">¼¡¤Ø</a>] [<a href="freepwing.html#toc">Ìܼ¡</a>] 
</p>
</body>
</html>