VirtualBox

忽略:
時間撮記:
2009-3-11 下午03:02:54 (16 年 以前)
作者:
vboxsync
訊息:

Solaris/Additions: fix resizing issue with Xorg 1.3.x.

位置:
trunk/src/VBox/Additions/solaris
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r17579 r17698  
    194194    # Some distros like Indiana have no xorg.conf, deal with this
    195195    if test ! -f '/etc/X11/xorg.conf' && test ! -f '/etc/X11/.xorg.conf'; then
    196         /usr/sbin/removef $PKGINST $vboxadditions_path/solarix_xorg.conf 1>/dev/null
    197         mv -f $vboxadditions_path/solaris_xorg.conf /etc/X11/.xorg.conf
     196
     197        # Xorg 1.3.x+ should use the modeline less Xorg confs while older should
     198        # use ones with all the video modelines in place. Argh.
     199        xorgconf_file="solaris_xorg_modeless.conf"
     200        xorgconf_unfit="solaris_xorg.conf"
     201        case "$xorgversion" in
     202            7.1.* | 7.2.* | 6.9.* | 7.0.* )
     203                xorgconf_file="solaris_xorg.conf"
     204                xorgconf_unfit="solaris_xorg_modeless.conf"
     205                ;;
     206        esac
     207
     208        /usr/sbin/removef $PKGINST $vboxadditions_path/$xorgconf_file 1>/dev/null
     209        mv -f $vboxadditions_path/$xorgconf_file /etc/X11/.xorg.conf
     210
     211        /usr/sbin/removef $PKGINST $vboxadditions_path/$xorgconf_unfit 1>/dev/null
     212        rm -f $vboxadditions_path/$xorgconf_unfit
    198213    fi
    199214
  • trunk/src/VBox/Additions/solaris/Makefile.kmk

    r17668 r17698  
    134134                $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
    135135                $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
     136                $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
    136137                $(VBOX_SOLPACKFILES) \
    137138                $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh \
     
    166167        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl                        $(SOLARIS_ADD_INST_DIR)/x11restore.pl
    167168        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf                    $(SOLARIS_ADD_INST_DIR)/solaris_xorg.conf
     169        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf           $(SOLARIS_ADD_INST_DIR)/solaris_xorg_modeless.conf
    168170        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh                         $(SOLARIS_ADD_INST_DIR)/VBoxRandR.sh
    169171        $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf  $(SOLARIS_ADD_INST_DIR)/vboxguest.conf
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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