Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76260 - new planeshift (also crystalspace + cel)
Summary: new planeshift (also crystalspace + cel)
Status: RESOLVED DUPLICATE of bug 155790
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Philip Walls (RETIRED)
URL: http://www.planeshift.it
Whiteboard:
Keywords:
: 75535 101597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-31 12:38 UTC by Thomas Raschbacher
Modified: 2006-11-20 13:50 UTC (History)
16 users (show)

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


Attachments
Experimental CVS ebuilds for planeshift (planeshiftfiles.bz2,3.64 KB, application/octet-stream)
2005-01-20 01:25 UTC, paul
Details
error output for the fix-cal3d.diff patch in crystalspace-cvs (fix-cal3d.diff-16900.out,2.35 KB, text/plain)
2005-02-17 03:55 UTC, Matija "hook" Šuklje
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Raschbacher gentoo-dev 2004-12-31 12:38:09 UTC
just a note that i'll add a new ebuild for planeshift CB soon :)
Comment 1 Matija "hook" Šuklje 2005-01-06 01:18:52 UTC
erm, just curious: is it going to be compiled from CVS, or did there magically emerge a tarball?
Comment 2 Kåre Baastrup 2005-01-11 11:47:27 UTC
Yes! I would really like to have an ebuild for this game.
I have been waiting for it, feels like forever.

Thx man :-)
Comment 3 paul 2005-01-20 01:24:21 UTC
Much the easiest way to get it working is to follow the steps on
http://laanx.fragnetics.com/gentoo.html .

There's also a loki installer available. http://www.mortalsaviour.de/download/cb-0.3.006-1.x86.run
but it didn't work for me.


Assuming you really don't want to install one of the two above routes I've attempted to hack some (CVS) ebuilds.
The installed program and updater really do assume that the directories are owned by the person running the program, which makes a generic install difficult.

After installation you have to run /usr/games/bin/planeshiftupdater (as root).
If you wish to be able to save your settings, you need to make /opt/planeshift-cvs/planeshift.cfg writable for group games.
If using kernel 2.6 and drivers from nvidia you may need to rename
/usr/lib/opengl/nvidia/tls to something else.
Testing on a Matrox G400, I couldn't get it working at all.

At least crystalspace and planeshift are reasonably active products, and I've had the CVS compile break several times.

If it works, say hello to Shemeber in Planeshift :-)
Comment 4 paul 2005-01-20 01:25:52 UTC
Created attachment 49024 [details]
Experimental CVS ebuilds for planeshift
Comment 5 Nicolai Lissner 2005-01-21 12:34:48 UTC
thanks for the ebuild... But trying to checkout cel-cvs with it just timed out.

change ECVS_SERVER in the ebuild to:

ECVS_SERVER="cvs.sourceforge.net:/cvsroot/cel"

works much better.
Comment 6 Nicolai Lissner 2005-01-21 12:35:57 UTC
oh... uhm... that was meant for the included cel-cvs-0.99.ebuild
Comment 7 Kåre Baastrup 2005-01-22 16:26:37 UTC
Why not use the tar ball here:
http://www.planeshift.it/download.html
:-)

Thx for making this ebuild.
Comment 8 Paul Viney 2005-01-24 03:02:48 UTC
Using the tarball is probably a good idea. They didn't have it when I started on the ebuilds.

Nicolai, cvs.cel.sourceforge.net and cvs.sourceforge.net resolve to the same ip address.
Comment 9 Nicolai Lissner 2005-01-25 04:51:42 UTC
Paul, sorry - my DNS tells me something different...

cvs.cel.sourceforge.net is an alias for projects.sourceforge.net.
projects.sourceforge.net has address 66.35.250.209

and

cvs.sourceforge.net has address 66.35.250.207

and as said before - trying to get the cvs-sources from cvs.cel.sourceforge.net resulted in timeout whenever I tried while cvs.sourceforge.net works perfectly (getting the sources worked perfectly they didn't compile when I tried)
Comment 10 paul 2005-01-25 14:23:39 UTC
Nicolai,

My Bad. I misread the ping. You're absolutely right. Sorry the compile didn't work. Now they've released a sourcecode snapshot I'm not inclined to keep running to keep up with CVS changes. :-)
Comment 11 Matija "hook" Šuklje 2005-02-17 03:53:52 UTC
the fix-cal3d.diff patch seems to be wrong in the crystalspace-cvs ebuild.

