FreeRDP / FreeRDP

FreeRDP is a free remote desktop protocol library and clients

Home Page:http://www.freerdp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code usage request

ctrlaltca opened this issue · comments

This is not a normal feature request, but instead a request to reuse part of the freerdp android client code in another open source / free software project.

krdc is KDE's vnc/rdp client, and recently switched from embedding xfreerdp to using directly libfreerdp. As a result of this move, some features are missing and are being slowly reimplemented.
One of the most prominent missing features is clipboard sharing. Instead of reinventing the wheel, i've tried to adapt the code from https://github.com/FreeRDP/FreeRDP/blob/stable-2.0/client/Android/android_cliprdr.c to got it working.
Your original code is currently licensed under the Apache License Version 2.0, while krdc is licensed under GPL-2.0-or-later.
Of course the resulting code in krdc could be considered a derivative work of your code, as per section 2 of Apache License Version 2.0, and must retain the copyright header as per section 4.
Do you see any problem with this usage of your code?

Thank you

well, the file is more or less just template code (if you look at the other clients they are similar), but I did not write it.
if you want to be on the safe side, just check https://learn.microsoft.com/en-us/openspecs/windows_protocols/MS-RDPECLIP/fb9b7e0b-6db4-41c2-b83c-f889c1ee7688 state machine and you should not have an issue coming up with that code yourself ;)

Thank you @akallabeth !