Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148593 - dev-games/irrlicht-1.1 patch for jpeg library mismatch
Summary: dev-games/irrlicht-1.1 patch for jpeg library mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 18:17 UTC by Jesper Saxtorph
Modified: 2006-10-14 04:30 UTC (History)
0 users

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


Attachments
patch file implementing the changes suggested by Kevin at the irrlicht forum (irrlicht-1.1-jpeg.patch,787 bytes, patch)
2006-09-21 18:19 UTC, Jesper Saxtorph
Details | Diff
Changed ebuild to include the jpeg patch file and added sed line for makefile patch (irrlicht-1.1-r1.ebuild,1.66 KB, text/plain)
2006-09-21 18:21 UTC, Jesper Saxtorph
Details
Patch to the demo makefile to make it compile on gentoo (makefile.patch,624 bytes, patch)
2006-09-21 18:23 UTC, Jesper Saxtorph
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Saxtorph 2006-09-21 18:17:48 UTC
The irrlitch-1.1.ebuild use some of the lib files coming with irrlicht.

This gives problems when trying to run programs using jpeg files, e.g. the demo (depending on the installed jpeg lib I guess)

From the ebuild file I can see that the intention is to use the gentoo lib files for zlib jpeg and png, so I have made a patch to adopt that.

It consist of two parts.
1) Patching of two source files as mentioned by Kevin on the irrlicht forum. This is in the irrlicht-1.1-jpeg.patch file.
2) Patching of the Makefile to not add the irrlicht own libs to the include path. This is done by an extra line to the sed command.

After this it all works nicely.

For a perfect ebuild we should also patch the example makefiles to use correct paths link the libs, but that must be some other time.
Maybe it could be an idea to just at a comment when emerging telling this.
For the demo program (the only one I have tried so far) the changes I made is not added to my submitted ebuild, but the patch file is submitted.

I have also submitted info on the bug upstream to the irrlicht forums bug part:
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=89501

I am ofcourse willing to give any kind of missing information needed. Just let me know.

-Sax
Comment 1 Jesper Saxtorph 2006-09-21 18:19:34 UTC
Created attachment 97715 [details, diff]
patch file implementing the changes suggested by Kevin at the irrlicht forum
Comment 2 Jesper Saxtorph 2006-09-21 18:21:26 UTC
Created attachment 97716 [details]
Changed ebuild to include the jpeg patch file and added sed line for makefile patch
Comment 3 Jesper Saxtorph 2006-09-21 18:23:50 UTC
Created attachment 97717 [details, diff]
Patch to the demo makefile to make it compile on gentoo
Comment 4 Tupone Alfredo gentoo-dev 2006-10-14 04:30:10 UTC
Patches are now in portage
Thanks a lot