Replace the gnome-shell builtin settings search, which relied on removed menu files, with one that uses the remote search infrastructure and CcSearchModel, and features the ability to continue searching within the control center application. https://bugzilla.gnome.org/show_bug.cgi?id=690577
55 lines
1.8 KiB
Makefile
55 lines
1.8 KiB
Makefile
dbus_shell_search_provider_built_sources = \
|
|
cc-shell-search-provider-generated.c \
|
|
cc-shell-search-provider-generated.h
|
|
|
|
# The upstream for the DBus interface definition is
|
|
# at http://git.gnome.org/browse/gnome-shell/plain/data/org.gnome.ShellSearchProvider2.xml
|
|
$(dbus_shell_search_provider_built_sources) : Makefile.am $(srcdir)/org.gnome.ShellSearchProvider2.xml
|
|
gdbus-codegen \
|
|
--interface-prefix org.gnome. \
|
|
--c-namespace Cc \
|
|
--generate-c-code cc-shell-search-provider-generated \
|
|
$(srcdir)/org.gnome.ShellSearchProvider2.xml \
|
|
$(NULL)
|
|
|
|
INCLUDES = \
|
|
-DCC_PANEL_LOADER_NO_GTYPES \
|
|
-I$(top_srcdir) \
|
|
$(SHELL_CFLAGS) \
|
|
-I$(top_srcdir)/libgd
|
|
|
|
libexec_PROGRAMS = gnome-control-center-search-provider
|
|
|
|
BUILT_SOURCES = $(dbus_shell_search_provider_built_sources)
|
|
|
|
gnome_control_center_search_provider_SOURCES = \
|
|
$(BUILT_SOURCES) \
|
|
$(top_srcdir)/shell/cc-panel-loader.c \
|
|
$(top_srcdir)/shell/cc-panel-loader.h \
|
|
control-center-search-provider.c \
|
|
control-center-search-provider.h \
|
|
cc-search-provider.c \
|
|
cc-search-provider.h
|
|
|
|
gnome_control_center_search_provider_LDADD = \
|
|
$(top_builddir)/shell/libshell.la \
|
|
$(SHELL_LIBS)
|
|
|
|
AM_CPPFLAGS = -DGNOMELOCALEDIR="\"$(datadir)/locale\""
|
|
|
|
CLEANFILES = $(BUILT_SOURCES) $(service_DATA)
|
|
|
|
servicedir = $(datadir)/dbus-1/services
|
|
service_DATA = $(service_in_files:.service.in=.service)
|
|
service_in_files = \
|
|
org.gnome.ControlCenter.SearchProvider.service.in
|
|
|
|
org.gnome.ControlCenter.SearchProvider.service: org.gnome.ControlCenter.SearchProvider.service.in Makefile
|
|
$(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
|
|
|
|
EXTRA_DIST = $(service_in_files) org.gnome.ShellSearchProvider2.xml
|
|
|
|
searchproviderdir = $(datadir)/gnome-shell/search-providers
|
|
dist_searchprovider_DATA = gnome-control-center-search-provider.ini
|
|
|
|
-include $(top_srcdir)/git.mk
|