aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/files2
-rwxr-xr-xdebian/install.debian30
-rwxr-xr-xdebian/remove.debian17
-rwxr-xr-xdebian/rules4
5 files changed, 56 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index ce5692d..0fcc2bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dictionary (1.5-1) unstable; urgency=low
+
+ * added tooltip support for emacs
+
+ -- Torsten Hilbrich <Torsten.Hilbrich@gmx.net> Sun, 8 Jul 2001 21:01:12 +0200
+
dictionary (1.4.1-1) unstable; urgency=low
* changed recognition of utf-8 support (suggested by Enrico Scholz)
diff --git a/debian/files b/debian/files
index 18c2feb..b41abdd 100644
--- a/debian/files
+++ b/debian/files
@@ -1 +1 @@
-dictionary_1.4.1-1_i386.deb unknown optional
+dictionary_1.5-1_i386.deb unknown optional
diff --git a/debian/install.debian b/debian/install.debian
new file mode 100755
index 0000000..ad76efb
--- /dev/null
+++ b/debian/install.debian
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+PACKAGE=dictionary
+FLAVOUR=$1
+ELDIR=/usr/share/emacs/site-lisp/
+ELCDIR=/usr/share/$FLAVOUR/site-lisp/
+EFLAGS="-batch -q -l lpath.el -f batch-byte-compile"
+CONFFILE=${ELDIR}/${PACKAGE}-init.el
+CONFDIR=/etc/$FLAVOUR/site-start.d/
+
+SOURCES="dictionary.el connection.el link.el"
+
+case "$FLAVOUR" in
+ emacs) echo "install/$PACKAGE: Ignoring emacs";;
+ *) echo -n "install/$PACKAGE: Byte-compiling for $FLAVOUR..."
+ install -m 755 -d $ELCDIR
+ for i in $SOURCES; do cp $ELDIR/$i $ELCDIR; done
+ (cd $ELCDIR && \
+ echo '(setq load-path (cons "." load-path))' > lpath.el
+ $FLAVOUR $EFLAGS $SOURCES 2>/dev/null
+ rm lpath.el )
+ cp ${CONFFILE} ${CONFDIR}/50${PACKAGE}.el
+ cd $ELCDIR
+ for i in $SOURCES; do rm -f $ELCDIR/*.el; done
+ echo " done."
+ ;;
+esac
+
+
+
diff --git a/debian/remove.debian b/debian/remove.debian
new file mode 100755
index 0000000..991d208
--- /dev/null
+++ b/debian/remove.debian
@@ -0,0 +1,17 @@
+#!/bin/sh
+PACKAGE=dictionary
+FLAVOUR=$1
+ELCDIR=/usr/share/$FLAVOUR/site-lisp/
+
+SOURCE="connection.el dictionary.el link.el"
+CONFFILE=/etc/$FLAVOUR/site-start.d/50${PACKAGE}.el
+
+case "$FLAVOUR" in
+ emacs) echo "install/$PACKAGE: Ignoring emacs";;
+ *) echo -n "remove/$PACKAGE: Removing for $FLAVOUR..."
+ cd $ELCDIR
+ for i in $SOURCE; do rm -f ${i}c; done
+ rm ${CONFFILE}
+ echo " done."
+ ;;
+esac
diff --git a/debian/rules b/debian/rules
index e55bdb0..1a67696 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,9 +29,9 @@ binary-arch: checkroot build
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
+ cp debian/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
+ cp debian/remove.debian debian/tmp/usr/lib/emacsen-common/packages/remove/dictionary
chmod 755 debian/tmp/usr/lib/emacsen-common/packages/remove/dictionary
debstd README