diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-02-26 08:14:37 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-02-26 08:14:37 +0000 |
commit | 7b27a646cc2271eab5848a50a61b5babeadc1d83 (patch) | |
tree | 65bf4aff62d7407e2639e530710ef6ed9faddc3e /app-emacs | |
parent | corrected dependencies and added some quotes; fixes bug 168340, reported by U... (diff) | |
download | gentoo-2-7b27a646cc2271eab5848a50a61b5babeadc1d83.tar.gz gentoo-2-7b27a646cc2271eab5848a50a61b5babeadc1d83.tar.bz2 gentoo-2-7b27a646cc2271eab5848a50a61b5babeadc1d83.zip |
revision bump: fixes some warnings with GCC 4, also change installation directory for pixmaps (fix bugs 168210 and 168212, reported by Ulrich Mueller <ulm@kph.uni-mainz.de>); also added some quotes
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/vm/ChangeLog | 10 | ||||
-rw-r--r-- | app-emacs/vm/files/51vm-gentoo.el | 13 | ||||
-rw-r--r-- | app-emacs/vm/files/digest-vm-7.19-r2 | 3 | ||||
-rw-r--r-- | app-emacs/vm/files/vm-7.19-gcc4.patch | 44 | ||||
-rw-r--r-- | app-emacs/vm/vm-7.19-r2.ebuild | 45 |
5 files changed, 114 insertions, 1 deletions
diff --git a/app-emacs/vm/ChangeLog b/app-emacs/vm/ChangeLog index 716ea9fdc0a8..307f0a8a11b8 100644 --- a/app-emacs/vm/ChangeLog +++ b/app-emacs/vm/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emacs/vm # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/ChangeLog,v 1.17 2007/02/08 23:38:35 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/ChangeLog,v 1.18 2007/02/26 08:14:37 opfer Exp $ + +*vm-7.19-r2 (26 Feb 2007) + + 26 Feb 2007; Christian Faulhammer <opfer@gentoo.org> + +files/vm-7.19-gcc4.patch, +files/51vm-gentoo.el, +vm-7.19-r2.ebuild: + revision bump: fixes some warnings with GCC 4, also change installation + directory for pixmaps (fix bugs 168210 and 168212, reported by Ulrich + Mueller <ulm@kph.uni-mainz.de>); also added some quotes 08 Feb 2007; Christian Faulhammer <opfer@gentoo.org> -vm-7.18.ebuild: clean up diff --git a/app-emacs/vm/files/51vm-gentoo.el b/app-emacs/vm/files/51vm-gentoo.el new file mode 100644 index 000000000000..754b946836cd --- /dev/null +++ b/app-emacs/vm/files/51vm-gentoo.el @@ -0,0 +1,13 @@ + +;;; VM site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(setq vm-toolbar-pixmap-directory "/usr/share/pixmaps/vm") +(setq vm-image-directory "/usr/share/pixmaps/vm") +(autoload 'vm "vm" "Start VM on your primary inbox." t) +(autoload 'vm-other-frame "vm" "Like `vm' but starts in another frame." t) +(autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t) +(autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t) +(autoload 'vm-mode "vm" "Run VM major mode on a buffer" t) +(autoload 'vm-mail "vm" "Send a mail message using VM." t) +(autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t) diff --git a/app-emacs/vm/files/digest-vm-7.19-r2 b/app-emacs/vm/files/digest-vm-7.19-r2 new file mode 100644 index 000000000000..243915d37778 --- /dev/null +++ b/app-emacs/vm/files/digest-vm-7.19-r2 @@ -0,0 +1,3 @@ +MD5 7866f6243e398d76ae32356a4af76fa3 vm-7.19.tar.gz 381658 +RMD160 7a28c0a096f1f8093cffb9fc621cd270dd67b432 vm-7.19.tar.gz 381658 +SHA256 54bdd076bb98cad57a71fb986d131963e97a13cc71f15819d32691e3c0c5bdb0 vm-7.19.tar.gz 381658 diff --git a/app-emacs/vm/files/vm-7.19-gcc4.patch b/app-emacs/vm/files/vm-7.19-gcc4.patch new file mode 100644 index 000000000000..15f49a10b586 --- /dev/null +++ b/app-emacs/vm/files/vm-7.19-gcc4.patch @@ -0,0 +1,44 @@ +diff -ur vm-7.19.orig/base64-decode.c vm-7.19/base64-decode.c +--- vm-7.19.orig/base64-decode.c 1997-09-18 05:06:05.000000000 +0200 ++++ vm-7.19/base64-decode.c 2007-02-24 08:57:57.000000000 +0100 +@@ -3,6 +3,7 @@ + /* BASE64 on stdin -> converted data on stdout */ + + #include <stdio.h> ++#include <stdlib.h> + + #ifdef _WIN32 + #ifndef WIN32 +diff -ur vm-7.19.orig/base64-encode.c vm-7.19/base64-encode.c +--- vm-7.19.orig/base64-encode.c 1997-09-18 05:06:05.000000000 +0200 ++++ vm-7.19/base64-encode.c 2007-02-24 08:57:54.000000000 +0100 +@@ -7,6 +7,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + + #ifdef _WIN32 + #ifndef WIN32 +diff -ur vm-7.19.orig/qp-decode.c vm-7.19/qp-decode.c +--- vm-7.19.orig/qp-decode.c 2000-03-05 21:59:04.000000000 +0100 ++++ vm-7.19/qp-decode.c 2007-02-24 08:57:46.000000000 +0100 +@@ -4,6 +4,7 @@ + + #include <stdio.h> + #include <string.h> ++#include <stdlib.h> + + #ifdef _WIN32 + #ifndef WIN32 +diff -ur vm-7.19.orig/qp-encode.c vm-7.19/qp-encode.c +--- vm-7.19.orig/qp-encode.c 2000-11-30 22:19:52.000000000 +0100 ++++ vm-7.19/qp-encode.c 2007-02-24 08:57:35.000000000 +0100 +@@ -7,6 +7,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + + #ifdef _WIN32 + #ifndef WIN32 diff --git a/app-emacs/vm/vm-7.19-r2.ebuild b/app-emacs/vm/vm-7.19-r2.ebuild new file mode 100644 index 000000000000..f2f25924442f --- /dev/null +++ b/app-emacs/vm/vm-7.19-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/vm-7.19-r2.ebuild,v 1.1 2007/02/26 08:14:37 opfer Exp $ + +inherit elisp eutils + +DESCRIPTION="An emacs major mode for reading and writing e-mail with support for GPG and MIME." +HOMEPAGE="http://www.wonderworks.com/vm/" +SRC_URI="ftp://ftp.uni-mainz.de/pub/software/gnu/${PN}/${P}.tar.gz + ftp://ftp.uu.net/networking/mail/${PN}/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +SITEFILE=51vm-gentoo.el + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}/vm-direntry-fix-gentoo.patch" + epatch "${FILESDIR}/${P}-burst-digest.patch" + epatch "${FILESDIR}/${P}-gcc4.patch" +} + +src_compile() { + make prefix="${D}/usr" \ + INFODIR="${D}/usr/share/info" \ + LISPDIR="${D}/${SITELISP}/vm" \ + PIXMAPDIR="${D}/usr/share/pixmaps/vm" \ + all || die +} + +src_install() { + make prefix="${D}/usr" \ + INFODIR="${D}/usr/share/info" \ + LISPDIR="${D}/${SITELISP}/vm" \ + PIXMAPDIR="${D}/usr/share/pixmaps/vm" \ + install || die + elisp-install ${PN} *.el + elisp-site-file-install "${FILESDIR}/50vm-gentoo.el" + dodoc README +} |