summaryrefslogtreecommitdiff
path: root/app-emacs/protbuf
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /app-emacs/protbuf
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
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.xml9
-rw-r--r--app-emacs/protbuf/protbuf-1.7-r1.ebuild17
4 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/protbuf/Manifest b/app-emacs/protbuf/Manifest
new file mode 100644
index 000000000000..25f37aeb4eca
--- /dev/null
+++ b/app-emacs/protbuf/Manifest
@@ -0,0 +1 @@
+DIST protbuf-1.7.tar.bz2 2270 BLAKE2B fa840549e785dcccbca53e4ddad7b6572f6da0191d3b82544ed562a4e1d6e6a28e1cc44aaf81498a0f6c8f9ef6d37451104b6552bb0c8469029d0589489d03e5 SHA512 9dad81784b71234812ac35be695895c3063e5337dddbed73b28fde800d12110cec6bb9faa42b6ed74d9a2d4f12da96b8e692d193edfc775fd33a7922a019b8b2
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..986088003fe1
--- /dev/null
+++ b/app-emacs/protbuf/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<stabilize-allarches/>
+</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..90bf887093ed
--- /dev/null
+++ b/app-emacs/protbuf/protbuf-1.7-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp
+
+DESCRIPTION="Protect Emacs buffers from accidental killing"
+HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/
+ https://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"