]> git.sven.stormbind.net Git - sven/vym.git/commitdiff
Drop d/patches/do-not-phone-home.patch
authorSven Hoexter <sven@stormbind.net>
Wed, 19 Aug 2026 12:44:25 +0000 (14:44 +0200)
committerSven Hoexter <sven@stormbind.net>
Wed, 19 Aug 2026 12:44:25 +0000 (14:44 +0200)
* Drop d/patches/do-not-phone-home.patch: It disabled all sort of
  connections to the developers website. It's still open to the user to
  disable all downloads in the UI. Upstream kindly asked me to make that change.
* Add d/patches/disable-version-update.patch: It's not helpful to propose
  version update for distribution packaged software which might end up in
  a stable release for some years.

debian/changelog
debian/patches/cmake-installs.patch
debian/patches/disable-version-update.patch [new file with mode: 0644]
debian/patches/do-not-phone-home.patch [deleted file]
debian/patches/series

index 917c91de1aeba311ac665b7625bfc67ddd3100bc..010f0f250b2439599a91b751c0836b148e47dfd6 100644 (file)
@@ -3,6 +3,12 @@ vym (3.0.0+git20260819-1) UNRELEASED; urgency=medium
   * New upstream snapshot of vym 3.
     Upstream commit 931dba5263992b85cd04591fdf798ff5cd4a65a5, branch develop.
   * d/copyright: Update to 2026.
+  * Drop d/patches/do-not-phone-home.patch: It disabled all sort of
+    connections to the developers website. It's still open to the user to
+    disable all downloads in the UI. Upstream kindly asked me to make that change.
+  * Add d/patches/disable-version-update.patch: It's not helpful to propose
+    version update for distribution packaged software which might end up in
+    a stable release for some years.
 
  -- Sven Hoexter <hoexter@debian.org>  Wed, 19 Aug 2026 14:38:57 +0200
 
index 54a6100b5a5b3e791c78371896b275418f1df065..a656b693e878b15e0ac86180fb26ea7e3be4be63 100644 (file)
@@ -7,7 +7,7 @@ Index: vym/CMakeLists.txt
 ===================================================================
 --- vym.orig/CMakeLists.txt
 +++ vym/CMakeLists.txt
-@@ -238,16 +238,18 @@ message(STATUS "vym: CMAKE_INSTALL_DATAR
+@@ -288,16 +288,18 @@ message(STATUS "vym: CMAKE_INSTALL_DATAR
  
  
  install(DIRECTORY demos DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${VYM_SHARE_SUBDIR})
diff --git a/debian/patches/disable-version-update.patch b/debian/patches/disable-version-update.patch
new file mode 100644 (file)
index 0000000..838db18
--- /dev/null
@@ -0,0 +1,41 @@
+Description: Disable Version Update Check
+Author: Sven Hoexter <hoexter@debian.org>
+Last-Update: 2026-08-19
+Forwarded: not-needed
+Index: vym/src/mainwindow.cpp
+===================================================================
+--- vym.orig/src/mainwindow.cpp
++++ vym/src/mainwindow.cpp
+@@ -3707,10 +3707,12 @@ void Main::setupHelpActions()
+     helpMenu->addAction(a);
+     connect(a, SIGNAL(triggered()), this, SLOT(checkReleaseNotes()));
++    /* Removed, checking versions for a distribution package is not helpful
+     a = new QAction(tr("Check, if updates are available", "Help action"), this);
+     helpMenu->addAction(a);
+     connect(a, SIGNAL(triggered()), this, SLOT(checkUpdates()));
+     helpMenu->addSeparator();
++    */
+     a = new QAction(tr("Show keyboard shortcuts", "Help action"), this);
+     helpMenu->addAction(a);
+@@ -8140,9 +8142,6 @@ bool Main::vymDownloadsEnabled(bool user
+                    "If you allow, vym will "
+                    "<ul>"
+                    "<li>check once for release notes</li>"
+-                   "<li>check regulary for updates and notify you in case you "
+-                   "should update, e.g. if there are "
+-                   "important bug fixes available</li>"
+                    "<li>receive a cookie with a random ID and send some anonymous data, like:"
+                    "<ul>"
+                    "<li>vym version</li>"
+@@ -8263,6 +8262,9 @@ void Main::downloadUpdates(bool userTrig
+ void Main::checkUpdates()
+ {
++      // Return early, checking versions for a distribution package is not helpful
++      return;
++
+     bool userTriggered;
+     if (qobject_cast<QAction *>(sender()))
+         userTriggered = true;
diff --git a/debian/patches/do-not-phone-home.patch b/debian/patches/do-not-phone-home.patch
deleted file mode 100644 (file)
index 39c27bb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Disable build-in auto-updater.
-Author: Sven Hoexter <hoexter@debian.org>
-Last-Update: 2024-05-03
-Forwarded: not-needed
-Index: vym/src/mainwindow.cpp
-===================================================================
---- vym.orig/src/mainwindow.cpp
-+++ vym/src/mainwindow.cpp
-@@ -8096,6 +8096,7 @@ void Main::checkReleaseNotes ()
- bool Main::downloadsEnabled(bool userTriggered)
- {
-+    return false;
-     bool result;
-     if (!userTriggered &&
-         settings.value("/downloads/enabled", false).toBool()) {
index 4707ce13447eed8de1eee01932c9228487cf61cb..6585fe66b01a07f41088214ece188bb9fbe77515 100644 (file)
@@ -1,2 +1,2 @@
 cmake-installs.patch
-do-not-phone-home.patch
+disable-version-update.patch