From 62f7102650b24618880e8e6f08fcb8fbd235025b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Jul 2022 19:28:02 +0100 Subject: gentoo auto-resync : 10:07:2022 - 19:28:02 --- app-emacs/emacs-daemon/Manifest | 2 +- app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild | 50 ++++++++++++++++++++++ app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild | 50 ---------------------- 3 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild delete mode 100644 app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild (limited to 'app-emacs/emacs-daemon') diff --git a/app-emacs/emacs-daemon/Manifest b/app-emacs/emacs-daemon/Manifest index 1cc5c26839da..c047e5aa185b 100644 --- a/app-emacs/emacs-daemon/Manifest +++ b/app-emacs/emacs-daemon/Manifest @@ -1,3 +1,3 @@ DIST emacs-daemon-0.22.tar.xz 5276 BLAKE2B a866b14951df94e1d382253dcb7045beb800c9dd754f7eed40eadecde43fd583bb2bc20ad9ccc9f87174b06aadbb26f7875deaf36d9bb5325f98ffa58fded8c7 SHA512 f013cd00d3a24ca348bf718dd20dec7bea89107c0a27c921d6b58595b611991830604fc658d57681708218fbee1dae6dd0b277a2a9da67639e3553e0fd133094 -EBUILD emacs-daemon-0.22.ebuild 1605 BLAKE2B b09a01d83b917e85e6cfc1399d5c209a562042a4781c3ceef0d3c832e86f876aad922a9c9e4e0956e459dd9132eec24e0029f63653d13adac5b8c06a1471b388 SHA512 10a2794632df7313018e9eb64ccd09263fdc6e6cac6046faa5864b3450e7154255df327ce4fce377550f937806721e21f07bfa1e5102567b08b39a3a5793e76e +EBUILD emacs-daemon-0.22-r1.ebuild 1605 BLAKE2B feae81d6c9bc3d91864be406aac67ebc812082775dce13cc02da7d73d817809063c5fbeb74e1d77463625acd376f357fac13c56a7f024dd45b9e93befeae96fa SHA512 2dab2d5456cd27a4f007926fdbab8f727e370db08a9fb83346f3c0fad7baa428abcc8f9ca4034bb0de5480a69a55f6520777848e94960bcb58d6a9e2b1fd8d8d MISC metadata.xml 362 BLAKE2B 59c9e3025bdd347e4812d6485bda2b731a1b0adf2eec16aefdd6b0d3379a949cd99c637febfcab0c6314c457eafe0727a986196e4499aa29dbd297a6a0458d66 SHA512 5882c9372b62c44189426a1ea3ac975e29b70fc5b5d30a3f024edced82d9406e118e9acee91b1353c76eb65f19008e4bb1475f859509c933be48c03aa701394b diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild new file mode 100644 index 000000000000..2521891d7963 --- /dev/null +++ b/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Gentoo support for Emacs running as a server in the background" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86" + +SITEFILE="10${PN}-gentoo.el" + +pkg_setup() { + local has_daemon has_gtk line + has_daemon=$(${EMACS} ${EMACSFLAGS} --eval "(princ (fboundp 'daemonp))") + has_gtk=$(${EMACS} ${EMACSFLAGS} --eval "(princ (featurep 'gtk))") + + if [[ ${has_daemon} != t ]]; then + while read line; do ewarn "${line}"; done <<-EOF + Your current Emacs version does not support running as a daemon which + is required for ${CATEGORY}/${PN}. + Use "eselect emacs" to select an Emacs version >= 23. + EOF + elif [[ ${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: + + 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_compile() { :; } + +src_install() { + newinitd emacs.rc emacs + newconfd emacs.conf emacs + exeinto /usr/libexec/emacs + doexe emacs-wrapper.sh emacs-stop.sh + elisp-site-file-install "${SITEFILE}" + dodoc README ChangeLog +} diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild deleted file mode 100644 index 3fc5437f04cf..000000000000 --- a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit elisp - -DESCRIPTION="Gentoo support for Emacs running as a server in the background" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs" -SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86" - -SITEFILE="10${PN}-gentoo.el" - -pkg_setup() { - local has_daemon has_gtk line - has_daemon=$(${EMACS} ${EMACSFLAGS} --eval "(princ (fboundp 'daemonp))") - has_gtk=$(${EMACS} ${EMACSFLAGS} --eval "(princ (featurep 'gtk))") - - if [[ ${has_daemon} != t ]]; then - while read line; do ewarn "${line}"; done <<-EOF - Your current Emacs version does not support running as a daemon which - is required for ${CATEGORY}/${PN}. - Use "eselect emacs" to select an Emacs version >= 23. - EOF - elif [[ ${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: - - 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_compile() { :; } - -src_install() { - newinitd emacs.rc emacs - newconfd emacs.conf emacs - exeinto /usr/libexec/emacs - doexe emacs-wrapper.sh emacs-stop.sh - elisp-site-file-install "${SITEFILE}" - dodoc README ChangeLog -} -- cgit v1.2.3