Author Topic: gentoo ebuilds  (Read 1554 times)

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
gentoo ebuilds
« on: February 03, 2007, 10:47:30 am »
Hello there,
a big warning an official release of CS/CEL ebuilds are in portage now, but they are not (NOT) compatible with PS,
i'm working on ebuilds for that, something like crystalspace-ps and cel-ps to not interfer with official ebuilds need for other program
see you soon
loux.thefuture

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: gentoo ebuilds
« Reply #1 on: February 03, 2007, 11:02:34 am »
If you're going to make an official PS ebuild, I recommend you have one ebuild for CS/CEL/PS, which pulls in the sources for all three and compiles statically. Then install the three binaries produced and use scripts in /usr/bin or /usr/games/bin to run those binaries (you can set env vars inside those scripts if needed).

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds
« Reply #2 on: February 03, 2007, 12:00:43 pm »
hello xordan,
i don't know for the official ebuild,
i don't think one big ebuild is the good way to do, i was thinking about 3 ebuilds crystalspace-ps, cel-ps and planeshift
i don't think downloading and compiling 3 softs in one ebuilds is the good gentoo way to do,
i will be easier for users to install 'emerge planeshift' to make it works but ebuilds don't work that way (if i'm right, but i can be wrong :)
and if you release a minor fix for one you will have to rebuild the 3 and that tooks a very very long time to build CS/CEL now
but i still open to every advice
see you soon
loux.thefuture

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: gentoo ebuilds
« Reply #3 on: February 03, 2007, 12:26:59 pm »
That's a good point, building CS takes a long time so you don't want to have to do that for every little fix to PS. Having -ps ebuilds is probably the best way to go.

moHiJ

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: gentoo ebuilds
« Reply #4 on: February 03, 2007, 01:21:41 pm »
Am I mistaken, or is this problem only temporary until Planeshift uses the new version? And if not, why shouldn't Planeshift just depend on a particular version? Like:
Code: [Select]
RDEPEND="=dev-games/crystalspace-0.98.4" and so on.
In the end Planeshift will either need to make it's own version of cs, or use the official versions which is possible now with the 1.0 release of cs, otherwise (continue to depend on cvs revisons) ps will never be able to be usable in linux distributions.

Greets,
moHiJ

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds
« Reply #5 on: February 03, 2007, 04:07:45 pm »
hello moHi J,
PS depends on a particular version of CS/CEL which is not compatible with the release v1.0,
so if you use CS/CEL just/only for PS you will just have to emerge crystalspace-ps and cel-ps that i'm making right now,
but if you use CS/CEL for others tools/games it will emerge also official release 1.0 crystalspace/cel,
so some people must have 2 versions of CS/CEL installed
see you
loux.thefuture

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: gentoo ebuilds
« Reply #6 on: February 03, 2007, 04:11:42 pm »
In the end Planeshift will either need to make it's own version of cs, or use the official versions which is possible now with the 1.0 release of cs, otherwise (continue to depend on cvs revisons) ps will never be able to be usable in linux distributions.

Well, not having PS in a package manager makes it far from unusable :)