OSDN Git Service
Akihiro MOTOKI [Wed, 19 Oct 2011 17:43:51 +0000 (02:43 +0900)]
man2html: Handle table format spec which consists of only '_'.
Before this commit, a data line corresponding to the table
format specification which consists of only '_' is disappeared
during conversion by man2html. For example, in signal(7)
a first row next to the title disappears after HTML conversion.
This commit adds a function to check if a table format spec for
a current row has one or more data item and during scanning data
items scan_table() skips such a table format spec without data items.
Akihiro MOTOKI [Sun, 30 Oct 2011 01:11:18 +0000 (10:11 +0900)]
man2html: Supports \(Tm (which means a trademark).
Akihiro MOTOKI [Sun, 30 Oct 2011 00:11:44 +0000 (09:11 +0900)]
man2html: Apply Debian patches (part 5: man2html).
It is a final patch for debian patch series.
This commit applies a following patch (to man2html program):
011-man2html-doctype-status.patch
Add DOCTYPE and `Status:' header to man2html
012-man2html-TH.patch
Accept troff macros in .TH line (closes: #180335).
013-man2html-file-link.patch
file:/path --> file:///path
018-man2html-quotes.patch
Add support for \(lq and \(rq escape sequences (closes: #338339).
019-man2html-noindex-segfault.patch
Fix segfault on man pages with no sections (see bug #349907).
020-man2html-escape_N.patch
Add support for \N'n' groff sequences (closes: #348553).
021-man2html-perl_modules.patch
Add support for Perl modules (closes: #363384).
Patch by Nicolas François.
023-man2html-double-quotes.patch
Properly decode double quotes inside the quoted text (closes: #406098).
024-man2html-uncompress.patch
Add support for uncompressing gzipped man pages.
If the requested page does not exist, try to serve gzipped one instead (closes: #418771).
025-man2html-macro-all-args.patch
Handle \$* and \$@ escapes.
026-man2html-macro-longname.patch
Support macro names longer than two chars (closes: #408232).
027-man2html-macro-priority.patch
Parse user-defined macros before the global ones (closes: #5587).
028-man2html-segfault.patch
Fix segfault when viewing groff(7) page.
029-man2html-new-macros.patch
Handle \[xx] escapes and add a few commonly used char/string definitions.
031-man2html-BR-empty-line.patch
Ignore font change requests that are note followed by any words (closes: #489181).
033-gcc-warnings.patch
Fix some gcc warnings.
Akihiro MOTOKI [Sat, 29 Oct 2011 23:46:34 +0000 (08:46 +0900)]
man2html: Apply Debian patches (part 4: man pages).
This commit applies a following patch (to man pages itself):
017-man2html.seealso.patch
Add SEE ALSO hman to man2html man page (closes: #285401).
022-man2html-it-manpage.patch
Fix syntax error in the Italian man2html(1) page.
030-man2html-man-hyphens.patch
Fix lintian's `hyphen-used-as-minus-sign'
032-man2html-man-remove-LO-tags.patch
Remove `.LO 1' lines (lintian).
Akihiro MOTOKI [Sat, 29 Oct 2011 23:40:06 +0000 (08:40 +0900)]
man2html: Apply Debian patches (part 3: template).
This commit applies a following patch (related to template):
010-aux-debian.patch
Change templates to be more like in old Debian version,
esp. use <FORM> instead of <ISINDEX>
Akihiro MOTOKI [Sat, 29 Oct 2011 23:23:42 +0000 (08:23 +0900)]
man2html: Apply Debian patches (part 2: hman).
This commit applies following patches (related to hman):
001-hman-bashism.patch
Remove bashism from hman
003-hman-browser.patch
Rename BROWSER variable to HMAN_BROWSER in the hman.sh script
to avoid conflict with sensible-browser's BROWSER.
014-hman-sensible-browser.patch
Use sensible-browser if lynx can't be found.
015-hman-urlencode.patch
Properly encode URLs given to browsers, so `hman index++' should
work now (closes: #258027)
(Note that patch 003 and 005 seems to be Debian-specific.)
Akihiro MOTOKI [Sat, 29 Oct 2011 23:08:26 +0000 (08:08 +0900)]
man2html: Apply Debian patches (part 1: file paths).
Debian patches are from man2html 1.6g-5 (downloaded from
http://ftp.debian.org/debian/pool/main/m/man2html/man2html_1.6g-5.debian.tar.gz).
This commit applies following patches (related to file paths):
000-Makefile.in.patch
Add support for $(DEBIAN_CFLAGS).
002-man2html-default-cgibase.patch
Set default cgibase for man2html to an empty string, so hyperlinks
will be like `href="/cgi-bin/..."'
004-spelling.patch
s/manpage/man page/g
005-paths.patch
Change paths to conform FHS and Debian Policy.
(e.g., cgi-path from /home/httpd to /usr/lib).
Akihiro MOTOKI [Sat, 29 Oct 2011 22:40:54 +0000 (07:40 +0900)]
Reverts commits for man2html/* to apply Debian patches successfully.
Many useful modifications have been done by Debian Project.
To import them, this commit reverts JM original patches temporarily.
This commit reverts following commits for man2html/*:
-
e73b1462d4ad29f3d9aa
man2html: Fix a bug that a table which has a format specification
with a '.' only line is not converted to HTML properly.
-
5125ba9b2019ce36a145
man2html: Fixes a bug that `maxcol' is not calculated properly.
-
fa23d86f204a3b412a2e
man2html: Skip leading space in each items in a table.
-
ebd68a308dc8c37ae5cf
man2html: Handle table format spec which consists of only '_'.
-
2c8b4e18491f7e45c510 Supports \(aq (which means a single quote).
-
57bd35e9e836dfc3a410 Supports \(Tm (which means a trademark).
Commits other than
2c8b4e18491f7e45c510 will be applied again
after Debian patches are incorporated.
R4000 2.2 [Thu, 20 Oct 2011 13:10:02 +0000 (22:10 +0900)]
man2html: Fix a bug that a table which has a format specification with a '.' only line is not converted to HTML properly.
Signed-off-by: Akihiro MOTOKI <amotoki@gmail.com>
Akihiro MOTOKI [Wed, 19 Oct 2011 20:09:07 +0000 (05:09 +0900)]
man2html: Fixes a bug that `maxcol' is not calculated properly.
Akihiro MOTOKI [Wed, 19 Oct 2011 20:01:43 +0000 (05:01 +0900)]
jm.css: Changes background color of <PRE>.
Using a different background color for <PRE> from that of <BODY>
makes it easier to read <PRE> section like an example code.
Akihiro MOTOKI [Wed, 19 Oct 2011 19:56:58 +0000 (04:56 +0900)]
jman_pages.spec: Change a command to create man[1-8] dirs.
The command "mkdir -p %{mandir}/man{1,2,3,4,5,6,7,8}" fails in a recent
environment on shell.sf.jp server. I don't know why it fails.
To avoid it, this commit introduces a way to create directories
man[1-8] one by one.
Akihiro MOTOKI [Wed, 19 Oct 2011 18:18:22 +0000 (03:18 +0900)]
man2html: Skip leading space in each items in a table.
man2html generates "<BR>" (break line) when finding a space, but
this leads an unnecessary break line in a table when an item in
a table has a leading space. This commits avoids it.
Akihiro MOTOKI [Wed, 19 Oct 2011 17:43:51 +0000 (02:43 +0900)]
man2html: Handle table format spec which consists of only '_'.
Before this commit, a data line corresponding to the table
format specification which consists of only '_' is disappeared
during conversion by man2html. For example, in signal(7)
a first row next to the title disappears after HTML conversion.
This commit adds a function to check if a table format spec for
a current row has one or more data item and during scanning data
items scan_table() skips such a table format spec without data items.
Akihiro MOTOKI [Wed, 12 Oct 2011 14:06:55 +0000 (23:06 +0900)]
man: release manlint.1 [JM:00439]
Akihiro MOTOKI [Thu, 29 Sep 2011 15:57:10 +0000 (00:57 +0900)]
LDP_man-pages: release ioctl.2 [JM:00429]
Akihiro MOTOKI [Thu, 29 Sep 2011 15:56:21 +0000 (00:56 +0900)]
procps: release watch.1 [JM:00428]
Akihiro MOTOKI [Tue, 27 Sep 2011 15:43:16 +0000 (00:43 +0900)]
Supports \(aq (which means a single quote).
Akihiro MOTOKI [Tue, 27 Sep 2011 15:42:31 +0000 (00:42 +0900)]
Supports \(Tm (which means a trademark).
Akihiro MOTOKI [Tue, 27 Sep 2011 15:40:48 +0000 (00:40 +0900)]
Add .gitignore files for man-1.6g directory.
Akihiro MOTOKI [Tue, 27 Sep 2011 15:37:19 +0000 (00:37 +0900)]
Import man-1.6g.
We use man2html in man-1.6g to convert roff pages to HTML.
Since distributed man2html does not support some syntax, we need to
enhance man2html to convert JM distribution correctly.
Akihiro MOTOKI [Thu, 22 Sep 2011 00:05:53 +0000 (09:05 +0900)]
LDP_man-pages: draft of ioctl.2 [JM:00424]
Akihiro MOTOKI [Wed, 21 Sep 2011 14:47:11 +0000 (23:47 +0900)]
LDP_man-pages: draft of ioctl.2 [JM:00420]
Akihiro MOTOKI [Thu, 15 Sep 2011 15:26:54 +0000 (00:26 +0900)]
procps: watch.1 draft [JM:00408]
Akihiro MOTOKI [Thu, 15 Sep 2011 15:25:36 +0000 (00:25 +0900)]
LDP_man-pages: draft of ioctl.2 [JM:00406]
Akihiro MOTOKI [Thu, 15 Sep 2011 15:24:04 +0000 (00:24 +0900)]
TR for procpcs watch.1 [JM:00405]
Akihiro MOTOKI [Thu, 15 Sep 2011 15:23:10 +0000 (00:23 +0900)]
TR for LDP_man-pages ioctl.2 [JM:00404]
Akihiro MOTOKI [Sat, 10 Sep 2011 16:13:31 +0000 (01:13 +0900)]
GNU_bash: Remove work directory for the initial translation of bash(1).
Akihiro MOTOKI [Sat, 10 Sep 2011 15:31:35 +0000 (00:31 +0900)]
GNU_bash: Merge upstream changes for bashbug.1, builtins.1, rbash.1 in bash-4.2.
Akihiro MOTOKI [Sat, 10 Sep 2011 12:48:21 +0000 (21:48 +0900)]
procps: release watch.1 again [JM:00384]
Commit
47d44d0 [JM:00379] did not update a status in translation_list.
Akihiro MOTOKI [Sat, 10 Sep 2011 12:45:33 +0000 (21:45 +0900)]
man: release man2html.1 [JM:00383]
Akihiro MOTOKI [Sat, 10 Sep 2011 12:44:13 +0000 (21:44 +0900)]
man: release manlint.1 [JM:00382]
Akihiro MOTOKI [Sat, 10 Sep 2011 12:42:55 +0000 (21:42 +0900)]
gnumaniak: release diff.1 [JM:00381]
Akihiro MOTOKI [Sat, 10 Sep 2011 12:41:40 +0000 (21:41 +0900)]
gnumaniak: release sdiff.1 [JM:00380]
Akihiro MOTOKI [Sat, 10 Sep 2011 12:40:15 +0000 (21:40 +0900)]
procps: update release of watch.1 [JM:00379]
Akihiro MOTOKI [Sat, 10 Sep 2011 12:38:01 +0000 (21:38 +0900)]
LDP_man-pages: release ioctl.2 [JM:00378]
Akihiro MOTOKI [Thu, 8 Sep 2011 17:41:27 +0000 (02:41 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/linuxjm/jm
Akihiro MOTOKI [Thu, 8 Sep 2011 17:40:55 +0000 (02:40 +0900)]
GNU_bash: bash.1 draft [JM:00367]
Akihiro MOTOKI [Thu, 8 Sep 2011 17:39:48 +0000 (02:39 +0900)]
GNU_bash: update original to bash-4.2.
Akihiro MOTOKI [Thu, 8 Sep 2011 16:41:47 +0000 (01:41 +0900)]
Change URL of Samba-JP project (Fixed #25636).
Akihiro MOTOKI [Thu, 8 Sep 2011 16:36:43 +0000 (01:36 +0900)]
procps: Fixed #25920 (Typo in watch(1)).
Akihiro MOTOKI [Thu, 8 Sep 2011 16:20:38 +0000 (01:20 +0900)]
Add a description of JMpost-(wl|mew).el.
Akihiro MOTOKI [Thu, 8 Sep 2011 15:59:09 +0000 (00:59 +0900)]
Corrects e-mail address of JMpost.
Also corrects minor descriptions in guidance/*.m4.
Yasumichi Akahoshi [Wed, 25 May 2011 15:54:55 +0000 (00:54 +0900)]
update original manual pages of GNU_gdb.
Akihiro MOTOKI [Thu, 19 May 2011 09:44:33 +0000 (18:44 +0900)]
Fixed #25191 (typo in fenv.3).
Akihiro MOTOKI [Tue, 17 May 2011 02:55:05 +0000 (11:55 +0900)]
Fixed bug #24860 that links to other pages are broken.
In April 12, I replaced man2html to a version which support a copyright mark,
Since new version of man2html changes the output URL of /cgi-bin/,
mkmanweb.perl could not handle these URLs to generate JM internal links.
This commit fixes this problem.
Akihiro MOTOKI [Mon, 16 May 2011 16:17:41 +0000 (01:17 +0900)]
JM.rules: Modify the path of man2html.
Akihiro MOTOKI [Fri, 22 Apr 2011 14:43:30 +0000 (23:43 +0900)]
procmail: procemailex.5 draft [JM:00248]
Akihiro MOTOKI [Wed, 13 Apr 2011 15:13:47 +0000 (00:13 +0900)]
Change the post address of JMpost* to sj.jp ML.
Akihiro MOTOKI [Tue, 12 Apr 2011 04:13:34 +0000 (13:13 +0900)]
manual/man: Move .SH comment line to avoid man2html generation promblem?
Akihiro MOTOKI [Mon, 11 Apr 2011 00:25:36 +0000 (09:25 +0900)]
manual/man: release pages posted from [JM:00237] to [JM:00241]
Akihiro MOTOKI [Wed, 6 Apr 2011 00:01:45 +0000 (09:01 +0900)]
manual/man: updates drafts posted from [JM:00232] and [JM:00235]
Akihiro MOTOKI [Tue, 5 Apr 2011 04:32:58 +0000 (13:32 +0900)]
manual/man: updates drafts posted at [JM:00227] and [JM:00230]
Akihiro MOTOKI [Mon, 4 Apr 2011 02:10:42 +0000 (11:10 +0900)]
manual/man: updates draft [JM:00224], [JM:00225]
Akihiro MOTOKI [Mon, 4 Apr 2011 02:08:54 +0000 (11:08 +0900)]
manual/man: updates draft [JM:00221]
Akihiro MOTOKI [Fri, 1 Apr 2011 04:38:24 +0000 (13:38 +0900)]
ml2cvs: Remove trailing slash in $ROFFROOT, $WWW_ROOT.
Akihiro MOTOKI [Fri, 1 Apr 2011 04:35:43 +0000 (13:35 +0900)]
Commit drafts of man-1.6g posted at [JM:00217]
Akihiro MOTOKI [Sun, 27 Mar 2011 19:45:29 +0000 (04:45 +0900)]
Commit drafts of man-1.6g posted at [JM:00196] to [JM:00206]
Akihiro MOTOKI [Fri, 25 Mar 2011 15:59:45 +0000 (00:59 +0900)]
Commit drafts of man-1.6g posted at [JM:00185] to [JM:00190]
Akihiro MOTOKI [Fri, 25 Mar 2011 15:56:49 +0000 (00:56 +0900)]
Revert "Commit drafts of man-1.6g posted at [JM:00185] to [JM:00190]"
This reverts commit
a645e94b8fd66026ef55a8c703ec554c78dd7bd5.
Commit author is not appropriate, but the commit has been pushed.
root [Thu, 24 Mar 2011 01:42:59 +0000 (10:42 +0900)]
Commit drafts of man-1.6g posted at [JM:00185] to [JM:00190]
Akihiro MOTOKI [Tue, 22 Mar 2011 20:34:43 +0000 (05:34 +0900)]
LDP man-pages dup(2): Corrent the description of dup2(2) [JM:00177]
Akihiro MOTOKI [Tue, 15 Mar 2011 18:04:32 +0000 (03:04 +0900)]
Commit drafts of man-1.6g posted at [JM:00145] to [JM:00153].
Akihiro MOTOKI [Tue, 15 Mar 2011 17:38:35 +0000 (02:38 +0900)]
Update original to man-1.6g.
It is download from http://www.people.fas.harvard.edu/~lucifred/man/.
Akihiro MOTOKI [Wed, 16 Feb 2011 14:49:26 +0000 (23:49 +0900)]
[JM:00125] Fix a translation mistake in isupper(3).
Akihiro MOTOKI [Wed, 16 Feb 2011 14:47:01 +0000 (23:47 +0900)]
[JM:00127] Fix a translation mistake in semop(2).
Akihiro MOTOKI [Sun, 30 Jan 2011 21:08:31 +0000 (06:08 +0900)]
[JM:00122] [POST:RO] GNU_findutils find.1
Akihiro MOTOKI [Sun, 30 Jan 2011 21:06:54 +0000 (06:06 +0900)]
[JM:00119] [POST:RO] GNU_findutils xargs.1
Akihiro MOTOKI [Tue, 18 Jan 2011 16:56:48 +0000 (01:56 +0900)]
[JM:00108] [POST:DP] GNU_findutils xargs.1
Akihiro MOTOKI [Thu, 13 Jan 2011 18:36:32 +0000 (03:36 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/linuxjm/jm
Akihiro MOTOKI [Wed, 12 Jan 2011 15:51:58 +0000 (00:51 +0900)]
Define AddDefaultCharset ISO-2022-JP in .htaccess.
This workaround avoids IE7 (or before) with MS10-090 patch.
In www/Makefile, add .htaccess to rsync source files to
make sure to copy it to the htdocs top directory.
Akihiro MOTOKI [Wed, 29 Dec 2010 21:02:43 +0000 (06:02 +0900)]
e2fsprogs: 1.39->1.41.14 でバージョン番号の更新のみや訳の追加が必要のないものを修正。
Akihiro MOTOKI [Wed, 29 Dec 2010 20:31:49 +0000 (05:31 +0900)]
Update original to e2fsprogs 1.41.14.
Akihiro MOTOKI [Mon, 27 Dec 2010 15:24:21 +0000 (00:24 +0900)]
[JM:00086] [POST:DP] GNU_findutils xargs.1
Akihiro MOTOKI [Sat, 25 Dec 2010 19:16:12 +0000 (04:16 +0900)]
[JM:00085] Correct the translation of RETURN VALUE section.
Akihiro MOTOKI [Tue, 21 Dec 2010 15:06:36 +0000 (00:06 +0900)]
[JM:00079] [POST:DP] GNU_findutils find.1
Akihiro MOTOKI [Wed, 15 Dec 2010 16:31:18 +0000 (01:31 +0900)]
[JM:00079] [POST:DP] GNU_findutils find.1
Akihiro MOTOKI [Wed, 8 Dec 2010 16:52:22 +0000 (01:52 +0900)]
Change <changefreq> from weekly to daily.
Akihiro MOTOKI [Wed, 8 Dec 2010 16:50:12 +0000 (01:50 +0900)]
Add a another shell to update web and manpage archives.
Akihiro MOTOKI [Wed, 8 Dec 2010 16:33:52 +0000 (01:33 +0900)]
bugfix [JM:00067]
Akihiro MOTOKI [Tue, 7 Dec 2010 18:44:03 +0000 (03:44 +0900)]
Add a shell to update web contents periodically.
Akihiro MOTOKI [Sat, 4 Dec 2010 18:03:06 +0000 (03:03 +0900)]
Remove --delete from rsync options.
rsycn '--delete' option should not be specified at this timing
because --delete options removes others files in the target dir.
Akihiro MOTOKI [Sat, 4 Dec 2010 17:25:34 +0000 (02:25 +0900)]
LDP man-pages の original/ を v3.32 に更新。
Akihiro MOTOKI [Mon, 22 Nov 2010 18:16:10 +0000 (03:16 +0900)]
Remove mail_error.m4.
Akihiro MOTOKI [Mon, 22 Nov 2010 18:11:13 +0000 (03:11 +0900)]
news2002.m4: Modify the package name to generate valid URLs.
'dhcp' package is renamed to 'dhcp2' after these pages are released.
Akihiro MOTOKI [Mon, 22 Nov 2010 18:09:13 +0000 (03:09 +0900)]
Not 'roff' but 'manual' directory has a roff page under the htdocs dir.
Akihiro MOTOKI [Mon, 22 Nov 2010 18:05:00 +0000 (03:05 +0900)]
The comment of translation must be a valid URL.
For a contributed page, the last entry (i.e. comment field) of
translation_list is used as a URL of the project from which the page
is cotributed. So the comment field must be a valid URL.
Akihiro MOTOKI [Sun, 21 Nov 2010 14:25:55 +0000 (23:25 +0900)]
[JM:00034] [POST:DP] GNU_findutils find.1
Akihiro MOTOKI [Thu, 18 Nov 2010 17:30:46 +0000 (02:30 +0900)]
Regenerate corrensponding release pages for draft pages updated in the previous 4 commits (
42ad24c..
edb4ffb).
Akihiro MOTOKI [Thu, 18 Nov 2010 16:36:20 +0000 (01:36 +0900)]
LDP openpty.3: translates sentences which had been untranslated by mistake.
Akihiro MOTOKI [Thu, 18 Nov 2010 16:32:57 +0000 (01:32 +0900)]
LDP fd.4: translates sentences which had been untranslated by mistake.
Akihiro MOTOKI [Thu, 18 Nov 2010 16:31:31 +0000 (01:31 +0900)]
Refine LDP man3/expm1.3.
Akihiro MOTOKI [Thu, 18 Nov 2010 16:28:34 +0000 (01:28 +0900)]
Remove marks indicating original updates.
Akihiro MOTOKI [Tue, 16 Nov 2010 21:24:04 +0000 (06:24 +0900)]
Convert output of list_*.perl from UTF-8 to EUC-JP.
Since the character set of *.m4 in www/INDEX/ is EUC-JP,
output from commands called from m4_esyscmd also need to be
converted to EUC-JP.
Akihiro MOTOKI [Tue, 16 Nov 2010 20:54:46 +0000 (05:54 +0900)]
Rename manpages with non-digit suffix like '.1m' or '.3x'.
Almost all JM scripts cannot handle man pages with non-digit suffix.
Currently only 'ncurses' manpages have non-digit suffix filenames,
so I decided to rename ncurses manpages to non-digit filenames.
Akihiro MOTOKI [Tue, 16 Nov 2010 20:48:23 +0000 (05:48 +0900)]
Remove unnecessary paths (release/man[1-8]/) in news.m4.
Akihiro MOTOKI [Tue, 16 Nov 2010 20:46:47 +0000 (05:46 +0900)]
Add --delete option to rsync to remove obsolete files from WWWROOT.
Akihiro MOTOKI [Tue, 16 Nov 2010 20:38:03 +0000 (05:38 +0900)]
JM-man-view.el and JMpost are copied to www/guidance/ directory.
So far, JM-man-view.el and JMpost are directly installed into the
directory under WWWROOT (htdocs). However, rsync with --delete option
after this copy removes these files. To avoid this problem, I decided
to copy these two files to www/guidance/. (Note that rsync with
--delete is useful to synchronize web contents with the repository
since it removes obsolete files from WWWROOT.)
Akihiro MOTOKI [Tue, 16 Nov 2010 20:32:08 +0000 (05:32 +0900)]
Top Makefile: Do not try to make RPM if NORPM variable is defined.
This definition is useful when we try to generate JM htdocs for test
in environments where 'rpm' command does not work properly.
Akihiro MOTOKI [Tue, 16 Nov 2010 18:36:42 +0000 (03:36 +0900)]
Fix www/bin/info-whole-archive.pl.