[oe-commits] org.oe.dev gtk+_2.10.6.bb : rediffed the single-click and spinbutton patches and apply

xora commit openembedded-commits at lists.openembedded.org
Tue Nov 14 10:12:55 UTC 2006


gtk+_2.10.6.bb : rediffed the single-click and spinbutton patches and apply
only one leftover patch to be applied to 2.10.6 for handheld use now.

Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: fe0bd7228d1ed03f85cd983d04ad840cc2a6c538
ViewMTN: http://monotone.openembedded.org/revision.psp?id=fe0bd7228d1ed03f85cd983d04ad840cc2a6c538
Files:
1
packages/gtk+/gtk+-2.10.6/single-click.patch
packages/gtk+/gtk+-2.10.6/spinbutton.patch
packages/gtk+/gtk+_2.10.6.bb
Diffs:

#
# mt diff -re0d42dfa54011bb501a5a723ec0554c757bfc933 -rfe0bd7228d1ed03f85cd983d04ad840cc2a6c538
#
# 
# 
# patch "packages/gtk+/gtk+-2.10.6/single-click.patch"
#  from [0282bd51ab32a39a8e26fd80d3c4ddb3f7c2930a]
#    to [0016f764f5e73469d50c67a985639dc9a6c91299]
# 
# patch "packages/gtk+/gtk+-2.10.6/spinbutton.patch"
#  from [d3fff88857383aa9a8cef5ba976fab9ee71d8330]
#    to [9e9877594aad75d8b453a750f48151e7f105aeb2]
# 
# patch "packages/gtk+/gtk+_2.10.6.bb"
#  from [0e760f9e497470748fccd1fe9fa11c132fbae1b0]
#    to [4bb7fdefb3ba3929c7897e3926d32b7975767024]
# 
============================================================
--- packages/gtk+/gtk+-2.10.6/single-click.patch	0282bd51ab32a39a8e26fd80d3c4ddb3f7c2930a
+++ packages/gtk+/gtk+-2.10.6/single-click.patch	0016f764f5e73469d50c67a985639dc9a6c91299
@@ -1,24 +1,26 @@
-diff -urNd ../gtk+-2.6.3-r0.old/gtk+-2.6.3/gtk/gtkcalendar.c gtk+-2.6.3/gtk/gtkcalendar.c
---- ../gtk+-2.6.3-r0.old/gtk+-2.6.3/gtk/gtkcalendar.c	2005-04-06 16:57:04 +01:00
-+++ gtk+-2.6.3/gtk/gtkcalendar.c	2005-04-06 20:05:18 +01:00
-@@ -1023,9 +1023,11 @@
+Index: gtk+-2.10.6/gtk/gtkcalendar.c
+===================================================================
+--- gtk+-2.10.6.orig/gtk/gtkcalendar.c
++++ gtk+-2.10.6/gtk/gtkcalendar.c
+@@ -2482,9 +2482,11 @@ calendar_main_button_press (GtkCalendar	
  	}
  
-       gtk_calendar_select_and_focus_day (calendar, day);
+       calendar_select_and_focus_day (calendar, day);
 -    }
-+      
-+      // This change causes the calendar to disappear after choosing a day
++
++    // This change causes the calendar to disappear after choosing a day
 +/*    }
    else if (event->type == GDK_2BUTTON_PRESS)
 -    {
 +    {*/
