Bug 104971 - ebuild: Lost Labyrinth
|
Bug#:
104971
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: NEW
|
Severity: enhancement
|
Priority: P2
|
|
Resolution:
|
Assigned To: games@gentoo.org
|
Reported By: nick@rout.co.nz
|
|
Component: Games
|
|
|
URL:
http://www.lostlabyrinth.com/
|
|
Summary: ebuild: Lost Labyrinth
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2005-09-05 18:47 0000
|
I have made an ebuild for Lost Labyrinth. It instals to /opt/laby.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
We'd be looking for an ebuild that builds from the source.
(In reply to comment #2)
> We'd be looking for an ebuild that builds from the source.
Ahhh I should have mentioned that, the source of the program is open source, but
you need a closed source application to compile it. The closed source app is
"purebasic". Therefore it is effectively only available to most users as a binary.
Then just make the ebuild be called lostlabyrinth-bin.
Paul, thanks for that. I never really wanted to be maintainer, and i kinda got
caught up trying to help upstream create an ebuild on the gentoo-user list,
then i submitted it to bugzilla. Yours looks like it uses portage far better
than mine, excellent!
2.8.2 segfaults on exit for me which is why I haven't added it yet.
Here is an ebuild for version 2.8.5. This was just a rename of an ebuild file
I was using for version 2.8.1 - I just looked on their homepage and saw that I
had missed a few versions! Seems their tracker on freshmeat.net is stuck on
this version. It works as much as I have played it. And I played version
2.8.1 a lot...
Version 2.9.0 is now out. The 2.8.5 ebuild works fine after renaming. I think
they might have moved away from a non-free compiler to GCC. When I get some
free time I'[ll research whether a source build is doable.
Created an attachment (id=130903) [details]
ebuild for version 2.9.0
This is just a cleaned up ebuild for version 2.9.0. Removed src_unpack (not
needed) and added comments (mainly for my own reference). I'm unsure about the
dependencies in that some other libraries may need to be added and the creation
of the desktop entry may need to be changed to not specify full paths.
Looks like this is still the binary version. I want a source-based ebuild now
that they're using a real language.
(In reply to comment #13)
> Looks like this is still the binary version. I want a source-based ebuild now
> that they're using a real language.
>
no, they are still using purebasic
*** Bug 222031 has been marked as a duplicate of this bug. ***
Alright, here is an ebuild for the source version of Lost Labyrinth.
I think I have all the right dependencies in the right places, please
check if you can. Had to use some sed-foo to make the build respect
compiler flags and choice.
Note that during the compilation, the main program file takes a long
time and uses a lot of memory on my desktop system (verging on 5
minutes and using up to 800MB resident memory on my system). I
haven't verified if this is just this system or the beginning of a
trend by compiling on my laptop, which I will try.
Other than that, it compiles, and I could load the game and play it.
Although I did die on the first level from several fireballs from a goblin
mage I couldn't reach because of a giant snail. Don't you hate that?
Can anyone test and confirm it works? Also please adjust ebuild if
I've made any mistakes.
Cheers,
Joshua
Created an attachment (id=154307) [details]
updated ebuild for source version 2.9.2
Here is an updated ebuild for source version 2.9.2. Ebuild now respects
LDFLAGS when linking, uses pkg-config to get SDL link and cflags and some other
issues which are commented within the src_compile function in the ebuild
itself.
Cheers,
Josh
Created an attachment (id=159999) [details]
Live source ebuild
Here is a live source ebuild. There are some minor 'improvements' on my last
effort of a source ebuild for 2.9.2 (attachment #154307 [details]).
Note that you need a lot of memory to compile this, it seems to want 1GB
resident memory on my machines I have compiled on. This pretty much grinds my
old Athlon XP 2600 to a halt for a while...
@joshua: life in the laby is hard :-)
I included a link to this page on the laby download page. So all the gentoo
users know that it already exists (sometimes people ask or want to write a new
one).
why is this ebuild not going to portage? nobody likes the game? :-)
(In reply to comment #23)
> @joshua: life in the laby is hard :-)
> I included a link to this page on the laby download page. So all the gentoo
> users know that it already exists (sometimes people ask or want to write a new
> one).
> why is this ebuild not going to portage? nobody likes the game? :-)
>
Hi Markus,
People can also install it via my overlay, instructions for setting it up can
be found here:
http://github.com/joshuar/ephemeral-gentoo-overlay/tree/master
Cheers,
Joshua Rich
PS. I don't think this 'live' ebuild will get added to Gentoo as ebuilds from
development sources are generally discouraged. I've been meaning to write an
ebuild for the latest released version, will post here if I do.
The next version of laby will take a while as we are changing a lot of things
in the game to linked lists. This will make it possible to have more than one
monster/item per field. The svn will not work for some weeks then.
I changed the webserver access so maybe the script could be changed to build
from our released files.
The list you can get here now:
http://www.lostlabyrinth.com/download/