| Summary: | mkvtoolnix: gtk use flags wrongly handled in 0.9.5 ebuild | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Rolf <mi.rolf> |
| Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | flash3001, media-video, rockoo |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I think the 'X' USE flag should determine if it compiles the GUI. If so, then use either gtk2 or -gtk2 version of wxWidgets: if use X ; then if ! use gtk2 ; then need-wxwidgets gtk else need-wxwidgets gtk2 fi fi media-video herd, what do you think? how about making a new global use flag call "GUI" ? I think the solution in comment #1 looks better than my solution. Is a general GUI use flag a little to common? What belongs to this GUI flag? X-Windows, the framebuffer, a LED Display in then PC, or ...? -r1 fixes this |
The wxWindows/wxWidget support of mkvtoolnix is optional but the 0.9.5 ebuild handle it as a mandatory requirement. Up to 0.9.3 I always installed the console only tools of the package with no problems, but after an Update to 0.9.5 I got an failure during the emerge because of missing wx-Files. Reproducible: Always Steps to Reproduce: 1. No wxWindows/wxWidget installed 2. env USE="-X -gtk -gtk2" emerge mkvtoolnix 3. Actual Results: emerge failed Expected Results: the console only tools of mkvtoolnix should be emerged successfully I changed the src_compile() function to the following code to get a working ebuild: src_compile() { if use gtk2 ; then need-wxwidgets gtk2 elif use gtk ; then need-wxwidgets gtk fi ./configure || die "configure died" emake || die "make failed" }