VirtualBox

Changeset 58669 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Nov 12, 2015 9:08:04 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104090
Message:

Solaris/Installer: Add support for Python 2.7 bindings, adjusted makefile to do wildcard matching while creating the package.

Location:
trunk/src/VBox/Installer/solaris
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r58458 r58669  
    450450        $(VBOXINST_SDK_INSTALLER_PYTHON_FILES)
    451451 ifeq ($(KBUILD_TARGET_ARCH),amd64)
     452  SOLARIS_PYTHON_32_ON_64_BINS = $(notdir $(wildcard $(PATH_STAGE_BIN)/VBoxPython*_x86.so))
    452453  ifdef VBOX_WITH_32_ON_64_MAIN_API
    453    SOLARIS_COMMON_STRIP_BINS   += VBoxPython2_6_x86.so
     454   SOLARIS_COMMON_STRIP_BINS   += $(SOLARIS_PYTHON_32_ON_64_BINS)
    454455  endif
    455   SOLARIS_COMMON_64_STRIP_BINS += VBoxPython.so VBoxPython2_6.so
     456  SOLARIS_COMMON_64_STRIP_BINS += $(filter-out $(SOLARIS_PYTHON_32_ON_64_BINS), $(notdir $(wildcard $(PATH_STAGE_BIN)/VBoxPython*.so)))
    456457 else
    457   SOLARIS_COMMON_STRIP_BINS    += VBoxPython.so VBoxPython2_6.so
     458  SOLARIS_COMMON_STRIP_BINS    += $(notdir $(wildcard $(PATH_STAGE_BIN)/VBoxPython*.so)))
    458459 endif
    459460endif
  • trunk/src/VBox/Installer/solaris/checkinstall.sh

    r56564 r58669  
    134134
    135135if test -x "$BIN_PKG"; then
    136     checkdep_ips "runtime/python-26"
     136    checkdep_ips_either "runtime/python-26" "runtime/python-27"
    137137    checkdep_ips_either "system/library/iconv/utf-8" "system/library/iconv/iconv-core"
    138138else
  • trunk/src/VBox/Installer/solaris/vboxconfig.sh

    r58657 r58669  
    12741274                        INSTALLEDIT=0
    12751275                    fi
     1276                    PYTHONBIN=`which python2.7 2>/dev/null`
     1277                    install_python_bindings "$PYTHONBIN" "Python 2.7"
     1278                    if test "$?" -eq 0; then
     1279                        INSTALLEDIT=0
     1280                    fi
    12761281
    12771282                    # remove files installed by Python build
     
    12791284
    12801285                    if test "$INSTALLEDIT" -ne 0; then
    1281                         warnprint "No suitable Python version found. Required Python 2.4, 2.5 or 2.6."
     1286                        warnprint "No suitable Python version found. Required Python 2.4, 2.5, 2.6 or 2.7"
    12821287                        warnprint "Skipped installing the Python bindings."
    12831288                    fi
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