diff options
Diffstat (limited to 'app-emacs/ecb')
-rw-r--r-- | app-emacs/ecb/Manifest | 7 | ||||
-rw-r--r-- | app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild | 51 | ||||
-rw-r--r-- | app-emacs/ecb/files/70ecb-gentoo.el | 2 | ||||
-rw-r--r-- | app-emacs/ecb/files/ecb-2.32-gentoo.patch | 73 | ||||
-rw-r--r-- | app-emacs/ecb/metadata.xml | 38 |
5 files changed, 171 insertions, 0 deletions
diff --git a/app-emacs/ecb/Manifest b/app-emacs/ecb/Manifest new file mode 100644 index 000000000000..862e29f4478e --- /dev/null +++ b/app-emacs/ecb/Manifest @@ -0,0 +1,7 @@ +AUX 70ecb-gentoo.el 63 SHA256 4a5b9c1b94bc957986079806c1dfd7a52dd99a1f11ec053e7f1c6e3c533c7e46 SHA512 984cfbfa398bd60008dee83721a55f5c6cad0a71caf0d7cc194a84f0d7c061a9a99398e40e90f0a9cf79d2ff689e374c860612bea16e9fa0049d7a82edc56283 WHIRLPOOL a79598a62ecbe6321b18b6d8e02f74a1873f7537c5fc023d9524d60fc2c4e8c470cf8350d6cc7b7d50f62bd4e72f20353386081557f0cf88757b411568f53069 +AUX ecb-2.32-gentoo.patch 3430 SHA256 cf563365153c543980385fc7dfa5eda0842e48413a260439643cf3b457d8e351 SHA512 1902cec83e62c9b65a62a1fd4a7c8e2ae309b3bd2217b6f821a5a047cf3bdda24b9b5c68e672c1555196a7d28ce06c22398ef15c3c0e6b87bcce1e15d3c333fb WHIRLPOOL 4e39382dece509a6cb3ed03834692c2a497b53554fa0c399966e430c0e7362c8e4872fc0f019ee702cd15cbf8e77cd7fc52ae090fb4f4ec6abe3ca801ab23219 +DIST ecb-2.41_pre20140215.tar.xz 565404 SHA256 f3103afd4324cfd1c50bf4c1d6a6d52d94af192b1f4c8665a91c87929b0635a2 SHA512 bf87bdd38e7ddaeec044fc56d56f7c456ef0a1922f50b962f932bf739895f046387bab7a934439e749fd7e838d9f742938408f4f9cb47079440abd8c1ba181b6 WHIRLPOOL a1906bc4cad119959d76a5e3d79c97fba9d302eeea67e86bc597af449a6b6b2efb7053c4a9251502f35f571b7d69e557b6b9d7a52a11f4e69348e83649d2433c +EBUILD ecb-2.41_pre20140215-r1.ebuild 1226 SHA256 845e9a57109ae0b9d3ea45ac2b367271a4b382c34dad53cc727f86050434c67c SHA512 9cf484eb1e4cd0a895eacd2730e0d991b62d6bb3187ba096583e2c6a091496efcfddd86db61368c8bc2e83acf7fe0716791dd6620ddfe3ea064fc93ca093bbaa WHIRLPOOL 5346454228f25c5edd0e914b363800c5d06f096a88d2bc16433c6ec499a3add3b6e9447fa89025276b4b6fd29556ce498e4061c84444a33e37de9071dc90dd84 +MISC ChangeLog 2574 SHA256 2dd97a3bbc46bf583269c80543cc50f167b366a47ed87c38e95524c7974dd9b9 SHA512 44aa929c41cd5e7abbdc120bcceaf0998e718f8b69a715603f2e37b6e9339425331ce52c0b963e388b17c712a0f0b2e77317ca99e038727e71b61661e5016ea7 WHIRLPOOL 8f3f1a88cd116b9d931e512c83ddb407db3fc0bebce089dea3051e1ccb9bce6c9cbb717def611ffd1e83903e3e260e05aa9273bbf9f886a4fc7a20d3e2e5068b +MISC ChangeLog-2015 8810 SHA256 e5fdfc0fb09e0841b31f349ec86f3ab116a89c70d9e7b9075032ae8441aac219 SHA512 162d307be465fab9b5302e9f832ab1d3d093e9072599880191713f0939f1edfe8d54a63f03beb3479fa7148302ae98ef34f7211856723910788a9ae3a497a50d WHIRLPOOL b544abd69ef5cd91f8b24d65f27d014f680df83ee0c8f56379a300ca3ee7fddf84db8988f858aa742bc90361462c13bffc23f352da363d52af2eddc756095646 +MISC metadata.xml 1570 SHA256 6f7f7e3eac39778d5d8a26ed569a16f0073ce3f8b1e78993f10292976d7829e8 SHA512 01609daa4da5052b380cb154d574d3a6bf0f244d48c2c73651996f19b517371e67ad8885f99f4b3e0aae47ca1e18d6d383fa8ff5cc97b344475c12ebea878677 WHIRLPOOL 4d241207982438cdf80eac58db5a2bca8cad685ded506f5119ee7ab37c6ac9f66e2cf6126d832bc180edca7c541ba65c153506f073871331f8cd082404830427 diff --git a/app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild b/app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild new file mode 100644 index 000000000000..1a427bfba276 --- /dev/null +++ b/app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit readme.gentoo elisp eutils + +DESCRIPTION="Source code browser for Emacs" +HOMEPAGE="http://ecb.sourceforge.net/" +# snapshot of https://github.com/alexott/ecb.git, created with "make distrib" +SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="java" + +DEPEND="!!<app-emacs/cedet-2.0 + java? ( app-emacs/jde )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${PV%_*}" +SITEFILE="70${PN}-gentoo.el" +DOC_CONTENTS="ECB is autoloaded in site-gentoo.el. Add the line + \n\t(require 'ecb) + \nto your ~/.emacs file to enable all features on Emacs startup." + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.32-gentoo.patch" + sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed" +} + +src_compile() { + local loadpath="" sl=${EPREFIX}${SITELISP} + if use java; then + loadpath="${sl}/elib ${sl}/jde ${sl}/jde/lisp" + fi + + emake LOADPATH="${loadpath}" +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r ecb-images + + doinfo info-help/ecb.info* + dohtml html-help/*.html + dodoc NEWS README RELEASE_NOTES +} diff --git a/app-emacs/ecb/files/70ecb-gentoo.el b/app-emacs/ecb/files/70ecb-gentoo.el new file mode 100644 index 000000000000..bc71f7c18e94 --- /dev/null +++ b/app-emacs/ecb/files/70ecb-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(require 'ecb-autoloads) 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 diff --git a/app-emacs/ecb/metadata.xml b/app-emacs/ecb/metadata.xml new file mode 100644 index 000000000000..10126549936f --- /dev/null +++ b/app-emacs/ecb/metadata.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +<longdescription> + ECB stands for "Emacs Code Browser". While Emacs already has good editing + support for many modes, its browsing support is somewhat lacking. That's + where ECB comes in: it displays a number of informational windows that allow + for easy source code navigation and overview. + + The informational windows can contain: + + * A directory tree, + * a list of source files in the current directory, + * a list of functions/classes/methods/... in the current file, (ECB uses + the Semantic Bovinator, or Imenu, or etags, for getting this list so all + languages supported by any of these tools are automatically supported by + ECB too), + * a history of recently visited files, + * the Speedbar and + * output from compilation (the compilation window) and other modes like + help, grep etc. or whatever a user defines to be displayed in this + window. + + As an added bonus, ECB makes sure to keep these informational windows + visible, even when you use C-x 1 and similar commands. + + It goes without saying that you can configure the layout, ie. which + informational windows should be displayed where. ECB comes with a number of + ready-made window layouts to choose from. +</longdescription> +<upstream> + <remote-id type="sourceforge">ecb</remote-id> +</upstream> +</pkgmetadata> |