[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2022-07-14 Thread Arthur Zamarin
commit: b7ec10d5704f14d3e0d912983e732ffedb231d6d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jul 14 19:07:19 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jul 14 19:07:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ec10d5

app-emacs/emacs-daemon: Keyword 0.22-r1 arm64, #857903

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild
index 2521891d7963..4a61e44aadf6 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 
 SITEFILE="10${PN}-gentoo.el"
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2022-07-10 Thread Ulrich Müller
commit: d0533fe50c64fdf7ff3de7f1acf2feca3d399ac2
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Jul 10 12:31:48 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Jul 10 12:32:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0533fe5

app-emacs/emacs-daemon: EAPI 8

Closes: https://bugs.gentoo.org/857243
Signed-off-by: Ulrich Müller  gentoo.org>

 .../{emacs-daemon-0.22.ebuild => emacs-daemon-0.22-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild
similarity index 99%
rename from app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
rename to app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild
index 3fc5437f04cf..2521891d7963 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit elisp
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2022-05-24 Thread Ulrich Müller
commit: eca71656404417573a6c3d47c5ac6abdba9c2cbf
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue May 24 11:09:31 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue May 24 11:09:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eca71656

app-emacs/emacs-daemon: add gentoo upstream metadata

Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/emacs-daemon/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-emacs/emacs-daemon/metadata.xml 
b/app-emacs/emacs-daemon/metadata.xml
index 986088003fe1..0f54c377923e 100644
--- a/app-emacs/emacs-daemon/metadata.xml
+++ b/app-emacs/emacs-daemon/metadata.xml
@@ -6,4 +6,7 @@
   Gentoo GNU Emacs project
 
 
+
+  proj/emacs-tools
+
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2022-04-20 Thread Sam James
commit: 4607508489d33352446e8145c8c6e9a091348c33
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 20 21:25:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 20 21:30:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46075084

app-emacs/emacs-daemon: drop ~s390

Emacs not keyworded here.

Signed-off-by: Sam James  gentoo.org>

 app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
index f22b98276df5..3fc5437f04cf 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 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 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 
 SITEFILE="10${PN}-gentoo.el"
 



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2019-12-20 Thread Ulrich Müller
commit: 6f2a22452646a37457701c734f4e72da547b81c3
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Dec 20 14:23:00 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Dec 20 14:26:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2a2245

app-emacs/emacs-daemon: Drop dependency on virtual/emacs.

This is already implied by elisp.eclass.

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
index 6e53e7f176a..396b2978db3 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,9 +13,6 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
 
-DEPEND=">=virtual/emacs-23"
-RDEPEND="${DEPEND}"
-
 SITEFILE="10${PN}-gentoo.el"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2016-09-17 Thread Ulrich Müller
commit: 3b06c6d839e91171ae2261127fee9d03ff1c160b
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Sep 17 14:45:42 2016 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Sep 17 14:48:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b06c6d8

app-emacs/emacs-daemon: All arches stable.

Bug: 591802

Package-Manager: portage-2.3.0

 app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
index befb57f..6f37191 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
@@ -12,7 +12,7 @@ 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 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
 
 DEPEND=">=virtual/emacs-23"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2016-09-17 Thread Ulrich Müller
commit: b38484581a304ea1c5fd23720f8c11e6deb2df9e
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Sep 17 14:47:24 2016 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Sep 17 14:48:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3848458

app-emacs/emacs-daemon: Remove old.

Package-Manager: portage-2.3.0

 app-emacs/emacs-daemon/Manifest |  2 -
 app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild | 54 -
 app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild | 54 -
 3 files changed, 110 deletions(-)

diff --git a/app-emacs/emacs-daemon/Manifest b/app-emacs/emacs-daemon/Manifest
index 76f4f98..fdaf1dc 100644
--- a/app-emacs/emacs-daemon/Manifest
+++ b/app-emacs/emacs-daemon/Manifest
@@ -1,3 +1 @@
-DIST emacs-daemon-0.20.tar.xz 5120 SHA256 
5c0f0bc9a1fab391657737fc3b6af4088eff1ead2e05987fe50e02f5b6e50eb3 SHA512 
ac1bfc543f38dd86aeef544a8d03aa2f2a6cb02ee2042ecb3f339baed98294deac1fc6d3d002e654f3d9f32f00379c4de40efa226ddd07715aee7fe0fcb41e43
 WHIRLPOOL 
5941c1ea18d238275aab312123eb598f3d3265f279674191a75bec6bfd6efeebadb20dc7e6db6454a9da10ed8e98b2916fad195741b4d5fddbb270528e040d63
-DIST emacs-daemon-0.21.tar.xz 5212 SHA256 
e07c24d3a92f77d49cecaffdc9dc20d9268505d4ee4879557d0656e6b3c7acd3 SHA512 
7131cbd78bb2f11ce3dc5686a3729b8ec11a673e9011c70d72bc04bd5d36373507c9f446ef100d2d37b569850740bf4fb68e06c9e78f3a3bc2b9cdfef8418062
 WHIRLPOOL 
5c51f985c460a440e6f2b282ad7d289700f621ee1a90c023b4a6f8f317cfd29297ba20f6a8714f27746ee41f9cbae02f200c8bfd39b26d32b0d1c20a56fba48b
 DIST emacs-daemon-0.22.tar.xz 5276 SHA256 
62743bc32f48bd5406dedb1d5356e7959c413dbc295977de0315a6ea8c1c6272 SHA512 
f013cd00d3a24ca348bf718dd20dec7bea89107c0a27c921d6b58595b611991830604fc658d57681708218fbee1dae6dd0b277a2a9da67639e3553e0fd133094
 WHIRLPOOL 
ccc9a7bc1d378b4b64873f9458284bef9008b1380a58700d5210404a216a62fe98d0b4547e28a2f52d0b3e958b45c84e8654eddb4fab48854629cb513462b948

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild
deleted file mode 100644
index 0b5698e..
--- a/app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit elisp
-
-DESCRIPTION="Gentoo support for Emacs running as a server in the background"
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs;
-SRC_URI="mirror://gentoo/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
-
-DEPEND=">=virtual/emacs-23"
-RDEPEND="${DEPEND}"
-
-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 Motif or the Lucid toolkit instead, i.e.
-   with USE="motif -athena -gtk" or USE="athena -gtk -motif".
-   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.21.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
deleted file mode 100644
index 21f3040..
--- a/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-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 ~s390 ~sh sparc x86 
~x86-fbsd"
-
-DEPEND=">=virtual/emacs-23"
-RDEPEND="${DEPEND}"
-
-SITEFILE="10${PN}-gentoo.el"
-
-pkg_setup() {
-   local has_daemon 

[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2016-09-17 Thread Pacho Ramos
commit: f146ea778d414d55fc2e2aa53e7737c08589fae0
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Sep 17 08:53:00 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Sep 17 08:53:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f146ea77

app-emacs/emacs-daemon: amd64/arm/hppa/ia64/ppc/ppc64/sparc/x86 stable, bug 
#591802

Package-Manager: portage-2.3.0

 app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
index b4d1367..21f3040 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ 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 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
 
 DEPEND=">=virtual/emacs-23"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2016-09-04 Thread Tobias Klausmann
commit: 48413f59723ea71dd3f6b4025c643c199d01c4b3
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Sep  4 13:16:44 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Sep  4 13:16:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48413f59

app-emacs/emacs-daemon-0.22-r0: add alpha keyword

Gentoo-Bug: 591802

 app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
index 0374115..befb57f 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
@@ -12,7 +12,7 @@ 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 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
 
 DEPEND=">=virtual/emacs-23"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-daemon/

2016-05-06 Thread Ulrich Müller
commit: 654863a00e893f2e060adfdc8fbecd37c6e93349
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri May  6 13:19:25 2016 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri May  6 13:19:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654863a0

app-emacs/emacs-daemon: Version bump.

Package-Manager: portage-2.2.28

 app-emacs/emacs-daemon/Manifest |  1 +
 app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild | 54 +
 2 files changed, 55 insertions(+)

diff --git a/app-emacs/emacs-daemon/Manifest b/app-emacs/emacs-daemon/Manifest
index 2b3fd2b..76f4f98 100644
--- a/app-emacs/emacs-daemon/Manifest
+++ b/app-emacs/emacs-daemon/Manifest
@@ -1,2 +1,3 @@
 DIST emacs-daemon-0.20.tar.xz 5120 SHA256 
5c0f0bc9a1fab391657737fc3b6af4088eff1ead2e05987fe50e02f5b6e50eb3 SHA512 
ac1bfc543f38dd86aeef544a8d03aa2f2a6cb02ee2042ecb3f339baed98294deac1fc6d3d002e654f3d9f32f00379c4de40efa226ddd07715aee7fe0fcb41e43
 WHIRLPOOL 
5941c1ea18d238275aab312123eb598f3d3265f279674191a75bec6bfd6efeebadb20dc7e6db6454a9da10ed8e98b2916fad195741b4d5fddbb270528e040d63
 DIST emacs-daemon-0.21.tar.xz 5212 SHA256 
e07c24d3a92f77d49cecaffdc9dc20d9268505d4ee4879557d0656e6b3c7acd3 SHA512 
7131cbd78bb2f11ce3dc5686a3729b8ec11a673e9011c70d72bc04bd5d36373507c9f446ef100d2d37b569850740bf4fb68e06c9e78f3a3bc2b9cdfef8418062
 WHIRLPOOL 
5c51f985c460a440e6f2b282ad7d289700f621ee1a90c023b4a6f8f317cfd29297ba20f6a8714f27746ee41f9cbae02f200c8bfd39b26d32b0d1c20a56fba48b
+DIST emacs-daemon-0.22.tar.xz 5276 SHA256 
62743bc32f48bd5406dedb1d5356e7959c413dbc295977de0315a6ea8c1c6272 SHA512 
f013cd00d3a24ca348bf718dd20dec7bea89107c0a27c921d6b58595b611991830604fc658d57681708218fbee1dae6dd0b277a2a9da67639e3553e0fd133094
 WHIRLPOOL 
ccc9a7bc1d378b4b64873f9458284bef9008b1380a58700d5210404a216a62fe98d0b4547e28a2f52d0b3e958b45c84e8654eddb4fab48854629cb513462b948

diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild 
b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
new file mode 100644
index 000..0374115
--- /dev/null
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.22.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
+
+DEPEND=">=virtual/emacs-23"
+RDEPEND="${DEPEND}"
+
+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
+}