Date: Fri, 23 Mar 2007 14:48:02 +0100 From: Karol Kwiatkowski <karol.kwiat@gmail.com> To: freebsd-multimedia@freebsd.org Subject: [patch] change vlc-devel to use wxgtk28 Message-ID: <4603DA92.6030307@gmail.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020706050102060101000500 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Hello all, how about using wxgtk28 in vlc-devel port? My rationale behind this is it's the only port installed here which relies on wxgtk26 (and gstreamer80) so I have to have two versions of those ports installed. Here's the patch against current vlc-devel-0.8.6.a_3,2 port. Apart from changing USE_WX variable it adds one patch, taken from vlc forums[1]. I didn't bump portversion, though. The ports builds and works fine on 7.0-CURRENT i386 and now it relies on: # pkg_info -r vlc-devel-0.8.6.a_3,2.tbz | grep -iE "wxgtk|gstreamer" Dependency: gstreamer-0.10.12 Dependency: gstreamer-plugins-0.10.12,3 Dependency: wxgtk2-common-2.8.0 Dependency: wxgtk2-unicode-2.8.0 Regards, Karol [1] http://forum.videolan.org/viewtopic.php?t=30193 -- Karol Kwiatkowski <karol.kwiat at gmail dot com> OpenPGP 0x06E09309 --------------020706050102060101000500 Content-Type: text/plain; name="multimedia.vlc-devel-0.8.6.a_3,2.wxgtk28.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="multimedia.vlc-devel-0.8.6.a_3,2.wxgtk28.patch" diff -ruN multimedia/vlc-devel.orig/Makefile multimedia/vlc-devel/Makefile --- multimedia/vlc-devel.orig/Makefile Thu Mar 1 01:19:31 2007 +++ multimedia/vlc-devel/Makefile Thu Mar 22 17:55:45 2007 @@ -182,7 +182,7 @@ .endif .if !defined(WITHOUT_WXGTK) -USE_WX= 2.6 +USE_WX= 2.8 WX_UNICODE= yes CONFIGURE_ARGS+=--enable-wxwidgets .else diff -ruN multimedia/vlc-devel.orig/files/patch-modules_gui_wxwidgets_dialogs.cpp multimedia/vlc-devel/files/patch-modules_gui_wxwidgets_dialogs.cpp --- multimedia/vlc-devel.orig/files/patch-modules_gui_wxwidgets_dialogs.cpp Thu Jan 1 01:00:00 1970 +++ multimedia/vlc-devel/files/patch-modules_gui_wxwidgets_dialogs.cpp Fri Mar 23 13:24:43 2007 @@ -0,0 +1,10 @@ +--- modules/gui/wxwidgets/dialogs.cpp ++++ modules/gui/wxwidgets/dialogs.cpp +@@ -380,7 +380,7 @@ + { + p_file_generic_dialog->SetMessage( wxU(p_arg->psz_title) ); + p_file_generic_dialog->SetWildcard( wxU(p_arg->psz_extensions) ); +- p_file_generic_dialog->SetStyle( (p_arg->b_save ? wxSAVE : wxOPEN) | ++ p_file_generic_dialog->SetWindowStyle( (p_arg->b_save ? wxSAVE : wxOPEN) | + (p_arg->b_multiple ? wxMULTIPLE:0) ); + } --------------020706050102060101000500--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4603DA92.6030307>