<div class="gmail_quote"><div><br></div><div> Here is the cross.patch needed for Qt 4.8:</div><div><br></div><div><div>--- qt-everywhere-opensource-src-4.8.0/mkspecs/win32-g++/qmake.conf.orig 2011-09-28 14:32:02.709958498 -0400</div>
<div>+++ qt-everywhere-opensource-src-4.8.0/mkspecs/win32-g++/qmake.conf 2011-09-28 14:36:32.529954583 -0400</div><div>@@ -14,7 +14,7 @@</div><div> QMAKE_EXT_OBJ = .o</div><div> QMAKE_EXT_RES = _res.o</div>
<div> </div><div>-QMAKE_CC<span class="Apple-tab-span" style="white-space:pre"> </span>= gcc</div><div>+QMAKE_CC<span class="Apple-tab-span" style="white-space:pre"> </span>= $(XCC)</div><div> QMAKE_LEX<span class="Apple-tab-span" style="white-space:pre"> </span>= flex</div>
<div> QMAKE_LEXFLAGS<span class="Apple-tab-span" style="white-space:pre"> </span>=</div><div> QMAKE_YACC<span class="Apple-tab-span" style="white-space:pre"> </span>= byacc</div><div>@@ -27,7 +27,7 @@</div><div> QMAKE_CFLAGS_DEBUG<span class="Apple-tab-span" style="white-space:pre"> </span>= -g</div>
<div> QMAKE_CFLAGS_YACC<span class="Apple-tab-span" style="white-space:pre"> </span>= -Wno-unused -Wno-parentheses</div><div> </div><div>-QMAKE_CXX<span class="Apple-tab-span" style="white-space:pre"> </span>= g++</div><div>
+QMAKE_CXX<span class="Apple-tab-span" style="white-space:pre"> </span>= $(XCXX)</div><div> QMAKE_CXXFLAGS<span class="Apple-tab-span" style="white-space:pre"> </span>= $$QMAKE_CFLAGS</div><div> QMAKE_CXXFLAGS_DEPS<span class="Apple-tab-span" style="white-space:pre"> </span>= $$QMAKE_CFLAGS_DEPS</div>
<div> QMAKE_CXXFLAGS_WARN_ON<span class="Apple-tab-span" style="white-space:pre"> </span>= $$QMAKE_CFLAGS_WARN_ON</div><div>@@ -50,8 +50,8 @@</div><div> QMAKE_RUN_CXX<span class="Apple-tab-span" style="white-space:pre"> </span>= $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src</div>
<div> QMAKE_RUN_CXX_IMP<span class="Apple-tab-span" style="white-space:pre"> </span>= $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<</div><div> </div><div>-QMAKE_LINK<span class="Apple-tab-span" style="white-space:pre"> </span>= g++</div>
<div>-QMAKE_LINK_C<span class="Apple-tab-span" style="white-space:pre"> </span>= gcc</div><div>+QMAKE_LINK<span class="Apple-tab-span" style="white-space:pre"> </span>= $(XCXX)</div><div>+QMAKE_LINK_C<span class="Apple-tab-span" style="white-space:pre"> </span>= $(XCC)</div>
<div> QMAKE_LFLAGS<span class="Apple-tab-span" style="white-space:pre"> </span>=</div><div> QMAKE_LFLAGS_EXCEPTIONS_ON = -mthreads</div><div> QMAKE_LFLAGS_EXCEPTIONS_OFF =</div><div>@@ -100,10 +100,10 @@</div><div> QMAKE_IDC<span class="Apple-tab-span" style="white-space:pre"> </span>= $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc.exe</div>
<div> </div><div> QMAKE_IDL<span class="Apple-tab-span" style="white-space:pre"> </span>= midl</div><div>-QMAKE_LIB<span class="Apple-tab-span" style="white-space:pre"> </span>= ar -ru</div><div>+QMAKE_LIB<span class="Apple-tab-span" style="white-space:pre"> </span>= $(XAR) -ru</div>
<div> QMAKE_RC<span class="Apple-tab-span" style="white-space:pre"> </span>= windres</div><div> QMAKE_ZIP<span class="Apple-tab-span" style="white-space:pre"> </span>= zip -r -9</div><div> </div><div>-QMAKE_STRIP<span class="Apple-tab-span" style="white-space:pre"> </span>= strip</div>
<div>+QMAKE_STRIP<span class="Apple-tab-span" style="white-space:pre"> </span>= $(XSTRIP)</div><div> QMAKE_STRIPFLAGS_LIB <span class="Apple-tab-span" style="white-space:pre"> </span>+= --strip-unneeded</div><div> load(qt_config)</div>
<div>--- qt-everywhere-opensource-src-4.8.0/configure<span class="Apple-tab-span" style="white-space:pre"> </span>2011-12-08 06:06:02.000000000 +0100</div><div>+++ qt-everywhere-opensource-src-4.8.0/configure<span class="Apple-tab-span" style="white-space:pre"> </span>2012-02-06 05:04:31.662024288 +0100</div>
<div>@@ -8255,11 +8255,13 @@</div><div> fi</div><div> </div><div> # X11/Unix/Mac only configs</div><div>+if [ "$XPLATFORM_MINGW" != "yes" ]; then</div><div> [ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"</div>
<div> [ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"</div><div> [ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"</div>
<div>-if [ "$XPLATFORM_SYMBIAN" = "no" ]; then</div><div>- # Do not apply following negative X11/Unix/Mac only flags on Symbian, so that</div><div>+fi</div><div>+if [ "$XPLATFORM_SYMBIAN" = "no" -a "$XPLATFORM_MINGW" != "yes" ]; then</div>
<div>+ # Do not apply following negative X11/Unix/Mac only flags on Symbian or MinGW, so that</div><div> # configuration matches with the one generated by configure executable tool</div><div> [ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"</div>
<div> [ "$CFG_GSTREAMER" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GSTREAMER"</div></div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> cross.patch -- several fixes that involve the configure file, which was<br>
> restructured by the Nokia folks<br>
<br>
Looks like it the only not straightforward patch so please just send it<br>
so when we decide to switch to 4.8.x it will be available.<br>
<br>
Thanks for your work<br>
<br>
><br>
> It's all pretty straightforward, fortunately.<br>
><br>
> I will probably post a prebuilt version on my personal website and point to<br>
> it from the (forthcoming) Fedora W32 Build wiki page.<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 06 Feb 2012 13:29:45 -0500<br>
From: Rafa?l Carr? <<a href="mailto:funman@videolan.org">funman@videolan.org</a>><br>
To: Mailing list for VLC media player developers<br>
<<a href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a>><br>
Subject: Re: [vlc-devel] [Packagers][CALL] VLC 2.0.0<br>
Message-ID: <<a href="mailto:4F301C19.1030402@videolan.org">4F301C19.1030402@videolan.org</a>><br>
Content-Type: text/plain; charset=windows-1252<br>
<br>
Le 2012-02-06 13:07, Gilles Sabourin a ?crit :<br>
> Hello,<br>
><br>
> You won't be able to compile mozilla plugin on openSUSE 11.4 due to some GTK3 definitions not backported in GTK2 :<br>
><br>
> vlcplugin_gtk.cpp: In function ?bool video_expose_handler(GtkWidget*, GdkEvent*, void*)?:<br>
> vlcplugin_gtk.cpp:275:49: error: ?gdk_window_get_width? was not declared in this scope<br>
> vlcplugin_gtk.cpp:276:50: error: ?gdk_window_get_height? was not declared in this scope<br>
> make[2]: *** [vlcplugin_gtk.lo] Error 1<br>
<br>
<a href="http://mail.gnome.org/archives/commits-list/2011-April/msg06068.html" target="_blank">http://mail.gnome.org/archives/commits-list/2011-April/msg06068.html</a> has<br>
gtk2 and gtk3 code for the same thing<br>
<br>
><br>
> 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 :<br>
> 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.<br>
><br>
> These definitions seem exist only in :<br>
> gtk-3.0/gdk/gdkwindow.h:int gdk_window_get_width (GdkWindow *window);<br>
> in openSUSE 11.4, but they exist in both places (gtk-2.0 and gtk-3.0) in openSUSE 12.1<br>
><br>
> 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 :<br>
> 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.<br>
><br>
> 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.<br>
> openSUSE 12.1 offers GTK 3.2.1 and is OK. You should refine GTK3 best version for most distributions.<br>
><br>
> Greetings,<br>
> Gilles<br>
><br>
> Le lundi 6 f?vrier 2012 13:10:01, Jean-Baptiste Kempf a ?crit :<br>
>> My dear packagers and port maintainers of VLC,<br>
>><br>
>> VLC 2.0.0 is arriving soon.<br>
>><br>
>> It would be _very_ nice to check your packaging _now_ of VLC 2.0 branch<br>
>> (not master), so that packaging issues are not reported after the<br>
>> release, like usually...<br>
>><br>
>> Moreover, if you have patches that you need backport for, in order to<br>
>> support correctly your OS/port/fork, please speak now, before it is too<br>
>> late, so that we can see how mergeable it is.<br>
>><br>
>> Thanks a lot,<br>
>><br>
>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> vlc-devel mailing list<br>
> To unsubscribe or modify your subscription options:<br>
> <a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 06 Feb 2012 18:33:04 +0000<br>
From: Cheng Sun <<a href="mailto:cheng.sun@ymail.com">cheng.sun@ymail.com</a>><br>
To: Mailing list for VLC media player developers<br>
<<a href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a>><br>
Subject: Re: [vlc-devel] [Packagers][CALL] VLC 2.0.0<br>
Message-ID: <<a href="mailto:4F301CE0.4020004@ymail.com">4F301CE0.4020004@ymail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
On 06/02/12 18:07, Gilles Sabourin wrote:<br>
> vlcplugin_gtk.cpp: In function ?bool video_expose_handler(GtkWidget*, GdkEvent*, void*)?:<br>
> vlcplugin_gtk.cpp:275:49: error: ?gdk_window_get_width? was not declared in this scope<br>
> vlcplugin_gtk.cpp:276:50: error: ?gdk_window_get_height? was not declared in this scope<br>
> make[2]: *** [vlcplugin_gtk.lo] Error 1<br>
<br>
Patch attached that addresses that issue.<br>
<br>
Cheers,<br>
-- Cheng<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: 0001-Gtk-only-use-gdk_window_get_-width-height-when-it-is.patch<br>
Type: text/x-patch<br>
Size: 1337 bytes<br>
Desc: not available<br>
URL: <<a href="http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120206/8f1df320/attachment-0001.bin" target="_blank">http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120206/8f1df320/attachment-0001.bin</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 6 Feb 2012 19:34:25 +0100<br>
From: Jean-Baptiste Kempf <<a href="mailto:jb@videolan.org">jb@videolan.org</a>><br>
To: Mailing list for VLC media player developers<br>
<<a href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a>><br>
Subject: Re: [vlc-devel] [Packagers][CALL] VLC 2.0.0<br>
Message-ID: <<a href="mailto:20120206183425.GA24160@videolan.org">20120206183425.GA24160@videolan.org</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
On Mon, Feb 06, 2012 at 06:33:04PM +0000, Cheng Sun wrote :<br>
> On 06/02/12 18:07, Gilles Sabourin wrote:<br>
> > vlcplugin_gtk.cpp: In function ?bool video_expose_handler(GtkWidget*, GdkEvent*, void*)?:<br>
> > vlcplugin_gtk.cpp:275:49: error: ?gdk_window_get_width? was not declared in this scope<br>
> > vlcplugin_gtk.cpp:276:50: error: ?gdk_window_get_height? was not declared in this scope<br>
> > make[2]: *** [vlcplugin_gtk.lo] Error 1<br>
><br>
> Patch attached that addresses that issue.<br>
<br>
Please apply.<br>
<br>
Best regards,<br>
<br>
--<br>
Jean-Baptiste Kempf<br>
<a href="http://www.jbkempf.com/" target="_blank">http://www.jbkempf.com/</a> - <a href="tel:%2B33%20672%20704%20734" value="+33672704734">+33 672 704 734</a><br>
Sent from my Electronic Device<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Mon, 06 Feb 2012 13:35:24 -0500<br>
From: Rafa?l Carr? <<a href="mailto:funman@videolan.org">funman@videolan.org</a>><br>
To: Mailing list for VLC media player developers<br>
<<a href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a>><br>
Subject: Re: [vlc-devel] [PATCH 1/1] add bin to PATH to let libvlc.dll<br>
be found by vlc-cache-gen.exe<br>
Message-ID: <<a href="mailto:4F301D6C.2070200@videolan.org">4F301D6C.2070200@videolan.org</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Le 2012-02-06 04:20, R?mi Denis-Courmont a ?crit :<br>
> On Sat, 4 Feb 2012 19:12:27 +0700, Sergey Radionov <<a href="mailto:rsatom@gmail.com">rsatom@gmail.com</a>><br>
> wrote:<br>
>> 2011/12/25 Sergey Radionov <<a href="mailto:rsatom@gmail.com">rsatom@gmail.com</a>>:<br>
>>> Fix "This application has failed to start because libvlc.dll<br>
>>> was not found. Re-installing the application may fix this problem."<br>
>>> during building of vlc under Windows.<br>
>>> ---<br>
>>> Makefile.am | 1 +<br>
>>> 1 files changed, 1 insertions(+), 0 deletions(-)<br>
>>><br>
>>> diff --git a/Makefile.am b/Makefile.am<br>
>>> index 358ac5f..dae8ad1 100644<br>
>>> --- a/Makefile.am<br>
>>> +++ b/Makefile.am<br>
>>> @@ -406,6 +406,7 @@ vlc$(EXEEXT):<br>
>>><br>
> ###############################################################################<br>
>>> install-exec-hook:<br>
>>> if test "$(build)" = "$(host)"; then \<br>
>>> + PATH="$(DESTDIR)$(bindir):$$PATH" \<br>
>>> LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH"<br>
> \<br>
>>> "$(DESTDIR)$(vlclibdir)/vlc-cache-gen$(EXEEXT)" \<br>
>>> "$(DESTDIR)$(vlclibdir)/plugins" ; \<br>
>>> --<br>
>>> 1.7.7.1.msysgit.0<br>
>>><br>
>><br>
>> ping?<br>
><br>
> I think I already mentioned it was wrong. Pinging won't change my mind.<br>
<br>
I already applied it, according to<br>
<br>
<<a href="mailto:20120104112301.GA12100@videolan.org">20120104112301.GA12100@videolan.org</a>> :<br>
> Both can be argued for, to be honest.<br>
> However, it is true that most setups (including autotools) install<br>
> windows libraries in /bin.<br>
<br>
And since it wouldn't harm non-Windows runs<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
<a href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br>
<br>
End of vlc-devel Digest, Vol 57, Issue 44<br>
*****************************************<br>
<br>
</blockquote></div><br>