VirtualBox

Changeset 93385 in vbox for trunk


Ignore:
Timestamp:
Jan 20, 2022 8:30:39 PM (3 years ago)
Author:
vboxsync
Message:

Additions: make VBoxDRMClient and VBoxClient --vmsvga-session available only from Linux, bugref:10185.

For the rest of platforms (Solaris, FreeBSD) --vmsvga-session is an alias to --vmsvga.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r93371 r93385  
    3434# if you rename the following program name.
    3535#
    36 PROGRAMS += VBoxDRMClient
     36PROGRAMS.linux += VBoxDRMClient
    3737
    3838VBoxClient_TEMPLATE = NewVBoxGuestR3Exe
     
    126126 VBoxClient_DEFS    += VBOX_WITH_VMSVGA
    127127 VBoxClient_SOURCES += \
    128         display-svga-x11.cpp \
     128        display-svga-x11.cpp
     129 VBoxClient_SOURCES.linux += \
    129130        display-svga-session.cpp \
    130131        display-ipc.cpp \
  • trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h

    r93220 r93385  
    108108extern VBCLSERVICE g_SvcDisplayDRM;
    109109extern VBCLSERVICE g_SvcDisplaySVGA;
     110# ifdef RT_OS_LINUX
    110111extern VBCLSERVICE g_SvcDisplaySVGASession;
     112# endif
    111113extern VBCLSERVICE g_SvcDragAndDrop;
    112114extern VBCLSERVICE g_SvcHostVersion;
  • trunk/src/VBox/Additions/x11/VBoxClient/main.cpp

    r93371 r93385  
    277277#ifdef VBOX_WITH_VMSVGA
    278278    RTPrintf("  --vmsvga             starts VMSVGA dynamic resizing for X11/Wayland guests\n");
     279#ifdef RT_OS_LINUX
    279280    RTPrintf("  --vmsvga-session     starts Desktop Environment specific screen assistant for X11/Wayland guests\n"
    280281             "                       (VMSVGA graphics adapter only)\n");
     282#else
     283    RTPrintf("  --vmsvga-session     an alias for --vmsvga\n");
     284#endif
    281285#endif
    282286    RTPrintf("  -f, --foreground     run in the foreground (no daemonizing)\n");
     
    489493                break;
    490494            }
     495
    491496            case VBOXCLIENT_OPT_VMSVGA_SESSION:
    492497            {
    493498                if (g_Service.pDesc)
    494499                    return vbclSyntaxOnlyOneService();
     500# ifdef RT_OS_LINUX
    495501                g_Service.pDesc = &g_SvcDisplaySVGASession;
     502# else
     503                g_Service.pDesc = &g_SvcDisplaySVGA;
     504# endif
    496505                break;
    497506            }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette