| Summary: | stepmania-3.9_alpha22.ebuild (Update) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sean Burke <leftmostcat> |
| Component: | New packages | Assignee: | Warp Zero (RETIRED) <warpzero> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | flammie, games, Nebula |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
stepmania-3.9-r20.ebuild
stepmania-3.9-r20-gentoo.patch stepmania-3.9-r20.ebuild stepmania-3.9-r20.ebuild stepmania-3.9-r22.ebuild stepmania-3.9-r22-gentoo.patch Slightly updated ebuild for alpha version of stepmania stepmania-3.9_alpha20.ebuild stepmania-3.9_alpha20-gentoo.patch stepmania-3.9_alpha20.ebuild |
||
|
Description
Sean Burke
2004-06-15 01:59:42 UTC
Created attachment 33297 [details]
stepmania-3.9-r20.ebuild
Created attachment 33298 [details]
stepmania-3.9-r20-gentoo.patch
Requesting testing on x86 by one or more games herd developers. Thx ^_^ Though I'm just a DDR-loving Linux user, I set this up and it compiled perfectly. However, Portage couldn't install it. Here's the error message:
---------------------------------------------
make[1]: Leaving directory `/var/tmp/portage/stepmania-3.9-r20/work/StepMania-3.9-alpha20-src'
>>> Install stepmania-3.9-r20 into /var/tmp/portage/stepmania-3.9-r20/image/ category games-arcade
!!! ERROR: games-arcade/stepmania-3.9-r20 failed.
!!! Function src_install, Line 55, Exitcode 1
!!! Install failed
bash-2.05b#
---------------------------------------------
Seems like it should be easy to fix. If I knew anything about ebuilds, I'd give it a whack.
I probably should mention I'm running Kernel 2.6.7-gentoo, KDE 3.2.2.
Created attachment 33627 [details]
stepmania-3.9-r20.ebuild
Fix syntax error in ebuild.
Still giving me an error.
------------------------------------
make[1]: Leaving directory `/var/tmp/portage/stepmania-3.9-r20/work/StepMania-3.9-alpha20-src'
>>> Install stepmania-3.9-r20 into /var/tmp/portage/stepmania-3.9-r20/image/ category games-arcade
install: cannot stat `src/GtkModule.so': No such file or directory
!!! ERROR: games-arcade/stepmania-3.9-r20 failed.
!!! Function src_install, Line 56, Exitcode 1
!!! Install failed
Gentoo root #
------------------------------------
While you're at it, StepMania 3.9 alpha21 was just released... ;)
Thanks for your efforts at getting this to work...it would be nice if emerge didn't try to recompile SM each time, it takes quite a while for me.
I should also note that my USE flags contains '-gtk', since I'm a KDE fan. :) Sorry, should have remembered to post it with my last comment. Created attachment 33698 [details]
stepmania-3.9-r20.ebuild
Fix an incredibly stupid mistake. Try it again. For what it's worth, I'm just
waiting for this ebuild to work before I create one for a21.
Hehe, yeah, I thought that logic was skewed a bit while looking at it. Well, you'll be thrilled to hear that it works perfectly for me. Only suggestion I can think of is to rename the ebuild from 'stepmania-3.9-r20' to 'stepmania-3.9-a20', since it's an alpha still. Can't wait to see this in the main portage tree!! Also, it'd be fantastic if you could make an ebuild for the SMMAX2 theme. I'll help test the alpha21 ebuild when you post it ;) I also wanted to add...in the ebuild, you have the dependency LUA (A powerful light-weight programming language designed for extending applications) configured so that 5.0 must be installed. LUA-5.0.2 is in portage now (since the 16th of March, this year), and emerge wants to update it, but I've been hesitant since the SM 3.9-r20 ebuild depends on 5.0, and LUA doesn't support SLOTs. I just wondered if SM really depends on that version of LUA, or if you missed hitting the > symbol. Due to apparent differences in the way that lua 5.0 and lua 5.0.2 are set up, my experience has been that code before alpha21 did not compile with newer versions. This may be fixed in alpha21, but I haven't tested it as yet. I will do so and make note of it for the alpha21 ebuild. I edited the -r20 ebuild to have a dependency of LUA 5.0.2, and when I tried to emerge it after that, the configure failed: ---------------------------------- checking for lua-config50... no checking for lua-config... no checking for lua_open in -llua... yes checking for luaopen_base in -llualib... no checking for luaopen_base in -llualib50... no *** liblua is required to build StepMania; please *** make sure that liblua is installed to continue *** the installation process. make: *** No targets specified and no makefile found. Stop. !!! ERROR: games-arcade/stepmania-3.9-r20 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! Make failed root@Gentoo root # ---------------------------------- who knows about -a21. We'll have to wait and see. :) since this compiles fine, would it be too much to ask to get it added into the portage tree, or do we want to wait for your alpha21 ebuild? I would love to see this in portage, but then again, I'd love to see -a21 in portage too ;) 1.) the ebuild needs "inherit eutils" at the top so that the patch will be applied. 2.) While trying to build alpha 21, i needed to add "-lw -ldl" to LDFLAGS during ./configure to get past the lua checks. (This is with 5.0.2 emerged.) I have no idea what those libs are, i just noticed them while emerging lua. The build subsequently failed while linking to libjpeg, which i couldn't figure out (the lib is installed and in the command line). Perhaps the patch fixes that though, since this ebuild worked fine for me after i added "inherit eutils" (didn't try it without first to see, unfortunately). stepmania-3.9-r22 is out, i'm working on an ebuild (its compiling - had to edit the patch as well as part of it has been applied upstream), patch applied cleanly and the ebuild was a version bump so it should work. I'll post back in 5-10 compile failed Created attachment 38815 [details]
stepmania-3.9-r22.ebuild
See what you guys can do with it
Created attachment 38816 [details, diff]
stepmania-3.9-r22-gentoo.patch
I got it compiling alright. I also added some version info to the dependencies from the home page, and added a mask as well because it seems to me that one of the authors(?) has declared current alpha versions too unstable to be added to distro's packages (cf. bug 38613). Created attachment 38951 [details]
Slightly updated ebuild for alpha version of stepmania
Added few dependencies, keyworded.
The bug you are referring to is fourteen alphas old, which is a significant amount of time considering how long alphas have been released. Furthermore, the person who posted that comment has not been an active dev for some time. A fair amount of work has been done to make the alphas more suitable for a traditional-style system install. If I may add, I emerged alpha 20 (and 21) using these ebuilds, and they worked fine, the system didn't take a hit at all. I would imagine that 10 or so alphas are enough to help out. I also don't know why the devs call these alpha builds. They're quite stable when I use them...I've only crashed it once or twice, and they fixed that bug in the next build. So, I'm not going to question the devs, but it seems to me that these alpha builds are good. I can't wait until they feel good enough to start releasing RCs or even a final. I also should add that instead of having the ebuild name be 'stepmania-3.9-r22', it should be stepmania-3.9-a22 or stepmania-3.9-alpha22, since this is an alpha. Unless I missed some note in the ebuild naming convention docs, I have a feeling it'd be better to mark it alpha in the name, not only so users realize what they're getting, but also because -r22 makes me believe that the gentoo devs have revised that version and published it 22 times...just a thought. I'd love to see stepmania back in portage again. It'll always have a home in my portage overlay ;) I am currently testing a new revision of the alpha20 ebuild that addresses a few issues brought up to me and uses a slightly better system of handling paths and whatnot. If it works, I'll throw it up. If it is accepted into Portage, I'll make it suitable for alphas 21 and 22 and get those added as well. actually it should be _alpha22 as per the portage documentation Re comment 22, I did rename the newest ebuild stepmania-3.9.0.22_alpha (of course I screwed up with the name of attachment). I didn't make it _alpha22 because I didn't get it working for some reason, but actually I should've substituted it 3.8.99.22_alpha anyways since that won't be greater than 3.9-final. Regarding stability one might note though, that the package still isn't too ready for installation on system-wide location without problems. The current version seems to hack up some group-writable things and such, I don't know if it's the most proper way to handle it? Also, when I tried it with my computer I had some X lockups (and restarts) which do not appear on same computer with Fedora Core 2 installation of binary rpm, but that might be more a problem with my system configuration (the radeon is giving me much of trouble anyways on that setup). The locked lua version, which isn't slotted might, also be a problem, which needs to be resolved before calling package stable. (+cc'ing myself.) Created attachment 39013 [details]
stepmania-3.9_alpha20.ebuild
Created attachment 39014 [details]
stepmania-3.9_alpha20-gentoo.patch
Invalidated the wrong thing at the wrong time, but it doesn't matter.
Re comment 25, I don't think you need to mark it 3.9.0.22, but just 3.9_alpha22. The current stable version of StepMania is 3.0, and I have a feeling this 3.9 series once it hits stable will become 4.0, not 3.9, since going from 3.0 -> 3.9 would be stupid. These alphas are drastically different from 3.0, and it was my impression the 3.9-alphas would become 4.0-final in the end, not 3.9-final. Kinda like how kernels use odd minor numbers to symbolize development kernels, etc... Or if that doesn't make any sense, I think we should just stick to the versioning the devs are using, since adding that extra 0 in there might make things a little confusing. Or maybe I'm just silly for wanting everything perfect. And, as soon as your revised patch comes out, I'll be sure to help test. I've got 2 DDR PS2 pads running through a USB convertor, and a bunch of eager friends. Ah, so the _alpha-notation supports added numbers after all, then of course it should be _alpha22. Must've made some mistake last time I tested it so please disregard my last comment on that (I also kicked summary back in order). I'm waiting for corrected _alpha22 eagerly as well, and sorry for extraneous spamming. Hey Flammie and Nebula: Leave off. It's being handled. Created attachment 39270 [details]
stepmania-3.9_alpha20.ebuild
Work around broken build against ffmpeg 0.4.9, fix execution
*** This bug has been marked as a duplicate of 70408 *** |