From owner-freebsd-multimedia@FreeBSD.ORG Fri Mar 23 13:47:59 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6B8816A400 for ; Fri, 23 Mar 2007 13:47:59 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 78D5413C468 for ; Fri, 23 Mar 2007 13:47:57 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1028769ugh for ; Fri, 23 Mar 2007 06:47:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:x-enigmail-version:openpgp:content-type; b=gNlBiRwoGOXc33/PoZAGbBarYSMKmK4MenQFWgmTok86uvAwesry+FUsqBggznFNsZD1rQUe+UhQTjPMv0c+adtA4uUbTiytzOJHD1Lq4u6371uU2xM+27M3PumqmPSL9f0nFm48YNRPrqfn64BTKij4XzZK89sxL0hfz0dSDiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:x-enigmail-version:openpgp:content-type; b=aVt5AtqmT8KnQ8pM24aIHbgGS2R0MFsTGgeFzW0iG07DI1tSIcYzCTtvgwyKFebsglL3KPaEcrF1T+3ca87CZR30gcWeB2GlOTvcQYMfdduYTOIW1DTg27xeO/r0LEx+dqQRSJpxv7rBhPgb9hTaG063BHMeXaQeWm4KRVw/Npk= Received: by 10.66.232.9 with SMTP id e9mr6774480ugh.1174657676288; Fri, 23 Mar 2007 06:47:56 -0700 (PDT) Received: from persephone.orchid.homeunix.org ( [84.10.174.25]) by mx.google.com with ESMTP id g30sm4608880ugd.2007.03.23.06.47.55; Fri, 23 Mar 2007 06:47:55 -0700 (PDT) Message-ID: <4603DA92.6030307@gmail.com> Date: Fri, 23 Mar 2007 14:48:02 +0100 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0b2 (X11/20070306) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org X-Enigmail-Version: 0.94.3.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/mixed; boundary="------------020706050102060101000500" Subject: [patch] change vlc-devel to use wxgtk28 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karol.kwiat@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Mar 2007 13:48:00 -0000 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 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--