diff --git a/desktop/toolkit/gtk/libglade/actions.py b/desktop/toolkit/gtk/libglade/actions.py index cfac2a0c95..5ce6913cb3 100644 --- a/desktop/toolkit/gtk/libglade/actions.py +++ b/desktop/toolkit/gtk/libglade/actions.py @@ -9,8 +9,7 @@ from pisi.actionsapi import pisitools def setup(): autotools.autoreconf("-vif") - autotools.configure("--disable-static \ - --disable-gtk-doc") + autotools.configure() pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ") diff --git a/desktop/toolkit/gtk/libglade/files/libglade-2.0.1-nowarning.patch b/desktop/toolkit/gtk/libglade/files/libglade-2.0.1-nowarning.patch new file mode 100644 index 0000000000..fd071215fa --- /dev/null +++ b/desktop/toolkit/gtk/libglade/files/libglade-2.0.1-nowarning.patch @@ -0,0 +1,39 @@ +--- libglade-2.0.1/glade/glade-gtk.c.nowarning 2003-08-29 14:50:10.000000000 -0400 ++++ libglade-2.0.1/glade/glade-gtk.c 2003-08-29 14:58:41.000000000 -0400 +@@ -639,9 +639,8 @@ + if (!strcmp (childinfo->properties[j].name, "label")) { + label = childinfo->properties[j].value; + break; +- } else { +- g_warning ("Unknown CList child property: %s", childinfo->properties[j].name); + } ++ /* Ignore all other properties */ + } + + if (label) { +@@ -683,6 +682,7 @@ + char *icon = NULL; + gboolean use_stock = FALSE, active = FALSE, new_group = FALSE; + gboolean use_underline = FALSE; ++ gboolean sensitive = TRUE; + GtkWidget *iconw = NULL; + int j; + +@@ -708,6 +708,8 @@ + group_name = value; + } else if (!strcmp (name, "new_group")) { + new_group = BOOL (value); ++ } else if (!strcmp (name, "sensitive")) { ++ sensitive = BOOL (value); + } else if (!strcmp (name, "visible")) { + /* ignore for now */ + } else if (!strcmp (name, "tooltip")) { +@@ -785,6 +787,8 @@ + gtk_label_set_use_underline (GTK_LABEL (toolbar_child->label), + TRUE); + } ++ ++ gtk_widget_set_sensitive (child, sensitive); + + glade_xml_set_common_params (xml, child, childinfo->child); + } else { diff --git a/desktop/toolkit/gtk/libglade/pspec.xml b/desktop/toolkit/gtk/libglade/pspec.xml index 7e0d729bdf..b6b079f3e2 100644 --- a/desktop/toolkit/gtk/libglade/pspec.xml +++ b/desktop/toolkit/gtk/libglade/pspec.xml @@ -20,10 +20,12 @@ atk-devel pango-devel gtk2-devel + python-devel Makefile.in.am-2.4.2-xmlcatalog.patch libglade-2.6.3-fix_tests-page_size.patch + libglade-2.0.1-nowarning.patch @@ -34,6 +36,7 @@ libxml2 atk pango + python gtk2 gdk-pixbuf @@ -65,6 +68,7 @@ libglade gtk2-devel + libxml2-devel /usr/bin