[motion/f28] Enable Webp support.
by Vasiliy Glazov
Summary of changes:
1aa2f2d... Enable Webp support. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 8 months
[motion/f29] Enable Webp support.
by Vasiliy Glazov
Summary of changes:
1aa2f2d... Enable Webp support. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 8 months
[motion] Enable Webp support.
by Vasiliy Glazov
commit 1aa2f2d3ea9fb36baf73df585e70618ee2e283b9
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Fri Mar 22 10:12:33 2019 +0300
Enable Webp support.
motion.spec | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/motion.spec b/motion.spec
index 467447d..049eab6 100644
--- a/motion.spec
+++ b/motion.spec
@@ -23,7 +23,7 @@
Name: motion
Version: 4.2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A motion detection system
License: GPLv2+
@@ -41,6 +41,7 @@ BuildRequires: automake
BuildRequires: libtool
BuildRequires: systemd-units
BuildRequires: libmicrohttpd-devel
+BuildRequires: libwebp-devel
# libmysqlclient-dev (>= 5.5.17-4),
# libpq-dev,
# libsdl1.2-dev,
@@ -67,7 +68,11 @@ autoreconf -v
%build
%configure \
- --without-optimizecpu --with-ffmpeg --without-mysql --without-pgsql
+ --without-optimizecpu \
+ --with-ffmpeg \
+ --without-mysql \
+ --without-pgsql \
+ --with-webp
%make_build V=1
@@ -130,8 +135,9 @@ find /var/motion -user root -group root -exec chown motion:video '{}' ';'
%{_tmpfilesdir}/%{name}.conf
%changelog
-* Fri Mar 22 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.2.2-1
+* Fri Mar 22 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.2.2-2
- Update to 4.2.2
+- Enable Webp Support
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 4.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5 years, 8 months
[motion/f29] (6 commits) ...Update to 4.2.2.
by Vasiliy Glazov
Summary of changes:
1d9e9a4... * Sat Jan 11 2014 Tomasz Torcz <ttorcz(a)fedoraproject.org> - (*)
e324ae9... Rebuild for ffmpeg-3.4.5 on el7 (*)
7fe8837... Remove pre-created doc directory (*)
1c76b5b... Rebuild for ffmpeg-3.4.5 on el7 (*)
4c9500f... - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass (*)
ec2c36b... Update to 4.2.2. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 8 months
[motion] Update to 4.2.2.
by Vasiliy Glazov
commit ec2c36bf373e0cb4cdd31e94b36567f6c4198c91
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Fri Mar 22 09:24:10 2019 +0300
Update to 4.2.2.
.gitignore | 1 +
ffmpeg35_buildfix.patch | 21 ---------------------
motion.spec | 24 +++++++++++++-----------
sources | 2 +-
4 files changed, 15 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1510af4..0d94cbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ motion-3.3.0.tar.gz
/motion-release-4.0.1.tar.gz
/motion-release-4.1.tar.gz
/motion-release-4.1.1.tar.gz
+/motion-release-4.2.2.tar.gz
diff --git a/motion.spec b/motion.spec
index 4debd53..467447d 100644
--- a/motion.spec
+++ b/motion.spec
@@ -21,27 +21,26 @@
# tar -pczf motion-3.3.0.tar.gz motion-3.3.0/
#v-
-%global nextver 4.1.1
Name: motion
-Version: %{nextver}
-Release: 7%{?dist}
+Version: 4.2.2
+Release: 1%{?dist}
Summary: A motion detection system
License: GPLv2+
URL: https://motion-project.github.io/
-Source0: https://github.com/Motion-Project/motion/archive/release-%{nextver}.tar.g...
+Source0: https://github.com/Motion-Project/motion/archive/release-%{version}.tar.g...
Source1: motion.service
Source2: motion.tmpfiles
-Patch0: ffmpeg35_buildfix.patch
BuildRequires: libjpeg-devel
-Buildrequires: zlib-devel
-Buildrequires: ffmpeg-devel
-Buildrequires: pkgconfig(sqlite3)
+BuildRequires: zlib-devel
+BuildRequires: ffmpeg-devel
+BuildRequires: pkgconfig(sqlite3)
BuildRequires: autoconf
-Buildrequires: automake
-Buildrequires: libtool
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: systemd-units
+BuildRequires: libmicrohttpd-devel
# libmysqlclient-dev (>= 5.5.17-4),
# libpq-dev,
# libsdl1.2-dev,
@@ -63,7 +62,7 @@ with a rather small footprint. This version is built with ffmpeg support but
without MySQL and PostgreSQL support.
%prep
-%autosetup -p1 -n %{name}-release-%{nextver}
+%autosetup -p1 -n %{name}-release-%{version}
autoreconf -v
%build
@@ -131,6 +130,9 @@ find /var/motion -user root -group root -exec chown motion:video '{}' ';'
%{_tmpfilesdir}/%{name}.conf
%changelog
+* Fri Mar 22 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 4.2.2-1
+- Update to 4.2.2
+
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 4.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index c090708..cc32b5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c3d89988f57ad5e4ea2c661a5c2a1fb2 motion-release-4.1.1.tar.gz
+6986e44b6bf294a2d4f07f85595275e0 motion-release-4.2.2.tar.gz
5 years, 8 months
[VirtualBox/f28: 10/10] Merge branch 'master' into f28
by Sérgio M. Basto
commit 2cf0ca9ea28b3abd92ecbd325ace016e688320ab
Merge: f840593 b4086fc
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Mar 22 02:42:48 2019 +0000
Merge branch 'master' into f28
590355dbdcffa4081c377fd31565e172785b390c.patch | 27 ++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
---
5 years, 8 months
[VirtualBox/f28: 9/10] Rebase and squash f28
by Sérgio M. Basto
commit f840593874e5081fae11bca47838a72abc0cf998
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Mar 22 02:37:01 2019 +0000
Rebase and squash f28
.gitignore | 5 +-
...AutoMount-Change-Linux-mount-code-to-use-.patch | 63 +++++-----
007-python2-path.patch | 9 ++
37-python-3.7-support.patch | 17 +++
VBoxVNC.fix.patch | 17 +++
VirtualBox-5.1.0-add-Mageia-support.patch | 107 ++++++++--------
VirtualBox-5.2.24-xpcom18a4-fix.patch | 12 --
VirtualBox-6.0.0-noupdate.patch | 11 ++
VirtualBox-OSE-4.1.4-noupdate.patch | 22 ----
VirtualBox.spec | 140 ++++++++++++++-------
sources | 3 +-
update_vbox.sh | 33 +----
12 files changed, 248 insertions(+), 191 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d719926..75232ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,4 +32,7 @@ VirtualBox-5.0.16.tar.bz2
/VirtualBox-5.2.18.tar.bz2
/VirtualBox-5.2.20.tar.bz2
/VirtualBox-5.2.22.tar.bz2
-/VirtualBox-5.2.24.tar.bz2
+/VirtualBox-6.0.0.tar.bz2
+/UserManual.pdf
+/VirtualBox-6.0.2.tar.bz2
+/VirtualBox-6.0.4.tar.bz2
diff --git a/0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch b/0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch
index 625d554..63447ad 100644
--- a/0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch
+++ b/0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch
@@ -10,19 +10,18 @@ Signed-off-by: Hans de Goede <hdegoede(a)redhat.com>
1 file changed, 8 insertions(+), 54 deletions(-)
diff --git a/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp b/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
-index aa15d8b1..551edd4a 100644
---- a/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
-+++ b/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
-@@ -39,6 +39,7 @@
- #include <iprt/assert.h>
+--- ./src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp.orig 2018-11-25 02:36:31.829306539 +0000
++++ ./src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp 2018-11-25 02:41:41.632973288 +0000
+@@ -40,6 +40,7 @@
+ #include <iprt/ctype.h>
#include <iprt/dir.h>
#include <iprt/mem.h>
+#include <iprt/param.h>
#include <iprt/path.h>
- #include <iprt/string.h>
#include <iprt/semaphore.h>
-@@ -77,6 +78,9 @@ RT_C_DECLS_END
- # endif
+ #include <iprt/sort.h>
+@@ -117,6 +118,9 @@ RT_C_DECLS_END
+ # define VBOXSERVICE_AUTOMOUNT_MIQF SHFL_MIQF_PATH
#endif
+#ifndef MAX_MNTOPT_STR
@@ -30,31 +29,32 @@ index aa15d8b1..551edd4a 100644
+#endif
/*********************************************************************************************************************************
- * Global Variables *
-@@ -297,13 +301,13 @@ static int vbsvcAutoMountSharedFolder(const char *pszShareName, const char *pszM
- rc = vbsvcAutoMountPrepareMountPoint(pszMountPoint, pszShareName, pOpts);
- if (!fSkip && RT_SUCCESS(rc))
+ * Structures and Typedefs *
+@@ -398,13 +402,13 @@ static int vbsvcAutoMountSharedFolderOld
+ int rc = vbsvcAutoMountPrepareMountPointOld(pszMountPoint, pszShareName, &Opts);
+ if (RT_SUCCESS(rc))
{
--#ifdef RT_OS_SOLARIS
- char szOptBuf[MAX_MNTOPT_STR] = { '\0', };
++ char szOptBuf[MAX_MNTOPT_STR] = { '\0', };
+ RTStrPrintf(szOptBuf, sizeof(szOptBuf), "uid=%d,gid=%d,dmode=%0o,fmode=%0o,dmask=%0o,fmask=%0o",
-+ pOpts->uid, pOpts->gid, pOpts->dmode, pOpts->fmode, pOpts->dmask, pOpts->fmask);
-+#ifdef RT_OS_SOLARIS
++ Opts.uid, Opts.gid, Opts.dmode, Opts.fmode, Opts.dmask, Opts.fmask);
+ # ifdef RT_OS_SOLARIS
int fFlags = 0;
- if (pOpts->ronly)
+ if (Opts.ronly)
fFlags |= MS_RDONLY;
+- char szOptBuf[MAX_MNTOPT_STR] = { '\0', };
- RTStrPrintf(szOptBuf, sizeof(szOptBuf), "uid=%d,gid=%d,dmode=%0o,fmode=%0o,dmask=%0o,fmask=%0o",
-- pOpts->uid, pOpts->gid, pOpts->dmode, pOpts->fmode, pOpts->dmask, pOpts->fmask);
+- Opts.uid, Opts.gid, Opts.dmode, Opts.fmode, Opts.dmask, Opts.fmask);
int r = mount(pszShareName,
pszMountPoint,
fFlags | MS_OPTIONSTR,
-@@ -320,32 +324,11 @@ static int vbsvcAutoMountSharedFolder(const char *pszShareName, const char *pszM
+@@ -421,34 +425,11 @@ static int vbsvcAutoMountSharedFolderOld
- #elif defined(RT_OS_LINUX)
+ # else /* RT_OS_LINUX */
unsigned long fFlags = MS_NODEV;
-
- /*const char *szOptions = { "rw" }; - ??? */
- struct vbsf_mount_info_new mntinf;
+- RT_ZERO(mntinf);
-
- mntinf.nullchar = '\0';
- mntinf.signature[0] = VBSF_MOUNT_SIGNATURE_BYTE_0;
@@ -62,13 +62,14 @@ index aa15d8b1..551edd4a 100644
- mntinf.signature[2] = VBSF_MOUNT_SIGNATURE_BYTE_2;
- mntinf.length = sizeof(mntinf);
-
-- mntinf.uid = pOpts->uid;
-- mntinf.gid = pOpts->gid;
-- mntinf.ttl = pOpts->ttl;
-- mntinf.dmode = pOpts->dmode;
-- mntinf.fmode = pOpts->fmode;
-- mntinf.dmask = pOpts->dmask;
-- mntinf.fmask = pOpts->fmask;
+- mntinf.uid = Opts.uid;
+- mntinf.gid = Opts.gid;
+- mntinf.ttl = Opts.ttl;
+- mntinf.dmode = Opts.dmode;
+- mntinf.fmode = Opts.fmode;
+- mntinf.dmask = Opts.dmask;
+- mntinf.fmask = Opts.fmask;
+- mntinf.tag[0] = '\0';
-
- strcpy(mntinf.name, pszShareName);
- strcpy(mntinf.nls_name, "\0");
@@ -82,7 +83,7 @@ index aa15d8b1..551edd4a 100644
if (r == 0)
{
VGSvcVerbose(0, "vbsvcAutoMountWorker: Shared folder '%s' was mounted to '%s'\n", pszShareName, pszMountPoint);
-@@ -378,34 +361,6 @@ static int vbsvcAutoMountSharedFolder(const char *pszShareName, const char *pszM
+@@ -481,34 +462,6 @@ static int vbsvcAutoMountSharedFolderOld
}
else /* r == -1, we got some error in errno. */
{
@@ -117,14 +118,14 @@ index aa15d8b1..551edd4a 100644
switch (errno)
{
/* If we get EINVAL here, the system already has mounted the Shared Folder to another
-@@ -424,7 +379,6 @@ static int vbsvcAutoMountSharedFolder(const char *pszShareName, const char *pszM
+@@ -527,7 +480,6 @@ static int vbsvcAutoMountSharedFolderOld
rc = RTErrConvertFromErrno(errno);
break;
}
- }
}
- #else
- # error "PORTME"
+ # endif
+ }
--
2.14.3
diff --git a/007-python2-path.patch b/007-python2-path.patch
new file mode 100644
index 0000000..b7d19ce
--- /dev/null
+++ b/007-python2-path.patch
@@ -0,0 +1,9 @@
+# 2013 © Sébastien Luttringer
+--- ./src/VBox/Frontends/VBoxShell/vboxshell.py.orig 2018-12-18 12:59:24.000000000 +0000
++++ ./src/VBox/Frontends/VBoxShell/vboxshell.py 2019-01-03 22:05:42.645245995 +0000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+ # -*- coding: utf-8 -*-
+ # $Id: vboxshell.py $
+
diff --git a/37-python-3.7-support.patch b/37-python-3.7-support.patch
new file mode 100644
index 0000000..51d2cd1
--- /dev/null
+++ b/37-python-3.7-support.patch
@@ -0,0 +1,17 @@
+Description: add python 3.7m as a supported version
+Author: Michael Hudson-Doyle <michael.hudson(a)ubuntu.com>
+Origin: vendor
+Last-Update: 2018-07-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure
++++ b/configure
+@@ -1963,7 +1963,7 @@
+ }
+ EOF
+ found=
+- SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m"
++ SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m"
+ for p in $PYTHONDIR; do
+ for d in $SUPPYTHONLIBS; do
+ for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do
diff --git a/VBoxVNC.fix.patch b/VBoxVNC.fix.patch
new file mode 100644
index 0000000..fc8120f
--- /dev/null
+++ b/VBoxVNC.fix.patch
@@ -0,0 +1,17 @@
+--- a/src/VBox/ExtPacks/VNC/VBoxVNC.cpp 2017-03-16 03:17:09.000000000 +0800
++++ b/src/VBox/ExtPacks/VNC/VBoxVNC.cpp 2017-03-24 10:57:12.381136918 +0800
+@@ -820,6 +820,14 @@
+ }
+ }
+
++ if(!instance->mScreenBuffer) {
++ VRDEResize(hServer);
++ if(!instance->mScreenBuffer) {
++ LogRel(("VNCServerImpl::VRDEUpdate: Cannot get frame buffer"));
++ return;
++ }
++ }
++
+ uint32_t width = instance->FrameInfo.cWidth;
+ uint32_t bpp = instance->FrameInfo.cBitsPerPixel / 8;
+ uint32_t joff = order->y * width + order->x;
diff --git a/VirtualBox-5.1.0-add-Mageia-support.patch b/VirtualBox-5.1.0-add-Mageia-support.patch
index 3efb046..0b01e8b 100644
--- a/VirtualBox-5.1.0-add-Mageia-support.patch
+++ b/VirtualBox-5.1.0-add-Mageia-support.patch
@@ -1,7 +1,6 @@
-diff -rup VirtualBox-5.2.4.orig/include/VBox/ostypes.h VirtualBox-5.2.4/include/VBox/ostypes.h
---- VirtualBox-5.2.4.orig/include/VBox/ostypes.h 2017-12-19 09:21:46.000000000 +0000
-+++ VirtualBox-5.2.4/include/VBox/ostypes.h 2018-01-16 01:33:36.323052771 +0000
-@@ -107,6 +107,8 @@ typedef enum VBOXOSTYPE
+--- ./include/VBox/ostypes.h.orig 2018-12-01 15:08:30.394341093 +0000
++++ ./include/VBox/ostypes.h 2018-12-01 15:08:50.805529628 +0000
+@@ -108,6 +108,8 @@ typedef enum VBOXOSTYPE
VBOXOSTYPE_Xandros_x64 = 0x5D100,
VBOXOSTYPE_Oracle = 0x5E000,
VBOXOSTYPE_Oracle_x64 = 0x5E100,
@@ -10,9 +9,8 @@ diff -rup VirtualBox-5.2.4.orig/include/VBox/ostypes.h VirtualBox-5.2.4/include/
VBOXOSTYPE_FreeBSD = 0x60000,
VBOXOSTYPE_FreeBSD_x64 = 0x60100,
VBOXOSTYPE_OpenBSD = 0x61000,
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Additions/linux/installer/vboxadd-x11.sh VirtualBox-5.2.4/src/VBox/Additions/linux/installer/vboxadd-x11.sh
---- VirtualBox-5.2.4.orig/src/VBox/Additions/linux/installer/vboxadd-x11.sh 2017-12-19 09:22:03.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Additions/linux/installer/vboxadd-x11.sh 2018-01-16 01:33:36.545055031 +0000
+--- ./src/VBox/Additions/linux/installer/vboxadd-x11.sh.orig 2018-12-01 15:08:30.395341102 +0000
++++ ./src/VBox/Additions/linux/installer/vboxadd-x11.sh 2018-12-01 15:08:50.806529637 +0000
@@ -94,8 +94,14 @@ install_x11_startup_app() {
x11_autostart="/etc/xdg/autostart"
kde_autostart="/usr/share/autostart"
@@ -28,10 +26,9 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Additions/linux/installer/vboxadd-x11.s
if [ -d "$mandriva_dir" -a -w "$mandriva_dir" -a -x "$mandriva_dir" ]
then
install -m 0644 $app_src "$mandriva_dir/$app_dest"
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp VirtualBox-5.2.4/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp
---- VirtualBox-5.2.4.orig/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp 2017-12-19 09:27:42.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp 2018-01-16 01:33:36.598055571 +0000
-@@ -315,6 +315,8 @@ UIIconPoolGeneral::UIIconPoolGeneral()
+--- ./src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp.orig 2018-12-01 15:08:30.395341102 +0000
++++ ./src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp 2018-12-01 15:08:50.806529637 +0000
+@@ -331,6 +331,8 @@ UIIconPoolGeneral::UIIconPoolGeneral()
m_guestOSTypeIconNames.insert("Fedora_64", ":/os_fedora_64.png");
m_guestOSTypeIconNames.insert("Gentoo", ":/os_gentoo.png");
m_guestOSTypeIconNames.insert("Gentoo_64", ":/os_gentoo_64.png");
@@ -40,22 +37,35 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Frontends/VirtualBox/src/globals/UIIcon
m_guestOSTypeIconNames.insert("Mandriva", ":/os_mandriva.png");
m_guestOSTypeIconNames.insert("Mandriva_64", ":/os_mandriva_64.png");
m_guestOSTypeIconNames.insert("RedHat", ":/os_redhat.png");
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Frontends/VirtualBox/VirtualBox1.qrc VirtualBox-5.2.4/src/VBox/Frontends/VirtualBox/VirtualBox1.qrc
---- VirtualBox-5.2.4.orig/src/VBox/Frontends/VirtualBox/VirtualBox1.qrc 2017-12-19 09:27:33.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Frontends/VirtualBox/VirtualBox1.qrc 2018-01-16 01:33:36.653056131 +0000
-@@ -290,6 +290,8 @@
- <file alias="os_linux26_64.png">images/os_linux26_64.png</file>
- <file alias="os_macosx.png">images/os_macosx.png</file>
+--- ./src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp.orig 2018-12-01 15:08:30.396341111 +0000
++++ ./src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMPageBasic1.cpp 2018-12-01 15:08:50.807529646 +0000
+@@ -143,8 +143,10 @@ static const osTypePattern gs_OSTypePatt
+ { QRegExp("Fe.*32", Qt::CaseInsensitive), "Fedora" },
+ { QRegExp("((Gen)|(Sab)).*64", Qt::CaseInsensitive), "Gentoo_64" },
+ { QRegExp("((Gen)|(Sab)).*32", Qt::CaseInsensitive), "Gentoo" },
+- { QRegExp("((Man)|(Mag)).*64", Qt::CaseInsensitive), "Mandriva_64" },
+- { QRegExp("((Man)|(Mag)).*32", Qt::CaseInsensitive), "Mandriva" },
++ { QRegExp("Mag.*64", Qt::CaseInsensitive), "Mageia_64" },
++ { QRegExp("Mag", Qt::CaseInsensitive), "Mageia" },
++ { QRegExp("Man.*64", Qt::CaseInsensitive), "Mandriva_64" },
++ { QRegExp("Man", Qt::CaseInsensitive), "Mandriva" },
+ { QRegExp("((Red)|(rhel)|(cen)).*64", Qt::CaseInsensitive), "RedHat_64" },
+ { QRegExp("((Red)|(rhel)|(cen)).*32", Qt::CaseInsensitive), "RedHat" },
+ { QRegExp("Tur.*64", Qt::CaseInsensitive), "Turbolinux_64" },
+--- ./src/VBox/Frontends/VirtualBox/VirtualBox2.qrc.orig 2018-12-01 15:08:30.397341121 +0000
++++ ./src/VBox/Frontends/VirtualBox/VirtualBox2.qrc 2018-12-01 15:08:50.807529646 +0000
+@@ -57,6 +57,8 @@
+ <file alias="os_linux.png">images/os_linux.png</file>
<file alias="os_macosx_64.png">images/os_macosx_64.png</file>
-+ <file alias="os_mageia.png">images/os_mageia.png</file>
+ <file alias="os_macosx.png">images/os_macosx.png</file>
+ <file alias="os_mageia_64.png">images/os_mageia_64.png</file>
- <file alias="os_mandriva.png">images/os_mandriva.png</file>
++ <file alias="os_mageia.png">images/os_mageia.png</file>
<file alias="os_mandriva_64.png">images/os_mandriva_64.png</file>
- <file alias="os_netbsd.png">images/os_netbsd.png</file>
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Installer/linux/distributions_rpm VirtualBox-5.2.4/src/VBox/Installer/linux/distributions_rpm
---- VirtualBox-5.2.4.orig/src/VBox/Installer/linux/distributions_rpm 2017-12-19 09:28:05.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Installer/linux/distributions_rpm 2018-01-16 01:33:36.768057301 +0000
-@@ -5,6 +5,16 @@ openSUSE114 = OPENSUSE_11_4
+ <file alias="os_mandriva.png">images/os_mandriva.png</file>
+ <file alias="os_netbsd_64.png">images/os_netbsd_64.png</file>
+--- ./src/VBox/Installer/linux/distributions_rpm.orig 2018-12-01 15:08:30.397341121 +0000
++++ ./src/VBox/Installer/linux/distributions_rpm 2018-12-01 15:08:50.808529655 +0000
+@@ -6,6 +6,16 @@ openSUSE114 = OPENSUSE_11_4
openSUSE113 = OPENSUSE_11_3
sles11.0 = SLES_11_0
sles10.1 = SLES_10_1
@@ -72,9 +82,8 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Installer/linux/distributions_rpm Virtu
mdv2011.0 = MANDRIVA_2011_0
fedora29 = FEDORA_29
fedora26 = FEDORA_26
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Installer/linux/VBoxSysInfo.sh VirtualBox-5.2.4/src/VBox/Installer/linux/VBoxSysInfo.sh
---- VirtualBox-5.2.4.orig/src/VBox/Installer/linux/VBoxSysInfo.sh 2017-12-19 09:28:04.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Installer/linux/VBoxSysInfo.sh 2018-01-16 01:33:36.786057485 +0000
+--- ./src/VBox/Installer/linux/VBoxSysInfo.sh.orig 2018-12-01 15:08:30.397341121 +0000
++++ ./src/VBox/Installer/linux/VBoxSysInfo.sh 2018-12-01 15:08:50.808529655 +0000
@@ -44,6 +44,11 @@ get_linux_info () {
# Debian-based system
release=`cat /etc/debian_version`
@@ -87,9 +96,8 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Installer/linux/VBoxSysInfo.sh VirtualB
elif [ -r /etc/mandriva-release ]
then
# Mandriva-based system
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/cbinding/VBoxCAPI_v2_2.h VirtualBox-5.2.4/src/VBox/Main/cbinding/VBoxCAPI_v2_2.h
---- VirtualBox-5.2.4.orig/src/VBox/Main/cbinding/VBoxCAPI_v2_2.h 2017-12-19 09:28:07.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Main/cbinding/VBoxCAPI_v2_2.h 2018-01-16 01:33:36.851058146 +0000
+--- ./src/VBox/Main/cbinding/VBoxCAPI_v2_2.h.orig 2018-12-01 15:08:30.399341139 +0000
++++ ./src/VBox/Main/cbinding/VBoxCAPI_v2_2.h 2018-12-01 15:08:50.809529665 +0000
@@ -921,7 +921,9 @@ enum CIMOSType
CIMOSType_CIMOS_Linux_2_6_x = 99,
CIMOSType_CIMOS_Linux_2_6_x_64 = 100,
@@ -101,9 +109,8 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/cbinding/VBoxCAPI_v2_2.h VirtualBo
};
/* End of enum CIMOSType Declaration */
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/cbinding/VBoxCAPI_v3_0.h VirtualBox-5.2.4/src/VBox/Main/cbinding/VBoxCAPI_v3_0.h
---- VirtualBox-5.2.4.orig/src/VBox/Main/cbinding/VBoxCAPI_v3_0.h 2017-12-19 09:28:07.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Main/cbinding/VBoxCAPI_v3_0.h 2018-01-16 01:33:36.867058309 +0000
+--- ./src/VBox/Main/cbinding/VBoxCAPI_v3_0.h.orig 2018-12-01 15:08:30.400341148 +0000
++++ ./src/VBox/Main/cbinding/VBoxCAPI_v3_0.h 2018-12-01 15:08:50.810529674 +0000
@@ -1371,7 +1371,9 @@ enum CIMOSType
CIMOSType_CIMOS_Linux_2_6_x = 99,
CIMOSType_CIMOS_Linux_2_6_x_64 = 100,
@@ -115,9 +122,8 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/cbinding/VBoxCAPI_v3_0.h VirtualBo
};
/* End of enum CIMOSType Declaration */
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/include/ovfreader.h VirtualBox-5.2.4/src/VBox/Main/include/ovfreader.h
---- VirtualBox-5.2.4.orig/src/VBox/Main/include/ovfreader.h 2017-12-19 09:28:09.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Main/include/ovfreader.h 2018-01-16 01:33:36.875058391 +0000
+--- ./src/VBox/Main/include/ovfreader.h.orig 2018-12-01 15:08:30.401341158 +0000
++++ ./src/VBox/Main/include/ovfreader.h 2018-12-01 15:08:50.811529683 +0000
@@ -175,8 +175,10 @@ enum CIMOSType_T
CIMOSType_CIMOS_CentOS_64 = 107,
CIMOSType_CIMOS_OracleEnterpriseLinux = 108,
@@ -130,11 +136,10 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/include/ovfreader.h VirtualBox-5.2
};
enum OVFVersion_T
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/src-all/Global.cpp VirtualBox-5.2.4/src/VBox/Main/src-all/Global.cpp
---- VirtualBox-5.2.4.orig/src/VBox/Main/src-all/Global.cpp 2017-12-19 09:28:09.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Main/src-all/Global.cpp 2018-01-16 01:33:36.883058472 +0000
-@@ -250,6 +250,17 @@ const Global::OSType Global::sOSTypes[]
- 1024, 16, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
+--- ./src/VBox/Main/src-all/Global.cpp.orig 2018-12-01 15:08:30.401341158 +0000
++++ ./src/VBox/Main/src-all/Global.cpp 2018-12-01 15:08:50.811529683 +0000
+@@ -251,6 +251,17 @@ const Global::OSType Global::sOSTypes[]
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, AudioControllerType_AC97, AudioCodecType_AD1980 },
+ { "Linux", "Linux", "Mageia", "Mageia (32-bit)",
@@ -150,11 +155,10 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/src-all/Global.cpp VirtualBox-5.2.
+
{ "Linux", "Linux", "Mandriva", "Mandriva (32-bit)",
VBOXOSTYPE_Mandriva, VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
- 1024, 16, 8 * _1G64, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/src-server/ApplianceImpl.cpp VirtualBox-5.2.4/src/VBox/Main/src-server/ApplianceImpl.cpp
---- VirtualBox-5.2.4.orig/src/VBox/Main/src-server/ApplianceImpl.cpp 2017-12-19 09:28:10.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Main/src-server/ApplianceImpl.cpp 2018-01-16 01:33:36.901058655 +0000
-@@ -165,6 +165,8 @@ g_osTypes[] =
+ 1024, 16, 8 * _1G64, GraphicsControllerType_VMSVGA, NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
+--- ./src/VBox/Main/src-server/ApplianceImpl.cpp.orig 2018-12-01 15:08:30.402341167 +0000
++++ ./src/VBox/Main/src-server/ApplianceImpl.cpp 2018-12-01 15:08:50.812529693 +0000
+@@ -132,6 +132,8 @@ static struct
{ ovf::CIMOSType_CIMOS_SunJavaDesktopSystem, VBOXOSTYPE_Linux },
{ ovf::CIMOSType_CIMOS_TurboLinux, VBOXOSTYPE_Turbolinux },
{ ovf::CIMOSType_CIMOS_TurboLinux_64, VBOXOSTYPE_Turbolinux_x64 },
@@ -163,7 +167,7 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/src-server/ApplianceImpl.cpp Virtu
{ ovf::CIMOSType_CIMOS_Mandriva, VBOXOSTYPE_Mandriva },
{ ovf::CIMOSType_CIMOS_Mandriva_64, VBOXOSTYPE_Mandriva_x64 },
{ ovf::CIMOSType_CIMOS_Ubuntu, VBOXOSTYPE_Ubuntu },
-@@ -228,6 +230,7 @@ static const osTypePattern g_osTypesPatt
+@@ -195,6 +197,7 @@ static const osTypePattern g_aOsTypesPat
{"SUSE", VBOXOSTYPE_OpenSUSE},
{"Novell", VBOXOSTYPE_OpenSUSE},
{"Red Hat", VBOXOSTYPE_RedHat},
@@ -171,7 +175,7 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/src-server/ApplianceImpl.cpp Virtu
{"Mandriva", VBOXOSTYPE_Mandriva},
{"Ubuntu", VBOXOSTYPE_Ubuntu},
{"Debian", VBOXOSTYPE_Debian},
-@@ -257,6 +260,7 @@ static const osTypePattern g_osTypesPatt
+@@ -224,6 +227,7 @@ static const osTypePattern g_aOsTypesPat
{"SUSE", VBOXOSTYPE_OpenSUSE_x64},
{"Novell", VBOXOSTYPE_OpenSUSE_x64},
{"Red Hat", VBOXOSTYPE_RedHat_x64},
@@ -179,10 +183,9 @@ diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/src-server/ApplianceImpl.cpp Virtu
{"Mandriva", VBOXOSTYPE_Mandriva_x64},
{"Ubuntu", VBOXOSTYPE_Ubuntu_x64},
{"Debian", VBOXOSTYPE_Debian_x64},
-diff -rup VirtualBox-5.2.4.orig/src/VBox/Main/xml/Settings.cpp VirtualBox-5.2.4/src/VBox/Main/xml/Settings.cpp
---- VirtualBox-5.2.4.orig/src/VBox/Main/xml/Settings.cpp 2017-12-19 09:28:13.000000000 +0000
-+++ VirtualBox-5.2.4/src/VBox/Main/xml/Settings.cpp 2018-01-16 01:33:36.914058788 +0000
-@@ -5075,6 +5075,7 @@ const struct {
+--- ./src/VBox/Main/xml/Settings.cpp.orig 2018-12-01 15:08:30.403341176 +0000
++++ ./src/VBox/Main/xml/Settings.cpp 2018-12-01 15:08:50.814529711 +0000
+@@ -5387,6 +5387,7 @@ const struct {
{ "opensuse", "OpenSUSE" },
{ "fedoracore", "Fedora" },
{ "gentoo", "Gentoo" },
diff --git a/VirtualBox-6.0.0-noupdate.patch b/VirtualBox-6.0.0-noupdate.patch
new file mode 100644
index 0000000..a5fd467
--- /dev/null
+++ b/VirtualBox-6.0.0-noupdate.patch
@@ -0,0 +1,11 @@
+--- ./src/VBox/Frontends/VirtualBox/src/net/UIUpdateDefs.cpp.orig 2018-11-25 02:08:51.251845574 +0000
++++ ./src/VBox/Frontends/VirtualBox/src/net/UIUpdateDefs.cpp 2018-11-25 02:06:13.964011846 +0000
+@@ -164,7 +164,7 @@ void VBoxUpdateData::decode()
+ if (m_dayList.isEmpty())
+ populate();
+ PeriodType index = (PeriodType)m_dayList.indexOf(VBoxUpdateDay(QString(), parser[0]));
+- m_enmPeriodIndex = index == PeriodUndefined ? Period1Day : index;
++ m_enmPeriodIndex = index == PeriodUndefined ? PeriodNever : index;
+ }
+
+ /* Parse 'date' value: */
diff --git a/VirtualBox.spec b/VirtualBox.spec
index eb1e49a..855e468 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -13,22 +13,19 @@
# major version number, while the kernel module abi is not guaranteed
# to be stable. This is so that we force the module update in sync with
# userspace.
-#global prerel 106108
-%global prereltag %{?prerel:-%(awk 'BEGIN {print toupper("%{prerel}")}')}
+#global prerel RC1
+%global prereltag %{?prerel:_%(awk 'BEGIN {print toupper("%{prerel}")}')}
%ifarch x86_64
%bcond_without webservice
%else
%bcond_with webservice
%endif
-# el7 doesn't have all texlive requirements
-%if 0%{?rhel}
- %bcond_with docs
-%else
- %bcond_without docs
-%endif
+# Now we use upstream pdf
+%bcond_with docs
%bcond_without vnc
%bcond_with legacy_vboxvideo_drv
+
%if 0%{?fedora} > 27
%bcond_with guest_additions
%else
@@ -36,9 +33,8 @@
%endif
Name: VirtualBox
-Version: 5.2.24
-#Release: 1%%{?prerel:.%%{prerel}}%%{?dist}
-Release: 1%{?dist}
+Version: 6.0.4
+Release: 2%{?dist}
Summary: A general-purpose full virtualizer for PC hardware
License: GPLv2 or (GPLv2 and CDDL)
@@ -46,10 +42,12 @@ URL: http://www.virtualbox.org/wiki/VirtualBox
ExclusiveArch: i686 x86_64
+Group: System/Emulators/PC
Requires: %{name}-server%{?isa} = %{version}
Obsoletes: %{name}-qt
Source0: https://download.virtualbox.org/virtualbox/%{version}%{?prereltag}/Virtua...
+Source1: https://download.virtualbox.org/virtualbox/%{version}%{?prereltag}/UserMa...
Source3: VirtualBox-60-vboxdrv.rules
Source4: VirtualBox.modules
Source5: VirtualBox-60-vboxguest.rules
@@ -60,20 +58,23 @@ Source9: VBoxOGLRun.sh
Source10: vboxweb.service
Source20: os_mageia.png
Source21: os_mageia_64.png
-Patch1: VirtualBox-OSE-4.1.4-noupdate.patch
+Patch1: VirtualBox-6.0.0-noupdate.patch
Patch2: VirtualBox-5.1.0-strings.patch
Patch18: VirtualBox-OSE-4.0.2-aiobug.patch
Patch27: VirtualBox-gcc.patch
+Patch29: 590355dbdcffa4081c377fd31565e172785b390c.patch
# from Debian
Patch28: 02-gsoap-build-fix.patch
+Patch30: 37-python-3.7-support.patch
+Patch32: VBoxVNC.fix.patch
+# from ArchLinux
+Patch40: 007-python2-path.patch
# from Mageia
Patch50: VirtualBox-5.1.0-add-Mageia-support.patch
Patch51: VirtualBox-5.1.0-revert-VBox.sh.patch
# from Fedora
Patch60: VirtualBox-5.2.10-xclient.patch
Patch61: 0001-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch
-# https://www.virtualbox.org/changeset/73153/vbox
-Patch65: VirtualBox-5.2.24-xpcom18a4-fix.patch
BuildRequires: kBuild >= 0.1.9998.r3093
@@ -88,6 +89,7 @@ BuildRequires: libIDL-devel
BuildRequires: yasm
BuildRequires: pulseaudio-libs-devel
BuildRequires: python2-devel
+BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: desktop-file-utils
BuildRequires: libcap-devel
BuildRequires: qt5-qtbase-devel
@@ -211,6 +213,15 @@ Obsoletes: python-VirtualBox < %{version}-%{release}
Python XPCOM bindings to %{name}.
+%package -n python%{python3_pkgversion}-%{name}
+Summary: Python3 bindings for %{name}
+Group: Development/Libraries
+Requires: %{name}-server%{?_isa} = %{version}-%{release}
+%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
+
+%description -n python%{python3_pkgversion}-%{name}
+Python3 XPCOM bindings to %{name}.
+
%package guest-additions
Summary: %{name} Guest Additions
Group: System Environment/Base
@@ -247,12 +258,14 @@ which is generated during the build of main package.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}%{?prereltag}
# add Mageia images
cp -a %{SOURCE20} %{SOURCE21} src/VBox/Frontends/VirtualBox/images/
# Remove prebuilt binary tools
find -name '*.py[co]' -delete
+rm -r src/VBox/Additions/WINNT
+rm -r src/VBox/Additions/os2
rm -r kBuild/
rm -r tools/
# Remove bundle X11 sources and some lib sources, before patching.
@@ -277,14 +290,17 @@ rm -r src/libs/zlib-1.2.8/
%if 0%{?fedora} > 20
%patch28 -p1 -b .gsoap2
%endif
-%patch50 -p1 -b .mageia-support
+%if 0%{?fedora} < 28 || 0%{?rhel}
+%patch29 -p2 -R -b .gsoap3
+%endif
+%patch30 -p1 -b .python37
+%patch32 -p1 -b .vnc
+%patch40 -p1 -b .python2_path
+# mageia support not ready for 6.0
+#patch50 -p1 -b .mageia-support
%patch51 -p1 -b .revert-VBox.sh
%patch60 -p1 -b .xclient
%patch61 -p1 -b .automount
-%patch65 -p1 -b .xpcom18a4-fix
-
-# CRLF->LF
-sed -i 's/\r//' COPYING
%build
./configure --disable-kmods \
@@ -298,6 +314,10 @@ sed -i 's/\r//' COPYING
--disable-docs \
%endif
+%if !%{with docs}
+cp %{SOURCE1} UserManual.pdf
+%endif
+
#--enable-vde
#--build-headless --build-libxml2
#--disable-java
@@ -322,10 +342,8 @@ kmk %{_smp_mflags} \
VBOX_PATH_APP_DOCS=%{_docdir}/VirtualBox \
VBOX_WITH_TESTCASES= \
VBOX_WITH_VALIDATIONKIT= \
- VBOX_WITH_EXTPACK_VBOXDTRACE= \
VBOX_WITH_VBOX_IMG=1 \
VBOX_WITH_SYSFS_BY_DEFAULT=1 \
- VBOX_XCURSOR_LIBS="Xcursor Xext X11 GL" \
VBOX_USE_SYSTEM_XORG_HEADERS=1 \
VBOX_USE_SYSTEM_GL_HEADERS=1 \
%{!?legacy_vboxvideo_drv: VBOX_NO_LEGACY_XORG_X11=1 } \
@@ -335,12 +353,12 @@ kmk %{_smp_mflags} \
SDK_VBOX_OPENSSL_LIBS="ssl crypto" \
SDK_VBOX_ZLIB_INCS="" \
%{?with_docs: VBOX_WITH_DOCS=1 } \
- VBOX_JAVA_HOME=%{_prefix}/lib/jvm/java \
- VBOX_WITH_UPDATE_REQUEST=0 \
+ VBOX_JAVA_HOME=%{_prefix}/lib/jvm/java \
+ VBOX_WITH_UPDATE_REQUEST= \
VBOX_BUILD_PUBLISHER=%{publisher}
-# VBOX_PATH_DOCBOOK_DTD=/usr/share/sgml/docbook/xml-dtd-4.5/ \
-# VBOX_PATH_DOCBOOK=/usr/share/sgml/docbook/xsl-stylesheets/ \
+# VBOX_XCURSOR_LIBS="Xcursor Xext X11 GL" \
+
# doc/manual/fr_FR/ missing man_VBoxManage-debugvm.xml and man_VBoxManage-extpack.xml
# VBOX_WITH_DOCS_TRANSLATIONS=1 \
# we can't build CHM DOCS we need hhc.exe which is not in source and we need
@@ -372,7 +390,6 @@ install -d %{buildroot}%{_datadir}/pixmaps
install -d %{buildroot}%{_datadir}/mime/packages
install -d %{buildroot}%{_datadir}/icons
install -d %{buildroot}%{_prefix}/src/%{name}-kmod-%{version}
-install -d %{buildroot}%{python2_sitelib}/virtualbox
# Libs
install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox \
@@ -388,9 +405,6 @@ install -p -m 0755 obj/bin/VBox.sh %{buildroot}%{_bindir}/VBox
install -p -m 0755 -t %{buildroot}%{_bindir} \
obj/bin/VBoxTunctl
-# Fixes ERROR: ambiguous python shebang in F30
-sed -i '1s:#!/usr/bin/env python:#!/usr/bin/env python2:' obj/bin/vboxshell.py
-
# Executables
install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox \
obj/bin/VirtualBox \
@@ -415,6 +429,8 @@ install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox \
obj/bin/vboxshell.py \
obj/bin/vbox-img \
obj/bin/VBoxDTrace \
+ obj/bin/VBoxBugReport \
+ obj/bin/VirtualBoxVM \
%if %{with webservice}
obj/bin/vboxwebsrv \
obj/bin/webtest \
@@ -443,6 +459,9 @@ ln -s VBox %{buildroot}%{_bindir}/vboxwebsrv
%endif
ln -s ../..%{_libdir}/virtualbox/vbox-img %{buildroot}%{_bindir}/vbox-img
+#ln -s /usr/share/virtualbox/src/vboxhost $RPM_BUILD_ROOT/usr/src/vboxhost-%VER%
+
+
# Components, preserve symlinks
cp -a obj/bin/components/* %{buildroot}%{_libdir}/virtualbox/components/
@@ -450,11 +469,15 @@ cp -a obj/bin/components/* %{buildroot}%{_libdir}/virtualbox/components/
install -p -m 0755 -t %{buildroot}%{_libdir}/virtualbox/nls \
obj/bin/nls/*
-# SDK
+# Python
pushd obj/bin/sdk/installer
VBOX_INSTALL_PATH=%{_libdir}/virtualbox \
%{__python2} vboxapisetup.py install --prefix %{_prefix} --root %{buildroot}
+VBOX_INSTALL_PATH=%{_libdir}/virtualbox \
+ %{__python3} vboxapisetup.py install --prefix %{_prefix} --root %{buildroot}
popd
+
+# SDK
cp -rp obj/bin/sdk/. %{buildroot}%{_libdir}/virtualbox/sdk
rm -rf %{buildroot}%{_libdir}/virtualbox/sdk/installer
@@ -565,12 +588,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/virtualbox.desktop
# mv ExtensionPacks/VNC $RPM_BUILD_ROOT/usr/lib/virtualbox/ExtensionPacks
#fi
#set_selinux_permissions /usr/lib/virtualbox /usr/share/virtualbox
-#for i in rdesktop-vrdp.tar.gz rdesktop-vrdp-keymaps; do
-# mv $i $RPM_BUILD_ROOT/usr/share/virtualbox; done
-#mv rdesktop-vrdp $RPM_BUILD_ROOT/usr/bin
-#
# vboxautostart-service
+install -d %{buildroot}%{_libdir}/virtualbox/rdesktop-vrdp-keymaps
+install -p -m 0644 -t %{buildroot}%{_libdir}/virtualbox/rdesktop-vrdp-keymaps obj/bin/rdesktop-vrdp-keymaps/*
+install -p -m 0644 -t %{buildroot}%{_libdir}/virtualbox obj/bin/rdesktop-vrdp.tar.gz
+install -p -m 0755 -t %{buildroot}%{_bindir} obj/bin/rdesktop-vrdp
+
+
%pre
# Group for USB devices
getent group vboxusers >/dev/null || groupadd -r vboxusers
@@ -663,6 +688,8 @@ getent passwd vboxadd >/dev/null || \
%doc doc/*cpp doc/VMM
%if %{with docs}
%doc obj/bin/UserManual*.pdf
+%else
+%doc UserManual.pdf
%endif
%license COPYING*
%{_bindir}/VBoxManage
@@ -683,9 +710,9 @@ getent passwd vboxadd >/dev/null || \
%{_bindir}/vboxautostart
%{_bindir}/vbox-img
%{_bindir}/VBoxTunctl
+%{_bindir}/rdesktop-vrdp
%dir %{_libdir}/virtualbox
%{_libdir}/virtualbox/*.[^p]*
-%exclude %{_libdir}/virtualbox/VirtualBox.so
%exclude %{_libdir}/virtualbox/VBoxDbg.so
%exclude %{_libdir}/virtualbox/VBoxPython2_7.so
%{_libdir}/virtualbox/components
@@ -699,8 +726,10 @@ getent passwd vboxadd >/dev/null || \
%{_libdir}/virtualbox/SUPUninstall
%{_libdir}/virtualbox/VBoxAutostart
%{_libdir}/virtualbox/VBoxVMMPreload
+%{_libdir}/virtualbox/VBoxBugReport
%{_libdir}/virtualbox/VBoxDTrace
%{_libdir}/virtualbox/vbox-img
+%{_libdir}/virtualbox/rdesktop-vrdp-keymaps
# This permissions have to be here, before generator of debuginfo need
# permissions to read this files
%attr(4511,root,root) %{_libdir}/virtualbox/VBoxNetNAT
@@ -709,7 +738,8 @@ getent passwd vboxadd >/dev/null || \
%attr(4511,root,root) %{_libdir}/virtualbox/VBoxSDL
%attr(4511,root,root) %{_libdir}/virtualbox/VBoxNetDHCP
%attr(4511,root,root) %{_libdir}/virtualbox/VBoxNetAdpCtl
-%attr(4511,root,root) %{_libdir}/virtualbox/VirtualBox
+%attr(4511,root,root) %{_libdir}/virtualbox/VirtualBoxVM
+%{_libdir}/virtualbox/VirtualBox
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/mimetypes/*.png
%{_datadir}/icons/hicolor/scalable/mimetypes/virtualbox.svg
@@ -724,7 +754,6 @@ getent passwd vboxadd >/dev/null || \
%{_bindir}/VirtualBox
%{_bindir}/virtualbox
%{_libdir}/virtualbox/VBoxTestOGL
-%{_libdir}/virtualbox/VirtualBox.so
%{_libdir}/virtualbox/VBoxDbg.so
%{_libdir}/virtualbox/nls
%{_datadir}/pixmaps/*.png
@@ -740,14 +769,16 @@ getent passwd vboxadd >/dev/null || \
%files devel
%{_libdir}/virtualbox/sdk
-%exclude %{_libdir}/virtualbox/sdk/bindings/xpcom/python
%files -n python2-%{name}
%{_libdir}/virtualbox/*.py*
-%{python2_sitelib}/virtualbox
%{python2_sitelib}/vboxapi*
%{_libdir}/virtualbox/VBoxPython2_7.so
-%{_libdir}/virtualbox/sdk/bindings/xpcom/python
+
+%files -n python%{python3_pkgversion}-%{name}
+%{_libdir}/virtualbox/*.py*
+%{python3_sitelib}/vboxapi*
+%{_libdir}/virtualbox/VBoxPython3*.so
%if %{with guest_additions}
%files guest-additions
@@ -775,8 +806,31 @@ getent passwd vboxadd >/dev/null || \
%{_datadir}/%{name}-kmod-%{version}
%changelog
-* Thu Jan 17 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 5.2.24-1
-- Update to 5.2.24
+* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 6.0.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Jan 28 2019 Sérgio Basto <sergio(a)serjux.com> - 6.0.4-1
+- Update VBox to 6.0.4
+
+* Wed Jan 23 2019 Sérgio Basto <sergio(a)serjux.com> - 6.0.2-3
+- python3 on epel7
+- Fix build of webservice
+
+* Sat Jan 19 2019 Sérgio Basto <sergio(a)serjux.com> - 6.0.2-2
+- Patch 61 might be useful on el7
+
+* Thu Jan 17 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 6.0.2-1
+- Update to 6.0.2
+
+* Mon Jan 07 2019 Sérgio Basto <sergio(a)serjux.com> - 6.0.0-2
+- Enable Python3 support, move all SDK python files to devel sub-package, they
+ may be used by python2 and python 3.
+- Add patch VBoxVNC.fix.patch from Debian
+- Issue with EXTPACK_VBOXDTRACE was fix some time ago.
+
+* Sun Dec 30 2018 Sérgio Basto <sergio(a)serjux.com> - 6.0.0-1
+- VirtualBox 6.0
+- Patch23 was applied upstream.
* Fri Nov 09 2018 Sérgio Basto <sergio(a)serjux.com> - 5.2.22-1
- Update VBox to 5.2.22
diff --git a/sources b/sources
index 74770f2..0f58cce 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-798c39b9fc84b826e99a1b0b19a650dd VirtualBox-5.2.24.tar.bz2
+96e53b9e75a37cc6fd2d13d9c9f6881d VirtualBox-6.0.4.tar.bz2
+cc249f95c62a734b011ce0043fe7180d UserManual.pdf
diff --git a/update_vbox.sh b/update_vbox.sh
index 84b0113..8b9a1ea 100755
--- a/update_vbox.sh
+++ b/update_vbox.sh
@@ -1,4 +1,4 @@
-VERSION=5.2.22
+VERSION=6.0.4
REL=1
RAWHIDE=30
if [ -z "$1" ]
@@ -13,6 +13,7 @@ then
echo STAGE 0
git pull
rpmdev-bumpspec -n $VERSION -c "Update VBox to $VERSION" VirtualBox.spec
+rm UserManual.pdf
spectool -g VirtualBox.spec
rfpkg srpm && copr-cli build sergiomb/vboxfor23 VirtualBox-$VERSION-$REL.fc$RAWHIDE.src.rpm
echo Press enter to continue; read dummy;
@@ -21,7 +22,7 @@ fi
if test $stage -le 1
then
echo STAGE 1
-rfpkg new-sources ./VirtualBox-$VERSION.tar.bz2
+rfpkg new-sources ./VirtualBox-$VERSION.tar.bz2 ./UserManual.pdf
rfpkg ci -c && git show
echo Press enter to continue; read dummy;
rfpkg push && rfpkg build --nowait
@@ -47,30 +48,4 @@ echo STAGE 5
git pull
rpmdev-bumpspec -n $VERSION -c "Update VBox to $VERSION" VirtualBox-kmod.spec
rfpkg srpm && copr-cli build sergiomb/vboxfor23 VirtualBox-kmod-$VERSION-$REL.fc$RAWHIDE.src.rpm
-rfpkg ci -c && git show
-#cp VirtualBox-kmod.spec VirtualBox-kmod.spec.new
-#git reset HEAD~1
-#git rm kernel-4.10.0-0.rc5.lnkops.v2.patch
-echo Press enter to continue; read dummy;
-rfpkg push && rfpkg build --nowait
-
-echo Press enter to continue; read dummy;
-#koji-rpmfusion watch-task
-koji-rpmfusion tag-build f27-free-override VirtualBox-$VERSION-$REL.fc27
-koji-rpmfusion wait-repo f27-free-build --build=VirtualBox-$VERSION-$REL.fc27
-git checkout f27 && git merge master && git push && rfpkg build --nowait; git checkout master
-echo Press enter to continue; read dummy;
-koji-rpmfusion tag-build f26-free-override VirtualBox-$VERSION-$REL.fc26
-
-echo "koji-rpmfusion tag-build f26-free-override VirtualBox-$VERSION-$REL.fc26
-koji-rpmfusion wait-repo f26-free-build --build=VirtualBox-$VERSION-$REL.fc26
-git checkout f26 && git merge master && git push && rfpkg build --nowait; git checkout master
-Press enter to continue; read dummy;
-koji-rpmfusion tag-build f25-free-override VirtualBox-$VERSION-$REL.fc25
-koji-rpmfusion wait-repo f25-free-build --build=VirtualBox-$VERSION-$REL.fc25
-git checkout f25 && git merge master && git push && rfpkg build --nowait; git checkout master
-Press enter to continue; read dummy;
-koji-rpmfusion tag-build el7-free-override VirtualBox-$VERSION-$REL.el7
-koji-rpmfusion wait-repo el7-free-build --build=VirtualBox-$VERSION-$REL.el7
-git checkout el7 && git merge master && git push && rfpkg build --nowait; git checkout master"
-fi
+echo Continue in ..../VirtualBox-kmod/update_vbox.sh
5 years, 8 months
[VirtualBox/f28] (10 commits) ...Merge branch 'master' into f28
by Sérgio M. Basto
Summary of changes:
c7b4a6a... Update to 6.0.2. (*)
6cf3564... Added asm volatile patch. (*)
abba50b... Patch 61 might be useful on el7 (*)
1bc60c9... python3 on epel7 (*)
0cb8d42... Fix build of webservice (*)
8565859... Update VBox to 6.0.4 (*)
e2ec092... - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass (*)
b4086fc... minor changes (*)
f840593... Rebase and squash f28
2cf0ca9... Merge branch 'master' into f28
(*) This commit already existed in another branch; no separate mail sent
5 years, 8 months
[VirtualBox/f29: 14/14] Merge branch 'master' into f29
by Sérgio M. Basto
commit 60aec8b932ad9f8c038caa64d2919a9bfbbb8341
Merge: da9f530 b4086fc
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Mar 22 02:32:28 2019 +0000
Merge branch 'master' into f29
007-python2-path.patch | 9 +++++++++
37-python-3.7-support.patch | 17 ++++++++++++++++
590355dbdcffa4081c377fd31565e172785b390c.patch | 27 ++++++++++++++++++++++++++
VBoxVNC.fix.patch | 17 ++++++++++++++++
VirtualBox-6.0.0-noupdate.patch | 11 +++++++++++
5 files changed, 81 insertions(+)
---
5 years, 8 months