--- a/configure.ac 2026-05-01 23:01:04.779123600 +0200 +++ b/configure.ac 2026-05-01 23:01:47.105641896 +0200 @@ -134,6 +134,7 @@ Note: You can compile without GNOME by using the --disable-gnome option " + AM_CONDITIONAL(USE_GNOME, true) PKG_CHECK_MODULES(GENIUS, $GENIUS_MODULES) if test "x$use_gtksourceview" = "xyes" ; then @@ -156,6 +157,7 @@ GNOME_GENIUS_DESKTOP_IN="gnome-genius.desktop.in" else + AM_CONDITIONAL(USE_GNOME, false) use_gtksourceview=no VICIOUS_MODULES="glib-2.0 >= $GLIB_REQUIRED gmodule-2.0 >= $GLIB_REQUIRED" VICIOUS_UI_LIBS= --- a/Makefile.am 2026-05-01 23:02:46.288968362 +0200 +++ b/Makefile.am 2026-05-01 23:04:05.537066482 +0200 @@ -1,6 +1,12 @@ ACLOCAL_AMFLAGS = -I m4 --install -SUBDIRS = ve gtkextra src pixmaps examples lib po help +if USE_GNOME +GTK_DIR = gtkextra +else +GTK_DIR = +endif + +SUBDIRS = ve ${GTK_DIR} src pixmaps examples lib po help mimeinfodir = $(datadir)/mime-info mimeinfo_DATA = genius.keys genius.mime