Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934762

Summary: app-office/texstudio[video]: ineffective dependency on media-libs/phonon, supports QtMultimedia instead since 4.5.1
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: TeX project <tex>
Status: CONFIRMED ---    
Severity: normal CC: grozin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=893420
https://bugs.gentoo.org/show_bug.cgi?id=934581
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Sturmlechner gentoo-dev 2024-06-23 10:17:19 UTC
> Changelog
> ## TeXstudio 4.5.1
> - use QtMultimedia instead of phonon to show movies in pdf (non-default)

4.8.1 (or some version prior to that) has:
> !isEmpty(MEDIAPLAYER){
>     QT += multimedia multimediawidgets
>     DEFINES += MEDIAPLAYER
> }

Some time after 4.5.1, phonon must have been quietly dropped by upstream, as these lines in the ebuild are ineffective:
>	if use video; then
>		sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
>	fi

That's why sed usage in ebuilds should always be verified if still applicable.

CCing maintainers who did the last bumps.