--- vinagre-3.22.0/configure.ac.orig 2020-05-26 16:58:13.245774224 +0200
+++ vinagre-3.22.0/configure.ac 2020-05-26 16:58:57.779911231 +0200
@@ -59,7 +59,7 @@ AM_CONDITIONAL([VINAGRE_ENABLE_SSH], [te
# Whether to enable support for RDP.
RDP_DEPS="freerdp x11"
-RDP_2_DEPS="freerdp2 x11"
+RDP_2_DEPS="freerdp2 >= 2.0.0 x11"
AC_ARG_ENABLE([rdp],
[AS_HELP_STRING([--disable-rdp],
[Disable Remote Desktop Protocol (RDP) support])])
--- vinagre-3.22.0/plugins/rdp/vinagre-rdp-tab.c.orig 2020-05-26 16:58:13.248774233 +0200
+++ vinagre-3.22.0/plugins/rdp/vinagre-rdp-tab.c 2020-05-26 16:59:15.511965782 +0200
@@ -548,32 +548,7 @@ frdp_pre_connect (freerdp *instance)
{
rdpSettings *settings = instance->settings;
-#ifdef HAVE_FREERDP_1_1
- settings->OrderSupport[NEG_DSTBLT_INDEX] = TRUE;
- settings->OrderSupport[NEG_PATBLT_INDEX] = TRUE;
- settings->OrderSupport[NEG_SCRBLT_INDEX] = TRUE;
- settings->OrderSupport[NEG_OPAQUE_RECT_INDEX] = TRUE;
- settings->OrderSupport[NEG_DRAWNINEGRID_INDEX] = FALSE;
- settings->OrderSupport[NEG_MULTIDSTBLT_INDEX] = FALSE;
- settings->OrderSupport[NEG_MULTIPATBLT_INDEX] = FALSE;
- settings->OrderSupport[NEG_MULTISCRBLT_INDEX] = FALSE;
- settings->OrderSupport[NEG_MULTIOPAQUERECT_INDEX] = TRUE;
- settings->OrderSupport[NEG_MULTI_DRAWNINEGRID_INDEX] = FALSE;
- settings->OrderSupport[NEG_LINETO_INDEX] = TRUE;
- settings->OrderSupport[NEG_POLYLINE_INDEX] = TRUE;
- settings->OrderSupport[NEG_MEMBLT_INDEX] = TRUE;
- settings->OrderSupport[NEG_MEM3BLT_INDEX] = FALSE;
- settings->OrderSupport[NEG_MEMBLT_V2_INDEX] = TRUE;
- settings->OrderSupport[NEG_MEM3BLT_V2_INDEX] = FALSE;
- settings->OrderSupport[NEG_SAVEBITMAP_INDEX] = FALSE;
- settings->OrderSupport[NEG_GLYPH_INDEX_INDEX] = TRUE;
- settings->OrderSupport[NEG_FAST_INDEX_INDEX] = TRUE;
- settings->OrderSupport[NEG_FAST_GLYPH_INDEX] = FALSE;
- settings->OrderSupport[NEG_POLYGON_SC_INDEX] = FALSE;
- settings->OrderSupport[NEG_POLYGON_CB_INDEX] = FALSE;
- settings->OrderSupport[NEG_ELLIPSE_SC_INDEX] = FALSE;
- settings->OrderSupport[NEG_ELLIPSE_CB_INDEX] = FALSE;
-#else
+#ifndef HAVE_FREERDP_1_1
settings->order_support[NEG_DSTBLT_INDEX] = true;
settings->order_support[NEG_PATBLT_INDEX] = true;
settings->order_support[NEG_SCRBLT_INDEX] = true;