Package: php-elisp
Version: 1.13.5-1
Tag: patch

Dear maintainer,
I attached patch, drop support emacs <= 22, will be fix this RC bug.
Please check and upload.

Best Wishes,
Youhei

At Thu, 15 Jan 2015 03:26:31 +0100,
Andreas Beckmann <a...@debian.org> wrote:
> 
> during a test with piuparts I noticed your package fails to upgrade from
> 'lenny' to 'squeeze' to 'wheezy' to 'jessie'.
> It installed fine in 'lenny', and upgraded to 'squeeze' and 'wheezy'
> successfully, but then the upgrade to 'jessie' failed.
> 
> >>From the attached log (scroll to the bottom...):
> 
>   Setting up emacsen-common (2.0.8) ...
>   Install emacsen-common for emacs21
>   emacsen-common: Handling install of emacsen flavor emacs21
>   Wrote /etc/emacs21/site-start.d/00debian-vars.elc
>   Wrote /usr/share/emacs21/site-lisp/debian-startup.elc
>   Done
>   Setting up php-elisp (1.13.5-1) ...
>   Installing new version of config file 
> /etc/emacs/site-start.d/50php-elisp.el ...
>   Install php-elisp for emacs
>   Install php-elisp for emacs21
>   install/php-elisp: Handling install for emacsen flavor emacs21
>   Loading 00debian-vars...
>   Loading 50php-elisp (source)...
>   While compiling toplevel forms in file 
> /usr/share/emacs21/site-lisp/php-elisp/php-mode.el:
>     !! File error (("Cannot open load file" "flymake"))
>   Done
>   ERROR: install script from php-elisp package failed
>   dpkg: error processing package php-elisp (--configure):
>    subprocess installed post-installation script returned error exit status 1
>   Setting up makedev (2.3.1-93) ...
>   Processing triggers for libc-bin (2.19-13) ...
>   Errors were encountered while processing:
>    php-elisp
>  
> 
> cheers,
> 
> Andreas

---
Youhei SASAKI <uwab...@gfd-dennou.org>
              <uwab...@debian.or.jp>
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07
From af68b15ac6a8b58af45994dfbb2c21ad8ecdaa0f Mon Sep 17 00:00:00 2001
From: Youhei SASAKI <uwab...@gfd-dennou.org>
Date: Sat, 17 Jan 2015 15:09:38 +0900
Subject: [PATCH] Drop emacs <= 22 support

Signed-off-by: Youhei SASAKI <uwab...@gfd-dennou.org>
---
 debian/control                   | 2 +-
 debian/php-elisp.emacsen-install | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index fdfceb5..1177665 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Homepage: https://github.com/ejmr/php-mode
 
 Package: php-elisp
 Architecture: all
-Depends: emacs24 | emacs23 | emacs22 | emacsen, ${misc:Depends}
+Depends: emacs24 | emacs23 | emacsen, ${misc:Depends}
 Suggests: php5, php5-cli
 Recommends: speedbar
 Description: Emacs support for php files
diff --git a/debian/php-elisp.emacsen-install b/debian/php-elisp.emacsen-install
index dd4a3f0..484454b 100644
--- a/debian/php-elisp.emacsen-install
+++ b/debian/php-elisp.emacsen-install
@@ -8,7 +8,11 @@
 FLAVOR=$1
 PACKAGE=php-elisp
 
-if [ ${FLAVOR} = emacs ]; then exit 0; fi
+case $FLAVOR in
+    emacs|emacs22|emacs21|emacs20|emacs19|mule2|*xemacs*)
+    exit 0
+    ;;
+esac
 
 echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
 
-- 
2.1.4

Reply via email to