[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-devel:09150] man-db Japanese quick hack (Re: Re: Priorities of JP Packages)
- From: Fumitoshi UKAI <ukai@debian.or.jp>
- Subject: [debian-devel:09150] man-db Japanese quick hack (Re: Re: Priorities of JP Packages)
- Date: Sat, 22 May 1999 05:44:00 +0900
- Organization: Debian JP Project
- X-ml-info: If you have a question, send a mail with the body "# help" (without quotes) to the address debian-devel-ctl@debian.or.jp; help=<mailto:debian-devel-ctl@debian.or.jp?body=help>
- X-ml-name: debian-devel
- X-mlserver: fml [fml 2.2]; post only (only members can post)
- Message-id: <14149.50552.166008.30989M@xxxxxxxxxxxxxxxxxxxxx>
- X-mail-count: 09150
- User-agent: Wanderlust/0.10.2 (I'm Your Man) SEMI/1.13.4 (Terai) FLIM/1.12.6 (Family-Kòenmae) Emacs/20.3 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
At Sat, 22 May 1999 03:55:42 +0900,
Takuro KITAME <kitame@debian.or.jp> wrote:
> ã¡ã‚‡ã£ã¨æ„æ€ã‚¢ãƒª:
> man-db-ja
ã§ã™ãŒã€debian-japanese@lists.debian.org ã‚„ debian-i18n@lists.debian.org
ã«ã‚‚æµã—ãŸé€šã‚Š man-db ã« bug ã¨ã—ã¦å ±å‘Šã—ã¾ã—ãŸã€‚Bug#38107
ã§ã€jgroff ã‚„ jless ã«ä¾å˜ã¨ã„ã†ã®ã¯
manpages-ja ã‚„ xmanpages-ja ã®æ–¹ã§ depends (or recommends)
ã™ã‚Œã°ã‚ˆã„ã‹ã¨æ€ã„ã¾ã™ã€‚よã‚ã—ã
ã‚㨠ja.po ã‚„ manã®æ—¥æœ¬èªžã‚‚ã¤ã£ã“ã‚“ã æ–¹ãŒã‚ˆã„ã¨æ€ã„ã¾ã™ãŒâ€¦
diff -Nru man-db-2.3.10/include/manconfig.h.in man-db-2.3.10.ja/include/manconfig.h.in
--- man-db-2.3.10/include/manconfig.h.in Sat May 22 04:21:17 1999
+++ man-db-2.3.10.ja/include/manconfig.h.in Sat May 22 04:02:56 1999
@@ -127,6 +127,8 @@
#ifndef NROFF_MISSING
# ifndef NROFF
# define NROFF "@nroff@"
+/* Japanese hack: 1999/05/22: ukai@debian.or.jp */
+# define NROFF_JA "@nroff@ -Tnippon "
# endif
#endif
diff -Nru man-db-2.3.10/src/man.c man-db-2.3.10.ja/src/man.c
--- man-db-2.3.10/src/man.c Sat May 22 04:21:18 1999
+++ man-db-2.3.10.ja/src/man.c Sat May 22 04:20:24 1999
@@ -376,6 +376,9 @@
static int ascii; /* insert tr in the output pipe */
static int save_cat; /* security breach? Can we save the cat? */
+/* Japanese hack: 1999/05/22 ukai@debian.or.jp */
+static int japanese; /* japanese page? */
+
static int found_a_stray; /* found a straycat */
#ifdef MAN_CATS
@@ -1352,7 +1355,12 @@
#ifdef NROFF_MISSING
assert (0);
#else
+/* Japanese hack: 1999/05/22: ukai@debian.or.jp */
+ if (japanese) {
+ filter = NROFF_JA;
+ } else
filter = NROFF;
+
#endif
}
@@ -2240,8 +2248,10 @@
free(catpath);
} else
database = mkdbname(manpath);
-
+/* Japanese hack: 1999/05/22: ukai@debian.or.jp */
+ japanese = (strstr(manpath, "/ja") != NULL);
in_cache = lookup(manpath); /* have we looked here already? */
+
if ( !in_cache ) {
if ( (dbf = MYDBM_RDOPEN(database)) && !dbver_rd(dbf)) {
--
鵜飼文æ•