summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-11-06 22:42:18 +0000
committerUlrich Müller <ulm@gentoo.org>2008-11-06 22:42:18 +0000
commit2bf613d202329223ef383af1a06483ccb94c1470 (patch)
tree493e7e177217f92c67c630ce8bc6fde81073b4e3
parentConvert to EAPI 2. (diff)
downloademacs-2bf613d202329223ef383af1a06483ccb94c1470.tar.gz
emacs-2bf613d202329223ef383af1a06483ccb94c1470.tar.bz2
emacs-2bf613d202329223ef383af1a06483ccb94c1470.zip
Initial import.
svn path=/emacs-overlay/; revision=1199
-rw-r--r--app-emacs/babel/ChangeLog10
-rw-r--r--app-emacs/babel/Manifest6
-rw-r--r--app-emacs/babel/babel-0.6.ebuild22
-rw-r--r--app-emacs/babel/files/50babel-gentoo.el12
-rw-r--r--app-emacs/babel/files/babel-0.6-junk.patch11
-rw-r--r--app-emacs/babel/metadata.xml5
6 files changed, 66 insertions, 0 deletions
diff --git a/app-emacs/babel/ChangeLog b/app-emacs/babel/ChangeLog
new file mode 100644
index 0000000..58e5f65
--- /dev/null
+++ b/app-emacs/babel/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emacs/babel
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*babel-0.6 (06 Nov 2008)
+
+ 06 Nov 2008; Ulrich Mueller <ulm@gentoo.org> +files/50babel-gentoo.el,
+ +files/babel-0.6-junk.patch, +metadata.xml, +babel-0.6.ebuild:
+ Initial import. Ebuild contributed by me.
+
diff --git a/app-emacs/babel/Manifest b/app-emacs/babel/Manifest
new file mode 100644
index 0000000..0f58a85
--- /dev/null
+++ b/app-emacs/babel/Manifest
@@ -0,0 +1,6 @@
+AUX 50babel-gentoo.el 480 RMD160 d913121eb1c497a367a8016e9edb10c9f7e96333 SHA1 cf5e1ab561aa5ba3bba419010182ef6aac76505d SHA256 d550eaf3312b8cc8d513810b45a285c08f34ef7f5855f0791c7525d052bf2168
+AUX babel-0.6-junk.patch 379 RMD160 6b825c6c4ea9ef0967a07a644babc7b2f0603a43 SHA1 752d8b49b80bf24bbfbe45b362e15b502b86208f SHA256 3f7ed115b0643a1adbf3a07dcfefd867fbf142f732634853a4d7f9b6aa1435a0
+DIST babel-0.6.el.bz2 7923 RMD160 81fae8fc3f956ecd63ff3fd3159768bbb368cdf3 SHA1 30fdf33de602242c370a254f432ea5bd5fecc2f3 SHA256 9acf940c7871e4e12fc9034db71c5c0fb089ed57c3dfb7c59eaa5882ac3fc45a
+EBUILD babel-0.6.ebuild 542 RMD160 af3ad7a9185351373eafde5f0f08a3f65d67879b SHA1 e9b4bd5e091e95355770441e45ceb7854ed47c79 SHA256 bfa2369740b6ecddd762d9e2428dd19fad3b7cfe9009744de2fc3629e6c6670a
+MISC ChangeLog 325 RMD160 270bd8a30e9f1e0a6ea5a00d33c1a9dd68a5bfeb SHA1 45dd24a00e21e49e541303eb6022f4fd18059a8e SHA256 c48bae33dcadcf7b0464b591b785297d882a848f0c8f0904974f6b550ffaa8ff
+MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
diff --git a/app-emacs/babel/babel-0.6.ebuild b/app-emacs/babel/babel-0.6.ebuild
new file mode 100644
index 0000000..e8e95f7
--- /dev/null
+++ b/app-emacs/babel/babel-0.6.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit elisp eutils
+
+DESCRIPTION="Interface to web translation services such as Babelfish"
+HOMEPAGE="http://www.hoetzel.info/Hacking/emacs/"
+# taken from: http://www.hoetzel.info/Hacking/emacs/babel.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ elisp_src_unpack
+ epatch "${FILESDIR}/${P}-junk.patch"
+}
diff --git a/app-emacs/babel/files/50babel-gentoo.el b/app-emacs/babel/files/50babel-gentoo.el
new file mode 100644
index 0000000..467b175
--- /dev/null
+++ b/app-emacs/babel/files/50babel-gentoo.el
@@ -0,0 +1,12 @@
+
+;;; babel site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'babel "babel"
+ "Use a web translation service to translate the message MSG." t)
+(autoload 'babel-region "babel"
+ "Use a web translation service to translate the current region." t)
+(autoload 'babel-as-string "babel"
+ "Use a web translation service to translate MSG, returning a string." t)
+(autoload 'babel-buffer "babel"
+ "Use a web translation service to translate the current buffer." t)
diff --git a/app-emacs/babel/files/babel-0.6-junk.patch b/app-emacs/babel/files/babel-0.6-junk.patch
new file mode 100644
index 0000000..33e0858
--- /dev/null
+++ b/app-emacs/babel/files/babel-0.6-junk.patch
@@ -0,0 +1,11 @@
+--- babel.el~ 2008-11-06 23:34:39.000000000 +0100
++++ babel.el 2008-11-06 23:35:29.000000000 +0100
+@@ -333,7 +333,7 @@
+
+ ;;;###autoload
+ (defun babel-as-string (msg)
+- "Use a web translation service to translate MSG, returning a string."SysTran
++ "Use a web translation service to translate MSG, returning a string."
+ (interactive "sTranslate phrase: ")
+ (babel msg t))
+
diff --git a/app-emacs/babel/metadata.xml b/app-emacs/babel/metadata.xml
new file mode 100644
index 0000000..bc306fe
--- /dev/null
+++ b/app-emacs/babel/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>