[Pkg-cli-libs-commits] r3831 - in /packages/gtk-sharp2/trunk/debian: changelog patches/00list patches/02_icon_theme_memory_leak.dpatch

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Thu Sep 18 21:27:28 UTC 2008


Author: hanska-guest
Date: Thu Sep 18 21:27:28 2008
New Revision: 3831

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3831
Log:
* debian/patches/:
  - 02_icon_theme_memory_leak
    + Patch from upstream svn.  Fixes a memory leak where LoadIcon 
      would leak Pixbufs (Closes: #498298).

Added:
    packages/gtk-sharp2/trunk/debian/patches/02_icon_theme_memory_leak.dpatch   (with props)
Modified:
    packages/gtk-sharp2/trunk/debian/changelog
    packages/gtk-sharp2/trunk/debian/patches/00list

Modified: packages/gtk-sharp2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtk-sharp2/trunk/debian/changelog?rev=3831&op=diff
==============================================================================
--- packages/gtk-sharp2/trunk/debian/changelog (original)
+++ packages/gtk-sharp2/trunk/debian/changelog Thu Sep 18 21:27:28 2008
@@ -4,8 +4,12 @@
     - debian/rules: check for existency of Makefile
     - debian/copyright: fixed "copyright-without-copyright-notice"
     - debian/patches/*: fixed "dpatch-missing-description"
-
- -- David Paleino <d.paleino at gmail.com>  Thu, 18 Sep 2008 23:06:15 +0200
+  * debian/patches/:
+    - 02_icon_theme_memory_leak
+      + Patch from upstream svn.  Fixes a memory leak where LoadIcon 
+        would leak Pixbufs (Closes: #498298).
+
+ -- David Paleino <d.paleino at gmail.com>  Thu, 18 Sep 2008 23:26:47 +0200
 
 gtk-sharp2 (2.12.1-1) unstable; urgency=low
 

Modified: packages/gtk-sharp2/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtk-sharp2/trunk/debian/patches/00list?rev=3831&op=diff
==============================================================================
--- packages/gtk-sharp2/trunk/debian/patches/00list (original)
+++ packages/gtk-sharp2/trunk/debian/patches/00list Thu Sep 18 21:27:28 2008
@@ -1,2 +1,3 @@
 01_dllmaps.dpatch
+02_icon_theme_memory_leak.dpatch
 99_ltmain_as-needed

Added: packages/gtk-sharp2/trunk/debian/patches/02_icon_theme_memory_leak.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/gtk-sharp2/trunk/debian/patches/02_icon_theme_memory_leak.dpatch?rev=3831&op=file
==============================================================================
--- packages/gtk-sharp2/trunk/debian/patches/02_icon_theme_memory_leak.dpatch (added)
+++ packages/gtk-sharp2/trunk/debian/patches/02_icon_theme_memory_leak.dpatch Thu Sep 18 21:27:28 2008
@@ -1,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_icon_theme_memory_leak.dpatch by Christopher James Halse Rogers <raof at ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Patch from upstream SVN r109594
+## DP: Mark IconTheme.LoadIcon as returning an owned object
+## DP: Otherwise, each call to LoadIcon will leak the returned Pixbuf
+
+ at DPATCH@
+diff -urNad gtk-sharp2-2.12.1~/gtk/Gtk.metadata gtk-sharp2-2.12.1/gtk/Gtk.metadata
+--- gtk-sharp2-2.12.1~/gtk/Gtk.metadata	2008-04-16 22:16:36.000000000 +0200
++++ gtk-sharp2-2.12.1/gtk/Gtk.metadata	2008-09-18 23:21:09.000000000 +0200
+@@ -386,6 +386,7 @@
+   <attr path="/api/namespace/object[@cname='GtkIconTheme']/method[@name='ListContexts']/return-type" name="owned">true</attr>
+   <attr path="/api/namespace/object[@cname='GtkIconTheme']/method[@name='ListContexts']/return-type" name="elements_owned">true</attr>
+   <attr path="/api/namespace/object[@cname='GtkIconTheme']/method[@name='ListIcons']" name="hidden">1</attr>
++  <attr path="/api/namespace/object[@cname='GtkIconTheme']/method[@name='LoadIcon']/return-type" name="owned">true</attr>
+   <attr path="/api/namespace/object[@cname='GtkIconTheme']/method[@name='LookupIcon']/return-type" name="owned">true</attr>
+   <attr path="/api/namespace/object[@cname='GtkIconTheme']/method[@name='SetSearchPath']" name="hidden">1</attr>
+   <attr path="/api/namespace/object[@cname='GtkIconView']/method[@name='ItemActivated']" name="name">ActivateItem</attr>

Propchange: packages/gtk-sharp2/trunk/debian/patches/02_icon_theme_memory_leak.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-cli-libs-commits mailing list