Sergio Durigan Junior pushed to branch master at Debian Med / oscar


Commits:
1a6e3a02 by Sergio Durigan Junior at 2026-10-29T20:07:57-04:00
d/rules: Build with NO_CHECKUPDATES.

- - - - -
3ab8d8d1 by Sergio Durigan Junior at 2026-10-29T20:24:02-04:00
d/p/0003-Disable-network-check-for-updates.patch:

Completely disable network phone-home to check for updates.

Closes: #1152445

- - - - -
1163978d by Sergio Durigan Junior at 2026-10-29T20:24:48-04:00
Update changelog for 2.1.0-2 release

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/0003-Disable-network-check-for-updates.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+oscar (2.1.0-2) unstable; urgency=medium
+
+  * d/rules: Build with NO_CHECKUPDATES.
+  * d/p/0003-Disable-network-check-for-updates.patch:
+    Completely disable network phone-home to check for updates.
+    (Closes: #1152445)
+
+ -- Sergio Durigan Junior <[email protected]>  Thu, 29 Oct 2026 20:24:48 
-0400
+
 oscar (2.1.0-1) unstable; urgency=medium
 
   [ Edmundo Carmona Antoranz ]


=====================================
debian/patches/0003-Disable-network-check-for-updates.patch
=====================================
@@ -0,0 +1,38 @@
+From: Sergio Durigan Junior <[email protected]>
+Date: Thu, 29 Oct 2026 20:09:23 -0400
+Subject: Disable network check for updates
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152445
+Forwarded: no
+---
+ oscar/checkupdates.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/oscar/checkupdates.cpp b/oscar/checkupdates.cpp
+index 1de8ef2..3310199 100644
+--- a/oscar/checkupdates.cpp
++++ b/oscar/checkupdates.cpp
+@@ -229,6 +229,7 @@ void CheckUpdates::showMessage()
+ 
+ void CheckUpdates::checkForUpdates(bool showWhenCurrent)
+ {
++#ifndef NO_CHECKUPDATES
+     showIfCurrent = showWhenCurrent;
+     showTestVersion = false;
+ 
+@@ -244,6 +245,7 @@ void CheckUpdates::checkForUpdates(bool showWhenCurrent)
+             showMessage();
+             return;
+         }
++
+     } else {
+         showTestVersion = AppSetting->allowEarlyUpdates();
+     }
+@@ -271,6 +273,7 @@ void CheckUpdates::checkForUpdates(bool showWhenCurrent)
+     qDebug() << "Starting network request for" << OSCAR_Version_File;
+ 
+     return;
++#endif
+ }
+ 
+ void CheckUpdates::replyFinished(QNetworkReply *reply)


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 0001-Create-install-rule-on-Makefile.patch
 0002-Don-t-print-build-date.patch
+0003-Disable-network-check-for-updates.patch


=====================================
debian/rules
=====================================
@@ -12,7 +12,9 @@ BUILDDIR = _build/
        dh $@ --buildsystem=qmake6 --builddirectory=$(BUILDDIR)
 
 override_dh_auto_configure:
-       dh_auto_configure -- ../OSCAR_QT.pro
+       dh_auto_configure -- \
+               "DEFINES+=NO_CHECKUPDATES" \
+               ../OSCAR_QT.pro
 
 # Upstream ships with a 'history' directory containing ancient code.
 # We are not interested in installing it.



View it on GitLab: 
https://salsa.debian.org/med-team/oscar/-/compare/aef00b876552d5771bb17270d7aefc2d8b8a6ab3...1163978d940230c8d30fba69c490017a73a27965

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/oscar/-/compare/aef00b876552d5771bb17270d7aefc2d8b8a6ab3...1163978d940230c8d30fba69c490017a73a27965
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to