PlaneShift

Support => Linux Specific Issues => Topic started by: loux on February 15, 2007, 04:50:00 pm

Title: Gentoo ebuilds
Post by: loux on February 15, 2007, 04:50:00 pm
current (from 2009-12-15) :

run :
pslaunch.sh --switch http://testing.xordan.com"
pslaunch.sh --console --repair"


hello ebuilds :

2009-12-15 release media-gfx/nvidia-cg-toolkit-2.2.0
2009-12-15 release dev-games/crystalspace-ps-1.9-r33336
2009-12-15 release games-rpg/planeshift-0.5.00-r4968


2008-08-24 release planeshift-0.4.03-r3302

2008-03-10 release planeshift-0.4.03-r3172
2008-03-10 release crystalspace-ps-1.4-r32140

2008-12-10 release planeshift-0.4.03-r2663

2008-11-31 release cal3d 0.12-r507
2008-11-31 release planeshift-0.4.03-r2582
2008-11-31 release crystalspace-ps-1.4-r31648

2008-11-08 release cal3d 0.12-r493 + patch for gcc-4.3
2008-11-08 release planeshift-0.4.02-r2374
2008-11-08 release crystalspace-ps-1.4-r31532


2008-08-30 release planeshift-0.4.02-r2135

2008-08-28 release crystalspace-ps-1.4-r30956

2008-08-18 release planeshift-0.4.01-r2081

2008-08-10 release planeshift-0.4.01-r2040 (to get art use psupdater.sh CheckIntegrity)

2008-07-30 release planeshift-0.4.01-r1970 (to get art use psupdater.sh CheckIntegrity)
2008-07-30 release crystalspace-ps-1.4-r30564

2008-07-22 release planeshift-0.4.01-r1940 (to get art use psupdater.sh CheckIntegrity)
2008-07-22 release crystalspace-ps-1.4-r30463

2008-07-16 release planeshift-0.4.01-r1919 (to get art use psupdater.sh CheckIntegrity)

2008-07-12 release planeshift-0.4.01-r1888 (to get art use psupdater.sh CheckIntegrity)
2008-07-02 release planeshift-0.4.01-r1856 (to get art use psupdater.sh CheckIntegrity)
2008-06-30 release crystalspace-ps-1.4-r30039
2008-06-30 release cel-ps-1.4-3472 which is need ONLY if you want to build a server
2008-06-30 release planeshift-0.4.01-r1839 (to get art use psupdater.sh CheckIntegrity)

2008-04-28 release crystalspace-ps-1.2-r29388
2008-04-28 release cel-ps-1.2-r3331

2008-03-27 release crystalspacep-ps-1.2-r29094

2008-03-02 release planeshift 0.4.00-r1
2008-03-02 release planeshift-art 0.4.00-r1

2008-02-21 release crystalspacep-ps-1.2-r28731

2008-02-16 release cel-ps-1.2-r3178
2008-02-16 release crystalspacep-ps-1.2-r28657

2007-12-18 release planeshift-art-0.3.020-r2 with optional USE="nograss" to install grass less map for hydlaa

2007-12-10 release planeshift-ps-0.3.020-r2
2007-12-10 release cel-ps-1.2-r3073
2007-12-10 release crystalspacep-ps-1.2-r28281
2007-12-10 release cal3d-0.12-r493

2007-10-14 release planeshift-art-0.3.020-r1
2007-10-14 release planeshift-ps-0.3.020-r1 (warning !!! in /usr/games/bin/ps*.sh change cel/lib/cel to cel/lib/cel-1.2)
2007-10-14 release cel-ps-1.2-r3019
2007-10-14 release crystalspacep-ps-1.2-r27904

2007-10-13 release CS (27876) version 1.2 (for 0.3.020 not available for now) (and fix symlink thanks disi :)
2007-10-09 release CEL(2966)  version 1.2 (for 0.3.020 not available for now)
2007-10-09 release CS (27753) version 1.2 (for 0.3.020 not available for now)
2007-09-19 release CS (27527) version 1.2 for DEVELOPMENT ONLY
2007-09-19 release CEL(2966)  version 1.2 for DEVELOPMENT ONLY
2007-09-19 release planeshift-0.3.019-r4 source of 2007-08-01, latest compatible with server
2007-07-19 release CS (26890) update of 26889 with tcmalloc flag added
2007-07-11 release CS (26889) update of 26888 with Xordan dmalloc.c change for x86-64
2007-07-10 release planeshift-art-0.3.019
2007-07-10 release planeshift-0.3.019-r1 (add nochatbubbles USE flag)
2007-07-05 Changelog of software of livePS : http://dev.gentooexperimental.org/~loux/Changelog
2007-07-05 list of software of livePS : http://dev.gentooexperimental.org/~loux/list.txt
2007-06-01 release a livePS : http://dev.gentooexperimental.org/~loux/liveCD-latest.iso
2007-05-24 release CEL(2766)
2007-05-05 release CS (26888)
2007-04-27 release planeshift-0.3.018-r6
2007-03-26 release planeshift-art-0.3.018
2007-03-26 release CEL (2671) ( 2007-03-26 )
2007-03-26 release CS (26646) ( 2007-03-26 )
2007-03-18 create a blog : http://louxthefuture.blogspot.com/
2007-03-18 release planeshift-0.3.018-r5
2007-03-18 release CEL (2648) ( 2007-03-15 )
2007-03-18 release CS (26611) ( 2007-03-15 )
2007-03-13 you can use "layman -a zugaina" to have the ebuilds in your overlay now :)
2007-03-13 release planeshift-0.3.018-r4 which fix some xml installed files missing
2007-03-12 release planeshift-art-0.3.018 which download and install the art folder :)
2007-03-07 release CEL(2648)
2007-03-07 release CS (26564)
2007-02-27 fix amd64 trouble
2007-02-27 fix CS/CEL/PS ebuilds to use MAKEOPTS
2007-02-26 release PS 0.3.018-r3 from 2007-02-20 09:00:00 + fix for /greet and labels (previous don't work now)
2007-02-23 release CEL (2637) ( 2007-02-23 )
2007-02-23 release CS (26479) ( 2007-02-23 )
2007-02-20 release PS 0.3.018-r2 from 2007-02-20 09:00:00 last one before incompatible change with laanx server
2007-02-19 fix config files from CS to be copy in config of PS
2007-02-16 release CEL 2619 which correct something (talk with Rolenun)
2007-02-15 release PS 0.3.018-r1 from 2007-02-15 add static in USE
2007-02-15 release CEL 2616 add static in USE
2007-02-15 release CS  26416 add static in USE

to see history of CS   : http://crystal.svn.sourceforge.net/viewvc/crystal/CS/trunk/docs/history.txt?view=markup
to see history of CEL : http://cel.svn.sourceforge.net/viewvc/cel/cel/trunk/docs/history.txt?view=markup
to see history of PS   : https://planeshift.svn.sourceforge.net/svnroot/planeshift/stable/docs/history.txt

PS : use irc #planeshift-gentoo :)
-------------------------------------------------
for a general howto on installing 3rd party ebuilds : http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds

to get the ebuilds :
1 - download the ebuilds at http://dev.gentooexperimental.org/~loux/portage.tar.bz2 and uncompress them inside /usr/local/portage (added to PORTDIR_OVERLAY)


unkeywords them :
echo "media-libs/cal3d" >> /etc/portage/package.keywords
echo "media-gfx/nvidia-cg-toolkit" >> /etc/portage/package.keywords
echo "dev-games/crystalspace-ps" >> /etc/portage/package.keywords
(only for server) echo "dev-games/cel-ps" >> /etc/portage/package.keywords
echo "games-rpg/planeshift" >> /etc/portage/package.keywords
and compile : emerge planeshift
finally install the art : psupdater 'CheckIntegrity'

------------------------------------------------------------------------------
Works on :
-- Core 2 Quad Q6600, nvidia Geforce 8800GT,
-- AMD Athlon(tm) XP 3200+, nvidia Geforce 6600GT
-- Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz, nvidia Geforce 2Go
-- AMD XP 2000+, ATI Radeon 9000 Pro, using DRM / X -driver
-- Core2Duo - Laptop (Graphics: i945GM, using DRM / X -driver)
-- Powerbook G4 (5,6 newworld) 1,67GHz ATI Radeon 9700 rv350 M10 (64MB) 2.6.21-r3 preemp, altivec enabled Xorg-X11 7.2 with MESA DRI r300 6.5.3
-- AMD  Athlon64  3500+, 1GB, Nvidia GeForce 6600 GT
-- Dual-Processor board 2*AthlonMP 2000 (1,66 Ghz), 1,5GB RAM, Geforce 7600GS, Sound Blaster Audigy
Title: Re: gentoo ebuilds for 0.3.018-r1 from 2007-02-15 is out :)
Post by: lirucan on February 21, 2007, 03:14:37 pm
forgive me if this is easily answered by a cut and paste of "lamer.txt",

but are the e-builds a binary ( >:() or source( :innocent:) install?
Title: Re: gentoo ebuilds for 0.3.018-r1 from 2007-02-15 is out :)
Post by: Araye on February 21, 2007, 03:23:15 pm
Please correct me Gentoo people if I'm wrong, but I think it is the way gentoo builds it's packages from source.  /me is not 1337 enough to use gentoo.

So the answer is "from source".
Title: Re: gentoo ebuilds for 0.3.018-r1 from 2007-02-15 is out :)
Post by: Xordan on February 21, 2007, 03:23:26 pm
Source of course :P
Title: Re: gentoo ebuilds for 0.3.018-r1 from 2007-02-15 is out :)
Post by: lirucan on February 21, 2007, 03:42:07 pm
cool from source  ;D

Not all things installed in gentoo via e-builds are from source  :(, some packages run pre-compiled binaries such as OpenOffice-bin (can take some ppl 3 days to compile it otherwise...) and another example are proprietry drivers eg ATI / NVidia, and also things like cedega can only install from binary...
Title: Re: gentoo ebuilds for 0.3.018-r1 from 2007-02-15 is out :)
Post by: Araye on February 21, 2007, 11:09:26 pm
Wow, I didn't know that.  I actually thought Gentoo was an "only open source" os.  In fact, one reason I didn't want to try it was the fear of having to compile OOo.   :o

Thanks for the education!
Title: Re: gentoo ebuilds for 0.3.018-r1 from 2007-02-15 is out :)
Post by: Xordan on February 21, 2007, 11:19:00 pm
Gentoo is one of the most liberal distros when it comes to the licenses of packages in its package manger. :) They accept source and binary; both free and proprietary.
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on March 08, 2007, 03:49:32 pm
i have put a little script http://loux.thefuture.free.fr/check.sh to check if your installation miss a file,
put it in /opt/planeshift then launch it
it make a diff of local /opt/planeshift and mine and output the diff
see you
loux
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: dgrant on March 08, 2007, 07:28:30 pm
Thanks a lot for your hard work loux.

I have one small favour. Are there descriptions of the use flags anywhere?
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on March 08, 2007, 07:35:03 pm
hi,
there is no descriptions but everything need by planeshift to compile and run is "force" in the ebuilds so if you don't have them it will stop or try to
install good dependences before compiling :)
see you
loux
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on March 19, 2007, 04:43:02 pm
Hello, i update the 3 ebuilds :)
now you can use layman -a zugaina to have them,
i create a very little blog : http://louxthefuture.blogspot.com/
see you soon
loux
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on March 27, 2007, 10:08:35 am
Hello i have update the ebuilds and add planeshift-art,
see you
loux
PS :

2007-03-26 release CS (26646) ( 2007-03-26 )
2007-03-26 release CEL (2671) ( 2007-03-26 )
2007-03-26 release planeshift-art-0.3.018
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: hook on March 28, 2007, 08:40:40 pm
By all means, I don't want to start a flame war, but how well does PS run on amd64 using these ebuilds, compared to Xordan's bin?
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on March 29, 2007, 07:03:50 am
hello hook,
i don't understand if you ask which version is quicker (bin or emerged) ?
loux
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: hook on March 29, 2007, 08:35:51 am
hello hook,
i don't understand if you ask which version is quicker (bin or emerged) ?

yes, which quicker and more stable?
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: lirucan on March 29, 2007, 11:12:57 am
yes, which quicker and more stable?

Generaly speaking with almost any app...

Quicker = you compile on your system with optimistaions for your arch type, Kernel Version and hardware...

More Stable = Official released binary as it has been built with a general range of arch types, hardware / kernels in mind...

