From 28119850c960549d9bb9d56b1f3ba7c64b3169c9 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Fri, 3 May 2024 14:36:16 +0200 Subject: [PATCH] Refresh all patches * Remove pro-file.patch * Refresh do-not-home-phone.patch --- debian/changelog | 2 ++ debian/patches/do-not-phone-home.patch | 18 +++++++++++------- debian/patches/pro-file.patch | 13 ------------- debian/patches/series | 1 - 4 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 debian/patches/pro-file.patch diff --git a/debian/changelog b/debian/changelog index 728a1a8..15a4a6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ vym (2.9.22-1) UNRELEASED; urgency=medium * New upstream release * Add myself as Uploader * Replace cdbs by debhelper as the Debian build helper. + * Refresh pro-file.patch + * Refresh do-not-home-phone.patch -- Sven Hoexter Fri, 03 May 2024 13:58:54 +0200 diff --git a/debian/patches/do-not-phone-home.patch b/debian/patches/do-not-phone-home.patch index 7cebfe4..3f79575 100644 --- a/debian/patches/do-not-phone-home.patch +++ b/debian/patches/do-not-phone-home.patch @@ -1,12 +1,16 @@ -Index: vym/mainwindow.cpp +Description: Disable build-in auto-updater. +Author: Sven Hoexter +Last-Update: 2024-05-03 +Forwarded: not-needed +Index: vym/src/mainwindow.cpp =================================================================== ---- vym.orig/mainwindow.cpp -+++ vym/mainwindow.cpp -@@ -5995,6 +5995,7 @@ void Main::checkReleaseNotes() +--- vym.orig/src/mainwindow.cpp ++++ vym/src/mainwindow.cpp +@@ -7259,6 +7259,7 @@ void Main::checkReleaseNotes () - bool Main::downloadsEnabled (bool userTriggered) + bool Main::downloadsEnabled(bool userTriggered) { + return false; bool result; - if (!userTriggered && settings.value("/downloads/enabled", false).toBool()) - { + if (!userTriggered && + settings.value("/downloads/enabled", false).toBool()) { diff --git a/debian/patches/pro-file.patch b/debian/patches/pro-file.patch deleted file mode 100644 index 217b8f7..0000000 --- a/debian/patches/pro-file.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: vym/vym.pro -=================================================================== ---- vym.orig/vym.pro -+++ vym/vym.pro -@@ -258,7 +258,7 @@ FORMS = \ - warningdialog.ui \ - - isEmpty( PREFIX ) { -- PREFIX = /usr/local -+ PREFIX = /usr - count( INSTALLDIR, 1 ) { - PREFIX = $${INSTALLDIR} - message( "Please use PREFIX instead of INSTALLDIR" ) diff --git a/debian/patches/series b/debian/patches/series index 884539a..9189128 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ -pro-file.patch do-not-phone-home.patch -- 2.39.5