update to 4.3.12

built with X.org 1.15 [release 4.3.12-1mamba;Sun Jun 15 2014]
This commit is contained in:
Silvan Calarco 2024-01-05 17:54:47 +01:00
parent 4472f0e57c
commit f3f7c5dd88
2 changed files with 37 additions and 31 deletions

View File

@ -1,14 +1,15 @@
--- VirtualBox-4.2.10/configure.orig 2013-03-05 15:24:16.000000000 +0100
+++ VirtualBox-4.2.10/configure 2013-04-08 18:50:46.228109839 +0200
@@ -414,9 +414,9 @@
diff -Nru VirtualBox-4.3.12.orig/configure VirtualBox-4.3.12/configure
--- VirtualBox-4.3.12.orig/configure 2014-05-16 14:18:25.000000000 +0200
+++ VirtualBox-4.3.12/configure 2014-06-15 16:23:03.372080228 +0200
@@ -420,9 +420,9 @@
elif [ $cc_maj -lt 3 \
-o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
-o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
- -o \( $cc_maj -eq 4 -a $cc_min -gt 7 \) \
+ -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
- -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
+ -o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
-o $cc_maj -gt 4 ]; then
- log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
+ log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<9"
+ log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10"
fail really
else
log_success "found version $cc_ver"

View File

@ -17,8 +17,8 @@
%endif
Name: VirtualBox
Version: 4.3.10
Release: 2mamba
Version: 4.3.12
Release: 1mamba
Summary: A general-purpose full virtualizer for x86 hardware
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
@ -35,25 +35,14 @@ Source5: %{name}-modprobe
Source6: vdfuse-20140417git.tar.xz
Patch0: %{name}-4.0.8-enable_ffmpeg_capture.patch
Patch1: %{name}-4.1.8-x86_64-disable_check_32bit.patch
Patch2: VirtualBox-4.2.10-gcc-4.8.patch
Patch2: VirtualBox-4.3.12-gcc-4.9.patch
Patch3: VirtualBox-4.2.16-vboxusb-permissions.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libIDL-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libpython27-devel
BuildRequires: libpython-devel
BuildRequires: libqt4-devel
BuildRequires: libSDL-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvncserver-devel
BuildRequires: libxml2-devel
BuildRequires: libX11-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXcursor-devel
@ -64,20 +53,32 @@ BuildRequires: libXinerama-devel
BuildRequires: libXmu-devel
BuildRequires: libXrandr-devel
BuildRequires: libXt-devel
BuildRequires: libcurl-devel
BuildRequires: libdevmapper-devel
BuildRequires: libfuse-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libopenssl-devel
BuildRequires: libpam-devel
BuildRequires: libpng-devel
BuildRequires: libpython27-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libvncserver-devel
BuildRequires: libvpx-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: pam-devel
## AUTOBUILDREQ-END
BuildRequires: bin86
BuildRequires: acpica
BuildRequires: libIDL-devel
BuildRequires: libalsa-devel
BuildRequires: libz-devel
BuildRequires: makeself
BuildRequires: tetex-latex
BuildRequires: latex-ucs
BuildRequires: latex-font-bera
BuildRequires: gsoap-devel
BuildRequires: jdk
BuildRequires: libfuse-devel
Provides: kernelvboxdrv
Obsoletes: kernelvboxdrv
Requires(post):kernelheaders
@ -151,10 +152,11 @@ Kernel DRM driver for VirtualBox guest machines.
#-D -T
#:<< _EOF
#%patch1 -p1
#%patch2 -p1
%patch2 -p1
%patch3 -p1
%build
#:<< _EOF
export CFLAGS="%optflags"
export CXXFLAGS="%optflags"
./configure \
@ -189,11 +191,6 @@ kmk %{?_smp_mflags} VBOX_GCC_WERR= \
# s|\%PACKAGE\%|virtualbox|g" src/VBox/Installer/linux/vboxweb-service.sh.in > \
# src/VBox/Installer/linux/vboxweb-service.sh
# build vdfuse
cd vdfuse
sh ./vdbuild_new ../include/ vdfuse.c
cd ..
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -365,8 +362,12 @@ REMAKE_INITRD=no
AUTOINSTALL=yes
_EOF
# install vdfuse binary
install -m0755 vdfuse/vdfuse %{buildroot}%{_bindir}/vdfuse
# build and install vdfuse
cd vdfuse
export INSTALL_DIR=%{buildroot}/opt/%{name}
sh ./vdbuild_new ../include/ vdfuse.c
install -m0755 vdfuse %{buildroot}%{_bindir}/vdfuse
cd ..
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -581,6 +582,10 @@ fi
%{_prefix}/src/vboxvideo-%{version}/*
%changelog
* Sun Jun 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.12-1mamba
- update to 4.3.12
- built with X.org 1.15
* Thu Apr 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.10-2mamba
- added vdfuse