[patch] change vlc-devel to use wxgtk28
Karol Kwiatkowski
karol.kwiat at gmail.com
Fri Mar 23 13:48:00 UTC 2007
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
-------------- next part --------------
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) );
+ }
More information about the freebsd-multimedia
mailing list