Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950671 - app-emacs/emacs-common: include user initd for >=openrc-0.60
Summary: app-emacs/emacs-common: include user initd for >=openrc-0.60
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2025-03-05 23:40 UTC by Anna
Modified: 2025-03-10 11:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
example user initd for emacs daemon (emacs,585 bytes, text/plain)
2025-03-05 23:40 UTC, Anna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anna 2025-03-05 23:40:47 UTC
Created attachment 920291 [details]
example user initd for emacs daemon

openrc-0.60 introduced support for user services, which are manager for each user by openrc, can be automatically managed during logins, and made to linger at boot.

attached is an example user init.d based on app-emacs/emacs-daemon, simplified. it should be installed to /etc/user/init.d with exec perms
Comment 1 Ulrich Müller gentoo-dev 2025-03-07 05:58:03 UTC
Can you add a Signed-off-by line please? (Posting it as a comment to this bug is enough.)
Comment 2 Anna 2025-03-07 08:51:07 UTC
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Comment 3 Ulrich Müller gentoo-dev 2025-03-07 18:36:19 UTC
https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?h=emacs-common&id=751ea76c2e36179d01ceccaf13fae8d788fb3da9

commit ee79082103da7e8090136b6ef4867bff7ddf5521 (HEAD -> emacs-common)
Author: Ulrich Müller <ulm@gentoo.org>
Date:   Fri Mar 7 18:12:24 2025 +0100

    Add user initd file for OpenRC
    
    * emacs.initd: New file. Merged version of the user initd file
    attached to bug 950671 and emacs.rc from the emacs-daemon package.
    Thanks to Anna (navi) Figueiredo Gomes.
    * Makefile (DISTFILES): Add it.
    
    Bug: https://bugs.gentoo.org/950671
    Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Comment 4 Larry the Git Cow gentoo-dev 2025-03-07 18:36:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=de80c9fcb1c2d67c6bb3f0019b08a6ed014c92e6

commit de80c9fcb1c2d67c6bb3f0019b08a6ed014c92e6
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2025-03-07 18:34:37 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2025-03-07 18:34:37 +0000

    app-emacs/emacs-common: Install user initd file
    
    Bug: https://bugs.gentoo.org/950671
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/emacs-common/emacs-common-9999.ebuild | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2025-03-10 11:55:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7933d1bba594492305f54f934e45fd9124f4e65

commit e7933d1bba594492305f54f934e45fd9124f4e65
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2025-03-10 11:42:18 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2025-03-10 11:54:44 +0000

    app-emacs/emacs-common: add 1.11
    
    Closes: https://bugs.gentoo.org/950671
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/emacs-common/Manifest                 |   1 +
 app-emacs/emacs-common/emacs-common-1.11.ebuild | 139 ++++++++++++++++++++++++
 2 files changed, 140 insertions(+)