summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-11 01:48:19 -0700
committerroot <root@rshg054.dnsready.net>2013-05-11 01:48:19 -0700
commit207b7c7b0d7bc0db898a2386a665bdb20495fb19 (patch)
tree972e21e2c70df56034182bfc0bf6ccbebab104b7 /libre
parentfc7ee6f5a358c428577ae4e6217ff594a3e45ad3 (diff)
Sat May 11 01:48:09 PDT 2013
Diffstat (limited to 'libre')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD6
-rw-r--r--libre/linux-libre-lts/PKGBUILD8
-rw-r--r--libre/linux-libre-lts/linux-libre-lts.install2
-rw-r--r--libre/luxrender-libre/PKGBUILD4
-rw-r--r--libre/virtualbox-libre/PKGBUILD2
-rw-r--r--libre/virtualbox-libre/libre.patch527
6 files changed, 402 insertions, 147 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 97a1b4f12..6637e134c 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=blender-addon-luxrender
_pkgname=${pkgname:14:3}${pkgname::5}25
_srcver=c9deae0646d0
-pkgver=1.2.1.v2.66
+pkgver=1.2.1.v2.67
_pkgver=${pkgver::5}
_reqname=${pkgname::7}
_reqver=${pkgver:7}
-_reqep=7
-pkgrel=2
+_reqep=8
+pkgrel=1
pkgdesc="$_pkgname: A addon for the ${_reqname^} which allows render and export with LuxRender (built for the $_reqname-libre package)"
arch=any
url=http://www.${pkgname:14}.net/
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index bb72f209f..61bbef162 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 184141 2013-05-02 15:29:52Z tpowa $
+# $Id: PKGBUILD 184766 2013-05-08 09:12:14Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
@@ -7,7 +7,7 @@
pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
_basekernel=3.0
-_sublevel=76
+_sublevel=77
pkgver=${_basekernel}.${_sublevel}
pkgrel=1
_lxopkgver=${_basekernel}.76 # nearly always the same as pkgver
@@ -32,7 +32,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'module-init-wait-3.0.patch'
"http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu1_0loongsonlibre_mipsel.tar.bz2")
md5sums=('f30a562307b6f71204370fcd33756466'
- 'e405de6581d02d44c2c06a81a1d93f93'
+ '8b2ca0f6a92462ba9e544f02fc450c03'
'fe0e9b4415b82f306fc1b63eb9a742a4'
'69a689019ea0b6ed46b387907f14bc8a'
'c072b17032e80debc6a8626299245d46'
@@ -387,7 +387,7 @@ _package-headers() {
done
# remove unneeded architectures
- rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
+ rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,microblaze,mn10300,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,um,unicore32,v850,xtensa}
if [ "$CARCH" = "mips64el" ]; then
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
else
diff --git a/libre/linux-libre-lts/linux-libre-lts.install b/libre/linux-libre-lts/linux-libre-lts.install
index d4fbc8398..0030c7ce2 100644
--- a/libre/linux-libre-lts/linux-libre-lts.install
+++ b/libre/linux-libre-lts/linux-libre-lts.install
@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=-lts
-KERNEL_VERSION=3.0.76-1-LIBRE-LTS
+KERNEL_VERSION=3.0.77-1-LIBRE-LTS
# set a sane PATH to ensure that critical utils like depmod will be found
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
diff --git a/libre/luxrender-libre/PKGBUILD b/libre/luxrender-libre/PKGBUILD
index 3e9ae0e9e..2e3126da7 100644
--- a/libre/luxrender-libre/PKGBUILD
+++ b/libre/luxrender-libre/PKGBUILD
@@ -7,13 +7,13 @@ pkgname=luxrender-libre
_pkgflag=libre
pkgver=1.2.1
_pkgver=3066b2161439
-pkgrel=2
+pkgrel=3
pkgdesc="Rendering system for physically correct, unbiased image synthesis, without nonfree OpenCL recommendation"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.${pkgname%-$_pkgflag}.net/"
license=('GPL')
depends=('boost-libs' 'freeimage' 'openexr' 'libcl' 'libgl')
-optdepends=('luxblend25: Blender exporter' 'qt4: Qt GUI' \
+optdepends=('blender-addon-luxrender: Blender for renderer and exporter' 'qt4: Qt GUI' \
'python: Python interface (pylux)')
makedepends=('cmake' 'boost' 'mesa' 'qt4' "luxrays=${pkgver::3}" 'python' 'opencl-headers')
provides=(${pkgname%-$_pkgflag}=$pkgver)
diff --git a/libre/virtualbox-libre/PKGBUILD b/libre/virtualbox-libre/PKGBUILD
index 8a578eeda..4cf483641 100644
--- a/libre/virtualbox-libre/PKGBUILD
+++ b/libre/virtualbox-libre/PKGBUILD
@@ -108,7 +108,7 @@ md5sums=('654e45054ae6589452508d37403dc800'
'c7951fe6888d939f3a7d0dafe477e82b'
'4da8eeb2ece7e475fc7a0d1003da26c6'
'5e4187af59726d71c5be48d0cd816c34'
- '5ea240a7f85a1f2e875dbd247a6982aa'
+ '7c5eca076af3d0601f5321f99b815b9c'
'50387fba578646a9d29de3f917a199d2')
prepare() {
diff --git a/libre/virtualbox-libre/libre.patch b/libre/virtualbox-libre/libre.patch
index dec34abb9..c3e2e4ad4 100644
--- a/libre/virtualbox-libre/libre.patch
+++ b/libre/virtualbox-libre/libre.patch
@@ -1,5 +1,5 @@
--- VirtualBox-4.2.12.orig/Config.kmk 2013-04-12 07:33:55.000000000 -0300
-+++ VirtualBox-4.2.12/Config.kmk 2013-05-09 22:45:16.882436950 -0300
++++ VirtualBox-4.2.12/Config.kmk 2013-05-10 15:03:20.817944799 -0300
@@ -56,9 +56,6 @@
PROPS_SYSMODS_ACCUMULATE_L += INTERMEDIATES
PROPS_MISCBINS_ACCUMULATE_L += INTERMEDIATES
@@ -10,23 +10,7 @@
# Install paths
## @todo This will change after 4.1 is branched off!
# What is now 'bin' and 'lib' will be moved down under 'staged/', except on
-@@ -94,7 +91,6 @@
- INST_SYS = $(INST_BIN)
- INST_TESTCASE = $(INST_BIN)testcase/
- INST_ADDITIONS = $(INST_BIN)additions/
-- INST_ADDITIONS_ISO = $(INST_BIN)
-
- # other paths
- INST_TESTSUITE = testsuite/
-@@ -119,7 +115,6 @@
- INST_SYS = $(INST_BIN)
- INST_TESTCASE = $(INST_BIN)testcase/
- INST_ADDITIONS = $(INST_BIN)additions/
-- INST_ADDITIONS_ISO = $(INST_ADDITIONS)
-
- INST_TESTSUITE = testsuite/
- INST_LIB = lib/
-@@ -129,18 +124,13 @@
+@@ -129,9 +126,6 @@
endif
INST_DOC = doc/
@@ -36,16 +20,15 @@
INST_PACKAGES = packages/
VBOX_PATH_SDK = $(patsubst %/,%,$(PATH_STAGE)/$(INST_SDK))
- VBOX_PATH_DIST = $(patsubst %/,%,$(PATH_STAGE)/$(INST_DIST))
- VBOX_PATH_TESTSUITE = $(patsubst %/,%,$(PATH_STAGE)/$(INST_TESTSUITE))
+@@ -140,7 +134,6 @@
VBOX_PATH_ADDITIONS = $(patsubst %/,%,$(PATH_STAGE)/$(INST_ADDITIONS))
--VBOX_PATH_ADDITIONS_ISO = $(patsubst %/,%,$(PATH_STAGE)/$(INST_ADDITIONS_ISO))
+ VBOX_PATH_ADDITIONS_ISO = $(patsubst %/,%,$(PATH_STAGE)/$(INST_ADDITIONS_ISO))
VBOX_PATH_ADDITIONS_LIB = $(patsubst %/,%,$(PATH_STAGE)/$(INST_ADDITIONS_LIB))
-VBOX_PATH_EXTPACK_PUEL= $(patsubst %/,%,$(PATH_STAGE)/$(INST_EXTPACK_PUEL))
VBOX_PATH_PACKAGES = $(patsubst %/,%,$(PATH_STAGE)/$(INST_PACKAGES))
-@@ -215,7 +205,6 @@
+@@ -215,7 +208,6 @@
export VBOX_ADDITIONS_SH_MODE = release
export VBOX_DOCUMENTATION_SH_MODE = release
export VBOX_EFI_SH_MODE = release
@@ -53,16 +36,7 @@
endif
# Some info on the vendor
-@@ -313,7 +302,7 @@
- endif
- # Don't create the additions ISO.
- # (Used by the additions build server, don't invert it.)
--#VBOX_WITHOUT_ADDITIONS_ISO = 1
-+ VBOX_WITHOUT_ADDITIONS_ISO = 1
- ## @}
-
- ## @name Documentation
-@@ -368,8 +357,6 @@
+@@ -368,8 +360,6 @@
VBOX_WITH_USB = 1
# Enable the USB 1.1 controller plus virtual USB HID devices.
VBOX_WITH_VUSB = 1
@@ -71,7 +45,7 @@
# Enable the ISCSI feature.
VBOX_WITH_ISCSI = 1
# Enable INIP support in the ISCSI feature.
-@@ -441,9 +428,6 @@
+@@ -441,9 +431,6 @@
ifdef VBOX_WITH_USB
VBOX_WITH_VUSB = 1
endif
@@ -81,7 +55,7 @@
ifdef VBOX_WITH_PCI_PASSTHROUGH
VBOX_WITH_PCI_PASSTHROUGH_IMPL = 1
endif
-@@ -584,8 +568,6 @@
+@@ -584,8 +571,6 @@
if1of ($(KBUILD_TARGET), darwin freebsd linux solaris win)
VBOX_WITH_CROGL = 1
endif
@@ -90,7 +64,7 @@
# Enable S3 support (requires libcurl)
VBOX_WITH_S3 = 1
# Enable Host=>Guest Drag'n'Drop
-@@ -625,17 +607,6 @@
+@@ -625,17 +610,6 @@
endif
## @}
@@ -108,7 +82,7 @@
## @name Misc
## @{
# Enable Seamless mode
-@@ -826,14 +797,6 @@
+@@ -826,14 +800,6 @@
# Skip stuff.
#
@@ -123,7 +97,7 @@
# VBOX_QUICK can be used by core developers to speed to the build
ifdef VBOX_QUICK
# undefine variables by assigning blank.
-@@ -888,7 +851,6 @@
+@@ -888,7 +854,6 @@
VBOX_WITH_TESTSUITE=
VBOX_WITH_QTGUI=
VBOX_WITH_USB=
@@ -131,7 +105,7 @@
VBOX_WITH_DOCS=
VBOX_WITH_PDM_ASYNC_COMPLETION=
VBOX_WITH_KCHMVIEWER=
-@@ -910,7 +872,6 @@
+@@ -910,7 +875,6 @@
VBOX_WITH_CROGL=
VBOX_WITH_DEBUGGER=
VBOX_WITH_DOCS=
@@ -139,7 +113,7 @@
VBOX_WITH_HARDENING=
VBOX_WITH_HEADLESS=
VBOX_WITH_HGCM=
-@@ -983,7 +944,7 @@
+@@ -983,7 +947,7 @@
#
# Indicate VBOX_ONLY build if any of the VBOX_ONLY_* variables are set.
#
@@ -148,7 +122,7 @@
, $(if-expr defined(VBOX_ONLY_$(x)),VBOX_ONLY_$(x))))
if $(words $(VBOX_ONLY_BUILD)) > 1
$(error VBox: More than one VBOX_ONLY build enabled! $(VBOX_ONLY_BUILD))
-@@ -1001,9 +962,6 @@
+@@ -1001,9 +965,6 @@
#
ifdef VBOX_OSE
VBOX_WITH_VRDP=
@@ -158,7 +132,7 @@
VBOX_WITH_PCI_PASSTHROUGH_IMPL=
VBOX_WITH_OS2_ADDITIONS_BIN=
VBOX_WITH_SECURELABEL=
-@@ -1135,10 +1093,6 @@
+@@ -1135,10 +1096,6 @@
VBOX_WITH_KCHMVIEWER=
endif
@@ -169,7 +143,7 @@
#
# Mark OSE builds clearly, helps figuring out limitations more easily.
#
-@@ -1743,9 +1697,6 @@
+@@ -1743,9 +1700,6 @@
# bin2c (convert binary files into C arrays)
VBOX_BIN2C ?= $(PATH_OBJ)/bin2c/bin2c$(HOSTSUFF_EXE)
@@ -179,7 +153,7 @@
# VBoxCmp (simple /bin/cmp with more sensible output)
VBOX_VBOXCMP ?= $(PATH_OBJ)/VBoxCmp/VBoxCmp$(HOSTSUFF_EXE)
-@@ -2633,13 +2584,6 @@
+@@ -2633,13 +2587,6 @@
SDK_VBOX_OPENSSL2_LIBS = $(NO_SUCH_VARIABLE)
endif
@@ -193,7 +167,7 @@
SDK_VBOX_BLD_OPENSSL = .
SDK_VBOX_BLD_OPENSSL_EXTENDS = VBOX_OPENSSL
SDK_VBOX_BLD_OPENSSL_LIBS ?= \
-@@ -4100,99 +4044,6 @@
+@@ -4100,99 +4047,6 @@
TEMPLATE_VBOXMAINCLIENTDLL_LDFLAGS.darwin = $(filter-out -bind_at_load,$(TEMPLATE_VBOXMAINCLIENTEXE_LDFLAGS.darwin))
@@ -419,69 +393,8 @@
echo
echo "Successfully generated '$CNF' and '$ENV'."
--- VirtualBox-4.2.12.orig/Makefile.kmk 2013-04-12 07:33:55.000000000 -0300
-+++ VirtualBox-4.2.12/Makefile.kmk 2013-05-09 23:09:45.756804164 -0300
-@@ -177,41 +177,6 @@
- INSTALLS += buildserver-additions
- endif
-
--#
--# Install additions iso from the build server.
--# The $(CP)/$(RM) stuff can be replaced by a simple $(TOUCH) once that has
--# been added to kBuild.
--#
--buildserver-additions_INST = $(INST_ADDITIONS_ISO)
--buildserver-additions_MODE = 0644
--buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso
--buildserver-additions_CLEANS = \
-- $(buildserver-additions_0_OUTDIR)/unpacked.ts \
-- $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip \
-- $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp \
-- $(PATH_TARGET)/VBoxGuestAdditions.iso
--
--$$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \
-- $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip
-- $(call MSG_L1,Unpacking additions archive)
-- $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
-- $(APPEND) -t $@ "done"
--
--$$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(PATH_DEVTOOLS)/bin/additions.sh | $$(dir $$@)
-- $(RM) -f $@ $@.tmp
-- ifneq ($(KBUILD_HOST),win)
-- $(SHELL) $(PATH_DEVTOOLS)/bin/additions.sh --cmd fetch --filename $@.tmp
-- else
-- $(KMK) --affinity 1 -f $(MAKEFILE) buildserver-additions-affinity-hack
-- endif
-- $(CP) -f $@.tmp $@
-- $(RM) -f $@.tmp
--
-- ifeq ($(KBUILD_HOST),win)
--buildserver-additions-affinity-hack:
-- $(SHELL) $(PATH_DEVTOOLS)/bin/additions.sh --cmd fetch --filename $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp
-- endif
--endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER
-
-
- #
-@@ -327,18 +292,6 @@
- ifn1of ($(KBUILD_TARGET), l4 linux win)
- VBOX_PATH_STAGED ?= .
-
-- # Additions.
-- ifndef VBOX_WITH_LINUX_ADDITIONS
-- ifndef VBOX_WITH_WIN32_ADDITIONS
-- ifneq ($(wildcard $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso),)
-- INSTALLS += staged-additions
-- staged-additions_INST = $(INST_ADDITIONS_ISO)
-- staged-additions_MODE = 0644
-- staged-additions_SOURCES = $(VBOX_PATH_STAGED)/VBoxGuestAdditions.iso
-- endif
-- endif
-- endif
--
- # guesttool.exe
- ifndef VBOX_WITH_WIN32_ADDITIONS
- ifneq ($(wildcard $(VBOX_PATH_STAGED)/guesttool.exe),)
-@@ -388,7 +341,6 @@
++++ VirtualBox-4.2.12/Makefile.kmk 2013-05-10 15:04:21.967970195 -0300
+@@ -388,7 +388,6 @@
include/VBox \
include/VBox/vmm \
include/VBox/com \
@@ -489,25 +402,7 @@
include/VBox/HostServices \
include/VBox/GuestHost \
include/VBox/HGSMI \
-@@ -983,17 +935,8 @@
-
- additions-packing:
- + $(KMK) VBOX_ONLY_ADDITIONS=1 \
-- VBOX_WITH_ADDITIONS_ISO.freebsd.amd64= \
-- VBOX_WITH_ADDITIONS_ISO.freebsd.x86= \
-- VBOX_WITH_ADDITIONS_ISO.linux.amd64= \
-- VBOX_WITH_ADDITIONS_ISO.linux.x86=1 \
- VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE=1 \
-- VBOX_WITH_ADDITIONS_ISO.os2.x86=1 \
-- VBOX_WITH_ADDITIONS_ISO.solaris.amd64=1 \
-- VBOX_WITH_ADDITIONS_ISO.solaris.x86=1 \
- VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE=1 \
-- VBOX_WITH_ADDITIONS_ISO.win.amd64=1 \
-- VBOX_WITH_ADDITIONS_ISO.win.x86=1 \
- -C src/VBox/Additions \
- $(VBOX_PATH_ADDITIONS)/VBoxGuestAdditions.zip
-
-@@ -1010,200 +953,6 @@
+@@ -1010,200 +1009,6 @@
#
@@ -1106,14 +1001,374 @@
else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_TESTSUITE && !VBOX_ONLY_DOCS
#
---- VirtualBox-4.2.12.orig/src/VBox/Additions/Makefile.kmk 2013-04-12 07:34:09.000000000 -0300
-+++ VirtualBox-4.2.12/src/VBox/Additions/Makefile.kmk 2013-05-09 23:06:58.029922668 -0300
-@@ -42,7 +42,7 @@
- #
- # ==> All we have to worry about is what to do on the target we're on.
- #
--VBOX_WITH_ADDITIONS_ISO.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = 1
-+VBOX_WITH_ADDITIONS_ISO.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = 0
+--- 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 <b>Install Guest Additions</b> "
+- "from the <b>Devices</b> 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.</p>"),
+ "remindAboutGuestAdditionsAreNotActive");
+ }
- # Include sub-makefiles.
- include $(PATH_SUB_CURRENT)/common/Makefile.kmk
+-bool UIMessageCenter::cannotFindGuestAdditions()
+-{
+- return messageYesNo(mainMachineWindowShown(), Question,
+- tr("<p>Could not find the VirtualBox Guest Additions "
+- "CD image file.</nobr></p><p>Do you wish to "
+- "download this CD image from the Internet?</p>"));
+-}
+-
+-void UIMessageCenter::cannotMountGuestAdditions(const QString &strMachineName)
+-{
+- message(mainMachineWindowShown(), Error,
+- tr("<p>Could not insert the VirtualBox Guest Additions "
+- "installer CD image into the virtual machine <b>%1</b>, as the machine "
+- "has no CD/DVD-ROM drives. Please add a drive using the "
+- "storage page of the virtual machine settings dialog.</p>")
+- .arg(strMachineName));
+-}
+-
+-bool UIMessageCenter::confirmDownloadAdditions(const QString &strUrl, qulonglong uSize)
+-{
+- QLocale loc(VBoxGlobal::languageId());
+- return messageOkCancel(networkManagerOrMainMachineWindowShown(), Question,
+- tr("<p>Are you sure you want to download the VirtualBox "
+- "Guest Additions CD image from "
+- "<nobr><a href=\"%1\">%2</a></nobr> "
+- "(size %3 bytes)?</p>").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("<p>The VirtualBox Guest Additions CD image has been "
+- "successfully downloaded from "
+- "<nobr><a href=\"%1\">%2</a></nobr> "
+- "and saved locally as <nobr><b>%3</b>.</nobr></p>"
+- "<p>Do you wish to register this CD image and mount it "
+- "on the virtual CD/DVD drive?</p>")
+- .arg(strUrl).arg(strUrl).arg(strSrc),
+- 0, /* pcszAutoConfirmId */
+- tr("Mount", "additions"));
+-}
+-
+-void UIMessageCenter::warnAboutAdditionsCantBeSaved(const QString &strTarget)
+-{
+- message(networkManagerOrMainMachineWindowShown(), Error,
+- tr("<p>Failed to save the downloaded file as <nobr><b>%1</b>.</nobr></p>")
+- .arg(QDir::toNativeSeparators(strTarget)));
+-}
+-
+-bool UIMessageCenter::askAboutUserManualDownload(const QString &strMissedLocation)
+-{
+- return messageOkCancel(mainWindowShown(), Question,
+- tr("<p>Could not find the VirtualBox User Manual "
+- "<nobr><b>%1</b>.</nobr></p><p>Do you wish to "
+- "download this file from the Internet?</p>")
+- .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("<p>Are you sure you want to download the VirtualBox "
+- "User Manual from "
+- "<nobr><a href=\"%1\">%2</a></nobr> "
+- "(size %3 bytes)?</p>").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("<p>The VirtualBox User Manual has been "
+- "successfully downloaded from "
+- "<nobr><a href=\"%1\">%2</a></nobr> "
+- "and saved locally as <nobr><b>%3</b>.</nobr></p>")
+- .arg(strURL).arg(strURL).arg(strTarget));
+-}
+-
+-void UIMessageCenter::warnAboutUserManualCantBeSaved(const QString &strURL, const QString &strTarget)
+-{
+- message(networkManagerOrMainWindowShown(), Error,
+- tr("<p>The VirtualBox User Manual has been "
+- "successfully downloaded from "
+- "<nobr><a href=\"%1\">%2</a></nobr> "
+- "but can't be saved locally as <nobr><b>%3</b>.</nobr></p>"
+- "<p>Please choose another location for that file.</p>")
+- .arg(strURL).arg(strURL).arg(strTarget));
+-}
+-
+-bool UIMessageCenter::proposeDownloadExtensionPack(const QString &strExtPackName, const QString &strExtPackVersion)
+-{
+- return messageOkCancel(mainWindowShown(),
+- Question,
+- tr("<p>You have an old version (%1) of the <b><nobr>%2</nobr></b> installed.</p>"
+- "<p>Do you wish to download latest one from the Internet?</p>")
+- .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("<p>You have version %1 of the <b><nobr>%2</nobr></b> installed.</p>"
+- "<p>You should download and install version %3 of this extension pack from Oracle!</p>")
+- .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("<p>Are you sure you want to download the <b><nobr>%1</nobr></b> "
+- "from <nobr><a href=\"%2\">%2</a></nobr> (size %3 bytes)?</p>")
+- .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("<p>The <b><nobr>%1</nobr></b> has been "
+- "successfully downloaded from <nobr><a href=\"%2\">%2</a></nobr> "
+- "and saved locally as <nobr><b>%3</b>.</nobr></p>"
+- "<p>Do you wish to install this extension pack?</p>")
+- .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("<p>The <b><nobr>%1</nobr></b> has been "
+- "successfully downloaded from <nobr><a href=\"%2\">%2</a></nobr> "
+- "but can't be saved locally as <nobr><b>%3</b>.</nobr></p>"
+- "<p>Please choose another location for that file.</p>")
+- .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 <b>%1</b>.").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 <b>%1</b>.").arg(strFilename),
+- "<!--EOM-->" + 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 <b>%1</b>.").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 <b>%1</b>.").arg(strPackName),
+- strErrInfo);
+-}
+-
+-bool UIMessageCenter::confirmInstallingPackage(const QString &strPackName, const QString &strPackVersion,
+- const QString &strPackDescription, QWidget *pParent)
+-{
+- return messageOkCancel(pParent ? pParent : mainWindowShown(),
+- Question,
+- tr("<p>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.</p>"
+- "<p><table cellpadding=0 cellspacing=0>"
+- "<tr><td><b>Name:&nbsp;&nbsp;</b></td><td>%1</td></tr>"
+- "<tr><td><b>Version:&nbsp;&nbsp;</b></td><td>%2</td></tr>"
+- "<tr><td><b>Description:&nbsp;&nbsp;</b></td><td>%3</td></tr>"
+- "</table></p>")
+- .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("<p>An older version of the extension pack is already installed, would you like to upgrade? "
+- "<p>%1</p>"
+- "<p><table cellpadding=0 cellspacing=0>"
+- "<tr><td><b>Name:&nbsp;&nbsp;</b></td><td>%2</td></tr>"
+- "<tr><td><b>New Version:&nbsp;&nbsp;</b></td><td>%3</td></tr>"
+- "<tr><td><b>Current Version:&nbsp;&nbsp;</b></td><td>%4</td></tr>"
+- "<tr><td><b>Description:&nbsp;&nbsp;</b></td><td>%5</td></tr>"
+- "</table></p>")
+- .arg(strBelehrung).arg(strPackName).arg(strPackVersionNew).arg(strPackVersionOld).arg(strPackDescription),
+- 0,
+- tr("&Upgrade"));
+- else if (iVerCmp < 0)
+- fRc = messageOkCancel(pParent,
+- Question,
+- tr("<p>An newer version of the extension pack is already installed, would you like to downgrade? "
+- "<p>%1</p>"
+- "<p><table cellpadding=0 cellspacing=0>"
+- "<tr><td><b>Name:&nbsp;&nbsp;</b></td><td>%2</td></tr>"
+- "<tr><td><b>New Version:&nbsp;&nbsp;</b></td><td>%3</td></tr>"
+- "<tr><td><b>Current Version:&nbsp;&nbsp;</b></td><td>%4</td></tr>"
+- "<tr><td><b>Description:&nbsp;&nbsp;</b></td><td>%5</td></tr>"
+- "</table></p>")
+- .arg(strBelehrung).arg(strPackName).arg(strPackVersionNew).arg(strPackVersionOld).arg(strPackDescription),
+- 0,
+- tr("&Downgrade"));
+- else
+- fRc = messageOkCancel(pParent,
+- Question,
+- tr("<p>The extension pack is already installed with the same version, would you like reinstall it? "
+- "<p>%1</p>"
+- "<p><table cellpadding=0 cellspacing=0>"
+- "<tr><td><b>Name:&nbsp;&nbsp;</b></td><td>%2</td></tr>"
+- "<tr><td><b>Version:&nbsp;&nbsp;</b></td><td>%3</td></tr>"
+- "<tr><td><b>Description:&nbsp;&nbsp;</b></td><td>%4</td></tr>"
+- "</table></p>")
+- .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("<p>You are about to remove the VirtualBox extension pack <b>%1</b>.</p>"
+- "<p>Are you sure you want to proceed?</p>").arg(strPackName),
+- 0,
+- tr("&Remove"));
+-}
+-
+-void UIMessageCenter::notifyAboutExtPackInstalled(const QString &strPackName, QWidget *pParent)
+-{
+- message(pParent ? pParent : mainWindowShown(),
+- Info,
+- tr("The extension pack <br><nobr><b>%1</b><nobr><br> 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 @@
+ }
+ };
+
+-class PerformInstallGuestToolsAction : public UIActionSimple
+-{
+- Q_OBJECT;
+-
+-public:
+-
+- PerformInstallGuestToolsAction(QObject *pParent)
+- : UIActionSimple(pParent, ":/guesttools_16px.png", ":/guesttools_disabled_16px.png")
+- {
+- retranslateUi();
+- }
+-
+-protected:
+-
+- void retranslateUi()
+- {
+- setText(vboxGlobal().insertKeyToActionText(menuText(QApplication::translate("UIActionPool", "&Install Guest Additions...")), gMS->shortcut(UIMachineShortcuts::InstallGuestAdditionsShortcut)));
+- setStatusTip(QApplication::translate("UIActionPool", "Mount the Guest Additions installation image"));
+- }
+-};
+-
+ #ifdef VBOX_WITH_DEBUGGER_GUI
+ class MenuDebugAction : public UIActionMenu
+ {
+@@ -889,7 +868,6 @@
+ m_pool[UIActionIndexRuntime_Simple_NetworkAdaptersDialog] = new ShowNetworkAdaptersDialogAction(this);
+ m_pool[UIActionIndexRuntime_Simple_SharedFoldersDialog] = new ShowSharedFoldersDialogAction(this);
+ m_pool[UIActionIndexRuntime_Toggle_VRDEServer] = new ToggleVRDEServerAction(this);
+- m_pool[UIActionIndexRuntime_Simple_InstallGuestTools] = new PerformInstallGuestToolsAction(this);
+
+ #ifdef VBOX_WITH_DEBUGGER_GUI
+ /* 'Debug' actions: */