Quote:
Originally Posted by mistfire
What's the status of gFTP? Does it support to compile on GTK+3?
|
I just tried building gFTP with --disable-gtk2 --enable-gtk3
In file included from options_dialog.c:20:
gftp-gtk.h:89:3: error: unknown type name 'GdkPixmap'
89 | GdkPixmap * pixmap;
| ^~~~~~~~~
gftp-gtk.h:90:3: error: unknown type name 'GdkBitmap'
90 | GdkBitmap * bitmap;
| ^~~~~~~~~
gftp-gtk.h:296:51: error: unknown type name 'GdkPixmap'; did you mean 'GdkPixbuf'?
296 | GdkPixmap ** pix,
| ^~~~~~~~~
| GdkPixbuf
gftp-gtk.h:297:51: error: unknown type name 'GdkBitmap'; did you mean 'GdkKeymap'?
297 | GdkBitmap ** bitmap );
| ^~~~~~~~~
| GdkKeymap
In file included from bookmarks.c:20:
gftp-gtk.h:89:3: error: unknown type name 'GdkPixmap'
89 | GdkPixmap * pixmap;
| ^~~~~~~~~
gftp-gtk.h:90:3: error: unknown type name 'GdkBitmap'
90 | GdkBitmap * bitmap;
| ^~~~~~~~~
gftp-gtk.h:296:51: error: unknown type name 'GdkPixmap'; did you mean 'GdkPixbuf'?
296 | GdkPixmap ** pix,
| ^~~~~~~~~
| GdkPixbuf
gftp-gtk.h:297:51: error: unknown type name 'GdkBitmap'; did you mean 'GdkKeymap'?
297 | GdkBitmap ** bitmap );
| ^~~~~~~~~
| GdkKeymap
make[3]: *** [Makefile:440: bookmarks.o] Error 1
make[3]: Leaving directory '/tmp/gftp-2.8.0b/src/gtk'
make[2]: *** [Makefile:428: all-recursive] Error 1
make[2]: Leaving directory '/tmp/gftp-2.8.0b/src'
make[1]: *** [Makefile:412: all-recursive] Error 1
make[1]: Leaving directory '/tmp/gftp-2.8.0b'
make: *** [Makefile:351: all] Error 2
So, you can attempt to debug it if you'd like to.
________
Nevermind.
That was using the SRC downloaded from the slackware distro repository.
Tried and succeeded using the current SRC downloaded from github
https://github.com/masneyb/gftp
Question: Is there some particular reason why you'd like it built for gtk+3 instead of gtk+2 ?