View | Details | Raw Unified | Return to bug 36035
Collapse All | Expand All

(-)a/virtualbox.spec (-9 / +22 lines)
Lines 60-66 Link Here
60
60
61
Name: virtualbox
61
Name: virtualbox
62
Version: 5.2.24
62
Version: 5.2.24
63
Release: alt3
63
Release: alt4
64
64
65
Summary: VM VirtualBox OSE - Virtual Machine for x86 hardware
65
Summary: VM VirtualBox OSE - Virtual Machine for x86 hardware
66
License: GPL
66
License: GPL
Lines 565-577 cd additions >/dev/null Link Here
565
565
566
  install -d %buildroot%xdrv_pre_d
566
  install -d %buildroot%xdrv_pre_d
567
  cat >%buildroot%xdrv_pre_d/virtualbox <<EOF
567
  cat >%buildroot%xdrv_pre_d/virtualbox <<EOF
568
#!/bin/bash
568
#!/bin/sh
569
569
570
if test -f /proc/bus/pci/devices && grep -q 80eebeef /proc/bus/pci/devices; then
570
if [ -f /proc/bus/pci/devices ] && \
571
	mkdir -p %ld_so_confdir
571
	[ -x %_bindir/VBoxClient ] && \
572
	echo %vboxadddir > %ld_so_conf
572
	VBoxClient --check3d && \
573
else
573
	grep -q 80eebeef /proc/bus/pci/devices;
574
	rm -f %ld_so_conf
574
	then
575
		mkdir -p %ld_so_confdir
576
		echo %vboxadddir > %ld_so_conf
577
		ldconfig
578
	else
579
		if [ -f %ld_so_conf ]; then
580
			rm -f %ld_so_conf
581
			# update /etc/ld.so.cache
582
			ldconfig
583
		fi
575
fi
584
fi
576
EOF
585
EOF
577
586
Lines 805-810 mountpoint -q /dev || { Link Here
805
%vboxdir/sdk/bindings/xpcom/include/VBox/com
814
%vboxdir/sdk/bindings/xpcom/include/VBox/com
806
815
807
%changelog
816
%changelog
817
* Thu Feb 07 2019 Mikhail Novosyolov <mikhailnov@altlinux.org> 5.2.24-alt4
818
- Propperly check if 3D acceleration is supported before preloading
819
  VirtualBox's libGL.so.1 and libEGL.so.1 and update ldconfig cache
820
  after changes to /etc/ld.so.conf.d/*.conf (Closes: 36035)
821
808
* Fri Jan 25 2019 Evgeny Sinelnikov <sin@altlinux.org> 5.2.24-alt3
822
* Fri Jan 25 2019 Evgeny Sinelnikov <sin@altlinux.org> 5.2.24-alt3
809
- Fix rEFInd 0.11.4 icons missing due to inaccessible files on ISO9660 partition (Closes: 34435)
823
- Fix rEFInd 0.11.4 icons missing due to inaccessible files on ISO9660 partition (Closes: 34435)
810
824
811
- 

Return to bug 36035