Disclaimer: I'm a developer for this. One of the players (a fellow Gentoo user) started this, and I've hopefully made it acceptable by using eclasses and bash string manipulation to make the build easy to maintain. This is not my first build, but I'm still pretty new at it. Any improvements to the build would be appreciated by both myself and the original author (who has said he doesn't want to continue maintaining it). Eternal Lands is a free MMORPG. It runs on Windows and Linux, and the client is open source under a QTPL-like license. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 30633 [details] ebuild for eternal-lands-0.9.8
Created attachment 30634 [details] License for the Eternal Lands client
The header is invalid. -> http://www.gentoo.org/doc/en/ebuild-mistakes.xml
Created attachment 30767 [details] updated ebuild for eternal-lands-0.9.8 Fixed the header and put the original license in the documentation directory.
Just FYI, ebuilds that use live cvs sources are discouraged as a general rule. The feature is great for developers to be able to debug the latest version. However, if you created a non-cvs version (pointing it to a snapshot source), you are more likely to get this included. Looks like a pretty big project though.
We haven't made source snapshot releases yet. Besides an ebuild, the only people interested in the source have been quite capable of using CVS. I will talk to someone about making CVS snapshots though.
Created attachment 32800 [details] Ebuild for Eternal Lands 0.9.9 This is not just a version bump. I've updated the ebuild to not use CVS anymore (I finally took it upon myself to make source releases), and updated both the build and the source to be able to compile in the default path for the data files. There shouldn't be any problems with it now. If there's any other obvious reason why this can't be put into portage, please let me know so I can attempt to correct it. P.S. - I'm having to copy this from a windoze machine, so if the new ebuild looks weird, I'll upload a new version when I get back to my gentoo box tomorrow.
Created attachment 32872 [details] Ebuild for Eternal Lands 0.9.9 Ok, looks like copying from a windows box was a bad idea. Also fixed a sed statement for the config.
Created attachment 32874 [details] Ebuild for Eternal Lands 0.9.9 . . . and fixed a problem with how DATA_DIR was handled. As you can tell, I'm not very good with sed. :/
You may want to have a look at "sed -i". Please use emake instead of make, if there is no problem with -jN>1, otherwise a short comment wouldn't be bad. I'm not a member of the games herd, but there are lots of bugs open, so please be patient. :)
emake seems to work fine. There's nothing tricky about the build, so no problems with a parallel make.
Will this ebuild be added to portage?
It's up to 1.0.0 now (no changes to the ebuild are needed), and will someone please mark bug 49075 to be a duplicate?
*** Bug 49075 has been marked as a duplicate of this bug. ***
Created attachment 37624 [details] New cleaned up ebuild for 1.0.0 Here is a somewhat cleanup up ebuild for the games group to review for submission.
Comments: Does the generic src_unpack not work? Use the header from skel.ebuild just redirect the sed to Makefile, no need for w error check the sed, newgamesbin and doins use emake instead of make in src_compile use cp -R in src_install instead of the insinto/doins dance give full path to el.ini in pkg_postinst call games.eclass function in pkg_postinst and prepgamesdirs in src_install local file in src_install
Created attachment 37628 [details] Ebuild for Eternal Lands 1.0.0 "Does the generic src_unpack not work?" -fixed, was a relic from when I used CVS to get the source "Use the header from skel.ebuild" -I'm not? "just redirect the sed to Makefile, no need for w error check the sed, newgamesbin and doins use emake instead of make in src_compile use cp -R in src_install instead of the insinto/doins dance give full path to el.ini in pkg_postinst" -ok "error check the sed, newgamesbin and doins call games.eclass function in pkg_postinst and prepgamesdirs in src_install local file in src_install" -Not quite sure what you mean by these. I'm still quite a novice at ebuild writing.
Created attachment 37629 [details] Bit more summer cleaning ebuild
Created attachment 37631 [details] Ebuild for Eternal Lands 1.0.0 Fixed emake again. I think you accidentally reverted my change to the first sed statement.
Okay, I updated the ebuild and committed it to the tree.