--- lookup-el-1.4.1.orig/debian/dot.lookup.el
+++ lookup-el-1.4.1/debian/dot.lookup.el
@@ -0,0 +1,79 @@
+;;; .lookup.el --- sample of ~/.lookup.el -*-mode: emacs-lisp;-*-
+
+;; Author: Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
+
+;; Unlimited permission is granted to use, copy, distribute and/or modify
+;; this file. There is NO WARRANTY.
+
+;;; Commentary:
+
+;; The following is a sample of ~/.emacs.
+;;
+;; (autoload 'my-lookup-word "lookup" nil t)
+;; (global-set-key "\C-cl" 'my-lookup-word)
+;; (global-set-key "\C-cL" 'lookup)
+;; (setq lookup-enable-splash nil)
+
+;;; Code:
+
+(defun my-lookup-word (&optional arg)
+ "Read a word from the minibuffer for Lookup.
+The current word is used by default.
+With \\[universal-argument], the current region is used."
+ (interactive "P")
+ (if arg
+ (my-lookup-region)
+ (my-lookup-read-from-minibuffer (lookup-current-word))))
+
+(defun my-lookup-region ()
+ "Read a word from the minibuffer for Lookup.
+The current region is used by default."
+ (interactive)
+ (my-lookup-read-from-minibuffer
+ (buffer-substring-no-properties (or (mark) (point)) (point))))
+
+(defun my-lookup-read-from-minibuffer (&optional string)
+ (if (null string) (setq string ""))
+ (while (string-match "[\n\t]+" string)
+ (setq string (replace-match " " nil t string)))
+ (while (string-match " +" string)
+ (setq string (replace-match " " nil t string)))
+ (while (string-match "\\(^ \\| $\\)" string)
+ (setq string (replace-match "" nil t string)))
+ (lookup-pattern (lookup-read-string "Look up" string 'lookup-input-history)))
+
+(setq lookup-default-method 'prefix) ;; Default value is 'exact
+(setq lookup-default-dictionary-options '((:stemmer . stem-english)))
+
+;;;(setq lookup-search-agents
+;;; '(
+;;; (ndeb "/usr/local/share/dict/epwing/XXX" ;; Copy from EPWING CD-ROM
+;;; ;; To create an appendix data, use eb-utils' ebappendix command.
+;;; ;; See also http://www.sra.co.jp/people/m-kasahr/eb/appendix.html
+;;; :appendix "/usr/local/share/dict/epwing-appendix/XXX"
+;;; :alias "XXX")
+;;; (ndeb "/usr/share/dict/epwing/edict" ;; edict-fpw
+;;; :alias "edict")
+;;; (ndict "localhost" :coding utf-8-dos) ;; dictd and dictd-dictionary
+;;; (ndic "/usr/share/dictd") ;; without dictd, slow, UTF-8 is unsupported
+;;; (ndtp "localhost") ;; ndtpd
+;;; (ndkks) ;; kakasi
+;;; (ndspell) ;; ispell
+;;; ;;
+;;; ))
+
+;;;(setq lookup-search-modules
+;;; '(
+;;; ("default"
+;;; "ndeb+XXX:YYY"
+;;; "ndeb+edict:"
+;;; "ndict+localhost:jargon"
+;;; "ndict+localhost:foldoc"
+;;; "ndict+localhost:vera"
+;;; ;;
+;;; )
+;;; ("all" "")
+;;; ;;
+;;; ))
+
+;;; .lookup.el ends here
--- lookup-el-1.4.1.orig/debian/examples
+++ lookup-el-1.4.1/debian/examples
@@ -0,0 +1 @@
+debian/dot.lookup.el
--- lookup-el-1.4.1.orig/debian/copyright
+++ lookup-el-1.4.1/debian/copyright
@@ -0,0 +1,84 @@
+This package was debianized by
+ 1998-2005 Ryuichi Arafune <arafune@debian.org>
+ 2007-2010 Tatsuya Kinoshita <tats@debian.org>
+
+The upstream source can be downloaded from
+ http://openlab.jp/edict/lookup/
+
+Upstream maintainer: Electronic Dictionary Open Laboratory
+ http://openlab.jp/edict/
+
+Copyright (C) 2001-2004 Electronic Dictionary Open Laboratory
+Copyright (C) 1999-2002 Lookup Development Team <lookup@ring.gr.jp>
+Copyright (C) 1999 NISHIDA Keisuke <knishida@ring.aist.go.jp>
+
+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
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+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/sdicf.el:
+lisp/stem-english.el:
+ Copyright (C) 1999 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
+
+packages/rfc1983.el:
+ Copyright (C) 1999 KOREEDA Kazuyoshi <k_koreed@d2.dion.ne.jp>
+
+texi/texinfo.tex:
+lisp/elisp-comp:
+ Copyright (C) 1985-1998 Free Software Foundation, Inc.
+
+ *
+
+texi/lookup*.texi:
+texi/lookup*.info*:
+
+Copyright (C) 1997-1999 Keisuke Nishida
+Copyright (C) 1999-2001 Lookup Development Team
+
+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 the Free Software Foundation.
+
+ *
+
+NEWS:
+
+Copyright (C) 2001-2004 Electronic Dictionary Open Laboratory
+Copyright (C) 1999-2001 Lookup Development Team
+Copyright (C) 1998, 1999 NISHIDA Keisuke
+
+ Permission is granted to anyone to make or distribute verbatim copies
+ of this document as received, in any medium, provided that the
+ copyright notice and this permission notice are preserved, thus giving
+ the recipient permission to redistribute in turn.
+
+ Permission is granted to distribute modified versions of this document,
+ or of portions of it, under the above conditions, provided also that
+ they carry prominent notices stating who last changed them.
--- lookup-el-1.4.1.orig/debian/dirs
+++ lookup-el-1.4.1/debian/dirs
@@ -0,0 +1,4 @@
+usr/share/emacs/site-lisp/lookup-el
+usr/share/pixmaps/lookup-el
+usr/share/lookup-el/packages
+usr/share/doc/lookup-el
--- lookup-el-1.4.1.orig/debian/control
+++ lookup-el-1.4.1/debian/control
@@ -0,0 +1,21 @@
+Source: lookup-el
+Section: lisp
+Priority: optional
+Maintainer: Tatsuya Kinoshita <tats@debian.org>
+Build-Depends: debhelper (>> 5)
+Homepage: http://openlab.jp/edict/lookup/
+Standards-Version: 3.9.0
+
+Package: lookup-el
+Architecture: all
+Depends: emacs | emacs23 | emacs22 | emacs21 | emacs-snapshot | xemacs21-mule | xemacs21-mule-canna-wnn | xemacs21-gnome-mule | xemacs21-gnome-mule-canna-wnn, dpkg (>= 1.15.4) | install-info, ${misc:Depends}
+Recommends: eblook | ndtpd, dictd | dict-server, dict-jargon | dictd-dictionary
+Suggests: bitmap-mule, namazu2, flim, dictzip, sufary, kakasi, ispell | hunspell, edict-fpw, dict-foldoc, dict-vera, dict-gcide
+Provides: dict-client
+Description: emacsen interface to electronic dictionaries
+ Lookup provides a simple and unified interface on emacsen to search
+ various dictionaries, such as EPWING CD-ROMs, NDTP servers, DICT servers,
+ and so on.
+ .
+ To use EPWING CD-ROMs, install the eblook package or the ndtpd package.
+ To use dictd dictionaries, install the dictd package.
--- lookup-el-1.4.1.orig/debian/info
+++ lookup-el-1.4.1/debian/info
@@ -0,0 +1 @@
+texi/lookup*.info*
--- lookup-el-1.4.1.orig/debian/README.Debian
+++ lookup-el-1.4.1/debian/README.Debian
@@ -0,0 +1,20 @@
+Lookup (lookup-el) for Debian
+-----------------------------
+
+Lookup provides a simple and unified interface on emacsen to search
+various dictionaries, such as DICT servers, NDTP servers, EPWING CD-ROMs,
+and so on.
+
+Quick start:
+
+ * Install the dictd package and dictd-dictionary packages such as
+ dict-gcide, dict-jargon, dict-foldoc, dict-vera, etc.
+ * On emacsen, type `M-x lookup RET' to invoke Lookup.
+ - Type `f' to search word, word*, *word, etc.
+ - Type `?' to display help.
+ - Type `M-x info RET d m Lookup RET' to display manual. (in Japanese)
+ * A configuration for dictd, ndtpd and EPWING dictionaries is set
+ automatically by default. To customize, set your configuration in
+ your `~/.lookup.el'. See also `/usr/share/doc/lookup-el/examples/*'.
+
+ -- Tatsuya Kinoshita <tats@debian.org>, Sun, 8 Jul 2007 22:53:35 +0900
--- lookup-el-1.4.1.orig/debian/rules
+++ lookup-el-1.4.1/debian/rules
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE=lookup-el
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ install -m 644 lisp/*.el $(CURDIR)/debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)
+ sed -e s/\@VERSION\@/`cat VERSION`/ -e s!\@pkgemacsdir\@!/usr/share/$(PACKAGE)! lisp/lookup-vars.el.in > $(CURDIR)/debian/$(PACKAGE)/usr/share/emacs/site-lisp/$(PACKAGE)/lookup-vars.el
+ install -m 644 lisp/*.xbm lisp/*.xpm $(CURDIR)/debian/$(PACKAGE)/usr/share/pixmaps/$(PACKAGE)
+ cp -r packages/* $(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)/packages
+ rm -f `find $(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)/packages -name 'Makefile*' -o -name 'README*' -o -name 'ChangeLog*'`
+
+ for d in lisp texi packages/dict-misc packages/jitenban97; do \
+ if [ -f $${d}/README ]; then \
+ install -m 644 $${d}/README $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/README.`echo $${d} | sed 's!/!.!g'`; \
+ fi; \
+ if [ -f $${d}/ChangeLog ]; then \
+ install -m 644 $${d}/ChangeLog $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/changelog.`echo $${d} | sed 's!/!.!g'`; \
+ fi; \
+ done
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+ dh_installemacsen
+# dh_installmanpages
+ dh_installinfo
+ dh_installchangelogs ChangeLog
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build install
+# We have nothing to do.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- lookup-el-1.4.1.orig/debian/emacsen-startup
+++ lookup-el-1.4.1/debian/emacsen-startup
@@ -0,0 +1,153 @@
+;;; 50lookup-el.el --- Debian lookup-el startup file -*-mode: emacs-lisp;-*-
+
+;;; Code:
+
+(let ((lispdir (concat "/usr/share/"
+ (symbol-name flavor) "/site-lisp/lookup-el")))
+ (when (and (featurep 'mule) (file-readable-p (concat lispdir "/lookup.elc")))
+ (if (fboundp 'debian-pkg-add-load-path-item)
+ (debian-pkg-add-load-path-item lispdir)
+ (setq load-path (cons lispdir load-path)))
+ (autoload 'lookup "lookup" nil t)
+ (autoload 'lookup-region "lookup" nil t)
+ (autoload 'lookup-pattern "lookup" nil t)
+ (add-hook 'lookup-load-hook 'lookup-set-debian-default)
+ ;;
+(defconst lookup-select-mode-help-en
+ "Lookup Select mode:
+
+`n'(ext) - Next dictionary
+`p'(revios) - Previous dictionary
+
+`m'(ark) - Mark dictionary
+`u'(nmark) - Unmark dictionary
+`a'(ll) - Mark all dictionary
+`RET' - Mark this dictionary
+`d'(isable) - Disable dictionary (`D' mark)
+(e)`x'(ecute) - Execute `D' mark
+
+`f'(ind) - Input text and search
+`/' - Text search this dictionary
+`M'(enu) - Display dictionary menu
+`C'(opyright) - Display dictionary copyright
+`o'(pen) - Maximize window
+
+`q' - Quit buffer
+`g' - Initialize module
+`Q' - Quit Lookup
+`R' - Restart Lookup")
+
+(defconst lookup-entry-mode-help-en
+ "Lookup Entry mode:
+
+`n'(ext) - Next entry
+`M-n' - Next history
+`p'(revious) - Previous entry
+`M-p' - Previous history
+
+`v'(iew) - Overview mode
+`o'(pen) - Maximize window
+`s'(earch) - isearch-forward
+`i'(nfo) - Display entry info
+`t'(oggle) - Toggle text processing
+`w'(rite) - Write content to kill ring
+`f'(ind) - Input text to search
+
+`M'(enu) - Display dictionary menu
+`C'(opyright) - Display dictionary copyright
+`L'(inks) - Display links
+`S'(elect) - Select mode
+
+`r' - Go to buffer
+`h' - Go to Content buffer
+`q' - Quit buffer
+`g' - Search again
+`Q' - Quit Lookup
+`R' - Restart Lookup")
+
+(defconst lookup-content-mode-help-en
+ "Lookup Content mode:
+
+`SPC' - Next page `<' - First buffer
+`DEL' - Previous page `>' - Last buffer
+
+`TAB' - Next link `RET' - Follow link
+
+`t' - Toggle text processing `w' - Write region to kill ring
+`h' - Go to Entry buffer `g' - Update buffer
+`q' - Quit buffer `?' - Help")
+
+(defun lookup-search-agents-debian-default ()
+ (let (agents)
+ (if (and (eq (call-process "egrep" "/etc/inetd.conf" nil nil "^ndtp[ \t]")
+ 0)
+ (file-exists-p "/usr/sbin/ndtpd"))
+ ;; ndtp
+ (add-to-list 'agents '(ndtp "localhost") 'append)
+ ;; ndeb
+ (when (file-executable-p "/usr/bin/eblook")
+ (let ((dirs
+ (append
+ (and (file-directory-p "/usr/local/share/dict/epwing")
+ (directory-files "/usr/local/share/dict/epwing"
+ 'full "[^.]"))
+ (and (file-directory-p "/usr/share/dict/epwing")
+ (directory-files "/usr/share/dict/epwing"
+ 'full "[^.]"))))
+ d d-a)
+ (while dirs
+ (setq d (car dirs))
+ (when (or (file-readable-p (concat d "/catalogs"))
+ (file-readable-p (concat d "/catalog")))
+ (if (and (string-match "/epwing/" d)
+ (setq d-a (replace-match "/epwing-appendix/" nil t d))
+ (or (file-readable-p (concat d-a "/catalogs"))
+ (file-readable-p (concat d-a "/catalog"))))
+ (add-to-list 'agents `(ndeb ,d :appendix ,d-a) 'append)
+ (add-to-list 'agents `(ndeb ,d) 'append)))
+ (setq dirs (cdr dirs))))))
+ (if (or (and (file-exists-p "/var/run/dictd.pid")
+ (file-exists-p "/usr/sbin/dictd"))
+ (and (file-exists-p "/var/run/dicod/dicod.pid")
+ (file-exists-p "/usr/bin/dicod")))
+ ;; ndict
+ (if (or (and (fboundp 'find-coding-system)
+ (find-coding-system 'utf-8-dos))
+ (and (fboundp 'coding-system-p)
+ (coding-system-p 'utf-8-dos)))
+ (add-to-list 'agents
+ '(ndict "localhost" :coding utf-8-dos) 'append)
+ (add-to-list 'agents '(ndict "localhost") 'append))
+ ;; ndic
+ (if (file-directory-p "/usr/local/share/dictd")
+ (add-to-list 'agents '(ndic "/usr/local/share/dictd") 'append))
+ (if (file-directory-p "/usr/share/dictd")
+ (add-to-list 'agents '(ndic "/usr/share/dictd") 'append)))
+ ;; ndspell
+ (cond
+ ((file-executable-p "/usr/bin/ispell")
+ (setq ndspell-ispell-program "ispell")
+ (add-to-list 'agents '(ndspell) 'append))
+ ((file-executable-p "/usr/bin/hunspell")
+ (setq ndspell-ispell-program "hunspell")
+ (add-to-list 'agents '(ndspell) 'append)))
+ ;; ndkks
+ (if (file-executable-p "/usr/bin/kakasi")
+ (add-to-list 'agents '(ndkks) 'append))
+ agents))
+
+(defun lookup-set-debian-default ()
+ (if (null lookup-search-agents)
+ (setq lookup-search-agents (lookup-search-agents-debian-default)))
+ (if (string= current-language-environment "Japanese")
+ ()
+ (eval-after-load "lookup-select"
+ '(defconst lookup-select-mode-help lookup-select-mode-help-en))
+ (eval-after-load "lookup-entry"
+ '(defconst lookup-entry-mode-help lookup-entry-mode-help-en))
+ (eval-after-load "lookup-content"
+ '(defconst lookup-content-mode-help lookup-content-mode-help-en))))
+ ;;
+ ))
+
+;;; 50lookup-el.el ends here
--- lookup-el-1.4.1.orig/debian/watch
+++ lookup-el-1.4.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/rc/~rc/;s/pre/~pre/" \
+http://openlab.jp/edict/lookup/dist/lookup-([0-9].*)\.tar\.gz debian uupdate
--- lookup-el-1.4.1.orig/debian/changelog.DebianJP
+++ lookup-el-1.4.1/debian/changelog.DebianJP
@@ -0,0 +1,158 @@
+lookup-el (2:1.0pre8-1) unstable; urgency=low
+
+ * New upstrem version
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Mon, 18 Jan 1999 22:23:35 +0900
+
+lookup-el (2:1.0pre6-1) unstable; urgency=low
+
+ * New upstream version.
+ * Some bugs are fixed.
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Sat, 5 Dec 1998 11:47:01 +0900
+
+lookup-el (2:1.0pre4-1) unstable; urgency=low
+
+ * New upstream version
+ * You can use new search command 'lookup-word'
+ * add new hook 'lookup-load-hook'
+ * some bugs are fixed
+ * other changes see NEWS (Japanese)
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Mon, 2 Nov 1998 14:13:45 +0900
+
+lookup-el (2:1.0pre2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Thu, 22 Oct 1998 22:11:07 +0900
+
+lookup-el (2:1.0pre1-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Mon, 19 Oct 1998 12:22:39 +0900
+
+lookup-el (2:1.0b2-2) unstable; urgency=low
+
+ * illegal instruction in rule file is fixed (Bug#JP/575)
+ * file name in etc/emacs/site-start.d is chaneged (54lookup.el -> 50lookup.el)
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Fri, 16 Oct 1998 19:50:04 +0900
+
+lookup-el (2:1.0b2-1) unstable; urgency=low
+
+ * New upstrem version
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Thu, 17 Sep 1998 22:02:04 +0900
+
+lookup-el (2:1.0b0-2) unstable; urgency=low
+
+ * Dependency problem is fixed (BUG#JP/517)
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Thu, 27 Aug 1998 23:26:37 +0900
+
+lookup-el (2:1.0b0-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Sat, 1 Aug 1998 16:40:18 +0900
+
+lookup-el (2:0.11b3-1) unstable; urgency=low
+
+ * New upstream version
+ * Maintainer E-mail is changed.
+
+ -- Ryuichi Arafune <arafune@debian.or.jp> Fri, 31 Jul 1998 04:05:51 +0900
+
+lookup-el (1:0.9.6-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Thu, 25 Jun 1998 15:29:49 +0900
+
+lookup-el (1:0.9.4-1) unstable; urgency=low
+
+ * New upstream version
+ * Enable to use select mode.
+ m dictionary selection
+ u not selection
+ d put ineffectual mark
+ x make dictionary void
+ q quit
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Fri, 19 Jun 1998 05:06:27 +0900
+
+lookup-el (1:0.9.3-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Wed, 17 Jun 1998 16:50:18 +0900
+
+lookup-el (1:0.9.2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Mon, 15 Jun 1998 20:23:14 +0900
+
+lookup-el (1:0.9-2) frozen-jp unstable-jp; urgency=low
+
+ * Fix the followings suggested by T. Kawamura
+ * Architecture changed ( any -> all )
+ * Dependency problem is fixed (emacsen -> emacs20|xemacs20-mule|xmacs20-mule-canna-wnn|xemacs20-nomule).
+ * copyright file is changed.
+ * "INSTALL" file is not include.
+ * add epoch
+ * emacsen.{install, remove} are changed to apply emacs20|xemacs20 (nor emacs19) for this package
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Sat, 13 Jun 1998 15:07:28 +0900
+
+lookup-el (0.9-1) unstable; urgency=low
+
+ * New Upstream version (version 0.9)
+ * FAQ, TIPS, QnA (Information text for Japanese) are updated
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Sat, 13 Jun 1998 12:35:10 +0900
+
+lookup-el (0.9b11-1) unstable; urgency=low
+
+ * Lookup 0.9 beta11
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Thu, 28 May 1998 22:26:56 +0900
+
+lookup-el (0.9b9-2.2) unstable; urgency=low
+
+ * Dependence bug is fixed
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Thu, 28 May 1998 19:57:05 +0900
+
+lookup-el (0.9b9-2.1) unstable; urgency=low
+
+ * copyright file is updated.
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Wed, 27 May 1998 20:46:42 +0900
+
+lookup-el (0.9b9-2) unstable; urgency=low
+
+ * change log is compressed (suggested by Mr. Ukai)
+ * (control) write the Description part. (suggested by Mr. Ukai)
+ * info file uninstallation bug is fixed. (suggested by Mr. Araki)
+ * (control) Suggest ndtpd.
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Wed, 27 May 1998 11:14:57 +0900
+
+lookup-el (0.9b9-1) unstable; urgency=low
+
+ * Beta9
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Tue, 26 May 1998 20:34:56 +0900
+
+lookup-el (0.9b8-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp> Mon, 25 May 1998 14:32:01 +0900
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "arafune@debian.or.jp"
+End:
--- lookup-el-1.4.1.orig/debian/emacsen-remove
+++ lookup-el-1.4.1/debian/emacsen-remove
@@ -0,0 +1,16 @@
+#!/bin/sh
+# /usr/lib/emacsen-common/packages/remove/lookup-el
+set -e
+
+FLAVOR=$1
+PACKAGE=lookup-el
+
+if [ -z "${FLAVOR}" ]; then exit 0; fi
+if [ "${FLAVOR}" = emacs ]; then exit 0; fi
+if [ "${FLAVOR}" = emacs19 ]; then exit 0; fi
+if [ "${FLAVOR}" = mule2 ]; then exit 0; fi
+
+echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+exit 0
--- lookup-el-1.4.1.orig/debian/emacsen-install
+++ lookup-el-1.4.1/debian/emacsen-install
@@ -0,0 +1,63 @@
+#!/bin/sh
+# /usr/lib/emacsen-common/packages/install/lookup-el
+set -e
+
+FLAVOR=$1
+PACKAGE=lookup-el
+VERSION=1.4
+
+if [ -z "${FLAVOR}" ]; then exit 0; fi
+if [ "${FLAVOR}" = emacs ]; then exit 0; fi
+if [ "${FLAVOR}" = emacs19 ]; then exit 0; fi
+if [ "${FLAVOR}" = mule2 ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAGS="-no-site-file -q -batch -l path.el -f batch-byte-compile"
+FLAGS="-no-site-file -q -batch -l path.el -l lookup-compile.el"
+
+ELDIR="/usr/share/emacs/site-lisp/${PACKAGE}"
+ELCDIR="/usr/share/${FLAVOR}/site-lisp/${PACKAGE}"
+
+FLAVORTEST=`echo ${FLAVOR} | sed -e s/^s// | cut -c-6`
+if [ "X${FLAVORTEST}" = "Xxemacs" ]; then
+ EMACSEN_MULE=`ls /usr/bin/${FLAVOR}*-mule* 2>/dev/null | head -1`
+ if [ -n "${EMACSEN_MULE}" ]; then
+ EMACSEN_MULE=`basename ${EMACSEN_MULE}`
+ fi
+else
+ EMACSEN_MULE=${FLAVOR}
+fi
+if [ -z "${EMACSEN_MULE}" ]; then exit 0; fi
+
+install -m 755 -d ${ELCDIR}
+rm -f ${ELCDIR}/*.el
+
+cd ${ELDIR}
+# Don't byte-compile lookup-compile.el which causes an infinite loop.
+# Don't byte-compile ndnmz.el which depends on flim.
+FILES="`echo *.el | sed -e s/lookup-compile.el// -e s/ndnmz.el//`"
+cp ${FILES} lookup-compile.el ${ELCDIR}
+cp /usr/share/pixmaps/${PACKAGE}/*.xbm ${ELCDIR}
+cp /usr/share/pixmaps/${PACKAGE}/*.xpm ${ELCDIR}
+
+cd ${ELCDIR}
+cat << EOF > path.el
+(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/bitmap-mule" load-path))
+(setq load-path (cons "." load-path))
+(setq byte-compile-warnings nil)
+EOF
+${EMACSEN_MULE} ${FLAGS} ${FILES} > CompilationLog 2>&1
+gzip -9 -f CompilationLog
+
+rm -f *.el *xbm *xpm
+for f in ${FILES}; do
+ ln -sf ${ELDIR}/${f} ${ELCDIR}
+done
+f=ndnmz.el
+if [ -f ${ELDIR}/${f} ]; then
+ rm -f ${ELCDIR}/${f} ${ELCDIR}/${f}c
+ ln -sf ${ELDIR}/${f} ${ELCDIR}
+fi
+
+exit 0
--- lookup-el-1.4.1.orig/debian/docs
+++ lookup-el-1.4.1/debian/docs
@@ -0,0 +1,5 @@
+AUTHORS
+NEWS
+README
+texi/lookup*.texi
+debian/changelog.DebianJP
--- lookup-el-1.4.1.orig/debian/compat
+++ lookup-el-1.4.1/debian/compat
@@ -0,0 +1 @@
+5
--- lookup-el-1.4.1.orig/debian/changelog
+++ lookup-el-1.4.1/debian/changelog
@@ -0,0 +1,278 @@
+lookup-el (1.4.1-6) unstable; urgency=low
+
+ * debian/emacsen-startup:
+ - Add support for dicod, suggested by Ryo IGARASHI. (closes: #588399)
+ - Add support for hunspell, suggested by Ryo IGARASHI. (closes: #588425)
+ * debian/control:
+ - Add hunspell to Suggests.
+ - Update Standards-Version to 3.9.0.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sun, 25 Jul 2010 22:46:06 +0900
+
+lookup-el (1.4.1-5) unstable; urgency=low
+
+ * debian/control:
+ - Add dict-client to Provides. (closes: #502166)
+ - Add emacs23 and emacs-snapshot to Depends.
+ - Add `dpkg (>= 1.15.4) | install-info' to Depends.
+ - Add ${misc:Depends} to Depends.
+ - Set Section to lisp.
+ - Update Standards-Version to 3.8.4.
+ * debian/copyright: Updated.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sat, 13 Feb 2010 14:14:48 +0900
+
+lookup-el (1.4.1-4) unstable; urgency=low
+
+ * debian/emacsen-startup: Don't fail when the epwing directory doesn't
+ exist.
+ * debian/control: Move `Homepage:' from Description to the header.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sun, 01 Jun 2008 06:56:58 +0900
+
+lookup-el (1.4.1-3) unstable; urgency=low
+
+ * debian/control:
+ - Add `dict-jargon | dictd-dictionary' to Recommends.
+ - Set Standards-Version to 3.7.3.
+ * debian/dot.lookup.el: Revise comment for dictd-dictionary.
+ * debian/README.Debian: Mention dictd-dictionary.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Tue, 04 Dec 2007 22:10:28 +0900
+
+lookup-el (1.4.1-2) unstable; urgency=low
+
+ * debian/control:
+ - Add emacs22 to Depends. (closes: #433416)
+ - Prefer emacs to emacs21.
+ - Remove emacs-snapshot from Depends.
+ - Add dict-gcide to Suggests.
+ * debian/rules (clean): Check whether Makefile exists.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Fri, 20 Jul 2007 23:40:08 +0900
+
+lookup-el (1.4.1-1) unstable; urgency=low
+
+ * New upstream release.
+ - Merged the patch for lisp/ndeb-binary.el from Debian.
+ * debian/emacsen-startup:
+ - Use debian-pkg-add-load-path-item to set load-path. (closes: #328711)
+ - Fix that the startup fails if the pacakge is removed but not purged.
+ - Set lookup-search-agents for dictd, ndtpd and EPWING dictionaries.
+ - Set help messages in English if current-language-environment is not
+ "Japanese".
+ * Supplement packages are installed in `/usr/share/lookup-el/packages'.
+ * debian/emacsen-install: Make *.el symlinks.
+ * debian/README.Debian: New file.
+ * debian/dot.lookup.el: New file, a sample of ~/.lookup.el.
+ * Depend on debhelper version 5.
+ * debian/control:
+ - Revise Description.
+ - Prefer emacs21 to xemacs21*.
+ - Rrefer eblook to ndtpd.
+ - Move `eblook | ndtpd | dictd' to Recommends from Suggests.
+ - Add `bitmap-mule, namazu2, flim, dictzip, sufary, kakasi, ispell,
+ edict-fpw, dict-jargon, dict-foldoc, dict-vera' to Suggests.
+ - Remove unnecessary Conflicts.
+ - Set Standards-Version to 3.7.2.
+ * debian/copyright: Rewritten entirely.
+ * debian/watch: New file.
+ * Cleanup debian/* scripts.
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sun, 08 Apr 2007 19:52:43 +0900
+
+lookup-el (1.4-5) unstable; urgency=high
+
+ * lisp/ndeb-binary.el: Make a temporary subdirectory securely.
+ (CVE-2007-0237)
+ * debian/rules: Fix that binary-indep doesn't build the package.
+ * debian/control: Move debhelper from Build-Depends-Indep to Build-Depends.
+ * New maintainer. (the previous maintainer is MIA)
+
+ -- Tatsuya Kinoshita <tats@debian.org> Sun, 28 Jan 2007 07:42:40 +0900
+
+lookup-el (1.4-4) unstable; urgency=low
+
+ * Add 'emacs-snapshot' in the script to be installed in the current version
+ of CVS emacs. closes: #322845
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 15 Aug 2005 11:49:25 +0900
+
+lookup-el (1.4-3) unstable; urgency=low
+
+ * Add xemacs21-gnome-mule and xemacs21-gnome-mule-canna-wnn to the
+ dependency. closes: #270052
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 6 Sep 2004 13:21:26 +0900
+
+lookup-el (1.4-2) unstable; urgency=low
+
+ * Remove emacs20 from Dependence field. closes: #232766
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 16 Feb 2004 10:28:24 +0900
+
+lookup-el (1.4-1) unstable; urgency=low
+
+ * New upstream version.
+ * Now it is installable on XEmacs21. closes: #120266
+ * Update Standard version.
+
+ -- Ryuichi Arafune <arafune@debian.org> Sat, 14 Feb 2004 16:39:58 +0900
+
+lookup-el (1.3-11) unstable; urgency=low
+
+ * Fix the user interaction problem.
+ * closes: #146938
+
+ -- Ryuichi Arafune <arafune@debian.org> Fri, 12 Jul 2002 10:28:36 +0900
+
+lookup-el (1.3-10) unstable; urgency=low
+
+ * Conflicts mule-ucs < 0.84-11, because of bitmap problem in emacs20.
+ * emacs20 support again.
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 8 Apr 2002 22:42:46 +0900
+
+lookup-el (1.3-9) unstable; urgency=low
+
+ * Not run non-using-configure script in debian/rule closes: #141269
+ * Stop supporting emacs20 because of bitmap-mule problem (see the report
+ Bug#141762)
+ * redirect compile messages. closes: #125762
+ * remove xpm and xbm files after compilation. closes: #126169
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 8 Apr 2002 21:20:29 +0900
+
+lookup-el (1.3-8) unstable; urgency=low
+
+ * Fix typo in description. closes: #125094
+
+ -- Ryuichi Arafune <arafune@debian.org> Tue, 18 Dec 2001 09:22:39 +0900
+
+lookup-el (1.3-7) unstable; urgency=low
+
+ * Add emacs21 in Depends field. closes #119934
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 19 Nov 2001 11:40:50 +0900
+
+lookup-el (1.3-6) unstable; urgency=low
+
+ * lintian free.
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 25 Oct 2001 19:52:57 +0900
+
+lookup-el (1.3-5) unstable; urgency=low
+
+ * Remove dh_suidregister in rules.
+
+ -- Ryuichi Arafune <arafune@debian.org> Wed, 7 Feb 2001 19:33:24 +0900
+
+lookup-el (1.3-4) unstable; urgency=low
+
+ * Checking mule feature for XEmacs21 in installation.
+ closes: #68036 (I hope!!)
+ * Do not copy eword-decode for byte-compile.
+
+ -- Ryuichi Arafune <arafune@debian.org> Fri, 11 Aug 2000 10:36:33 +0900
+
+lookup-el (1.3-3) unstable; urgency=low
+
+ * Fix " compilation fails with xemacs21 ". closes: #68036
+ * Stop the support for xemacs20. closes: #68034
+
+ -- Ryuichi Arafune <arafune@debian.org> Fri, 4 Aug 2000 18:32:21 +0900
+
+lookup-el (1.3-2) unstable; urgency=low
+
+ * Fix "Cannot open load file: lookup-vars" bug.
+ closes: #66410, #66329
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 29 Jun 2000 10:32:33 +0900
+
+lookup-el (1.3-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Ryuichi Arafune <arafune@debian.org> Sat, 17 Jun 2000 11:32:08 +0900
+
+lookup-el (1.2-1) unstable; urgency=low
+
+ * New upstream version
+ closes: #57984
+
+ -- Ryuichi Arafune <arafune@debian.org> Mon, 14 Feb 2000 11:03:10 +0900
+
+lookup-el (1.1.2-2) unstable; urgency=low
+
+ * Ooops !!
+ Some typo fixed.
+ * lintian free
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 10 Feb 2000 17:48:45 +0900
+
+lookup-el (1.1.2-1) unstable; urgency=low
+
+ * New upstream
+ * flim dependency problem is fixed by another way.
+ Even if you do not install flim, you can use lookup.
+ (But you can not use the namazu interface in the case)
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 10 Feb 2000 17:20:59 +0900
+
+lookup-el (1.1-4) unstable; urgency=low
+
+ * Fix Bug#54176
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 6 Jan 2000 16:16:57 +0900
+
+lookup-el (1.1-3) unstable; urgency=low
+
+ * Fix dependency problem (Bug#51849)
+
+ -- Ryuichi Arafune <arafune@debian.org> Fri, 17 Dec 1999 22:23:28 +0900
+
+lookup-el (1.1-2) unstable; urgency=low
+
+ * typo fix in emacsen-install.
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 9 Dec 1999 17:16:41 +0900
+
+lookup-el (1.1-1) unstable; urgency=low
+
+ * New Upstream.
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 2 Dec 1999 15:58:01 +0900
+
+lookup-el (1.0.19990830-2) unstable; urgency=low
+
+ * typo fixed in control.
+
+ -- Ryuichi Arafune <arafune@debian.org> Sat, 20 Nov 1999 09:08:03 +0900
+
+lookup-el (1.0.19990830-1) unstable; urgency=low
+
+ * New upstream (1999-08-30 version)
+ * copy sdicf.el from sdic package. (Fix #46037)
+ * Change README.Debian (Fix #46176)
+ * add depends xemacs21-mule or xemacs21-mule-canna-wnn (Fix #44804)
+
+ -- Ryuichi Arafune <arafune@debian.org> Tue, 12 Oct 1999 15:22:00 +0900
+
+lookup-el (1.0-3) unstable; urgency=low
+
+ * /usr/doc -> /usr/share/doc (use debhelper 2.0.40)
+ * /usr/info -> /usr/share/info
+
+ -- Ryuichi Arafune <arafune@debian.org> Tue, 7 Sep 1999 22:43:10 +0900
+
+lookup-el (1.0-2) unstable; urgency=low
+
+ * emacsen-install is changed.
+
+ -- Ryuichi Arafune <arafune@debian.org> Thu, 22 Jul 1999 12:02:39 +0900
+
+lookup-el (1.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Ryuichi Arafune <arafune@debian.org> Wed, 23 Jun 1999 11:35:02 +1000