Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 423841

Summary: net-misc/remmina-1.0.0_p20120309: rdp clipboard patch
Product: Gentoo Linux Reporter: Marcus van Dam <root>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal CC: asolokha, heissfuss, tristan, viperlin
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: clipboard rdr patch
renamed patch, updated ebuild to follow
ebuild including patch above

Description Marcus van Dam 2012-06-27 15:01:42 UTC
In version 1.0 of remmina the clipboard redirect is broken. The attached patch fixes this issue.

Reproducible: Always

Steps to Reproduce:
1. Open RDP session to a Windows machine
2. Copy text to clipboard
3. Try to paste text in linux
Same goes for reverse direction.
Actual Results:  
Pastebuffer out of sync

Expected Results:  
Text of Windows should be loaded into pastebuffer

The patch is not written by me, just found it on a mailing list a few days ago. Its also in the Debian patches.
Comment 1 Marcus van Dam 2012-06-27 15:02:30 UTC
Created attachment 316453 [details, diff]
clipboard rdr patch
Comment 2 Mike Gilbert gentoo-dev 2012-06-27 15:46:57 UTC
Has this been committed upstream? You can use remmina-9999 to test. You'll probably need freerdp-9999 as well.
Comment 3 Mike Gilbert gentoo-dev 2012-06-27 15:48:32 UTC
I just checked, and it looks like this is indeed upstream. I'll roll a new snapshot when I get a chance.
Comment 4 Sergey Smirnov 2012-07-14 22:31:15 UTC
This patch works fine for me, thanks, copypaste bug was wery annoying
Comment 5 viperlin 2012-08-25 15:14:03 UTC
Created attachment 322196 [details, diff]
renamed patch, updated ebuild to follow
Comment 6 viperlin 2012-08-25 15:15:01 UTC
Created attachment 322198 [details]
ebuild including patch above

--- remmina-1.0.0_p20120309.ebuild.orig	2012-08-25 16:03:00.610880728 +0100
+++ remmina-1.0.0_p20120309.ebuild	2012-08-25 16:08:22.075083124 +0100
@@ -49,6 +49,10 @@
 
 DOCS=( README )
 
+src_prepare() {
+	epatch "${FILESDIR}"/${PN}-1.0.0-fix-cliprdr.patch #423841
+}
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_with ayatana APPINDICATOR)
Comment 7 Mike Gilbert gentoo-dev 2012-10-07 00:39:08 UTC
New remmina snapshot has been added. Sorry for the delay.