Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239550 - vlc 0.9.3 doesn't display icons on interface
Summary: vlc 0.9.3 doesn't display icons on interface
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 15:19 UTC by Antonio Augusto Santos
Modified: 2008-10-08 06:50 UTC (History)
0 users

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 Antonio Augusto Santos 2008-10-04 15:19:03 UTC
When building media-video/vlc-0.9.3 with qt support i got a interface without any icons on it. This is, somewhat, related to a bug reported on http://forum.videolan.org/viewtopic.php?f=13&t=50536, but the guy there is using wxgtk.

I then added "jpeg svg bmp png gif tiff" to my use USE flags and ran "emerge -uND world", after that vlc had all its icons displayed.
So i believe there should be some "USE" checking on the ebuild to make sure images are supported on the system if one wants a QT interface.


Reproducible: Didn't try

Steps to Reproduce:
1. emerge VLC-0.9.3 without any image support in the USE flags
2. You should get an vlc without icons
3.
Comment 1 Alexis Ballier gentoo-dev 2008-10-05 10:41:33 UTC
(In reply to comment #0)
> but the guy there is using wxgtk.

he's using 0.9.2 which doesn't have any wxgtk interface :)

> I then added "jpeg svg bmp png gif tiff" to my use USE flags and ran "emerge
> -uND world", after that vlc had all its icons displayed.
> So i believe there should be some "USE" checking on the ebuild to make sure
> images are supported on the system if one wants a QT interface.

maybe needs some useflags checks on qt; could you please try to isolate which one?
I think that might be the png useflag on qt 4.3; which causes other problems too when disabled and is forced on with qt 4.4
Comment 2 Antonio Augusto Santos 2008-10-05 19:03:11 UTC
(In reply to comment #1)
> 
> maybe needs some useflags checks on qt; could you please try to isolate which
> one?
> I think that might be the png useflag on qt 4.3; which causes other problems
> too when disabled and is forced on with qt 4.4
> 

Just tried it.
First o changed my flags remove and image stuff and recompiled everything, as expected i got vlc without icons.
Then i put just "png" for qt in my packages.use, and recompiled it. Now i have vlc with all icons :) Didn't even need to recompile vlc.

So, as you expected Vlc needs png support ;)
Comment 3 Alexis Ballier gentoo-dev 2008-10-05 19:05:43 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > 
> > maybe needs some useflags checks on qt; could you please try to isolate which
> > one?
> > I think that might be the png useflag on qt 4.3; which causes other problems
> > too when disabled and is forced on with qt 4.4
> > 
> 
> Just tried it.
> First o changed my flags remove and image stuff and recompiled everything, as
> expected i got vlc without icons.
> Then i put just "png" for qt in my packages.use, and recompiled it. Now i have
> vlc with all icons :) Didn't even need to recompile vlc.
> 
> So, as you expected Vlc needs png support ;)


I think I could just drop qt < 4.4 support; see bug #189925

Comment 4 Antonio Augusto Santos 2008-10-06 02:51:13 UTC
(In reply to comment #3)
> 
> I think I could just drop qt < 4.4 support; see bug #189925
> 

Well... while I agree this would be a solution i dunno if this is be best of them, as vlc can cleary work with Qt 4.3.

If this is possible maybe something like "if (qt <= 4.3) use png else Ok" should be added to the ebuild...
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2008-10-06 13:16:13 UTC
QT4_BUILT_WITH_USE_CHECK="png" will do that just fine
Comment 6 Alexis Ballier gentoo-dev 2008-10-08 06:50:35 UTC
(In reply to comment #5)
> QT4_BUILT_WITH_USE_CHECK="png" will do that just fine
> 

indeed; thanks

added to 0.9.4