VirtualBox

Changeset 1260 in vbox


Ignore:
Timestamp:
Mar 6, 2007 11:31:33 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19205
Message:

display VBOX_VERSION_STRING in Xorg.log.0 for better bug reports from end-users

Location:
trunk/src/VBox/Additions/linux
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/xgraphics/vboxvideo.c

    r1254 r1260  
    6565#endif
    6666#include "vboxvideo.h"
     67#include "version-generated.h"
    6768
    6869/* All drivers initialising the SW cursor need this */
     
    241242    XF86_VERSION_CURRENT,
    242243#endif /* XORG_7X */
    243     VBOX_MAJOR_VERSION, VBOX_MINOR_VERSION, VBOX_PATCHLEVEL,
    244     ABI_CLASS_VIDEODRV,                 /* This is a video driver */
     244    1,                          /* Module major version. Xorg-specific */
     245    0,                          /* Module minor version. Xorg-specific */
     246#ifdef XORG_7X
     247    1,                          /* Module patchlevel. Xorg-specific */
     248#else
     249    0,                          /* Module patchlevel. Xorg-specific */
     250#endif
     251    ABI_CLASS_VIDEODRV,         /* This is a video driver */
    245252    ABI_VIDEODRV_VERSION,
    246253    MOD_CLASS_VIDEODRV,
     
    415422        return (FALSE);
    416423
     424    xf86Msg(X_INFO,
     425            "VirtualBox guest additions video driver version "
     426            VBOX_VERSION_STRING "\n");
     427
    417428    /* Get our private data from the ScrnInfoRec structure. */
    418429    pVBox = VBOXGetRec(pScrn);
  • trunk/src/VBox/Additions/linux/xgraphics/vboxvideo.h

    r1 r1260  
    131131#define VBOX_NAME               "VBoxVideo"
    132132#define VBOX_DRIVER_NAME        "vboxvideo"
    133 #define VBOX_MAJOR_VERSION      1
    134 #define VBOX_MINOR_VERSION      0
    135 #ifdef XORG_7X
    136 #define VBOX_PATCHLEVEL         1
    137 #else
    138 #define VBOX_PATCHLEVEL         0
    139 #endif
    140133
    141134/*XXX*/
  • trunk/src/VBox/Additions/linux/xmouse/mouse.c

    r1 r1260  
    6565#ifdef VBOX
    6666#include "VBoxUtils.h"
     67#include "version-generated.h"
    6768#endif
    6869
     
    608609    MouseProtocolID protocolID;
    609610    MouseProtocolPtr pProto;
     611
     612#ifdef VBOX
     613    xf86Msg(X_INFO,
     614            "VirtualBox guest additions mouse driver version "
     615            VBOX_VERSION_STRING "\n");
     616#endif
    610617
    611618    if (!InitProtocols())
  • trunk/src/VBox/Additions/linux/xmouse/xorg70/mouse.c

    r1207 r1260  
    104104#ifdef VBOX
    105105#include "VBoxUtils.h"
     106#include "version-generated.h"
    106107#endif
    107108
     
    9991000    Bool detected;
    10001001    int i;
     1002
     1003#ifdef VBOX
     1004    xf86Msg(X_INFO,
     1005            "VirtualBox guest additions mouse driver version "
     1006            VBOX_VERSION_STRING "\n");
     1007#endif
    10011008
    10021009    if (!InitProtocols())
  • trunk/src/VBox/Additions/linux/xmouse/xorg71/mouse.c

    r1 r1260  
    106106#ifdef VBOX
    107107#include "VBoxUtils.h"
     108#include "version-generated.h"
    108109/* Xorg 7.1 does not include xf86_ansic.h anymore. Don't reinclude this
    109110 * file as it renamed ANSI C functions to xf86*. */
     
    10051006    Bool detected;
    10061007    int i;
     1008
     1009#ifdef VBOX
     1010    xf86Msg(X_INFO,
     1011            "VirtualBox guest additions mouse driver version "
     1012            VBOX_VERSION_STRING "\n");
     1013#endif
    10071014
    10081015    if (!InitProtocols())
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