klipkyle Posted September 2, 2019 Report Share Posted September 2, 2019 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. Link to comment Share on other sites More sharing options...
lego12239 Posted May 7, 2020 Report Share Posted May 7, 2020 On 9/2/2019 at 9:50 PM, klipkyle said: Are there any strong opinions against introducing acct-user/* and acct-group/* catpkgs? Yes. acct-user/* and acct-group/* are ugly a little less than completely :-D. Link to comment Share on other sites More sharing options...
klipkyle Posted May 7, 2020 Author Report Share Posted May 7, 2020 2 hours ago, lego12239 said: Yes. acct-user/* and acct-group/* are ugly a little less than completely :-D. Over the past few months, that seems to be the consensus. Next step for me is converting the ebuild to autogen. Then, our app-editors/emacs can be completely independent of Gentoo's. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now