commit: 375ea9a8be509f2892ee51fe8e3ecbcca2758c75
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 2 16:23:47 2025 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jul 2 16:23:47 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=375ea9a8
app-emacs/emacs-daemon: add 0.26
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/emacs-daemon/Manifest | 1 +
app-emacs/emacs-daemon/emacs-daemon-0.26.ebuild | 52 +++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/app-emacs/emacs-daemon/Manifest b/app-emacs/emacs-daemon/Manifest
index 5c3a5f7cb137..dc4af2c814ff 100644
--- a/app-emacs/emacs-daemon/Manifest
+++ b/app-emacs/emacs-daemon/Manifest
@@ -1 +1,2 @@
DIST emacs-daemon-0.25.tar.xz 4612 BLAKE2B
d2207b69b2a6d13b95095dc2f4d89c93e291dd8475379454314a4d1daad0ae8414fb3081a17350e536ce2320a002fb32fd6f239b91280726aac9cdc636ece682
SHA512
66a9d4ab89f3c27727ceb3d6e689b7a59ce7c10afbb0e4f29011aee499a6c6299887dcb0c92998e424068ae1b12d56ad74d0fe2583059eca9130bb57b7d44a14
+DIST emacs-daemon-0.26.tar.xz 4580 BLAKE2B
f9106c8e0e535286143105e2edac191b6545f4e09811ac238daf8d2d52cdbaff3739ef982e535f23850b8e1ae344840f8ad458a73d0dab4150fc43966ab83ef0
SHA512
f38e4d0152b66cb6c402815e74d3d29415f7a00b7e567b2c613e51d76e18a888a2f44a4ca6f3c26c1f31b85cb0268c8367d625f8790ee6349cab2117aa56e86b
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.26.ebuild
b/app-emacs/emacs-daemon/emacs-daemon-0.26.ebuild
new file mode 100644
index 000000000000..9cdac7a279cd
--- /dev/null
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.26.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp-common
+
+if [[ ${PV##*.} = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/emacs-tools.git"
+ EGIT_BRANCH="${PN}"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
+ S="${EGIT_CHECKOUT_DIR}"
+else
+ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo support for Emacs running as a server in the background"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+BDEPEND=">=app-editors/emacs-${NEED_EMACS}:*"
+RDEPEND="${BDEPEND}
+ >=app-emacs/emacs-common-1.11"
+
+pkg_setup() {
+ elisp-check-emacs-version
+
+ local has_gtk line
+ has_gtk=$(${EMACS} ${EMACSFLAGS} --eval "(princ (featurep 'gtk))")
+
+ if [[ ${has_gtk} == t ]]; then
+ while read line; do ewarn "${line}"; done <<-EOF
+ Your current Emacs is compiled with GTK+. There is a
long-standing bug
+ in GTK+ that prevents Emacs from recovering from X disconnects:
+ <https://gitlab.gnome.org/GNOME/gtk/-/issues/221> and
+ <https://gitlab.gnome.org/GNOME/gtk/-/issues/2315>.
+ If you run Emacs as a daemon, then it is strongly recommended
that you
+ compile it with the Lucid or the Motif toolkit instead, i.e.
with
+ USE="athena Xaw3d -gtk -motif" or USE="motif -gtk -athena
-Xaw3d".
+ EOF
+ fi
+}
+
+src_install() {
+ newinitd emacs.rc emacs
+ newconfd emacs.conf emacs
+ dodoc README ChangeLog
+}