look at the gentoo user's description from the link in my sig then you decide what you as a gentoo user MUST do! ;)
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: hook on March 29, 2007, 11:50:55 am
Well, as a Gentoo user I can't really argue with that logic I guess :P

I promise I'll give it a go (it sure won't be the first PS ebuild on my system)
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: hook on March 29, 2007, 02:32:02 pm
crystalspace-ps won't build on my system - I've seen that happen before, but forgot what the solution was.

Code: [Select]
LinkPlugin xmlshader.so
ObjTagMetaData xmlshader.so
C++ ./out/linux/optimize/plugins/video/render3d/null/null_render3d.o
C++ ./out/linux/optimize/plugins/video/render3d/null/null_pix.o
MkDir1 ./out/linux/optimize/plugins/video/cursor
C++ ./out/linux/optimize/plugins/video/cursor/cursor.o
LinkPlugin null3d.so
ObjTagMetaData null3d.so
LinkPlugin cscursor.so
ObjTagMetaData cscursor.so
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 949 target(s)...

!!! ERROR: dev-games/crystalspace-ps-1.1-r26646 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1276:   Called src_compile
  crystalspace-ps-1.1-r26646.ebuild, line 67:   Called die
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on March 29, 2007, 02:43:23 pm
we should be able to help you hook,
if you post where the error occurs :)
cd /var/tmp/portage/dev-games/crystalspace-ps/work
and nopaste the result of 'jam' for example (#planeshift-gentoo)

thanks
loux
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: srm on June 20, 2007, 06:57:45 pm
Working on Powerbook G4 (5,6 newworld) 1,67GHz ATI Radeon 9700 rv350 M10 (64MB)
with gentoo-2.6.21-r3 preemp, altivec enabled
Xorg-X11 7.2 with MESA DRI r300 6.5.3

still having minor-to-mid graphical issues but seems stable and playable

 \\o//

EDIT:
It is to be noticed, that the planeshift-art package wont work on ppc for this is a x86 binary-compiled file.
So one should think about how to provide a ppc art-package. Either zipped art data or ppc compiled binary.

cheers
Title: Re: gentoo ebuilds for 0.3.018 from 2007-02-20 is out :)
Post by: loux on July 05, 2007, 01:49:33 pm
2007-07-05 list of software of livePS : http://dev.gentooexperimental.org/~loux/list.txt
2007-07-05 Changelog of software of livePS : http://dev.gentooexperimental.org/~loux/Changelog

you can put the livePS on a USB stick, follow : http://forums.gentoo.org/viewtopic-t-478869-highlight-liveusb+syslinux.html
(replace install-x86-2006.iso with my iso of course)
it's working on my 2Go Kingston :)

see you
loux
Title: Re: gentoo ebuilds
Post by: loux on July 10, 2007, 08:25:13 am
2007-07-10 release planeshift-0.3.019-r1 (add nochatbubbles USE flag)
2007-07-10 release planeshift-art-0.3.019
Title: Re: gentoo ebuilds
Post by: sliss on July 10, 2007, 10:38:28 pm
All compiled well. You did a great job Loux! :)

Sliss

running on:
[ AMD Athlon 1.33 Ghz  |  768Mb  |  nVidia Corporation GeForce 6200 (rev a1)  ]
Title: Re: gentoo ebuilds
Post by: sliss on July 10, 2007, 11:12:17 pm
Oops...

I have 2 questions [SOLVED]

1) How can I start as a user instead of using the root? I needed to restart in order to get my user into the games

2)   I can't start teh client:
could not load plugin 'cel.physicallayer'
    1980 Couldn't load plugin for PlLayer.
    1980 <src/client/psengine.cpp:520 Initialize>
    1980 FATAL ERROR: Couldn't init Cel Manager.

was also solved by 1)



Sliss
Title: Re: gentoo ebuilds
Post by: loux on July 11, 2007, 08:02:01 am
hello sliss, it's a user permission
you need to give the good right to the good user :)
if you play with a user "aaa" then it needs to be in game group ('id add' to see)
you can do as root : chown -R "aaa:games" /opt/planeshift and play as "aaa"
see you
loux
Title: Re: gentoo ebuilds
Post by: loux on July 12, 2007, 02:08:56 pm
2007-07-11 release CS (26889) update of 26888 with Xordan dmalloc.c change for x86-64
every 64bit uses should upgrade to this CS 26889
Title: Re: gentoo ebuilds
Post by: Dirk.R.Gently on July 15, 2007, 04:00:03 am
I have a question.  I have setup now planeshift to emerge:
Code: [Select]
emerge -pv --tree planeshift

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] games-rpg/planeshift-0.3.019-r1  USE="-debug -maxoptimization -nochatbubbles -server -static" 10,224 kB [3]
[ebuild  N    ]  dev-games/cel-ps-1.1-r2766  USE="alsa sdl vorbis -3ds -cegui -debug -doc -maxoptimization -mng -ode -static" 5,133 kB [3]
[ebuild  N    ]   dev-games/crystalspace-ps-1.1-r26889  USE="alsa sdl vorbis -3ds -cegui -debug -doc -maxoptimization -mng -ode -static" 34,858 kB [3]
[ebuild  N    ]    media-gfx/nvidia-cg-toolkit-1.5.0  6,213 kB
[ebuild  N    ]    media-libs/cal3d-0.11.0-r1  USE="-16bit-indices -debug" 556 kB

Total: 5 packages (5 new), Size of downloads: 56,982 kB
Portage overlays:
It's trying to pull in nvidia-cg-toolkit but I don't have a video card nvidia.  Will emerge nvidia be a problem?
Title: Re: gentoo ebuilds
Post by: Xordan on July 15, 2007, 03:49:43 pm
nvidia-cg-toolkit runs on both ATI, Nvidia and Intel graphics cards. It's just made by Nvidia.
Title: Re: gentoo ebuilds
Post by: loux on July 15, 2007, 10:06:39 pm
Xordan is right :)
thanks
loux
Title: Re: gentoo ebuilds
Post by: Dirk.R.Gently on July 16, 2007, 06:57:00 am
nvidia-cg-toolkit runs on both ATI, Nvidia and Intel graphics cards. It's just made by Nvidia.

Thanks Xordan, loux, planeshift seems to be doing well.  ;D
Title: Re: gentoo ebuilds
Post by: rtrentc on July 24, 2007, 05:06:14 am
why do you install this inside the planeshift directory structure in /opt/planeshift instead of in /usr/bin and /usr/lib like the crystalspace-1.0.1 ebuild does. And is this install going to cause problems with programs like blender2crystal. (Adding crystalspace after I installed blender2crystal was the main reason that I wanted the ebuilds in the first place, that and seeing what I could do with planeshift itself.
Title: Re: gentoo ebuilds
Post by: loux on July 24, 2007, 08:36:09 am
rtence,
i could put crystalspace-ps and cel-ps in /usr/lib but i don't want them to disturb "official" crystalspace, cel if you install them.
unfortunatly planeshift need unofficial version of crystalspace and cel so i'm putting then in /opt, but i think i could add a flag to swith :)
see you
loux
PS : i don"t think my ebuilds of CS/PS does trouble to blender2crystal if so just remove my /etc/env.d/90crystalspace, and blender2crystal will not able to locate my version of CS/PS
Title: Re: gentoo ebuilds
Post by: frogimus on July 24, 2007, 04:53:40 pm
Ouch!  Here's where mine borks out;
Code: [Select]
localhost portage # emerge -pv --tree planeshift

These are the packages that would be merged, in reverse order:

Calculating dependencies \
!!! All ebuilds that could satisfy "planeshift" have been masked.
!!! One of the following masked packages is required to complete your request:
- games-rpg/planeshift-0.3.018-r2 (masked by: package.mask)
# Philip Walls <malverian@gentoo.org> (18 Jul 2006)
# 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

- games-rpg/planeshift-0.3.018-r4 (masked by: package.mask)
- games-rpg/planeshift-0.3.019-r2 (masked by: package.mask)
- games-rpg/planeshift-0.3.011 (masked by: package.mask)
- games-rpg/planeshift-0.3.019-r1 (masked by: package.mask)
- games-rpg/planeshift-0.3.018-r5 (masked by: package.mask)
- games-rpg/planeshift-0.3.018-r3 (masked by: package.mask)
- games-rpg/planeshift-0.3.018-r6 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

Oh, and I am using Sabayon branch of Gentoo
Title: Re: gentoo ebuilds
Post by: loux on July 24, 2007, 05:01:21 pm
frogimus,
did you put "games-rpg/planeshift" in package.keywords ?
you should emerge 0.3.019-r1
see you
loux
Title: Re: gentoo ebuilds
Post by: frogimus on July 24, 2007, 06:31:31 pm
OK, a specific emerge of 019-r1 gives me this
Code: [Select]
localhost portage # emerge planeshift-0.3.019-r1
Calculating dependencies \

!!! 'planeshift-0.3.019-r1' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)

[Edit]
And, yes I put games-rpg/planeshift" in package.keywords
Title: Re: gentoo ebuilds
Post by: loux on July 24, 2007, 09:16:02 pm
frogimus,
you should remove all the old ebuilds you have and download fresh one,
lots of person have download the ebuilds and put them in package.keywords
and every thing works fine
we can see your trouble in #planeshift-gentoo (on freenode)
see you
loux
PS :md5sum  4f96535916e140dba692888875ef5fad  portage.tar.bz2
Title: Re: gentoo ebuilds
Post by: rtrentc on July 25, 2007, 01:21:51 am
Looking at both ebuilds I find the following.
 crystalspace-ps creates in /etc/env.d/crystalspace, two values. CRYSTAL and CRYSTAL_CONFIG.
 crystalspace creates in /etc/env.d/90crystalspace two values. CRYSTAL_PLUGIN and CRYSTAL_CONFIG.

So I suppose I will end up writing a some bash scripts to save and load the env settings so that I can switch back and forth between which one I am using.
Title: Re: gentoo ebuilds
Post by: frogimus on July 25, 2007, 03:44:00 am
I backed up and punted.  I've pulled the CVS version and compiled it.  Sabayon's version of Gentoo can be easily broken when overriding masks, especially hardmasks. 

BTW, the current (as of about 3 hrs ago) commit is a mess.  It is completely directed to localhost server.  I have had to rewrite mirror lists and random .xml files just to get the Updater to connect to the official game server.  But that needs to go in its own topic which i think i will write now.....

              *sigh*
Title: Re: gentoo ebuilds
Post by: loux on July 25, 2007, 08:05:31 am
frogimus,
i don't understand what you say "Sabayon's version of Gentoo can be easily broken when overriding masks, especially hardmasks."
you don't have to unmask anything, just add them to package.keywords like every overlay package, this is the gentoo way.
i know updaterconfig.xml is not good (mirror section) i'll change it in next release :)

rtrentrc,
my env in /etc/env.d/crystalspace are not need for playing planeshift so you can remove them for that,
but if you want to use, for example celstart or walktest, build from my ebuilds you will need them

loux
hope to see you in #planeshift-gentoo

Title: Re: gentoo ebuilds
Post by: sliss on August 14, 2007, 10:35:35 pm
Has there been some changes lately? I do not have textures it seams. really strange I must say.

Do I need to run the updater perhaps??
Title: Re: gentoo ebuilds
Post by: sliss on August 15, 2007, 12:04:48 am
Has there been some changes lately? I do not have textures it seams. really strange I must say.

Do I need to run the updater perhaps??

It is fixed... I recently updated the nvidia driver and needed to set correct permissions:
Code: [Select]
sliss dev # chmod 0666 /dev/nvidia*
sliss dev # chown root /dev/nvidia*

cheers.. happy playing
Title: Re: Gentoo ebuilds
Post by: loux on October 10, 2007, 07:26:03 pm
hi,
2007-10-09 release CS (27753) version 1.2 (for 0.3.020 not available for now)
2007-10-09 release CEL(2966)  version 1.2 (for 0.3.020 not available for now)
see you
loux
Title: Re: Gentoo ebuilds
Post by: disi on October 10, 2007, 11:22:49 pm
Hello, I am really happy that you guys provide ebuilds for Gentoo. After a lot of trial and error even with the binary package, I still didn't get it properly installed.

When I try to use the ebuilds I get the following errors:
Code: [Select]
# emerge -pv planeshift

These are the packages that would be merged, in order:

Calculating dependencies |!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'
!!! Manifest file not found: '/usr/local/portage/dev-games/crystalspace-ps/Manifest'

