Bug 217716

Summary: multimedia/vlc: After upgrade VLC is broken with - Gtk-ERROR **: GTK+ 2.x symbols detected
Product: Ports & Packages Reporter: andy
Component: Individual Port(s)Assignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me CC: andy, kde, tcberner
Priority: --- Flags: bugzilla: maintainer-feedback? (multimedia)
Version: Latest   
Hardware: amd64   
OS: Any   

Description andy 2017-03-12 04:22:22 UTC
FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #30 r315085: Sat Mar 11 17:19:33 EST 2017     root@BSD_12:/usr/obj/usr/src/sys/MYKERNEL  amd64

After a recent update VLC is broken.  I think it has to do with a recent change to qt5-widgets.  As of 5.7.1 the Configuration Options have changed from
GTK2 to GTK3

===> The following configuration options are available for qt5-widgets-5.7.1:
     GTK3=off: GTK+-based Qt theme

I built qt5-widgets-5.7.1 with GTK3=on and when I start vlc from the command line I get the following:

# vlc
VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
[0000000802512ad0] logger interface: using logger.

(<unknown>:35191): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Trace/BPT trap (core dumped)

Previously, it was possible to put "QT4_OPTIONS=CUPS QGTKSTYLE NAS" into make.conf but I don't think it works anymore.
Comment 1 andy 2017-03-12 06:16:49 UTC
Is it possible to get an option to use GTK2?