Author Topic: Gentoo ebuilds  (Read 42608 times)

rtrentc

  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: gentoo ebuilds
« Reply #30 on: July 23, 2007, 10:06:14 pm »
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.
« Last Edit: July 23, 2007, 10:15:44 pm by rtrentc »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds
« Reply #31 on: July 24, 2007, 01: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

frogimus

  • Wayfarer
  • *
  • Posts: 9
  • FROG...in everything
    • View Profile
Re: gentoo ebuilds
« Reply #32 on: July 24, 2007, 09:53:40 am »
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

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds
« Reply #33 on: July 24, 2007, 10:01:21 am »
frogimus,
did you put "games-rpg/planeshift" in package.keywords ?
you should emerge 0.3.019-r1
see you
loux

frogimus

  • Wayfarer
  • *
  • Posts: 9
  • FROG...in everything
    • View Profile
Re: gentoo ebuilds
« Reply #34 on: July 24, 2007, 11:31:31 am »
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
« Last Edit: July 24, 2007, 11:43:43 am by frogimus »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds
« Reply #35 on: July 24, 2007, 02: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
« Last Edit: July 24, 2007, 02:45:44 pm by loux »

rtrentc

  • Traveller
  • *
  • Posts: 38
    • View Profile
Re: gentoo ebuilds
« Reply #36 on: July 24, 2007, 06:21:51 pm »
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.

frogimus

  • Wayfarer
  • *
  • Posts: 9
  • FROG...in everything
    • View Profile
Re: gentoo ebuilds
« Reply #37 on: July 24, 2007, 08:44:00 pm »
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*
« Last Edit: July 24, 2007, 08:46:04 pm by frogimus »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds
« Reply #38 on: July 25, 2007, 01: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


sliss

  • Traveller
  • *
  • Posts: 34
    • View Profile
    • Sliss
Re: gentoo ebuilds
« Reply #39 on: August 14, 2007, 03: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??

sliss

  • Traveller
  • *
  • Posts: 34
    • View Profile
    • Sliss
Re: gentoo ebuilds
« Reply #40 on: August 14, 2007, 05:04:48 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??

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

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: Gentoo ebuilds
« Reply #41 on: October 10, 2007, 12: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

disi

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Gentoo ebuilds
« Reply #42 on: October 10, 2007, 04: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 **
« Last Edit: October 10, 2007, 04:52:12 pm by disi »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: Gentoo ebuilds
« Reply #43 on: October 11, 2007, 12: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

disi

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Re: Gentoo ebuilds
« Reply #44 on: October 12, 2007, 07:09:50 am »
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  :'(
« Last Edit: October 12, 2007, 09:57:09 am by disi »