!!! All ebuilds that could satisfy ">=dev-games/crystalspace-ps-1.2-r26888" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-games/crystalspace-ps-1.2-r27753 (masked by: corruption)
- dev-games/crystalspace-ps-1.2-r27527 (masked by: corruption)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "dev-games/cel-ps-1.2-r2966" [ebuild])

I tried

Code: [Select]
#ebuild cel-ps-1.1-r2591.ebuild digest
Code: [Select]
!!! Couldn't download 'cel-ps-1.1-r2591.tar.bz2'. Aborting.
!!! File cel-ps-1.1-r2591.tar.bz2 doesn't exist, can't update Manifest

Can you tell me, what I am doing wrong, or did you already remove the files?

My build is x86_64 on AMD64 4600+

edit:// and here is my package.keywords:
Code: [Select]
dev-games/crystalspace-ps **
dev-games/cel-ps **
games-rpg/planeshift **
games-rpg/planeshift-art **
Title: Re: Gentoo ebuilds
Post by: loux on October 11, 2007, 07:45:54 am
Hello disi,
first things first,
i'll re-digest all ebuild today, but you should remove yours and download new one,
then you should delete source package in /usr/portage/distfiles
and make an other try
PS: don't use ** in portage.keywords but ~amd64 please
Title: Re: Gentoo ebuilds
Post by: disi on October 12, 2007, 02:09:50 pm
Thx a million Loux  :love: compiled perfect without any problems.

//edit:

a problem I came around is that the client won't start on my 64bit system. The export in the startupscript is wrong, I fixed it and here is the new psclient.sh:

/usr/games/bin/psclient.sh
Code: [Select]
unset CRYSTAL_CONFIG
unset CRYSTAL_PLUGIN
export CRYSTAL=/opt/planeshift/crystalspace/lib64/crystalspace-1.2
export CEL=/opt/planeshift/cel/lib64/cel-1.2
cd /opt/planeshift/bin
./psclient

//edit: my poor little devil is stuck somewhere in a rock, how can I contact a gamemaster  :'(
Title: Re: Gentoo ebuilds
Post by: loux on October 13, 2007, 09:32:45 am
hello

2007-10-13 release CS (27876) version 1.2 (for 0.3.020 not available for now) (and fix symlink thanks disi :)

see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on October 14, 2007, 02:14:05 pm
hi today

2007-10-14 release planeshift-art-0.3.020-r1
2007-10-14 release planeshift-ps-0.3.020-r1 (warning !!! in /usr/games/bin/ps*.sh change cel/lib/cel to cel/lib/cel-1.2)
2007-10-14 release cel-ps-1.2-r3019
2007-10-14 release crystalspacep-ps-1.2-r27904

have a good game
loux
Title: Re: Gentoo ebuilds
Post by: sliss on October 15, 2007, 11:45:22 pm
emerge went fine.
After starting the ps I get the following:

  psEngine initialized.

crystalspace.pluginmgr.loadplugin:
  could not load plugin 'cel.physicallayer'
    2226 Couldn't load plugin for PlLayer.
    2226 <src/client/psengine.cpp:532 Initialize>
    2226 FATAL ERROR: Couldn't init Cel Manager.
Title: Re: Gentoo ebuilds
Post by: loux on October 16, 2007, 07:19:00 am
hello sliss,
did you change /usr/games/bin/ps*sh as write in the first post ?
you should change inside this files cel/lib/cel to cel/lib/cel-1.2
see you
loux
Title: Re: Gentoo ebuilds
Post by: sliss on October 17, 2007, 08:12:01 am
hello sliss,
did you change /usr/games/bin/ps*sh as write in the first post ?
you should change inside this files cel/lib/cel to cel/lib/cel-1.2
see you
loux


whoops... I didnt check this msg. Now I can start up but I get the atomic blue login screen and Vengence user trying to connect to a localhost. How do I get it to connect to the server?

found it:

Had to add a server to data/server.xml --> <server name="Fragnetics" ip="laanx.fragnetics.com" port="7777" />
Title: Re: Gentoo ebuilds
Post by: loux on October 17, 2007, 06:56:44 pm
hello Sliss,
if you emerge planeshift-art, you don't need to change server.xml as planeshift-art contains (art & data) for 0.3.020
so i don't understand you're change
loux
Title: Re: Gentoo ebuilds
Post by: sliss on October 17, 2007, 09:40:53 pm
You are right... i forgot it ;-) I am in now!

Still a strange thing is going on.  My login screen is different still. In game the chat window I can't even too and I do not see a mouse... still I selected the elves theme.


Title: Re: Gentoo ebuilds
Post by: loux on October 17, 2007, 10:25:03 pm
hi Sliss,
glade to know you're in,
did you run pssetup.sh to select a theme ?
see you
loux
Title: Re: Gentoo ebuilds
Post by: hook on October 21, 2007, 10:48:23 am
Since CrystalSpace 1.2 is already available in Portage and Cel 1.2 should get there soon as well, wouldn't it be slowly time to use those official release packages instead of using CVS versions od CrystalSpace and Cel?

Also if PlaneShift would start releasing source tarballs again (now that CrystalSpace is), it would be a lot easier to get ebuilds into Portage. The major problem why PS was kicked out of Portage was the Gentoo policy not to include CVS ebuilds unless it absolutely needed.
Title: Re: Gentoo ebuilds
Post by: loux on October 21, 2007, 12:02:45 pm
Hello hook,
if PS is compatible with officiel 1.2 release of CS/CEL of course, it would be great to make it this way,
but the reason why i create crystalspace-ps and cel-ps was because PS was not compatible with CS/CEL ebuilds,
i'll look at it
see you

PS : planeshift was not in portage because crystalspace-ps and cel-ps where not in portage, nothing with CVS or not
Title: Re: Gentoo ebuilds
Post by: hook on October 21, 2007, 08:55:14 pm
Hey loux,

if PS is compatible with officiel 1.2 release of CS/CEL of course, it would be great to make it this way,
but the reason why i create crystalspace-ps and cel-ps was because PS was not compatible with CS/CEL ebuilds,
it should be ...at least according to the ChangeLog here (http://hydlaa.com/smf/index.php?topic=30353.0)

Quote
PS : planeshift was not in portage because crystalspace-ps and cel-ps where not in portage, nothing with CVS or not
...which is because crystalspace and cel needed/used by PS  were both from the CVS. But anyway, no need to argue over why it wasn't — the main thing is that it could become part of portage again :]
Title: Re: Gentoo ebuilds
Post by: rtrentc on October 21, 2007, 10:16:26 pm
loux have you tried building PS 0.3.020 with Cel/Crystalspace 1.2?
Title: Re: Gentoo ebuilds
Post by: Volkodlak on October 29, 2007, 04:45:47 pm
hi dude,


i get install PS. without problem, all works in compilation.

but i have a problem, i've flickering screen in the client.

i see this thead http://hydlaa.com/smf/index.php?topic=29135.0 (http://hydlaa.com/smf/index.php?topic=29135.0)    but no solotion is there.

somebody now how to fix this error in gentoo?


well, thanks for the great works with the ebuild.

bye bye
Title: Re: Gentoo ebuilds
Post by: loux on November 01, 2007, 10:53:15 am
Hello,
about using "official" ebuild of crystalspace/cel, there are one for crystalspace but none for cel,
so for now (until gentoo crystalspace dev release one) i'll keep using my ebuilds crystalspace-ps, cel-ps for planeshift,
but as soon as they release them i'll try it
see you
loux
Title: Re: Gentoo ebuilds
Post by: hook on November 21, 2007, 12:45:57 am
Hello,
about using "official" ebuild of crystalspace/cel, there are one for crystalspace but none for cel,

dev-games/cel exists
Title: Re: Gentoo ebuilds
Post by: loux on November 21, 2007, 06:56:33 am
hello hook,
cool about cel ebuild
i'll try them soon, but i'm not sure they are compatible with PS
see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on December 10, 2007, 01:00:29 pm
Hello every one,
new ebuilds are out :)
and one for cal3d svn 493

2007-12-10 release planeshift-ps-0.3.020-r2
2007-12-10 release cel-ps-1.2-r3073
2007-12-10 release crystalspacep-ps-1.2-r28281
2007-12-10 release cal3d-0.12-r493

see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on December 18, 2007, 10:41:31 pm
Hello,
i've release planeshift-art 0.3.020-r2 which add the feature to disable grass in hydlaa by using map release without it for slow GPU

2007-12-18 release planeshift-art-0.3.020-r2 with optional USE="nograss" to install grass less map for hydlaa

see you
loux
Title: Re: Gentoo ebuilds
Post by: pcrow on January 05, 2008, 09:05:34 pm
I think there's a bug involving '\' instead of '/' somewhere.  When I install with these ebuilds, I get an empty directory /opt/planeshift/bin/art/gui/\ installed.  In other words, in the art/gui directory, there is one entry, an empty directory with the name \.
Title: Re: Gentoo ebuilds
Post by: pcrow on January 05, 2008, 09:07:15 pm
Why do I have to emerge both planeshift and planeshift-art?  Shouldn't the planeshift ebuild specify planeshift-art as a dependency?  I don't remember the exact syntax, but you can specify in an ebuild that another package must be installed afterwords.
Title: Re: Gentoo ebuilds
Post by: Caarrie on January 05, 2008, 09:15:42 pm
I think there's a bug involving '\' instead of '/' somewhere.  When I install with these ebuilds, I get an empty directory /opt/planeshift/bin/art/gui/\ installed.  In other words, in the art/gui directory, there is one entry, an empty directory with the name \.

that is not a problem of just the ebuild it is a problem with where the art is stored [it has that directory so that package you downloaded has that as well]
Title: Re: Gentoo ebuilds
Post by: loux on January 06, 2008, 02:55:07 pm
Hello Caarrie and pcrow,
for depencies between package, i've put for example CS and CEL as depencies of PS so i know we can force that but
it's a matter of licence, planeshift is free (so when you emerge it you got no question) but the art for playing it are not free ( so when you emerge it you should agree the licence)
and someone who has installed art for 0.3.020 don't have to re-install it if he update planeshift only
see you,
loux
Title: Re: Gentoo ebuilds
Post by: loux on February 16, 2008, 09:15:34 am
Hello every one,

2008-02-16 release cel-ps-1.2-r3178
2008-02-16 release crystalspacep-ps-1.2-r28657

see you
loux
Title: Re: Gentoo ebuilds
Post by: Namach on February 16, 2008, 01:55:08 pm
Hi Loux! It seems that you forgot to include the cal3d-0.12 ebuild in your last distribution of portage.tar.bz2 :) Can you include it please? See you and thanks!
Title: Re: Gentoo ebuilds
Post by: loux on February 16, 2008, 04:46:10 pm
hi Namach,
your absolutly right, i'm sorry,
here we go : cal3d-0.12-r493 added
thanks for the post
see you
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 20, 2008, 07:38:22 am
loux, your ebuild packet sucks...
i had very massiv problems with the cal3d version from you. (cal3d-0.12-r493 )

so i must delete the folder and resync, all things from planeshift ebuild got deleted.

Quote
download the ebuilds at http://loux.thefuture.free.fr/portage.tar.bz2 and uncompress them inside /usr/local/portage (added to PORTDIR_OVERLAY)

unkeywords them :
echo "dev-games/crystalspace-ps" >> /etc/portage/package.keywords
echo "dev-games/cel-ps" >> /etc/portage/package.keywords
echo "games-rpg/planeshift" >> /etc/portage/package.keywords
echo "games-rpg/planeshift-art" >> /etc/portage/package.keywords
and compile : emerge planeshift
finally install the art : emerge planeshift-art

thats wrong, too.

cal3d-0.12-r493 is masked, but when you add this to your packages.mask and try again, it doesn't work.
then came the output that the version of cal3d-0.11.-r1 is okay, too.
you can't emerge it, but it is in the normal portage tree.

// uncompress them inside /usr/local/portage

i uncompressed them inside /usr/portage/ because it doesn't work when you extract these files in /usr/local/portage

the main error was a failture in the manifest of the cal3d ebuild.


repair the ebuild, use more portage tree versions or write a functioning tutorial.
Title: Re: Gentoo ebuilds
Post by: loux on February 20, 2008, 07:47:38 am
hello Tyrania,
have a break, evrything runs fine !
did you add my local overlay to make.conf ?
did you cal3d in your package.keywords ?
give us the output of :
emerge -Dpv cal3d crystalspace-ps cel-ps planeshift

