Control: tags -1 + patch On January 16, 2019 at 8:27PM +0900, lurdan (at gmail.com) wrote: > Anyway, I don't want be bothered by xemacs, I'll consider to exclude > (or maybe conflict) xemacs21 from its dependency.
To avoid xemacs21, it's enough to skip old/unsupported flavors in
the install/remove scripts, though your yatex package seems
incompletely dh_elpa-fied. (old-style coexist and no byte-compilation)
Anyway, see the follwing patch to fix this bug.
```
--- a/debian/yatex.emacsen-install
+++ b/debian/yatex.emacsen-install
@@ -17,6 +17,11 @@
PACKAGE=yatex
FLAVOR=$1
+case $FLAVOR in
+ *xemacs*|emacs2[0123]|emacs19|mule2)
+ exit 0
+ ;;
+esac
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}/
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}/
diff -urN yatex-1.81/debian/yatex.emacsen-remove
yatex-1.81.new/debian/yatex.emacsen-remove
--- a/debian/yatex.emacsen-remove
+++ b/debian/yatex.emacsen-remove
@@ -8,6 +8,11 @@
PACKAGE=yatex
FLAVOR=$1
+case $FLAVOR in
+ *xemacs*|emacs2[0123]|emacs19|mule2)
+ exit 0
+ ;;
+esac
ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE/
LOG=CompilationLog
```
Thanks,
--
Tatsuya Kinoshita
pgpvxnpJMbSi9.pgp
Description: PGP signature

