Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171716 - games-emulation/mupen64 doesn't handle multilib in /usr/games
Summary: games-emulation/mupen64 doesn't handle multilib in /usr/games
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-21 19:23 UTC by Christian Birchinger (RETIRED)
Modified: 2007-03-27 15:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
new ebuild (mupen64-0.5-r3.ebuild,1.93 KB, text/plain)
2007-03-21 19:23 UTC, Christian Birchinger (RETIRED)
Details
patch to fix paths in Makfile and SDL mess (mupen64-0.5-gentoo3.patch,9.50 KB, patch)
2007-03-21 19:24 UTC, Christian Birchinger (RETIRED)
Details | Diff
optional eyecandy enhancment (mupen64-0.5-anisotropic.patch,5.20 KB, patch)
2007-03-21 19:26 UTC, Christian Birchinger (RETIRED)
Details | Diff
Updated ebuild (mupen64-0.5-r3.ebuild,1.94 KB, text/plain)
2007-03-27 00:20 UTC, Christian Birchinger (RETIRED)
Details
Hopefully last attempt (mupen64-0.5-r3.ebuild,2.00 KB, text/plain)
2007-03-27 02:03 UTC, Christian Birchinger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Birchinger (RETIRED) gentoo-dev 2007-03-21 19:23:08 UTC
I've did some patches to games-emulation/mupen64 to make it install stuff nicer on a amd64 box (i don't think lang is fine in lib but that was decided by the author anyway):

qlist:
/usr/games/bin/mupen64
/usr/games/bin/mupen64_nogui
/usr/games/lib32/mupen64/lang/catalan.lng
/usr/games/lib32/mupen64/lang/pt_BR.lng
/usr/games/lib32/mupen64/lang/german.lng
/usr/games/lib32/mupen64/lang/spanish.lng
/usr/games/lib32/mupen64/lang/dutch.lng
/usr/games/lib32/mupen64/lang/italian.lng
/usr/games/lib32/mupen64/lang/english.lng
/usr/games/lib32/mupen64/lang/french.lng
/usr/games/lib32/mupen64/roms/pong.v64.gz
/usr/games/lib32/mupen64/roms/fire.bin.gz
/usr/games/lib32/mupen64/mupen64.ini
/usr/games/lib32/mupen64/jttl_audio.conf
/usr/games/lib32/mupen64/plugins/dummyaudio.so
/usr/games/lib32/mupen64/plugins/jttl_audio.so
/usr/games/lib32/mupen64/plugins/mupen64_soft_gfx.so
/usr/games/lib32/mupen64/plugins/blight_input.so
/usr/games/lib32/mupen64/plugins/mupen64_hle_rsp_azimer.so
/usr/games/lib32/mupen64/plugins/mupen64_input.so
/usr/games/lib32/mupen64/plugins/mupen64_audio.so
/usr/games/lib32/mupen64/plugins/glN64.so
/usr/share/doc/mupen64-0.5-r3/whatsnew.txt.bz2
/usr/share/doc/mupen64-0.5-r3/readme.pdf.bz2
/usr/share/doc/mupen64-0.5-r3/header.txt.bz2

I had to include the SDL and PATH fixes because they collide with the
lib dir stuff.
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2007-03-21 19:23:47 UTC
Created attachment 114002 [details]
new ebuild
Comment 2 Christian Birchinger (RETIRED) gentoo-dev 2007-03-21 19:24:46 UTC
Created attachment 114004 [details, diff]
patch to fix paths in Makfile and SDL mess
Comment 3 Christian Birchinger (RETIRED) gentoo-dev 2007-03-21 19:26:10 UTC
Created attachment 114006 [details, diff]
optional eyecandy enhancment