i'll attach the error output
Comment 12 Matija "hook" Šuklje 2005-02-17 03:55:50 UTC
Created attachment 51424 [details]
error output for the fix-cal3d.diff patch in crystalspace-cvs
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 00:52:15 UTC
*** Bug 75535 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 00:53:27 UTC
*** Bug 101597 has been marked as a duplicate of this bug. ***
Comment 15 FieldySnuts 2005-08-07 07:30:34 UTC
From: http://www.planeshift.it/download.html

Linux binary

The sources package was giving some issues, so now we provide a binary package
tested on different distros. Launche the run command, and it will unpack.

Well. That's irritating. And even then it's not version 3.011. So us linux users
are completely screwed on this one.

I thought this was GPL-2, source should be somewhere... Sigh. Frustrating.
Comment 16 FieldySnuts 2005-08-07 12:57:40 UTC
Just to be clear, by "completely screwed", I mean that the current version we
have, 3.010 cannot even connect to the servers any longer. It is unplayable.

I realize this is largely to blame on the way they are distributing it.
Comment 17 Matija "hook" Šuklje 2005-08-08 04:16:34 UTC
1) It's "screwed" (=doesn't connect), because the latest version is 0.3.11 and 
any of the older versions don't work with the new server 
 
2) I've posted a request to PlaneShift's bugtracker, that they should start 
publishing source tarballs again (together with the source or info on which CAL 
and CS work with it) 
 
link: http://planeshift3d.com/bugtracker/bug.php?op=show&bugid=943&pos=2 
Comment 18 David Grant 2005-08-09 13:22:05 UTC
If the following:

"After installation you have to run /usr/games/bin/planeshiftupdater (as root)."

is true, then planeshift-updater should have be 744 permissions. Right now, it
looks like a normal user can run it, and it is now updating... I have no idea
where it is placing these files. Looking at the enotice:

 * Before you can use Planeshift, you will need to update
 * all of the art files. This can be done by typing:
 *
 * planeshift-updater -auto
 *

Nothing there about running as root or non-root...
Comment 19 FieldySnuts 2005-08-09 13:26:41 UTC
I assumed it would be as root, however, that is curious that it seems to be
working (though probably incorrectly) as a normal user (in the games group?)
Comment 20 David Grant 2005-08-09 21:23:21 UTC
Yeah, it looks like it will work for anyone in the games group, as
/opt/planeshift is owned by group and group had write permissions. Not sure how
it should be, but anyways.

Any workaround to get 0.3.011 working?
Comment 21 David Grant 2005-08-09 22:10:37 UTC
CVS tarballs and binaries available here?

http://www.hpsd48.ab.ca/hpe/bugsg.html

How hard would it be to get a 0.3.011 ebuild? What is easier/better/desired:
source or binary? i.e. I'd like to help.
Comment 22 Matija "hook" Šuklje 2005-08-10 05:15:01 UTC
There's a positive reply from Acraig on my previously mentioned PS request. 
He'll "try to create a script that will automatically do this for me on laanx 
and provide a tar ball." 
 
I imagine this should make building a source ebuild a bit easier. ;) 
Comment 23 David Grant 2005-08-10 15:43:45 UTC
I see. And what about the dependancies? Do we know what versions of cal3d,
crystalspace, and cel are required for 0.3.011?
Comment 24 Matija "hook" Šuklje 2005-08-11 05:54:30 UTC
Well, as I understood Acraig that he's trying to make a script for all the 
"funky" dependancies PS needs (including cel, cal3d, cs). 
Comment 25 David Grant 2005-08-16 16:51:53 UTC
In the mean time, we can just do this:

$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift login
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co -D
"2005-08-11 00:00:00" planeshift

as described here: http://laanx.fragnetics.com/index.php?page=build_gentoo

$ ./autogen.sh          
$ ./configure
$ jam -a

and create a source tar ball from that.

I'm not sure why they check out a cvs version which is 7 days newer than the
0.3.011 release. Don't they use cvs tags for releases?

We could create similar ebuilds for cal3d, cel, and crystalspace, all from the
2005-08-11 date.
Comment 26 FieldySnuts 2005-08-17 15:43:46 UTC
Maybe I'm off base here, but since 0.3.010 can't even connect to the servers
now, it's wholly unusable. Perhaps it should be masked?
Comment 27 Philip Walls (RETIRED) gentoo-dev 2005-09-01 07:17:37 UTC
Actually, these CVS builds need to be removed entirely. Please use the normal
builds... 'emerge --sync && emerge planeshift' will get you 0.3.011 on ~x86
~amd64 and ~ppc

If you have problems, please file a new bug report assigned to me.
Comment 28 Matija "hook" Šuklje 2005-09-25 05:44:51 UTC
emerges for me on x86 
 
