After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700404 - port to freerdp from rdesktop
port to freerdp from rdesktop
Status: RESOLVED FIXED
Product: vinagre
Classification: Applications
Component: RDP
unspecified
Other Linux
: Normal normal
: ---
Assigned To: vinagre-maint
vinagre-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-15 18:24 UTC by Matthias Clasen
Modified: 2013-07-03 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Default to FreeRDP if available (34.07 KB, patch)
2013-07-02 14:02 UTC, Marek Kašík
reviewed Details | Review
Default to FreeRDP if available (gnome-3-8) (34.04 KB, patch)
2013-07-02 14:03 UTC, Marek Kašík
rejected Details | Review
Use xfreerdp for RDP support (33.07 KB, patch)
2013-07-03 14:41 UTC, Marek Kašík
committed Details | Review

Description Matthias Clasen 2013-05-15 18:24:47 UTC
Alternatively, we could add a separate plugin using freerdb with a configure-time switch.
Comment 1 Marek Kašík 2013-07-02 14:02:05 UTC
Created attachment 248223 [details] [review]
Default to FreeRDP if available

Hi,

the attached patch modifies vinagre's configure.ac file so that is use FreeRDP as RDP client if it is available (it uses rdesktop if xfreerdp is not available). It adds configure switch --disable-freerdp for disabling this.
It also modifies an error string which contains "rdesktop" so it shows correct binary name if shown. I've replaced all occurrences of "rdesktop" in *.po files by %s (but it is not shown at all now because of a small bug when checking "title" string in show_error_dialog()).

The only difference when run is that it has different default resolution (1024x768) compared to rdesktop (800x600).

Regards

Marek
Comment 2 Marek Kašík 2013-07-02 14:03:48 UTC
Created attachment 248225 [details] [review]
Default to FreeRDP if available (gnome-3-8)
Comment 3 David King 2013-07-02 14:21:32 UTC
Review of attachment 248225 [details] [review]:

I think that it would be fine in this case to depend on freerdp instead of rdesktop, and remove the option to use rdesktop entirely.
Comment 4 David King 2013-07-02 14:23:23 UTC
Review of attachment 248223 [details] [review]:

Ah, sorry, I should have reviewed the patch destined for master. This change is fine for master, after making it use freerdp unconditionally, but I do not think it should go to the 3.8 branch.
Comment 5 Marek Kašík 2013-07-03 14:41:33 UTC
Created attachment 248316 [details] [review]
Use xfreerdp for RDP support

This patch just replaces all occurrences of "rdesktop" by "xfreerdp" (also in po files).
I've removed the "AC_PATH_PROG([RDESKTOP_PROGRAM], [rdesktop], [rdesktop])" because the RDESKTOP_PROGRAM variable is not used anywhere.
Comment 6 David King 2013-07-03 14:50:02 UTC
Comment on attachment 248316 [details] [review]
Use xfreerdp for RDP support

Looks fine, please push to master.
Comment 7 Marek Kašík 2013-07-03 15:06:54 UTC
Comment on attachment 248316 [details] [review]
Use xfreerdp for RDP support

Thank you for the review. I've pushed the patch to master.