Package: emacs-calfw
Version: 1.3+git20140316-1
Tags: patch

The dependency `Conflicts: emacs23` does not allow installing
emacs23, but I hope to install both emacs24 and emacs23.

Instead of the dependency `Conflicts: emacs23`, please skip
byte-compilation for emacs23 in emacsen-install, as follows:

```
From a18f595a80715015d31381109894a76d2fa684dc Mon Sep 17 00:00:00 2001
From: Tatsuya Kinoshita <t...@debian.org>
Date: Sun, 30 Mar 2014 17:52:37 +0900
Subject: [PATCH] Skip byte-compilation instead of `Conflicts: emacs23`

---
 debian/control                          | 1 -
 debian/emacs-calfw-howm.emacsen-install | 2 +-
 debian/emacsen-install                  | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 344c98d..e8d2769 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,6 @@ Architecture: all
 Depends: ${misc:Depends}, emacs24
 Suggests: org-mode, emacs-calfw-howm
 Breaks: emacs-calfw-howm (<= 1.2-1)
-Conflicts: emacs23
 Description: calendar framework for Emacs
  This program displays a calendar view in the Emacs buffer,
  which also work with org-agenda, google calendar, and ical.
diff --git a/debian/emacs-calfw-howm.emacsen-install 
b/debian/emacs-calfw-howm.emacsen-install
index 295fab3..4ce35ac 100644
--- a/debian/emacs-calfw-howm.emacsen-install
+++ b/debian/emacs-calfw-howm.emacsen-install
@@ -9,7 +9,7 @@ FLAVOR=$1
 PACKAGE=emacs-calfw-howm
 
 if [ ${FLAVOR} = emacs ]; then exit 0; fi
-if [ ${FLAVOR} = emacs20 -o ${FLAVOR} = emacs21 -o ${FLAVOR} = emacs22 ]; then 
exit 0; fi
+if [ ${FLAVOR} = emacs20 -o ${FLAVOR} = emacs21 -o ${FLAVOR} = emacs22 -o 
${FLAVOR} = emacs23 ]; then exit 0; fi
 if [ ${FLAVOR} = xemacs20 -o ${FLAVOR} = xemacs21 ]; then exit 0; fi
 
 echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
diff --git a/debian/emacsen-install b/debian/emacsen-install
index f177ff5..ce63dea 100644
--- a/debian/emacsen-install
+++ b/debian/emacsen-install
@@ -9,7 +9,7 @@ FLAVOR=$1
 PACKAGE=emacs-calfw
 
 if [ ${FLAVOR} = emacs ]; then exit 0; fi
-if [ ${FLAVOR} = emacs20 -o ${FLAVOR} = emacs21 -o ${FLAVOR} = emacs22 ]; then 
exit 0; fi
+if [ ${FLAVOR} = emacs20 -o ${FLAVOR} = emacs21 -o ${FLAVOR} = emacs22 -o 
${FLAVOR} = emacs23 ]; then exit 0; fi
 if [ ${FLAVOR} = xemacs20 -o ${FLAVOR} = xemacs21 ]; then exit 0; fi
 
 echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
-- 
1.8.5.2

```

Thanks,
-- 
Tatsuya Kinoshita

Attachment: pgpxEL4cBlcgJ.pgp
Description: PGP signature

Reply via email to