summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-10-14 16:13:49 +0000
committerUlrich Müller <ulm@gentoo.org>2007-10-14 16:13:49 +0000
commit3b8d1bb6c01b3259ce761692e3885e81fb78a1cc (patch)
tree243b5e1fa94c60cf36b4d90ad68c07d64158bb55 /app-emacs/protbuf
parentStable on ppc64; bug #195250 (diff)
downloadgentoo-2-3b8d1bb6c01b3259ce761692e3885e81fb78a1cc.tar.gz
gentoo-2-3b8d1bb6c01b3259ce761692e3885e81fb78a1cc.tar.bz2
gentoo-2-3b8d1bb6c01b3259ce761692e3885e81fb78a1cc.zip
Use autoload mechanism.
(Portage version: 2.1.3.13)
Diffstat (limited to 'app-emacs/protbuf')
-rw-r--r--app-emacs/protbuf/ChangeLog8
-rw-r--r--app-emacs/protbuf/files/51protbuf-gentoo.el15
-rw-r--r--app-emacs/protbuf/files/digest-protbuf-1.7-r13
-rw-r--r--app-emacs/protbuf/protbuf-1.7-r1.ebuild16
4 files changed, 41 insertions, 1 deletions
diff --git a/app-emacs/protbuf/ChangeLog b/app-emacs/protbuf/ChangeLog
index 7e782baec4b3..671531f2e70e 100644
--- a/app-emacs/protbuf/ChangeLog
+++ b/app-emacs/protbuf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/protbuf
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/protbuf/ChangeLog,v 1.8 2007/03/08 08:00:07 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/protbuf/ChangeLog,v 1.9 2007/10/14 16:13:48 ulm Exp $
+
+*protbuf-1.7-r1 (14 Oct 2007)
+
+ 14 Oct 2007; Ulrich Mueller <ulm@gentoo.org> +files/51protbuf-gentoo.el,
+ +protbuf-1.7-r1.ebuild:
+ Use autoload mechanism.
08 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
files/50protbuf-gentoo.el:
diff --git a/app-emacs/protbuf/files/51protbuf-gentoo.el b/app-emacs/protbuf/files/51protbuf-gentoo.el
new file mode 100644
index 000000000000..e2ea920436b5
--- /dev/null
+++ b/app-emacs/protbuf/files/51protbuf-gentoo.el
@@ -0,0 +1,15 @@
+
+;;; protbuf site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'protect-buffer-from-kill-mode "protbuf"
+ "Protect buffer from being killed.
+To remove this protection, call this command with a negative prefix argument."
+ t)
+(autoload 'protect-process-buffer-from-kill-mode "protbuf"
+ "Protect buffer from being killed as long as it has an active process.
+To remove this protection, call this command with a negative prefix argument."
+ t)
+(autoload 'protect-buffer-from-kill "protbuf")
+(autoload 'protect-process-buffer-from-kill "protbuf")
diff --git a/app-emacs/protbuf/files/digest-protbuf-1.7-r1 b/app-emacs/protbuf/files/digest-protbuf-1.7-r1
new file mode 100644
index 000000000000..f8e5d6f8cecf
--- /dev/null
+++ b/app-emacs/protbuf/files/digest-protbuf-1.7-r1
@@ -0,0 +1,3 @@
+MD5 02b0c5c812d3bae8bcb2f9af032ce2e0 protbuf-1.7.tar.bz2 2270
+RMD160 f5ce3f13b56890949af2a345805c075634358179 protbuf-1.7.tar.bz2 2270
+SHA256 a3c78450bc9e04934d842913984e36f674a7c8d54eaf1c63aef61d8904d2fca5 protbuf-1.7.tar.bz2 2270
diff --git a/app-emacs/protbuf/protbuf-1.7-r1.ebuild b/app-emacs/protbuf/protbuf-1.7-r1.ebuild
new file mode 100644
index 000000000000..298c2f78eafc
--- /dev/null
+++ b/app-emacs/protbuf/protbuf-1.7-r1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/protbuf/protbuf-1.7-r1.ebuild,v 1.1 2007/10/14 16:13:48 ulm Exp $
+
+inherit elisp
+
+DESCRIPTION="Protect Emacs buffers from accidental killing"
+HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki.pl?ProtectingBuffers"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+SITEFILE=51${PN}-gentoo.el