From acc30f0c431e4ad89296f4bd9b81e97f970ac6c7 Mon Sep 17 00:00:00 2001 From: Torsten Hilbrich Date: Sun, 13 May 2001 10:30:00 +0200 Subject: Imported version 1.3.1 from tarball small fix in dictionary function to check for availability of the utf-8 encoding to prevent problems in certain xemacs versions (reported by Jeff Mincy) added debian support (use dpkg-buildpackage to build a package) --- debian/README.debian | 7 +++++++ debian/changelog | 9 +++++++++ debian/control | 17 +++++++++++++++++ debian/copyright | 14 ++++++++++++++ debian/dirs | 5 +++++ debian/postinst | 6 ++++++ debian/prerm | 5 +++++ debian/rules | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 116 insertions(+) create mode 100644 debian/README.debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100755 debian/postinst create mode 100755 debian/prerm create mode 100755 debian/rules (limited to 'debian') diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000..45b7fca --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,7 @@ +dictionary for Debian +---------------------- + +This is an unofficial debian package for the dictionary client found +at http://me.in-berlin.de/~myrkr/dictionary.html. + +Torsten Hilbrich , Sun, 13 May 2001 09:55:20 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..430971e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +dictionary (1.3.1-1) unstable; urgency=low + + * Initial release. + + -- Torsten Hilbrich Sun, 13 May 2001 09:55:20 +0200 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e4fc207 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: dictionary +Section: unknown +Priority: optional +Maintainer: Torsten Hilbrich +Standards-Version: 3.2.1 + +Package: dictionary +Architecture: any +Depends: emacsen +Description: dictionary client for emacs + This dictionary client provides access to a dictionary server + (as defined in RFC 2229) from within Emacs or XEmacs. + . + It supports utf-8 (currently available in Emacs 21) and allows + to follow links (marked by {braces}) within the definitions. + . + This is an unofficial debian package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ec1a927 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Torsten Hilbrich Torsten.Hilbrich@gmx.net on +Sun, 13 May 2001 09:55:20 +0200. + +It was downloaded from http://me.in-berlin.de/~myrkr/dictionary.html + +Copyright: + +dictionary is licensed under the GNU General Public License version 2 or +higher. + +On Debian systems the full text of this licence can be found +in /usr/share/common-licenses/GPL. + + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..9d129ef --- /dev/null +++ b/debian/dirs @@ -0,0 +1,5 @@ +usr/lib/emacsen-common/packages/install +usr/lib/emacsen-common/packages/remove +usr/share/doc/dictionary +usr/share/emacs/site-lisp + diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..2333df3 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +PACKAGE=dictionary + +/usr/lib/emacsen-common/emacs-package-install $PACKAGE + diff --git a/debian/prerm b/debian/prerm new file mode 100755 index 0000000..bc7ec08 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +PACKAGE=dictionary + +/usr/lib/emacsen-common/emacs-package-remove $PACKAGE diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e55bdb0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +package=dictionary + +build: + $(checkdir) + + touch build + +clean: + $(checkdir) + -rm -f build + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core debian/substvars + +binary-indep: checkroot build + $(checkdir) +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: checkroot build + $(checkdir) + -rm -rf debian/tmp + install -d debian/tmp + cd debian/tmp && install -d `cat ../dirs` + + cp dictionary.el connection.el link.el dictionary-init.el \ + debian/tmp/usr/share/emacs/site-lisp + cp install.debian debian/tmp/usr/lib/emacsen-common/packages/install/dictionary + chmod 755 debian/tmp/usr/lib/emacsen-common/packages/install/dictionary + cp remove.debian debian/tmp/usr/lib/emacsen-common/packages/remove/dictionary + chmod 755 debian/tmp/usr/lib/emacsen-common/packages/remove/dictionary + + debstd README + dpkg-gencontrol -isp + chown -R root.root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot -- cgit v1.2.3