summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-11-27 15:26:57 +0000
committerUlrich Müller <ulm@gentoo.org>2010-11-27 15:26:57 +0000
commit7447cbc52213e7d6bc98134ef7b656fd7f2a545a (patch)
treee6def13f4dd03489db9d26cda2d64eba8669e4ed /app-emacs
parentNow it makes sense. (diff)
downloadgentoo-2-7447cbc52213e7d6bc98134ef7b656fd7f2a545a.tar.gz
gentoo-2-7447cbc52213e7d6bc98134ef7b656fd7f2a545a.tar.bz2
gentoo-2-7447cbc52213e7d6bc98134ef7b656fd7f2a545a.zip
Initial import, from Emacs overlay, bug 339077.
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/identica-mode/ChangeLog11
-rw-r--r--app-emacs/identica-mode/files/50identica-mode-gentoo.el2
-rw-r--r--app-emacs/identica-mode/files/identica-mode-1.1-info-dir.patch14
-rw-r--r--app-emacs/identica-mode/identica-mode-1.1.ebuild35
-rw-r--r--app-emacs/identica-mode/metadata.xml5
5 files changed, 67 insertions, 0 deletions
diff --git a/app-emacs/identica-mode/ChangeLog b/app-emacs/identica-mode/ChangeLog
new file mode 100644
index 000000000000..91a487c388b9
--- /dev/null
+++ b/app-emacs/identica-mode/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/identica-mode
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/identica-mode/ChangeLog,v 1.1 2010/11/27 15:26:57 ulm Exp $
+
+*identica-mode-1.1 (27 Nov 2010)
+
+ 27 Nov 2010; Ulrich Mueller <ulm@gentoo.org>
+ +files/50identica-mode-gentoo.el, +identica-mode-1.1.ebuild,
+ +files/identica-mode-1.1-info-dir.patch, +metadata.xml:
+ Initial import, from Emacs overlay, bug 339077. Ebuild contributed by me.
+
diff --git a/app-emacs/identica-mode/files/50identica-mode-gentoo.el b/app-emacs/identica-mode/files/50identica-mode-gentoo.el
new file mode 100644
index 000000000000..e2ecd33d5bff
--- /dev/null
+++ b/app-emacs/identica-mode/files/50identica-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'identica "identica-mode" "Start identica-mode." t)
diff --git a/app-emacs/identica-mode/files/identica-mode-1.1-info-dir.patch b/app-emacs/identica-mode/files/identica-mode-1.1-info-dir.patch
new file mode 100644
index 000000000000..dec7b13d171e
--- /dev/null
+++ b/app-emacs/identica-mode/files/identica-mode-1.1-info-dir.patch
@@ -0,0 +1,14 @@
+--- identica-mode-1.1-orig/doc/identica-mode.texi
++++ identica-mode-1.1/doc/identica-mode.texi
+@@ -15,6 +15,11 @@
+ Free Documentation License".
+ @end copying
+
++@dircategory Emacs
++@direntry
++* Identica mode: (identica-mode). Emacs mode for microblogging services.
++@end direntry
++
+ @titlepage
+ @title Identica mode manual
+ @subtitle v0.3 for identica-mode.el v0.9
diff --git a/app-emacs/identica-mode/identica-mode-1.1.ebuild b/app-emacs/identica-mode/identica-mode-1.1.ebuild
new file mode 100644
index 000000000000..e13f36c4c250
--- /dev/null
+++ b/app-emacs/identica-mode/identica-mode-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/identica-mode/identica-mode-1.1.ebuild,v 1.1 2010/11/27 15:26:57 ulm Exp $
+
+EAPI=3
+NEED_EMACS=23
+
+inherit elisp
+
+DESCRIPTION="Identi.ca mode for Emacs"
+HOMEPAGE="http://blog.nethazard.net/identica-mode-for-emacs/"
+# taken from: http://git.savannah.gnu.org/cgit/identica-mode.git/snapshot/${P}.tar.gz
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ELISP_PATCHES="${P}-info-dir.patch"
+ELISP_TEXINFO="doc/${PN}.texi"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile ${PN}.el || die
+ cd doc
+ makeinfo ${ELISP_TEXINFO##*/} || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "You may optionally set username and password in your ~/.emacs file:"
+ elog " (setq identica-username \"yourusername\")"
+ elog " (setq identica-password \"yourpassword\")"
+}
diff --git a/app-emacs/identica-mode/metadata.xml b/app-emacs/identica-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/identica-mode/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>