please
see you
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 20, 2008, 08:06:08 am
to the make.conf ? wtf?

i don't read everything about to add something to the make.conf. so i don't add anything.

it will be much more helpfull, if you can write a good how to (step by step), i know gentoo but i can't read minds.

i can't test it now, because at first I must download and extract again, at the second i'm on work, so i can't do anything on my pc at home.


greetings


PS: I wouldn't attack you, but it's stressfull by this guide in the first post and you see that nothing work correctly.
Title: Re: Gentoo ebuilds
Post by: loux on February 20, 2008, 06:26:22 pm
hi Tyrania,
first things first, read howto on gentoo on how to add an overlay, you'll see that you need to :
1 - add this line at the end of your make.conf : PORTDIR_OVERLAY="/usr/local/portage"
2 - then create the directory /usr/local/portage and unpack my portage.tar.bz2 into it,
3 - add the files to /etc/portage/package.keywords (for cal3d, crystalspace-ps, cel-ps, planeshift and planeshift-art),
4 - give us the output of : emerge -Dpv world
see you
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 21, 2008, 06:11:43 pm
Quote
dragonslair portage # emerge -Dpv world

These are the packages that would be merged, in order:

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
dragonslair portage # emerge -pv planeshift

These are the packages that would be merged, in order:

Calculating dependencies \
!!! All ebuilds that could satisfy ">=media-libs/cal3d-0.12" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/cal3d-0.12-r493 (masked by: ~x86 keyword)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "dev-games/crystalspace-ps-1.2-r28657" [ebuild])

dragonslair portage # echo "media-libs/cal3d" >> /etc/portage/package.keywords
dragonslair portage # emerge -pv planeshift

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/cal3d-0.12-r493  USE="-16bit-indices -debug" 7,995 kB [1]
[ebuild  N    ] dev-games/crystalspace-ps-1.2-r28657  USE="alsa sdl vorbis -3ds -cegui -debug -doc -maxoptimization -mng -ode -static -tcmalloc" 35,792 kB [1]
[ebuild  N    ] dev-games/cel-ps-1.2-r3178  USE="alsa sdl vorbis -3ds -cegui -debug -doc -maxoptimization -mng -ode -static -tcmalloc" 5,136 kB [1]
[ebuild  N    ] games-rpg/planeshift-0.3.020-r2  USE="-debug -maxoptimization -nochatbubbles -server -static -tcmalloc" 2,680 kB [1]

Total: 4 packages (4 new), Size of downloads: 51,602 kB
Portage tree and overlays:
 
  • /usr/portage
  • [1] /usr/local/portage
    dragonslair portage #     
you will need to add the cal3d keyword, so edit the first post of this thread and add this command, so nobody will have any problems. i think it will work now.
maybe you add your mini-howto to the first post, too.
Title: Re: Gentoo ebuilds
Post by: loux on February 21, 2008, 06:38:46 pm
hi Tyrania,
you're right, i've add it to my first post,
hope to see you in game
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 21, 2008, 06:57:27 pm
Quote
* Messages for package dev-games/cel-ps-1.2-r3178:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). Add "collision-protect" to FEATURES in
 * make.conf if you would like the merge to abort in cases like this. You
 * can use a command such as `portageq owners / <filename>` to identify
 * the installed package that owns a file. If portageq reports that only
 * one package owns a file then do NOT file a bug report. A bug report is
 * only useful if it identifies at least two or more packages that are
 * known to install the same file(s). If a collision occurs and you can
 * not explain where the file came from then you should simply ignore the
 * collision since there is not enough information to determine if a real
 * problem exists. Please do NOT file a bug report at
 * http://bugs.gentoo.org unless you report exactly which two packages
 * install the same file(s). Once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /etc/env.d/90crystalspace
 *      /opt/planeshift/crystalspace/etc/crystalspace-1.2/vfs.cfg
 * Remember, in order to play games, you have to
 * be in the 'games' group.
 * Just run 'gpasswd -a <USER> games', then have <USER> re-login.

The file collisions are normal?
Title: Re: Gentoo ebuilds
Post by: loux on February 21, 2008, 08:08:15 pm
yes they are
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 22, 2008, 04:00:58 pm
sry
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 22, 2008, 07:56:04 pm
sry
Title: Re: Gentoo ebuilds
Post by: loux on February 22, 2008, 09:35:15 pm
hi Tyrania,
how did you start planeshift from the ebuild ?
i'm sure we can make you start it if you talk on #planeshift-gentoo or at least on #planeshift-build,
don't tell thinks like "merge the ebuild of planeshift!",
please
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on February 23, 2008, 09:25:12 am
sry
Title: Re: Gentoo ebuilds
Post by: loux on February 23, 2008, 09:47:41 am
hi Tyrania,
1 - you don't answer my questions so i can help you,
2 - you don't ask some help on the irc like #planeshift-build or #planeshift-gentoo,
3 - Every people who has try the ebuilds can play planeshift with them so you're alone with the bug,
4 - so i think you made something wrong when compiling the ebuilds or launchine the game
5 - don't post here any more if you're not interested by the ebuilds in gentoo
see you
Loux
Title: Re: Gentoo ebuilds
Post by: Namach on February 23, 2008, 05:43:26 pm
It's evident that Tyrania has no knowledge on how a Gentoo system works, and it's evident also that he/she has no time to read the basic docs about overlays, collisions, masking, ebuilds, etc. But he/she has a lot of time to spend in insulting your great work, Loux, and writing things proving that he/she has no knowledge at all about the argument. I use your ebuilds from a long time and I just have to say "thank you!" because you decided to spend time sharing your work with us and because on my system they work a lot better than the binary distribution and they're really easy to manage/upgrade on a gentoo system. It makes me sad to read that unpolite thing from Tyrania.. See you!
Title: Re: Gentoo ebuilds
Post by: loux on February 23, 2008, 06:11:24 pm
thank you Namach,
it's good to see some post like this,
with Tyrania the trouble is resolved, we did the process together on #planeshift-gentoo,
however it lacks of some animations for fenki on Tyrania computer's
see you
loux
Title: Re: Gentoo ebuilds
Post by: calit on February 23, 2008, 06:51:51 pm
I dont use the ebuilds for long, but i think they are great.
so i want to thank loux too and as a reaction to the problems tyrania had, i got the idea to write a simple bash-script, making the creation of the overlay easier and automatically install all needed files to run planeshift.
I hope to help people who are not very experienced using overlays with this.
script (http://borsten.bo.ohost.de/gentoo/planeshift-gentoo.sh)
Title: Re: Gentoo ebuilds
Post by: Xordan on February 29, 2008, 11:09:44 am
Just a note for you loux, the new updater will require you to add a line to the file "pslaunch.cfg" in the PS dir.

Update.Execs=false

This will make the updater ignore executable files when updating, so people using ebuilds can get data and art updates without altering the files they compiled.
Title: Re: Gentoo ebuilds
Post by: loux on February 29, 2008, 10:45:36 pm
hi Xordan,
got it ! i'll add this line to pslaunch.cfg as soon as dev release a new version
see you
loux
Title: Re: Gentoo ebuilds
Post by: Tyrania on March 01, 2008, 09:39:47 pm
hi loux...

i see the new client is in the ebuild.. the update of the client was successfull :)

but there are some packages are missing?
the new crystalspace version and the new art?

atm when i try to start psclient this message i get: http://nopaste.php-quake.net/18157

the client starts and run.. (also the main menu). but under server stands only "localhost" and not fragnetics... hm... something is missing or wrong, i don't know.
the new update for the client was only 3.2 mb big...
now i download via torrent the .bin version, this one is 313 mb big... that's damn huge!  ::|

