[packages/VirtualBox] up to 4.3.24

atler atler at pld-linux.org
Tue Mar 3 22:08:32 CET 2015


commit 7c8a1c17e25aa5e17f6eb9db4130630880175a5f
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 3 22:07:50 2015 +0100

    up to 4.3.24
    
    xorg-version.patch applied upstream

 VirtualBox.spec    |   8 +--
 xorg-version.patch | 181 -----------------------------------------------------
 2 files changed, 3 insertions(+), 186 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 276a7fe..3e2416f 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -53,14 +53,14 @@ exit 1
 Summary:	VirtualBox - x86 hardware virtualizer
 Summary(pl.UTF-8):	VirtualBox - wirtualizator sprzętu x86
 Name:		%{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
-Version:	4.3.22
+Version:	4.3.24
 Release:	%{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
 License:	GPL v2
 Group:		Applications/Emulators
 Source0:	http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}.tar.bz2
-# Source0-md5:	fc21ecc1044dc13cd6c6b601823c6df3
+# Source0-md5:	c9711ee4a040de131c638168d321f3ff
 Source1:	http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso
-# Source1-md5:	ebcb73f29d30a90df6d72dec554a7de7
+# Source1-md5:	a1a4ccd53257c881214aa889f28de9b6
 Source2:	vboxservice.init
 Source3:	vboxservice.service
 Source5:	mount.vdi
@@ -82,7 +82,6 @@ Patch9:		pld-guest.patch
 Patch10:	16-no-update.patch
 Patch11:	18-system-xorg.patch
 Patch12:	%{pname}-all-translations.patch
-Patch13:	xorg-version.patch
 URL:		http://www.virtualbox.org/
 %if %{with userspace}
 %ifarch %{x8664}
@@ -525,7 +524,6 @@ cd ../..\
 %patch10 -p1
 %patch11 -p1
 %patch12 -p0
-%patch13 -p1
 
 %{__sed} -i -e 's, at VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
 	-e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in
diff --git a/xorg-version.patch b/xorg-version.patch
deleted file mode 100644
index d8c57b6..0000000
--- a/xorg-version.patch
+++ /dev/null
@@ -1,181 +0,0 @@
-diff --git a/src/VBox/Additions/x11/vboxvideo/Makefile.kmk b/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
-index 592d65e..6cdf46b 100644
---- a/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
-+++ b/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
-@@ -130,7 +130,7 @@ vboxvideo_drv_SOURCES = \
- #
- DLLS += vboxvideo_drv_70
- vboxvideo_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD
--vboxvideo_drv_70_DEFS = $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=700000000
-+vboxvideo_drv_70_DEFS = $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=70000000
- ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here.
-  vboxvideo_drv_70_CFLAGS += -D_XPG6 -Wno-shadow # Use XPG6 until we have moved the C++ bits into a library.
- endif
-@@ -147,7 +147,7 @@ vboxvideo_drv_70_SOURCES  = $(vboxvideo_drv_SOURCES)
- DLLS += vboxvideo_drv_71
- vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_71_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=700100000
-+vboxvideo_drv_71_DEFS := $(vboxvideo_70_DEFS) XORG_VERSION_CURRENT=70100000
- vboxvideo_drv_71_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.1.0
-@@ -161,7 +161,7 @@ vboxvideo_drv_71_SOURCES  = $(vboxvideo_drv_SOURCES)
- DLLS += vboxvideo_drv_13
- vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_13_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100300000
-+vboxvideo_drv_13_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=10300000
- vboxvideo_drv_13_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.3.0.0
-@@ -175,7 +175,7 @@ vboxvideo_drv_13_SOURCES = $(vboxvideo_drv_SOURCES) edid.c
- DLLS += vboxvideo_drv_14
- vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_14_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=100400000
-+vboxvideo_drv_14_DEFS := $(vboxvideo_13_DEFS) XORG_VERSION_CURRENT=10400000
- vboxvideo_drv_14_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.4.2
-@@ -189,7 +189,7 @@ vboxvideo_drv_14_SOURCES  = $(vboxvideo_drv_13_SOURCES)
- DLLS += vboxvideo_drv_15
- vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100503000
-+vboxvideo_drv_15_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10503000
- if1of ($(KBUILD_TARGET), linux solaris)
-  vboxvideo_drv_15_DEFS += \
-  	VBOX_DRI_OLD
-@@ -211,7 +211,7 @@ endif
- DLLS += vboxvideo_drv_16
- vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100600000
-+vboxvideo_drv_16_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10600000
- if1of ($(KBUILD_TARGET), linux solaris)
-  vboxvideo_drv_16_DEFS += \
-  	VBOX_DRI_OLD
-@@ -229,7 +229,7 @@ vboxvideo_drv_16_SOURCES := $(vboxvideo_drv_15_SOURCES)
- DLLS += vboxvideo_drv_17
- vboxvideo_drv_17_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_17_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100699000
-+vboxvideo_drv_17_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10699000
- vboxvideo_drv_17_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.7.7
-@@ -247,7 +247,7 @@ endif
- DLLS += vboxvideo_drv_18
- vboxvideo_drv_18_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_18_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100800000
-+vboxvideo_drv_18_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10800000
- vboxvideo_drv_18_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0
-@@ -261,7 +261,7 @@ vboxvideo_drv_18_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_19
- vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=100900000
-+vboxvideo_drv_19_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=10900000
- vboxvideo_drv_19_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0
-@@ -275,7 +275,7 @@ vboxvideo_drv_19_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_110
- vboxvideo_drv_110_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_110_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101000000
-+vboxvideo_drv_110_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11000000
- vboxvideo_drv_110_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.10.0
-@@ -289,7 +289,7 @@ vboxvideo_drv_110_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_111
- vboxvideo_drv_111_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_111_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101100000
-+vboxvideo_drv_111_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11100000
- vboxvideo_drv_111_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.11.0
-@@ -303,7 +303,7 @@ vboxvideo_drv_111_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_112
- vboxvideo_drv_112_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_112_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101200000
-+vboxvideo_drv_112_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11200000
- vboxvideo_drv_112_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.12.0
-@@ -317,7 +317,7 @@ vboxvideo_drv_112_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_113
- vboxvideo_drv_113_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_113_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_113_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101300000
-+vboxvideo_drv_113_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11300000
- vboxvideo_drv_113_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.13.0
-@@ -331,7 +331,7 @@ vboxvideo_drv_113_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_114
- vboxvideo_drv_114_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_114_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_114_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101400000
-+vboxvideo_drv_114_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11400000
- vboxvideo_drv_114_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.14.0
-@@ -345,7 +345,7 @@ vboxvideo_drv_114_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_115
- vboxvideo_drv_115_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_115_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_115_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101500000
-+vboxvideo_drv_115_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11500000
- vboxvideo_drv_115_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.15.0
-@@ -359,7 +359,7 @@ vboxvideo_drv_115_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_116
- vboxvideo_drv_116_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_116_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_116_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101600000
-+vboxvideo_drv_116_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11600000
- vboxvideo_drv_116_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.16.0
-@@ -373,7 +373,7 @@ vboxvideo_drv_116_SOURCES := $(vboxvideo_drv_17_SOURCES)
- DLLS += vboxvideo_drv_117
- vboxvideo_drv_117_TEMPLATE = VBOXGUESTR3XORGMOD
- vboxvideo_drv_117_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
--vboxvideo_drv_117_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=101700000
-+vboxvideo_drv_117_DEFS := $(vboxvideo_15_DEFS) XORG_VERSION_CURRENT=11700000
- vboxvideo_drv_117_INCS = \
- 	$(vboxvideo_xorg_INCS) \
- 	$(VBOX_PATH_X11_ROOT)/xorg-server-1.17.1
-@@ -388,7 +388,7 @@ ifdef VBOX_USE_SYSTEM_XORG_HEADERS
-  vboxvideo_drv_system_TEMPLATE = VBOXGUESTR3XORGMOD
-  vboxvideo_drv_system_CFLAGS := \
-         $(vboxvideo_drv_70_CFLAGS) -include xorg-server.h
-- vboxvideo_drv_system_DEFS := $(vboxvideo_15_DEFS)
-+ vboxvideo_drv_system_DEFS := $(filter-out _XORG_SERVER_H_ _DIX_CONFIG_H_, $(vboxvideo_15_DEFS))
-  vboxvideo_drv_system_INCS += \
-         $(PATH_ROOT)/src/VBox/Runtime/include \
-         /usr/include/x11 \
-diff --git a/src/VBox/Additions/x11/vboxvideo/vboxvideo.h b/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
-index 381479c..29ff888 100644
---- a/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
-+++ b/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
-@@ -133,8 +133,8 @@ extern void GlxSetVisualConfigs(int nconfigs, __GLXvisualConfig *configs,
- 
- /** Helper to work round different ways of getting the root window in different
-  * server versions. */
--#if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 700000000 \
--    && XORG_VERSION_CURRENT >= 100900000
-+#if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 70000000 \
-+    && XORG_VERSION_CURRENT >= 10900000
- # define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root
- #else
- # define ROOT_WINDOW(pScrn) WindowTable[(pScrn)->scrnIndex]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/7c8a1c17e25aa5e17f6eb9db4130630880175a5f



More information about the pld-cvs-commit mailing list