Hi.
Attached is a dirty debdiff with the minimum that makes this package work
for me. As it is only an emergency fix for an RC bug, I refrained from doing
any janitorial work.
Please, consider uploading this.
Thanks,
--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
diff -Nru gtk3-engines-unico-1.0.2/debian/changelog
gtk3-engines-unico-1.0.2/debian/changelog
--- gtk3-engines-unico-1.0.2/debian/changelog 2012-04-24 06:49:40.000000000
-0300
+++ gtk3-engines-unico-1.0.2/debian/changelog 2013-06-08 00:32:04.000000000
-0300
@@ -1,3 +1,11 @@
+gtk3-engines-unico (1.0.2-1.1) UNRELEASED; urgency=low
+
+ * Add patch from
+
http://bazaar.launchpad.net/~robert-ancell/unico/disable-border-radius/revision/136
+ Closes: #706330
+
+ -- Rogério Brito <[email protected]> Sat, 08 Jun 2013 00:30:51 -0300
+
gtk3-engines-unico (1.0.2-1) unstable; urgency=low
* New upstream release (Closes: #669669)
diff -Nru gtk3-engines-unico-1.0.2/debian/patches/136_135.diff
gtk3-engines-unico-1.0.2/debian/patches/136_135.diff
--- gtk3-engines-unico-1.0.2/debian/patches/136_135.diff 1969-12-31
21:00:00.000000000 -0300
+++ gtk3-engines-unico-1.0.2/debian/patches/136_135.diff 2013-06-08
00:29:22.000000000 -0300
@@ -0,0 +1,123 @@
+=== modified file 'unico/gtkroundedbox.c'
+--- a/unico/gtkroundedbox.c
++++ b/unico/gtkroundedbox.c
+@@ -90,16 +90,17 @@ _gtk_rounded_box_apply_border_radius (Gt
+ GtkStateFlags state,
+ GtkJunctionSides junction)
+ {
+- GtkCssBorderCornerRadius *corner[4];
++ GtkCssBorderCornerRadius *corner[4] = { NULL, NULL, NULL, NULL };
+ guint i;
+
++ /* NOTE: Border radius is disabled due to it not working in GTK+ 3.5 */
+ gtk_theming_engine_get (engine, state,
+ /* Can't use border-radius as it's an int for
+ * backwards compat */
+- "border-top-left-radius", &corner[GTK_CSS_TOP_LEFT],
++ /*"border-top-left-radius",
&corner[GTK_CSS_TOP_LEFT],
+ "border-top-right-radius",
&corner[GTK_CSS_TOP_RIGHT],
+ "border-bottom-right-radius",
&corner[GTK_CSS_BOTTOM_RIGHT],
+- "border-bottom-left-radius",
&corner[GTK_CSS_BOTTOM_LEFT],
++ "border-bottom-left-radius",
&corner[GTK_CSS_BOTTOM_LEFT],*/
+ NULL);
+
+ if (corner[GTK_CSS_TOP_LEFT] && (junction & GTK_JUNCTION_CORNER_TOPLEFT) ==
0)
+--- a/unico/unico-draw.c
++++ b/unico/unico-draw.c
+@@ -531,8 +531,8 @@ unico_draw_frame_gap (DRAW_ARGS,
+ {
+ GtkBorder border;
+ GtkBorder *outer_border;
+- GtkCssBorderCornerRadius *top_left_radius, *top_right_radius;
+- GtkCssBorderCornerRadius *bottom_left_radius, *bottom_right_radius;
++ /*GtkCssBorderCornerRadius *top_left_radius, *top_right_radius;
++ GtkCssBorderCornerRadius *bottom_left_radius, *bottom_right_radius;*/
+ GtkJunctionSides junction;
+ GtkStateFlags state;
+ gboolean has_outer_stroke = FALSE;
+@@ -544,13 +544,14 @@ unico_draw_frame_gap (DRAW_ARGS,
+
+ state = gtk_theming_engine_get_state (engine);
+
++ /* NOTE: Border radius is disabled due to it not working in GTK+ 3.5 */
+ gtk_theming_engine_get (engine, state,
+ /* Can't use border-radius as it's an int for
+ * backwards compat */
+- "border-top-left-radius", &top_left_radius,
++ /*"border-top-left-radius", &top_left_radius,
+ "border-top-right-radius", &top_right_radius,
+ "border-bottom-right-radius", &bottom_right_radius,
+- "border-bottom-left-radius", &bottom_left_radius,
++ "border-bottom-left-radius", &bottom_left_radius,*/
+ "-unico-outer-stroke-width", &outer_border,
+ NULL);
+ gtk_theming_engine_get_border (engine, state, &border);
+@@ -575,11 +576,11 @@ unico_draw_frame_gap (DRAW_ARGS,
+ hc += outer_border->top;
+ }
+
+- if (xy0_gap < _gtk_css_number_get (&top_left_radius->horizontal, width))
++ /*if (xy0_gap < _gtk_css_number_get (&top_left_radius->horizontal,
width))
+ junction |= GTK_JUNCTION_CORNER_TOPLEFT;
+
+ if (xy1_gap > width - _gtk_css_number_get
(&top_right_radius->horizontal, width))
+- junction |= GTK_JUNCTION_CORNER_TOPRIGHT;
++ junction |= GTK_JUNCTION_CORNER_TOPRIGHT;*/
+
+ break;
+ default:
+@@ -597,11 +598,11 @@ unico_draw_frame_gap (DRAW_ARGS,
+ hc += outer_border->bottom;
+ }
+
+- if (xy0_gap < _gtk_css_number_get (&bottom_left_radius->horizontal,
width))
++ /*if (xy0_gap < _gtk_css_number_get (&bottom_left_radius->horizontal,
width))
+ junction |= GTK_JUNCTION_CORNER_BOTTOMLEFT;
+
+ if (xy1_gap > width - _gtk_css_number_get
(&bottom_right_radius->horizontal, width))
+- junction |= GTK_JUNCTION_CORNER_BOTTOMRIGHT;
++ junction |= GTK_JUNCTION_CORNER_BOTTOMRIGHT;*/
+
+ break;
+ case GTK_POS_LEFT:
+@@ -617,11 +618,11 @@ unico_draw_frame_gap (DRAW_ARGS,
+ hc = MAX (xy1_gap - xy0_gap - (outer_border->top +
outer_border->bottom) - (border.top + border.bottom), 0);
+ }
+
+- if (xy0_gap < _gtk_css_number_get (&top_left_radius->vertical, height))
++ /*if (xy0_gap < _gtk_css_number_get (&top_left_radius->vertical,
height))
+ junction |= GTK_JUNCTION_CORNER_TOPLEFT;
+
+ if (xy1_gap > height - _gtk_css_number_get
(&bottom_left_radius->vertical, height))
+- junction |= GTK_JUNCTION_CORNER_BOTTOMLEFT;
++ junction |= GTK_JUNCTION_CORNER_BOTTOMLEFT;*/
+
+ break;
+ case GTK_POS_RIGHT:
+@@ -638,11 +639,11 @@ unico_draw_frame_gap (DRAW_ARGS,
+ hc = MAX (xy1_gap - xy0_gap - (outer_border->top +
outer_border->bottom) - (border.top + border.bottom), 0);
+ }
+
+- if (xy0_gap < _gtk_css_number_get (&top_right_radius->vertical, height))
++ /*if (xy0_gap < _gtk_css_number_get (&top_right_radius->vertical,
height))
+ junction |= GTK_JUNCTION_CORNER_TOPRIGHT;
+
+ if (xy1_gap > height - _gtk_css_number_get
(&bottom_right_radius->vertical, height))
+- junction |= GTK_JUNCTION_CORNER_BOTTOMRIGHT;
++ junction |= GTK_JUNCTION_CORNER_BOTTOMRIGHT;*/
+
+ break;
+ }
+@@ -660,10 +661,10 @@ unico_draw_frame_gap (DRAW_ARGS,
+
+ cairo_restore (cr);
+
+- g_free (top_left_radius);
++ /*g_free (top_left_radius);
+ g_free (top_right_radius);
+ g_free (bottom_right_radius);
+- g_free (bottom_left_radius);
++ g_free (bottom_left_radius);*/
+ gtk_border_free (outer_border);
+ }
+
diff -Nru gtk3-engines-unico-1.0.2/debian/patches/series
gtk3-engines-unico-1.0.2/debian/patches/series
--- gtk3-engines-unico-1.0.2/debian/patches/series 1969-12-31
21:00:00.000000000 -0300
+++ gtk3-engines-unico-1.0.2/debian/patches/series 2013-06-08
00:28:17.000000000 -0300
@@ -0,0 +1 @@
+136_135.diff