hm.. can i / we (other gentoo'ler) get a view information about the ebuild and the update?

thanks...
Title: Re: Gentoo ebuilds
Post by: loux on March 01, 2008, 11:59:11 pm
ok i miss the planeshift-art for now,
but everything else is there CS CEL and PS,
see you tomorrow
loux
Title: Re: Gentoo ebuilds
Post by: loux on March 02, 2008, 10:38:33 am
hi there new ebuilds for client 0.4.00

2008-03-02 release planeshift 0.4.00-r1
2008-03-02 release planeshift-art 0.4.00-r1

see you
loux

PS :  layman is not synchronised yet
Title: Re: Gentoo ebuilds
Post by: Hylaa on March 02, 2008, 04:04:53 pm
Excellent! :D
Title: Re: Gentoo ebuilds
Post by: keteflips on March 02, 2008, 08:09:42 pm
emerge --sync && layman -S

But the 0.4.0 version its not in my list O_O

Title: Re: Gentoo ebuilds
Post by: loux on March 02, 2008, 08:47:57 pm
hi keteflips,
you're right, you need to use the portage.tar.bz2
i'm not admin of the layman so update on it can take time
see you
loux
Title: Re: Gentoo ebuilds
Post by: Aiwendil on March 03, 2008, 06:52:40 pm
The ebuilds work fine for me. Thank you loux

System:
Dual-Processor board 2*AthlonMP 2000 (1,66 Ghz), 1,5GB RAM, Geforce 7600GS, Sound Blaster Audigy
Title: Re: Gentoo ebuilds
Post by: loux on March 09, 2008, 11:52:37 am
Hello to get up to date for art,
here is a little script, make a dir (psmirror) and put it inside :
<-
find -name 'index*htm*' -exec rm '{}' \;
wget -np -nH -L -c -r http://www.psmirror.org/repo/backup/art/
find -name 'index*htm*' -exec rm '{}' \;
diff -r ./repo/backup/art /opt/planeshift/bin/art
->
see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on March 17, 2008, 02:57:48 pm
 :beta:

Warning nvidia-cg-toolkit >= 2.0 break the library CS/CEL,
so :
1 - don't update it if you can
2 - use the ebuild in portage.tar.bz2 to downgrade to 1.5

see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on March 21, 2008, 02:44:11 pm
Hi,
gentoo user must switch to ftjam instead of jam,
testing on my amd64, ftjam compile fine CS/CEL
see you
loux
Title: Re: Gentoo ebuilds
Post by: lixum on March 23, 2008, 10:22:45 pm
:(

psupdate puts an segmentation fault when reaching 100 %
psclient and pssetup are missing several xml files and just drawing garbage in its window ..

edit:
yeah i know - i should give more output. Unfortunately, i just unmerged it to give the bin a try. But the torrent is frozen, so i think i remerge it to post some more details.

edit2:
emerge -pv planeshift

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/cal3d-0.12-r493  USE="-16bit-indices -debug" 0 kB [1]
[ebuild  N    ] dev-games/crystalspace-ps-1.2-r28731  USE="alsa vorbis -3ds -cegui -debug -doc -maxoptimization -mng -ode -sdl -static -tcmalloc" 0 kB [1]
[ebuild  N    ] dev-games/cel-ps-1.2-r3178  USE="alsa vorbis -3ds -cegui -debug -doc -maxoptimization -mng -ode -sdl -static -tcmalloc" 0 kB [1]
[ebuild  N    ] games-rpg/planeshift-0.4.00-r1  USE="-debug -maxoptimization -nochatbubbles -server -static -tcmalloc" 0 kB [1]


CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -msse2 -fweb -falign-functions=64"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS=""

on AMD 64, usind 32 bit dist
Title: Re: Gentoo ebuilds
Post by: loux on March 24, 2008, 08:13:02 am
Hi lixum,
did you emerge planeshift-art ?
see you
loux
Title: Re: Gentoo ebuilds
Post by: lixum on March 24, 2008, 03:24:29 pm
No. Should i ?
Title: Re: Gentoo ebuilds
Post by: loux on March 24, 2008, 06:47:42 pm
Hi lixum,
of course you should, no : you must,
you didn't read info when emerge planeshift itself !!
please change your posts
see you
loux
PS : unmerge crystalspace-ps cel-ps planeshift, erase /opt/planeshift and then emerge planeshift planeshift-art
Title: Re: Gentoo ebuilds
Post by: loux on March 27, 2008, 06:24:19 pm
hi there,

2008-03-26 release crystalspace-ps-1.2-r29094

see you
loux
Title: Re: Gentoo ebuilds
Post by: Kalar on April 09, 2008, 01:35:06 pm
emerge --deep --update planeshift -vp

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Invalid or corrupt dependency specification:

missing space by parenthesis: '(d'

('ebuild', '/', 'dev-games/crystalspace-ps-1.2-r29094', 'merge')

virtual/opengl virtual/glu tcmalloc? ( >=dev-util/google-perftools-0.91 ) cegui? ( >=dev-games/cegui-0.5 ) ode? ( dev-games/ode ) sdl? ( media-libs/libsdl ) vorbis? ( media-libs/libogg media-libs/libvorbis ) alsa? ( media-libs/alsa-lib ) mng? ( media-libs/libmng ) media-libs/jpeg x11-libs/libXaw x11-libs/libXxf86vm media-gfx/nvidia-cg-toolkit >=media-libs/cal3d-0.12 >=media-libs/freetype-2.1 media-libs/libpng media-libs/openal media-libs/freealut 3ds? ( media-libs/lib3ds ) || (dev-util/jam dev-util/ftjam) dev-lang/swig

This package can not be installed. Please notify the
'dev-games/crystalspace-ps-1.2-r29094' package maintainer about this
problem.
Title: Re: Gentoo ebuilds
Post by: Kalar on April 09, 2008, 01:41:18 pm
!!! All ebuilds that could satisfy "dev-util/jam" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/jam-2.5-r3 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Ryan Hill <dirtyepic@gentoo.org> (16 Mar 2008)
# Mask for removal on 16 Apr 2008
# upstream unresponsive, replaced by dev-util/ftjam
# Bug #173703

- dev-util/jam-2.5 (masked by: package.mask)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "dev-games/cel-ps-1.2-r3178" [ebuild])
Title: Re: Gentoo ebuilds
Post by: loux on April 09, 2008, 06:18:05 pm
hi Kalar,
thanks to have point me this trouble,
i've solved them (i hope) so you can retry with new ebuilds
see you
loux
Title: Re: Gentoo ebuilds
Post by: Kalar on April 12, 2008, 09:36:41 pm
Thanks Loux, worked like a charm now.
Only got some file collission messages, these when I upgraded planeshift (1 file collided with the old planeshift-art):
Code: [Select]
* This package will overwrite one or more files that may belong to other
 * packages (see list below). Add "collision-protect" to FEATURES in
 * make.conf if you would like the merge to abort in cases like this. You
 * can use a command such as `portageq owners / <filename>` to identify
 * the installed package that owns a file. If portageq reports that only
 * one package owns a file then do NOT file a bug report. A bug report is
 * only useful if it identifies at least two or more packages that are
 * known to install the same file(s). If a collision occurs and you can
 * not explain where the file came from then you should simply ignore the
 * collision since there is not enough information to determine if a real
 * problem exists. Please do NOT file a bug report at
 * http://bugs.gentoo.org unless you report exactly which two packages
 * install the same file(s). Once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 * /opt/planeshift/bin/data/shader/vertexlight.cgvp
 * Remember, in order to play games, you have to
 * be in the 'games' group.
 * Just run 'gpasswd -a <USER> games', then have <USER> re-login.
 * Before you can use Planeshift, you need to download the art
 * emerge planeshift-art
 *

 * GNU info directory index is up-to-date.
~ # portageq owners / /opt/planeshift/bin/data/shader/vertexlight.cgvp
games-rpg/planeshift-0.4.00-r2
/opt/planeshift/bin/data/shader/vertexlight.cgvp
games-rpg/planeshift-art-0.3.020-r1
/opt/planeshift/bin/data/shader/vertexlight.cgvp
And these when I upgraded planeshift-art (files both in the new planeshift and the new planeshift-art):

 
Code: [Select]
* Detected file collision(s):
 *
 * /opt/planeshift/bin/data/gui/groupmenu.xml
 * /opt/planeshift/bin/data/gui/setupwindow.xml
 * /opt/planeshift/bin/data/gui/skinwindow.xml
 * /opt/planeshift/bin/data/ttf/LiberationSerif-Regular.ttf
 * /opt/planeshift/bin/data/effects/misc/label.eff
 * /opt/planeshift/bin/data/effects/misc/glyphs_baar_sophia.xml
 * /opt/planeshift/bin/data/effects/misc/labelfontglyphs.xml
 * /opt/planeshift/bin/data/effects/examples/clear.eff
 * /opt/planeshift/bin/data/effects/examples/puff.part
 * /opt/planeshift/bin/data/effects/examples/sparkle_02.dds
 * /opt/planeshift/bin/data/effects/examples/sparkle_03.dds
 * /opt/planeshift/bin/data/effects/examples/test.eff
 * /opt/planeshift/bin/data/effects/examples/fire.eff
 * /opt/planeshift/bin/data/effects/examples/sparkle.part
 * /opt/planeshift/bin/data/effects/examples/casting.eff
 * /opt/planeshift/bin/data/effects/examples/obj_quad.eff
 * /opt/planeshift/bin/data/effects/examples/clear.part
 * /opt/planeshift/bin/data/effects/examples/obj_spire.eff
 * /opt/planeshift/bin/data/effects/examples/obj_star.eff
 * /opt/planeshift/bin/data/effects/examples/fire.part
 * /opt/planeshift/bin/data/effects/examples/test2.eff
 * /opt/planeshift/bin/data/effects/examples/puff_01.dds
 * /opt/planeshift/bin/data/effects/examples/puff_02.dds
 * /opt/planeshift/bin/data/effects/examples/puff_03.dds

~ # portageq owners / /opt/planeshift/bin/data/gui/groupmenu.xml
games-rpg/planeshift-art-0.4.00-r1
/opt/planeshift/bin/data/gui/groupmenu.xml
games-rpg/planeshift-0.4.00-r2
/opt/planeshift/bin/data/gui/groupmenu.xml

By the way I have nvidia-cg-toolkit-2.0.0010 installed, didn't downgrade to 1.5 and don't seem to be having any issues; cel-ps compiled fine and planeshift seems to be running well. What problems should/can I encounter?

Thanks again,
Kalar
Title: Re: Gentoo ebuilds
Post by: loux on April 12, 2008, 10:15:14 pm
hi Kalar,
good news so :)
for nvidia-cg, i need to know which version of cal3d do you use ?
for the file collision, i don't know how to suppress the warning, i'll work on it :(
see you
Loux
PS : could you tell me which hardware (CPU, GPU, ..) you get ?
Title: Re: Gentoo ebuilds
Post by: Kalar on April 12, 2008, 11:15:15 pm
for nvidia-cg, i need to know which version of cal3d do you use ?
I'm using cal3d-0.12-r493 but as said, seem to have no problems at all. I was just wondering what problems you were warning for in this (http://hydlaa.com/smf/index.php?topic=27667.msg366725#msg366725) post.

PS : could you tell me which hardware (CPU, GPU, ..) you get ?
Athlon64 3500+
1GB RAM
GeForce 6600GT (PCI Express)
Title: Re: Gentoo ebuilds
Post by: loux on April 13, 2008, 09:35:04 am
hi,
about nvidia-cg 2.x it's display ugly texture on my GPU 8800 or 9500,
i think there are some posts on google on it,
see you
loux
Title: Re: Gentoo ebuilds
Post by: krono on April 19, 2008, 09:05:15 pm
hi all :) I use the ebuld for compile ps..

when i try to start ps:

Code: [Select]
:~$ psupdater.sh
Checking for updates:
Checking for updates to the updater: No updates needed!
Checking for updates to all files: Updates Available!
Downloading update file..

0%
0% ---- 25% ---- 50% ---- 75% ---- 100%
/usr/games/bin/psupdater.sh: line 6: 14351 Segmentation fault      ./psupdater --auto

need some help...thx :)

Title: Re: Gentoo ebuilds
Post by: loux on April 21, 2008, 04:08:16 pm
hi krono,
do you have emerge planeshift AND planeshift-art as the first ebuild told you ?
if you've do so you can read this threads on notice that psupdater don't work, i've put a little script instead to be up to date,
see you
loux
Title: Re: Gentoo ebuilds
Post by: Aiwendil on April 25, 2008, 12:01:19 pm
After I killed my old computer completely (I still have no idea how i did it, but a lot of smoke was involved ;)) I got a new system. I just wanted to inform you that the PS-ebuild work fine on this system too.
System spec:

- AMD Phenom(tm) 9750 Quad-Core Processor 2400Mhz
- nForce 780a SLI onboard graphic chip (I have to use the nvidia driver 173.08, it seems to ones from gentoo do not support this yet)
- Onboard sound chip AD1988B (using the snd-hda-intel kernel module)
- Using a unstable linux-2.6.25-gentoo-r1 kernel, since my SATA controller is only supported since the 2.6.25 kernel release

I have to use the nvidia-cg-toolkit-1.5.0023. Otherwise the game looks a bit boring ;)

[Edit]
Forgot to add the the 4GB Ram ;). And of course I use a 64bit gentoo
Title: Re: Gentoo ebuilds
Post by: loux on April 25, 2008, 07:12:47 pm
hi Aiwendil,
thanks for the post,
have fun in game,
see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on April 28, 2008, 08:45:44 pm
hi,
new ebuils to day

2008-04-28 release crystalspacep-ps-1.2-r29388
2008-04-28 release cel-ps-1.2-r3331

see you
loux
Title: Re: Gentoo ebuilds
Post by: klur on June 21, 2008, 10:32:07 pm
Thanks, been a while since I used your ebuilds back in 2006 lol user name was leon back then, but I started playing again a little so i used your ebuild again, good to see your still doing them! :)

all went well i did not have to do anything apart from give ownership to /opt/planeshift

specs:

 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+   |   nVidia Corporation G70 [GeForce 7600 GT PCI-E   |  Kernel 2.6.9.24-r8   |  x86 gentoo 2007.0
Title: Re: Gentoo ebuilds
Post by: Unode on June 23, 2008, 04:21:06 am
Got some troubles here... just did the steps on the 1st post but have a collision blocking cel-ps.

Log follows:

Code: [Select]
* This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 *
 * package dev-games/cel-ps-1.2-r3178 NOT merged
 *
 * Detected file collision(s):
 *
 * /etc/env.d/90crystalspace
 * /opt/planeshift/crystalspace/etc/crystalspace-1.2/vfs.cfg
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-games/crystalspace-ps-1.2-r29094
 * /etc/env.d/90crystalspace
 * /opt/planeshift/crystalspace/etc/crystalspace-1.2/vfs.cfg

And it fails to merge the package.
Any suggestion?
Title: Re: Gentoo ebuilds
Post by: loux on June 23, 2008, 06:43:05 am
hello Unode,
you should change your FEATURES i guess, to unable collisions while i resolve this trouble in the next ebuilds,
sorry for the troubles
Loux
PS : it's normal that /etc/env.d/90crystalspace and vfs.cfg are overwritten
Title: Re: Gentoo ebuilds
Post by: Unode on June 29, 2008, 04:38:58 pm
4.01 is out... newer ebuilds needed?
Title: Re: Gentoo ebuilds
Post by: loux on July 01, 2008, 09:01:41 am
Hi there,
as Unode ask :

2008-06-30 release crystalspace-ps-1.4-r30039
2008-06-30 release cel-ps-1.4-3472 which is need ONLY if you want to build a server
2008-06-30 release planeshift-0.4.01-r1839 (to get art use psupdater.sh CheckIntegrity)

no need of cel for client, ONLY if you want to build the server
once you merge planeshift use psupdater.sh CheckIntegrity to download art

see you
Loux
Title: Re: Gentoo ebuilds
Post by: Unode on July 01, 2008, 12:13:29 pm
Thanks for the quick reply.

One more thing, are these ebuilds still affected by the collision problems?
Title: Re: Gentoo ebuilds
Post by: loux on July 01, 2008, 12:32:36 pm
Hi Unode,
if you remove your old version of CS/CEL/PS it'll not,
if you don't ... i don't know, sorry
loux
Title: Re: Gentoo ebuilds
Post by: loux on July 03, 2008, 09:20:15 am
hi,

2008-07-02 release planeshift-0.4.01-r1856 (to get art use psupdater.sh CheckIntegrity)

see you
loux
Title: Re: Gentoo ebuilds
Post by: mh on July 07, 2008, 07:12:40 pm
Very nice work! I am new to PlaneShift but with your Ebuild I will give it a try!
What I am missing is a short description about the USE-flags and what they do...
Title: Re: Gentoo ebuilds
Post by: loux on July 07, 2008, 09:20:22 pm
hi mh,

so : games-rpg/planeshift-0.4.01-r1856  USE="-debug -maxoptimization -nochatbubbles -server -static -tcmalloc"
i guess USE flags talk by them self :)
see you
loux
Title: Re: Gentoo ebuilds
Post by: Caarrie on July 07, 2008, 09:24:12 pm
i dont know what -nochatbubbles does but there is a full set of config options ingame for chat bubbles.
Title: Re: Gentoo ebuilds
Post by: loux on July 08, 2008, 12:45:47 pm
hi Caarrie,
thanks, nochatbubbles will be remove for the next release, sorry to have keep it,
see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on July 12, 2008, 11:25:24 am
hi,

