It seems that the post install instruction are wrong. If I follow the instruction, and I put pak files in /usr/share/games/quake2/baseq2, I get something about pics/colormap.pcx not found. But if I "ln -s /usr/share/games/quake2/baseq2/pak0.pak /usr/games/lib/quake2-icculus/baseq2/" the game works. I see that nowhere there's a reference to /usr/share/games/quake2 in the ebuild, so my question is: how it is supposed quake2 will know where to find its files? Something is wrong, either the ebuild, or the post install readme need to be fixed. Best regards, Norberto Reproducible: Always Steps to Reproduce: 1. emerge quake2-icculus 2. follow README-post-install 3. quake2 Actual Results: Error about pics/colormap.pcx not found. Expected Results: Play quake2 workarround: ln -s /usr/share/games/quake2/baseq2/pak0.pak /usr/games/lib/quake2-icculus/baseq2
i'll double check this ... there is a games-fps/quake2-data for this though ...
Created attachment 22346 [details] Diff for Makefile
Created attachment 22347 [details, diff] Diff for src/unix/osinline.h
Comment on attachment 22347 [details, diff] Diff for src/unix/osinline.h Sorry, updated the wrong bug :(
Created attachment 23071 [details] quake2-icculus-0.15.tar.bz2 could you try out this tarball and make sure it works as expected ? you shouldnt have to mess around with anything in /usr/games/lib ... this should find the pak files just fine in /usr/share/games/quake2-data/ root@vapier 0 games-fps # tar -jvcf quake2-icculus-0.15.tar.bz2 quake2-icculus quake2-icculus/ quake2-icculus/files/ quake2-icculus/files/0.15-Makefile-optflags.patch quake2-icculus/files/digest-quake2-icculus-0.15 quake2-icculus/files/README-postinstall quake2-icculus/files/0.15-gentoo-path.patch quake2-icculus/files/0.15-Makefile-noopts.patch quake2-icculus/ChangeLog quake2-icculus/Manifest quake2-icculus/quake2-icculus-0.15.ebuild
now in cvs
I've tested your fix but it didn't fix anything. I haven't tried quake2-data yet though... Regards, Norberto
it fixes everything ... that is, you only have to populate /usr/share/games/quake2-data/ with your data files and this version will find them w/out any magic or fusing around in /usr/games/lib/quake2-icculues/
Ok ok... My fault. My pak files were in /usr/share/games/quake2. I've moved them to /usr/share/games/quake2-icculus and now the ebuild works as expected. Thanks for your work, Norberto