diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-03-04 00:20:42 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-03-04 00:20:42 +0000 |
commit | 9c711d8e23ed10422c4c722c7f94ed2bed04aba1 (patch) | |
tree | 2c575846dcf995900bd95e6bb7ba8f1c82ac1ff1 /app-emacs | |
parent | Remove bashism, authorized by scarabeus (diff) | |
download | historical-9c711d8e23ed10422c4c722c7f94ed2bed04aba1.tar.gz historical-9c711d8e23ed10422c4c722c7f94ed2bed04aba1.tar.bz2 historical-9c711d8e23ed10422c4c722c7f94ed2bed04aba1.zip |
Install pixmaps under SITEETC instead of SITELISP. Other minor changes.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ecb/ChangeLog | 15 | ||||
-rw-r--r-- | app-emacs/ecb/Manifest | 14 | ||||
-rw-r--r-- | app-emacs/ecb/ecb-2.32-r3.ebuild | 55 | ||||
-rw-r--r-- | app-emacs/ecb/files/ecb-2.32-gentoo.patch | 73 |
4 files changed, 153 insertions, 4 deletions
diff --git a/app-emacs/ecb/ChangeLog b/app-emacs/ecb/ChangeLog index f1b75c06e231..cb94ba59d9e1 100644 --- a/app-emacs/ecb/ChangeLog +++ b/app-emacs/ecb/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-emacs/ecb -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.34 2007/09/24 12:03:55 opfer Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ChangeLog,v 1.35 2009/03/04 00:20:42 ulm Exp $ + +*ecb-2.32-r3 (03 Mar 2009) + + 03 Mar 2009; Ulrich Mueller <ulm@gentoo.org> +files/ecb-2.32-gentoo.patch, + +ecb-2.32-r3.ebuild: + Install pixmaps under SITEETC instead of SITELISP. Use proper patch for + help and info paths, instead of sed tweaks. Allow any compress extension + of Info files; don't hardcode .gz. Add alternative load-path for jde, in + order to prepare for a later change of its install location. 24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> -files/70ecb-gentoo.el, -ecb-2.32-r1.ebuild: @@ -85,7 +94,7 @@ eieio and semantic; bug #64395. 27 Aug 2004; Jared Hudson <jhhudso@gentoo.org> : Added ~amd64 keyword - + 01 Jun 2004; Aron Griffis <agriffis@gentoo.org> ecb-2.21.ebuild, ecb-2.24.ebuild: Fix use invocation diff --git a/app-emacs/ecb/Manifest b/app-emacs/ecb/Manifest index ac54e15068fa..db1d3b247d4c 100644 --- a/app-emacs/ecb/Manifest +++ b/app-emacs/ecb/Manifest @@ -1,5 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 71ecb-gentoo.el 98 RMD160 00cebe627acbb92bb3a6c389699a5aba7f9115dc SHA1 bd7b41a97b72b0a9d2d96b80b0a0ff6a2adc4444 SHA256 46ededa789d5d8fd983ec1a42854af3084c6865c304003e651c344e5813986cf +AUX ecb-2.32-gentoo.patch 3430 RMD160 cd2fd19d905fc5fc6b55776068f925952cf3e0b4 SHA1 33bd120bfb659a83fbba6aa8f3ed4e64b0f5c6b7 SHA256 cf563365153c543980385fc7dfa5eda0842e48413a260439643cf3b457d8e351 DIST ecb-2.32.tar.gz 896382 RMD160 e5361142bfc211a6389400536c034a32ae1998ec SHA1 f396adbe2079ee8a314912f9920d4e4c363bc7e3 SHA256 b0b4bd5eb00fd43bb4637e3ed67220b0e981471922bf773ff992b662e6be599d EBUILD ecb-2.32-r2.ebuild 1375 RMD160 3eb5220d0ccbfac321a6ae1b5a6cb711c5be04e5 SHA1 19d2b64e02e964e8dc7ba0f9802b32266f187542 SHA256 a04a6b943d20d9c315ac3b3b8ed8b4b215871f7512a67128deff233544d5c1c0 -MISC ChangeLog 4979 RMD160 55d4d5bc3313fc5579561e245868386fe18ab03b SHA1 8b4ff52151aecae3dfb0d1b61fdc22e6e7df9850 SHA256 54f4baa01a4999a9d65d25f357bf128ae828ca767dc009833ff1c3ad090b46d7 +EBUILD ecb-2.32-r3.ebuild 1282 RMD160 26574715598eaea136f70fb9fe27d92d833e38eb SHA1 1f43a587648d802068173111bb572d73639d7104 SHA256 eaa33ae8bcf5d32602960d66c2283ad3305d6fe6a4019154b550a288ae54b853 +MISC ChangeLog 5392 RMD160 1fb1abf2ac09882701ce709a009e4b7a130fbb13 SHA1 7ca661c5af52bc8e322aff7b92ba9fc44d87c4cf SHA256 ee359e4d06873fcff80e191ab1afeba96d4f3058c4aef588b0069e12c42b9060 MISC metadata.xml 1354 RMD160 837103204ede46a7398ac74b5c23eb0197b623a2 SHA1 2ad6460338b8092e5b0d5321c1de3c6e787e3541 SHA256 a38e81a509d56767fe525f3c08ed4dc6f79293a674e4387d28f8a47f6060beeb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEARECAAYFAkmtyacACgkQOeoy/oIi7uxswwCfZv+L0PWS4bxE42VnrmQGWcUg +B4kAmwaFbtHex/ZHFYJLd3UPMuccuSUm +=8nhw +-----END PGP SIGNATURE----- diff --git a/app-emacs/ecb/ecb-2.32-r3.ebuild b/app-emacs/ecb/ecb-2.32-r3.ebuild new file mode 100644 index 000000000000..a46bc808819a --- /dev/null +++ b/app-emacs/ecb/ecb-2.32-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ecb/ecb-2.32-r3.ebuild,v 1.1 2009/03/04 00:20:42 ulm Exp $ + +inherit elisp eutils + +DESCRIPTION="Source code browser for Emacs" +HOMEPAGE="http://ecb.sourceforge.net/" +SRC_URI="mirror://sourceforge/ecb/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="java" + +DEPEND="app-emacs/cedet + java? ( app-emacs/jde )" +RDEPEND="${DEPEND}" + +SITEFILE="71${PN}-gentoo.el" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" + sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed" +} + +src_compile() { + local loadpath="" + if use java; then + loadpath="${SITELISP}/elib ${SITELISP}/jde ${SITELISP}/jde/lisp" + fi + + emake CEDET="${SITELISP}/cedet" LOADPATH="${loadpath}" \ + || die "emake failed" +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r ecb-images || die + + doinfo info-help/ecb.info* || die + dohtml html-help/*.html || die + dodoc NEWS README RELEASE_NOTES || die +} + +pkg_postinst() { + elisp-site-regen + elog "ECB is now autoloaded in site-gentoo.el. Add the line" + elog " (require 'ecb)" + elog "to your ~/.emacs file to enable all features on Emacs startup." +} diff --git a/app-emacs/ecb/files/ecb-2.32-gentoo.patch b/app-emacs/ecb/files/ecb-2.32-gentoo.patch new file mode 100644 index 000000000000..09d3d86afdcd --- /dev/null +++ b/app-emacs/ecb/files/ecb-2.32-gentoo.patch @@ -0,0 +1,73 @@ +Change default paths to Gentoo install locations. +Allow for compressed Info files. + +--- ecb-2.32-orig/ecb-common-browser.el 2005-07-11 16:16:01.000000000 +0200 ++++ ecb-2.32/ecb-common-browser.el 2009-03-03 09:42:51.000000000 +0100 +@@ -261,10 +261,7 @@ + ;; additonal images are necessary - but currently i don't think we need + ;; special images for this analyse-stuff. + (defcustom ecb-tree-image-icons-directories +- (let ((base (concat (if ecb-regular-xemacs-package-p +- (format "%s" (locate-data-directory "ecb")) +- ecb-ecb-dir) +- "ecb-images/"))) ++ (let ((base "/usr/share/emacs/etc/ecb/ecb-images/")) + (cons (concat base "default/height-17") + (mapcar (function (lambda (i) + (cons (car i) (concat base (cdr i))))) +--- ecb-2.32-orig/ecb-help.el 2005-07-11 16:16:00.000000000 +0200 ++++ ecb-2.32/ecb-help.el 2009-03-03 09:47:49.000000000 +0100 +@@ -81,16 +81,8 @@ + (const :tag "Html" :value html))) + + +-(defcustom ecb-help-info-path (concat +- (if ecb-running-xemacs +- (if (file-exists-p +- (concat ecb-ecb-dir +- ecb-help-info-subdir +- ecb-help-info-start-file)) +- ecb-help-info-subdir +- "../../info/") +- ecb-help-info-subdir) +- ecb-help-info-start-file) ++(defcustom ecb-help-info-path ++ (concat "/usr/share/info/" ecb-help-info-start-file) + "*Path where the ECB online help in info format resides. + This must be the location of the file \"ecb.info\" which comes with the ECB + distribution. If is installed by unpacking the archive available on the ECB +@@ -107,24 +99,7 @@ + :type 'file) + + (defcustom ecb-help-html-path +- (if (not ecb-running-xemacs) +- (concat ecb-help-html-subdir ecb-help-html-start-file) +- (cond ((file-exists-p +- (concat ecb-ecb-dir +- ecb-help-html-subdir +- ecb-help-html-start-file)) +- (concat ecb-help-html-subdir ecb-help-html-start-file)) +- ((file-exists-p +- (concat ecb-ecb-dir +- "../../html/" +- ecb-help-html-start-file)) +- (concat "../../html/" ecb-help-html-start-file)) +- ((file-exists-p +- (concat ecb-ecb-dir +- "../../html/ecb/index.html")) +- "../../html/ecb/index.html") +- (t +- (concat "../../etc/ecb/html/" ecb-help-html-start-file)))) ++ (concat "/usr/share/doc/@PF@/html/" ecb-help-html-start-file) + "*Path where the ECB online help in HTML format resides. + This must be the location of the file \"index.html\" which comes with the ECB + distribution. If is installed by unpacking the archive available on the ECB +@@ -145,7 +120,7 @@ + "Starts `info' with INFO-FILE. If INFO-FILE does not exists then nil is + returned otherwise true. If NO-FILE-NOT-EXIST-ERR is not nil then just nil is + returned if INFO-FILE does not exist otherwise an error is reported." +- (if (file-exists-p info-file) ++ (if (file-expand-wildcards (concat info-file "*")) + (prog1 t + (info info-file)) + (unless no-file-not-exist-err |