diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2023-09-23 14:39:02 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-09-30 07:36:12 +0300 |
commit | ddd6654de39243645f1fe99351dfca93d902e70d (patch) | |
tree | 7c48d6751c69806bfa73e13ee249996d9ed24f6f /app-emulation/virtualbox | |
parent | media-libs/netpbm: drop 11.3.6 (diff) | |
download | gentoo-ddd6654de39243645f1fe99351dfca93d902e70d.tar.gz gentoo-ddd6654de39243645f1fe99351dfca93d902e70d.tar.bz2 gentoo-ddd6654de39243645f1fe99351dfca93d902e70d.zip |
app-emulation/virtualbox: update live ebuild
Upstream migrated to QT6.
Cannot build with USE=doc yet becuase of a missing new dependency.
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-7.0.11-configure-include-qt6-path.patch | 13 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-9999.ebuild | 37 |
3 files changed, 33 insertions, 18 deletions
diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest index 892ba7a1c7d0..aad4f0b02e95 100644 --- a/app-emulation/virtualbox/Manifest +++ b/app-emulation/virtualbox/Manifest @@ -1,7 +1,6 @@ DIST VirtualBox-6.1.46.tar.bz2 166045588 BLAKE2B 041fad30d7cbe524cfd5c865b225c00df7715a6648ed0d8f7ee3ca4be0d0dabcb324c676ba2ea78288cde89ed8e5412fae75e31bb49f623de2acddb8f10d6ee1 SHA512 695ca4d41ff10d0581e4cffe4a0ec80e0fe380f4c7d5d51ee4d21aeb61646c26edd60301e541894e71c3323e2d7207e23299938c18ee45631afd1e0851946e77 DIST VirtualBox-7.0.10.tar.bz2 175450841 BLAKE2B 49eaa14f716f021f1ecec1ad48a2aa8a3a758cbd9b03cf30d65ddcf5aba11842b0ea8bc2c4d477084a4cea318dc302a4ed426ec9f675a1fe675c5f18c48796c7 SHA512 2870d39385f66557281edf1368db68cd69d6a9bebc30d52511929462d0ac210cec49dd8531a280c6facff22ba6e4808477fbf3d09abf998d863a007fc7f2c3bd DIST virtualbox-help-7.0.10.tar.xz 3941196 BLAKE2B fa6667e0cf12e2e05b896a7d9d7e1f78d43bb4618f35b3c81f5ccf5f227d1181b0c8fb1f6dc02a8619550b193a73d4094c5d3f0d43514392f9ed563085068789 SHA512 fab2dff812a438f3e78dbace24741d91b317bbbc7362f082a18f3871e3c6fd8af7744cf1b3fd3b82cf5135e03d521de05a7a5bc98ec19aacfa1b4e5392e60f30 -DIST virtualbox-help-7.0.8.tar.xz 3941816 BLAKE2B f1c82ccc8a0d4e99f2302a7024a551e7e4a70348b193cf0c3a3b2917a717451c74d652555cadb278f6e27c47dac88a8121acfe9425bc0f5b82b5101475f384b3 SHA512 7483c4321492effb5b4329d48b363d8d2b3aaa248c0259cd06569497090aa438c39e94d6a5da4f511202f424e596f66e7580e37ffa5da66661fd0fadcd99c5ef DIST virtualbox-patches-6.1.36.tar.bz2 2733 BLAKE2B dcfebfeca4873d382441515d48b4dfee9343bc7c83ea3cbb5002dbf7975143a79fae9a701b67dc35505e9ca03ff1b6293cb7c3279c4fdfda8ad21ba5fb9b7e87 SHA512 1bed5cdefbf8e7c4b0d9092ba4961ecf2262f27f35c71a91ef6f2e8fe8a1d92ed74f06bafbf58d70ba7165d933997f58073f4d4f4051e3ba5c0339b729066f57 DIST virtualbox-patches-7.0.10_pre20230615.tar.bz2 2253 BLAKE2B 27b422acc2ae85c4324d6f4471db80c9f680b1c4a00223c38b9e3fb31709b05163a1bd53408cffeabdef295e856aa8b01b86e0fecf5d80ace376ea1bd4fc9504 SHA512 c2177f46048f09b6be9ac2c35b43d74f67350b052411cc64adf6c0b3d284055eef79f960f1384a3aaeee7d25f8c19ea8f936ee2623a2251d1d28f85ed3469c22 DIST virtualbox-patches-7.0.8.tar.bz2 2733 BLAKE2B 044dfe02a5bd5e757091318b394b0e5918677b5bbce9caef4a18d4d8df54821559f0df6ffbdd6f52d4934bc4018e9c9d908571c5d3d8804fd3b0f22a7a1aed84 SHA512 93a06aa3f9508d3a8743ca8494a958159b5bc3fd7a0a08ff23414d05c4f31084cf0f1c82a3866e222c83e6996ba004546f0bd33c6eb9a90eec8e548b8b3f2fbf diff --git a/app-emulation/virtualbox/files/virtualbox-7.0.11-configure-include-qt6-path.patch b/app-emulation/virtualbox/files/virtualbox-7.0.11-configure-include-qt6-path.patch new file mode 100644 index 000000000000..a9345ae78141 --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-7.0.11-configure-include-qt6-path.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 5d653d97..f6953d88 100755 +--- a/configure ++++ b/configure +@@ -1695,6 +1695,8 @@ EOF + else + # Strip .../QtCore as we add components ourself: + INCQT6=`echo "$INCQT6"|$KBUILD_SED 's|\([^ ]*\)/QtCore|\1|g; s| $||g'` ++ # Strip .../QtGui as we add components ourself: ++ INCQT6=`echo "$INCQT6"|$KBUILD_SED 's|\([^ ]*\)/QtGui|\1|g; s| $||g'` + # store only the first path, remove all other paths + # most likely pkg-config gave us -I/usr/include/qt6 -I/usr/include/qt6/QtCore + INCQT6=`echo "$INCQT6"|$KBUILD_SED 's|\([^ ]*\) .*|\1|'` diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild b/app-emulation/virtualbox/virtualbox-9999.ebuild index 9048fa58d8a6..3700fe5adca3 100644 --- a/app-emulation/virtualbox/virtualbox-9999.ebuild +++ b/app-emulation/virtualbox/virtualbox-9999.ebuild @@ -7,7 +7,7 @@ EAPI=8 # This compiles the latest svn version. # It also compiles the kernel modules. Does not depend on virtualbox-modules. # It is not meant to be used, might be very unstable. -# Upstream seem to have added support for python 3.12; I haven't checked it yet. +# Upstream seem to have added support for python 3.12, but it crashes. # # USE=doc does not work for now. # @@ -30,7 +30,7 @@ inherit desktop edo flag-o-matic java-pkg-opt-2 linux-mod-r1 multilib optfeature python-single-r1 subversion tmpfiles toolchain-funcs udev xdg MY_PN="VirtualBox" -BASE_PV=7.0.8 +BASE_PV=7.0.10 MY_P=${MY_PN}-${PV} DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use" @@ -51,6 +51,7 @@ unset WATCOM #856769 COMMON_DEPEND=" ${PYTHON_DEPS} acct-group/vboxusers + app-arch/xz-utils dev-libs/libtpms dev-libs/libxml2 dev-libs/openssl:0= @@ -60,17 +61,12 @@ COMMON_DEPEND=" sys-libs/zlib dbus? ( sys-apps/dbus ) gui? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qthelp:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtxml:5 + dev-qt/qtbase:6[widgets] + dev-qt/qt5compat:6 + dev-qt/qtscxml:6 + dev-qt/qttools:6[assistant] x11-libs/libX11 x11-libs/libXt - opengl? ( dev-qt/qtopengl:5 ) ) lvm? ( sys-fs/lvm2 ) opengl? ( @@ -83,7 +79,6 @@ COMMON_DEPEND=" sdl? ( media-libs/libsdl2[X,video] x11-libs/libX11 - x11-libs/libXcursor x11-libs/libXt ) vboxwebsrv? ( net-libs/gsoap[-gnutls(-),debug?] ) @@ -104,6 +99,7 @@ DEPEND=" ${COMMON_DEPEND} >=dev-libs/libxslt-1.1.19 virtual/libcrypt:= + x11-libs/libXt alsa? ( >=media-libs/alsa-lib-1.0.13 ) gui? ( x11-base/xorg-proto @@ -123,7 +119,10 @@ DEPEND=" x11-libs/libXrandr virtual/glu ) - sdl? ( x11-libs/libXinerama ) + sdl? ( + x11-libs/libXcursor + x11-libs/libXinerama + ) pulseaudio? ( media-libs/libpulse ) udev? ( >=virtual/udev-171 ) " @@ -134,7 +133,6 @@ RDEPEND=" " BDEPEND=" ${PYTHON_DEPS} - app-arch/makeself >=app-arch/tar-1.34-r2 >=dev-lang/yasm-0.6.2 dev-libs/libIDL @@ -156,8 +154,8 @@ BDEPEND=" dev-texlive/texlive-fontsextra dev-qt/qthelp:5 ) - gui? ( dev-qt/linguist-tools:5 ) - nls? ( dev-qt/linguist-tools:5 ) + gui? ( dev-qt/qttools:6[linguist] ) + nls? ( dev-qt/qttools:6[linguist] ) java? ( virtual/jdk:1.8 ) " @@ -199,7 +197,7 @@ REQUIRED_USE=" " PATCHES=( - "${FILESDIR}"/${PN}-6.1.26-configure-include-qt5-path.patch # bug #805365 + "${FILESDIR}"/${PN}-7.0.11-configure-include-qt6-path.patch # bug #805365 # This patch is needed to avoid automagic detection based on a hardcoded # list of Pythons in configure. It's necessary but not sufficient @@ -214,6 +212,8 @@ PATCHES=( "${FILESDIR}"/${PN}-7.0.9-python.patch "${FILESDIR}"/${PN}-7.0.6-gcc-13.patch "${FILESDIR}"/${PN}-7.0.8-mtune-keep-size.patch + # 913109 + "${FILESDIR}"/${PN}-7.0.10-fix-binutils-hardened.patch # Downloaded patchset "${WORKDIR}"/virtualbox-patches-7.0.10_pre20230615/patches @@ -316,6 +316,9 @@ src_prepare() { append-cxxflags $(test-flags-CXX -mno-$i) done + # bug #908814 + filter-lto + # bug #843437 cat >> LocalConfig.kmk <<-EOF || die CXXFLAGS=${CXXFLAGS} |