2008-07-12 release planeshift-0.4.01-r1888 (to get art use psupdater.sh CheckIntegrity)

i've removed the flag nochatbubbles in this ebuild, thanks to Caarrie,

see you
Title: Re: Gentoo ebuilds
Post by: loux on July 16, 2008, 09:59:36 pm
hi,

2008-07-16 release planeshift-0.4.01-r1919 (to get art use psupdater.sh CheckIntegrity)

see you
Loux
Title: Re: Gentoo ebuilds
Post by: Aiwendil on July 21, 2008, 03:44:20 pm
I had a problem with the latest ebuild. I couldn't compile CS wit the stable version of libcaca (And I haven't found out how to turn off ascii art support). I had to install the unstable version of libcaca to compile CS. Just for your information ;-)

[Edit] too stupid to type, corrected some typos
Title: Re: Gentoo ebuilds
Post by: loux on July 22, 2008, 08:50:30 pm
hello there,

2008-07-22 release planeshift-0.4.01-r1940 (to get art use psupdater.sh CheckIntegrity)
2008-07-22 release crystalspace-ps-1.4-r30463 (i've disable libcaca support)

see you
loux
Title: Re: Gentoo ebuilds
Post by: Kalar on July 23, 2008, 02:33:06 pm
2008-07-22 release planeshift-0.4.01-r1940 (to get art use psupdater.sh CheckIntegrity)
2008-07-22 release crystalspace-ps-1.4-r30463 (i've disable libcaca support)
ebuild worked like a charm as always loux, thanks!
Title: Re: Gentoo ebuilds
Post by: Aiwendil on July 23, 2008, 03:50:23 pm
Thanks loux, everything works fine now
Title: Re: Gentoo ebuilds
Post by: Prudence on July 24, 2008, 03:34:14 pm
Hi!
I just tried to emerge planeshift.
With the previous release of the ebuild there was a problem with the crystalspace-ps package, so the emerge was failed.
But with the new ebuild, now the problem lies in the package "planeshift". What log should I post you?

 * Messages for package games-rpg/planeshift-0.4.01-r1940:

 *
 * ERROR: games-rpg/planeshift-0.4.01-r1940 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2694:  Called die
 * The specific snippet of code:
 *       jam -aq ${MAKEOPTS} || die "failed to compile";
 *  The die message:
 *   failed to compile
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-rpg/planeshift-0.4.01-r1940/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-rpg/planeshift-0.4.01-r1940/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *
 * GNU info directory index is up-to-date.
Title: Re: Gentoo ebuilds
Post by: loux on July 24, 2008, 07:17:06 pm
hi Prudence,
first of all, remove my ebuilds (crystalspace-ps, cel-ps(if merged) and planeshift), don't forget to save files you need (shorcut, logs, ...),
then output emerge -pv planeshift, then emerge them and nopaste /var/tmp/portage/games-rpg/planeshift-0.4.01-r1940/temp/build.log with emerge --info please,
see you
loux
Title: Re: Gentoo ebuilds
Post by: Prudence on July 24, 2008, 08:01:41 pm
By saying remove your ebuilds you mean the old ones huh? Cause if I remove them entirely emerge would be impossible.
Anyway, If you mean the old ones I already removed them before installing the new ones.
Title: Re: Gentoo ebuilds
Post by: Prudence on July 24, 2008, 11:12:35 pm
Actually, never mind. I installed it by the binary file :)
Thanks a lot though!
Title: Re: Gentoo ebuilds
Post by: klur on July 27, 2008, 05:12:31 pm
out of curiosity, who maintains the ebuilds for planeshift on zugaina overlay, because the latest ebuild dont seem to work for me( 0.4.00-r2 ) . the previous release did.
This release the updater would fail on segmentation fault  and the client would not connect to the server, yet i could ping the server, and the server.xml file was fine so i guess i could not connect due to not being up to date enough. though your ebuilds that are linked to here work as expected ( 0.4.01-r1940 ), updater works and no problem connecting to the server.

Code: [Select]
running on amd64 gentoo(multi-libs),  X.Org X Server 1.4.2,  Xorg-x11 7.3,   mesa 7.0.3 and nvidia-drivers 177.13   

Title: Re: Gentoo ebuilds
Post by: Caarrie on July 27, 2008, 06:05:11 pm
.4.00 client will _not_ connect to the current server.
Title: Re: Gentoo ebuilds
Post by: loux on July 27, 2008, 08:12:09 pm
hi there,
Caarrie is right,
i'm the maintener of the ebuilds but zugaina don't update them often, so you should better download them as the topic told in one of the solutions,
i hope zugaina'll update them soon,
see you
Title: Re: Gentoo ebuilds
Post by: klur on July 28, 2008, 03:59:00 am
.4.00 client will _not_ connect to the current server.

as i said in my previous post i guessed it would not connect due to it not been updated, but seeing as the updater pulled 0.4.01 from the server prior to the segfault, i thought there may have been a problem with that ebuild and a quick fix to the cause of the segfault.

hi there,
Caarrie is right,
i'm the maintener of the ebuilds but zugaina don't update them often, so you should better download them as the topic told in one of the solutions,
i hope zugaina'll update them soon,
see you


ah thanks for the reply, as i said in my previous post im using the ebuilds linked to this thread with no problem, was just curious about the zugaina overlay since layman works better with portage 2.2_rc3  rather than having PORTDIR_OVERLAY in make.conf which does not play well together at the moment, i will have a look on the bugzilla page see if its reported / needs reporting etc..but anyway as i said, im using the ebuilds linked to this thread with no problems, the previous post was just out of curiosity.

take care.
Title: Re: Gentoo ebuilds
Post by: loux on July 28, 2008, 08:39:23 pm
hi klur,
i don't know if i understand you well but you can not use the updater build from the ebuild to download the new client
for the overlay, i've poked zugaina to update them,
see you
loux
Title: Re: Gentoo ebuilds
Post by: Lachesis on July 30, 2008, 02:12:26 pm
* There is no reason to overwrite /etc/env.d/90crystalspace by dev-games/cel. Please create /etc/env.d/90cel instead.
* CEL also misses a #define CS_CONST_METHOD (leaving it empty should do), causing the compile to fail. I guess CS removed it and this is a leftover occurance in CEL. Maybe use a patch until it's fixed upstream or bump the ebuild if it already is.
Title: Re: Gentoo ebuilds
Post by: loux on July 30, 2008, 06:18:34 pm
hi Lachesis,
cel is not need any more for planeshift client and i don't change the CS/CEL/PS code, i'm just a snapshoter and ebuilder :)
for /etc/env.d what's the trouble with /etc/env.d/90crystalspace (cel is part of crystalspace project),
see you
Title: Re: Gentoo ebuilds
Post by: Lachesis on July 30, 2008, 08:57:34 pm
about changing code: you can apply patches in ebuilds. Many ebuilds make use of that feature.
about env.d: the same file must NEVER be installed by different ebuilds, regardless how closely related they are. Ensuring this is actually one of the main purposes of a package manager like portage. That's also the reason why we have /etc/env.d: every ebuild can install its own file there.
about building CEL: I'm considering tracking some bugs, so I need to be able to compile the server as well.
Title: Re: Gentoo ebuilds
Post by: loux on July 30, 2008, 09:46:16 pm
hi Lachesis,

for cel and env.d, like you said i've change the ebuild to go to /etc/env.d/91cel as you want, for the ebuild and patch, i'll not create a patch for it, you can :
1 - send me a patch, i'll try to include it in the ebuild,
2 - send to the CEL developpers the patch for the next release,
see you

PS : i'm on #planeshift-build and #planeshift-gentoo once a week or more
Title: Re: Gentoo ebuilds
Post by: loux on July 30, 2008, 09:51:43 pm
hi there,

hello ebuilds :

2008-07-30 release planeshift-0.4.01-r1970 (to get art use psupdater.sh CheckIntegrity)
2008-07-30 release crystalspace-ps-1.4-r30564

see you

PS : last cel-ps will create /etc/env.d/91cel
Title: Re: Gentoo ebuilds
Post by: Lachesis on July 31, 2008, 12:25:52 am
Here's the patch for CEL. CS simply removed the CS_CONST_METHOD define in 1.4, so it's safe to do this in CEL

Code: [Select]
--- plugins/tools/celconsole/celconsole.h       2008-07-31 00:09:35.000000000 +0200
+++ plugins/tools/celconsole/celconsole.h       2008-07-31 00:10:31.000000000 +0200
@@ -145,12 +145,12 @@

     CS_EVENTHANDLER_NAMES("cel.tools.celconsole");
     CS_EVENTHANDLER_DEFAULT_INSTANCE_CONSTRAINTS
-CS_CONST_METHOD virtual const csHandlerID * GenericPrec
+virtual const csHandlerID * GenericPrec
 (csRef<iEventHandlerRegistry> &, csRef<iEventNameRegistry> &,
  csEventID) const {
   return 0;
 }
