Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616412 - net-misc/putty - add USE=gtk2
Summary: net-misc/putty - add USE=gtk2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-23 20:09 UTC by Jernej Simončič
Modified: 2019-03-17 23:52 UTC (History)
1 user (show)

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


Attachments
Allow building net-misc/putty with GTK+2 (putty-gtk2.patch,834 bytes, patch)
2017-04-23 20:09 UTC, Jernej Simončič
Details | Diff
net-misc:putty-0.69-r1:20170516-045108.log (net-misc:putty-0.69-r1:20170516-045108.log,81.00 KB, text/plain)
2017-05-16 04:54 UTC, Jeroen Roovers (RETIRED)
Details
putty-0.69-gtk2_compilefix.patch (putty-0.69-gtk2_compilefix.patch,995 bytes, patch)
2017-05-16 07:22 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
putty-0.69-gtkwin_cast.patch (putty-0.69-gtkwin_cast.patch,727 bytes, patch)
2017-05-16 07:23 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

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