Your message dated Sat, 07 Oct 2017 11:33:55 +0100 with message-id <1507372435.18586.64.camel@adam-barratt.org.uk> and subject line Closing bugs for 9.2 point release has caused the Debian Bug report #872776, regarding stretch-pu: package unknown-horizons/2017.1+ds-2 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 872776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872776 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: stretch-pu: package unknown-horizons/2017.1+ds-2
- From: Markus Koschany <apo@debian.org>
- Date: Mon, 21 Aug 2017 09:27:33 +0200
- Message-id: <150330045307.24092.14735489947015354799.reportbug@conan>
Package: release.debian.org Severity: normal Tags: stretch User: release.debian.org@packages.debian.org Usertags: pu This is part 2 to address a memory leak in unknown-horizons. I have just filed another bug report for the game engine called fife. This issue is also known as #871037 [1]. Please find attached the debdiff for unknown-horizons. Regards, Markus [1] https://bugs.debian.org/871037diff -Nru unknown-horizons-2017.1+ds/debian/changelog unknown-horizons-2017.1+ds/debian/changelog --- unknown-horizons-2017.1+ds/debian/changelog 2017-01-22 01:56:39.000000000 +0100 +++ unknown-horizons-2017.1+ds/debian/changelog 2017-08-21 08:54:57.000000000 +0200 @@ -1,3 +1,12 @@ +unknown-horizons (2017.1+ds-2+deb9u1) stretch; urgency=medium + + * Team upload. + * Add 1000-icon-mem-leak.patch and fix a memory leak. + Thanks to Petter Reinholdtsen for the report and testing and LinuxDonald + for the patch. (Closes: #871037) + + -- Markus Koschany <apo@debian.org> Mon, 21 Aug 2017 08:54:57 +0200 + unknown-horizons (2017.1+ds-2) unstable; urgency=medium * Team upload. diff -Nru unknown-horizons-2017.1+ds/debian/patches/1000-icon-mem-leak.patch unknown-horizons-2017.1+ds/debian/patches/1000-icon-mem-leak.patch --- unknown-horizons-2017.1+ds/debian/patches/1000-icon-mem-leak.patch 1970-01-01 01:00:00.000000000 +0100 +++ unknown-horizons-2017.1+ds/debian/patches/1000-icon-mem-leak.patch 2017-08-21 08:53:37.000000000 +0200 @@ -0,0 +1,27 @@ +Description: Fix small `get_res_icon_path()` widget leak + + `horizons.gui.util.get_res_icon_path()` does the same thing as as + `horizons.gui.widgets.imagebuton`: aks fife to create an `Icon()` to + see if it's a valid image path. But other than the `ImageButton`, + `get_res_icon_path()` did forget to call `hide()` on that `Icon`. So the + `Icon` stayed alive, even though unused. + + We now call `hide()` on that `Icon`. + +Origin: https://github.com/unknown-horizons/unknown-horizons/commit/25e933202e2db6083d0f163d978559c4ac24fb94 +Author: MasterofJOKers <joker@someserver.de> +Bug-Debian: https://bugs.debian.org/871037 + +diff --git a/horizons/gui/util.py b/horizons/gui/util.py +index a7c13584b..2fb2796b3 100644 +--- a/horizons/gui/util.py ++++ b/horizons/gui/util.py +@@ -125,7 +125,7 @@ def get_res_icon_path(res, size=32, greyscale=False, full_path=True): + icon_path = icon_path + '{res:03d}.png'.format(res=res) + + try: +- Icon(image=icon_path) ++ Icon(image=icon_path).hide() + except fife.NotFound: # ImageManager: image not found, use placeholder or die + if res == 'placeholder': + raise Exception('Image not found: {icon_path}'.format(icon_path=icon_path)) diff -Nru unknown-horizons-2017.1+ds/debian/patches/series unknown-horizons-2017.1+ds/debian/patches/series --- unknown-horizons-2017.1+ds/debian/patches/series 2017-01-22 01:56:39.000000000 +0100 +++ unknown-horizons-2017.1+ds/debian/patches/series 2017-08-21 08:53:44.000000000 +0200 @@ -1 +1,2 @@ VERSION.patch +1000-icon-mem-leak.patch
--- End Message ---
--- Begin Message ---
- To: 863734-done@bugs.debian.org, 864027-done@bugs.debian.org, 864028-done@bugs.debian.org, 864911-done@bugs.debian.org, 865971-done@bugs.debian.org, 866045-done@bugs.debian.org, 866537-done@bugs.debian.org, 867814-done@bugs.debian.org, 868284-done@bugs.debian.org, 868517-done@bugs.debian.org, 868684-done@bugs.debian.org, 868756-done@bugs.debian.org, 868809-done@bugs.debian.org, 869414-done@bugs.debian.org, 869419-done@bugs.debian.org, 869434-done@bugs.debian.org, 869574-done@bugs.debian.org, 869577-done@bugs.debian.org, 869634-done@bugs.debian.org, 869661-done@bugs.debian.org, 869667-done@bugs.debian.org, 869676-done@bugs.debian.org, 869754-done@bugs.debian.org, 869772-done@bugs.debian.org, 869836-done@bugs.debian.org, 869920-done@bugs.debian.org, 869966-done@bugs.debian.org, 870005-done@bugs.debian.org, 870142-done@bugs.debian.org, 870181-done@bugs.debian.org, 870205-done@bugs.debian.org, 870465-done@bugs.debian.org, 870604-done@bugs.debian.org, 870609-done@bugs.debian.org, 870659-done@bugs.debian.org, 870911-done@bugs.debian.org, 871242-done@bugs.debian.org, 871440-done@bugs.debian.org, 871451-done@bugs.debian.org, 871466-done@bugs.debian.org, 871661-done@bugs.debian.org, 871720-done@bugs.debian.org, 871739-done@bugs.debian.org, 871943-done@bugs.debian.org, 872441-done@bugs.debian.org, 872774-done@bugs.debian.org, 872776-done@bugs.debian.org, 872818-done@bugs.debian.org, 872928-done@bugs.debian.org, 872953-done@bugs.debian.org, 872991-done@bugs.debian.org, 873054-done@bugs.debian.org, 873061-done@bugs.debian.org, 873309-done@bugs.debian.org, 873371-done@bugs.debian.org, 873479-done@bugs.debian.org, 873624-done@bugs.debian.org, 873771-done@bugs.debian.org, 874198-done@bugs.debian.org, 874350-done@bugs.debian.org, 874389-done@bugs.debian.org, 874477-done@bugs.debian.org, 874580-done@bugs.debian.org, 875695-done@bugs.debian.org, 875765-done@bugs.debian.org, 875777-done@bugs.debian.org, 876020-done@bugs.debian.org, 876092-done@bugs.debian.org, 876114-done@bugs.debian.org, 876116-done@bugs.debian.org, 876117-done@bugs.debian.org, 876139-done@bugs.debian.org, 876314-done@bugs.debian.org, 876629-done@bugs.debian.org, 876731-done@bugs.debian.org, 876909-done@bugs.debian.org, 876913-done@bugs.debian.org, 876949-done@bugs.debian.org, 877348-done@bugs.debian.org, 877415-done@bugs.debian.org, 875771-done@bugs.debian.org, 876633-done@bugs.debian.org
- Subject: Closing bugs for 9.2 point release
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 07 Oct 2017 11:33:55 +0100
- Message-id: <1507372435.18586.64.camel@adam-barratt.org.uk>
Version: 9.2 Hi. The updates referenced by each of these bugs was included in today's point release of stretch. Regards, Adam
--- End Message ---