debian/0000755000000000000000000000000012257041774007177 5ustar debian/examples0000644000000000000000000000002512161031166010721 0ustar debian/dot.lookup.el debian/compat0000644000000000000000000000000212161031166010361 0ustar 5 debian/info0000644000000000000000000000002312161573113010037 0ustar texi/lookup*.info* debian/rules0000755000000000000000000000364712161573113010260 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PACKAGE=lookup-el build-indep: build-indep-stamp build-indep-stamp: dh_testdir touch $@ build-arch: build: build-indep build-arch clean: dh_testdir dh_testroot rm -f *-stamp [ ! -f Makefile ] || $(MAKE) distclean dh_clean install-indep: 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 install-arch: install: install-indep install-arch binary-indep: build-indep install-indep 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-arch install-arch binary: binary-indep binary-arch .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install-indep install-arch install debian/README.Debian0000644000000000000000000000152612161031167011231 0ustar 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 , Sun, 8 Jul 2007 22:53:35 +0900 debian/emacsen-remove0000644000000000000000000000061412161573113012020 0ustar #!/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 debian/dot.lookup.el0000644000000000000000000000472112161031167011610 0ustar ;;; .lookup.el --- sample of ~/.lookup.el -*-mode: emacs-lisp;-*- ;; Author: Tatsuya Kinoshita ;; 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 debian/copyright0000644000000000000000000000557512161573113011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Lookup Source: http://openlab.jp/edict/lookup/ Files: * Copyright: 2001-2004 Electronic Dictionary Open Laboratory 1999-2002 Lookup Development Team 1999 NISHIDA Keisuke 1999 TSUCHIYA Masatoshi 1999 KOREEDA Kazuyoshi 1985-1998 Free Software Foundation, Inc. License: GPL-2+ 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 . . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: texi/lookup*.texi texi/lookup*.info* Copyright: 1997-1999 Keisuke Nishida 1999-2001 Lookup Development Team License: 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. Files: NEWS Copyright: 2001-2004 Electronic Dictionary Open Laboratory 1999-2001 Lookup Development Team 1998, 1999 NISHIDA Keisuke License: 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. Files: debian/* Copyright: 2007-2013 Tatsuya Kinoshita 1998-2005 Ryuichi Arafune License: The Debian packaging is distributed under the same conditions as the upstream. debian/prerm0000644000000000000000000000045412257041270010241 0ustar #!/bin/sh set -e # Workaround to compatible with emacsen-common <2.0.0 if [ ! -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]; then if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then /usr/lib/emacsen-common/emacs-package-remove lookup-el fi else #DEBHELPER# fi debian/patches/0000755000000000000000000000000012161615003010610 5ustar debian/patches/020_Add-coding-tags.patch0000644000000000000000000002112012161615003015073 0ustar Subject: Add coding tags From: Tatsuya Kinoshita diff --git a/install.el b/install.el index 2274dff..ea130cf 100644 --- a/install.el +++ b/install.el @@ -1,4 +1,4 @@ -;;; install.el --- Lookup installer +;;; install.el --- Lookup installer -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 NISHIDA Keisuke ;; $Id: install.el,v 1.2 2004/01/27 09:09:49 kazuhiko Exp $ diff --git a/lisp/lookup-content.el b/lisp/lookup-content.el index eb90a6b..cbf61fa 100644 --- a/lisp/lookup-content.el +++ b/lisp/lookup-content.el @@ -1,4 +1,4 @@ -;;; lookup-content.el --- lookup-content-mode +;;; lookup-content.el --- lookup-content-mode -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-entry.el b/lisp/lookup-entry.el index 44b7fc5..395edca 100644 --- a/lisp/lookup-entry.el +++ b/lisp/lookup-entry.el @@ -1,4 +1,4 @@ -;;; lookup-entry.el --- lookup-entry-mode +;;; lookup-entry.el --- lookup-entry-mode -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-kanji.el b/lisp/lookup-kanji.el index b95b7c1..6cd07cb 100644 --- a/lisp/lookup-kanji.el +++ b/lisp/lookup-kanji.el @@ -1,4 +1,4 @@ -;;; lookup-kanji.el --- Lookup Kanji-Kana Converter +;;; lookup-kanji.el --- Lookup Kanji-Kana Converter -*-coding: euc-japan;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: TSUCHIYA Masatoshi diff --git a/lisp/lookup-package.el b/lisp/lookup-package.el index 2ce08a4..ae7ee06 100644 --- a/lisp/lookup-package.el +++ b/lisp/lookup-package.el @@ -1,4 +1,4 @@ -;;; lookup-package.el --- management of supplement package +;;; lookup-package.el --- management of supplement package -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-select.el b/lisp/lookup-select.el index 8421e97..058fcb2 100644 --- a/lisp/lookup-select.el +++ b/lisp/lookup-select.el @@ -1,4 +1,4 @@ -;;; lookup-select.el --- lookup-select-mode +;;; lookup-select.el --- lookup-select-mode -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-types.el b/lisp/lookup-types.el index 6d51937..485f623 100644 --- a/lisp/lookup-types.el +++ b/lisp/lookup-types.el @@ -1,4 +1,4 @@ -;;; lookup-types.el --- Lookup various data types +;;; lookup-types.el --- Lookup various data types -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-utils.el b/lisp/lookup-utils.el index 2c84b0f..264c13a 100644 --- a/lisp/lookup-utils.el +++ b/lisp/lookup-utils.el @@ -1,4 +1,4 @@ -;;; lookup-utils.el --- Lookup various utilities +;;; lookup-utils.el --- Lookup various utilities -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-vars.el.in b/lisp/lookup-vars.el.in index b7d3f8c..b6812fd 100644 --- a/lisp/lookup-vars.el.in +++ b/lisp/lookup-vars.el.in @@ -1,4 +1,4 @@ -;;; lookup-vars.el --- Lookup variable list +;;; lookup-vars.el --- Lookup variable list -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup-vse.el b/lisp/lookup-vse.el index 2a3829e..45be105 100644 --- a/lisp/lookup-vse.el +++ b/lisp/lookup-vse.el @@ -1,4 +1,4 @@ -;;; lookup-vse.el --- Lookup Virtual Search Engine +;;; lookup-vse.el --- Lookup Virtual Search Engine -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/lookup.el b/lisp/lookup.el index 1ed7702..7e599ee 100644 --- a/lisp/lookup.el +++ b/lisp/lookup.el @@ -1,4 +1,4 @@ -;;; lookup.el --- Search interface to electronic dictionaries +;;; lookup.el --- Search interface to electronic dictionaries -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999-2001 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/ndeb-binary.el b/lisp/ndeb-binary.el index a639684..326286b 100644 --- a/lisp/ndeb-binary.el +++ b/lisp/ndeb-binary.el @@ -1,4 +1,4 @@ -;;; ndeb-binary.el --- binary data support for ndeb agent +;;; ndeb-binary.el --- binary data support for ndeb agent -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999-2002 Lookup Development Team ;; Author: Satomi I. diff --git a/lisp/ndeb.el b/lisp/ndeb.el index d6e3162..d8632f9 100644 --- a/lisp/ndeb.el +++ b/lisp/ndeb.el @@ -1,4 +1,4 @@ -;;; ndeb.el --- Lookup eblook interface +;;; ndeb.el --- Lookup eblook interface -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/ndkks.el b/lisp/ndkks.el index 3d5e80c..eb7bdcc 100644 --- a/lisp/ndkks.el +++ b/lisp/ndkks.el @@ -1,4 +1,4 @@ -;;; ndkks.el --- Lookup KAKASI interface +;;; ndkks.el --- Lookup KAKASI interface -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/ndnmz.el b/lisp/ndnmz.el index 3c2930a..afa403b 100644 --- a/lisp/ndnmz.el +++ b/lisp/ndnmz.el @@ -1,4 +1,4 @@ -;;; ndnmz.el --- Lookup Namazu interface +;;; ndnmz.el --- Lookup Namazu interface -*-coding: euc-japan;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: TSUCHIYA Masatoshi diff --git a/lisp/ndsrd.el b/lisp/ndsrd.el index 20ef8f1..f13cf75 100644 --- a/lisp/ndsrd.el +++ b/lisp/ndsrd.el @@ -1,4 +1,4 @@ -;;; ndsrd.el --- search agent for $B>.3X4[!X%i%s%@%`%O%&%91Q8l<-E5!Y(B +;;; ndsrd.el --- search agent for $B>.3X4[!X%i%s%@%`%O%&%91Q8l<-E5!Y(B -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/ndtp.el b/lisp/ndtp.el index 862880e..e0bdcc4 100644 --- a/lisp/ndtp.el +++ b/lisp/ndtp.el @@ -1,4 +1,4 @@ -;;; ndtp.el --- Lookup NDTP client +;;; ndtp.el --- Lookup NDTP client -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/lisp/sdicf.el b/lisp/sdicf.el index aede42f..df763f2 100644 --- a/lisp/sdicf.el +++ b/lisp/sdicf.el @@ -1,4 +1,4 @@ -;;; sdicf.el --- Search library for SDIC format dictionary +;;; sdicf.el --- Search library for SDIC format dictionary -*-coding: iso-2022-jp;-*- ;;; $Id: sdicf.el,v 1.1.1.1 2001/11/28 18:32:43 kazuhiko Exp $ ;; Copyright (C) 1999 TSUCHIYA Masatoshi diff --git a/lisp/stem-english.el b/lisp/stem-english.el index 104c5e4..bfe08cd 100644 --- a/lisp/stem-english.el +++ b/lisp/stem-english.el @@ -1,4 +1,4 @@ -;;; stem.el ---- routines for stemming +;;; stem.el ---- routines for stemming -*-coding: euc-japan;-*- ;;; $Id: stem-english.el,v 1.1.1.1 2001/11/28 18:32:52 kazuhiko Exp $ ;;; Author: Tsuchiya Masatoshi diff --git a/packages/colloc.el b/packages/colloc.el index 0b8e83c..95d6547 100644 --- a/packages/colloc.el +++ b/packages/colloc.el @@ -1,4 +1,4 @@ -;;; colloc.el --- supplement package for $B!X?7JT(B $B1QOB3hMQBg<-E5!Y(B +;;; colloc.el --- supplement package for $B!X?7JT(B $B1QOB3hMQBg<-E5!Y(B -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/packages/genius.el b/packages/genius.el index 19f7f3a..5ad6f07 100644 --- a/packages/genius.el +++ b/packages/genius.el @@ -1,4 +1,4 @@ -;;; genius.el --- supplement package for $B!X%8!<%K%"%91QOB!&OB1Q<-E5!Y(B +;;; genius.el --- supplement package for $B!X%8!<%K%"%91QOB!&OB1Q<-E5!Y(B -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida diff --git a/packages/wdic.el b/packages/wdic.el index 6ef3e55..8e6d228 100644 --- a/packages/wdic.el +++ b/packages/wdic.el @@ -1,4 +1,4 @@ -;;; wdic.el --- supplement package for $B!XDL?.MQ8l$N4pACCN<1!Y(B +;;; wdic.el --- supplement package for $B!XDL?.MQ8l$N4pACCN<1!Y(B -*-coding: iso-2022-jp;-*- ;; Copyright (C) 1999 Lookup Development Team ;; Author: Mito debian/patches/010_ndic-el-typo.patch0000644000000000000000000000107312161573113014523 0ustar Description: Typo fix for ndic.el Typo fix for ndic.el to byte-compile with Emacs 24, suggested by Hiroo Hongo, in the upstream mailing list [edict 2712] on 2011-01-04. Author: Tatsuya Kinoshita --- lookup-1.4.1.orig/lisp/ndic.el 2001-11-29 03:32:43.000000000 +0900 +++ lookup-1.4.1/lisp/ndic.el 2011-01-05 01:57:23.000000000 +0900 @@ -1,4 +1,4 @@ -e;;; ndic.el --- Lookup by free dictionaries +;;; ndic.el --- Lookup by free dictionaries ;; Copyright (C) 1999 Lookup Development Team ;; Author: Keisuke Nishida debian/patches/series0000644000000000000000000000006112161573113012027 0ustar 010_ndic-el-typo.patch 020_Add-coding-tags.patch debian/control0000644000000000000000000000221612257041657010603 0ustar Source: lookup-el Section: lisp Priority: optional Maintainer: Tatsuya Kinoshita Build-Depends: debhelper (>> 5) Homepage: http://openlab.jp/edict/lookup/ Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/collab-maint/lookup-el.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/lookup-el.git Package: lookup-el Architecture: all Depends: emacs | emacs24 | 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. debian/watch0000644000000000000000000000020512161031166010211 0ustar version=3 opts="uversionmangle=s/rc/~rc/;s/pre/~pre/" \ http://openlab.jp/edict/lookup/dist/lookup-([0-9].*)\.tar\.gz debian uupdate debian/docs0000644000000000000000000000010012161031166010025 0ustar AUTHORS NEWS README texi/lookup*.texi debian/changelog.DebianJP debian/dirs0000644000000000000000000000016512161031166010051 0ustar usr/share/emacs/site-lisp/lookup-el usr/share/pixmaps/lookup-el usr/share/lookup-el/packages usr/share/doc/lookup-el debian/source/0000755000000000000000000000000012161031170010456 5ustar debian/source/format0000644000000000000000000000001412161031170011664 0ustar 3.0 (quilt) debian/emacsen-install0000644000000000000000000000344112161573113012172 0ustar #!/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}" TOELDIR=../../../emacs/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 "$TOELDIR/$f" "$ELCDIR" done f=ndnmz.el if [ -f ${ELDIR}/${f} ]; then rm -f ${ELCDIR}/${f} ${ELCDIR}/${f}c ln -sf "$TOELDIR/$f" "$ELCDIR" fi exit 0 debian/postinst0000644000000000000000000000051012257041255010773 0ustar #!/bin/sh set -e # Workaround to compatible with emacsen-common <2.0.0 if [ ! -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]; then if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]; then /usr/lib/emacsen-common/emacs-package-install lookup-el fi else #DEBHELPER# fi debian/changelog.DebianJP0000644000000000000000000001077012161031166012455 0ustar lookup-el (2:1.0pre8-1) unstable; urgency=low * New upstrem version -- Ryuichi Arafune 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 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 Mon, 2 Nov 1998 14:13:45 +0900 lookup-el (2:1.0pre2-1) unstable; urgency=low * New upstream version -- Ryuichi Arafune Thu, 22 Oct 1998 22:11:07 +0900 lookup-el (2:1.0pre1-1) unstable; urgency=low * New upstream version -- Ryuichi Arafune 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 Fri, 16 Oct 1998 19:50:04 +0900 lookup-el (2:1.0b2-1) unstable; urgency=low * New upstrem version -- Ryuichi Arafune 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 Thu, 27 Aug 1998 23:26:37 +0900 lookup-el (2:1.0b0-1) unstable; urgency=low * New upstream version -- Ryuichi Arafune 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 Fri, 31 Jul 1998 04:05:51 +0900 lookup-el (1:0.9.6-1) unstable; urgency=low * New upstream version -- Ryuichi Arafune 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 Fri, 19 Jun 1998 05:06:27 +0900 lookup-el (1:0.9.3-1) unstable; urgency=low * New upstream version -- Ryuichi Arafune Wed, 17 Jun 1998 16:50:18 +0900 lookup-el (1:0.9.2-1) unstable; urgency=low * New upstream version -- Ryuichi Arafune 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 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 Sat, 13 Jun 1998 12:35:10 +0900 lookup-el (0.9b11-1) unstable; urgency=low * Lookup 0.9 beta11 -- Ryuichi Arafune Thu, 28 May 1998 22:26:56 +0900 lookup-el (0.9b9-2.2) unstable; urgency=low * Dependence bug is fixed -- Ryuichi Arafune Thu, 28 May 1998 19:57:05 +0900 lookup-el (0.9b9-2.1) unstable; urgency=low * copyright file is updated. -- Ryuichi Arafune 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 Wed, 27 May 1998 11:14:57 +0900 lookup-el (0.9b9-1) unstable; urgency=low * Beta9 -- Ryuichi Arafune Tue, 26 May 1998 20:34:56 +0900 lookup-el (0.9b8-1) unstable; urgency=low * Initial Release. -- Ryuichi Arafune Mon, 25 May 1998 14:32:01 +0900 Local variables: mode: debian-changelog add-log-mailing-address: "arafune@debian.or.jp" End: debian/changelog0000644000000000000000000002413112257041774011052 0ustar lookup-el (1.4.1-12) unstable; urgency=low * Workaround for emacsen-common <2 and debhelper <9.20131104 * Update Standards-Version to 3.9.5 -- Tatsuya Kinoshita Thu, 26 Dec 2013 23:58:00 +0900 lookup-el (1.4.1-11) unstable; urgency=low * Update 020_Add-coding-tags.patch for lookup-vars.el.in -- Tatsuya Kinoshita Mon, 24 Jun 2013 00:55:03 +0900 lookup-el (1.4.1-10) unstable; urgency=low * New patch 020_Add-coding-tags.patch * Add Vcs-Git and Vcs-Browser * Update debian/copyright * Update Standards-Version to 3.9.4 -- Tatsuya Kinoshita Sat, 22 Jun 2013 15:43:41 +0900 lookup-el (1.4.1-9) unstable; urgency=low * debian/control: Add emacs24 to Depends -- Tatsuya Kinoshita Thu, 05 Jul 2012 08:24:10 +0900 lookup-el (1.4.1-8) unstable; urgency=low * debian/emacsen-install: Create relative symlinks. * debian/copyright: Switch to copyright-format-1.0. * debian/rules: New targets build-arch and build-indep. * debian/control: Update Standards-Version to 3.9.3. -- Tatsuya Kinoshita Sun, 29 Apr 2012 17:02:32 +0900 lookup-el (1.4.1-7) unstable; urgency=low * debian/patches/010_ndic-el-typo.patch: Typo fix for ndic.el to byte-compile with Emacs 24, suggested by Hiroo Hongo, in the upstream mailing list [edict 2712] on 2011-01-04. * debian/control: Update Standards-Version to 3.9.1. * debian/copyright: Updated. * Switch to dpkg-source 3.0 (quilt) format. -- Tatsuya Kinoshita Sun, 06 Feb 2011 22:21:53 +0900 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 8 Apr 2002 21:20:29 +0900 lookup-el (1.3-8) unstable; urgency=low * Fix typo in description. closes: #125094 -- Ryuichi Arafune 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 Mon, 19 Nov 2001 11:40:50 +0900 lookup-el (1.3-6) unstable; urgency=low * lintian free. -- Ryuichi Arafune Thu, 25 Oct 2001 19:52:57 +0900 lookup-el (1.3-5) unstable; urgency=low * Remove dh_suidregister in rules. -- Ryuichi Arafune 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 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 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 Thu, 29 Jun 2000 10:32:33 +0900 lookup-el (1.3-1) unstable; urgency=low * New upstream version. -- Ryuichi Arafune Sat, 17 Jun 2000 11:32:08 +0900 lookup-el (1.2-1) unstable; urgency=low * New upstream version closes: #57984 -- Ryuichi Arafune 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 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 Thu, 10 Feb 2000 17:20:59 +0900 lookup-el (1.1-4) unstable; urgency=low * Fix Bug#54176 -- Ryuichi Arafune Thu, 6 Jan 2000 16:16:57 +0900 lookup-el (1.1-3) unstable; urgency=low * Fix dependency problem (Bug#51849) -- Ryuichi Arafune Fri, 17 Dec 1999 22:23:28 +0900 lookup-el (1.1-2) unstable; urgency=low * typo fix in emacsen-install. -- Ryuichi Arafune Thu, 9 Dec 1999 17:16:41 +0900 lookup-el (1.1-1) unstable; urgency=low * New Upstream. -- Ryuichi Arafune Thu, 2 Dec 1999 15:58:01 +0900 lookup-el (1.0.19990830-2) unstable; urgency=low * typo fixed in control. -- Ryuichi Arafune 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 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 Tue, 7 Sep 1999 22:43:10 +0900 lookup-el (1.0-2) unstable; urgency=low * emacsen-install is changed. -- Ryuichi Arafune Thu, 22 Jul 1999 12:02:39 +0900 lookup-el (1.0-1) unstable; urgency=low * Initial Release. -- Ryuichi Arafune Wed, 23 Jun 1999 11:35:02 +1000 debian/emacsen-startup0000644000000000000000000001200512161031170012212 0ustar ;;; 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