Author Topic: gentoo ebuilds for 0.3.018 is out :)  (Read 6446 times)

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
gentoo ebuilds for 0.3.018 is out :)
« on: February 07, 2007, 09:36:33 am »
Hello,

news :
2008-02-06: release ebuild : crystalspace-ps-1.1-r26294
2008-02-06: release ebuild ; cel-ps-1.1-r2592
2008-02-06:  and planeshift-0.3.018
2008-02-07: fix digest on planeshift ebuild                        (thanks to causality)
2008-02-08: fix sandbox permissions on cel-ps ebuild  (thanks to causality)
2008-02-08: fix USE trouble with java and CS/CEL          (thanks to Jannis)
2008-02-09: channel on IRC : #planeshift-gentoo, i have a bot on it :)
2008-02-09: fix USE, ebuilds CS/CEL now don't use python/perl/java/wx and check for need depends
2008-02-09: warning : if you get "cannot open /config/gldrivers.xml" it's because i put a wrong CRYSTAL env ... change it to CRYSTAL=/opt/planeshift/crystalspace/lib/crystalspace in psclient.sh pssetup.sh and psupdater.sh :)
2008-02-14: fix remove compilation of .dbg files for cel


-------------------------------------------------------------------------------------------------

i just release new ebuilds for client 0.3.018 from 2007-02-07, crystalspace 26294 and cel 2592
a lots of change there, i advice you to unmerge planeshift, crystalspace and cel before merging new,
- ebuild of crystalspace and cel are now called crystalspace-ps and cel-ps because gentoo dev release officials ebuilds for crystalspace/cel which is NOT compatible with planeshift,
- don't worry my ebuilds are installed in /opt/planeshift/{crystalspace/cel} so they don't interfer with official ones,
- 3 scripts appears under /usr/games/bin : psupdater.sh, pssetup.sh and psclient.sh so you don't need to go in the good directory before launching it (it fixed the env too :)
see you soon
loux.thefuture
PS : take about change of ebuilds name in your portage.keywords or portage.unmask too

 :oops: i realise that i didn't explain everything

Ok, create a overlay  - mkdir /usr/local/portage & cd /usr/local/portage
download the ebuilds in it - wget http://loux.thefuture.free.fr/portage.tar.bz2
untar them - tar xjf portage.tar.bz2
add the overlay to gentoo echo "PORTDIR_OVERLAY=/usr/local/portage" >> /etc/make.conf
unmask them :
echo "dev-games/crystalspace-ps" >> /etc/portage/package.unmask
echo "dev-games/cel-ps" >> /etc/portage/package.unmask
echo "games-rpg/planeshift" >> /etc/portage/package.unmask
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
unuse them
echo "dev-games/crystalspace-ps -java" >> /etc/portage/package.use
echo "dev-games/cel-ps -java" >> /etc/portage/package.use
and compile : emerge planeshift

to have the new {art/data} folder, you need to download the binary and install it somewhere then copy {art/data} folder to /opt/planeshift/bin/.

« Last Edit: February 14, 2007, 02:20:47 pm by loux »

Jannis

  • Traveller
  • *
  • Posts: 42
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #1 on: February 07, 2007, 12:30:03 pm »
I just wondered why the compiling-guide in CVS says:
Code: [Select]
PS CVS date: "2007-02-08 00:00:00 UTC"
Your post definitely the answer! Lookig forward to play 0.3.018 =D

(Is that why Laanx is wiped empty right now? Would be funny to be *alone* in Yliakum since the windows-builds aren't out yet)

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #2 on: February 07, 2007, 12:37:22 pm »
Jannis,
so the emerge works ? you could launch psupdate.sh, pssetup.sh and finaly psclient.sh ?
loux

Jannis

  • Traveller
  • *
  • Posts: 42
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #3 on: February 07, 2007, 12:52:42 pm »
I'm just compiling the stuff without the ebuild manually to see the new features but be sure I'll test the ebuild after I've played 10 minutes. Unfortunately I've gotta go to work in 3 hrs, let's see if it's enough time or not.

moHiJ

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #4 on: February 07, 2007, 01:41:21 pm »
What about submitting it to bugzilla?

moHiJ

Jannis

  • Traveller
  • *
  • Posts: 42
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #5 on: February 07, 2007, 02:26:31 pm »
HHmmm..... I can't even connect to Laanx with 0.3.018 :(
So, where can I find the ebuilds?

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #6 on: February 07, 2007, 02:33:11 pm »
the server is down, for now, so it's normal to not be able to connect to server :)
loux

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #7 on: February 07, 2007, 03:04:17 pm »
loux, can you give me some information about what is invovled with creating the ebuilds?  I use Gentoo here myself but never did put in any research in how to create the ebuilds. 

Thanks.

----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #8 on: February 07, 2007, 03:23:03 pm »
hello acraig, i was like few months ago,
to create a new ebuild i take one simple but working well and i adapt it for package i need, look at gentoo doc on ebuild :)
see you
loux

