build: Make folks optional
The dependency chain spirals out from folks->zeitgeist->xapian...and I'm really not interested in pulling in all of that into the core shell. There is work on splitting out contact search into gnome-contacts; I'd add a bug link but Bugzilla is down.
This commit is contained in:
@ -109,7 +109,6 @@ shell_public_headers_h = \
|
||||
shell-app.h \
|
||||
shell-app-system.h \
|
||||
shell-app-usage.h \
|
||||
shell-contact-system.h \
|
||||
shell-embedded-window.h \
|
||||
shell-generic-container.h \
|
||||
shell-gtk-embed.h \
|
||||
@ -132,6 +131,10 @@ shell_public_headers_h = \
|
||||
shell-wm.h \
|
||||
shell-xfixes-cursor.h
|
||||
|
||||
if BUILD_WITH_FOLKS
|
||||
shell_public_headers_h += shell-contact-system.h
|
||||
endif
|
||||
|
||||
shell_private_sources = \
|
||||
gactionmuxer.h \
|
||||
gactionmuxer.c \
|
||||
@ -155,7 +158,6 @@ libgnome_shell_la_SOURCES = \
|
||||
shell-app.c \
|
||||
shell-app-system.c \
|
||||
shell-app-usage.c \
|
||||
shell-contact-system.c \
|
||||
shell-embedded-window.c \
|
||||
shell-generic-container.c \
|
||||
shell-gtk-embed.c \
|
||||
@ -185,6 +187,9 @@ libgnome_shell_la_SOURCES = \
|
||||
shell-xfixes-cursor.c \
|
||||
$(NULL)
|
||||
|
||||
if BUILD_WITH_FOLKS
|
||||
libgnome_shell_la_SOURCES += shell-contact-system.c
|
||||
endif
|
||||
|
||||
libgnome_shell_la_gir_sources = \
|
||||
$(filter-out %-private.h $(shell_private_sources), $(shell_public_headers_h) $(libgnome_shell_la_SOURCES))
|
||||
@ -301,7 +306,10 @@ libgnome_shell_la_LIBADD = \
|
||||
libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
|
||||
|
||||
Shell-0.1.gir: libgnome-shell.la St-1.0.gir
|
||||
Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4 GMenu-3.0 NetworkManager-1.0 NMClient-1.0 Folks-0.6
|
||||
Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4 GMenu-3.0 NetworkManager-1.0 NMClient-1.0
|
||||
if BUILD_WITH_FOLKS
|
||||
Shell_0_1_gir_INCLUDES += Folks-0.6
|
||||
endif
|
||||
Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
|
||||
Shell_0_1_gir_LIBS = libgnome-shell.la
|
||||
Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
|
||||
|
Reference in New Issue
Block a user