--- xmanpages-ja-4.1.0.20011224.orig/debian/rules
+++ xmanpages-ja-4.1.0.20011224/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+# MAde with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Cristoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+CVS_DATE=20011224
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	tar zxvf upstream/xjman-$(CVS_DATE).tgz
+	rm -rf xjman/man1/CVS/ xjman/man3/CVS/ xjman/man4/CVS/ xjman/man5/CVS/ xjman/man7/CVS/
+	patch -p0 < debian/patches/fix_xset_translation.diff
+
+	rm -f xjman/man1/xftcache.1x
+	rm -f xjman/man1/pswrap.1x
+	rm -f xjman/man1/makepres.1x
+	rm -f xjman/man1/XF86Setup.1x
+	rm -f xjman/man1/XFree86.1x
+	rm -f xjman/man1/XDarwin.1x
+	rm -f xjman/man1/xf86cfg.1x
+	rm -f xjman/man1/xf86fontconfig.1x
+	rm -f xjman/man3/X.3x
+
+	rename.ul .1x .1 xjman/man1/*.1x
+	rename.ul .3x .3 xjman/man3/*.3x
+	mv xjman/man4/mouse.4 xjman/man4/mousedrv.4
+
+	for i in xjman/man3/*.3 ; do \
+		sed -i -e 's/^\\(.so .*\\)\\.3[a-zA-Z0-9]*$$/\\1.3/' $$i; \
+	done
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp
+
+	rm -rf xjman
+
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	cp xjman/man1/* debian/xmanpages-ja/usr/share/man/ja/man1
+	cp xjman/man3/* debian/xmanpages-ja/usr/share/man/ja/man3
+	cp xjman/man4/* debian/xmanpages-ja/usr/share/man/ja/man4
+
+	gzip -f9 debian/xmanpages-ja/usr/share/man/ja/*/*
+
+	touch install-stamp
+
+binary-arch: build install
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs xjman/ChangeLog
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- xmanpages-ja-4.1.0.20011224.orig/debian/README.debian
+++ xmanpages-ja-4.1.0.20011224/debian/README.debian
@@ -0,0 +1,19 @@
+xmanpages-ja for DEBIAN
+----------------------
+
+ This package provides section 1,3,4,5 and 7 manpages of X Window System 
+ written in Japanese, translated by X Japanese Document Project.
+
+ X Japanese Document Project home page:
+
+ http://xjman.dsl.gr.jp/
+ (Sorry, written in Japanese only)
+
+ This is alpha release, so some of manpages are missing.
+ X Japanese Document Project's goal is "X Windows System's documents
+ translate into Japanese as possible as we can". We need your help :-)
+
+ Please join X Japanese Document Project
+    mailto: xjman-ml-ctl@dsl.gr.jp
+
+ISHIKAWA Mutsumi <ishikawa@linux.or.jp>, Tue, 27 Oct 1998 13:41:34 +0900
--- xmanpages-ja-4.1.0.20011224.orig/debian/compat
+++ xmanpages-ja-4.1.0.20011224/debian/compat
@@ -0,0 +1 @@
+4
--- xmanpages-ja-4.1.0.20011224.orig/debian/dirs
+++ xmanpages-ja-4.1.0.20011224/debian/dirs
@@ -0,0 +1,3 @@
+usr/share/man/ja/man1
+usr/share/man/ja/man3
+usr/share/man/ja/man4
--- xmanpages-ja-4.1.0.20011224.orig/debian/changelog
+++ xmanpages-ja-4.1.0.20011224/debian/changelog
@@ -0,0 +1,158 @@
+xmanpages-ja (4.1.0.20011224-6) unstable; urgency=low
+
+  * rename man4/mouse.4 -> man4/mousedrv.4
+    (for fixing to confilict Linux mouse.4 manpage)
+
+ -- ISHIKAWA Mutsumi <ishikawa@debian.org>  Sat, 31 May 2008 10:23:03 +0900
+
+xmanpages-ja (4.1.0.20011224-5) unstable; urgency=low
+
+  * drop Suggests: xmanpages
+  * drop manpages for XF86Setup.1, XFree86.1, xf86cfg.1,
+    xf86fontconfig.1 and XF86Config.5
+  * fix filename extension (e.g .1x -> .1), closes: #421912
+  * adapt policy 3.7.3.0
+
+ -- ISHIKAWA Mutsumi <ishikawa@debian.org>  Sat, 31 May 2008 10:15:59 +0900
+
+xmanpages-ja (4.1.0.20011224-4) unstable; urgency=low
+
+  * fix file confliction, closes: #367175
+
+ -- ISHIKAWA Mutsumi <ishikawa@debian.org>  Mon, 26 Jun 2006 16:56:39 +0900
+
+xmanpages-ja (4.1.0.20011224-3) unstable; urgency=low
+
+  * all files moved from /usr/X11R6 to /usr
+  * drop xftcache, pswrap and makepsres manpages, closes: #364004
+  * fix set wrong translation, closes: #231212
+  * cleanup debian/rules
+  * update Build-Depends, drop nkf and add patch, update debhelper version
+  * add debian/compat
+  * adapt policy 3.6.2.2
+
+ -- ISHIKAWA Mutsumi <ishikawa@debian.org>  Fri, 21 Apr 2006 20:29:38 +0900
+
+xmanpages-ja (4.1.0.20011224-2) unstable; urgency=low
+
+  * typo in debian/control is fixed, closes: #175347
+  * Maintainer's mail address is changed
+  * adapt policy 3.5.8.0
+
+ -- ISHIKAWA Mutsumi <ishikawa@debian.org>  Sun,  5 Jan 2003 11:29:49 +0900
+
+xmanpages-ja (4.1.0.20011224-1) unstable; urgency=low
+
+  * New upstream version (from CVS)
+  * description spelling error fix, closes: #125552
+  * fix typo in README.Debian, closes: #134010
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Sat, 16 Feb 2002 01:35:54 +0900
+
+xmanpages-ja (4.1.0.20011118-1) unstable; urgency=low
+
+  * New upstream version (from CVS)
+  * xeyes, xsetmode, xsetpointer file encording is changed to euc.
+    (upstream problem, already reported)
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Sun, 18 Nov 2001 22:24:57 +0900
+
+xmanpages-ja (4.1.0.20011028-1) unstable; urgency=low
+
+  * New upstream version (from CVS)
+  * based on XFree86 4.1.0
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Sun, 28 Oct 2001 20:29:59 +0900
+
+xmanpages-ja (4.0.3.20010918-1) unstable; urgency=low
+
+  * New upstream version (include 2001-9-18 CVS fixes)
+  * based on XFree86 4.0.3
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Wed, 19 Sep 2001 00:01:41 +0900
+
+xmanpages-ja (3.3.3.1j-6) unstable; urgency=low
+
+  * Oops Policy: entiry in debian/control was foggeten to
+    update.
+  * remove Suggests: jgroff (jgroff is obsolated)
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Wed,  4 Apr 2001 03:07:57 +0900
+
+xmanpages-ja (3.3.3.1j-5) unstable; urgency=low
+
+  * adopt policy 3.5.2.0, closes: #91723
+  * update README.Debian
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Thu, 29 Mar 2001 00:56:11 +0900
+
+xmanpages-ja (3.3.3.1j-4) unstable; urgency=low
+
+  * add Depends: jgroff in control
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Mon,  7 Jun 1999 01:39:50 +0900
+
+xmanpages-ja (3.3.3.1j-3) unstable; urgency=low
+
+  * Initial Release for Official Debian tree (previous versions have
+    been uploaded to Debian JP Project only)
+  * based on xjman-0.3.1.tar.gz
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Mon, 17 May 1999 23:31:51 +0900
+
+xmanpages-ja (3.3.3.1j-2) unstable; urgency=low
+
+  * delete some newline char from man1/X.1x(Bug#JP/908)
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Sun, 16 May 1999 04:41:49 +0900
+
+xmanpages-ja (3.3.3.1j-1) unstable; urgency=low
+
+  * based on xjman-0.3.tar.gz for XFree86-3.3.3.1
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Sat, 15 May 1999 00:38:53 +0900
+
+xmanpages-ja (3.3.3j-4) unstable; urgency=low
+
+  * remove garbages from xbiff.1x and xmodmap.1x
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Fri, 23 Apr 1999 20:42:51 +0900
+
+xmanpages-ja (3.3.3j-3) unstable; urgency=low
+
+  * remove some newlines from xsetroot.1x xload.1x xlogo.1x (Bug#JP/820)
+  * remove some garbages from xclock.1x XtAppInitialize.3x
+    XtCreateApplicationContext.3x XtCreateWindow.3x
+    XtDisplayToApplicationContext.3x  (Bug#JP/820)
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Mon, 29 Mar 1999 15:19:56 +0900
+
+xmanpages-ja (3.3.3j-2) unstable; urgency=low
+
+  * move to man3/X.3x to man1/X.1x (Bug#JP/749)
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Thu, 28 Jan 1999 19:36:16 +0900
+
+xmanpages-ja (3.3.3j-1) unstable; urgency=low
+
+  * New Upstream Version based on XFree86-3.3.3
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Thu, 24 Dec 1998 11:54:07 +0900
+
+xmanpages-ja (3.3.2j-1) unstable; urgency=low
+
+  * Update for XFree86-3.3.2, this is last release for XFree86-3.3.2
+    Next release will be based on XFree86-3.3.3 man pages
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Fri, 27 Nov 1998 20:04:21 +0900
+
+xmanpages-ja (0.1-1) unstable; urgency=low
+
+  * Initial Release.
+  * Japanese X Window System's manpages
+    Translation into Japanese by X Japanese Document Project
+    http://www.dsl.gr.jp/~go/xjman/
+
+ -- ISHIKAWA Mutsumi <ishikawa@linux.or.jp>  Tue, 27 Oct 1998 15:42:56 +0900
+
+
--- xmanpages-ja-4.1.0.20011224.orig/debian/control
+++ xmanpages-ja-4.1.0.20011224/debian/control
@@ -0,0 +1,14 @@
+Source: xmanpages-ja
+Section: x11
+Priority: optional
+Maintainer: ISHIKAWA Mutsumi <ishikawa@debian.org>
+Build-Depends: debhelper (>= 4.1.16), patch
+Standards-Version: 3.7.3.0
+
+Package: xmanpages-ja
+Architecture: all
+Suggests: man-browser
+Description:  Japanese manual pages for X
+ This package provides section 1,3,4,5 and 7 manpages of X Window System
+ written in Japanese, translated by X Japanese Document Project.
+ This version is translated from XFree86 4.1.0 manpages.
--- xmanpages-ja-4.1.0.20011224.orig/debian/copyright
+++ xmanpages-ja-4.1.0.20011224/debian/copyright
@@ -0,0 +1,69 @@
+This package was debianized by ISHIKAWA Mutsumi ishikawa@linux.or.jp on
+Sat, 15 May 1999 00:39:31 +0900
+
+It was downloaded from <http://xjman.dsl.gr.jp/xjman-0.6.tar.bz>
+and update to CVS (:pserver:anoncvs@cvs.dsl.gr.jp:/cvs)
+These manpages are translate from XFree86 4.0.3
+
+Upstream Authors: X Japanese Document project <http://xjman.dsl.gr.jp/>
+
+ These manpages are translated into Japanes by X Japanese Document project.
+ X Japanese Document project need your help. Plese join us.
+  mailto:xjman-subscribe@ml.dsl.ics.tut.ac.jp
+
+Copyright:
+ Original copyright and Japanese Translation Copryright are written 
+in header of each manuals. This is based on X Copyright.
+
+ Copyright (c) 1993, 1994  X Consortium
+ 
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ 
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ 
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+ 
+ Except as contained in this notice, the name of the X Consortium shall
+ not be used in advertising or otherwise to promote the sale, use or
+ other dealings in this Software without prior written authorization
+ from the X Consortium.
+
+ Copyright (c) 1998 The X Japanese Documentation Project.
+ 
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish, dis-
+ tribute, sublicense, and/or sell copies of the Software, and to permit
+ persons to whom the Software is furnished to do so, subject to the fol-
+ lowing conditions:
+ 
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ 
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
+ ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
+ SHALL  THE X JAPANESE DOCUMENTATION PROJECT  BE  LIABLE  FOR  ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY,  WHETHER IN AN ACTION OF CONTRACT,  TORT OR
+ OTHERWISE,  ARISING FROM,  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ 
+ Except as contained in this notice, the name of The X Japanese
+ Documentation Project shall not be used in advertising or otherwise to
+ promote the sale, use or other dealings in this Software without prior
+ written authorization from The X Japanese Documentation Project.
+
--- xmanpages-ja-4.1.0.20011224.orig/debian/docs
+++ xmanpages-ja-4.1.0.20011224/debian/docs
@@ -0,0 +1,2 @@
+xjman/README
+
--- xmanpages-ja-4.1.0.20011224.orig/debian/patches/fix_xset_translation.diff
+++ xmanpages-ja-4.1.0.20011224/debian/patches/fix_xset_translation.diff
@@ -0,0 +1,15 @@
+--- xjman/man1/xset.1x.orig	2006-04-21 20:33:20.000000000 +0900
++++ xjman/man1/xset.1x	2006-04-21 20:36:30.000000000 +0900
+@@ -192,9 +192,9 @@
+ .\"0 values implicitly enables the DPMS features.  A value of zero disables
+ .\"0 a particular mode.
+ \fBdpms\fP オプションを使うと DPMS (Energy Star, 省電力) パラメータを
+-設定できる。このオプションには 3 つの数値を指定するか、DPMS 状態 の後
+-に `force' フラグを指定できる。`force' フラグを指定すると、
+-サーバは指定した DPMS 状態に即座に切り替わる。
++設定できる。このオプションには 3 つの数値を指定するか、`force' フラグを伴った
++DPMS 状態を指定できる。`force' フラグを指定すると、サーバは指定した DPMS 状態に
++即座に切り替わる。
+ DPMS 状態は `standby', `suspend', `off' のいずれかである。
+ 数値を与えた時は、これら 3 つのモードをアクティブにする前に取る
+ 非アクティブ期間が設定される(秒単位)。
