Changeset 38823 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Sep 22, 2011 3:04:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r38822 r38823 297 297 # The mouse driver to install for X.Org 6.9+ 298 298 vboxmouse_src= 299 # The driver extension 300 driver_ext=".so" 299 301 300 302 modules_dir=`X -showDefaultModulePath 2>&1` || modules_dir= … … 326 328 ;; 327 329 1.10.* ) 328 begin "Installing X.Org Server 1.10 modules"330 xserver_version="X.Org Server 1.10" 329 331 vboxvideo_src=vboxvideo_drv_110.so 330 vboxmouse_src=vboxmouse_drv_110.so331 332 # Does Fedora still ship without vboxvideo detection? 332 333 # test "$system" = "redhat" || setupxorgconf="" 333 334 ;; 334 335 1.9.* ) 335 begin "Installing X.Org Server 1.9 modules"336 xserver_version="X.Org Server 1.9" 336 337 vboxvideo_src=vboxvideo_drv_19.so 337 vboxmouse_src=vboxmouse_drv_19.so338 338 # Fedora 14 looks likely to ship without vboxvideo detection 339 339 # test "$system" = "redhat" || setupxorgconf="" 340 340 ;; 341 341 1.8.* ) 342 begin "Installing X.Org Server 1.8 modules"342 xserver_version="X.Org Server 1.8" 343 343 vboxvideo_src=vboxvideo_drv_18.so 344 vboxmouse_src=vboxmouse_drv_18.so345 344 # Fedora 13 shipped without vboxvideo detection 346 345 test "$system" = "redhat" || setupxorgconf="" 347 346 ;; 348 347 1.7.* ) 349 begin "Installing X.Org Server 1.7 modules"348 xserver_version="X.Org Server 1.7" 350 349 vboxvideo_src=vboxvideo_drv_17.so 351 vboxmouse_src=vboxmouse_drv_17.so352 350 setupxorgconf="" 353 351 ;; 354 352 1.6.* ) 355 begin "Installing X.Org Server 1.6 modules"353 xserver_version="X.Org Server 1.6" 356 354 vboxvideo_src=vboxvideo_drv_16.so 357 355 vboxmouse_src=vboxmouse_drv_16.so … … 365 363 ;; 366 364 1.5.* ) 367 begin "Installing X.Org Server 1.5 modules"365 xserver_version="X.Org Server 1.5" 368 366 vboxvideo_src=vboxvideo_drv_15.so 369 367 vboxmouse_src=vboxmouse_drv_15.so … … 373 371 ;; 374 372 1.4.* ) 375 begin "Installing X.Org Server 1.4 modules"373 xserver_version="X.Org Server 1.4" 376 374 vboxvideo_src=vboxvideo_drv_14.so 377 375 vboxmouse_src=vboxmouse_drv_14.so … … 381 379 # This was the first release which gave the server version number 382 380 # rather than the X11 release version when you did 'X -version'. 383 begin "Installing X.Org Server 1.3 modules"381 xserver_version="X.Org Server 1.3" 384 382 vboxvideo_src=vboxvideo_drv_13.so 385 383 vboxmouse_src=vboxmouse_drv_13.so … … 387 385 ;; 388 386 7.1.* | 7.2.* ) 389 begin "Installing X.Org 7.1 modules"387 xserver_version="X.Org 7.1" 390 388 vboxvideo_src=vboxvideo_drv_71.so 391 389 vboxmouse_src=vboxmouse_drv_71.so … … 394 392 ;; 395 393 6.9.* | 7.0.* ) 396 begin "Installing X.Org 6.9/7.0 modules"394 xserver_version="X.Org 6.9/7.0" 397 395 vboxvideo_src=vboxvideo_drv_70.so 398 396 vboxmouse_src=vboxmouse_drv_70.so … … 402 400 6.7* | 6.8.* | 4.2.* | 4.3.* ) 403 401 # Assume X.Org post-fork or XFree86 404 begin "Installing XFree86 4.2/4.3 and X.Org 6.7/6.8 modules" 405 rm "$modules_dir/drivers/vboxvideo_drv.o" 2>/dev/null 406 rm "$modules_dir/input/vboxmouse_drv.o" 2>/dev/null 407 ln -s "$lib_dir/vboxvideo_drv.o" "$modules_dir/drivers/vboxvideo_drv.o" 408 ln -s "$lib_dir/vboxmouse_drv.o" "$modules_dir/input/vboxmouse_drv.o" 402 xserver_version="XFree86 4.2/4.3 and X.Org 6.7/6.8" 403 driver_ext=.o 404 vboxvideo_src=vboxvideo_drv.o 405 vboxmouse_src=vboxmouse_drv.o 409 406 automouse="" 410 407 newmouse="" 411 succ_msg412 408 ;; 413 409 * ) … … 417 413 ;; 418 414 esac 419 if [ -n "$vboxvideo_src" -a -n "$vboxmouse_src" ]; then 420 rm "$modules_dir/drivers/vboxvideo_drv.so" 2>/dev/null 421 rm "$modules_dir/input/vboxmouse_drv.so" 2>/dev/null 422 ln -s "$lib_dir/$vboxvideo_src" "$modules_dir/drivers/vboxvideo_drv.so" 423 ln -s "$lib_dir/$vboxmouse_src" "$modules_dir/input/vboxmouse_drv.so" && 424 succ_msg 425 fi 415 begin "Installing $xserver_version modules" 416 rm "$modules_dir/drivers/vboxvideo_drv$driver_ext" 2>/dev/null 417 rm "$modules_dir/input/vboxmouse_drv$driver_ext" 2>/dev/null 418 case "$vboxvideo_src" in ?*) 419 ln -s "$lib_dir/$vboxvideo_src" "$modules_dir/drivers/vboxvideo_drv$driver_ext";; 420 esac 421 case "$vboxmouse_src" in ?*) 422 ln -s "$lib_dir/$vboxmouse_src" "$modules_dir/input/vboxmouse_drv$driver_ext";; 423 esac 424 succ_msg 426 425 427 426 if test -n "$dox11config"; then
Note:
See TracChangeset
for help on using the changeset viewer.