Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250080 - games-fps/quake3 bundles internal copies of jpeg and zlib
Summary: games-fps/quake3 bundles internal copies of jpeg and zlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2008-12-06 21:38 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-05-06 22:25 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-06 21:38:20 UTC
flame@yamato ioquake3_1.34-rc3 % find code/jpeg-6 
code/jpeg-6
code/jpeg-6/jcdctmgr.c
code/jpeg-6/jmemsys.h
code/jpeg-6/jdcolor.c
code/jpeg-6/jdapimin.c
code/jpeg-6/jdpostct.c
code/jpeg-6/jcapimin.c
code/jpeg-6/jload.c
code/jpeg-6/jdmainct.c
code/jpeg-6/jidctred.c
code/jpeg-6/jcmainct.c
code/jpeg-6/jdphuff.c
code/jpeg-6/jconfig.h
...
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-06 21:39:24 UTC
games-fps/worldofpadman seems to be using the same source files, so has the same problem.
Comment 2 Andrey Vihrov 2009-11-16 19:08:08 UTC
Trunk version of ioquake3 now allows building with system zlib.
Comment 3 Matt Turner gentoo-dev 2010-03-24 01:36:09 UTC
While it is a little bit obnoxious that they include this code, Quake 3 does actually use some jpeg internals that make it nontrivial to factor this code out of the Quake 3 binary.

You'd have to ask someone else for more specifics.

Anyway, I don't think the jpeg code can be easily removed. It's certainly not like almost every other library bundling bug.
Comment 4 Sebastian Pipping gentoo-dev 2010-04-09 22:44:56 UTC
it seems like there is more bundling going on:
- media-libs/openal
- media-libs/libsdl
Comment 5 Andrey Vihrov 2010-11-26 18:54:12 UTC
(In reply to comment #4)
> it seems like there is more bundling going on:
> - media-libs/openal
> - media-libs/libsdl
> 

A brief summary:

Problem                 Fixed by
-------                 --------
Bundled OpenAL headers  USE_LOCAL_HEADERS=0
Bundled Curl headers    USE_LOCAL_HEADERS=0
Bundled libspeex        USE_INTERNAL_SPEEX=0
Bundled SDL headers     USE_LOCAL_HEADERS=0
Bundled zlib            USE_INTERNAL_ZLIB=0 (not in <=1.36)
Bundled libjpeg         none; but see [1]

[1] http://bugzilla.icculus.org/show_bug.cgi?id=4564
Comment 6 Matt Turner gentoo-dev 2011-05-06 22:25:44 UTC
As a fix to bug 222005, I've committed a user-submitted rewritten ebuild which removes all the bundled dependencies. So, this is now fixed! :)