Package: gnus
Version: 5.11+v0.4.dfsg1-CVS.1-20060429-01
Followup-For: Bug #322189

Use emacsen in dependencies, Gnus is usable with all debian emacsen.

Modify emacs.install and emacs.remove in consequence.

Regards.
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.2-vs2.1.1-rc15+thorr.1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages gnus depends on:
ii  emacs-multi-tty             0.2004.550-1 The GNU Emacs editor
ii  make                        3.81-1       The GNU version of the "make" util
ii  ucf                         2.009        Update Configuration File: preserv

gnus recommends no packages.

-- debconf information excluded
diff -Nru debian.orig/control debian/control
--- debian.orig/control 2006-04-29 15:47:06.000000000 +0200
+++ debian/control      2006-04-29 17:11:46.793340492 +0200
@@ -8,7 +8,7 @@
 Package: gnus
 Architecture: all
 Priority: optional
-Depends: ucf, emacs21 | xemacs21 | emacs-snapshot, make
+Depends: ucf, emacs21 | xemacs21 | emacs-snapshot | emacsen, make
 Conflicts: semi, wemi, t-gnus, flim (<< 1.14.5+0.20030430-4)
 Suggests: w3-el-e21, netpbm, openssl
 Provides: news-reader, mail-reader, imap-agent
diff -Nru debian.orig/emacsen.install debian/emacsen.install
--- debian.orig/emacsen.install 2006-04-29 15:47:06.000000000 +0200
+++ debian/emacsen.install      2006-04-29 15:53:16.948466000 +0200
@@ -23,7 +23,7 @@
     emacs | emacs20 | emacs19)
        echo "install/$PACKAGE: Ignoring $FLAVOUR."
        ;;
-    emacs21 | xemacs21 | emacs-snapshot)
+    *)
        echo -n "install/$PACKAGE: Byte-compiling for $FLAVOUR..."
        if which $FLAVOUR 2>&1 >/dev/null; then
            echo -n "found $FLAVOUR .."
@@ -72,6 +72,4 @@
 
         echo "done."
        ;;
-    *)
-        echo "install/$PACKAGE: Ignoring emacsen flavor $FLAVOUR.";    
 esac
diff -Nru debian.orig/emacsen.remove debian/emacsen.remove
--- debian.orig/emacsen.remove  2006-04-29 15:47:06.000000000 +0200
+++ debian/emacsen.remove       2006-04-29 15:54:04.285697000 +0200
@@ -19,14 +19,11 @@
     emacs19 | emacs20 | emacs)
        echo "remove/$PACKAGE: Ignoring emacsen flavor $FLAVOUR."       
         ;;
-    emacs21 | xemacs21 | emacs-snapshot)
+    *)
         echo -n "remove/$PACKAGE: Removing for $FLAVOUR..."
        if [ -d $ELCDIR ]; then
            rm -fr $ELCDIR
        fi
         echo " done."   
         ;;
-    *)
-        echo "remove/$PACKAGE: Ignoring emacsen flavor $FLAVOUR."       
-        ;;
 esac

Reply via email to