Yeah, i forgot to rip out this patch before submiting the ebuild so i also include this patch. Feel free to remove if you don't want it included.
Comment 4 Christian Birchinger (RETIRED) gentoo-dev 2007-03-21 19:28:04 UTC
The global ABI=x86 is there to make "inherit games" set the GAMES_LIBDIR to lib32.
I only got this really clean by doing it global (but it's only setting a var).
Should not cause any harm since the application only runs on amd64 and x86 anyway.
Comment 5 Tristan Heaven (RETIRED) gentoo-dev 2007-03-25 15:59:06 UTC
(In reply to comment #4)
> Should not cause any harm since the application only runs on amd64 and x86
> anyway.
> 

Should not but it does on x86. GAMES_LIBDIR is set to "/usr/games/".
Comment 6 Christian Birchinger (RETIRED) gentoo-dev 2007-03-26 23:46:10 UTC
Only if ABI is set to "x86"? Now that puzzles me. Sounds like a bug.
Comment 7 Christian Birchinger (RETIRED) gentoo-dev 2007-03-27 00:10:15 UTC
What about this:

ABI="${ABI/amd64/x86}"

On x86:
./
./usr/
./usr/games/
./usr/games/bin/
./usr/games/bin/mupen64
./usr/games/bin/mupen64_nogui
./usr/games/lib/
./usr/games/lib/mupen64/
./usr/games/lib/mupen64/lang/
./usr/games/lib/mupen64/lang/catalan.lng
./usr/games/lib/mupen64/lang/pt_BR.lng
./usr/games/lib/mupen64/lang/german.lng
./usr/games/lib/mupen64/lang/spanish.lng
./usr/games/lib/mupen64/lang/dutch.lng
./usr/games/lib/mupen64/lang/italian.lng
./usr/games/lib/mupen64/lang/english.lng
./usr/games/lib/mupen64/lang/french.lng
./usr/games/lib/mupen64/roms/
./usr/games/lib/mupen64/roms/pong.v64.gz
./usr/games/lib/mupen64/roms/fire.bin.gz
./usr/games/lib/mupen64/mupen64.ini
./usr/games/lib/mupen64/jttl_audio.conf
./usr/games/lib/mupen64/plugins/
./usr/games/lib/mupen64/plugins/dummyaudio.so
./usr/games/lib/mupen64/plugins/jttl_audio.so
./usr/games/lib/mupen64/plugins/mupen64_soft_gfx.so
./usr/games/lib/mupen64/plugins/blight_input.so
./usr/games/lib/mupen64/plugins/mupen64_hle_rsp_azimer.so
./usr/games/lib/mupen64/plugins/mupen64_input.so
./usr/games/lib/mupen64/plugins/mupen64_audio.so
./usr/games/lib/mupen64/plugins/glN64.so
./usr/share/
./usr/share/doc/
./usr/share/doc/mupen64-0.5-r3/
./usr/share/doc/mupen64-0.5-r3/readme.pdf.gz
./usr/share/doc/mupen64-0.5-r3/header.txt.gz
./usr/share/doc/mupen64-0.5-r3/whatsnew.txt.gz

On amd64:
./
./usr/
./usr/games/
./usr/games/bin/
./usr/games/bin/mupen64
./usr/games/bin/mupen64_nogui
./usr/games/lib32/
./usr/games/lib32/mupen64/
./usr/games/lib32/mupen64/lang/
./usr/games/lib32/mupen64/lang/catalan.lng
./usr/games/lib32/mupen64/lang/pt_BR.lng
./usr/games/lib32/mupen64/lang/german.lng
./usr/games/lib32/mupen64/lang/spanish.lng
./usr/games/lib32/mupen64/lang/dutch.lng
./usr/games/lib32/mupen64/lang/italian.lng
./usr/games/lib32/mupen64/lang/english.lng
./usr/games/lib32/mupen64/lang/french.lng
./usr/games/lib32/mupen64/roms/
./usr/games/lib32/mupen64/roms/pong.v64.gz
./usr/games/lib32/mupen64/roms/fire.bin.gz
./usr/games/lib32/mupen64/mupen64.ini
./usr/games/lib32/mupen64/jttl_audio.conf
./usr/games/lib32/mupen64/plugins/
./usr/games/lib32/mupen64/plugins/dummyaudio.so
./usr/games/lib32/mupen64/plugins/jttl_audio.so
./usr/games/lib32/mupen64/plugins/mupen64_soft_gfx.so
./usr/games/lib32/mupen64/plugins/blight_input.so
./usr/games/lib32/mupen64/plugins/mupen64_hle_rsp_azimer.so
./usr/games/lib32/mupen64/plugins/mupen64_input.so
./usr/games/lib32/mupen64/plugins/mupen64_audio.so
./usr/games/lib32/mupen64/plugins/glN64.so
./usr/share/
./usr/share/doc/
./usr/share/doc/mupen64-0.5-r3/
./usr/share/doc/mupen64-0.5-r3/whatsnew.txt.bz2
./usr/share/doc/mupen64-0.5-r3/readme.pdf.bz2
./usr/share/doc/mupen64-0.5-r3/header.txt.bz2
Comment 8 Christian Birchinger (RETIRED) gentoo-dev 2007-03-27 00:20:03 UTC
Created attachment 114561 [details]
Updated ebuild

Same thing with the "${ABI/amd64/x86}" addition.
Comment 9 Christian Birchinger (RETIRED) gentoo-dev 2007-03-27 01:05:14 UTC
Ok, currently impossible to fix until a games_get_libdir() exists. Closing.
Comment 10 Christian Birchinger (RETIRED) gentoo-dev 2007-03-27 02:03:46 UTC
Created attachment 114564 [details]
Hopefully last attempt

Ok this is hopefully the last attempt.

It should be nice and clean with the updates to various eclasses which
were just added by vapier.
Comment 11 Christian Birchinger (RETIRED) gentoo-dev 2007-03-27 02:04:21 UTC
Ok thanks to vapier it was just made possible to have this fixed in a clean way
Comment 12 Christian Birchinger (RETIRED) gentoo-dev 2007-03-27 15:16:19 UTC
Added to CVS