Jump to content
funtoo forums
klipkyle

app-editors/emacs-26.3 and acct-group/* catpkgs

Recommended Posts

Hello all,

I have backported the Emacs 26.3 ebuild from Gentoo.  It is currently in my overlay, but I would like to request it merged into editors-kit eventually.

https://code.funtoo.org/bitbucket/users/klipkyle/repos/klipkyle-overlay/browse

However, there is one issue I ran into.  In the Gentoo world, there is a recent change (i.e. shortly after the late June 2019 branch-off point for 1.4) in how automatically-created users and groups are handled.  Specifically, instead of calling enewgroup from within pkg_setup, there are now individual catpkgs (under the categories acct-user and acct-group) that handle creation of individual users and groups.  The newer app-editors/emacs and app-emacs/emacs-common-gentoo ebuilds from Gentoo use this new feature to programmatically create the gamestat group (acct-group/gamestat) when the games USE flag is enabled.

gamestat-0.ebuild

# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit acct-group

DESCRIPTION="Group for shared high-score and game state files"
ACCT_GROUP_ID=36

I have tested the emacs-26.3 ebuild in Funtoo 1.4, and Funtoo 1.4 appears to have the right eclasses to handle the acct-user/* and acct-group/* catpkgs.  I can't speak for Funtoo 1.3 though.

Nevertheless, I appear to be the first person trying to use the acct-user and acct-group stuff on Funtoo.  There are no such catpkgs on Funtoo 1.4 currently.  In fact, I had to declare those two categories explicitly in profile/categories otherwise portage refused to use them.

Are there any strong opinions against introducing acct-user/* and acct-group/* catpkgs?  If so, I can remove the catpkgs and go back to creating the gamestat group the old-school school way.  If not, I would prefer keeping app-editors/emacs synchronized with Gentoo.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...