Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942682 - games-fps/eduke32-20240619.10591 unnecessary sdl2-mixer [midi] dependency
Summary: games-fps/eduke32-20240619.10591 unnecessary sdl2-mixer [midi] dependency
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-01 19:44 UTC by klamp
Modified: 2024-11-03 14:40 UTC (History)
1 user (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 klamp 2024-11-01 19:44:35 UTC
eduke32 unconditionally depends on sdl2-mixer with midi use flag enabled, but modified ebuild with "midi" dependency removed builds and runs against sdl2-mixer without midi seemingly fine, including music. This is because eduke32 has builtin adlib music code and opl3emu which converts soundtrack .mid files to sound samples.

This dependency should be (probably) required only when eduke32s "timidity" or "fluidsynth" use flags are turned on, but sdl2-mixer ebuild already contains this logic:

midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( midi ) tremor? ( vorbis )

Reproducible: Always

Steps to Reproduce:
1. USE="-timidity -fluidsynth"  emerge -v eduke32

Actual Results:  
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by games-fps/eduke32-20240619.10591::gentoo
# required by eduke32 (argument)
>=media-libs/sdl2-mixer-2.6.3-r1 midi
...


Expected Results:  
Package should merge without complaints