[Users] Building Claws from git source with gtk-2
Enan Ajmain
3nan.ajmain at gmail.com
Mon Nov 14 11:04:30 CET 2022
I'm trying to build Claws with gtk-2. The download page for Claws
provides gtk-2 version, but I wanted to build it from source. And not
finding any guidance in the README I decided to try blind.
So far I only changed the generated Makefile.
@@ -329,8 +329,8 @@ GPGME_CFLAGS =
GPGME_CONFIG = /usr/bin/gpgme-config
GPGME_LIBS = -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error
GREP = /usr/bin/grep
-GTK_CFLAGS = -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE
-GTK_LIBS = -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
+GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE
+GTK_LIBS = -lgtk-2 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
HAVE_GTK_ICON_CACHE = yes
HAVE_PERL = yes
INSTALL = /usr/bin/install -c
But it doesn't seem to make any difference.
What are the steps to build Claws with gtk-2?
P.S. Also let me know if it's discouraged to use gtk-2. I wanted to
build with gtk-2 for educational/recreational purpose.
--
Enan
More information about the Users
mailing list