* e-summary.c (e_summary_init): Use GConf. * e-summary-tasks.c: Replaced member config_listener in ESummaryTasks with a gconf_client. (setup_gconf_client): Renamed from setup_config_listener(). Set up the GConf client and invoke gconf_client_add_dir() on the interesting namespaces. (gconf_client_value_changed_cb): Renamed from config_listener_value_changed_cb and changed prototype to match that of the "value_changed" signal in GConfClient. (setup_task_folder): Updated to use GConf. * e-summary-calendar.c: Replaced member config_listener with a gconf_listener. (setup_calendar): Use GConf. (setup_gconf_client): Renamed from setup_config_listener. Set up a GConf client and invoke gconf_client_add_dir() on the interesting namespaces. (gconf_client_value_changed_cb): Renamed from config_listener_key_changed_cb() and changed prototype to match that of the "value_changed" signal in GConfClient. (locale_uses_24h_time_format): Removed. (e_summary_calendar_free): g_object_unref() the gconf_client. * Makefile.am: Add rules to install the schemas. * apps_evolution_summary.schemas: New. * e-summary-preferences.c: Did a global GList -> GSList switch. (e_summary_preferences_restore): Use GConfClient instead of EConfigListener. (vector_from_folder_list): Removed since GConf makes this useless. (folder_list_from_vector): Likewise. (str_list_from_vector): Likewise. (vector_from_str_list): Likewise. (make_initial_weather_list): Likewise. (make_initial_rdf_list): Likewise. (make_initial_mail_list): Likewise. (e_summary_preferences_save): Use GConf. (e_summary_preferences_init): No need to set up defaults here. * e-summary.h: Changed members display_folders, rdf_urls, stations in ESummaryPrefs to be GSLists instead of GLists; updated all the functions that use them accordingly. svn path=/trunk/; revision=18863
153 lines
3.6 KiB
Makefile
153 lines
3.6 KiB
Makefile
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/shell \
|
|
-I$(top_builddir)/shell \
|
|
-I$(top_srcdir)/calendar \
|
|
-I$(top_builddir)/calendar/cal-client \
|
|
-I$(top_srcdir)/libical/src/libical \
|
|
-I$(top_builddir)/libical/src/libical \
|
|
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
|
|
-DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
|
|
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
|
|
-DPREFIX=\"$(prefix)\" \
|
|
-DSYSCONFDIR=\""$(sysconfdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
-DLIBDIR=\""$(datadir)"\" \
|
|
-DG_LOG_DOMAIN=\"evolution-executive-summary\" \
|
|
$(EVOLUTION_EXECUTIVE_SUMMARY_CFLAGS)
|
|
|
|
IDLS = \
|
|
$(top_srcdir)/mail/Mailer.idl
|
|
|
|
MAIL_GENERATED = \
|
|
Mailer.h \
|
|
Mailer-common.c \
|
|
Mailer-skels.c \
|
|
Mailer-stubs.c
|
|
|
|
$(MAIL_GENERATED): $(IDLS)
|
|
$(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(top_srcdir)/mail/Mailer.idl
|
|
|
|
summary_sources = \
|
|
$(MAIL_GENERATED) \
|
|
component-factory.c \
|
|
component-factory.h \
|
|
e-cell-tri.c \
|
|
e-cell-tri.h \
|
|
e-summary.c \
|
|
e-summary.h \
|
|
e-summary-calendar.c \
|
|
e-summary-calendar.h \
|
|
e-summary-factory.c \
|
|
e-summary-factory.h \
|
|
e-summary-mail.c \
|
|
e-summary-mail.h \
|
|
e-summary-offline-handler.c \
|
|
e-summary-offline-handler.h \
|
|
e-summary-preferences.c \
|
|
e-summary-preferences.h \
|
|
e-summary-rdf.c \
|
|
e-summary-rdf.h \
|
|
e-summary-shown.c \
|
|
e-summary-shown.h \
|
|
e-summary-table.c \
|
|
e-summary-table.h \
|
|
e-summary-tasks.c \
|
|
e-summary-tasks.h \
|
|
e-summary-type.h \
|
|
e-summary-weather.c \
|
|
e-summary-weather.h \
|
|
metar.c \
|
|
metar.h \
|
|
my-evolution-html.h \
|
|
weather.h
|
|
|
|
summary_exe_sources = \
|
|
main.c
|
|
|
|
summary_libs = \
|
|
$(top_builddir)/calendar/gui/alarm-notify/libalarm.a \
|
|
$(top_builddir)/shell/libeshell.la \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/calendar/cal-client/libcal-client.la \
|
|
$(top_builddir)/calendar/cal-util/libcal-util.la \
|
|
$(top_builddir)/libversit/libversit.a \
|
|
$(top_builddir)/libical/src/libical/libical-evolution.la \
|
|
$(top_builddir)/libwombat/libwombat.la \
|
|
$(EVOLUTION_EXECUTIVE_SUMMARY_LIBS)
|
|
|
|
if ENABLE_SHLIB_COMPONENTS
|
|
|
|
lib_LTLIBRARIES = libevolution-executive-summary.la
|
|
|
|
libevolution_executive_summary_la_SOURCES = \
|
|
$(summary_sources)
|
|
|
|
libevolution_executive_summary_la_LIBADD = \
|
|
$(summary_libs)
|
|
|
|
else
|
|
|
|
libexec_PROGRAMS = evolution-executive-summary
|
|
|
|
evolution_executive_summary_SOURCES = \
|
|
$(summary_sources) \
|
|
$(summary_exe_sources)
|
|
|
|
evolution_executive_summary_LDADD = \
|
|
$(summary_libs)
|
|
|
|
endif
|
|
|
|
Locationdir = $(datadir)/evolution
|
|
Location_DATA = Locations
|
|
|
|
|
|
# .server files
|
|
|
|
server_in_files = GNOME_Evolution_Summary.server.in.in
|
|
|
|
serverdir = $(libdir)/bonobo/servers
|
|
server_DATA = $(server_in_files:.server.in.in=.server)
|
|
$(server_in_files:.server.in.in=.server.in): $(server_in_files)
|
|
sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
|
|
|
|
@INTLTOOL_SERVER_RULE@
|
|
|
|
|
|
# Glade
|
|
|
|
gladedir = $(datadir)/evolution/glade
|
|
glade_DATA = my-evolution.glade
|
|
|
|
# GConf schemas
|
|
|
|
schemadir = $(GCONF_SCHEMA_FILE_DIR)
|
|
schema_DATA = apps_evolution_summary.schemas
|
|
|
|
install-data-local:
|
|
if test -z "$(DESTDIR)" ; then \
|
|
for p in $(schema_DATA) ; do \
|
|
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p; \
|
|
done \
|
|
fi
|
|
|
|
# Extra
|
|
|
|
EXTRA_DIST = \
|
|
$(summary_sources) \
|
|
$(summary_exe_sources) \
|
|
$(server_in_files) \
|
|
$(server_DATA) \
|
|
$(Location_DATA) \
|
|
$(glade_DATA) \
|
|
Locations.h \
|
|
Location-translation-script \
|
|
check-empty.xpm \
|
|
check-filled.xpm \
|
|
check-none.xpm
|
|
|
|
dist-hook:
|
|
cd $(distdir); rm -f $(BUILT_SOURCES)
|