causality

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #9 on: February 07, 2007, 07:41:01 pm »
I am using the current ebuild from http://loux.thefuture.free.fr/portage.tar.bz2 and the latest version included therein is 0.3.017 (even though 0.3.018 is available at http://loux.thefuture.free.fr/distfiles).   ;D I can't believe no one else noticed this.  ;D  Is there an alternative download site to get the 0.3.018 ebuild?

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #10 on: February 07, 2007, 10:56:12 pm »
 :oops: i'm so sorry to have forget to put new ebuilds on the site
causality points to me that
the trouble is repair now, i just upload the new portage.tar.bz2 with new ebuilds for all
see you
loux.thefuture
PS : one point for causality

sliss

  • Traveller
  • *
  • Posts: 34
    • View Profile
    • Sliss
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #11 on: February 07, 2007, 11:32:12 pm »
Loux I followed your instructions but got a mask error after all:
Code: [Select]
localhost portage # emerge planeshift
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.017-r1 (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.011 (masked by: package.mask, ~x86 keyword)
- games-rpg/planeshift-0.3.017-r3 (masked by: package.mask)
- games-rpg/planeshift-0.3.018 (masked by: package.mask)
- games-rpg/planeshift-0.3.017-r2 (masked by: package.mask)

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

Whats your remark on this one?

causality

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #12 on: February 08, 2007, 04:53:24 am »
Sliss,

It looks like you just need to unmask games-rpg/planeshift in /etc/portage/package.keywords and also in /etc/portage/package.unmask.
These two commands (as root) will add the needed entries:

Code: [Select]
echo "games-rpg/planeshift ~*" >> /etc/portage/package.keywords

echo "games-rpg/planeshift" >> /etc/portage/package.unmask

You may also end up having to do similar for some of Planeshift's dependencies, particularly since two of them (crystalspace and cel) now have the -ps suffix.
« Last Edit: February 08, 2007, 08:59:19 am by causality »

loux

  • Hydlaa Citizen
  • *
  • Posts: 222
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #13 on: February 08, 2007, 07:39:33 am »
hello sliss, causality,
it's my fault : in the first post i write "game-rps" instead of "game-rpg", i repair the error,
thanks to have point that
see you
loux.thefuture
PS causality has 2 points now :)

causality

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: gentoo ebuilds for 0.3.018 is out :)
« Reply #14 on: February 08, 2007, 08:43:56 am »
I had an issue with the current ebuild for 0.3.0.018 in that the compile for cel-ps (ebuild file cel-ps-1.1-r2592.ebuild) would go smoothly and then the install would fail during the execution of the command "jam install" citing access violations (I am guessing it didn't deal well with being in a sandbox since this same command worked when done independently of Portage as the root user, but this is where I don't fully understand how emerge works).  The "install" command was receiving permissions errors related to creating directories and files in /opt/planeshift/cel and no amount of adjusting the permissions of anything under /opt would remedy this problem.

Because the cel ebuild from your ebuilds for 0.3.0.017 (ebuild file cel-1.1-r2592.ebuild) didn't give me this problem, I modified the cel-ps-1.1-r2592.ebuild file to resemble the installation method used there, then rebuilt the "Manifest" file and again ran "emerge planeshift".  Once I did this, cel-ps built and installed without a hitch on my system.

http://causality.ifastnet.com/psbuild/cel-ps-1.1-r2592.ebuild is my modified /usr/local/portage/dev-games/cel-ps/cel-ps-1.1-r2592.ebuild file.
If you replace/modify this file, then be sure to run this (as root) so that emerge won't fail due to mismatched checksums:

Code: [Select]
ebuild /usr/local/portage/dev-games/cel-ps/cel-ps-1.1-r2592.ebuild manifest

Also, once all dependencies were successfully built, the building of Planeshift itself failed because its Manifest (file /usr/local/portage/games-rpg/planeshift/Manifest) indicated an incorrect filesize for http://loux.thefuture.free.fr/distfiles/planeshift-0.3.018.tar.bz2.  To fix that, I edited the Manifest file and corrected the expected filesize.  My modified file can be downloaded at http://causality.ifastnet.com/psbuild/Manifest.

Once this was done, everything built with no problems and installed smoothly.  The only possible "gotcha" was that after all the installation was done, the subsequent "etc-update" wanted to modify "/etc/cel/vfs.cfg" by adding two obviously incorrect entries that contained the /var/tmp/portage temporary working directory from the ebuild.  I am not sure what caused this one, but it was easy to catch and the etc-update option of "2)  Delete update, keeping original as is" took care of this.

For convenience, I also made a tarball of my /usr/local/portage overlay, which is loux's original work (from http://loux.thefuture.free.fr/portage.tar.bz2) plus my modifications mentioned above.  It's available at http://causality.ifastnet.com/psbuild/my_overlay.tar.bz2.

I am definitely no expert in Portage, so let me know if any of the above looks like a bad idea :D but the above changes made this work out for me.
« Last Edit: February 08, 2007, 09:27:20 am by causality »