Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#43942 closed enhancement (fixed)

PuTTY variant without gui tools (to avoid the gtk dependency)

Reported by: shadow.mp@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg), cooljeanius (Eric Gallager)
Port: putty

Description

Right now, maports only allows to install PuTTY in full. This includes the GUI utilities (like putty itself) along with some CLI utils (such as puttygen), but requires gtk2 to build and run.

My guess is that most people installing PuTTY on OSX would do so just to be able to convert PuTTY keys (.ppk) to standard OpenSSH-readable keys. This conversion can be done using the puttygen cli tool alone.

PuTTY includes support for compiling only the CLI tools, avoiding the GTK2 dependence. Hence, we could add a variant that skips building the GUI tools and thus does not depend on GTK2.

The attached patch creates such variant (without making it the default and thus without breaking backwards-compatibility I think).

Attachments (1)

Portfile-putty.diff (653 bytes) - added by shadow.mp@… 10 years ago.
Putty -gui variant patch

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by shadow.mp@…

Attachment: Portfile-putty.diff added

Putty -gui variant patch

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch added; putty gtk2 puttygen removed
Version: 2.3.0

comment:2 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

fixed in r122819

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 10 years ago by cooljeanius (Eric Gallager)

Another way to avoid pulling in GTK would be to try building the native macosx app, but I have not had much success with that in my copy of the port yet, unfortunately...

Note: See TracTickets for help on using tickets.