Took a while, and not sure if it's really OK with how portage normally works, but this is my first ebuild from scratch and I couldn't really figure out how to do it otherwise AND make it all work.
Things To Do:
1. Add FuhQuake Extras from http://www.fuhquake.net/download.html
Steps to Reproduce:
Created attachment 43172 [details]
secure fuhquake ebuild(!)
Created attachment 43229 [details]
-added skel/fuhquake/configs for saving configs w/cfg_save
-added colored lighting, except it's in rar format from fuhquake.net
Created attachment 43233 [details]
added locs, fixed line 40
I probably won't be adding anymore "extra" downloads as they are more personal
preference items than feature enhancements
Created attachment 43236 [details]
added save dir to skel
now in portage
please file a new bug if i screwed something up
*** Bug 60992 has been marked as a duplicate of this bug. ***
The ebuild needs the skel directory, otherwise users get confused:
The ebuild also needs the "games_make_wrapper" for the skeleton directory configureation.
The explanation for the skeleton directory and the "games_make_wrapper" is so that users won't need to change permissions on the /opt/fuhquake-bin dir, and also for multi-user installations, otherwise everything is played-from/saved-in the /opt/fuhquake-bin dir.
Fuhquake isn't too smart when it comes to multi-user environments, so we need to give it (and the users) a little help.
post a diff against the ebuild that's in portage please
Created attachment 58627 [details, diff]
(likely non-functional) diff for fuhquake.ebuild
Pretty sure you can't use patch with this diff, but the information is there.
Yes, there are some crazy things in there, but this is what works.
So with this, a user should be able to start the game from anywhere and it'll
save games to their home directory, right? It's not quite apparent from the patch.
Yes, so long as they follow the directions and copy the skeleton dir to their
Fuhquake doesn't like to make the directories needed for the user, so instead of
letting the user figure it out I made a skeleton directory with all the things
that fuhquake looks for, so all the user has to do is copy that directory and
fuhquake should fully work.
games-fps/fuhquake-bin is gone.