Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258332 - games-emulation/daphne bundles an internal copy of libmpeg2
Summary: games-emulation/daphne bundles an internal copy of libmpeg2
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: 2009-02-09 14:46 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2015-02-19 01:07 UTC (History)
1 user (show)

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


Attachments
tries to remove the use of internal libmpeg2 copy (daphne-1.0-ext-libmpeg2.patch,1.57 KB, patch)
2009-12-29 16:59 UTC, Arttu Valo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-09 14:46:13 UTC
It gets built in /usr/games/lib/daphne/libvldp2.so and it's in the source code in src/vldp2/libmpeg2.
Comment 1 Arttu Valo 2009-12-29 16:59:36 UTC
Created attachment 214553 [details, diff]
tries to remove the use of internal libmpeg2 copy

Noticed too late that daphne requires "extra hardware". Still, attaching what I gobbled together, maybe someone else has these laserdiscs, players and thingies, and can proceed.

The patch tries to drop the mpeg2dec originating subdirs from compilation and adds -lmpeg2, and ends up slicing libvldp2.so down from ~105k to ~31k with a reference to a Shared library libmpeg2.so. So I'd imagine it might work, but without the ROMs and hardware I cannot test it beyond the screen that says "couldn't find ROMs". (Also, ebuild should be amended accordingly, e.g., the dependency to media-libs/libmpeg2 added.)
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-02-19 01:07:44 UTC
seems like it works so I went ahead and added the patch.  Heavy users of daphne might report subtle issues that might make me hide the patch behind a system-libs use flag but until then it seems ok.  thanks for the patch.