VirtualBox

Changeset 98191 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 22, 2023 12:29:57 AM (2 years ago)
Author:
vboxsync
Message:

Add/linux/lightdm-greeter: Build fixes and switching templates (partially untested as the code doesn't compile on even a 4-5 year old distro any more). bugref:10348

Location:
trunk/src/VBox/Additions/linux/lightdm-greeter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/lightdm-greeter/Makefile.kmk

    r98103 r98191  
    22## @file
    33# Makefile for VBox LightDM greeter for providing automated logons.
     4#
     5# Note! This isn't compiled any more. Remove?
    46#
    57
     
    4345# The greeter module.
    4446PROGRAMS += vbox-greeter
    45 vbox-greeter_TEMPLATE = VBOXGUESTR3EXE
     47vbox-greeter_TEMPLATE = VBoxGuestR3Exe
    4648vbox-greeter_SDKS     = VBoxGlib20WithIo
    4749vbox-greeter_DEFS     = LOG_TO_BACKDOOR VBOX_WITH_HGCM
    48 vbox-greeter_DEFS    += \
    49         VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
     50ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
     51 vbox-greeter_DEFS   += VBOX_BUILD_TARGET="$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)"
     52else
     53 vbox-greeter_DEFS   += VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
     54endif
    5055vbox-greeter_DEFS    += \
    5156        $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) \
  • trunk/src/VBox/Additions/linux/lightdm-greeter/liblightdm-gobject-1.5.0/Makefile.kmk

    r98103 r98191  
    3232LIBRARIES += VBox-liblightdm-gobject
    3333
    34 VBox-liblightdm-gobject_TEMPLATE = VBOXGUESTR3NPLIB
     34VBox-liblightdm-gobject_TEMPLATE = VBoxGuestR3Lib
    3535VBox-liblightdm-gobject_SDKS = VBoxGlib20WithIo
    3636VBox-liblightdm-gobject_INCS = \
     
    3939        /usr/lib/x86_64-linux-gnu/glib-2.0/include \
    4040        /usr/include/gio-unix-2.0
    41 VBox-liblightdm-gobject_DEFS = \
    42         CONFIG_DIR=\"/etc/lightdm\" \
    43         XSESSIONS_DIR=\"/usr/share/xsessions\" \
    44         REMOTE_SESSIONS_DIR=\"/usr/share/lightdm/remote-sessions\"
     41ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
     42 VBox-liblightdm-gobject_DEFS = \
     43        CONFIG_DIR="/etc/lightdm" \
     44        XSESSIONS_DIR="/usr/share/xsessions" \
     45        REMOTE_SESSIONS_DIR="/usr/share/lightdm/remote-sessions"
     46else
     47 VBox-liblightdm-gobject_DEFS = \
     48        CONFIG_DIR=\"/etc/lightdm\" \
     49        XSESSIONS_DIR=\"/usr/share/xsessions\" \
     50        REMOTE_SESSIONS_DIR=\"/usr/share/lightdm/remote-sessions\"
     51endif
    4552VBox-liblightdm-gobject_SOURCES = \
    4653        greeter.c \
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