summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs/protbuf
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emacs/protbuf')
-rw-r--r--app-emacs/protbuf/Manifest1
-rw-r--r--app-emacs/protbuf/files/50protbuf-gentoo.el12
-rw-r--r--app-emacs/protbuf/metadata.xml5
-rw-r--r--app-emacs/protbuf/protbuf-1.7-r1.ebuild18
4 files changed, 36 insertions, 0 deletions
diff --git a/app-emacs/protbuf/Manifest b/app-emacs/protbuf/Manifest
new file mode 100644
index 000000000000..f43e1b5e6637
--- /dev/null
+++ b/app-emacs/protbuf/Manifest
@@ -0,0 +1 @@
+DIST protbuf-1.7.tar.bz2 2270 SHA256 a3c78450bc9e04934d842913984e36f674a7c8d54eaf1c63aef61d8904d2fca5 SHA512 9dad81784b71234812ac35be695895c3063e5337dddbed73b28fde800d12110cec6bb9faa42b6ed74d9a2d4f12da96b8e692d193edfc775fd33a7922a019b8b2 WHIRLPOOL a55039d8f4d4dedf4b8c7083204c9cf45c8d9de18b9763ad1f1e05ecd92af93e3c10a0c745b8c3888d6d797704d61dcab0272e2dfffa0c36fade9e89d9a4903f
diff --git a/app-emacs/protbuf/files/50protbuf-gentoo.el b/app-emacs/protbuf/files/50protbuf-gentoo.el
new file mode 100644
index 000000000000..f64466f67ed8
--- /dev/null
+++ b/app-emacs/protbuf/files/50protbuf-gentoo.el
@@ -0,0 +1,12 @@
+(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/metadata.xml b/app-emacs/protbuf/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/protbuf/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>
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..4b614ad68967
--- /dev/null
+++ b/app-emacs/protbuf/protbuf-1.7-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Protect Emacs buffers from accidental killing"
+HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/
+ http://www.emacswiki.org/emacs/ProtectingBuffers"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"