Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 17:20:37 GMT
From:      Andrew <s3erios@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189430: emulators/virtualbox-ose: fix video capture support
Message-ID:  <201405071720.s47HKb5E042745@cgiserv.freebsd.org>
Resent-Message-ID: <201405071730.s47HU1Q6016076@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189430
>Category:       ports
>Synopsis:       emulators/virtualbox-ose: fix video capture support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 07 17:30:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Andrew
>Release:        
>Organization:
>Environment:
>Description:
VPX module is disabled for FreeBSD in Config.kmk, so selecting "Video Capture" menu item results in "VERR_NOT_IMPLEMENTED" error message.
>How-To-Repeat:
1. Build and install virtualbox-ose with VPX and QT4 option set.
2. Start any virtual machine from GUI.
3. Select "Devices" -> "Video Capture".
>Fix:
Add FreeBSD in list of supported operating systems.

Patch attached with submission follows:

Index: virtualbox-ose/files/patch-Config.kmk
===================================================================
--- virtualbox-ose/files/patch-Config.kmk	(revision 353149)
+++ virtualbox-ose/files/patch-Config.kmk	(working copy)
@@ -1,5 +1,14 @@
 --- Config.kmk.orig	2013-11-28 19:29:52.000000000 +0100
 +++ Config.kmk	2013-12-17 20:15:54.000000000 +0100
+@@ -584,7 +584,7 @@
+ # Enable this to build vbox-img even if VBOX_WITH_TESTCASES is disabled
+ VBOX_WITH_VBOX_IMG =
+ # Enables the VPX module for VM video capturing
+-if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 linux.x86 linux.amd64 solaris.amd64 win.x86 win.amd64)
++if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 freebsd.x86 freebsd.amd64 linux.x86 linux.amd64 solaris.amd64 win.x86 win.amd64)
+  VBOX_WITH_VPX = 1
+ endif
+ # Enable shared folders
 @@ -3260,16 +3260,16 @@
  	$(VBOX_GCC_WARN) -Wpointer-arith -Winline $(VBOX_GCC_Wno-pointer-sign) $(VBOX_GCC_fdiagnostics-show-option) \
  	-Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405071720.s47HKb5E042745>