From a68b035b03d0d1df3ba5851ec6632196021a5de0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 14 May 2013 04:17:20 -0300 Subject: virtualbox-libre: updating revision --- libre/virtualbox-libre/PKGBUILD | 9 +- libre/virtualbox-libre/libre.patch | 333 ------------------------------------- 2 files changed, 4 insertions(+), 338 deletions(-) (limited to 'libre/virtualbox-libre') diff --git a/libre/virtualbox-libre/PKGBUILD b/libre/virtualbox-libre/PKGBUILD index 4cf483641..cf2a4e4d4 100644 --- a/libre/virtualbox-libre/PKGBUILD +++ b/libre/virtualbox-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 89632 2013-04-30 16:22:22Z foutrelis $ +# $Id: PKGBUILD 90797 2013-05-14 00:31:45Z seblu $ # Maintainer: Ionut Biru # Maintainer: Sébastien Luttringer # Maintainer (Parabola): André Silva @@ -14,7 +14,7 @@ pkgname=('virtualbox-libre' 'virtualbox-libre-sdk' 'virtualbox-libre-guest-utils') pkgver=4.2.12 -pkgrel=2.1 +pkgrel=3 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL' 'custom') @@ -108,7 +108,7 @@ md5sums=('654e45054ae6589452508d37403dc800' 'c7951fe6888d939f3a7d0dafe477e82b' '4da8eeb2ece7e475fc7a0d1003da26c6' '5e4187af59726d71c5be48d0cd816c34' - '7c5eca076af3d0601f5321f99b815b9c' + 'a757fa81ccf64788952c69dc5e6e43ff' '50387fba578646a9d29de3f917a199d2') prepare() { @@ -318,8 +318,7 @@ package_virtualbox-libre-guest-utils(){ source "VirtualBox-$pkgver/env.sh" pushd "VirtualBox-$pkgver/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions" install -d "$pkgdir"/{usr/bin,sbin} - install -m755 VBoxClient VBoxControl VBoxService "$pkgdir/usr/bin" - install -m755 mount.vboxsf "$pkgdir/sbin" + install -m755 VBoxClient VBoxControl VBoxService mount.vboxsf "$pkgdir/usr/bin" install -m755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/98vboxadd-xclient \ "$pkgdir"/usr/bin/VBoxClient-all install -m755 -D "$srcdir"/VirtualBox-$pkgver/src/VBox/Additions/x11/Installer/vboxclient.desktop \ diff --git a/libre/virtualbox-libre/libre.patch b/libre/virtualbox-libre/libre.patch index c3e2e4ad4..ec40c0692 100644 --- a/libre/virtualbox-libre/libre.patch +++ b/libre/virtualbox-libre/libre.patch @@ -1001,339 +1001,6 @@ else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_TESTSUITE && !VBOX_ONLY_DOCS # ---- VirtualBox-4.2.12.orig/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp 2013-04-12 07:37:59.000000000 -0300 -+++ VirtualBox-4.2.12/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp 2013-05-10 16:26:44.137679260 -0300 -@@ -1829,166 +1829,12 @@ - "available on this virtual machine, and shared folders " - "cannot be used without them. To use shared folders inside " - "the virtual machine, please install the Guest Additions " -- "if they are not installed, or re-install them if they are " -- "not working correctly, by selecting Install Guest Additions " -- "from the Devices menu. " -+ "if they are not installed." - "If they are installed but the machine is not yet fully started " - "then shared folders will be available once it is.

"), - "remindAboutGuestAdditionsAreNotActive"); - } - --bool UIMessageCenter::cannotFindGuestAdditions() --{ -- return messageYesNo(mainMachineWindowShown(), Question, -- tr("

Could not find the VirtualBox Guest Additions " -- "CD image file.

Do you wish to " -- "download this CD image from the Internet?

")); --} -- --void UIMessageCenter::cannotMountGuestAdditions(const QString &strMachineName) --{ -- message(mainMachineWindowShown(), Error, -- tr("

Could not insert the VirtualBox Guest Additions " -- "installer CD image into the virtual machine %1, as the machine " -- "has no CD/DVD-ROM drives. Please add a drive using the " -- "storage page of the virtual machine settings dialog.

