Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423841 - net-misc/remmina-1.0.0_p20120309: rdp clipboard patch
Summary: net-misc/remmina-1.0.0_p20120309: rdp clipboard patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-27 15:01 UTC by Marcus van Dam
Modified: 2012-10-07 00:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clipboard rdr patch (fix-cliprdr.patch,17.54 KB, patch)
2012-06-27 15:02 UTC, Marcus van Dam
Details | Diff
renamed patch, updated ebuild to follow (remmina-1.0.0-fix-cliprdr.patch,17.54 KB, patch)
2012-08-25 15:14 UTC, viperlin
Details | Diff
ebuild including patch above (remmina-1.0.0_p20120309.ebuild,1.91 KB, text/plain)
2012-08-25 15:15 UTC, viperlin
Details

Note You need to log in before you can comment on or make changes to this bug.
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.