-CS_CONST_METHOD virtual const csHandlerID * GenericSucc
+virtual const csHandlerID * GenericSucc
 (csRef<iEventHandlerRegistry> &r1, csRef<iEventNameRegistry> &r2,
  csEventID event) const {
   static csHandlerID succConstraint[2];

The ebuilds don't update $PATH and ld.so.conf ... is that intentional?
Title: Re: Gentoo ebuilds
Post by: weltall on August 01, 2008, 11:59:45 am
about building CEL: I'm considering tracking some bugs, so I need to be able to compile the server as well.

actually you shouldn't use ebuilds and use the trunk branch from svn to do this. trunk server has already right now some fixes which aren't in stable yet for example
Title: Re: Gentoo ebuilds
Post by: Lachesis on August 01, 2008, 12:36:56 pm
Well that's kind of old habit, use stable libraries for bugfixing ... but CS sems to be a special case. I'll use the SVN rev as given in the IRC topic.
Title: Re: Gentoo ebuilds
Post by: loux on August 10, 2008, 08:26:02 am
hi there,
i just release ebuild :

2008-08-10 release planeshift-0.4.01-r2040 (to get art use psupdater.sh CheckIntegrity)

see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on August 18, 2008, 08:46:23 pm
hi all folks,

update of planeshift :

2008-08-18 release planeshift-0.4.01-r2081

see you
loux

PS : i'm thinking of making and planeshift-svn-0.9.99 ebuild what do you think ?
Title: Re: Gentoo ebuilds
Post by: loux on August 28, 2008, 07:21:30 am
hi there,

2008-08-30 release planeshift-0.4.02-r2135

2008-08-28 release crystalspace-ps-1.4-r30956

see you
loux
Title: Re: Gentoo ebuilds
Post by: Aiwendil on September 08, 2008, 01:44:31 pm
I had a problem with compiling cal3d-0.12-r493. In the loader.cpp file my compiler complained that auto_ptr could not found in the std:: namespace. I guess I broke this ebuild by upgrading my gcc to 4.3.1-r1 (unstable). Just in case anyone else runs in this problem here is my solution.

I did this all as root, but depending on your configuration you maybe can do it as a user in the portage group too. And you maybe have to change the /usr/local/portage directory, depending where you installed loux ebuilds.

Code: [Select]
cat > /usr/local/portage/media-libs/cal3d/files/auto_ptr_loader.patch << EOF
--- loader.cpp.orig     2008-09-08 09:33:46.000000000 +0000
+++ loader.cpp  2008-09-08 09:34:27.000000000 +0000
@@ -34,6 +34,8 @@
 #include "cal3d/streamsource.h"
 #include "cal3d/buffersource.h"

+#include <memory> // added for auto_ptr
+
 using namespace cal3d;

 int CalLoader::loadingMode;
EOF

cat > /usr/local/portage/media-libs/cal3d/files/strcasecmp_cal3d_converter.patch << EOF
--- cal3d_converter.cpp.orig    2008-09-08 09:37:06.000000000 +0000
+++ cal3d_converter.cpp 2008-09-08 09:38:45.000000000 +0000
@@ -11,6 +11,8 @@

 #include "cal3d/cal3d.h"

+#include <string.h> // added for strcasecmp
+
 #define SKELETON 0
 #define MESH 1
 #define ANIMATION 2
EOF

cat > /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.patch << EOF
--- cal3d-0.12-r493.ebuild.orig 2008-09-08 09:42:49.000000000 +0000
+++ cal3d-0.12-r493.ebuild      2008-09-08 10:09:17.000000000 +0000
@@ -14,6 +14,8 @@

 DEPEND=""

+inherit eutils
+
 src_compile() {
        cd cal3d
        autoreconf --install --force
@@ -28,3 +30,11 @@
        cd cal3d
        einstall || die
 }
+
+src_unpack() {
+       unpack \${A}
+       cd "cal3d/src"
+       epatch "\${FILESDIR}"/strcasecmp_cal3d_converter.patch
+       cd "cal3d"
+       epatch "\${FILESDIR}"/auto_ptr_loader.patch
+}
EOF

cp /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.ebuild /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.ebuild.orig

patch -i /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.patch /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.ebuild

ebuild /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.ebuild digest

This fix mainly creates two patch files. One for cal3d_converter.cpp that adds a #include <memory> to the code. With this auto_ptr will be available again. The second patch adds a #include <string.h> to cal3d_converter.cpp. This is needed for the strcasecmp function. The last patch I create is a patch for loux ebuild. With this patch the ebuild will make use of the two other patches. Ah, and if anyone else runs in this problem, please send me a short PM. I just want to know if it is a general problem, or something only I experience because I messed up my system ;). Ah, and this is the first ebuild modification I did, so if you notice something I did wrong please correct me. ;)

Maybe someone wants to adjust the user and group of the files created. You can do so with

Code: [Select]
chown root:portage /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.ebuild
chown root:portage /usr/local/portage/media-libs/cal3d/files/*.patch

And you can remove the temporary file
Code: [Select]
rm /usr/local/portage/media-libs/cal3d/cal3d-0.12-r493.patch

EDIT: typos, error in code snipet, added group adjustment and remove of temp file
 
Title: Re: Gentoo ebuilds
Post by: Tyrania on September 08, 2008, 02:01:24 pm
Hi Aiwendil,

do you have run revdep-rebuild after you have upgraded your gcc?
and don't forget atfter gcc update to make "emerge -e system && emerge -e world"...
Title: Re: Gentoo ebuilds
Post by: Aiwendil on September 08, 2008, 02:04:49 pm
thx for the hints Tyrania.
 Yes, I did a revdep-rebuild.

And I got the error when I try to emerge -e ;)
Title: Re: Gentoo ebuilds
Post by: Tyrania on September 08, 2008, 02:15:43 pm
can you post some code from the exact error?
(also when the emerge process abort)
Title: Re: Gentoo ebuilds
Post by: Aiwendil on September 08, 2008, 02:27:52 pm
sure....

http://pastebin.com/m3bb9a51 (http://pastebin.com/m3bb9a51)

and after fixing that first error....

http://pastebin.com/m16eefff4 (http://pastebin.com/m16eefff4)
http://pastebin.com/m10324e72 (http://pastebin.com/m10324e72) <- english
 
I don't see a big deal here. My guess is that some header files dependencies changed and one now have to include <memory> and <string.h> manually and before it they were included in some other header files of the std-lib. But of course just a guess ;)

EDIT: Oops, sorry, forgot the LC_ALL=C in the second log...Hope the german error messages aren't too confusing, added a pastebin with english error messages
Title: Re: Gentoo ebuilds
Post by: Tyrania on September 08, 2008, 02:36:03 pm
Quote
loader.cpp: In static member function 'static CalCoreBone* CalLoader::loadCoreBones(CalDataSource&)':
loader.cpp:851: error: 'auto_ptr' is not a member of 'std'
loader.cpp:851: error: expected primary-expression before '>' token
loader.cpp:851: error: 'pCoreBone' was not declared in this scope
loader.cpp: In static member function 'static CalCoreSubmesh* CalLoader::loadCoreSubmesh(CalDataSource&)':
loader.cpp:1084: error: 'auto_ptr' is not a member of 'std'
loader.cpp:1084: error: expected primary-expression before '>' token
loader.cpp:1084: error: 'pCoreSubmesh' was not declared in this scope
loader.cpp: In static member function 'static CalCoreTrack* CalLoader::loadCoreTrack(CalDataSource&, CalCoreSkeleton*, float, int)':
loader.cpp:1354: error: 'auto_ptr' is not a member of 'std'
loader.cpp:1354: error: expected primary-expression before '>' token
loader.cpp:1354: error: 'pCoreTrack' was not declared in this scope
loader.cpp: In static member function 'static CalCoreMeshPtr CalLoader::loadXmlCoreMesh(cal3d::TiXmlDocument&)':
loader.cpp:2088: error: 'auto_ptr' is not a member of 'std'
loader.cpp:2088: error: expected primary-expression before '>' token
loader.cpp:2088: error: 'pCoreSubmesh' was not declared in this scope
loader.cpp: In static member function 'static CalCoreSkeletonPtr CalLoader::loadXmlCoreSkeleton(cal3d::TiXmlDocument&)':
loader.cpp:2629: error: 'auto_ptr' is not a member of 'std'
loader.cpp:2629: error: expected primary-expression before '>' token
loader.cpp:2629: error: 'pCoreBone' was not declared in this scope
make[3]: *** [loader.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/coremodel.Tpo .deps/coremodel.Plo
mv -f .deps/matrix.Tpo .deps/matrix.Plo
mv -f .deps/coresubmesh.Tpo .deps/coresubmesh.Plo
mv -f .deps/hardwaremodel.Tpo .deps/hardwaremodel.Plo
make[3]: Leaving directory `/var/tmp/portage/media-libs/cal3d-0.12-r493/work/cal3d/src/cal3d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/cal3d-0.12-r493/work/cal3d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/cal3d-0.12-r493/work/cal3d'
make: *** [all] Error 2
*
* ERROR: media-libs/cal3d-0.12-r493 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line  166:  Called die
* The specific snippet of code:
*       emake || die
*  The die message:
*   (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-libs/cal3d-0.12-r493/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/cal3d-0.12-r493/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/'

i think the "loader.cpp" has a big problem...

is this the same version, you had used before? or is this a newer one?


hmm... i update my ps client in this evening, when i have enought time, for testings.

have you changed anything else on your system?


EDIT

omg.. ya...  ???
Title: Re: Gentoo ebuilds
Post by: Aiwendil on September 08, 2008, 02:43:52 pm
That's the problem. I changed a lot....I upgraded gcc and glibc and some other packages (But mainly things like KDE and blender. That's why I think it was the gcc or glibc update). And yes, I used this version of cal3d already before. I was even able to compile PS after the update. (But only because cal3d wasn't updated then). But now I do a emerge -e and was stuck with reinstalling cal3d.

Anyway I want to thank for trying to help ;)
Title: Re: Gentoo ebuilds
Post by: Tyrania on September 08, 2008, 02:45:34 pm
ya... so i will test it on my machine at home and report if i get the same error. :)
Title: Re: Gentoo ebuilds
Post by: Tyrania on September 09, 2008, 07:28:58 pm
erhm.. ja..

i updated the overlay files and then this...

Quote
dragonslair ~ # emerge -NupvD world
WARNING: repository at /usr/local/portage is missing a repo_name entry

These are the packages that would be merged, in order:

Calculating dependencies / * A file is not listed in the Manifest: '/usr/local/portage/games-rpg/planeshift/planeshift-0.4.00-r1.ebuild'
 \ * A file is not listed in the Manifest: '/usr/local/portage/dev-games/crystalspace-ps/crystalspace-ps-1.1-r26889.ebuild'
 * A file is not listed in the Manifest: '/usr/local/portage/dev-games/cel-ps/cel-ps-1.2-r3019.ebuild'
... done!

Total: 0 packages, Size of downloads: 0 kB

hm.. ^^''
Title: Re: Gentoo ebuilds
Post by: Aiwendil on September 09, 2008, 07:48:47 pm
Using the latest ebuilds and I don't have that issue. Anyway, I think a "ebuild /usr/local/portage/games-rpg/planeshift/planeshift-0.4.00-r1.ebuild digest" and for the other ebuilds maybe helps (But please make a backup before ;)). At least I think I had that when I changed the ebuild of cal3d...
Title: Re: Gentoo ebuilds
Post by: Tyrania on September 09, 2008, 08:04:25 pm
nja...

all what i've done was this:

dragonslair portage # tar xvjpf portage.tar.bz2
dragonslair portage # ls
dev-games  games-rpg  media-gfx  media-libs  portage.tar.bz2
dragonslair portage # rm portage.tar.bz2
dragonslair portage # cd
dragonslair ~ # emerge -NupvD world

and this way was in the paste the right way.. maybe something has been changed since i updated ps  ???
Title: Re: Gentoo ebuilds
Post by: UberLord on October 16, 2008, 09:42:46 pm
Quote
loader.cpp: In static member function 'static CalCoreBone* CalLoader::loadCoreBones(CalDataSource&)':
loader.cpp:851: error: 'auto_ptr' is not a member of 'std'
loader.cpp:851: error: expected primary-expression before '>' token
loader.cpp:851: error: 'pCoreBone' was not declared in this scope

gcc-4.3 forces strict header inclusions.
I couldn't see where cal3d includes this foo so I just wanged the right headers in the files that complained
This patch fixes :)

Code: [Select]
diff -ur cal3d.orig/src/cal3d/loader.cpp cal3d/src/cal3d/loader.cpp
--- cal3d.orig/src/cal3d/loader.cpp     2008-10-16 20:26:46.121857215 +0100
+++ cal3d/src/cal3d/loader.cpp  2008-10-16 20:25:55.413857009 +0100
@@ -16,6 +16,7 @@
 // Includes                                                                   //
 //****************************************************************************//

+#include <memory>
 #include "cal3d/loader.h"
 #include "cal3d/error.h"
 #include "cal3d/matrix.h"
diff -ur cal3d.orig/src/cal3d_converter.cpp cal3d/src/cal3d_converter.cpp
--- cal3d.orig/src/cal3d_converter.cpp  2008-10-16 20:37:24.072423219 +0100
+++ cal3d/src/cal3d_converter.cpp       2008-10-16 20:36:36.216423324 +0100
@@ -11,6 +11,8 @@

 #include "cal3d/cal3d.h"

+#include <cstring>
+
 #define SKELETON 0
 #define MESH 1
 #define ANIMATION 2
Title: Re: Gentoo ebuilds
Post by: loux on November 08, 2008, 11:30:07 am
hi there,

thanks to Aiwendil i've include the patchs for cal3d to build with gcc-4.3 (i hope so),
i've upgrade CS to 1.4-31532 and PS to 0.4.02-r2374,
see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on December 01, 2008, 10:03:04 pm
Hi all,

2008-11-08 release cal3d 0.12-r493 + patch for gcc-4.3
2008-11-08 release planeshift-0.4.02-r2374
2008-11-08 release crystalspace-ps-1.4-r31532

don't forget to do : psupdater.sh -repair to get the art !!!
see you
loux
Title: Re: Gentoo ebuilds
Post by: Aiwendil on December 06, 2008, 12:06:47 am
And thank you again loux. Compiles fine for me and starts...When the server is back I will see if it works for me in game too ;)
Title: Re: Gentoo ebuilds
Post by: loux on December 10, 2008, 08:11:32 pm
hi all,

2008-12-10 release planeshift-0.4.03-r2663

see you
loux
Title: Re: Gentoo ebuilds
Post by: hook on December 11, 2008, 06:10:39 am
'crystalspace-ps 1.4-r31648.ebuild' is still not included in the Zugaina overlay — all the other needed ebuilds are though. :/
Title: Re: Gentoo ebuilds
Post by: hook on December 12, 2008, 02:02:51 pm
'crystalspace-ps 1.4-r31648.ebuild' is still not included in the Zugaina overlay — all the other needed ebuilds are though. :/

Is bumped now, compiles and runs ...but I cannot tell how well, because I have a huge graphical problem with my ATi Radeon X600 with the open source 'radeon' (r300) drivers.

