Hello community, here is the log from the commit of package vinagre for openSUSE:Factory checked in at 2018-03-26 11:59:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vinagre (Old) and /work/SRC/openSUSE:Factory/.vinagre.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vinagre" Mon Mar 26 11:59:11 2018 rev:101 rq:588682 version:3.22.0 Changes: -------- --- /work/SRC/openSUSE:Factory/vinagre/vinagre.changes 2018-03-08 10:53:01.283009496 +0100 +++ /work/SRC/openSUSE:Factory/.vinagre.new/vinagre.changes 2018-03-26 11:59:17.138993427 +0200 @@ -1,0 +2,10 @@ +Mon Mar 19 14:51:42 UTC 2018 - [email protected] + +- Add vinagre-invisible-fullscreen-toolbar.patch: Fix showing of + toolbar as invisible in fullscreen mode (bgo#770484, + boo#1008585); patch taken from upstream bug comment. +- Only run post scripts for openSUSE < 1500; for newer versions + these runs are taken care of rpm file triggers and no longer + needed. + +------------------------------------------------------------------- New: ---- vinagre-invisible-fullscreen-toolbar.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vinagre.spec ++++++ --- /var/tmp/diff_new_pack.w1L9Em/_old 2018-03-26 11:59:18.010961970 +0200 +++ /var/tmp/diff_new_pack.w1L9Em/_new 2018-03-26 11:59:18.018961681 +0200 @@ -23,13 +23,15 @@ Summary: VNC client for GNOME License: GPL-3.0-or-later Group: Productivity/Networking/Other -URL: http://www.gnome.org/projects/vinagre/ +Url: http://www.gnome.org/projects/vinagre/ Source0: http://download.gnome.org/sources/vinagre/3.22/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM vinagre-freerdp2.patch bgo#765444 bgo#775616 [email protected] -- handle new "freerdp2" package name. Patch1: vinagre-freerdp2.patch # PATCH-FIX-UPSTREAM vinagre-cert-validation-api.patch bgo#774473 boo#100235 [email protected] -- fix API incompatibilities with freerdp 1.2 that causes rdp connections abort Patch2: vinagre-cert-validation-api.patch # The icon we rely on is from adwaita-icon-theme +# PATCH-FIX-UPSTREAM vinagre-invisible-fullscreen-toolbar.patch bgo#770484 boo#1008585 [email protected] -- Fix showing of toolbar as invisible in fullscreen mode; patch taken from upstream bug comment +Patch3: vinagre-invisible-fullscreen-toolbar.patch BuildRequires: adwaita-icon-theme BuildRequires: fdupes BuildRequires: gcc-c++ @@ -73,6 +75,7 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 translation-update-upstream %build @@ -103,6 +106,7 @@ %fdupes %{buildroot} +%if 0%{?suse_version} < 1500 %post %glib2_gsettings_schema_post %desktop_database_post @@ -114,6 +118,7 @@ %desktop_database_postun %icon_theme_cache_postun %mime_database_postun +%endif %files %doc %{_datadir}/help/C/%{name}/ ++++++ vinagre-invisible-fullscreen-toolbar.patch ++++++ >From 221dc7d785352a532264341785a779a3d3467f68 Mon Sep 17 00:00:00 2001 From: Marek Kasik <[email protected]> Date: Fri, 24 Mar 2017 14:26:57 +0100 Subject: [PATCH] Fix showing of toolbar in fullscreen mode Draw children of ovBox when needed. Automatic drawing of subwindows of widgets was removed in Gtk+ commit 580ea227a6bb19ad6c6d4766b3a36dbad24583f3 (widget: Redo drawing code). https://bugzilla.gnome.org/show_bug.cgi?id=770484 --- vinagre/view/ovBox.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/vinagre/view/ovBox.c b/vinagre/view/ovBox.c index 6f0ee73..3344871 100644 --- a/vinagre/view/ovBox.c +++ b/vinagre/view/ovBox.c @@ -459,6 +459,32 @@ ViewOvBoxUnrealize(GtkWidget *widget) // IN } +static gint +ViewOvBoxDraw(GtkWidget *widget, // IN + cairo_t *cr) // IN +{ + ViewOvBox *that; + ViewOvBoxPrivate *priv; + int wx, wy; + + that = VIEW_OV_BOX(widget); + priv = that->priv; + + gdk_window_get_position (priv->underWin, &wx, &wy); + cairo_save (cr); + cairo_translate (cr, wx, wy); + gtk_widget_draw (priv->under, cr); + cairo_restore (cr); + + gdk_window_get_position (priv->overWin, &wx, &wy); + cairo_save (cr); + cairo_translate (cr, wx, wy); + gtk_widget_draw (priv->over, cr); + cairo_restore (cr); + + return FALSE; +} + /* *----------------------------------------------------------------------------- @@ -714,6 +740,11 @@ ViewOvBoxClassInit(ViewOvBoxClass *klass) // IN widgetClass->size_allocate = ViewOvBoxSizeAllocate; widgetClass->style_set = ViewOvBoxStyleSet; + if ((gtk_major_version > (3)) || + (gtk_major_version == (3) && gtk_minor_version > (19)) || + (gtk_major_version == (3) && gtk_minor_version == (19) && gtk_micro_version >= (7))) + widgetClass->draw = ViewOvBoxDraw; + klass->set_over = ViewOvBoxSetOver; parentClass = g_type_class_peek_parent(klass); -- 2.12.1
