Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49891 - Eternal Lands 1.0.0 (new ebuild)
Summary: Eternal Lands 1.0.0 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://eternal-lands.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 13:29 UTC by Bob Thomas
Modified: 2004-08-27 09:41 UTC (History)
3 users (show)

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


Attachments
ebuild for eternal-lands-0.9.8 (eternal-lands-0.9.8.ebuild,2.26 KB, text/plain)
2004-05-03 13:30 UTC, Bob Thomas
Details
License for the Eternal Lands client (eternal_lands,5.35 KB, text/plain)
2004-05-03 13:32 UTC, Bob Thomas
Details
updated ebuild for eternal-lands-0.9.8 (eternal-lands-0.9.8.ebuild,2.25 KB, text/plain)
2004-05-04 22:25 UTC, Bob Thomas
Details
Ebuild for Eternal Lands 0.9.9 (eternal-lands-0.9.9.ebuild,2.50 KB, text/plain)
2004-06-06 14:42 UTC, Bob Thomas
Details
Ebuild for Eternal Lands 0.9.9 (eternal-lands-0.9.9.ebuild,2.41 KB, text/plain)
2004-06-07 08:42 UTC, Bob Thomas
Details
Ebuild for Eternal Lands 0.9.9 (eternal-lands-0.9.9.ebuild,2.42 KB, text/plain)
2004-06-07 09:17 UTC, Bob Thomas
Details
New cleaned up ebuild for 1.0.0 (eternal-lands-1.0.0.ebuild,2.28 KB, text/plain)
2004-08-17 12:52 UTC, Joel Martin (RETIRED)
Details
Ebuild for Eternal Lands 1.0.0 (eternal-lands-1.0.0.ebuild,1.91 KB, text/plain)
2004-08-17 13:51 UTC, Bob Thomas
Details
Bit more summer cleaning ebuild (eternal-lands-1.0.0.ebuild,1.91 KB, text/plain)
2004-08-17 14:42 UTC, Joel Martin (RETIRED)
Details
Ebuild for Eternal Lands 1.0.0 (eternal-lands-1.0.0.ebuild,1.87 KB, text/plain)
2004-08-17 14:57 UTC, Bob Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Thomas 2004-05-03 13:29:52 UTC
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.
Comment 1 Bob Thomas 2004-05-03 13:30:40 UTC
Created attachment 30633 [details]
ebuild for eternal-lands-0.9.8
Comment 2 Bob Thomas 2004-05-03 13:32:00 UTC
Created attachment 30634 [details]
License for the Eternal Lands client
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-05-03 14:09:53 UTC
The header is invalid. 
-> http://www.gentoo.org/doc/en/ebuild-mistakes.xml
Comment 4 Bob Thomas 2004-05-04 22:25:20 UTC
Created attachment 30767 [details]
updated ebuild for eternal-lands-0.9.8

Fixed the header and put the original license in the documentation directory.
Comment 5 Joel Martin (RETIRED) gentoo-dev 2004-05-10 20:53:20 UTC
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.
Comment 6 Bob Thomas 2004-05-10 23:29:59 UTC
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.
Comment 7 Bob Thomas 2004-06-06 14:42:52 UTC
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.
Comment 8 Bob Thomas 2004-06-07 08:42:11 UTC
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.
Comment 9 Bob Thomas 2004-06-07 09:17:08 UTC
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. :/
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-09 07:21:45 UTC
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. :)
Comment 11 Bob Thomas 2004-06-09 09:56:40 UTC
emake seems to work fine. There's nothing tricky about the build, so no problems with a parallel make.
Comment 12 Kåre Baastrup 2004-07-20 07:24:34 UTC
Will this ebuild be added to portage?
Comment 13 Bob Thomas 2004-08-15 12:27:43 UTC
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?
Comment 14 Charles Goodwin 2004-08-15 16:04:11 UTC
*** Bug 49075 has been marked as a duplicate of this bug. ***
Comment 15 Joel Martin (RETIRED) gentoo-dev 2004-08-17 12:52:10 UTC
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.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2004-08-17 13:08:12 UTC
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

Comment 17 Bob Thomas 2004-08-17 13:51:22 UTC
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.
Comment 18 Joel Martin (RETIRED) gentoo-dev 2004-08-17 14:42:41 UTC
Created attachment 37629 [details]
Bit more summer cleaning ebuild
Comment 19 Bob Thomas 2004-08-17 14:57:26 UTC
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.
Comment 20 Joel Martin (RETIRED) gentoo-dev 2004-08-27 09:41:19 UTC
Okay, I updated the ebuild and committed it to the tree.