Thanks Loux, thanks Zugaina! :]
Title: Re: Gentoo ebuilds
Post by: Das Letzte Einhorn on February 03, 2009, 03:47:19 am
I am having difficulties to install Planeshift through the ebuilds. The client and the crystalspace-ps package install fine, but when I try to download the art package, I get massive file collisions and the merge crashes. When I try to run ./psupdater CheckIntegrity, it complains about : ./psupdater: error while loading shared libraries: libcrystalspace-1.4.so: cannot open shared object file: No such file or directory (though crystalspace-ps installed fine) . I would like to know if others had this issue, so that I can determine if this is an ebuild bug or if I have forgotten to do something. Thanks for your help.
Title: Re: Gentoo ebuilds
Post by: loux on February 03, 2009, 06:48:04 pm
hi Das Letzte Einhorn ,
try psupdater.sh with (.sh at the end) and the option CheckIntegrity or --repair,
see you
Loux
Title: Re: Gentoo ebuilds
Post by: Das Letzte Einhorn on February 04, 2009, 01:54:59 am
hi Das Letzte Einhorn ,
try psupdater.sh with (.sh at the end) and the option CheckIntegrity or --repair,
see you
Loux


xavier-pc bin # psupdater.sh --repair
bash: psupdater.sh: command not found

xavier-pc bin # ./psupdater.sh --repair
bash: ./psupdater.sh: No such file or directory

xavier-pc bin # ./psupdater --repair
./psupdater: error while loading shared libraries: libcrystalspace-1.4.so: cannot open shared object file: No such file or directory

No luck yet... The psupdater file is located in /opt/planeshift/bin
Title: Re: Gentoo ebuilds
Post by: Caarrie on February 04, 2009, 01:59:23 am
what directory are you in? can you do an ls in the directory you are in and verify that you are in the right place to find the psupdater.sh? can you do a "locate psupdater.sh" and see if it finds anything?
Title: Re: Gentoo ebuilds
Post by: loux on February 04, 2009, 06:54:09 pm
hi there,
psupdater.sh is a wrapper for psupdater located in /usr/games/bin/psupdater.sh, you can look into it,
are you sure you're in the game group ?
see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on March 11, 2009, 06:51:52 pm
hi there,

hello ebuilds :

2008-03-10 release planeshift-0.4.03-r3172
2008-03-10 release crystalspace-ps-1.4-r32140 (slotted now, SLOT=1 -> CS 1.4, SLOT=2 -> CS 1.9 for dev :)

WARNINGS : psupdater don't work anymore
>>>>> copy {data, art, vfs.cfg} from binary planeshift

see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on March 24, 2009, 08:05:22 pm
hi there,

2008-08-24 release planeshift-0.4.03-r3302

WARNINGS : psupdater don't work anymore
>>>>> copy {data, art, vfs.cfg} from binary planeshift

see you
loux
Title: Re: Gentoo ebuilds
Post by: loux on December 15, 2009, 06:10:23 pm
hi there,

2009-12-15 release media-gfx/nvidia-cg-toolkit-2.2.0
2009-12-15 release dev-games/crystalspace-ps-1.9-r33336
2009-12-15 release games-rpg/planeshift-0.5.00-r4968

Let me know if the client works for you, but before runs the 2 commands given in the planeshift ebuild

see you
Loux
Title: Re: Gentoo ebuilds
Post by: Kalar on December 18, 2009, 09:44:59 pm
hi there,

2009-12-15 release media-gfx/nvidia-cg-toolkit-2.2.0
2009-12-15 release dev-games/crystalspace-ps-1.9-r33336
2009-12-15 release games-rpg/planeshift-0.5.00-r4968

Let me know if the client works for you, but before runs the 2 commands given in the planeshift ebuild

see you
Loux

How do I get these ebuilds? They're not included in http://loux.thefuture.free.fr/portage.tar.bz2
Title: Re: Gentoo ebuilds
Post by: loux on December 19, 2009, 10:28:05 am
Hi,

you're absolutly right,
now they are there : http://dev.gentooexperimental.org/~loux/portage.tar.bz2 (use PS 4968, for me PS 4978 doesn't work well)
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 18, 2010, 08:55:45 pm
Thank you very much for the ebuild, unfortunately planeshift is still unplayable with xf86-video-ati and mesa git  :'(
Why don't you create an overlay?
Title: Re: Gentoo ebuilds
Post by: weltall on January 19, 2010, 07:26:19 am
unfortunately those drivers still lack a lot of basic functionalities: if you want working 3d you need closed drivers.
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 19, 2010, 10:16:06 am
I opened a bug report for planeshift  :whistling:
http://bugs.freedesktop.org/show_bug.cgi?id=26103
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 20, 2010, 04:27:08 pm
Full pslaunch.sh log:
http://pastebin.com/m2a21af5

In-game planeshift screenshot:
http://darkbasic.homelinux.com/images/planeshift_ingame.jpeg
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 20, 2010, 05:07:30 pm
Quote
Looks like it's missing a bunch of files, including shaders and textures. Is that normal ?

Please see also:
http://www.phoronix.com/forums/showthread.php?t=21518
Title: Re: Gentoo ebuilds
Post by: loux on January 20, 2010, 07:23:06 pm
Hi,

thanks to use the ebuilds, it seems that PS is more or less unstable at the moment,
did you run pslaunch.sh --console --repair ?
see you
Loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 20, 2010, 07:42:04 pm
did you run pslaunch.sh --console --repair ?
Yes, I did.
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 20, 2010, 10:29:56 pm
Why don't you open an account on github, gitorious, sourceforge or google code so everyone can checkout the latest ebuilds with layman?
Title: Re: Gentoo ebuilds
Post by: loux on January 21, 2010, 07:22:54 am
Hi qwertymc2,

it's a good idea, i'll try one this week ! But sources need to be pack in a snapshot and upload on a server each time i build a new ebuild.
see you
Loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on January 21, 2010, 11:30:03 pm
Do you have broken symlinks to libcrystalspace-1.9.and libcrystalspace_opengl-1.9.a in /opt/planeshift/crystalspace-1.9/lib64?
Title: Re: Gentoo ebuilds
Post by: loux on January 22, 2010, 07:19:21 am
Hello,

yes i got it too
see you
Loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 04, 2010, 09:21:45 pm
>>> Downloading 'http://de-mirror.org/distro/gentoo/distfiles/planeshift-data-0.5.1.1-r1.tar.bz2'
and
>>> Downloading 'http://dev.gentooexperimental.org/~loux/distfiles/planeshift-data-0.5.1.1-r1.tar.bz2'
are both broken.

What about the overlay?

Cheers
Title: Re: Gentoo ebuilds
Post by: loux on February 05, 2010, 08:55:04 am
Hi qwertymc2,

planeshift-data was just a proof of concept, right now i don't have the right to release data.
could you provide me a provider for a git ?
see you
loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 05, 2010, 10:40:58 am
Hi,
http://github.com/
http://gitorious.org/
Title: Re: Gentoo ebuilds
Post by: loux on February 05, 2010, 07:26:45 pm
Ok,
i'm a noob in git !
try git clone git://gitorious.org/louxgit/portage.git :)
see you
Loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 06, 2010, 10:35:25 am
# emerge -av app-portage/layman app-portage/autounmask

# echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

layman -f -o http://darkbasic.homelinux.com/layman.xml -a planeshift

autounmask -n games-rpg/planeshift-0.5.01-r5444 (replace with the current version, omitt the version to see which versions are available)



You should add a directory named "profiles" with a file named "repo_name" (file content is "planeshift") for portage 2.2 users.

Very well, thank you for providing a git repository  \\o//

Edit: btw I think you should ask the permission to redistribute planeshift-data, search for games-rpg/planeshift-art in zugaina overlay  :whistling:
It's in their interest to not overload the main server...

P.S. r5444 does not compile for me
Title: Re: Gentoo ebuilds
Post by: loux on February 06, 2010, 12:03:37 pm
Hi qwertymc2,

planeshift-art was my work too :) but data change very quickly so i'll wait for data for now,
thanks for the advice for the git repo
Loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 06, 2010, 12:16:40 pm
You forgot the digest for r5459
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 06, 2010, 11:13:37 pm
r5459 does not work too for me. Does it work for you?
Title: Re: Gentoo ebuilds
Post by: Sen on February 07, 2010, 09:24:27 am
Revision 5459 works for me together with CS 33653 on gentoo.

Sen

-edit- Uhm.. here it's about the ebuild, sorry :/ What I said didn't refer to it but compiling it manually (mods may well delete this post)
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 10, 2010, 05:09:47 pm
* A file is not listed in the Manifest: '/usr/local/portage/layman/planeshift/dev-games/crystalspace-ps/crystalspace-ps-1.9-r33654.ebuild'
 - * Missing digest for '/usr/local/portage/layman/planeshift/games-rpg/planeshift/planeshift-0.5.01-r5469.ebuild'
 \ * Missing digest for '/usr/local/portage/layman/planeshift/dev-games/crystalspace-ps/crystalspace-ps-1.9-r33654.ebuild'

Edit: What about the planeshift-svn ebuild?
Title: Re: Gentoo ebuilds
Post by: loux on February 10, 2010, 07:54:59 pm
Hi qwertymc2,
thanks to have reported the errors,
i need to do a 'git commit -a'
see you
Loux
PS : planeshift-svn was a proof of concept :)
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on February 21, 2010, 11:08:44 pm
Is there a 0.5.2 ebuild?
Title: Re: Gentoo ebuilds
Post by: loux on February 22, 2010, 08:19:37 pm
hi,
here we go !!
not tested :(
see you
loux
Title: Re: Gentoo ebuilds
Post by: a.copy on March 03, 2010, 07:15:10 pm
hello,

I 'm using the layman ebuild but I've a seg fault during pslaunch.sh --consol --repair.
This doesn't append every time for the same file. And both in user or root mode.

Thank to give me some help If you have any idea .



Title: Re: Gentoo ebuilds
Post by: qwertymc2 on March 14, 2010, 10:53:08 pm
It works fine for me in both the deskop and the laptop.
Title: Re: Gentoo ebuilds
Post by: nissarin on April 02, 2010, 11:31:40 am
@qwertymc2
Could you remove <email/> from your xml file - it causes error (at least for me): 'NoneType' object has no attribute 'strip'.
It's probably layman (1.2.6) related bug but it works with empty owner section so..
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on April 02, 2010, 02:49:03 pm
Uhm... there is no email tag in my layman.xml  ::|
Also, I had no problem with layman 1.2.3 and 1.3.2-r2.

It's possible your layman version is bugged, I already had this problem with 1.3.1 (or 1.3.2-r1, I don't remember) and it is now fixed.
Title: Re: Gentoo ebuilds
Post by: nissarin on April 02, 2010, 06:32:22 pm
Yeah.. you are right, well then, package.keywords++ :P
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on May 02, 2010, 02:47:31 pm
!!! A file listed in the Manifest could not be found: /var/lib/layman/planeshift/games-rpg/planeshift/planeshift-0.5.03-r5823.ebuild
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on May 26, 2010, 08:48:14 pm
LinkPlugin cscursor.so
ObjTagMetaData cscursor.so
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 1260 target(s)...
 * ERROR: dev-games/crystalspace-ps-1.9-r34096 failed:
 *   compile failed
 *
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 3034:  Called die
 * The specific snippet of code:
 *       jam || die "compile failed";
Title: Re: Gentoo ebuilds
Post by: loux on May 26, 2010, 09:08:34 pm
Hi,

you need to disable the python USE flags for now,
i've post the error for crystalspace dev (i don't know if they will correct the trouble)
see you,
Loux
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on May 28, 2010, 11:17:25 am
Uhm... why don't you mask the use flag then?
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on August 20, 2010, 07:39:35 pm
Initializing download: http://loux.thefuture.free.fr/distfiles/crystalspace-ps-1.9-r34616.tar.bz2
HTTP/1.1 404 Not Found
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on August 31, 2010, 03:59:17 pm
!!! All ebuilds that could satisfy ">=dev-games/crystalspace-ps-1.9-r34205" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-games/crystalspace-ps-1.9-r34616 (masked by: invalid: DEPEND: USE flag 'python' referenced in conditional 'python?' is not in IUSE)
- dev-games/crystalspace-ps-1.9-r34205 (masked by: invalid: DEPEND: USE flag 'python' referenced in conditional 'python?' is not in IUSE)

(dependency required by "games-rpg/planeshift-0.5.05-r6169" [ebuild])
Title: Re: Gentoo ebuilds
Post by: qwertymc2 on September 02, 2010, 12:48:02 pm
Also, you should add the overlay info to the first post of the thread.

Quote
git://gitorious.org/louxgit/portage.git

# emerge -av app-portage/layman app-portage/autounmask

# echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

layman -f -o http://overlay.linuxsystems.it/layman.xml -a planeshift

autounmask -n games-rpg/planeshift-0.5.01-r5444 (replace with the current version, omitt the version to see which versions are available)