~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to debian/patches/16-no-update.patch

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-17 23:23:09 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20111017232309-kzm6841lzk61ranj
Tags: 4.1.4-dfsg-1
* New upstream release.
  - Fixes missing icons when using pt_BR locale. (Closes: #507188)
  - Fixes guest additions download url. (Closes: #637349; LP: #840668)
* Refresh patches.
* Drop the vboxmouse x11 driver. The mouse integration is now completely
  handled by the kernel module.
* Restrict dh_pycentral to the virtualbox binary package.
* Merge changes from the Ubuntu package but use them only when built
  on Ubuntu:
  - Add an Apport hook.
  - Add vboxguest modalias to the package control field.
* Pass KBUILD_VERBOSE=2 to kmk.
* Add 36-fix-text-mode.patch to fix text mode when using the vboxvideo driver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Bug-Ubuntu: https://bugs.launchpad.net/bugs/272212
3
3
Author: Daniel Hahler <ubuntu@thequod.de>, Felix Geyer <debfx-pkg@fobos.de>
4
4
 
5
 
diff -Nur virtualbox-ose-4.0.0-dfsg.orig/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp virtualbox-ose-4.0.0-dfsg/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
6
 
--- virtualbox-ose-4.0.0-dfsg.orig/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp     2010-12-17 16:14:24.000000000 +0100
7
 
+++ virtualbox-ose-4.0.0-dfsg/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp  2011-01-01 23:55:23.240440031 +0100
8
 
@@ -4565,6 +4565,9 @@
9
 
  */
10
 
 void VBoxGlobal::showUpdateDialog (bool aForce)
 
5
diff a/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.cpp b/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.cpp
 
6
--- a/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.cpp
 
7
+++ b/src/VBox/Frontends/VirtualBox/src/net/UIUpdateManager.cpp
 
8
@@ -65,6 +65,8 @@ void UIUpdateManager::shutdown()
 
9
 
 
10
 void UIUpdateManager::sltForceCheck()
11
11
 {
12
 
+    // Updates are handled through package managers.
13
12
+    return;
14
13
+
15
 
     /* Silently check in one day after current time-stamp */
16
 
     QTimer::singleShot (24 /* hours */   * 60   /* minutes */ *
17
 
                         60 /* seconds */ * 1000 /* milliseconds */,
 
14
     /* Force call for new version check: */
 
15
     sltCheckIfUpdateIsNecessary(true);
 
16
 }
18
17
diff -Nur virtualbox-ose-4.0.0-dfsg.orig/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp virtualbox-ose-4.0.0-dfsg/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp
19
18
--- virtualbox-ose-4.0.0-dfsg.orig/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp       2010-11-22 11:05:07.000000000 +0100
20
19
+++ virtualbox-ose-4.0.0-dfsg/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineMenuBar.cpp    2011-01-01 23:56:55.292774878 +0100
37
36
         VBoxGlobal::connect(gActionPool->action(UIActionIndex_Simple_About), SIGNAL(triggered()),
38
37
                             &msgCenter(), SLOT(sltShowHelpAboutDialog()));
39
38
-        VBoxGlobal::connect(gActionPool->action(UIActionIndex_Simple_Update), SIGNAL(triggered()),
40
 
-                            &vboxGlobal(), SLOT(showUpdateDialog()));
 
39
-                            gUpdateManager, SLOT(sltForceCheck()));
41
40
 #if defined(Q_WS_MAC) && (QT_VERSION < 0x040700)
42
41
     }
43
42
 #endif
108
107
                         gActionPool->action(UIActionIndex_Simple_Register), SLOT(setEnabled(bool)));
109
108
 #endif /* VBOX_WITH_REGISTRATION */
110
109
-    VBoxGlobal::connect(gActionPool->action(UIActionIndex_Simple_Update), SIGNAL(triggered()),
111
 
-                        &vboxGlobal(), SLOT(showUpdateDialog()));
 
110
-                        gUpdateManager, SLOT(sltForceCheck()));
112
111
     VBoxGlobal::connect(gActionPool->action(UIActionIndex_Simple_About), SIGNAL(triggered()),
113
112
                         &msgCenter(), SLOT(sltShowHelpAboutDialog()));
114
113
 }