diff options
author | Peter S Galbraith <psg@debian.org> | 2013-06-01 09:01:05 -0700 |
---|---|---|
committer | Peter S Galbraith <psg@debian.org> | 2013-06-01 09:01:05 -0700 |
commit | 20014c955f35c3cc938f47e27625979cae21afc3 (patch) | |
tree | d84a98a2c07b35d72c9a07cd4c39c11f5688f632 |
Import mh-e_8.5-2.debian.tar.gz
[dgit import tarball mh-e 8.5-2 mh-e_8.5-2.debian.tar.gz]
-rw-r--r-- | README.Debian | 101 | ||||
-rw-r--r-- | changelog | 363 | ||||
-rw-r--r-- | compat | 1 | ||||
-rw-r--r-- | control | 49 | ||||
-rw-r--r-- | copyright | 81 | ||||
-rw-r--r-- | dirs | 3 | ||||
-rw-r--r-- | emacsen-install | 75 | ||||
-rw-r--r-- | emacsen-remove | 15 | ||||
-rw-r--r-- | emacsen-startup | 37 | ||||
-rwxr-xr-x | rules | 65 | ||||
-rw-r--r-- | source/format | 1 |
11 files changed, 791 insertions, 0 deletions
diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..e2b58b3 --- /dev/null +++ b/README.Debian @@ -0,0 +1,101 @@ +MH-E for Debian +--------------- + +Documentation: +~~~~~~~~~~~~~~ +In addition to the MH-E Info node, the MH-E manual is also available on the +web in HTML and PDF formats. See http://mh-e.sourceforge.net/manual/. + + +Contributed files: +~~~~~~~~~~~~~~~~~~ +The following contrib files are included. Please see the files themselves +for full documentation. + +mh-frame.el - Open MH-E in a separate frame + + /usr/share/emacs/site-lisp/mh-e/mh-frame.el + + Visit (or, if necessary, open) a frame called "MH-E" for mh-rmail, + rescan folder and show current message. On mh-quit from +inbox in + MH-E frame, delete that frame, and if there's a pid argument + argument, kill the proc with that pid. + + Start up MH-E in a separate frame with + + M-x mh-frame + + or you could bind a key to this function: + + (global-set-key "\C-x\r" 'mh-frame) + + This was originally designed to be used with a shell script that calls it + via the gnuserv package. This shell script is in the commentary section + of /usr/share/emacs/site-lisp/mh-e/mh-frame.el + + +mh-comp-frame.el - Message composition in a separate frame + + If this file is loaded into emacs then commands like mh-send, mh-reply, + mh-forward etc. will create a new frame in which the draft is opened. When + the mail is sent (or the draft deleted) this frame goes away. This means + that I can continue visiting other messages or folders or read new mail in + the original frame. It works best when `mh-delete-yanked-msg-window-flag' + is nil. + + To enable this, add the line: + (require 'mh-comp-frame) + to your .emacs file. + + +Using MH-E with other Debian packages +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +swish++: Actually, MH-E is compatible with many search engines, but + this one seems to work particularly well. To use swish++ with + MH-E, read the documentation for the function + mh-swish++-execute-search: + + C-h f mh-swish++-execute-search + + and then use the command `mh-index-search'. + +gnus: A much nicer interface to GPG can be had when gnus 5.9.0 is + installed. On Debian, install the gnus package instead of + using the likely older version of gnus bundled with Emacs and + XEmacs. + + Messages that have been signed or encrypted with GPG are + verified and decrypted automatically. To sign or encrypt a + message, use "C-c RET C-s + (mh-mml-secure-message-sign-pgpmime)" and "C-c C-m C-e + (mh-mml-secure-message-encrypt-pgpmime)." + + Also, better handling of HTML parts can be achieved with + gnus 5.9.0 in conjunction with handler packages. Set the + variable mm-text-html-renderer to 'w3 and install the + w3-el-e21 package, or alternatively, Bill Wohler reports + good results setting mm-text-html-renderer to 'w3m with the + packages w3mmee, w3mmee-img and w3m-el installed. + +mailcrypt: Lets you sign and/or encrypt out-going messages and decrypt + received messages. Just install the package and it sets + itself up correctly in MH-E. Not as fancy as the support + provided by the gnus package. + +compface: Needed for the X-Face and Face header fields. + +wget and imagemagick: + Needed for the X-Image-URL header field. + +w3-el-e21 or w3m-el: + When used with a recent version of gnus, these will render HTML + parts of MIME messages. Set the Emacs variable + `mm-text-html-renderer' appropriately. + +picon-domains: + If a Face or X-Face or X-Image-URL header field is not present, + the icon for the originator's domain will be displayed in the + mail header. + + -- Peter S Galbraith <psg@debian.org>, Thu, 2 Mar 2006 23:26:11 -0500 diff --git a/changelog b/changelog new file mode 100644 index 0000000..0fdce40 --- /dev/null +++ b/changelog @@ -0,0 +1,363 @@ +mh-e (8.5-2) unstable; urgency=low + + * Bug fix: "postinst script blocks if some Recommends are not yet + configured", thanks to Laurent Bonnaud (Closes: #345987). I removed + the Recommends for gnus, which forced installation of xemacs. + * depend on "emacs24 | emacs | xemacs21" rather than "emacs23 | emacsen". + * build-depend on emacs24 instead of emacs23. + + -- Peter S Galbraith <psg@debian.org> Sat, 01 Jun 2013 12:01:05 -0400 + +mh-e (8.5-1) unstable; urgency=low + + * New upstream release + + -- Peter S Galbraith <psg@debian.org> Sun, 03 Mar 2013 13:23:17 -0500 + +mh-e (8.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + * No longer create /root/.gnupg during installation of the package. This + is achieved by binding epg-gpg-home-directory to a temporary directory + during bytecode compilation (implementation in + debian/emacsen-install). (Closes: #689806) + + -- Sébastien Villemot <sebastien@debian.org> Sun, 21 Oct 2012 16:13:53 +0200 + +mh-e (8.3-1) unstable; urgency=low + + * New upstream release. + - Standards-Version bumped to 3.9.2 + + -- Peter S Galbraith <psg@debian.org> Fri, 11 Nov 2011 11:03:23 -0500 + +mh-e (8.2.90-1) unstable; urgency=low + + * New upstream release + * Remove w3-el-e21 from suggested packages; no longer exists. + + -- Peter S Galbraith <psg@debian.org> Mon, 11 Jul 2011 21:40:53 -0400 + +mh-e (8.2-3) unstable; urgency=low + + * Bug fix: "please remove emacs22 from the build dependencies", thanks + to Rob Browning (Closes: #567699). + * control: + - Added depends on: "dpkg (>= 1.15.4) | install-info" + - Standards-Version bumped to 3.8.3 + - Switched "Build-Depends-Indep" to "Build-Depends" as per + clean-should-be-satisfied-by-build-depends + - Added ${misc:Depends} (debhelper-but-no-misc-depends) + * compat: debhelper compat bumped to 7. + + -- Peter S Galbraith <psg@debian.org> Thu, 18 Feb 2010 18:22:39 -0500 + +mh-e (8.2-2) unstable; urgency=low + + * Bug fix: "FTBFS: /bin/sh: cvs: not found", thanks to Lucas Nussbaum. + Fixed by not doing `make all' in doc subdirectory, but only `make info'. + (Closes: #543091). + + -- Peter S Galbraith <psg@debian.org> Tue, 01 Sep 2009 13:42:08 -0400 + +mh-e (8.2-1) unstable; urgency=low + + * New upstream release + + -- Peter S Galbraith <psg@debian.org> Fri, 17 Jul 2009 15:34:46 -0400 + +mh-e (8.1-1) unstable; urgency=low + + * New upstream release + * Bug fix: "lintian error, debian-files-list-in-source", thanks to + Raphael Geissert (Closes: #451058). + * Bug fix: "binary files in upstream debian dir", thanks to Raphael + Hertzog (Closes: #485036). + * Standards-Version 3.8.0: Added Homepage field and removed it from + description. + * Change build-de[pends from tetex-bin to texlive-latex-base and + texlive-generic-recommended. + + -- Peter S Galbraith <psg@debian.org> Tue, 09 Sep 2008 19:34:45 -0400 + +mh-e (8.0.3-3) unstable; urgency=high + + * Bug fix: "mh-e requires sendmail.el, which needs /usr/bin/mail + installed", thanks to Lucas Nussbaum (Closes: #439486). I simply call + `make autoloads' now rather than `make', so I avoid byte-compiling all + the files. + + -- Peter S Galbraith <psg@debian.org> Wed, 29 Aug 2007 22:35:39 -0400 + +mh-e (8.0.3-2) unstable; urgency=low + + * Bug fix: "mh-e: please prefer emacs22", thanks to Tatsuya Kinoshita + (Closes: #434921). + + -- Peter S Galbraith <psg@debian.org> Mon, 13 Aug 2007 20:58:54 -0400 + +mh-e (8.0.3-1) unstable; urgency=low + + * New upstream bug-fix release. + + -- Peter S Galbraith <psg@debian.org> Mon, 20 Nov 2006 21:11:30 -0500 + +mh-e (8.0.2-2) unstable; urgency=low + + * Bug fix: "mh-e: postinst failure with xemacs21 because of + mh-logo.xpm", thanks to Laurent Bonnaud (Closes: #378979). + The emacsen-install scripts needs to know about + /usr/share/emacs/site-lisp/etc/images/mh-e to find icons during + byte-compilation. + + -- Peter S Galbraith <psg@debian.org> Thu, 20 Jul 2006 10:57:51 -0400 + +mh-e (8.0.2-1) unstable; urgency=low + + * New upstream bug-fix release. + + -- Peter S Galbraith <psg@debian.org> Wed, 19 Jul 2006 14:12:34 -0400 + +mh-e (8.0-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Build-depend on tetex-bin; fixes FTBFS, patch from Andreas Jochens. + (Closes: #375842) + + -- Steinar H. Gunderson <sesse@debian.org> Wed, 5 Jul 2006 21:00:10 +0200 + +mh-e (8.0-1) unstable; urgency=low + + * New upstream release, a major milestone. + + -- Peter S Galbraith <psg@debian.org> Sat, 6 May 2006 21:52:25 -0400 + +mh-e (7.94-1) unstable; urgency=low + + * New upstream release. + Incorporates new manual! + + -- Peter S Galbraith <psg@debian.org> Fri, 21 Apr 2006 21:13:26 -0400 + +mh-e (7.93-1) unstable; urgency=low + + * New upstream bug-fix release. + Renames `mh-image-load-path' to `mh-image-directory' + + -- Peter S Galbraith <psg@debian.org> Wed, 1 Mar 2006 09:32:38 -0500 + +mh-e (7.92-1) unstable; urgency=low + + * New upstream bug-fix release + + -- Peter S Galbraith <psg@debian.org> Sat, 18 Feb 2006 19:14:38 -0500 + +mh-e (7.91-1) unstable; urgency=low + + * New upstream bug-fix release. + + -- Peter S Galbraith <psg@debian.org> Fri, 3 Feb 2006 20:31:19 -0500 + +mh-e (7.90-1) unstable; urgency=low + + * New upstream release + + -- Peter S Galbraith <psg@debian.org> Wed, 1 Feb 2006 20:21:48 -0500 + +mh-e (7.85-2) unstable; urgency=low + + * Don't setup packge for emacs-snapshot (since it should have a + bleeding-edge version of MH-E). + + -- Peter S Galbraith <psg@debian.org> Wed, 1 Feb 2006 19:30:37 -0500 + +mh-e (7.85-1) unstable; urgency=low + + * New upstream release + * Icon images moved to /usr/share/emacs/site-lisp/etc/images/mh-e + (for now anyway) + * mh-e-autoloads.el renamed to mh-autoloads.el upstream. + + -- Peter S Galbraith <psg@debian.org> Sat, 15 Oct 2005 21:26:22 -0400 + +mh-e (7.84-2) unstable; urgency=low + + * Bug fix: "mh-e: FTBFS: Missing Build-Depends on 'emacs21'", thanks to + Andreas Jochens (Closes: #314653). + * Standards-Version: 3.6.2 without changes. + + -- Peter S Galbraith <psg@debian.org> Tue, 20 Sep 2005 22:13:51 -0400 + +mh-e (7.84-1) unstable; urgency=low + + * New upstream bug-fix release. + + -- Peter S Galbraith <psg@debian.org> Mon, 30 May 2005 21:06:46 -0400 + +mh-e (7.83-1) unstable; urgency=low + + * New upstream bug-fix release. + Version 7.83 fixes a handful of bugs, adds colors to buttons for + signed or encrypted messages, and contains some documentation changes + related to the upcoming release of the manual. Some options were moved + to other customization groups as a result. + + -- Peter S Galbraith <psg@debian.org> Fri, 6 May 2005 13:04:22 -0400 + +mh-e (7.82-4) unstable; urgency=low + + * emacsen-install, emacsen-startup: Don't compile mh-speed.el since a + separate speedbar package might be installed. This will also fix the + non-reproducible byte-compilation bug for mh-speed.el. Thanks to J G + Miller for reporting, Christopher J Peikert, Andrew Lincoln, Burrow + Grant Gould and Olivier Ponsini for helping out with it (Closes: #270349). + + -- Peter S Galbraith <psg@debian.org> Sun, 19 Dec 2004 20:09:48 -0500 + +mh-e (7.82-3) unstable; urgency=low + + * debian/emacsen-startup: Replace all occurrences of nil in load-path by + "." since nil breaks `debian-pkg-add-load-path-item'. + + -- Peter S Galbraith <psg@debian.org> Sun, 19 Dec 2004 19:47:34 -0500 + +mh-e (7.82-2) unstable; urgency=low + + * debian/emacsen-startup: use debian-emacs-flavor instead of flavor + because it is always defined. Might help with bug #270349. + + -- Peter S Galbraith <psg@debian.org> Wed, 15 Dec 2004 11:08:30 -0500 + +mh-e (7.82-1) unstable; urgency=low + + * Suggest wget and imagemagick for X-Image-URL field. + * Suggest picon-domains. + * Create mh-startup.el and require it in startup script. + * Bug fix: "mh-e: Dependence on mailutils-mh not possible yet", + (Closes: #208840). + + -- Peter S Galbraith <psg@debian.org> Tue, 31 Aug 2004 14:28:03 -0400 + +mh-e (7.4.4-1) unstable; urgency=low + + * New upstream release. Version 7.4.4 addresses programmatic issues from + the FSF and prepares MH-E for inclusion into an impending GNU Emacs + release (21.4). There are no user-visible changes. + + -- Peter S Galbraith <psg@debian.org> Tue, 13 Jul 2004 21:53:30 -0400 + +mh-e (7.4.3-1) unstable; urgency=low + + * New upstream release (bug fix for Identity menu). + * Remove depends on mailutils-mh as this release doesn't really work + well with it. Real support is provided in the upcoming V8.0. + + -- Peter S Galbraith <psg@debian.org> Tue, 18 Nov 2003 14:02:09 -0500 + +mh-e (7.4.2-1) unstable; urgency=low + + * New upstream release (bug fix to work with MH). + * Recommend gnus instead of suggest. + * Recommend compface for X-Face fields. + * Suggest w3-el-e21 or w3m-el for HTML MIME parts. + * Depend on either nmh or (newly added) mailutils-mh. + * Standards-Version: 3.6.1 without changes. + + -- Peter S Galbraith <psg@debian.org> Tue, 2 Sep 2003 20:41:27 -0400 + +mh-e (7.4.1-1) unstable; urgency=low + + * New upstream release. + * Standards-Version: 3.5.10 without changes. + * Skip byte-compilation on mh-gnus.el instead of mh-mime.el now. + * /etc/emacs/site-start.d/50mh-e.el: skip setup if package purged but + not removed and only config files remain. + * Re-enable Info file. We'll install the 1.3 relaese. + + -- Peter S Galbraith <psg@debian.org> Wed, 25 Jun 2003 19:23:47 -0400 + +mh-e (7.3-2) unstable; urgency=low + + * I was mistakenly using the CVS HEAD mh-e.texi file when it's not + suitable for release. The latest release is identical to that in + Emacs21, so omit the files from the package for now. + instead of the CVS tree version. + * Some .el files were tweaked after the release was called final, so + tweak them here as well. + + -- Peter S Galbraith <psg@debian.org> Mon, 28 Apr 2003 21:16:40 -0400 + +mh-e (7.3-1) unstable; urgency=low + + * New upstream release. + * No longer suggest x-face-el as MH-E decode X-Face on its own now. + * Standards-Version: 3.5.9 without changes. + + -- Peter S Galbraith <psg@debian.org> Thu, 24 Apr 2003 19:35:53 -0400 + +mh-e (7.2-1) unstable; urgency=low + + * New upstream release. + * Suggest gnus. + + -- Peter S Galbraith <psg@debian.org> Sat, 1 Feb 2003 11:29:18 -0500 + +mh-e (7.1-1) unstable; urgency=low + + * New upstream release. + + -- Peter S Galbraith <psg@debian.org> Tue, 14 Jan 2003 09:56:58 -0500 + +mh-e (7.0-3) unstable; urgency=low + + * debian/emacsen-startup: Add /usr/share/emacs/site-lisp/mh-e to the + load-path if not already present, for the uncompiled mh-mime.el + + -- Peter S Galbraith <psg@debian.org> Tue, 10 Dec 2002 19:47:48 -0500 + +mh-e (7.0-2) unstable; urgency=low + + * Skip byte-compilation for mh-mime.el (closes: #172156) + + -- Peter S Galbraith <psg@debian.org> Mon, 9 Dec 2002 13:33:16 -0500 + +mh-e (7.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: suggest x-face-el package to process X-Face header lines. + * debian/control: suggest mailcrypt (for GPG) and swish++ (for indexing). + * debian/control: updated to Standards-Version 3.5.7 without changes. + + -- Peter S Galbraith <psg@debian.org> Thu, 14 Nov 2002 11:42:09 -0500 + +mh-e (6.1-1) unstable; urgency=low + + * New upstream release. + + -- Peter S Galbraith <psg@debian.org> Sun, 7 Apr 2002 19:41:45 -0400 + +mh-e (6.0.+cvs.20020402-1) unstable; urgency=low + + * CVS Snapshot (Version 6.0 plus bug fixes and highlighted unseen messages). + * mh-e.el no longer calls a function to set a defvar because it would + get wrongly set in byte-compilation, and could also fail + (closes: #140232, #140817). + + -- Peter S Galbraith <psg@debian.org> Tue, 2 Apr 2002 13:52:31 -0500 + +mh-e (6.0.+cvs.20020325-1) unstable; urgency=low + + * CVS Snapshot (Version 6.0 plus bug fixes and highlighted unseen messages). + * debian/rules: source target to make mh-e.orig.tar archive for Debian + * debian/control: Recommends mimedecode package. + * debian/control: Depends on nmh (closes: #139706). + + -- Peter S Galbraith <psg@debian.org> Mon, 25 Mar 2002 09:48:17 -0500 + +mh-e (6.0-1) unstable; urgency=low + + * Initial Release. + * Made up of: mh-e-6.0.tgz mh-e-contrib-1.0.tgz mh-e-doc-1.3.tgz + * Close the ITP bug against wnpp (closes: #123903) + + -- Peter S Galbraith <psg@debian.org> Thu, 20 Dec 2001 23:33:31 -0500 @@ -0,0 +1 @@ +7 @@ -0,0 +1,49 @@ +Source: mh-e +Section: mail +Priority: extra +Maintainer: Peter S Galbraith <psg@debian.org> +Build-Depends: debhelper (>> 4.0.0), texinfo, emacs24, texlive-latex-base, texlive-generic-recommended +Standards-Version: 3.9.2 +Homepage: http://mh-e.sourceforge.net/ + +Package: mh-e +Architecture: all +Depends: emacs24 | emacs| xemacs21, nmh | mailutils-mh, dpkg (>= 1.15.4) | install-info, ${misc:Depends} +Recommends: compface +Suggests: mailcrypt, swish++, wget, imagemagick, picon-domains, w3m-el +Description: Emacs interface to the MH mail system + MH-E offers all the functionality of MH, the visual orientation and + simplicity of use of a GUI, and full integration with Emacs and + XEmacs, including thorough configuration and online help. + . + MH-E allows one to read and process mail very quickly: many commands + are single characters; completion and smart defaults are used for + folder names and aliases. With MH-E you compose outgoing messages in + Emacs. This is a big plus for Emacs users, but even non-Emacs users + have been known to use MH-E after only learning the most basic cursor + motion commands. + . + Additional features include: + . + - attractive text rendering with font lock + - composition and display of MIME body parts + - display of images and HTML within the Emacs frame + - folder browsing with speedbar + - threading + - ticking messages + - lightning-fast full-text indexed searches of all of your email + - virtual folders to view ticked and unseen messages, search results + - multiple personalities + - signing and encrypting + - spam filter interaction + - XFace, Face, X-Image-URL and picon header field support + . + MH is Rand's Mail Handler, whose functionality is available in MH, + nmh and GNU mailutils. + . + This might be the same version as in the emacs23 package, but + documentation is included. It also includes contributed files that are not + distributed with GNU Emacs: + . + mh-frame.el - Open MH-E in a separate frame. + mh-comp-frame.el - Message composition in a separate frame. diff --git a/copyright b/copyright new file mode 100644 index 0000000..969adf1 --- /dev/null +++ b/copyright @@ -0,0 +1,81 @@ +This package was debianized by Peter S Galbraith <psg@debian.org> on +Thu, 20 Dec 2001 20:19:25 -0500. + +The source tar file distributed by Debian is made by running the following +comamnd in the CVS tree: + + $ debian/rules source + +The CVS source tree is hosted on sourceforge.net at: + + http://sourceforge.net/cvs/?group_id=13357 + +Upstream Authors and Copyright: + +mh-e: +~~~~~ + Copyright (C) 1985, 1986, 1987, 1988, + 1990, 1992, 1993, 1994, 1995, 1997, 1999, + 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + + Original version for Gosling emacs by Brian Reid, Stanford, 1982. + Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. + Rewritten for GNU Emacs, James Larus, 1985. + Modified by Stephen Gildea, 1988. + Maintenance picked up by Bill Wohler and the + SourceForge Crew <http://mh-e.sourceforge.net/>, 2001. + + License: GNU General Public License as published by the Free Software + Foundation; either version 2, or (at your option) any later version. + +mh-e-contrib: +~~~~~~~~~~~~~ + multi-prompt.el --- completing read of multiple strings. + + Copyright (C) 1996, 1997, 2000 Per Abrahamsen <abraham@dina.kvl.dk> + + License: GNU General Public License as published by the Free Software + Foundation; either version 2, or (at your option) any later version. + + mh-frame.el - Open MH-E in a separate frame + + Copyright (C) 1995 Mark Crimmins + Copyright (C) 1995, 2001 Eric Ding + + License: GNU General Public License as published by the Free Software + Foundation; either version 2, or (at your option) any later version. + + mh-comp-frame.el - Message composition in a separate frame + + Copyright (C) 2002 Satyaki Das + License: GNU General Public License as published by the Free Software + Foundation; either version 2, or (at your option) any later version. + +mh-e-doc: +~~~~~~~~~ +This is version 7.93 of `The MH-E Manual', last updated 2006-03-05 + + Copyright (C) 1995, 2001, 2002, 2003, 2005, 2006 Free Software +Foundation, Inc. + + The MH-E manual is free documentation; you can redistribute it + and/or modify it under the terms of either: + + a. the GNU Free Documentation License, Version 1.2 or any later + version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. + + b. the GNU General Public License as published by the Free + Software Foundation; either version 2, or (at your option) + any later version. + + The MH-E manual is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License or GNU Free Documentation License for more + details. + + + +The GPL Version 2 can be found at /usr/share/common-licenses/GPL-2 @@ -0,0 +1,3 @@ +usr/share/doc/mh-e +usr/share/emacs/site-lisp/mh-e +usr/share/emacs/site-lisp/etc/images/mh-e/mail diff --git a/emacsen-install b/emacsen-install new file mode 100644 index 0000000..48cb729 --- /dev/null +++ b/emacsen-install @@ -0,0 +1,75 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/mh-e + +# Written by Jim Van Zandt <jrv@vanzandt.mv.com>, borrowing heavily +# from the install scripts for gettext by Santiago Vila +# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>. + +FLAVOR=$1 +PACKAGE=mh-e + +if [ ${FLAVOR} = emacs ]; then exit 0; fi +if [ ${FLAVOR} = emacs19 ]; then + echo "Skipping byte-compilation for emacs19" + exit 0; +fi +if [ ${FLAVOR} = emacs20 ]; then + echo "Skipping byte-compilation for emacs20" + exit 0; +fi +if [ ${FLAVOR} = emacs-snapshot ]; then + echo "Skipping byte-compilation for emacs-snapshot" + exit 0; +fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +#FLAVORTEST=`echo $FLAVOR | cut -c-6` +#if [ ${FLAVORTEST} = xemacs ] ; then +# SITEFLAG="-no-site-file" +#else +# SITEFLAG="--no-site-file" +#fi +FLAGS="${SITEFLAG} -q --no-site-file -no-site-file -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# # Install-info-altdir does not actually exist. +# # Maybe somebody will write it. +# if test -x /usr/sbin/install-info-altdir; then +# echo install/${PACKAGE}: install Info links for ${FLAVOR} +# install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +# fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +# Don't byte-compile mh-gnus.el and mh-speed.el +# mh-gnus.el is _not_ byte-compiled because the results are different +# depending on the version of gnus available. Since I have no way to +# recompile when a gnus package is installed or removed, it's best not +# to compile it. Same goes for mh-speed.el, which requires speedbar and +# there's a separate version of that available. +BYTECOMPILEFILES=`echo *.el | sed -e 's/mh-gnus.el//;s/mh-speed.el//'` +cd ${ELCDIR} +# Symlinks instead of copying... +for i in $FILES; do + ln -fs /usr/share/emacs/site-lisp/mh-e/$i +done +cd ${ELCDIR} + +# Prevent epg from manipulating /root/.gnupg (#689806) +TMPGNUPGHOME=`mktemp -d --tmpdir gnupg.XXXXXXXXXX` + +cat << EOF > path.el +(setq load-path (append '("." "/usr/share/emacs/site-lisp/etc/images/mh-e") + load-path) + byte-compile-warnings nil) +(setq epg-gpg-home-directory "${TMPGNUPGHOME}") +EOF +${FLAVOR} ${FLAGS} ${BYTECOMPILEFILES} +rm -f path.el +rm -rf ${TMPGNUPGHOME} + +exit 0 diff --git a/emacsen-remove b/emacsen-remove new file mode 100644 index 0000000..ad04d5e --- /dev/null +++ b/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/mh-e + +FLAVOR=$1 +PACKAGE=mh-e + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/mh-e.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi diff --git a/emacsen-startup b/emacsen-startup new file mode 100644 index 0000000..8b2843f --- /dev/null +++ b/emacsen-startup @@ -0,0 +1,37 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux MH-E package + +(cond + ((not (file-exists-p "/usr/share/emacs/site-lisp/mh-e")) + (message "Package mh-e removed but not purged. Skipping setup.")) + ((eq debian-emacs-flavor 'emacs20) + (message "Skipping MH-E package setup for emacs20: not supported.")) + ((eq debian-emacs-flavor 'emacs-snapshot) + (message "Skipping MH-E package setup for emacs-snapshot")) + (t + ;; Replace all occurrences of nil in load-path by "." since nil breaks + ;; debian-pkg-add-load-path-item + (if (memq nil load-path) + (setq load-path (substitute "." nil load-path))) + + ;; The MH-E package follows the Debian/GNU Linux 'emacsen' policy and + ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, + ;; xemacs19, emacs20, xemacs20...). The compiled code is then + ;; installed in a subdirectory of the respective site-lisp directory. + ;; We have to add this to the load-path: + (debian-pkg-add-load-path-item + (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/mh-e")) + + ;; Starting from MH-E 7.85, icon images are no longer collocated with elisp. + (if (boundp 'image-load-path) + (add-to-list 'image-load-path + "/usr/share/emacs/site-lisp/etc/images/mh-e") + (debian-pkg-add-load-path-item + "/usr/share/emacs/site-lisp/etc/images/mh-e")) + + ;; Usual entry commands into MH-E + (require 'mh-autoloads) + + ;; contrib autoloads + (autoload 'mh-frame "mh-frame" "" t))) @@ -0,0 +1,65 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +ADVERTISEDVERSION=$(shell head -1 debian/changelog | perl -ne 'if(/([0-9][^-]+)/) {print $$1}') + +source: + install -d mh-e-$(ADVERTISEDVERSION) + tar cf - --exclude=debian/CVS --exclude=contrib/CVS --exclude=*/.cvsignore --exclude=doc/CVS --exclude=doc/info --exclude=emacs/trunk/lisp/mh-e/CVS --exclude=src/mail/CVS debian contrib doc src | ( cd mh-e-$(ADVERTISEDVERSION) ; tar xf -) + tar cf mh-e_$(ADVERTISEDVERSION).orig.tar mh-e-$(ADVERTISEDVERSION) + gzip --best mh-e_$(ADVERTISEDVERSION).orig.tar + rm -fR mh-e-$(ADVERTISEDVERSION) + +build: build-stamp +build-stamp: + dh_testdir + make autoloads custom-deps loaddefs + install -d doc/info + (cd doc/doc/misc ; makeinfo mh-e.texi) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f mh-e-autoloads.el + rm -f build-stamp configure-stamp + (cd doc ; make clean) + rm -fR info + make clean + dh_clean + +# Build architecture-independent files here. +binary-indep: build + dh_testdir + dh_testroot + dh_installdirs + install -m 0644 *.el emacs/trunk/lisp/mh-e/*.el debian/mh-e/usr/share/emacs/site-lisp/mh-e + install -m 0644 contrib/*.el debian/mh-e/usr/share/emacs/site-lisp/mh-e + install -m 0644 emacs/trunk/etc/images/*.pbm emacs/trunk/etc/images/*.xpm debian/mh-e/usr/share/emacs/site-lisp/etc/images/mh-e + install -m 0644 emacs/trunk/etc/images/mail/* debian/mh-e/usr/share/emacs/site-lisp/etc/images/mh-e/mail + install -m 0644 contrib/ChangeLog debian/mh-e/usr/share/doc/mh-e/contrib.changelog + install -m 0644 contrib/README debian/mh-e/usr/share/doc/mh-e/contrib.README + dh_installdocs MH-E-NEWS + dh_installemacsen + dh_installinfo doc/info/mh-e* + dh_installchangelogs ChangeLog + install -m 0644 ChangeLog.1 debian/mh-e/usr/share/doc/mh-e/ + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary source diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) |