virtualbox: clipboard sharing

Bernhard Froehlich decke at bluelife.at
Tue Jun 9 20:01:07 UTC 2009


On Tue, 9 Jun 2009 21:56:03 +0200 (CEST)
Bernhard Fröhlich <decke at bluelife.at> wrote:

> On Tue, June 9, 2009 7:52 pm, Andriy Gapon wrote:
> > on 03/06/2009 12:22 Vladimir Grebenschikov said the following:
> >> Hi
> >>
> >> Can you share port patch ?
> >> I've just tried to add freebsd here and get library installed but I
> >> still have no sharing.
> >
> > Unfortunately I don't have any patches handy right now - I simply hacked
> > the files
> > in the working directory of the port.
> > You can select "Show Log" in the context menu of the particular machine
> > and see if
> > there is anything interesting about VBoxSharedClipboard.
> > And, BTW, I think that for shared clipboard to work you have to install
> > Guest
> > Additions in the guest OS (if supported).
> 
> Thanks, i've created a patch based on your description and added it to the
> vbox port. Compiles fine but i can't test the functionality at the moment
> because newer vbox builds are somehow broken.
> 

If someone wants to test it on one of the CFT ports please do so. Don't know
if it applies though.

--- src/VBox/HostServices/Makefile.kmk.orig	2009-06-09 20:06:46.000000000 +0200
+++ src/VBox/HostServices/Makefile.kmk	2009-06-09 20:07:17.000000000 +0200
@@ -31,7 +31,7 @@
   include $(PATH_SUB_CURRENT)/SharedOpenGL/Makefile.kmk
  endif
 endif
-if1of ($(KBUILD_TARGET), win linux solaris darwin)
+if1of ($(KBUILD_TARGET), win linux solaris darwin freebsd)
  ifdef VBOX_WITH_SHARED_CLIPBOARD
   include $(PATH_SUB_CURRENT)/SharedClipboard/Makefile.kmk
  endif
--- src/VBox/HostServices/SharedClipboard/Makefile.kmk.orig	2009-06-09 20:07:48.000000000 +0200
+++ src/VBox/HostServices/SharedClipboard/Makefile.kmk	2009-06-09 20:08:49.000000000 +0200
@@ -55,7 +55,7 @@
 	$(LIB_VMM) \
 	$(LIB_RUNTIME) \
 	$(LIB_REM)
-if1of ($(KBUILD_TARGET), linux solaris)
+if1of ($(KBUILD_TARGET), linux solaris freebsd)
  ifndef VBOX_HEADLESS
   VBoxSharedClipboard_LIBPATH = \
 	$(VBOX_LIBPATH_X11)



More information about the freebsd-emulation mailing list