-       private_data->in_drag = 0;
+       priv->in_drag = 0;
        if (day_month == MONTH_CURRENT)
  	g_signal_emit (calendar,
-diff -urNd ../gtk+-2.6.3-r0.old/gtk+-2.6.3/gtk/gtkfilesel.c gtk+-2.6.3/gtk/gtkfilesel.c
---- ../gtk+-2.6.3-r0.old/gtk+-2.6.3/gtk/gtkfilesel.c	2005-04-06 16:57:07 +01:00
-+++ gtk+-2.6.3/gtk/gtkfilesel.c	2005-04-07 13:40:32 +01:00
-@@ -2468,6 +2468,33 @@
+Index: gtk+-2.10.6/gtk/gtkfilesel.c
+===================================================================
+--- gtk+-2.10.6.orig/gtk/gtkfilesel.c
++++ gtk+-2.10.6/gtk/gtkfilesel.c
+@@ -2426,6 +2426,33 @@ gtk_file_selection_file_changed (GtkTree
        if (fs->last_selected != NULL)
  	g_free (fs->last_selected);
  
============================================================
--- packages/gtk+/gtk+-2.10.6/spinbutton.patch	d3fff88857383aa9a8cef5ba976fab9ee71d8330
+++ packages/gtk+/gtk+-2.10.6/spinbutton.patch	9e9877594aad75d8b453a750f48151e7f105aeb2
@@ -1,6 +1,8 @@
---- gtk+-2.4.3/gtk/gtkspinbutton.c.old	2004-04-22 14:49:27.000000000 +0100
-+++ gtk+-2.4.3/gtk/gtkspinbutton.c	2004-06-30 21:48:18.000000000 +0100
-@@ -733,7 +733,7 @@
+Index: gtk+-2.10.6/gtk/gtkspinbutton.c
+===================================================================
+--- gtk+-2.10.6.orig/gtk/gtkspinbutton.c
++++ gtk+-2.10.6/gtk/gtkspinbutton.c
+@@ -682,7 +682,7 @@ gtk_spin_button_size_allocate (GtkWidget
  
    spin = GTK_SPIN_BUTTON (widget);
    arrow_size = spin_button_get_arrow_size (spin);
@@ -9,7 +11,7 @@
    
    widget->allocation = *allocation;
    
-@@ -866,19 +866,16 @@
+@@ -815,19 +815,16 @@ gtk_spin_button_draw_arrow (GtkSpinButto
      {
        width = spin_button_get_arrow_size (spin_button) + 2 * widget->style->xthickness;
  
@@ -33,7 +35,7 @@
  	}
  
        if (spin_button_at_limit (spin_button, arrow_type))
-@@ -908,32 +905,17 @@
+@@ -857,32 +854,17 @@ gtk_spin_button_draw_arrow (GtkSpinButto
  	      shadow_type = GTK_SHADOW_OUT;
  	    }
  	}
@@ -69,7 +71,7 @@
  
        w = width / 2;
        w -= w % 2 - 1; /* force odd */
-@@ -1108,7 +1090,7 @@
+@@ -1062,7 +1044,7 @@ gtk_spin_button_button_press (GtkWidget 
  	  if (GTK_ENTRY (widget)->editable)
  	    gtk_spin_button_update (spin);
  	  
@@ -78,7 +80,7 @@
  	    {
  	      if (event->button == 1)
  		start_spinning (spin, GTK_ARROW_UP, spin->adjustment->step_increment);
-@@ -1143,44 +1125,11 @@
+@@ -1097,44 +1079,11 @@ gtk_spin_button_button_release (GtkWidge
  
    arrow_size = spin_button_get_arrow_size (spin);
  
@@ -121,7 +123,7 @@
 -      return TRUE;
 -    }
 -  else
--    return GTK_WIDGET_CLASS (parent_class)->button_release_event (widget, event);
+-    return GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->button_release_event (widget, event);
 +  return TRUE;
  }
  
============================================================
--- packages/gtk+/gtk+_2.10.6.bb	0e760f9e497470748fccd1fe9fa11c132fbae1b0
+++ packages/gtk+/gtk+_2.10.6.bb	4bb7fdefb3ba3929c7897e3926d32b7975767024
@@ -5,7 +5,7 @@ DEPENDS = "glib-2.0 pango atk jpeg libpn
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt cairo cups"
-PR = "r3"
+PR = "r4"
 
 # disable per default - untested and not all patches included.
 DEFAULT_PREFERENCE = "-1" 
@@ -24,10 +24,10 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.
            file://disable-print.patch;patch=1 \
            file://hardcoded_libtool.patch;patch=1 \
            file://no-demos.patch;patch=1 \
-           file://pangoxft2.10.6.diff;patch=1"
+           file://pangoxft2.10.6.diff;patch=1 \
+	   file://single-click.patch;patch=1 \
+	   file://spinbutton.patch;patch=1"
 #           file://gtk+-handhelds.patch;patch=1
-#	   file://single-click.patch;patch=1
-#	   file://spinbutton.patch;patch=1 \
 
 inherit autotools pkgconfig
 






More information about the Openembedded-commits mailing list