r13817 - in /desktop/unstable/gtk+2.0/debian: changelog patches/092_notebook-critical-warnings.patch patches/093_directfb-type-changes.patch patches/series

slomo at users.alioth.debian.org slomo at users.alioth.debian.org
Wed Dec 12 05:15:50 UTC 2007


Author: slomo
Date: Wed Dec 12 05:15:49 2007
New Revision: 13817

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13817
Log:
* 092_notebook-critical-warnings.patch: Fix removal of tab labels to not
  ref and unref a NULL pointer. Patch from upstream SVN, see BGO #388321.
* 093_directfb-type-changes.patch: Define __u32 and __u8 to fix compilation
  with latest directfb from unstable while still supporting older versions.
  Patch from BGO #503190.

Added:
    desktop/unstable/gtk+2.0/debian/patches/092_notebook-critical-warnings.patch
    desktop/unstable/gtk+2.0/debian/patches/093_directfb-type-changes.patch
Modified:
    desktop/unstable/gtk+2.0/debian/changelog
    desktop/unstable/gtk+2.0/debian/patches/series

Modified: desktop/unstable/gtk+2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/changelog?rev=13817&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/changelog (original)
+++ desktop/unstable/gtk+2.0/debian/changelog Wed Dec 12 05:15:49 2007
@@ -1,3 +1,13 @@
+gtk+2.0 (2.12.3-2) unstable; urgency=low
+
+  * 092_notebook-critical-warnings.patch: Fix removal of tab labels to not
+    ref and unref a NULL pointer. Patch from upstream SVN, see BGO #388321.
+  * 093_directfb-type-changes.patch: Define __u32 and __u8 to fix compilation
+    with latest directfb from unstable while still supporting older versions.
+    Patch from BGO #503190.
+
+ -- Sebastian Dröge <slomo at debian.org>  Wed, 12 Dec 2007 05:36:40 +0100
+
 gtk+2.0 (2.12.3-1) unstable; urgency=low
 
   * Let update-icon-caches skip args which are not dirs or don't exist; fixes

Added: desktop/unstable/gtk+2.0/debian/patches/092_notebook-critical-warnings.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/patches/092_notebook-critical-warnings.patch?rev=13817&op=file
==============================================================================
--- desktop/unstable/gtk+2.0/debian/patches/092_notebook-critical-warnings.patch (added)
+++ desktop/unstable/gtk+2.0/debian/patches/092_notebook-critical-warnings.patch Wed Dec 12 05:15:49 2007
@@ -1,0 +1,25 @@
+--- gtk-2-12/gtk/gtknotebook.c	2007/12/10 06:19:53	19139
++++ gtk-2-12/gtk/gtknotebook.c	2007/12/10 06:21:51	19140
+@@ -4349,12 +4349,15 @@
+   gtk_widget_unparent (page->child);
+ 
+   tab_label = page->tab_label;
+-  g_object_ref (tab_label);
+-  gtk_notebook_remove_tab_label (notebook, page);
+-  if (destroying)
+-    gtk_widget_destroy (tab_label);
+-  g_object_unref (tab_label);
+-  
++  if (tab_label)
++    {
++      g_object_ref (tab_label);
++      gtk_notebook_remove_tab_label (notebook, page);
++      if (destroying)
++        gtk_widget_destroy (tab_label);
++      g_object_unref (tab_label);
++    }
++
+   if (notebook->menu)
+     {
+       gtk_container_remove (GTK_CONTAINER (notebook->menu), 
+

Added: desktop/unstable/gtk+2.0/debian/patches/093_directfb-type-changes.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/patches/093_directfb-type-changes.patch?rev=13817&op=file
==============================================================================
--- desktop/unstable/gtk+2.0/debian/patches/093_directfb-type-changes.patch (added)
+++ desktop/unstable/gtk+2.0/debian/patches/093_directfb-type-changes.patch Wed Dec 12 05:15:49 2007
@@ -1,0 +1,24 @@
+Index: gtk+/gdk/directfb/gdkcursor-directfb.c
+===================================================================
+--- gtk+/gdk/directfb/gdkcursor-directfb.c	(Revision 19163)
++++ gtk+/gdk/directfb/gdkcursor-directfb.c	(Arbeitskopie)
+@@ -39,6 +39,19 @@
+ 
+ #include "x-cursors.xbm"
+ 
++
++/* Workaround for DirectFB >= 1.0.0-rc2 not
++ * defining __u32 anymore when DIRECTFB_NO_CRUFT
++ * is set, which is the default on Debian systems.
++ */
++#ifndef __u32
++#define __u32 u32
++#endif
++
++#ifndef __u8
++#define __u8 u8
++#endif
++
+ static struct {
+   const guchar *bits;
+   int width, height, hotx, hoty;

Modified: desktop/unstable/gtk+2.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/patches/series?rev=13817&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/patches/series (original)
+++ desktop/unstable/gtk+2.0/debian/patches/series Wed Dec 12 05:15:49 2007
@@ -20,3 +20,5 @@
 060_ignore-random-icons.patch
 070_mandatory-relibtoolize.patch
 091_workaround_no_gtk_init_incorrect_display.patch
+092_notebook-critical-warnings.patch
+093_directfb-type-changes.patch




More information about the pkg-gnome-commits mailing list