How I got it all to work: 
 
I've used the following ~x86 packages: 
- cel-0.99_pre20050823 
- crystalspace-0.99_pre20050823 with the patches from here 
http://bugs.gentoo.org/show_bug.cgi?id=104545 
- cal3d-0.11.0_pre20050823 
 
and to get cal3d to emerge I've used Derek Scherger's patch 
to /usr/share/aclocal/path_dps.m4 from here 
http://bugs.gentoo.org/show_bug.cgi?id=104700#c6 
Comment 29 Matija "hook" Šuklje 2005-10-24 05:49:55 UTC
PlaneShift 0.3.12 is out. 
 
Btw, from what I know (just asked Jorrit from PS and CS) annonymous CVS of PS, 
CS and CAL3d are identical to their latest releases. 
Comment 30 Matija "hook" Šuklje 2005-10-24 06:03:40 UTC
And a link to Xordan's Linux installer updates ...there's a "patch" with 
instructions how to use it to turn 0.3.11 into 0.3.12 
 
http://planeshift.oodlz.com/wbboard/thread.php?threadid=19389&boardid=41&styleid=4 
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2005-10-25 15:45:34 UTC
Re-assign to maintainer.
Comment 32 FieldySnuts 2006-01-01 13:57:23 UTC
Can gentoo users ever expect planeshift to be the current version? The servers won't let anything but the current version connect.
Comment 33 Christian Schmitt 2006-02-22 16:20:07 UTC
Ok, we definately need an newer version for planeshift. The 0.3.011 version doesn't work anymore with the server and should be considered broken. And the patches that can be found in the planeshift forums are not for self-compiled version and don't work here. I'm currently testing several cvs versions but have no succes so far. :-(
Comment 34 FieldySnuts 2006-02-22 16:24:28 UTC
Good luck on that, been over a year now. Unfortuately i've been forced to give up on planeshift on gentoo.

Hope that clears up eventually :<
Comment 35 Christian Schmitt 2006-02-23 12:06:59 UTC
Why have you been forced to give up?
I see no reason to leave the current version in portage since it's not usable anymore. So if nobody can create a new ebuild, it should be removed.

It's a shame that we have no working ebuild available. :-(
Comment 36 patrick 2006-02-25 02:06:31 UTC
Version 0.3.013 is out and has a lot of new features.
Comment 37 Matija "hook" Šuklje 2006-03-06 06:35:29 UTC
There's a simple reason, as far as I know.

PlaneShift doesn't supply (anymore and yet) source tarballs of the last "stable"/working code. So the ebuild has to be made using the project's CVS.

Also, PlaneShift depends on CVS/SVN versions of Crystal Space and CEL. Usually even the latest, since it's one of the flag-ship projects of CS and some of the devs are the same in both projects.

The problem is that the Gentoo devs plan to keel the (official) Portage tree as free as possible of CVS/SVN ebuilds. Also making the ebuilds for PS proved quite difficult for quite a number of people who made them. If nothing else, to figure out which nightly (or daily) snapshot of the code is working with which snapshots of the other dependancies and is stable as well.

But, yea, I'd love to see a PlaneShift (and a more up-to-date Crystal Space and CEL) in portage someday again... It just feels better ..not to mention it's better optimized and makes it possible for non-x86 users to play without compling themseves from CVS/SVN.

P.S. I've already asked the PS team a while ago to make snapshots of the current "stable"/working code of PS and also stating which snapshots of the dependancies are working (and are included in the binary version).
link: http://planeshift3d.com/bugtracker/bug.php?op=show&bugid=943
Comment 38 Christian Schmitt 2006-03-06 09:04:38 UTC
We have the same problem with Vegastrike. No source tarballs and the tagged CVS versions won't compile properly :-(
Comment 39 Matija "hook" Šuklje 2006-03-30 03:13:43 UTC
In the weekly summary of their work on PS in the community forums, there's noted which dates of CVS (daily/nightly builds) of PlaneShift and its dependancies work together for each CVS change they make.

The last report (changed from 13th march to 19th march 2006) claims you can play on the Laanx server using the following CVS dates:
- CrystalSpace 17th of February 2006
- CEL 16th of February 2006
- PlaneShift 7th of March 2006

link: http://www.planeshift3d.com/wbboard/thread.php?threadid=18867&boardid=23

Hopefully this will help. I know the Gentoo devs aren't really fond of CVS builds, but as can be plainly seen - some projects (like PlaneShift and VegaStrike) just work that way.

