# 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.20 2007/04/06 10:48:14 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/vm/ChangeLog,v 1.21 2007/04/16 10:27:57 ulm Exp $
+
+*vm-7.19.282 (16 Apr 2007)
+
+ 16 Apr 2007; Ulrich Mueller <ulm@gentoo.org> +vm-7.19.282.ebuild:
+ Version bump (copied from Emacs overlay). Include patches and addons from
+ the new upstream maintainer Robert Widhopf-Fenk. Added some die comments;
+ use emake instead of make; introduced bbdb USE flag and dependency.
*vm-7.19-r3 (06 Apr 2007)
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 50vm-gentoo.el 639 RMD160 42287c573079b1606c43ef9a2acd997313e60957 SHA1 68d295c7b249447a17747e41791ccb57e844b4e5 SHA256 e664b0b59ea791814747a1c7ae240de91fdbdfcdea038e7e03bb8e08fe8d8414
MD5 a3ccada98fbc3181244e33f7d19c3212 files/50vm-gentoo.el 639
RMD160 42287c573079b1606c43ef9a2acd997313e60957 files/50vm-gentoo.el 639
MD5 fbd0ca3e26853a8f8c5f68283f7b3188 files/vm-info-dir-fix-gentoo.patch 325
RMD160 51f59c36d9c0ae13eca4db61dc76ef1dabdd6d31 files/vm-info-dir-fix-gentoo.patch 325
SHA256 8320c7ae7c51a5985bb344ec04a153e263af87de3ff2d95a0a55814e2377d276 files/vm-info-dir-fix-gentoo.patch 325
+DIST vm-7.19.282.patch.gz 267935 RMD160 df8428644a99b6fa51a445eba16f80eb6b29dea4 SHA1 974875a8a8a932c885ee236a6427394f360c2a47 SHA256 7c87fda4ed37a478de2d03ad6bf1cdf62cedd12d78f226d90197ba8a4a1968b3
DIST vm-7.19.tar.gz 381658 RMD160 7a28c0a096f1f8093cffb9fc621cd270dd67b432 SHA1 0fe9012b8988ebdec7641f48aca0ef365549c590 SHA256 54bdd076bb98cad57a71fb986d131963e97a13cc71f15819d32691e3c0c5bdb0
EBUILD vm-7.19-r1.ebuild 1150 RMD160 ecf1f60f73b5ecb8c18bd2ab6c5061cb5bfe6a94 SHA1 c7ebd6982f3324f14929e05cc465989ca86fb74f SHA256 9b91b6016f941525dec10bb31082b0cf86808d6e8dd12c7d14ef72525d2e8880
MD5 0c38f40d029011ce85f0d5a261f94608 vm-7.19-r1.ebuild 1150
MD5 9df58706fa5282b483821f54172642e2 vm-7.19-r3.ebuild 1202
RMD160 6406e81abf2fbc65ced771418b911abc8a68b128 vm-7.19-r3.ebuild 1202
SHA256 4e0142014ec37ecaeef245efe216373ce46c553c7c71a6818942c10d7abe617d vm-7.19-r3.ebuild 1202
+EBUILD vm-7.19.282.ebuild 1803 RMD160 e5cac6a5adeab35083c04eaa298f525f11f4dc48 SHA1 a99e5152924d887f525e50cae6d7260ecb72b0eb SHA256 95ed2db69a5601652b88444688fb910c2ba4178c6df33e182c9fa9d39505d3d5
+MD5 390dbd6c61626f01a7d8e3bb8cdd0351 vm-7.19.282.ebuild 1803
+RMD160 e5cac6a5adeab35083c04eaa298f525f11f4dc48 vm-7.19.282.ebuild 1803
+SHA256 95ed2db69a5601652b88444688fb910c2ba4178c6df33e182c9fa9d39505d3d5 vm-7.19.282.ebuild 1803
EBUILD vm-7.19.ebuild 1096 RMD160 2d2688d888ff734866ca79554b31e4fa558c7512 SHA1 6c6b8860ec71e26fd48d3bf5a663dfbc50685ad8 SHA256 c9f0c626826594e9e5a842489ecb2ff2f5f604d2ed106c51a292b3dd2d78aa9e
MD5 ab1a4936598de1b81edbd821a1adb67e vm-7.19.ebuild 1096
RMD160 2d2688d888ff734866ca79554b31e4fa558c7512 vm-7.19.ebuild 1096
SHA256 c9f0c626826594e9e5a842489ecb2ff2f5f604d2ed106c51a292b3dd2d78aa9e vm-7.19.ebuild 1096
-MISC ChangeLog 2771 RMD160 ac8ce2eacc696ac3e7b5e407c1d23844db71e26b SHA1 3418af5fda067320bc932a2ca53326fec9290f5a SHA256 501f79190165b811e9c576f0dc3dcc2e5edfe2d0788208ccbcd898694f6afb99
-MD5 431968efa21d180ef5e23a1894022762 ChangeLog 2771
-RMD160 ac8ce2eacc696ac3e7b5e407c1d23844db71e26b ChangeLog 2771
-SHA256 501f79190165b811e9c576f0dc3dcc2e5edfe2d0788208ccbcd898694f6afb99 ChangeLog 2771
+MISC ChangeLog 3088 RMD160 46e9e4477fc50b71c9aa70e2c4075ad089af80b5 SHA1 76d547a373cd1a7d854ba6b3ef897e35e417a515 SHA256 c17149644113deede89e8aacd2f8796376c91b818395ce53e58441a26e0b97ea
+MD5 bffb8737ba5f5a7ab35b36b54bb5470f ChangeLog 3088
+RMD160 46e9e4477fc50b71c9aa70e2c4075ad089af80b5 ChangeLog 3088
+SHA256 c17149644113deede89e8aacd2f8796376c91b818395ce53e58441a26e0b97ea ChangeLog 3088
MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
MD5 a7cb3f9b9171e57560688f9a48aa6708 files/digest-vm-7.19-r3 223
RMD160 295ff3b203cf87e0e7a7ff35cbc652532f76ce96 files/digest-vm-7.19-r3 223
SHA256 a49b0da65f105b0136337217d6ee968d27fdf854618d54445904e0b4c5cbbba3 files/digest-vm-7.19-r3 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFGFiV2NQqtfCuFneMRAmCPAJ4svCeQd4bzhg9cxwCde6MxlT1N1wCdFtRf
-nWO0JTLN6b7teX3gWvTYU3U=
-=4/3d
------END PGP SIGNATURE-----
+MD5 7b0d25f65dc6fc1ef71c22789ca5ece9 files/digest-vm-7.19.282 464
+RMD160 45208fca19fd3acb62b13d1ff2171227a5c6eb74 files/digest-vm-7.19.282 464
+SHA256 6ef96c2d3bf3a36c835c9acffba748b2b14c6ebb90098be938597be4c6f82a68 files/digest-vm-7.19.282 464
--- /dev/null
+# 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.282.ebuild,v 1.1 2007/04/16 10:27:57 ulm Exp $
+
+inherit elisp eutils versionator
+
+VM_PV=$(get_version_component_range 1-2 ${PV})
+VM_P=vm-${VM_PV}
+PATCH_PV=$(get_version_component_range 3- ${PV})
+
+DESCRIPTION="The VM mail reader for Emacs"
+HOMEPAGE="http://www.robf.de/Hacking/elisp/"
+SRC_URI="ftp://ftp.uni-mainz.de/pub/software/gnu/vm/${VM_P}.tar.gz
+ mirror://gentoo/${P}.patch.gz"
+# patch taken from http://www.robf.de/Hacking/elisp/${VM_P}.patch.gz
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="bbdb"
+
+DEPEND="bbdb? ( app-emacs/bbdb )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${VM_P}"
+
+SITEFILE=51vm-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${WORKDIR}/${P}.patch"
+ epatch "${FILESDIR}/vm-info-dir-fix-gentoo.patch"
+
+ # extract patchdoc.txt from leading text of patch
+ sed -e '1,/^\*\**$/d;/^diff\|^Bin/,$d' "${WORKDIR}/${P}.patch" \
+ >patchdoc.txt || die "sed failed"
+
+ # fix vm-version
+ sed -i -e '/^ (interactive)/,/^$/c\' \
+ -e " (concat vm-version \"-devo-${PATCH_PV}\"))\n" vm-version.el \
+ || die "sed failed"
+
+ if ! use bbdb; then
+ elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
+ rm -f vm-pcrisis.*
+ sed -i -e '1,/^vm\.info:/s/ vm-pcrisis.info//' Makefile \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "compilation failed"
+}
+
+src_install() {
+ emake prefix="${D}/usr" \
+ INFODIR="${D}/usr/share/info" \
+ LISPDIR="${D}${SITELISP}/vm" \
+ PIXMAPDIR="${D}/usr/share/pixmaps/vm" \
+ install || die "installation failed"
+
+ elisp-install vm *.el
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README ChangeLog oldChangeLog TODO patchdoc.txt
+}