Bug 122475 - Port games-rpg/freedroidrpg to modular X
Bug#: 122475 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: anakin.skyw@gmx.de
Component: Games
URL: 
Summary: Port games-rpg/freedroidrpg to modular X
Keywords:  
Status Whiteboard: 
Opened: 2006-02-11 10:15 0000
Description:   Opened: 2006-02-11 10:15 0000
Will attach patch.

------- Comment #1 From UncleOwen 2006-02-11 10:15:38 0000 -------
Created an attachment (id=79508) [details]
freedroidrpg-modularx.patch

------- Comment #2 From Joshua Baergen (RETIRED) 2006-02-13 19:43:55 0000 -------
I see the libXt dep, but I don't see the libX11 RDEPEND.  Where are you getting
that from?

------- Comment #3 From UncleOwen 2006-02-16 12:03:37 0000 -------
Sorry for not getting back to you earlier, was busy in real live...

>but I don't see the libX11 RDEPEND.  Where are you getting that from?
That's what Donnie's(?) linking_libs.sh prints:

$ linking_libs.sh freedroidrpg-log 
[...]
Tracing libraries back to packages ...

sys-libs/zlib-1.2.3
sys-libs/glibc-2.3.6-r2
media-libs/libsdl-1.2.9-r1
media-libs/libpng-1.2.8-r1
media-libs/jpeg-6b-r6
media-libs/sdl-mixer-1.2.6-r1
media-libs/libogg-1.1.3
media-libs/sdl-image-1.2.4
media-libs/sdl-net-1.2.5
media-libs/libvorbis-1.1.2
x11-libs/libX11-1.0.0-r1

Tracing build tools back to packages ...

Looking at the build log, it seems to be right:
x86_64-pc-linux-gnu-gcc  -O2 -march=k8 -pipe  
-DFD_DATADIR='"/usr/share/games/freedroidrpg"' -I/usr/include/SDL -D_REENTRANT 
 -rdynamic -o freedroidRPG  menu.o shop.o network.o items.o character.o
skills.o saveloadgame.o leveleditor.o blocks.o graphics.o map.o init.o ship.o
takeover.o bullet.o influ.o misc.o text.o text_public.o sound.o enemy.o input.o
main.o hud.o view.o automap.o BFont.o SDL_rotozoom.o open_gl.o mission.o chat.o
light.o getopt.o getopt1.o scandir.o  -lvorbis -logg -lSDL_mixer -lSDL_net
-lSDL_image -lpng -lz -ljpeg -lm  -lSDL -lpthread -lGL -L/usr/lib64 -lX11  -lm

ldd also confirms this:
$ ldd /usr/games/bin/freedroidRPG | grep X11
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aaaaba79000)


Why do you think it's not needed?

------- Comment #4 From UncleOwen 2006-03-03 07:14:34 0000 -------
Is there anything I need to fix with this patch?

------- Comment #5 From Mr. Bones. 2006-03-03 07:57:26 0000 -------
close enough.

fixed in CVS.

Thanks for the patch and bug report.