Summary: | Raine MC680x0 Emualtor's ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Javier Marcet <javier-ml-gentoo> |
Component: | [OLD] Games | Assignee: | SpanKY <vapier> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.rainemu.com/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
raine-0.36.2.ebuild
raine-allegro_4.1.5_fix.patch Raine.desktop |
Description
Javier Marcet
2002-11-23 22:39:51 UTC
Created attachment 5905 [details]
raine-0.36.2.ebuild
To go under app-emulation
you forgot to include the patches Created attachment 5916 [details]
raine-allegro_4.1.5_fix.patch
You're right, here you have it.
Place in $FILESDIR/
Created attachment 5917 [details]
Raine.desktop
Put this on $FILESDIR/ too, it is a menu entry for KDE.
If anyone can provide one for Gnome, it would fit well.
By the way, if you look closely at the ebuild you'll see a line which says: RESTRICT=nostrip I added that to avoid the stripping of 'raine' which emerge does automatically. I didn't see that documented anywhere, but found it in ebuild.py Is there any other way to do it? Oh, the reason to do that is that after installing I add 'raine.dat' to 'raine', with 'exedat' from allegro, as explained in some installation tips on the web - they were for DOS, but apply here as well-. The install, by default, puts raine in /usr/bin and raine.dat in /usr/share/raine - actually, those are the places I put in the makefile. The problem is that to make raine work you have to be in /usr/share/raine, or it will claim it can't find raine.dat Thus merging both is a cleaner solution. When emerge strips the binary, it breaks this merge. actually if you look in the man page for ebuild (section 5), all the options for the RESTRICT variable are explained Yes, you are right. I had only read man(1) and the html guides which AFAIR - I could be wronng again, of course - don't mention it. Interesting the fetch and nomirror options too. It seems not everybody is aware of those features or I bet there would be more ebuilds with RESTRICT used. I just 'grepped' the entire portage tree and did not find a single RESTRICT reference. root@vapier root # grep RESTRICT /usr/portage/*-* -R | wc -l 80 There are days one should be stay in bed... I'm ashamed. I just realized what my problem was, I omitted an 'xargs' root# find /portage/ -name '*.ebuild' | grep -n 'RESTRICT' when I should have put: root# find /portage/ -name '*.ebuild' | xargs grep -n 'RESTRICT' If I don't use find, grep goes through all my built packages on. I'll probably move /portage/packages somewhere else... So SpanKY, is Raine working for you? I don't know if I should write to the author about the problems I have. I'd like to hear other people's sucess/failure before doing so. |