") -- .arg(strMachineName)); --} -- --bool UIMessageCenter::confirmDownloadAdditions(const QString &strUrl, qulonglong uSize) --{ -- QLocale loc(VBoxGlobal::languageId()); -- return messageOkCancel(networkManagerOrMainMachineWindowShown(), Question, -- tr("

Are you sure you want to download the VirtualBox " -- "Guest Additions CD image from " -- "%2 " -- "(size %3 bytes)?

").arg(strUrl).arg(strUrl).arg(loc.toString(uSize)), -- 0, /* pcszAutoConfirmId */ -- tr("Download", "additions")); --} -- --bool UIMessageCenter::confirmMountAdditions(const QString &strUrl, const QString &strSrc) --{ -- return messageOkCancel(networkManagerOrMainMachineWindowShown(), Question, -- tr("

The VirtualBox Guest Additions CD image has been " -- "successfully downloaded from " -- "%2 " -- "and saved locally as %3.

" -- "

Do you wish to register this CD image and mount it " -- "on the virtual CD/DVD drive?

") -- .arg(strUrl).arg(strUrl).arg(strSrc), -- 0, /* pcszAutoConfirmId */ -- tr("Mount", "additions")); --} -- --void UIMessageCenter::warnAboutAdditionsCantBeSaved(const QString &strTarget) --{ -- message(networkManagerOrMainMachineWindowShown(), Error, -- tr("

Failed to save the downloaded file as %1.

") -- .arg(QDir::toNativeSeparators(strTarget))); --} -- --bool UIMessageCenter::askAboutUserManualDownload(const QString &strMissedLocation) --{ -- return messageOkCancel(mainWindowShown(), Question, -- tr("

Could not find the VirtualBox User Manual " -- "%1.

Do you wish to " -- "download this file from the Internet?

") -- .arg(strMissedLocation), -- 0, /* Auto-confirm Id */ -- tr("Download", "additions")); --} -- --bool UIMessageCenter::confirmUserManualDownload(const QString &strURL, qulonglong uSize) --{ -- QLocale loc(VBoxGlobal::languageId()); -- return messageOkCancel(networkManagerOrMainWindowShown(), Question, -- tr("

Are you sure you want to download the VirtualBox " -- "User Manual from " -- "%2 " -- "(size %3 bytes)?

").arg(strURL).arg(strURL).arg(loc.toString(uSize)), -- 0, /* Auto-confirm Id */ -- tr("Download", "additions")); --} -- --void UIMessageCenter::warnAboutUserManualDownloaded(const QString &strURL, const QString &strTarget) --{ -- message(networkManagerOrMainWindowShown(), Warning, -- tr("

The VirtualBox User Manual has been " -- "successfully downloaded from " -- "%2 " -- "and saved locally as %3.

") -- .arg(strURL).arg(strURL).arg(strTarget)); --} -- --void UIMessageCenter::warnAboutUserManualCantBeSaved(const QString &strURL, const QString &strTarget) --{ -- message(networkManagerOrMainWindowShown(), Error, -- tr("

The VirtualBox User Manual has been " -- "successfully downloaded from " -- "%2 " -- "but can't be saved locally as %3.

" -- "

Please choose another location for that file.

") -- .arg(strURL).arg(strURL).arg(strTarget)); --} -- --bool UIMessageCenter::proposeDownloadExtensionPack(const QString &strExtPackName, const QString &strExtPackVersion) --{ -- return messageOkCancel(mainWindowShown(), -- Question, -- tr("

You have an old version (%1) of the %2 installed.

" -- "

Do you wish to download latest one from the Internet?

") -- .arg(strExtPackVersion).arg(strExtPackName), -- 0, /* Auto-confirm Id */ -- tr("Download", "extension pack")); --} -- --bool UIMessageCenter::requestUserDownloadExtensionPack(const QString &strExtPackName, const QString &strExtPackVersion, const QString &strVBoxVersion) --{ -- return message(mainWindowShown(), Info, -- tr("

You have version %1 of the %2 installed.

" -- "

You should download and install version %3 of this extension pack from Oracle!

