diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-02-20 18:11:41 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-02-20 18:11:41 +0000 |
commit | 3322c9f0bd9ba006d69b44d503413b02cf27c398 (patch) | |
tree | 217089b53881d9e57681272430d3322ebd2b6e25 /app-emacs | |
parent | arm/s390/sh stable wrt #223879 (diff) | |
download | historical-3322c9f0bd9ba006d69b44d503413b02cf27c398.tar.gz historical-3322c9f0bd9ba006d69b44d503413b02cf27c398.tar.bz2 historical-3322c9f0bd9ba006d69b44d503413b02cf27c398.zip |
Version bump and fix path for ebin files, bug 259695.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/distel/ChangeLog | 12 | ||||
-rw-r--r-- | app-emacs/distel/Manifest | 13 | ||||
-rw-r--r-- | app-emacs/distel/distel-4.03.ebuild | 45 | ||||
-rw-r--r-- | app-emacs/distel/files/50distel-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/distel/files/distel-4.03-fix-ebin-path.patch | 29 |
5 files changed, 93 insertions, 7 deletions
diff --git a/app-emacs/distel/ChangeLog b/app-emacs/distel/ChangeLog index aeb51210129b..9e6f47ff76f4 100644 --- a/app-emacs/distel/ChangeLog +++ b/app-emacs/distel/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emacs/distel -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/distel/ChangeLog,v 1.3 2008/08/28 07:33:30 ulm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/distel/ChangeLog,v 1.4 2009/02/20 18:11:41 ulm Exp $ + +*distel-4.03 (20 Feb 2009) + + 20 Feb 2009; Ulrich Mueller <ulm@gentoo.org> + +files/distel-4.03-fix-ebin-path.patch, files/50distel-gentoo.el, + +distel-4.03.ebuild: + Version bump and fix path for ebin files, bug 259695. Thanks to + Sergey Sinkovskiy <glorybox.away@gmail.com>. 28 Aug 2008; Ulrich Mueller <ulm@gentoo.org> distel-3.2_p20071103.ebuild: Use elisp-compile instead of elisp-comp, bug 235442. diff --git a/app-emacs/distel/Manifest b/app-emacs/distel/Manifest index 82bb622df402..f149c8ae1fa5 100644 --- a/app-emacs/distel/Manifest +++ b/app-emacs/distel/Manifest @@ -1,15 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX 50distel-gentoo.el 180 RMD160 6d0c00a71a25bb6eb8cf92a3e3f666820acc3251 SHA1 e948846e718f0b6ac5636e6927e2a4be2804bba7 SHA256 4204228e7615000acc8240b9e4c418e9c061adca78edcf7c81852559ad17edd6 +AUX 50distel-gentoo.el 234 RMD160 cf1ce7d42afa76b7fbe4303235625bc410d64570 SHA1 1742fb366b3a423b81e333864618bb72c3c445cf SHA256 381c351c434675e8dce2aa365c6cd444460172541d650d0d69ba678697bf6a33 +AUX distel-4.03-fix-ebin-path.patch 1152 RMD160 bde89c4636876bd7d9469bc9f3e698c9c9e079ab SHA1 78af4313db320f6871ca788525f703419846afac SHA256 0343e67b3fd5f114cf5da5ddf755cae120ef41bbe31cce78122cb530262bfc0b DIST distel-3.2_p20071103.tar.bz2 77893 RMD160 e1d89c03aa797c12ea2f290aaf097f3a8f43d8c9 SHA1 3f60b4b666ca52721328d83d95d07c0d344b8c09 SHA256 80f4f05d101d0bc2b5ed9dacf65a60abacabfa30da1b7d8ce02242f42618a2cb +DIST distel-4.03.tgz 210737 RMD160 6db14c816855bfba696e180ec81df87a1dd78380 SHA1 8ca2d858b62de55ad517259b3f599b77978bd24f SHA256 0fbf14beacfa6019fbe4f453d9b0748e160a82995798b23f37ff4d02dea16551 EBUILD distel-3.2_p20071103.ebuild 1170 RMD160 32808e565a0b7d371dd19183ef5823a5b8347885 SHA1 afa8969eedc1cfc86541e9d4085e7a8224085f6d SHA256 57f02b259273d61004ef43ac6d885fe65a052cb43f45931a672e271036320b83 -MISC ChangeLog 752 RMD160 40117e0b64d4199f144a327a20e2e4d527d135f8 SHA1 83a09c1ac53988d2e7c6257780fcf57adee051d4 SHA256 636482023c3c03220532664e7153f50d2915e5a13eec97b43f9f823381f03dd2 +EBUILD distel-4.03.ebuild 1211 RMD160 c0f98b6fae9a162f49e9d24bed8e12193e92e335 SHA1 a2f977dc7ab83eae89025b0a04ac54d76806dfd5 SHA256 64cc8a58ad73832a61d75c99c100e1b0733155b59ef7d3fcb97f91c5ecbee67a +MISC ChangeLog 1032 RMD160 7edbe9559d474d193d13a7037bda2fd8396515dc SHA1 a111a227d1df9a2ade4a731f3d154112eda1f848 SHA256 ba11eaf63b613810b8a6f0aaa4ec0795f44501d016982b883a25c12e62668fcb MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) -iEYEARECAAYFAki2VN8ACgkQOeoy/oIi7uzBZACgjxMtuBw394YcLVVZ2tLcSMH7 -FZEAoJFR0WppJGHJJA+8fVCRfx86bxCe -=hkeW +iEYEARECAAYFAkme8qQACgkQOeoy/oIi7uy9RACdGIcUGXlDB4FmgjlrBoal0hRr +V4sAoKDXZDz4AM5giBtiK8Uv1dolMOzQ +=SEoY -----END PGP SIGNATURE----- diff --git a/app-emacs/distel/distel-4.03.ebuild b/app-emacs/distel/distel-4.03.ebuild new file mode 100644 index 000000000000..7709ff3c9631 --- /dev/null +++ b/app-emacs/distel/distel-4.03.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/distel/distel-4.03.ebuild,v 1.1 2009/02/20 18:11:41 ulm Exp $ + +EAPI=2 + +inherit elisp eutils + +DESCRIPTION="Distributed Emacs Lisp for Erlang" +HOMEPAGE="http://fresh.homeunix.net/~luke/distel/" +SRC_URI="http://distel.googlecode.com/files/${P}.tgz" + +# "New BSD License" according to http://code.google.com/p/distel/ +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=dev-lang/erlang-11.2.5[emacs]" +RDEPEND="${DEPEND}" + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + epatch "${FILESDIR}/${P}-fix-ebin-path.patch" +} + +src_compile() { + emake base info || die "emake failed" + cd elisp + elisp-compile *.el || die "elisp-compile failed" +} + +src_install() { + emake prefix="${D}"/usr \ + ELISP_DIR="${D}${SITELISP}/${PN}" install \ + || die "emake install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die + doinfo doc/distel.info || die "doinfo failed" + dohtml doc/distel/*.html || die "dohtml failed" + dodoc AUTHORS ChangeLog NEWS README* || die "dodoc failed" + if use doc; then + dodoc doc/gorrie02distel.pdf || die "dodoc failed" + fi +} diff --git a/app-emacs/distel/files/50distel-gentoo.el b/app-emacs/distel/files/50distel-gentoo.el index 934a7620732f..14c8beeee70c 100644 --- a/app-emacs/distel/files/50distel-gentoo.el +++ b/app-emacs/distel/files/50distel-gentoo.el @@ -4,3 +4,4 @@ (add-to-list 'load-path "@SITELISP@") (autoload 'distel-erlang-mode-hook "distel" nil t) (add-hook 'erlang-mode-hook 'distel-erlang-mode-hook) +(setq distel-ebin-directory "/usr/share/distel/ebin") diff --git a/app-emacs/distel/files/distel-4.03-fix-ebin-path.patch b/app-emacs/distel/files/distel-4.03-fix-ebin-path.patch new file mode 100644 index 000000000000..21f6b7caefa8 --- /dev/null +++ b/app-emacs/distel/files/distel-4.03-fix-ebin-path.patch @@ -0,0 +1,29 @@ +http://bugs.gentoo.org/259695 + +--- distel-4.03-orig/elisp/erl-service.el 2008-06-25 19:05:09.000000000 +0200 ++++ distel-4.03/elisp/erl-service.el 2009-02-20 19:01:31.000000000 +0100 +@@ -172,15 +172,18 @@ + (&erl-load-backend node)) + (_ t)))))) + ++(defvar distel-ebin-directory ++ (let ((elisp-directory ++ (file-name-directory (or (locate-library "distel") load-file-name)))) ++ (concat elisp-directory "../ebin")) ++ "Directory where beam files are located.") ++ + (defun &erl-load-backend (node) +- (let* ((elisp-directory +- (file-name-directory (or (locate-library "distel") load-file-name))) +- (ebin-directory (concat elisp-directory "../ebin")) +- (modules '())) +- (dolist (file (directory-files ebin-directory)) ++ (let ((modules '())) ++ (dolist (file (directory-files distel-ebin-directory)) + (when (string-match "^\\(.*\\)\\.beam$" file) + (let ((module (intern (match-string 1 file))) +- (filename (concat ebin-directory "/" file))) ++ (filename (concat distel-ebin-directory "/" file))) + (push (list module filename) modules)))) + (if (null modules) + (erl-warn-backend-problem "don't have beam files") |