[evolution/express] Restructure capplet stuffs and load only on express mode.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/express] Restructure capplet stuffs and load only on express mode.
- Date: Tue, 2 Mar 2010 12:34:28 +0000 (UTC)
commit f974ef1596b176376445267cfa4152442dc90af8
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Tue Mar 2 18:00:06 2010 +0530
Restructure capplet stuffs and load only on express mode.
capplet/Makefile.am | 34 +------------
capplet/anjal-settings-main.c | 2 +-
capplet/settings/Makefile.am | 69 +++++++++++++++++++++++++++
capplet/{ => settings}/anjal-mail-view.c | 0
capplet/{ => settings}/anjal-mail-view.h | 0
capplet/{ => settings}/mail-account-view.c | 0
capplet/{ => settings}/mail-account-view.h | 0
capplet/{ => settings}/mail-capplet-shell.c | 0
capplet/{ => settings}/mail-capplet-shell.h | 0
capplet/{ => settings}/mail-decoration.c | 0
capplet/{ => settings}/mail-decoration.h | 0
capplet/{ => settings}/mail-guess-servers.c | 0
capplet/{ => settings}/mail-guess-servers.h | 0
capplet/{ => settings}/mail-settings-view.c | 0
capplet/{ => settings}/mail-settings-view.h | 0
capplet/{ => settings}/mail-view.c | 0
capplet/{ => settings}/mail-view.h | 0
configure.ac | 1 +
modules/mail/Makefile.am | 2 +-
modules/mail/em-account-prefs.c | 2 +-
plugins/startup-wizard/Makefile.am | 2 +-
plugins/startup-wizard/startup-wizard.c | 2 +-
22 files changed, 77 insertions(+), 37 deletions(-)
---
diff --git a/capplet/Makefile.am b/capplet/Makefile.am
index dd18c3e..db32e89 100644
--- a/capplet/Makefile.am
+++ b/capplet/Makefile.am
@@ -1,3 +1,4 @@
+SUBDIRS = settings
AM_CPPFLAGS = \
-I$(top_srcdir)/widgets \
@@ -36,29 +37,10 @@ AM_CFLAGS =\
bin_PROGRAMS = evolution-settings
-privsolib_LTLIBRARIES = libevolution-mail-settings.la
evolution_settings_SOURCES = \
anjal-settings-main.c
-libevolution_mail_settings_la_SOURCES = \
- mail-settings-view.c \
- mail-settings-view.h \
- mail-account-view.c \
- mail-account-view.h \
- mail-view.c \
- mail-view.h \
- mail-capplet-shell.c \
- mail-capplet-shell.h \
- mail-decoration.c \
- mail-decoration.h \
- anjal-mail-view.h \
- anjal-mail-view.c \
- mail-guess-servers.c \
- mail-guess-servers.h
-
-libevolution_mail_settings_la_CFLAGS = -DANJAL_SETTINGS
-
evolution_settings_LDFLAGS = \
-Wl,--export-dynamic
@@ -73,18 +55,6 @@ evolution_settings_LDADD = \
$(top_builddir)/widgets/misc/libemiscwidgets.la \
$(top_builddir)/filter/libfilter.la \
$(top_builddir)/mail/libevolution-mail.la \
- $(top_builddir)/capplet/libevolution-mail-settings.la
-
-libevolution_mail_settings_la_LIBADD = \
- $(EVOLUTION_MAIL_LIBS) \
- $(CERT_UI_LIBS) \
- $(CANBERRA_LIBS) \
- $(GTKHTML_LIBS) \
- $(E_WIDGETS_LIBS) \
- $(SMIME_LIBS) \
- $(GNOME_PLATFORM_LIBS) \
- $(top_builddir)/widgets/misc/libemiscwidgets.la \
- $(top_builddir)/filter/libfilter.la \
- $(top_builddir)/mail/libevolution-mail.la
+ $(top_builddir)/capplet/settings/libevolution-mail-settings.la
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c
index 7a90b87..f704789 100644
--- a/capplet/anjal-settings-main.c
+++ b/capplet/anjal-settings-main.c
@@ -34,7 +34,7 @@
#include <glib/gi18n.h>
#include <libedataserverui/e-passwords.h>
#include <mail/mail-mt.h>
-#include "mail-capplet-shell.h"
+#include "settings/mail-capplet-shell.h"
#include <gconf/gconf-client.h>
#include <libedataserver/e-categories.h>
#include <dbus/dbus-glib.h>
diff --git a/capplet/settings/Makefile.am b/capplet/settings/Makefile.am
new file mode 100644
index 0000000..c3df948
--- /dev/null
+++ b/capplet/settings/Makefile.am
@@ -0,0 +1,69 @@
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/widgets \
+ -I$(top_srcdir)/widgets/misc \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/em-format \
+ -I$(top_srcdir)/mail \
+ -I$(top_srcdir)/composer \
+ -I$(top_builddir)/composer \
+ -I$(top_builddir)/shell \
+ -I$(top_srcdir)/shell \
+ -I$(top_srcdir)/smime/lib \
+ -I$(top_srcdir)/smime/gui \
+ $(GNOME_PLATFORM_CFLAGS) \
+ $(EVOLUTION_MAIL_CFLAGS) \
+ $(CERT_UI_CFLAGS) \
+ $(CANBERRA_CFLAGS) \
+ -DEVOLUTION_DATADIR=\""$(datadir)"\" \
+ -DEVOLUTION_PRIVDATADIR=\""$(privdatadir)"\" \
+ -DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \
+ -DEVOLUTION_ICONSDIR=\""$(imagesdir)"\" \
+ -DEVOLUTION_IMAGES=\""$(imagesdir)"\" \
+ -DEVOLUTION_GALVIEWSDIR=\""$(viewsdir)"\" \
+ -DEVOLUTION_BUTTONSDIR=\""$(buttonsdir)"\" \
+ -DEVOLUTION_LOCALEDIR=\""$(localedir)"\" \
+ -DEVOLUTION_UIDIR=\""$(uidir)"\" \
+ -DCAMEL_PROVIDERDIR=\""$(camel_providerdir)"\" \
+ -DPREFIX=\""$(prefix)"\" \
+ -DG_LOG_DOMAIN=\"evolution-mail\" \
+ -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\"
+
+AM_CFLAGS =\
+ -Wall\
+ -g -O0
+
+privsolib_LTLIBRARIES = libevolution-mail-settings.la
+
+libevolution_mail_settings_la_SOURCES = \
+ mail-settings-view.c \
+ mail-settings-view.h \
+ mail-account-view.c \
+ mail-account-view.h \
+ mail-view.c \
+ mail-view.h \
+ mail-capplet-shell.c \
+ mail-capplet-shell.h \
+ mail-decoration.c \
+ mail-decoration.h \
+ anjal-mail-view.h \
+ anjal-mail-view.c \
+ mail-guess-servers.c \
+ mail-guess-servers.h
+
+libevolution_mail_settings_la_CFLAGS = -DANJAL_SETTINGS
+
+libevolution_mail_settings_la_LIBADD = \
+ $(EVOLUTION_MAIL_LIBS) \
+ $(CERT_UI_LIBS) \
+ $(CANBERRA_LIBS) \
+ $(GTKHTML_LIBS) \
+ $(E_WIDGETS_LIBS) \
+ $(SMIME_LIBS) \
+ $(GNOME_PLATFORM_LIBS) \
+ $(top_builddir)/widgets/misc/libemiscwidgets.la \
+ $(top_builddir)/filter/libfilter.la \
+ $(top_builddir)/mail/libevolution-mail.la
+
+
diff --git a/capplet/anjal-mail-view.c b/capplet/settings/anjal-mail-view.c
similarity index 100%
rename from capplet/anjal-mail-view.c
rename to capplet/settings/anjal-mail-view.c
diff --git a/capplet/anjal-mail-view.h b/capplet/settings/anjal-mail-view.h
similarity index 100%
rename from capplet/anjal-mail-view.h
rename to capplet/settings/anjal-mail-view.h
diff --git a/capplet/mail-account-view.c b/capplet/settings/mail-account-view.c
similarity index 100%
rename from capplet/mail-account-view.c
rename to capplet/settings/mail-account-view.c
diff --git a/capplet/mail-account-view.h b/capplet/settings/mail-account-view.h
similarity index 100%
rename from capplet/mail-account-view.h
rename to capplet/settings/mail-account-view.h
diff --git a/capplet/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c
similarity index 100%
rename from capplet/mail-capplet-shell.c
rename to capplet/settings/mail-capplet-shell.c
diff --git a/capplet/mail-capplet-shell.h b/capplet/settings/mail-capplet-shell.h
similarity index 100%
rename from capplet/mail-capplet-shell.h
rename to capplet/settings/mail-capplet-shell.h
diff --git a/capplet/mail-decoration.c b/capplet/settings/mail-decoration.c
similarity index 100%
rename from capplet/mail-decoration.c
rename to capplet/settings/mail-decoration.c
diff --git a/capplet/mail-decoration.h b/capplet/settings/mail-decoration.h
similarity index 100%
rename from capplet/mail-decoration.h
rename to capplet/settings/mail-decoration.h
diff --git a/capplet/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c
similarity index 100%
rename from capplet/mail-guess-servers.c
rename to capplet/settings/mail-guess-servers.c
diff --git a/capplet/mail-guess-servers.h b/capplet/settings/mail-guess-servers.h
similarity index 100%
rename from capplet/mail-guess-servers.h
rename to capplet/settings/mail-guess-servers.h
diff --git a/capplet/mail-settings-view.c b/capplet/settings/mail-settings-view.c
similarity index 100%
rename from capplet/mail-settings-view.c
rename to capplet/settings/mail-settings-view.c
diff --git a/capplet/mail-settings-view.h b/capplet/settings/mail-settings-view.h
similarity index 100%
rename from capplet/mail-settings-view.h
rename to capplet/settings/mail-settings-view.h
diff --git a/capplet/mail-view.c b/capplet/settings/mail-view.c
similarity index 100%
rename from capplet/mail-view.c
rename to capplet/settings/mail-view.c
diff --git a/capplet/mail-view.h b/capplet/settings/mail-view.h
similarity index 100%
rename from capplet/mail-view.h
rename to capplet/settings/mail-view.h
diff --git a/configure.ac b/configure.ac
index 736fcc4..16750ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1742,6 +1742,7 @@ smime/lib/Makefile
smime/gui/Makefile
sounds/Makefile
capplet/Makefile
+capplet/settings/Makefile
evolution-zip
evolution-calendar.pc
evolution-mail.pc
diff --git a/modules/mail/Makefile.am b/modules/mail/Makefile.am
index de9eac5..65a5c30 100644
--- a/modules/mail/Makefile.am
+++ b/modules/mail/Makefile.am
@@ -61,7 +61,7 @@ libevolution_module_mail_la_LIBADD = \
$(top_builddir)/em-format/libemformat.la \
$(top_builddir)/widgets/menus/libmenus.la \
$(top_builddir)/filter/libfilter.la \
- $(top_builddir)/capplet/libevolution-mail-settings.la \
+ $(top_builddir)/capplet/settings/libevolution-mail-settings.la \
$(EVOLUTION_MAIL_LIBS) \
$(CAMEL_LIBS) \
$(GTKHTML_LIBS) \
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index b74915b..df1cdee 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -40,7 +40,7 @@
#include "em-config.h"
#include "em-account-editor.h"
#include "shell/e-shell.h"
-#include "capplet/mail-capplet-shell.h"
+#include "capplet/settings/mail-capplet-shell.h"
#define EM_ACCOUNT_PREFS_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
diff --git a/plugins/startup-wizard/Makefile.am b/plugins/startup-wizard/Makefile.am
index 937f5c1..589b61e 100644
--- a/plugins/startup-wizard/Makefile.am
+++ b/plugins/startup-wizard/Makefile.am
@@ -24,7 +24,7 @@ liborg_gnome_evolution_startup_wizard_la_LIBADD = \
$(top_builddir)/widgets/misc/libemiscwidgets.la \
$(top_builddir)/calendar/gui/libevolution-calendar.la \
$(top_builddir)/mail/libevolution-mail.la \
- $(top_builddir)/capplet/libevolution-mail-settings.la \
+ $(top_builddir)/capplet/settings/libevolution-mail-settings.la \
$(EVOLUTION_CALENDAR_LIBS) \
$(EVOLUTION_MAIL_LIBS) \
$(GNOME_PLATFORM_LIBS)
diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c
index 44395b6..4d73638 100644
--- a/plugins/startup-wizard/startup-wizard.c
+++ b/plugins/startup-wizard/startup-wizard.c
@@ -32,7 +32,7 @@
#include "mail/em-account-editor.h"
#include "calendar/gui/calendar-config.h"
-#include "capplet/mail-capplet-shell.h"
+#include "capplet/settings/mail-capplet-shell.h"
void startup_wizard (EPlugin *ep, ESEventTargetUpgrade *target);
GtkWidget *startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]