VirtualBox

Changeset 88400 in vbox for trunk


Ignore:
Timestamp:
Apr 7, 2021 1:42:48 PM (4 years ago)
Author:
vboxsync
Message:

Config.kmk, Makefile.kmk: bugref:9532: Excessive xcb legacy stuff which was necessary for Qt 5.6.x.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r88338 r88400  
    31053105# NASM (--allow-64-bit: 2.12rc2)
    31063106        $(QUIET)$(APPEND) '$@' 'VBOX_NASM_allow_64_bit         ?= $(call VBOX_NASM_CHECK,--allow-64-bit,)'
    3107 ifeq ($(KBUILD_HOST),linux)
    3108         $(QUIET)$(APPEND) '$@' 'VBOX_LD_HAS_LIBXCB             ?= $(shell /sbin/ldconfig -p|grep -q "\<libxcb\.so\.1\>" && echo "1")'
    3109 endif
    31103107if1of ($(KBUILD_TARGET), linux)
    31113108 ifeq ($(KBUILD_TARGET),$(KBUILD_HOST))
     
    69956992  if1of ($(KBUILD_TARGET), linux freebsd netbsd openbsd solaris)
    69966993   VBOX_QT_MOD += Qt5DBus Qt5XcbQpa Qt5X11Extras
    6997    # legacy libraries required to be installed on EL5
    6998    VBOX_QT_LEGACY_LIBS = $(if $(VBOX_LD_HAS_LIBXCB),,libxcb.so.1 libX11.so.6 libX11-xcb.so.1)
    69996994   VBOX_QT_PLUGINS = \
    70006995        plugins/platforms/libqxcb.so \
     
    71667161    TEMPLATE_VBOXQTGUIEXE_LIBPATH += \
    71677162        $(VBOX_LIBPATH_X11)
    7168    if defined(VBOX_WITH_ORACLE_QT) && !defined(VBOX_LD_HAS_LIBXCB)
    7169     TEMPLATE_VBOXQTGUIEXE_LIBPATH += $(PATH_SDK_QT5_LIB)/legacy
    7170     TEMPLATE_VBOXQTGUIEXE_INCS    += $(PATH_SDK_QT5_INC)/legacy
    7171    endif
    71727163  else ifeq ($(KBUILD_TARGET),darwin)
    71737164   TEMPLATE_VBOXQTGUIEXE_SDKS.darwin        += $(VBOX_DARWIN_DEF_SDK_SDKS)
  • trunk/Makefile.kmk

    r88349 r88400  
    270270     $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(wildcard $(VBOX_PATH_QT_LIB)/lib$(qtmod).so.*.*.*[0-9])=>lib$(qtmod).so.5) \
    271271     $(foreach lib,$(VBOX_QT_PLUGINS),$(VBOX_PATH_QT)/$(lib)=>$(lib))
    272      ifneq ($(KBUILD_TARGET),solaris)
    273       qt5-bin_SOURCES += \
    274        $(foreach lib,$(VBOX_QT_LEGACY_LIBS),$(wildcard $(VBOX_PATH_QT_LIB)/legacy/$(lib).*.*)=>legacy/$(lib))
    275      endif # solaris
    276272   else # !VBOX_WITH_HARDENING
    277273    # For non-hardened builds we need to remove the RUNPATH. This stuff is
     
    286282     $(foreach qtmod,$(VBOX_QT_MOD_NAMES),$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)=>lib$(qtmod).so.5) \
    287283     $(foreach lib,$(VBOX_QT_PLUGINS),$(qt5-bin_0_OUTDIR)/$(lib)=>$(lib))
    288      ifneq ($(KBUILD_TARGET),solaris)
    289       qt5-bin_SOURCES += \
    290        $(foreach lib,$(VBOX_QT_LEGACY_LIBS),$(qt5-bin_0_OUTDIR)/$(lib)=>legacy/$(lib))
    291      endif # solaris
    292284
    293285$(foreach qtmod,$(VBOX_QT_MOD_NAMES),$$(qt5-bin_0_OUTDIR)/lib$(qtmod).so.$(QT5_VERSION)): \
     
    316308        $(QUIET)chrpath --replace "\$$ORIGIN/../../" $@
    317309     endif # solaris linux
    318 
    319 $(foreach lib,$(VBOX_QT_LEGACY_LIBS),$$(qt5-bin_0_OUTDIR)/$(lib)): \
    320         $$(qt5-bin_0_OUTDIR)/% : $(VBOX_PATH_QT_LIB)/legacy/% | $$(qt5-bin_0_OUTDIR)/
    321         $(call MSG_INST_FILE,$^,$@)
    322         $(QUIET)$(CP) $^ $@
    323         $(QUIET)chrpath --delete $@
    324310
    325311   endif # !VBOX_WITH_HARDENING
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