Also I suggest that we add a slot to every dependancy PlaneShift has! This way we can leave the stable and unstable branches of CS CEL and the like in the normal slot, and emerging planeshift won't affect the stability of those dependancies. That's what slots are there for in portage, if I'm not mistaking...

Calling the slot "PlaneShift" as well, seems appropriate to me.
Comment 40 Thomas Raschbacher gentoo-dev 2006-04-02 07:46:10 UTC
well rather than a cvs ebuild i might (given i find the time to) add a binary build(at least temporarily so that it can be installed using portage at all..) which can be used with the standard planeshift updater as this works fine when installed manually ..
Comment 41 patrick 2006-04-14 04:45:02 UTC
Version 0.3.014b is out.
What about the tarball thingie?
Comment 42 Matija "hook" Šuklje 2006-04-30 23:45:30 UTC
That bug report to PS finally bared fruit! :D

Here's the source tarballs of PS, CS, Cal3d and Cel that were used to build the current client:
http://laanx.fragnetics.com/index.php?page=linux
Comment 43 Thomas Raschbacher gentoo-dev 2006-05-07 04:30:23 UTC
will look into it soon. sorry been quite busy lately
Comment 44 reisio 2006-05-15 11:16:23 UTC
Perhaps this might help:
http://planeshift.cvs.sourceforge.net/*checkout*/planeshift/planeshift/docs/compiling.html

'Gentoo Linux' can be chosen from the first select box.

Additional info here:
http://hydlaa.com/smf/index.php?topic=23512.0
Comment 45 patrick 2006-06-13 07:00:15 UTC
*bump*
Last reply was one month ago, are there any updates?
Comment 46 FieldySnuts 2006-06-26 15:04:49 UTC
45 comments, something like 1.5 years later and no resolution in portage... Good luck folks, looks like comment #34 still applies.
Comment 47 FieldySnuts 2006-06-26 15:05:26 UTC
45 comments, something like 1.5 years later and no resolution in portage... Good luck folks, looks like comment #34 still applies.
Comment 48 FieldySnuts 2006-06-26 15:06:05 UTC
Sorry for double post, not sure why that happened. It was not intended.
Comment 49 Daniel Webert 2006-07-09 17:56:10 UTC
latest is .015
Comment 50 patrick 2006-07-25 08:29:13 UTC
now it is .015b
Please do something.
Comment 51 David Grant 2006-07-25 08:42:11 UTC
See package mask message:

!!! All ebuilds that could satisfy "=games-rpg/planeshift-0.3.011" have been masked.
!!! One of the following masked packages is required to complete your request:
- games-rpg/planeshift-0.3.011 (masked by: package.mask)
# Package is a maintenance nightmare, it has depended
# on unreleased versions of several other packages
# for a very long time. This doesn't appear to be
# changing any time in the near future.
# Candidate for treecleaners
Comment 52 David Grant 2006-07-25 09:56:04 UTC
Philip are you actually maintaining this? or are you the one that masked it because it is a maintenance nightmare and suggested it be a candidate for treecleaners? (I agree with this by the way).

If the package in portage is no longer maintained, then it should be assigned to maintainer-wanted@gentoo.org and someone can then manage it in sunrise if they so desire.
Comment 53 jannis 2006-07-31 16:14:27 UTC
Did anyone have success in building Planeshift from source? I was able to build it but it always segfaulted.
Wouldn't it be better to install the binary-version from tarball via an ebuild? (I would try to write the ebuild)
Comment 54 Matija "hook" Šuklje 2006-07-31 16:34:09 UTC
I know at least one Gentoo user gets it done everytime ;)

Xordan - the guy who makes the Linux binaries of the PlaneShift client is a Gentoo user (amd64 architecture). He's also probably the best one to ask about if he thinks it's even possible to make ebuilds for PS.

But the major problem remains that the code for PlaneShift and most its direct dependancies are still needed from CVS/SVN. Because of this I've already before proposed that a portage overlay be made including ebuilds for PlaneShift and its dependancies. ...until the needed source tarballs for all of them don't start getting released (instead of daily/nightly builds!).
Comment 55 David Grant 2006-07-31 17:05:24 UTC
"I've already before proposed that a portage overlay be made including ebuilds for PlaneShift and its dependancies"

As I said above, use sunrise.
Comment 56 Emil Jacobs 2006-09-25 22:37:52 UTC
Planeshift 0.3.016 has been released
Comment 57 Jakub Moc (RETIRED) gentoo-dev 2006-11-20 13:50:06 UTC

*** This bug has been marked as a duplicate of 155790 ***