From: David Bremner <david@tethera.net>
Date: Fri, 7 Jun 2019 10:06:22 +0000 (-0300)
Subject: debian: fix desktop install
X-Git-Tag: archive/debian/0.29-2
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=f762e1c8d347249923fab50a2f87d16effc49cd8;p=notmuch

debian: fix desktop install

Previous version expected full upstream install to be run, and also
caused lintian whine about the the desktop file being in a different
package than the script. I'm not sure they shouldn't both be in
elpa-notmuch, but I can see how they should be together.
---

diff --git a/debian/changelog b/debian/changelog
index 25e4eb29..2a24b025 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-notmuch (0.29-1) experimental; urgency=medium
+notmuch (0.29-2) experimental; urgency=medium
 
   * New upstream feature release. See /usr/share/doc/notmuch/NEWS.gz for
     details.
diff --git a/debian/elpa-notmuch.install b/debian/elpa-notmuch.install
deleted file mode 100644
index 5587716c..00000000
--- a/debian/elpa-notmuch.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/applications/notmuch-emacs-mua.desktop
diff --git a/debian/notmuch.install b/debian/notmuch.install
index 2514ca6c..0cce21bd 100644
--- a/debian/notmuch.install
+++ b/debian/notmuch.install
@@ -2,3 +2,4 @@ usr/bin/notmuch
 usr/bin/notmuch-emacs-mua
 usr/share/bash-completion
 usr/share/zsh/vendor-completions
+emacs/notmuch-emacs-mua.desktop usr/share/applications