Putty compiled with gtk-1.2 instead of gtk-2

Bug #271277 reported by Thomas Novin
4
Affects Status Importance Assigned to Milestone
putty (Debian)
Fix Released
Unknown
putty (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: putty

Putt has for a while been able to compile with the GTK 2 toolkit instead of 1.2. I just compiled it myself on Ubuntu Hardy and it works nicely and looks a LOT better. Why not compile against gtk-2 in Ubuntu?

Steps I took to compile & install it:

wget http://tartarus.org/~simon/putty-snapshots/putty.tar.gz
tar -zxvf putty.tar.gz
cd putty-0*
./mkfiles.pl
cd unix
make -f Makefile.gtk
sudo make -f Makefile.gtk install

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Confirmed.

Changed in putty:
status: New → Confirmed
William Grant (wgrant)
Changed in putty:
importance: Undecided → Wishlist
Revision history for this message
leibra (rupesh-iitd) wrote :

Hello there,

I performed the same steps, but i am getting error that is :

cc -O2 -Wall -Werror -g -I.././ -I../charset/ -I../windows/ -I../unix/ -I../mac/ -I../macosx/ `sh -c 'pkg-config gtk+-2.0 $0 2>/dev/null || gtk-config $0' --cflags` -D _FILE_OFFSET_BITS=64 `krb5-config --cflags gssapi` -c ../be_all_s.c
--cflags: 1: gtk-config: not found
/bin/sh: krb5-config: not found
../be_all_s.c:6:19: error: stdio.h: No such file or directory
In file included from ../puttyps.h:22,
                 from ../putty.h:26,
                 from ../be_all_s.c:7:
../unix/unix.h:12: error: β€˜FILENAME_MAX’ undeclared here (not in a function)
../unix/unix.h:14: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜*’ token
In file included from ../misc.h:8,
                 from ../putty.h:28,
                 from ../be_all_s.c:7:
../puttymem.h:9:47: error: string.h: No such file or directory
In file included from ../putty.h:28,
                 from ../be_all_s.c:7:
../misc.h:12:59: error: time.h: No such file or directory
In file included from ../putty.h:28,
                 from ../be_all_s.c:7:
../misc.h:32: error: expected β€˜)’ before β€˜*’ token
make: *** [be_all_s.o] Error 1

--------------------------------------------------------------------------------------------------

Finally I am not able to install. please give some solution.

With Regards

Revision history for this message
Jacob Nevins (0jacobnk-ulp) wrote :

There hasn't yet been an upstream release of PuTTY with Gtk 2 support -- it's only available in code snapshots (which is what you've compiled). I suspect the package maintainer won't want to package a snapshot, which could have all sorts of things wrong with it.

The upstream record for Gtk 2 support is <http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/port-unix-gtk2.html>, FWIW.

(@leibra: you probably need to install a bunch of -dev packages, on Ubuntu. Not having stdio.h is fairly fatal!)

Revision history for this message
Colin Watson (cjwatson) wrote :

What Jacob said - I'm waiting for a new upstream release, at which point I'll be more than happy to switch to GTK 2 (since I contributed to the port!). I'll mark this bug "in progress" pending that happening, though.

Changed in putty:
status: Confirmed → In Progress
Changed in putty:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package putty - 0.60+2009-04-05-1

---------------
putty (0.60+2009-04-05-1) unstable; urgency=low

  * New experimental development snapshot.
    - Stop attempting to make session logs private on Unix. This was
      introduced in r7084 at the same time as sensible permissions when
      writing private key files; however, it causes an assertion failure
      whenever an attempt is made to append to an existing log file on Unix,
      and it's not clear what "is_private" *should* do for append, so revert
      to log file security being the user's responsibility (LP: #212711).
    - Cope with GTK+ 2.0 encoding keypress strings in the current locale
      rather than in ISO-8859-1 (closes: #517535).

putty (0.60+2009-02-22-1) unstable; urgency=low

  * New experimental development snapshot.
    - Uses GTK+ 2.0 (closes: #516641, LP: #271277) and as a result supports
      Unicode window titles (LP: #48781).
    - Fixes handling of trailing CR in key files (closes: #414784).
  * Disabled upstream Kerberos support for now, as it produces unwanted
    linkage in pterm and other binaries.

 -- Ubuntu Archive Auto-Sync <email address hidden> Wed, 29 Apr 2009 12:08:57 +0100

Changed in putty (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.