Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104971 - ebuild: Lost Labyrinth
Summary: ebuild: Lost Labyrinth
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.lostlabyrinth.com/
Whiteboard:
Keywords: EBUILD
: 222031 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-05 18:47 UTC by Nick Rout
Modified: 2018-12-03 12:56 UTC (History)
8 users (show)

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


Attachments
Ebuild for lost labyrinth (laby) version 1.1.0 (laby-1.1.0.ebuild,1.72 KB, text/plain)
2005-09-05 18:52 UTC, Nick Rout
Details
lostlabyrinth-bin-2.3.4.ebuild (lostlabyrinth-bin-2.3.4.ebuild,1.29 KB, text/plain)
2006-01-31 23:39 UTC, Paul Bredbury
Details
lostlabyrinth-bin-2.8.2.ebuild (lostlabyrinth-bin-2.8.2.ebuild,1.29 KB, text/plain)
2007-02-21 20:59 UTC, Mr. Bones. (RETIRED)
Details
ebuild for version 2.8.5 (lostlabyrinth-bin-2.8.5.ebuild,1.66 KB, text/plain)
2007-06-24 09:36 UTC, Joshua Rich
Details
ebuild for version 2.9.0 (lostlabyrinth-bin-2.9.0-r2.ebuild,1.57 KB, text/plain)
2007-09-14 12:32 UTC, Joshua Rich
Details
ebuild for version 2.9.1 (lostlabyrinth-bin-2.9.1.ebuild,1.61 KB, text/plain)
2008-03-30 09:48 UTC, Joshua Rich
Details
ebuild for source version 2.9.2 (lostlabyrinth-2.9.2.ebuild,2.42 KB, text/plain)
2008-05-17 04:26 UTC, Joshua Rich
Details
updated ebuild for source version 2.9.2 (lostlabyrinth-2.9.2-r1.ebuild,3.00 KB, text/plain)
2008-05-26 02:05 UTC, Joshua Rich
Details
Live source ebuild (lostlabyrinth-9999.ebuild,3.08 KB, text/plain)
2008-07-10 00:29 UTC, Joshua Rich
Details
updated live ebuild (lostlabyrinth-9999-r2.ebuild,2.78 KB, text/plain)
2008-10-26 11:27 UTC, Joshua Rich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Rout 2005-09-05 18:47:25 UTC
I have made an ebuild for Lost Labyrinth. It instals to /opt/laby. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nick Rout 2005-09-05 18:52:04 UTC
Created attachment 67706 [details]
Ebuild for lost labyrinth (laby) version 1.1.0
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-09-05 19:35:31 UTC
We'd be looking for an ebuild that builds from the source.
Comment 3 Nick Rout 2005-09-05 21:54:23 UTC
(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.
Comment 4 Roc Vallès 2006-01-28 21:50:01 UTC
Then just make the ebuild be called lostlabyrinth-bin.
Comment 5 Paul Bredbury 2006-01-31 23:39:30 UTC
Created attachment 78620 [details]
lostlabyrinth-bin-2.3.4.ebuild

Here is a tidied ebuild for the binary, with revision bump.

As mentioned, the Linux version of this game is written in PureBasic, which is proprietary.
http://www.lostlabyrinth.com/faq.html
http://www.purebasic.com/ordering.php3
Comment 6 Nick Rout 2006-02-16 13:32:05 UTC
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!
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2007-02-21 20:57:18 UTC
2.8.2 segfaults on exit for me which is why I haven't added it yet.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2007-02-21 20:59:50 UTC
Created attachment 110911 [details]
lostlabyrinth-bin-2.8.2.ebuild

the ebuild I've been using.
Comment 9 Joshua Rich 2007-06-24 09:28:56 UTC
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...


Comment 10 Joshua Rich 2007-06-24 09:36:47 UTC
Created attachment 122955 [details]
ebuild for version 2.8.5
Comment 11 Joshua Rich 2007-07-11 12:36:06 UTC
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.  
Comment 12 Joshua Rich 2007-09-14 12:32:59 UTC
Created attachment 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.
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2007-09-20 19:17:18 UTC
Looks like this is still the binary version.  I want a source-based ebuild now that they're using a real language.
Comment 14 Anton Romanov 2007-10-31 11:12:24 UTC
(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 
Comment 15 Joshua Rich 2008-03-30 09:48:24 UTC
Created attachment 147680 [details]
ebuild for version 2.9.1

they are still using purebasic.
Comment 16 Tristan Heaven (RETIRED) gentoo-dev 2008-05-16 12:20:38 UTC
*** Bug 222031 has been marked as a duplicate of this bug. ***
Comment 17 Joshua Rich 2008-05-17 04:26:35 UTC
Created attachment 153399 [details]
ebuild for source version 2.9.2
Comment 18 Joshua Rich 2008-05-17 04:28:08 UTC
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
Comment 19 Joshua Rich 2008-05-26 02:05:24 UTC
Created attachment 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
Comment 20 Matija "hook" Šuklje 2008-06-28 14:12:20 UTC
3.0.0 is out.
Comment 21 Joshua Rich 2008-07-10 00:29:21 UTC
Created attachment 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...
Comment 22 Joshua Rich 2008-10-26 11:27:26 UTC
Created attachment 169918 [details]
updated live ebuild

Compilation now respects LDFLAGS and removed installation of some unnecessary files.
Comment 23 Markus Doebele 2009-01-27 19:35:55 UTC
@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? :-)
Comment 24 Joshua Rich 2009-02-04 23:42:40 UTC
(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.



Comment 25 Marijn Schouten (RETIRED) gentoo-dev 2009-02-09 14:35:09 UTC
Version 3.4.4 is out.
Comment 26 Markus Doebele 2009-03-07 23:14:23 UTC
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/