From 719bc22211974b34ba3396803435f0d7485768ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Wed, 14 Mar 2018 12:31:27 -0400 Subject: add patch to disable version checks --- debian/patches/11-no-version-check.patch | 26 ++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 27 insertions(+) create mode 100644 debian/patches/11-no-version-check.patch diff --git a/debian/patches/11-no-version-check.patch b/debian/patches/11-no-version-check.patch new file mode 100644 index 0000000..095a026 --- /dev/null +++ b/debian/patches/11-no-version-check.patch @@ -0,0 +1,26 @@ +Description: disable version checks on startup + Rapid-photo-downloader performs a check for new versions on startup + upstream. In Debian, users cannot perform this update themselves + through the mechanisms offered upstream: they must perform updates + through the Debian packaging system. This check will, when the + package trickle down in Debian, trigger needless warnings when + upstream performs new releases that are not backported to stable or + LTS releases. +Origin: upstream, https://discuss.pixls.us/t/rapid-photo-downloader-0-9-9-is-released/6912 +Forwarded: not-needed +Last-update: 2018-03-14 +Author: Antoine Beaupre + +diff --git a/raphodo/constants.py b/raphodo/constants.py +index 8406456..21701cc 100644 +--- a/raphodo/constants.py ++++ b/raphodo/constants.py +@@ -31,7 +31,7 @@ + + # If set to True, the ability to check for a new version will be removed + # from the user interface and disabled in program logic. +-disable_version_check = False ++disable_version_check = True + + + class CheckNewVersionDialogResult(IntEnum): diff --git a/debian/patches/series b/debian/patches/series index 0fba879..28606f7 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,5 @@ #05_removed-empty-directory.diff #10-keywords_desktop.patch #0001-intltool_utf8.patch +11-no-version-check.patch 0700-appstream-metadata.patch -- cgit v1.2.3