diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:49:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:49:11 +0000 |
commit | f4f3a659b7663cf52c2f2e1fa8e58ed4000e29c9 (patch) | |
tree | 46477e488553a670f4b0346080d3f9a635672104 /debian/patches/16-no-update.patch | |
parent | Adding upstream version 7.0.6-dfsg. (diff) | |
download | virtualbox-debian/7.0.6-dfsg-1.tar.xz virtualbox-debian/7.0.6-dfsg-1.zip |
Adding debian version 7.0.6-dfsg-1.debian/7.0.6-dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/16-no-update.patch')
-rw-r--r-- | debian/patches/16-no-update.patch | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/debian/patches/16-no-update.patch b/debian/patches/16-no-update.patch new file mode 100644 index 00000000..c54d5a01 --- /dev/null +++ b/debian/patches/16-no-update.patch @@ -0,0 +1,110 @@ + +Description: Disable "Check for Updates" action. +Bug-Ubuntu: https://bugs.launchpad.net/bugs/272212 +Author: Daniel Hahler <ubuntu@thequod.de>, Felix Geyer <fgeyer@debian.org>, Gianfranco Costamagna <locutusofborg@debian.org> + +Index: virtualbox/doc/manual/en_US/user_Introduction.xml +=================================================================== +--- virtualbox.orig/doc/manual/en_US/user_Introduction.xml ++++ virtualbox/doc/manual/en_US/user_Introduction.xml +@@ -6090,14 +6090,14 @@ + <xref linkend="specialcharacters"/>. + </para> + </listitem> +- ++ <!-- + <listitem> + <para> + <emphasis role="bold">Update.</emphasis> Enables you to + specify various settings for Automatic Updates. + </para> + </listitem> +- ++ --> + <listitem> + <para> + <emphasis role="bold">Language.</emphasis> Enables you to +Index: virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp +=================================================================== +--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp ++++ virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp +@@ -2417,7 +2417,7 @@ + bool UIExtraDataManager::applicationUpdateEnabled() + { + /* 'True' unless 'restriction' feature allowed: */ +- return !isFeatureAllowed(GUI_PreventApplicationUpdate); ++ return false; + } + + QString UIExtraDataManager::applicationUpdateData() +Index: virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp +=================================================================== +--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp ++++ virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp +@@ -47,10 +47,10 @@ + #ifdef VBOX_WS_WIN + # include "UIGlobalSettingsInterface.h" + #endif +-#ifdef VBOX_GUI_WITH_NETWORK_MANAGER +-# include "UIGlobalSettingsProxy.h" +-# include "UIGlobalSettingsUpdate.h" +-#endif ++//#ifdef VBOX_GUI_WITH_NETWORK_MANAGER ++//# include "UIGlobalSettingsProxy.h" ++//# include "UIGlobalSettingsUpdate.h" ++//#endif + + /* GUI includes: Machine Settings: */ + #include "UIMachineSettingsAudio.h" +@@ -99,7 +99,7 @@ + + #ifdef VBOX_GUI_WITH_NETWORK_MANAGER + /* Update page: */ +- m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update")); ++ //m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update")); + #endif + + /* Language page: */ +@@ -110,7 +110,7 @@ + + #ifdef VBOX_GUI_WITH_NETWORK_MANAGER + /* Proxy page: */ +- m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy")); ++ //m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy")); + #endif + + #ifdef VBOX_WS_WIN +@@ -226,14 +226,14 @@ + } + #ifdef VBOX_GUI_WITH_NETWORK_MANAGER + /* Update page: */ +- case GlobalSettingsPageType_Update: ++ /*case GlobalSettingsPageType_Update: + { + pSettingsPage = new UIGlobalSettingsUpdate; + addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png", + iPageIndex, "#update", pSettingsPage); + addPageHelpKeyword(iPageIndex, "preferences"); + break; +- } ++ }*/ + #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ + /* Language page: */ + case GlobalSettingsPageType_Language: +@@ -255,14 +255,14 @@ + } + #ifdef VBOX_GUI_WITH_NETWORK_MANAGER + /* Proxy page: */ +- case GlobalSettingsPageType_Proxy: ++ /*case GlobalSettingsPageType_Proxy: + { + pSettingsPage = new UIGlobalSettingsProxy; + addItem(":/proxy_32px.png", ":/proxy_24px.png", ":/proxy_16px.png", + iPageIndex, "#proxy", pSettingsPage); + addPageHelpKeyword(iPageIndex, "preferences"); + break; +- } ++ }*/ + #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ + #ifdef VBOX_WS_WIN + /* Interface page: */ |