") -- .arg(strExtPackVersion).arg(strExtPackName).arg(strVBoxVersion), -- 0, /* Auto-confirm Id */ -- QIMessageBox::Ok | QIMessageBox::Default, -- 0, -- 0, -- tr("Ok", "extension pack")); --} -- --bool UIMessageCenter::confirmDownloadExtensionPack(const QString &strExtPackName, const QString &strURL, qulonglong uSize) --{ -- QLocale loc(VBoxGlobal::languageId()); -- return messageOkCancel(networkManagerOrMainWindowShown(), Question, -- tr("

Are you sure you want to download the %1 " -- "from %2 (size %3 bytes)?

") -- .arg(strExtPackName, strURL, loc.toString(uSize)), -- 0, /* Auto-confirm Id */ -- tr("Download", "extension pack")); --} -- --bool UIMessageCenter::proposeInstallExtentionPack(const QString &strExtPackName, const QString &strFrom, const QString &strTo) --{ -- return messageOkCancel(networkManagerOrMainWindowShown(), Question, -- tr("

The %1 has been " -- "successfully downloaded from %2 " -- "and saved locally as %3.

" -- "

Do you wish to install this extension pack?

") -- .arg(strExtPackName, strFrom, strTo), -- 0, /* Auto-confirm Id */ -- tr ("Install", "extension pack")); --} -- --void UIMessageCenter::warnAboutExtentionPackCantBeSaved(const QString &strExtPackName, const QString &strFrom, const QString &strTo) --{ -- message(networkManagerOrMainWindowShown(), Error, -- tr("

The %1 has been " -- "successfully downloaded from %2 " -- "but can't be saved locally as %3.

" -- "

Please choose another location for that file.

") -- .arg(strExtPackName, strFrom, strTo)); --} -- - void UIMessageCenter::cannotConnectRegister(QWidget *pParent, - const QString &strUrl, - const QString &strReason) -@@ -2572,162 +2418,6 @@ - formatErrorInfo(progress.GetErrorInfo())); - } - --void UIMessageCenter::cannotUpdateGuestAdditions(const CProgress &progress, -- QWidget *pParent /* = NULL */) const --{ -- AssertWrapperOk(progress); -- -- message(pParent ? pParent : mainWindowShown(), -- Error, -- tr("Failed to update Guest Additions. The Guest Additions installation image will be mounted to provide a manual installation."), -- formatErrorInfo(progress.GetErrorInfo())); --} -- --void UIMessageCenter::cannotOpenExtPack(const QString &strFilename, -- const CExtPackManager &extPackManager, -- QWidget *pParent) --{ -- message(pParent ? pParent : mainWindowShown(), -- Error, -- tr("Failed to open the Extension Pack %1.").arg(strFilename), -- formatErrorInfo(extPackManager)); --} -- --void UIMessageCenter::badExtPackFile(const QString &strFilename, -- const CExtPackFile &extPackFile, -- QWidget *pParent) --{ -- message(pParent ? pParent : mainWindowShown(), -- Error, -- tr("Failed to open the Extension Pack %1.").arg(strFilename), -- "" + extPackFile.GetWhyUnusable()); --} -- --void UIMessageCenter::cannotInstallExtPack(const QString &strFilename, -- const CExtPackFile &extPackFile, -- const CProgress &progress, -- QWidget *pParent) --{ -- if (!pParent) -- pParent = mainWindowShown(); -- QString strErrInfo = !extPackFile.isOk() || progress.isNull() -- ? formatErrorInfo(extPackFile) : formatErrorInfo(progress.GetErrorInfo()); -- message(pParent, -- Error, -- tr("Failed to install the Extension Pack %1.").arg(strFilename), -- strErrInfo); --} -- --void UIMessageCenter::cannotUninstallExtPack(const QString &strPackName, const CExtPackManager &extPackManager, -- const CProgress &progress, QWidget *pParent) --{ -- if (!pParent) -- pParent = mainWindowShown(); -- QString strErrInfo = !extPackManager.isOk() || progress.isNull() -- ? formatErrorInfo(extPackManager) : formatErrorInfo(progress.GetErrorInfo()); -- message(pParent, -- Error, -- tr("Failed to uninstall the Extension Pack %1.").arg(strPackName), -- strErrInfo); --} -- --bool UIMessageCenter::confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion, -- const QString &strPackDescription, QWidget *pParent) --{ -- return messageOkCancel(pParent ? pParent : mainWindowShown(), -- Question, -- tr("

