--- mule-ucs-0.85~0.20061127.orig/debian/changelog
+++ mule-ucs-0.85~0.20061127/debian/changelog
@@ -0,0 +1,540 @@
+mule-ucs (0.85~0.20061127-3) unstable; urgency=low
+
+ * debian/control:
+ - Prefer emacs to emacs21.
+ - Add emacs22 to Depends.
+ - Remove emacs-snapshot from Depends.
+ * debian/dot.emacs.ja: Prefer euc-jp and shift_jis to euc-jisx0213 and
+ shift_jisx0213.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Mon, 09 Jul 2007 22:11:02 +0900
+
+mule-ucs (0.85~0.20061127-2) unstable; urgency=low
+
+ * debian/control (Suggests): Add `xfonts-jisx0213' and remove
+ `xfonts-base-transcoded'.
+ * debian/emacsen-startup (un-define-debian): Add coding system aliases
+ shift_jis-2004 and euc-jis-2004.
+ * debian/dot.emacs.ja:
+ - Add configuration for jisx0213.
+ - Add comment for utf-translate-cjk-set-unicode-range.
+ * debian/copyright:
+ - Mention that Mule-UCS official site will be available at Meadowy.org.
+ - Update copyright years.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sun, 08 Apr 2007 20:27:13 +0900
+
+mule-ucs (0.85~0.20061127-1) unstable; urgency=low
+
+ * New upstream release. (development version mule-ucs-20061127-1,
+ downloaded from `http://www.meadowy.org/~shirai/')
+ - Fix jisx0213 mapping bugs.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Fri, 1 Dec 2006 22:34:01 +0900
+
+mule-ucs (0.85~0.20061116-1) unstable; urgency=low
+
+ * New upstream release. (development version mule-ucs-20061116-2,
+ downloaded from `http://www.meadowy.org/~shirai/')
+ - The patch for usupple.el is merged into the upstream.
+ * debian/dot.emacs.ja: New file.
+ * debian/dot.emacs.noncjk: New file.
+ * debian/README.Debian: Remove `sample of init file', and mention that
+ samples of ~/.emacs are available at `/usr/share/doc/mule-ucs/examples/'.
+ * debian/examples: New file.
+ * debian/rules (binary-indep): Add `dh_installexamples'.
+ * debian/copyright: Add mirror sites.
+ * debian/watch: Use a mirror site.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sun, 19 Nov 2006 22:20:45 +0900
+
+mule-ucs (0.84.999+0.20050930-6) unstable; urgency=low
+
+ * lisp/reldata/usupple.el (unicode-assoc-for-jisx0221): Change the
+ codepoint of HORIZONTAL BAR from U+0214 to U+2015.
+ * debian/README.Debian: Add a sample of ~/.emacs.
+ * debian/emacsen-startup (un-define-debian): Set locale to "C" if unset.
+ * debian/copyright: Mention Debian packaging conditions.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Wed, 8 Nov 2006 23:07:23 +0900
+
+mule-ucs (0.84.999+0.20050930-5) unstable; urgency=low
+
+ * debian/emacsen-startup (un-define-debian): Reset coding system of
+ terminal to prevent a problem on UTF-8 terminal.
+ * debian/emacsen-startup (un-define-debian): Don't load ucs-tables
+ if un-define is already loaded.
+ * debian/README.Debian: Add section "terminal-coding-system".
+
+ -- Tatsuya Kinoshita <tats@debian.org> Tue, 5 Sep 2006 01:24:53 +0900
+
+mule-ucs (0.84.999+0.20050930-4) unstable; urgency=low
+
+ * debian/emacsen-startup (un-define-debian): Prefer mule-unicode-0100-24ff
+ for non-CJK locales. (closes: #382149)
+
+ -- Tatsuya Kinoshita <tats@debian.org> Thu, 10 Aug 2006 02:45:33 +0900
+
+mule-ucs (0.84.999+0.20050930-3) unstable; urgency=low
+
+ * debian/README.Debian: Mention that DEB_MULEUCS_UNICODE="on" enables
+ Mule-UCS-Unicode before user-specific init files are loaded.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Wed, 5 Jul 2006 19:18:18 +0900
+
+mule-ucs (0.84.999+0.20050930-2) unstable; urgency=low
+
+ * debian/NEWS: New file, to clarify change of behavior.
+ * debian/README.Debian: Clarify that `un-define-change-charset-order'
+ doesn't work on XEmacs.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Wed, 14 Jun 2006 07:18:01 +0900
+
+mule-ucs (0.84.999+0.20050930-1) unstable; urgency=low
+
+ * New upstream release. (CVS snapshot on 2005-09-30)
+ - Merge patches into the upstream source.
+ * debian/emacsen-startup: Don't load the Mule-UCS stuff which is providing
+ troublesome to other packages, mentioned in #341593.
+ At startup, Mule-UCS-Unicode is now disabled by default. To enable
+ Mule-UCS-Unicode, evaluate (require 'un-define) or (un-define-debian)
+ by user's decision. (closes: #312883)
+ * debian/emacsen-startup: New functions `un-define-debian-jisx0213',
+ `un-define-debian-jisx0213-latin' and `un-define-debian-latin'.
+ * debian/README.Debian: Revise information about Mule-UCS-Unicode.
+ * debian/control (Depends): Add emacs-snapshot. (closes: #364252)
+ * debian/control (Build-Depends): Depend on debhelper version 5.
+ * debian/compat: 3 -> 5.
+ * debian/control (Standards-Version): 3.6.1 -> 3.7.2.
+ * debian/copyright: Update the postal address of the Free Software
+ Foundation.
+ * debian/emacsen-install.in: Ready for emacsen flavors sxemacs*.
+ * debian/watch: More specific regexp.
+ * debian/control (Maintainer): tats@vega.ocn.ne.jp -> tats@debian.org.
+ * debian/copyright: Ditto.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sat, 10 Jun 2006 16:27:42 +0900
+
+mule-ucs (0.84.999+0.20030620-9) unstable; urgency=low
+
+ * lisp/reldata/usupple.el (unicode-assoc-for-jisx0221): Fixed codepoint
+ of FULLWIDTH TILDE. (in [mule-ja:08802], suggested by Eisaku YAMAGUCHI)
+ * debian/control: Revise short description.
+ * debian/copyright: Updated.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Thu, 13 Jan 2005 23:50:28 +0900
+
+mule-ucs (0.84.999+0.20030620-8) unstable; urgency=low
+
+ * debian/emacsen-startup: Define coding system aliases for utf-16.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sat, 30 Oct 2004 17:24:50 +0900
+
+mule-ucs (0.84.999+0.20030620-7) unstable; urgency=low
+
+ * lisp/reldata/usupple.el (unicode-assoc-for-windows): Fixed codepoint
+ of FULLWIDTH BROKEN BAR. (patch from [mule-ja:08758] on 2004-09-06)
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Mon, 6 Sep 2004 22:10:02 +0900
+
+mule-ucs (0.84.999+0.20030620-6) unstable; urgency=low
+
+ * debian/emacsen-startup: To use prefer-coding-system on XEmacs, set
+ categories of utf-8-* to utf-8.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sat, 24 Jul 2004 21:17:52 +0900
+
+mule-ucs (0.84.999+0.20030620-5) unstable; urgency=low
+
+ * debian/emacsen-startup: New option environment variable
+ `DEB_MULEUCS_PREFER_LATIN'. Default value is "on".
+ (e.g. `LANG=ja_JP DEB_MULEUCS_PREFER_LATIN=off' directs mule-ucs to
+ prefer japanese-jisx0208 characters rather than latin-iso8859-1
+ charactres.)
+ * debian/README.Debian: Add description of `DEB_MULEUCS_PREFER_LATIN'.
+ * debian/emacsen-install.in: Create *.el symlinks.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sat, 1 May 2004 16:15:16 +0900
+
+mule-ucs (0.84.999+0.20030620-4) unstable; urgency=low
+
+ * debian/emacsen-startup: Change value of the variable
+ unicode-basic-translation-charset-order-list. (e.g. When LANG=ja_JP,
+ japanese-jisx0208 is preferred rather than greek-iso8859-7.)
+ * debian/control (Depends): Remove `emacs20'. (closes: #232776)
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sat, 3 Apr 2004 14:20:10 +0900
+
+mule-ucs (0.84.999+0.20030620-3) unstable; urgency=low
+
+ * debian/emacsen-startup: Load the library `unicode'.
+ * debian/copyright: Revised.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Wed, 28 Jan 2004 23:00:58 +0900
+
+mule-ucs (0.84.999+0.20030620-2) unstable; urgency=low
+
+ * debian/README.Debian: Add description of supplemental translation rules.
+ (closes: #207350)
+ * debian/README.Debian: Add description of locale configuration.
+ * debian/emacsen-startup: New function `un-define-debian'.
+ * debian/copyright: Further clarification.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Wed, 24 Dec 2003 11:35:36 +0900
+
+mule-ucs (0.84.999+0.20030620-1) unstable; urgency=low
+
+ * New upstream release. (CVS snapshot on 2003-06-20)
+ - Merge debian patches into the upstream source.
+ * debian/rules: Use binary-indep instead of binary-arch.
+ * debian/emacsen-install.in: Set *.elc filemode to 644 explicitly.
+ * Ready for xemacs21-{mule,nomule} flavors.
+ * Use debian/compat instead of DH_COMPAT.
+ - debian/compat: New file.
+ - debian/rules: Remove `export DH_COMPAT=3'.
+ - debian/control (Build-Depends-Indep): debhelper (>= 3.4.4).
+ * debian/dirs: Add the mule-ucs/lisp directory.
+ * debian/docs: Add `lisp/type.txt'.
+ * debian/control (Standards-Version): 3.5.10 -> 3.6.1.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Tue, 16 Sep 2003 02:20:57 +0900
+
+mule-ucs (0.84.99rc3-4) unstable; urgency=low
+
+ * lisp/jisx0213/x0213-csys.el: A patch from cvs.meadowy.org on 2003-06-20.
+ - Fix shift_jis priority problem for MULE 4.0. (closes: #197876)
+ * debian/emacsen-startup: Set coding-category of utf-8 for XEmacs.
+ * debian/emacsen-startup: Use debian-pkg-add-load-path-item.
+ * debian/emacsen-startup: If the coding-category of utf-8 is
+ coding-category-ccl, exclude it from coding-priority.
+ * Cleanup installation scripts.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sat, 21 Jun 2003 06:27:16 +0900
+
+mule-ucs (0.84.99rc3-3) unstable; urgency=low
+
+ * lisp/ChangeLog: Fix from cvs.meadowy.org on 2003-04-11.
+ * debian/control: Remove dependency on emacs20-dl. (it was orphaned and
+ removed, closes: #190831)
+ * debian/control: Standards-Version: 3.5.10
+ * debian/emacsen-startup: Fix for UTF-8 coding-priority on Emacs 21.
+ * debian/emacsen-startup: Don't load `un-define' if the file
+ `un-define.elc' doesn't exist.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Mon, 19 May 2003 06:22:07 +0900
+
+mule-ucs (0.84.99rc3-2) unstable; urgency=low
+
+ * debian/emacsen-startup: Load `un-define' at startup by default.
+ If the `DEB_MULEUCS_UNICODE' environment variable is set to "off",
+ `un-define' won't be loaded at startup. (closes: #187086)
+ * debian/README.Debian: Doc fix. (closes: #186472)
+ * debian/emacsen-startup: Typo fix for the unify-8859-on-decoding-mode
+ function.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sun, 6 Apr 2003 00:27:12 +0900
+
+mule-ucs (0.84.99rc3-1) unstable; urgency=low
+
+ * New upstream release (0.85 RC3, Mule-UCS-current on 2003-01-29)
+ - Bug fixes for utf-16, utf-7, jisx0213, etc.
+ - New charset, `mule-ucs-unicode-multichar'.
+ * Unofficial patches have been merged into the upstream, but the patch
+ of replacing a malformed UTF-8 sequence with U+FFFD (replacement
+ character) was rejected. So, Bug#95467 is reopened.
+ * debian/emacsen-startup: Don't load `un-define' if the
+ `DEB_MULEUCS_UNICODE' environment variable is not defined.
+ * debian/emacsen-startup: Load `jisx0213' if the `DEB_MULEUCS_JISX0213'
+ environment variable is defined.
+ * debian/README.Debian: Revise for `DEB_MULEUCS_UNICODE',
+ `DEB_MULEUCS_JISX0213', and GNU Emacs's Unicode definition.
+ * debian/copyright: Revised.
+ * debian/emacsen-startup: Support `mule-ucs-unicode-multichar'.
+ * debian/control: Favor emacs21 over emacs20.
+ * debian/control: Standards-Version: 3.5.9
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Tue, 18 Mar 2003 21:12:09 +0900
+
+mule-ucs (0.84-17) unstable; urgency=low
+
+ * Apply patch from
+ `http://tats.iris.ne.jp/mule-ucs/mule-ucs-0.84+tats20021216.diff.gz'.
+ - lisp/mucs-ccl.el: Bug fix for GNU Emacs 21.3.
+ (from emacs-devel@gnu.org at Fri, 06 Dec 2002 01:26:18 +0900
+ provided by MIYASHITA Hisashi <himi@meadowy.org>.)
+ * emacsen-startup: Use `ucs-tables' if possible. It should be before
+ loading `un-define'.
+ * emacsen-startup: Revise regexp for locale name alias.
+ * emacsen-install: Use -no-site-file rather than --no-site-file for XEmacs.
+ * Suggests: xfonts-base, xfonts-base-transcoded
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Mon, 16 Dec 2002 20:23:57 +0900
+
+mule-ucs (0.84-16) unstable; urgency=low
+
+ * Apply patch from
+ `http://tats.iris.ne.jp/mule-ucs/mule-ucs-0.84+tats20021129.diff.gz'.
+ (Fix jisx0213, etc.)
+ * Standards-Version: 3.5.8
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Fri, 29 Nov 2002 20:35:33 +0900
+
+mule-ucs (0.84-15) unstable; urgency=low
+
+ * README.Debian: Add information for Mule-UCS-Unicode.
+ * emacsen-startup: Add comment for XEmacs.
+ * Correct modified date of 0.84-10 in debian/changelog.
+ (19 Jan 2002 -> 29 Mar 2002)
+ * Revise description.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Sat, 23 Nov 2002 03:04:29 +0900
+
+mule-ucs (0.84-14) unstable; urgency=low
+
+ * emacsen-install: Add symlinks from
+ `/usr/share/emacs/site-lisp/mule-ucs/lisp/jisx0213' to
+ `/usr/share/<flavor>/site-lisp/mule-ucs'. (Closes: #168515)
+ * emacsen-startup: Set coding-priority to use utf-8 rather than mule-utf-8.
+ (Closes: #168254)
+ * emacsen-startup: Set locale-sensible priorities for CJK characters.
+ * README.Debian: Add information for
+ prefer-coding-system/mule-utf-8/jisx0213/big5conv.
+ * Delete redundant codes from debian/rules.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Tue, 12 Nov 2002 21:10:58 +0900
+
+mule-ucs (0.84-13) unstable; urgency=low
+
+ * Apply patch from
+ `http://tats.iris.ne.jp/mule-ucs/mule-ucs-0.84+tats20021105.diff.gz'.
+ - utf.el (utf-8-ccl-decode): Use `unicode-replace-char' if a number
+ is larger than 24bit. (Closes: #164519)
+ - Merge patches from xemacs-mule-sumo-2002-05-22. (Closes: #162011)
+ - reldata/uethiopic.el: Typo fix for (provide 'uethiopic).
+ (from Debian xemacs21-mulesupport_2002.05.22-3)
+ * Add README.Debian for the setting of jisx0213/big5conv.
+ * Revise emacsen-startup file.
+ * Revise copyright file.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Tue, 5 Nov 2002 19:53:24 +0900
+
+mule-ucs (0.84-12) unstable; urgency=low
+
+ * New maintainer. (I got the previous maintainer's consent.)
+ * Apply the mule-ucs-0.84+tats20020724.diff.gz patch.
+ (mule@m17n.org, X-Mail-Count: 03300)
+ * Add big5conv compilation. (Closes: #154607)
+ * emacsen-startup: Comment out (require 'jisx0213) because it is
+ an optional configuration and conflicts with UCS unification.
+ (Closes: #154554)
+ * Conform copyright and Description to Mule-UCS 0.84. (Closes: #152772)
+ * emacsen-install.in: Don't copy unnecessary jisx0213/*.el files.
+ (Closes: #156887)
+ * emacsen-startup: Don't fail on xemacs21-nomule.
+ * Depend on xemacs21-*mule* instead of xemacs21. (Closes: #158441)
+ * Build-Depends-Indep: debhelper (>> 3.0.0)
+ * Standards-Version: 3.0.1 -> 3.5.7
+ * Clean up debian/*.
+
+ -- Tatsuya Kinoshita <tats@vega.ocn.ne.jp> Fri, 25 Oct 2002 19:36:15 +0900
+
+mule-ucs (0.84-11) unstable; urgency=low
+
+ * fix mapcar problem on emacs20 (closes: #140645)
+
+ -- Takuo KITAME <kitame@northeye.org> Mon, 8 Apr 2002 21:40:38 +0900
+
+mule-ucs (0.84-10) unstable; urgency=low
+
+ * lisp/un-define.el:
+ - applied patch to mitigate slow Mule-UCS loading in Emacs 21.2
+
+ -- Takuo KITAME <kitame@northeye.org> Fri, 29 Mar 2002 12:17:02 +0900
+
+mule-ucs (0.84-9) unstable; urgency=low
+
+ * debian/emacsen-install:
+ - check xemacs21 is mule or not. (closes: #127504)
+
+ -- Takuo KITAME <kitame@northeye.org> Sat, 19 Jan 2002 03:50:43 +0900
+
+mule-ucs (0.84-8) unstable; urgency=low
+
+ * debian/copyright:
+ - fix URL (closes: #125775)
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 26 Dec 2001 13:38:45 +0900
+
+mule-ucs (0.84-7) unstable; urgency=low
+
+ * debian/control:
+ - fixed typo in description (closes: #125165)
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 18 Dec 2001 08:35:25 +0900
+
+mule-ucs (0.84-6) unstable; urgency=low
+
+ * fix newer .el than .elc (closes: #122246)
+ * install /etc/emacs/site-start.d/40mule-ucs.el as conffile
+ * replaced utf-8-ccl-decode for handling malformed UTF-8 (closes: #95467)
+
+ -- Takuo KITAME <kitame@northeye.org> Thu, 13 Dec 2001 02:37:55 +0900
+
+mule-ucs (0.84-5) unstable; urgency=low
+
+ * Fix compile script.
+ * XEmacs21.
+ * Won't compile jisx0213 for XEmacs. (it does not work?)
+ * use (require 'jisx0213) in mule-ucs-init.el (except xemacs21)
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 6 Nov 2001 20:12:29 +0900
+
+mule-ucs (0.84-4) unstable; urgency=low
+
+ * mule-ucs is not for any XEmacs (closes: Bug#108701)
+ Remove dependency for xemacs21
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 15 Aug 2001 00:32:00 +0900
+
+mule-ucs (0.84-3) unstable; urgency=low
+
+ * Fix #94724: mule-ucs 0.84 breaks Gnus ("There's no room for a new private
+ charset bitmap") (closes: Bug#94724)
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 25 Apr 2001 00:48:57 +0900
+
+mule-ucs (0.84-2) unstable; urgency=low
+
+ * (setq bitmap-alterable-charset 'tibetan-1-column)
+ for bitmap-mule (closes: Bug#94077)
+
+ -- Takuo KITAME <kitame@northeye.org> Sat, 21 Apr 2001 01:11:19 +0900
+
+mule-ucs (0.84-1) unstable; urgency=low
+
+ * New upstream release
+ * Depends: Added emacs21|xemacs21 (>= 21.2.37) for the future.
+
+ -- Takuo KITAME <kitame@northeye.org> Fri, 13 Apr 2001 16:36:46 +0900
+
+mule-ucs (0.83-2) unstable; urgency=low
+
+ * 40mule-ucs-init.el instead of 50mule-ucs-init.el (closes: Bug#88289)
+
+ -- Takuo KITAME <kitame@northeye.org> Mon, 2 Apr 2001 17:28:33 +0900
+
+mule-ucs (0.83-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 21 Nov 2000 15:46:23 +0900
+
+mule-ucs (0.82-4) unstable; urgency=low
+
+ * Fixed miss patch applied in 0.82-4.
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 17 Oct 2000 14:51:27 +0900
+
+mule-ucs (0.82-3) unstable; urgency=low
+
+ * Applied patch (closes: Bug#67076)
+
+ -- Takuo KITAME <kitame@northeye.org> Sat, 14 Oct 2000 07:18:08 +0900
+
+mule-ucs (0.82-2) unstable; urgency=low
+
+ * Fix emacsen-install script. (remove *.elc from ${ELDIR})
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 13 Sep 2000 06:09:34 +0900
+
+mule-ucs (0.82-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 12 Sep 2000 05:54:32 +0900
+
+mule-ucs (0.81-2) unstable; urgency=low
+
+ * debian/mule-ucs-init.el:
+ (load-file "/usr/share/${FLAVOR}/site-lisp/mule-ucs/jisx0213.el")
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 4 Jul 2000 13:52:50 +0900
+
+mule-ucs (0.81-1) unstable; urgency=low
+
+ * New upstream release
+ * closes: #65703: mule-ucs cause to fail 'create-fontset-from-fontset-spec'.
+
+ -- Takuo KITAME <kitame@northeye.org> Mon, 3 Jul 2000 06:07:07 +0900
+
+mule-ucs (0.74-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Thu, 16 Mar 2000 19:59:27 +0900
+
+mule-ucs (0.73-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 14 Mar 2000 21:01:29 +0900
+
+mule-ucs (0.72-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 29 Feb 2000 00:48:47 +0900
+
+mule-ucs (0.71-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Mon, 14 Feb 2000 12:56:38 +0900
+
+mule-ucs (0.70-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 25 Jan 2000 08:44:05 +0900
+
+mule-ucs (0.63-2) unstable; urgency=low
+
+ * control: Added "Depends: |emacs20-dl" for emacs20-dl
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 29 Dec 1999 14:14:37 +0900
+
+mule-ucs (0.63-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 21 Dec 1999 22:46:13 +0900
+
+mule-ucs (0.62-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Sat, 4 Dec 1999 21:56:46 +0900
+
+mule-ucs (0.61+019991115-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 17 Nov 1999 13:14:17 +0900
+
+mule-ucs (0.61-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Tue, 16 Nov 1999 08:15:01 +0900
+
+mule-ucs (0.60-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Takuo KITAME <kitame@northeye.org> Thu, 11 Nov 1999 02:00:01 +0900
+
+mule-ucs (0.52-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Takuo KITAME <kitame@northeye.org> Wed, 10 Nov 1999 05:45:14 +0900
--- mule-ucs-0.85~0.20061127.orig/debian/control
+++ mule-ucs-0.85~0.20061127/debian/control
@@ -0,0 +1,19 @@
+Source: mule-ucs
+Section: editors
+Priority: optional
+Maintainer: Tatsuya Kinoshita <tats@debian.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: mule-ucs
+Architecture: all
+Depends: emacs | emacs22 | emacs21 | xemacs21-mule | xemacs21-mule-canna-wnn | xemacs21-gnome-mule | xemacs21-gnome-mule-canna-wnn
+Suggests: xfonts-base, xfonts-jisx0213
+Description: universal encoding system for Mule
+ Mule-UCS is an Emacs Lisp library to define encoding/decoding schemes
+ by rather simple translation rules. Mule-UCS provides flexible and
+ comprehensible encoding mechanism to Emacs.
+ .
+ Mule-UCS Unicode definition provides various coding-systems for
+ external representations and some APIs for other Emacs Lisp libraries.
+ UTF-8, UTF-16, and UTF-7 are supported.
--- mule-ucs-0.85~0.20061127.orig/debian/README.Debian
+++ mule-ucs-0.85~0.20061127/debian/README.Debian
@@ -0,0 +1,107 @@
+mule-ucs for Debian
+-------------------
+
+Unicode definition
+==================
+
+Mule-UCS Unicode definition (Mule-UCS-Unicode) is disabled by default.
+
+To enable Mule-UCS-Unicode, evaluate (require 'un-define) or
+(un-define-debian). Samples of `~/.emacs' are available at
+`/usr/share/doc/mule-ucs/examples/'. See also below "Debian functions"
+section.
+
+To enable Mule-UCS-Unicode before user-specific init files (~/.emacs,
+~/.xemacs/init.el or so) are loaded, set the environment variable
+DEB_MULEUCS_UNICODE to "on". See also below "Environment variables"
+section.
+
+Note that the Mule-UCS stuff might be providing troublesome to other
+packages. (e.g. `mucs' redefines `encode-char' and `decode-char'
+that conflicts with `nxml-mode'.)
+
+Debian functions
+================
+
+Debian mule-ucs startup (`/etc/emacs/site-start.d/40mule-ucs.el')
+provides the following functions:
+
+* un-define-debian
+* un-define-debian-latin
+* un-define-debian-jisx0213
+* un-define-debian-jisx0213-latin
+
+These functions evaluate (require 'un-define) and related Lisp expressions
+(setting charset order, coding system alias, coding priority, etc.).
+
+The `unicode-basic-translation-charset-order-list' variable is set
+according to your locale setting (the environment variables, `LC_ALL',
+`LC_CTYPE', or `LANG') for CJK characters. (e.g. If LANG=ko_KR, korean
+characters are preferred to chinese/japanese characters.)
+
+If you prefer latin characters to CJK locale characters, use
+`un-define-debian-latin' or `un-define-debian-jisx0213-latin'.
+
+If you want to enable the `jisx0213' feature, use
+`un-define-debian-jisx0213' or `un-define-debian-jisx0213-latin'.
+
+Note that the `un-define-change-charset-order' function doesn't work
+on XEmacs, so the `unicode-basic-translation-charset-order-list'
+variable and the `jisx0213' feature don't affect on XEmacs.
+
+Environment variables
+=====================
+
+The mule-ucs startup (`/etc/emacs/site-start.d/40mule-ucs.el') is
+affected by the following environment variables:
+
+* DEB_MULEUCS_UNICODE: To enable Mule-UCS-Unicode at strtup, set this
+ environment variable to "on". Default value is "off".
+
+* DEB_MULEUCS_JISX0213: To enable the `jisx0213' feature, set this
+ environment variable to "on". Default value is "off".
+
+* DEB_MULEUCS_PREFER_LATIN: To prefer latin characters to CJK locale
+ characters, set this environment variable to "on". Default value
+ is "off".
+
+prefer-coding-system
+====================
+
+If you prefer utf-8 to other coding systems, evaluate `prefer-coding-system'
+after `set-language-environment', like this:
+
+(un-define-debian)
+(set-language-environment "Japanese")
+(prefer-coding-system 'utf-8-unix)
+;;(prefer-coding-system 'shift_jis-dos)
+;;(prefer-coding-system 'euc-jp-unix)
+
+Unicode translation rules
+=========================
+
+If you want to use supplemental translation rules for other
+conversions than Unicode Consortium's definition, use the un-supple
+feature, like this:
+
+(require 'un-supple)
+;;(un-supple-enable 'jdk)
+;;(un-supple-enable 'jisx0221)
+(un-supple-enable 'windows)
+
+terminal-coding-system
+======================
+
+On UTF-8 terminal, if you prefer Mule-UCS's utf-8 to Emacs' mule-utf-8,
+set coding system of terminal to utf-8, like this:
+
+(set-terminal-coding-system 'utf-8)
+
+big5conv
+========
+
+For BIG5 and CNS conversion, you can evaluate either (require 'big5c-ucs)
+or (require 'big5c-cns) on GNU Emacs. XEmacs is not supported.
+This feature is not well tested in Debian.
+
+ -- Tatsuya Kinoshita <tats@debian.org>, Sun, 19 Nov 2006 22:15:46 +0900
--- mule-ucs-0.85~0.20061127.orig/debian/copyright
+++ mule-ucs-0.85~0.20061127/debian/copyright
@@ -0,0 +1,63 @@
+This package was debianized by
+ 1999-2002 Takuo KITAME <kitame@debian.org>
+ 2003-2007 Tatsuya Kinoshita <tats@debian.org>
+
+The upstream source can be downloaded from
+ http://www.meadowy.org/~shirai/
+ (Mule-UCS official site will be available at Meadowy.org)
+
+Copyright (C) 1997-2001 Miyashita Hisashi
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+with the Debian distribution in file `/usr/share/common-licenses/GPL';
+if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public License
+version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is distributed under the same conditions as the
+upstream.
+
+Other copyright holders:
+
+lisp/big5conv/big5conv.el:;; Copyright (C) 1997, 1998 Kawabata Taichi
+lisp/jisx0213/egg-sim-jisx0213.el:;; Copyright (C) 2000 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
+lisp/jisx0213/x0213-char.el:;; Copyright (C) 2000 KAWABATA, Taichi
+lisp/jisx0213/x0213-csys.el:;; Copyright (C) 2000 KAWABATA, Taichi
+lisp/jisx0213/x0213-font.el:;; Copyright (C) 2000 KAWABATA, Taichi
+lisp/jisx0213/x0213-util.el:;; Copyright (C) 2000 KAWABATA, Taichi <batta@beige.ocn.ne.jp>
+lisp/reldata/uiso8859-14.el:;; Copyright (C) 2000 Free Software Foundation, Inc.
+lisp/reldata/uiso8859-15.el:;; Copyright (C) 2000 Free Software Foundation, Inc.
+lisp/reldata/ulao.el:;; Copyright (C) 2001 Free Software Foundation, Inc.
+
+The following files are just tables between UCS and CNS:
+
+lisp/reldata/u-cns-1.el:;; Copyright (c) 1991-1994 Unicode, Inc.
+lisp/reldata/u-cns-1.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-1.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+lisp/reldata/u-cns-2.el:;; Copyright (c) 1991-1994 Unicode, Inc.
+lisp/reldata/u-cns-2.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-2.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+lisp/reldata/u-cns-3.el:;; Copyright (c) 1991-1994 Unicode, Inc.
+lisp/reldata/u-cns-3.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-3.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+lisp/reldata/u-cns-4.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-4.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+lisp/reldata/u-cns-5.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-5.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+lisp/reldata/u-cns-6.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-6.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+lisp/reldata/u-cns-7.el:;; Copyright (C) 1998 Koichi Yasuoka.
+lisp/reldata/u-cns-7.el:;; Copyright (C) 1998 MORIOKA Tomohiko.
+
--- mule-ucs-0.85~0.20061127.orig/debian/docs
+++ mule-ucs-0.85~0.20061127/debian/docs
@@ -0,0 +1,4 @@
+lisp/MuleUni.txt
+lisp/README
+lisp/README.Unicode
+lisp/type.txt
--- mule-ucs-0.85~0.20061127.orig/debian/emacsen-install.in
+++ mule-ucs-0.85~0.20061127/debian/emacsen-install.in
@@ -0,0 +1,111 @@
+#!/bin/sh
+# /usr/lib/emacsen-common/packages/install/mule-ucs
+set -e
+
+FLAVOR=$1
+VERSION=@VERSION@
+PACKAGE="mule-ucs"
+
+if [ -z "${FLAVOR}" ]; then
+ echo Need argument to determin FLAVOR of emacsen
+ exit 1
+fi
+if [ -z "${PACKAGE}" ]; then
+ echo Internal error: need package name
+ exit 1
+fi
+if [ -z "${VERSION}" ]; then
+ echo Internal error: need package version
+ exit 1
+fi
+if [ "X${FLAVOR}" = Xemacs ]; then exit 0; fi
+if [ "X${FLAVOR}" = Xemacs19 ]; then exit 0; fi
+if [ "X${FLAVOR}" = Xmule2 ]; then exit 0; fi
+
+FLAVOR_SUFFIX=`echo ${FLAVOR} | cut -s -d - -f 2`
+FLAVORTEST=`echo ${FLAVOR} | sed -e s/^s// | cut -c-6`
+if [ "X${FLAVORTEST}" = "Xxemacs" ]; then
+ FLAVOR_BODY=`echo ${FLAVOR} | cut -d - -f 1`
+ if [ "X${FLAVOR_SUFFIX}" = "Xmule" ]; then
+ EMACSEN_MULE=`ls /usr/bin/${FLAVOR_BODY}*-mule* 2>/dev/null | head -1`
+ if [ -n "${EMACSEN_MULE}" ]; then
+ EMACSEN_MULE=`basename ${EMACSEN_MULE}`
+ fi
+ elif [ "X${FLAVOR_SUFFIX}" = "Xnomule" ]; then
+ exit 0
+ else
+ EMACSEN_MULE=`ls /usr/bin/${FLAVOR}*-mule* 2>/dev/null | head -1`
+ if [ -n "${EMACSEN_MULE}" ]; then
+ EMACSEN_MULE=`basename ${EMACSEN_MULE}`
+ fi
+ fi
+else
+ EMACSEN_MULE=${FLAVOR}
+fi
+if [ -z "${EMACSEN_MULE}" ]; then exit 0; fi
+EMACSEN=${EMACSEN_MULE}
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+SITELISP=/usr/share/${FLAVOR}/site-lisp
+STAMP=${ELCDIR}/compile-stamp
+
+echo -n "install/${PACKAGE}: Byte-compiling for ${FLAVOR} ..."
+if [ -e ${STAMP} ]; then
+ if [ X"${VERSION}" = X"`cat ${STAMP}`" ]; then
+ echo " skipped. (already compiled)"
+ exit 0
+ else
+ rm -f ${STAMP}
+ fi
+fi
+echo -n "This will take a while ..."
+rm -rf ${ELCDIR}
+install -m 755 -d ${ELCDIR}
+cp -r ${ELDIR}/* ${ELCDIR}/
+
+if [ X"${FLAVORTEST}" = Xxemacs ]; then
+ (cd ${ELCDIR}
+ ${EMACSEN} -q -no-site-file -batch -l mucs-comp.el > ${ELCDIR}/CompilationLog 2>&1
+ )
+else
+ # for GNU Emacs
+ (cd ${ELCDIR}/lisp/jisx0213
+ ${EMACSEN} -q -no-site-file -batch -l x0213-comp.el > ${ELCDIR}/CompilationLog 2>&1
+ )
+ (cd ${ELCDIR}/lisp/big5conv
+ sed -e 's/(load-file/;;(load-file/' big5-comp.el > big5-comp-without-mucs-comp.el
+ ${EMACSEN} -q -no-site-file -batch -l big5-comp-without-mucs-comp.el >> ${ELCDIR}/CompilationLog 2>&1
+ )
+ if [ -f ${ELCDIR}/lisp/jisx0213/x0213-cdef.elc ]; then
+ mv ${ELCDIR}/lisp/jisx0213/*.elc ${ELCDIR}/
+ ln -s ${ELDIR}/lisp/jisx0213/jisx0213.el ${ELCDIR}/
+ ln -s ${ELDIR}/lisp/jisx0213/egg-sim-jisx0213.el ${ELCDIR}/
+ fi
+ if [ -f ${ELCDIR}/lisp/big5conv/big5conv.elc ]; then
+ mv ${ELCDIR}/lisp/big5conv/*.elc ${ELCDIR}/
+ fi
+fi
+if [ -f ${ELCDIR}/lisp/un-define.elc ]; then
+ mv ${ELCDIR}/lisp/*.elc ${ELCDIR}/
+fi
+rm -rf ${ELCDIR}/lisp ${ELCDIR}/mucs-comp.el
+( for d in "${ELDIR}/lisp" "${ELDIR}/lisp/big5conv" "${ELDIR}/lisp/jisx0213" "${ELDIR}/lisp/reldata"; do
+ cd ${d}
+ for f in *.el; do
+ if [ -f ${ELCDIR}/${f}c ]; then
+ ln -sf ${d}/${f} ${ELCDIR}/${f}
+ fi
+ done
+ done
+)
+gzip -9 ${ELCDIR}/CompilationLog
+chmod 644 ${ELCDIR}/CompilationLog.gz
+if [ -f ${ELCDIR}/un-define.elc ]; then
+ chmod 644 ${ELCDIR}/*.elc
+ echo "${VERSION}" > ${STAMP}
+ chmod 644 ${STAMP}
+fi
+echo " done."
+
+exit 0
--- mule-ucs-0.85~0.20061127.orig/debian/emacsen-startup
+++ mule-ucs-0.85~0.20061127/debian/emacsen-startup
@@ -0,0 +1,364 @@
+;;; 40mule-ucs.el --- Debian mule-ucs startup file -*-mode: emacs-lisp;-*-
+
+;; Author: Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
+;; Created: 12 Nov 2002
+;; Revised: 8 Nov 2006
+
+;; Unlimited permission is granted to use, copy, distribute, and/or modify
+;; this file. There is NO WARRANTY.
+
+;;; Code:
+
+(let ((path (concat "/usr/share/" (symbol-name flavor) "/site-lisp/mule-ucs"))
+ (case-fold-search t)
+ env unicode-flag jisx0213-flag prefer-latin-flag)
+ (cond
+ ((and (file-exists-p (concat path "/un-define.elc"))
+ (featurep 'mule)
+ (boundp 'emacs-major-version)
+ (>= emacs-major-version 20))
+ (if (fboundp 'debian-pkg-add-load-path-item)
+ (debian-pkg-add-load-path-item path)
+ (setq load-path (cons path load-path)))
+ ;;
+ (defun un-define-debian-jisx0213 ()
+ "Enable Mule-UCS-Unicode for Debian system.
+jisx0213 is on. prefer-latin is off."
+ (interactive)
+ (un-define-debian t nil))
+
+ (defun un-define-debian-jisx0213-latin ()
+ "Enable Mule-UCS-Unicode for Debian system.
+jisx0213 is on. prefer-latin is on."
+ (interactive)
+ (un-define-debian t t))
+
+ (defun un-define-debian-latin ()
+ "Enable Mule-UCS-Unicode for Debian system.
+jisx0213 is off. prefer-latin is on."
+ (interactive)
+ (un-define-debian nil t))
+
+ (defun un-define-debian (&optional jisx0213-flag prefer-latin-flag)
+ "Enable Mule-UCS-Unicode for Debian system.
+If jisx0213-flag is non-nil, jisx0213 is enabled.
+If prefer-latin-flag is non-nil, latin characters are prefered rather than
+CJK locale characters."
+ (interactive)
+ (if (featurep 'xemacs)
+ () ;; `un-define-change-charset-order' doesn't work on XEmacs
+ (setq unicode-basic-translation-charset-order-list
+ (let ((case-fold-search t)
+ cand elem result locale vars)
+ (setq vars '("LC_ALL" "LC_CTYPE" "LANG"))
+ (while (and vars (not (setq locale (getenv (car vars)))))
+ (setq vars (cdr vars)))
+ (or locale (setq locale "C"))
+ (setq cand
+ (append
+ '(ascii)
+ (if prefer-latin-flag
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ (cond
+ ((string-match "^ja" locale)
+ (append
+ '(japanese-jisx0208)
+ (if (not prefer-latin-flag)
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ (if jisx0213-flag '(japanese-jisx0213-1
+ japanese-jisx0213-2))
+ '(japanese-jisx0212
+ korean-ksc5601
+ chinese-gb2312
+ chinese-cns11643-1
+ chinese-cns11643-2
+ chinese-cns11643-3
+ chinese-cns11643-4
+ chinese-cns11643-5
+ chinese-cns11643-6
+ chinese-cns11643-7
+ chinese-big5-1
+ chinese-big5-2)))
+ ((string-match "^ko" locale)
+ (append
+ '(korean-ksc5601)
+ (if (not prefer-latin-flag)
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ '(japanese-jisx0208)
+ (if jisx0213-flag '(japanese-jisx0213-1
+ japanese-jisx0213-2))
+ '(japanese-jisx0212
+ chinese-gb2312
+ chinese-cns11643-1
+ chinese-cns11643-2
+ chinese-cns11643-3
+ chinese-cns11643-4
+ chinese-cns11643-5
+ chinese-cns11643-6
+ chinese-cns11643-7
+ chinese-big5-1
+ chinese-big5-2)))
+ ((string-match "^zh.*[._]big5" locale)
+ (append
+ '(chinese-big5-1
+ chinese-big5-2)
+ (if (not prefer-latin-flag)
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ '(chinese-gb2312
+ chinese-cns11643-1
+ chinese-cns11643-2
+ chinese-cns11643-3
+ chinese-cns11643-4
+ chinese-cns11643-5
+ chinese-cns11643-6
+ chinese-cns11643-7
+ korean-ksc5601
+ japanese-jisx0208)
+ (if jisx0213-flag '(japanese-jisx0213-1
+ japanese-jisx0213-2))
+ '(japanese-jisx0212)))
+ ((string-match "^zh_tw\\>" locale)
+ (append
+ '(chinese-cns11643-1
+ chinese-cns11643-2
+ chinese-cns11643-3
+ chinese-cns11643-4
+ chinese-cns11643-5
+ chinese-cns11643-6
+ chinese-cns11643-7)
+ (if (not prefer-latin-flag)
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ '(chinese-gb2312
+ chinese-big5-1
+ chinese-big5-2
+ korean-ksc5601
+ japanese-jisx0208)
+ (if jisx0213-flag '(japanese-jisx0213-1
+ japanese-jisx0213-2))
+ '(japanese-jisx0212)))
+ ((string-match "^zh" locale)
+ (append
+ '(chinese-gb2312)
+ (if (not prefer-latin-flag)
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ '(chinese-cns11643-1
+ chinese-cns11643-2
+ chinese-cns11643-3
+ chinese-cns11643-4
+ chinese-cns11643-5
+ chinese-cns11643-6
+ chinese-cns11643-7
+ chinese-big5-1
+ chinese-big5-2
+ korean-ksc5601
+ japanese-jisx0208)
+ (if jisx0213-flag '(japanese-jisx0213-1
+ japanese-jisx0213-2))
+ '(japanese-jisx0212)))
+ (t
+ (append
+ (if (not prefer-latin-flag)
+ '(latin-iso8859-1
+ latin-iso8859-2
+ latin-iso8859-3
+ latin-iso8859-4
+ cyrillic-iso8859-5
+ ;;arabic-iso8859-6
+ greek-iso8859-7
+ hebrew-iso8859-8
+ latin-iso8859-9
+ latin-iso8859-14
+ latin-iso8859-15
+ ipa
+ mule-unicode-0100-24ff))
+ '(japanese-jisx0208)
+ (if jisx0213-flag '(japanese-jisx0213-1
+ japanese-jisx0213-2))
+ '(japanese-jisx0212
+ chinese-gb2312
+ chinese-cns11643-1
+ chinese-cns11643-2
+ chinese-cns11643-3
+ chinese-cns11643-4
+ chinese-cns11643-5
+ chinese-cns11643-6
+ chinese-cns11643-7
+ chinese-big5-1
+ chinese-big5-2
+ korean-ksc5601))))
+ '(latin-jisx0201
+ katakana-jisx0201 thai-tis620 ethiopic
+ indian-is13194 chinese-sisheng lao
+ vietnamese-viscii-lower vietnamese-viscii-upper)
+ (if (fboundp
+ (function tibetan-pre-write-canonicalize-for-unicode))
+ '(tibetan))
+ '(mule-unicode-2500-33ff
+ mule-unicode-e000-ffff
+ mule-ucs-unicode-multichar)))
+ (while (setq elem (car cand))
+ (if (or (and (functionp 'charsetp) (charsetp elem))
+ (and (functionp 'find-charset) (find-charset elem))
+ (eq elem 'japanese-jisx0213-1)
+ (eq elem 'japanese-jisx0213-2)
+ (eq elem 'mule-unicode-0100-24ff)
+ (eq elem 'mule-unicode-2500-33ff)
+ (eq elem 'mule-unicode-e000-ffff)
+ (eq elem 'mule-ucs-unicode-multichar))
+ (setq result (cons elem result)))
+ (setq cand (cdr cand)))
+ (nreverse result))))
+ (if (and (not (featurep 'xemacs))
+ (>= emacs-major-version 21))
+ (condition-case nil
+ (if (featurep 'un-define)
+ ()
+ (require 'ucs-tables) ;; should be before loading `un-define'
+ (unify-8859-on-encoding-mode 1)
+ (unify-8859-on-decoding-mode -1))
+ (error nil)))
+ (require 'un-define)
+ (if (featurep 'xemacs)
+ () ;; `un-define-change-charset-order' doesn't work on XEmacs
+ ;; `un-define-change-charset-order' requires `mucs', and `mucs'
+ ;; redefines {en,de}code-char and causes problems, such as
+ ;; (decode-char 'ucs #x00B7) -> nil. Loading `unicode' prevents it.
+ (or (featurep 'mule-ucs-unicode)
+ (load-library "unicode"))
+ (when jisx0213-flag
+ (require 'jisx0213)
+ (define-coding-system-alias 'shift_jis-2004 'shift_jisx0213)
+ (define-coding-system-alias 'euc-jis-2004 'euc-jisx0213))
+ (un-define-change-charset-order)
+ (require 'un-tools))
+ ;; define aliases for utf-16
+ (define-coding-system-alias 'utf-16le 'utf-16-le-no-signature)
+ (define-coding-system-alias 'utf-16be 'utf-16-be-no-signature)
+ (define-coding-system-alias 'utf-16le-with-signature 'utf-16-le)
+ (define-coding-system-alias 'utf-16be-with-signature 'utf-16-be)
+ ;; set coding-category of utf-8 for XEmacs
+ (and (featurep 'xemacs)
+ (fboundp 'coding-system-category)
+ (null (coding-system-category 'utf-8))
+ (fboundp 'coding-system-put)
+ (coding-system-put 'utf-8 'category 'utf-8)
+ (coding-system-put 'utf-8-unix 'category 'utf-8)
+ (coding-system-put 'utf-8-dos 'category 'utf-8)
+ (coding-system-put 'utf-8-mac 'category 'utf-8)
+ (coding-system-put 'utf-8-ws 'category 'utf-8)
+ (coding-system-put 'utf-8-ws-unix 'category 'utf-8)
+ (coding-system-put 'utf-8-ws-dos 'category 'utf-8)
+ (coding-system-put 'utf-8-ws-mac 'category 'utf-8)
+ (fboundp 'set-coding-category-system)
+ (set-coding-category-system 'utf-8 'utf-8))
+ ;; Reset coding system of terminal
+ (if (terminal-coding-system)
+ (set-terminal-coding-system (terminal-coding-system)))
+ ;; set coding-priority to use utf-8 auto-detection
+ (if (and (coding-system-category 'utf-8)
+ (not (eq (coding-system-category 'utf-8) 'coding-category-ccl)))
+ (let ((alist language-info-alist)
+ lang-name codings slot tmp)
+ (while (setq lang-name (car (nth 0 alist)))
+ ;; use copy-sequence so that we can handle read-only object
+ (setq codings (copy-sequence
+ (get-language-info lang-name 'coding-priority)))
+ (setq slot (memq 'mule-utf-8 codings))
+ (if (null slot)
+ (or (memq 'utf-8 codings)
+ (setq codings (append codings '(utf-8))))
+ ;; use utf-8 rather than mule-utf-8
+ (setcdr slot (cons 'utf-8 (cdr slot)))
+ (setq codings (delete 'mule-utf-8 codings)))
+ (setq tmp codings)
+ (while tmp (setq tmp (setcdr tmp (delete (car tmp) (cdr tmp)))))
+ (set-language-info lang-name 'coding-priority codings)
+ (setq alist (cdr alist))))))
+ ;;
+ (setq env (or (getenv "DEB_MULEUCS_UNICODE") "off"))
+ (setq unicode-flag
+ (not (string-match "^\\(off\\|no\\|false\\|0\\)$" env)))
+ (setq env (or (getenv "DEB_MULEUCS_JISX0213") "off"))
+ (setq jisx0213-flag
+ (not (string-match "^\\(off\\|no\\|false\\|0\\)$" env)))
+ (setq env (or (getenv "DEB_MULEUCS_PREFER_LATIN") "off"))
+ (setq prefer-latin-flag
+ (not (string-match "^\\(off\\|no\\|false\\|0\\)$" env)))
+ (if unicode-flag
+ (un-define-debian jisx0213-flag prefer-latin-flag))
+ ;;
+ )))
+
+;;; 40mule-ucs.el ends here
--- mule-ucs-0.85~0.20061127.orig/debian/rules
+++ mule-ucs-0.85~0.20061127/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE=mule-ucs
+VERSION=`dpkg-parsechangelog | grep '^Version: ' | sed -e "s/^Version: //g"`
+
+pre-build: pre-build-stamp
+pre-build-stamp:
+ dh_testdir
+ sed -e "s/@VERSION@/$(VERSION)/g" debian/emacsen-install.in > debian/emacsen-install
+ touch pre-build-stamp
+
+build: pre-build build-stamp
+build-stamp:
+ dh_testdir
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp pre-build-stamp debian/emacsen-install
+ dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ cp mucs-comp.el debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)/
+ cp -r lisp/*.el lisp/reldata lisp/big5conv lisp/jisx0213 debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)/lisp/
+
+ rm -f `find debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)/lisp/ -name ChangeLog`
+ rm -f `find debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)/lisp/ -name \*.txt`
+ rm -f `find debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)/lisp/ -name README\*`
+
+ install lisp/jisx0213/ChangeLog debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/changelog.jisx0213
+ install lisp/ChangeLog debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/changelog.lisp
+ install lisp/jisx0213/readme.txt debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/README.jisx0213
+ install lisp/big5conv/README debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/README.big5conv
+
+ touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+ dh_installemacsen --priority 40
+ dh_installchangelogs ChangeLog
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: pre-build build clean binary-indep binary-arch binary install
--- mule-ucs-0.85~0.20061127.orig/debian/dirs
+++ mule-ucs-0.85~0.20061127/debian/dirs
@@ -0,0 +1,2 @@
+usr/share/emacs/site-lisp/mule-ucs/lisp
+usr/share/doc/mule-ucs
--- mule-ucs-0.85~0.20061127.orig/debian/emacsen-remove
+++ mule-ucs-0.85~0.20061127/debian/emacsen-remove
@@ -0,0 +1,26 @@
+#!/bin/sh
+# /usr/lib/emacsen-common/packages/remove/mule-ucs
+set -e
+
+FLAVOR=$1
+PACKAGE="mule-ucs"
+
+if [ -z "${FLAVOR}" ]; then
+ echo Need argument to determin FLAVOR of emacsen
+ exit 1
+fi
+if [ -z "${PACKAGE}" ]; then
+ echo Internal error: need package name
+ exit 1
+fi
+if [ "X${FLAVOR}" = Xemacs ]; then exit 0; fi
+if [ "X${FLAVOR}" = Xemacs19 ]; then exit 0; fi
+if [ "X${FLAVOR}" = Xmule2 ]; then exit 0; fi
+
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..."
+rm -rf ${ELCDIR}
+echo " done."
+
+exit 0
--- mule-ucs-0.85~0.20061127.orig/debian/watch
+++ mule-ucs-0.85~0.20061127/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://unit.aist.go.jp/itri/itri-gist/ftp.m17n.org/ pub/mule/Mule-UCS/Mule-UCS-([.0-9]+)\.tar\.gz
--- mule-ucs-0.85~0.20061127.orig/debian/compat
+++ mule-ucs-0.85~0.20061127/debian/compat
@@ -0,0 +1 @@
+5
--- mule-ucs-0.85~0.20061127.orig/debian/NEWS
+++ mule-ucs-0.85~0.20061127/debian/NEWS
@@ -0,0 +1,7 @@
+mule-ucs (0.84.999+0.20050930-2) unstable; urgency=low
+
+ At startup, Mule-UCS-Unicode is disabled by default. To enable
+ Mule-UCS-Unicode, evaluate (require 'un-define) or (un-define-debian).
+ See README.Debian for more information.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Wed, 14 Jun 2006 07:18:01 +0900
--- mule-ucs-0.85~0.20061127.orig/debian/dot.emacs.ja
+++ mule-ucs-0.85~0.20061127/debian/dot.emacs.ja
@@ -0,0 +1,57 @@
+;;; dot.emacs.ja --- sample of ~/.emacs for Japanese environments -*-mode: emacs-lisp;-*-
+
+(when (featurep 'mule)
+ ;; Mule-UCS-Unicode for emacsen 20.x and 21.x
+ (when (and (>= emacs-major-version 20)
+ (<= emacs-major-version 21))
+ (if (fboundp 'un-define-debian-jisx0213)
+ (un-define-debian-jisx0213)
+ (when (locate-library "un-define")
+ (if (featurep 'xemacs)
+ (require 'un-define)
+ (require 'jisx0213)))))
+ (let ((case-fold-search t)
+ locale vars cs)
+ (setq vars '("LC_ALL" "LC_CTYPE" "LANG"))
+ (while (and vars (not (setq locale (getenv (car vars)))))
+ (setq vars (cdr vars)))
+ (or locale (setq locale "C"))
+ (when (string-match "^ja" locale)
+ ;; prefer japanese-jisx0208 characters
+ (when (and (featurep 'un-define)
+ (not (featurep 'xemacs))) ;; for Emacs 20.x and 21.x
+ (require 'un-supple)
+ (un-supple-enable 'jisx0221)
+ (un-supple-enable 'windows))
+ (when (fboundp 'utf-translate-cjk-set-unicode-range)
+ ;; for Emacs 22.x, see also emacs/lisp/international/subst-*
+ (utf-translate-cjk-set-unicode-range
+ '((#x00a2 . #x00a3) (#x00a7 . #x00a8) (#x00ac . #x00ac)
+ (#x00b0 . #x00b1) (#x00b4 . #x00b4) (#x00b6 . #x00b6)
+ (#x00d7 . #x00d7) (#x00f7 . #x00f7) (#x0370 . #x03ff)
+ (#x0400 . #x04ff) (#x2000 . #x206f) (#x2100 . #x214f)
+ (#x2190 . #x21ff) (#x2200 . #x22ff) (#x2300 . #x23ff)
+ ;;(#x2460 . #x2473)
+ (#x2500 . #x257f) (#x25a0 . #x25ff) (#x2600 . #x26ff)
+ (#x2e80 . #xd7a3) (#xff00 . #xffef))))
+ (set-language-environment "Japanese")
+ (prefer-coding-system 'utf-8)
+ (prefer-coding-system 'shift_jis)
+ (prefer-coding-system 'euc-jp))
+ (cond
+ ((string-match "UTF-?8" locale)
+ (setq cs 'utf-8))
+ ((and (string-match "EUC-?JIS" locale) (featurep 'jisx0213))
+ (setq cs 'euc-jisx0213))
+ ((and (string-match "Shift_?JIS[-X2]" locale) (featurep 'jisx0213))
+ (setq cs 'shift_jisx0213))
+ ((string-match "EUC-?J" locale)
+ (setq cs 'euc-jp))
+ ((string-match "SJIS\\|Shift_?JIS" locale)
+ (setq cs 'shift_jis)))
+ (when cs
+ (prefer-coding-system cs)
+ (set-keyboard-coding-system cs)
+ (set-terminal-coding-system cs))))
+
+;;; dot.emacs.ja ends here
--- mule-ucs-0.85~0.20061127.orig/debian/examples
+++ mule-ucs-0.85~0.20061127/debian/examples
@@ -0,0 +1,2 @@
+debian/dot.emacs.ja
+debian/dot.emacs.noncjk
--- mule-ucs-0.85~0.20061127.orig/debian/dot.emacs.noncjk
+++ mule-ucs-0.85~0.20061127/debian/dot.emacs.noncjk
@@ -0,0 +1,23 @@
+;;; dot.emacs.noncjk --- sample of ~/.emacs for non-CJK environments -*-mode: emacs-lisp;-*-
+
+(when (featurep 'mule)
+ ;; Mule-UCS-Unicode for emacsen 20.x and 21.x
+ (when (and (>= emacs-major-version 20)
+ (<= emacs-major-version 21))
+ (if (fboundp 'un-define-debian-latin)
+ (un-define-debian-latin)
+ (if (locate-library "un-define")
+ (require 'un-define))))
+ (let ((case-fold-search t)
+ locale vars cs)
+ (setq vars '("LC_ALL" "LC_CTYPE" "LANG"))
+ (while (and vars (not (setq locale (getenv (car vars)))))
+ (setq vars (cdr vars)))
+ (or locale (setq locale "C"))
+ (when (string-match "UTF-?8" locale)
+ (setq cs 'utf-8)
+ (prefer-coding-system cs)
+ (set-keyboard-coding-system cs)
+ (set-terminal-coding-system cs))))
+
+;;; dot.emacs.noncjk ends here