mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
debian: update notmuch-emacs for emacs policy 2.0.6
This involves - the meta-flavour emacs has gone away - a compat file is needed (also installed by dh_installemacsen) - a conflict with pre-2.0.0 emacsen-common - manually managing the "installed" semaphore file
This commit is contained in:
parent
fea6fe64e1
commit
beaf251e16
7 changed files with 17 additions and 6 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
notmuch (0.17-3) UNRELEASED; urgency=low
|
||||
|
||||
* update notmuch-emacs for debian emacs policy 2.0.6
|
||||
|
||||
-- David Bremner <bremner@debian.org> Sun, 12 Jan 2014 17:07:16 -0400
|
||||
|
||||
notmuch (0.17-2) unstable; urgency=medium
|
||||
|
||||
* Bug fix: "package should warn in a NEWS.Debian file about possible
|
||||
|
|
1
debian/control
vendored
1
debian/control
vendored
|
@ -108,6 +108,7 @@ Architecture: all
|
|||
Section: mail
|
||||
Breaks: notmuch (<<0.6~254~)
|
||||
Replaces: notmuch (<<0.6~254~)
|
||||
Conflicts: emacsen-common (<< 2.0.0)
|
||||
Depends: ${misc:Depends}, notmuch (>= ${source:Version}),
|
||||
emacs23 (>= 23~) | emacs23-nox (>=23~) | emacs23-lucid (>=23~) |
|
||||
emacs24 (>= 24~) | emacs24-nox (>=24~) | emacs24-lucid (>=24~)
|
||||
|
|
1
debian/notmuch-emacs.emacsen-compat
vendored
Normal file
1
debian/notmuch-emacs.emacsen-compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
0
|
2
debian/notmuch-emacs.emacsen-install
vendored
2
debian/notmuch-emacs.emacsen-install
vendored
|
@ -8,8 +8,6 @@
|
|||
FLAVOR=$1
|
||||
PACKAGE=notmuch
|
||||
|
||||
if [ ${FLAVOR} = emacs ]; then exit 0; fi
|
||||
|
||||
# We know that the notmuch emacs code doesn't work with emacs before emacs23
|
||||
if [ ${FLAVOR} = emacs21 ]; then exit 0; fi
|
||||
if [ ${FLAVOR} = emacs22 ]; then exit 0; fi
|
||||
|
|
6
debian/notmuch-emacs.emacsen-remove
vendored
6
debian/notmuch-emacs.emacsen-remove
vendored
|
@ -4,7 +4,5 @@
|
|||
FLAVOR=$1
|
||||
PACKAGE=notmuch
|
||||
|
||||
if [ ${FLAVOR} != emacs ]; then
|
||||
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
|
||||
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||
fi
|
||||
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
|
||||
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
||||
|
|
4
debian/notmuch-emacs.postinst
vendored
Normal file
4
debian/notmuch-emacs.postinst
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
dir="/var/lib/emacsen-common/state/package/installed"
|
||||
mkdir -p 0755 ${dir}
|
||||
touch ${dir}/notmuch-emacs
|
||||
#DEBHELPER#
|
3
debian/notmuch-emacs.prerm
vendored
Normal file
3
debian/notmuch-emacs.prerm
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#DEBHELPER#
|
||||
dir="/var/lib/emacsen-common/state/package/installed"
|
||||
rm -f ${dir}/notmuch-emacs
|
Loading…
Reference in a new issue