You are about to install a VirtualBox extension pack. " -- "Extension packs complement the functionality of VirtualBox and can contain system level software " -- "that could be potentially harmful to your system. Please review the description below and only proceed " -- "if you have obtained the extension pack from a trusted source.

" -- "

" -- "" -- "" -- "" -- "
Name:  %1
Version:  %2
Description:  %3

") -- .arg(strPackName).arg(strPackVersion).arg(strPackDescription), -- 0, -- tr("&Install")); --} -- --bool UIMessageCenter::confirmReplacePackage(const QString &strPackName, const QString &strPackVersionNew, -- const QString &strPackVersionOld, const QString &strPackDescription, -- QWidget *pParent) --{ -- if (!pParent) -- pParent = pParent ? pParent : mainWindowShown(); /* this is boring stuff that messageOkCancel should do! */ -- -- QString strBelehrung = tr("Extension packs complement the functionality of VirtualBox and can contain " -- "system level software that could be potentially harmful to your system. " -- "Please review the description below and only proceed if you have obtained " -- "the extension pack from a trusted source."); -- -- QByteArray ba1 = strPackVersionNew.toUtf8(); -- QByteArray ba2 = strPackVersionOld.toUtf8(); -- int iVerCmp = RTStrVersionCompare(ba1.constData(), ba2.constData()); -- -- bool fRc; -- if (iVerCmp > 0) -- fRc = messageOkCancel(pParent, -- Question, -- tr("

An older version of the extension pack is already installed, would you like to upgrade? " -- "

%1

" -- "

" -- "" -- "" -- "" -- "" -- "
Name:  %2
New Version:  %3
Current Version:  %4
Description:  %5

") -- .arg(strBelehrung).arg(strPackName).arg(strPackVersionNew).arg(strPackVersionOld).arg(strPackDescription), -- 0, -- tr("&Upgrade")); -- else if (iVerCmp < 0) -- fRc = messageOkCancel(pParent, -- Question, -- tr("

An newer version of the extension pack is already installed, would you like to downgrade? " -- "

%1

" -- "

" -- "" -- "" -- "" -- "" -- "
Name:  %2
New Version:  %3
Current Version:  %4
Description:  %5

") -- .arg(strBelehrung).arg(strPackName).arg(strPackVersionNew).arg(strPackVersionOld).arg(strPackDescription), -- 0, -- tr("&Downgrade")); -- else -- fRc = messageOkCancel(pParent, -- Question, -- tr("

The extension pack is already installed with the same version, would you like reinstall it? " -- "

%1

" -- "

" -- "" -- "" -- "" -- "
Name:  %2
Version:  %3
Description:  %4

") -- .arg(strBelehrung).arg(strPackName).arg(strPackVersionOld).arg(strPackDescription), -- 0, -- tr("&Reinstall")); -- return fRc; --} -- --bool UIMessageCenter::confirmRemovingPackage(const QString &strPackName, QWidget *pParent) --{ -- return messageOkCancel(pParent ? pParent : mainWindowShown(), -- Question, -- tr("

You are about to remove the VirtualBox extension pack %1.

" -- "

Are you sure you want to proceed?

").arg(strPackName), -- 0, -- tr("&Remove")); --} -- --void UIMessageCenter::notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent) --{ -- message(pParent ? pParent : mainWindowShown(), -- Info, -- tr("The extension pack
%1
was installed successfully.").arg(strPackName)); --} -- - void UIMessageCenter::warnAboutIncorrectPort(QWidget *pParent) const - { - message(pParent, Error, --- VirtualBox-4.2.12.orig/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp 2013-04-12 07:38:01.000000000 -0300 +++ VirtualBox-4.2.12/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp 2013-05-10 17:03:11.087825690 -0300 @@ -650,27 +650,6 @@ -- cgit v1.2.3