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

Bug 616412

Summary: net-misc/putty - add USE=gtk2
Product: Gentoo Linux Reporter: Jernej Simončič <jernej-bugzilla.gentoo2>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: enhancement CC: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Allow building net-misc/putty with GTK+2
net-misc:putty-0.69-r1:20170516-045108.log
putty-0.69-gtk2_compilefix.patch
putty-0.69-gtkwin_cast.patch

Description Jernej Simončič 2017-04-23 20:09:38 UTC
Created attachment 470738 [details, diff]
Allow building net-misc/putty with GTK+2

pterm doesn't work properly for me when built against GTK+3 (window content only refreshes when resizing the terminal), but works fine when built against GTK+2, so I'm attaching a patch to allow building with GTK+2 when gtk2 USE flag is set.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-05-16 04:54:30 UTC
Created attachment 472740 [details]
net-misc:putty-0.69-r1:20170516-045108.log

(In reply to Jernej Simoncic from comment #0)
> Created attachment 470738 [details, diff] [details, diff]

That doesn't appear to quite work with putty-0.69.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-05-16 04:55:10 UTC
I think Lars has a simple patch for that problem.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-05-16 07:22:41 UTC
Created attachment 472742 [details, diff]
putty-0.69-gtk2_compilefix.patch
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-05-16 07:23:40 UTC
Created attachment 472744 [details, diff]
putty-0.69-gtkwin_cast.patch

You actually need two patches to really fix this issue. See the attached two patches which are taken directly from upstream's VCS.
Comment 5 Larry the Git Cow gentoo-dev 2019-03-17 23:52:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0690ffab43b375dd17e660562a5cb8c9e3107dc

commit e0690ffab43b375dd17e660562a5cb8c9e3107dc
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-03-17 23:51:54 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-03-17 23:52:47 +0000

    net-misc/putty: Add USE=gtk2
    
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Fixes: https://bugs.gentoo.org/616412
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-misc/putty/metadata.xml      | 10 +++-------
 net-misc/putty/putty-0.71.ebuild |  7 ++++---
 net-misc/putty/putty-9999.ebuild |  7 ++++---
 3 files changed, 11 insertions(+), 13 deletions(-)