Bug 217716 - multimedia/vlc: After upgrade VLC is broken with - Gtk-ERROR **: GTK+ 2.x symbols detected
Summary: multimedia/vlc: After upgrade VLC is broken with - Gtk-ERROR **: GTK+ 2.x sym...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
Depends on:
Reported: 2017-03-12 04:22 UTC by andy
Modified: 2017-05-03 18:40 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (multimedia)


Note You need to log in before you can comment on or make changes to this bug.
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?