[vlc-devel] [Packagers][CALL] VLC 2.0.0

Gilles Sabourin gilles.sabourin at free.fr
Mon Feb 6 19:07:41 CET 2012


You won't be able to compile mozilla plugin on openSUSE 11.4 due to some GTK3 definitions not backported in GTK2 :

vlcplugin_gtk.cpp: In function ‘bool video_expose_handler(GtkWidget*, GdkEvent*, void*)’:
vlcplugin_gtk.cpp:275:49: error: ‘gdk_window_get_width’ was not declared in this scope
vlcplugin_gtk.cpp:276:50: error: ‘gdk_window_get_height’ was not declared in this scope
make[2]: *** [vlcplugin_gtk.lo] Error 1

I know already vlc developper's answer : complaint to your distro maintainer. This is only to warn openSUSE packagers, since there is not really something  to do :
openSUSE mainteners won't do anything for this release, otherwise they will advise you to switch to openSUSE 12.1, which does not exhibit any problem, using GTK3 API.

These definitions seem exist only in :
gtk-3.0/gdk/gdkwindow.h:int           gdk_window_get_width       (GdkWindow       *window);
in openSUSE 11.4, but they exist in both places (gtk-2.0 and gtk-3.0) in openSUSE 12.1

Anyway, don't spend to much time on this. I had already problems with gtk 3.0 on another project using libvlc and GTK3 : Freetuxtv, whereas API detection was OK :
I had to switch back to GTK2.0 on openSUSE 11.4, and I got angular appearance like motif interfaces on openSUSE 12.1, with same binary, which is the lesser disadvantage.

I doubt that this is an option here and I think you should force GTK3 requirements with : gtk3 > 3.0.0 in npapi configure check.
openSUSE 12.1 offers GTK 3.2.1 and is OK. You should refine GTK3 best version for most distributions. 


Le lundi 6 février 2012 13:10:01, Jean-Baptiste Kempf a écrit :
> My dear packagers and port maintainers of VLC,
> VLC 2.0.0 is arriving soon.
> It would be _very_ nice to check your packaging _now_ of VLC 2.0 branch
> (not master), so that packaging issues are not reported after the
> release, like usually...
> Moreover, if you have patches that you need backport for, in order to
> support correctly your OS/port/fork, please speak now, before it is too
> late, so that we can see how mergeable it is.
> Thanks a lot,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120206/2810a41a/attachment.html>

More information about the vlc-devel mailing list