[evolution-data-server/account-mgmt: 10/37] Add built-in ESource key files.



commit bcd6a8c8e1d2d405913ca80a08036e2b45274931
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Nov 27 10:25:32 2010 -0500

    Add built-in ESource key files.

 configure.ac                  |    1 +
 data/Makefile.am              |    2 ++
 data/sources/Makefile.am      |   32 ++++++++++++++++++++++++++++++++
 data/sources/birthdays.in     |   10 ++++++++++
 data/sources/caldav-stub.in   |    3 +++
 data/sources/contacts-stub.in |    3 +++
 data/sources/google-stub.in   |    3 +++
 data/sources/ldap-stub.in     |    3 +++
 data/sources/local-stub.in    |    6 ++++++
 data/sources/local.in         |    8 ++++++++
 data/sources/sendmail.in      |    6 ++++++
 data/sources/system.in        |   28 ++++++++++++++++++++++++++++
 data/sources/vfolder.in       |    8 ++++++++
 data/sources/weather-stub.in  |    3 +++
 data/sources/webcal-stub.in   |    3 +++
 data/sources/webdav-stub.in   |    3 +++
 16 files changed, 122 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 384b01b..bd99cd4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1588,6 +1588,7 @@ camel/tests/misc/Makefile
 camel/tests/smime/Makefile
 camel/camel.pc
 data/Makefile
+data/sources/Makefile
 libebackend/Makefile
 libebackend/libebackend.pc
 libedataserver/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index b416bfc..dcd8536 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,3 +1,5 @@
+SUBDIRS = sources
+
 gsettings_SCHEMAS = \
 	org.gnome.Evolution.DefaultSources.gschema.xml
 
diff --git a/data/sources/Makefile.am b/data/sources/Makefile.am
new file mode 100644
index 0000000..38f038f
--- /dev/null
+++ b/data/sources/Makefile.am
@@ -0,0 +1,32 @@
+NULL =
+
+# These are non-removable and non-writable.
+ro_sources_in_files = \
+	caldav-stub.in \
+	contacts-stub.in \
+	google-stub.in \
+	ldap-stub.in \
+	local-stub.in \
+	weather-stub.in \
+	webcal-stub.in \
+	webdav-stub.in \
+	$(NULL)
+ro_sources_DATA = $(ro_sources_in_files:.in=)
+
+# These are non-removable, but can be changed
+# and written to the user's sources directory.
+rw_sources_in_files = \
+	birthdays.in \
+	local.in \
+	sendmail.in \
+	system.in \
+	vfolder.in \
+	$(NULL)
+rw_sources_DATA = $(rw_sources_in_files:.in=)
+
+%: %.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
+	LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+
+CLEANFILES = $(ro_sources_DATA) $(rw_sources_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/sources/birthdays.in b/data/sources/birthdays.in
new file mode 100644
index 0000000..c0941c77
--- /dev/null
+++ b/data/sources/birthdays.in
@@ -0,0 +1,10 @@
+[Data Source]
+_DisplayName=Birthdays & Anniversaries
+Parent=contacts
+Enabled=true
+
+[Calendar]
+BackendName=contacts
+Color=#fed4d3
+Enabled=true
+Writable=false
diff --git a/data/sources/caldav-stub.in b/data/sources/caldav-stub.in
new file mode 100644
index 0000000..ec2a50d
--- /dev/null
+++ b/data/sources/caldav-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=CalDAV
+Enabled=true
diff --git a/data/sources/contacts-stub.in b/data/sources/contacts-stub.in
new file mode 100644
index 0000000..f4bacde
--- /dev/null
+++ b/data/sources/contacts-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=Contacts
+Enabled=true
diff --git a/data/sources/google-stub.in b/data/sources/google-stub.in
new file mode 100644
index 0000000..d597476
--- /dev/null
+++ b/data/sources/google-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=Google
+Enabled=true
diff --git a/data/sources/ldap-stub.in b/data/sources/ldap-stub.in
new file mode 100644
index 0000000..afb1650
--- /dev/null
+++ b/data/sources/ldap-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=On LDAP Servers
+Enabled=true
diff --git a/data/sources/local-stub.in b/data/sources/local-stub.in
new file mode 100644
index 0000000..fc5c282
--- /dev/null
+++ b/data/sources/local-stub.in
@@ -0,0 +1,6 @@
+# An unfortunate name collision with the "On This Computer"
+# mail store forced the introduction of this "stub" suffix.
+
+[Data Source]
+_DisplayName=On This Computer
+Enabled=true
diff --git a/data/sources/local.in b/data/sources/local.in
new file mode 100644
index 0000000..6c605e9
--- /dev/null
+++ b/data/sources/local.in
@@ -0,0 +1,8 @@
+# Special built-in mail store.
+
+[Data Source]
+_DisplayName=On This Computer
+Enabled=true
+
+[Mail Account]
+BackendName=maildir
diff --git a/data/sources/sendmail.in b/data/sources/sendmail.in
new file mode 100644
index 0000000..ff4ff68
--- /dev/null
+++ b/data/sources/sendmail.in
@@ -0,0 +1,6 @@
+[Data Source]
+_DisplayName=Sendmail
+Enabled=true
+
+[Mail Transport]
+BackendName=sendmail
diff --git a/data/sources/system.in b/data/sources/system.in
new file mode 100644
index 0000000..9b891d7
--- /dev/null
+++ b/data/sources/system.in
@@ -0,0 +1,28 @@
+[Data Source]
+_DisplayName=Personal
+Parent=local
+Enabled=true
+
+[Address Book]
+BackendName=local
+Color=#becedd
+Enabled=true
+Writable=true
+
+[Calendar]
+BackendName=local
+Color=#becedd
+Enabled=true
+Writable=true
+
+[Memo List]
+BackendName=local
+Color=#becedd
+Enabled=true
+Writable=true
+
+[Task List]
+BackendName=local
+Color=#becedd
+Enabled=true
+Writable=true
diff --git a/data/sources/vfolder.in b/data/sources/vfolder.in
new file mode 100644
index 0000000..a87b4f8
--- /dev/null
+++ b/data/sources/vfolder.in
@@ -0,0 +1,8 @@
+# Special built-in mail store.
+
+[Data Source]
+_DisplayName=Search Folders
+Enabled=true
+
+[Mail Account]
+BackendName=vfolder
diff --git a/data/sources/weather-stub.in b/data/sources/weather-stub.in
new file mode 100644
index 0000000..3b3d8e3
--- /dev/null
+++ b/data/sources/weather-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=Weather
+Enabled=true
diff --git a/data/sources/webcal-stub.in b/data/sources/webcal-stub.in
new file mode 100644
index 0000000..349c5eb
--- /dev/null
+++ b/data/sources/webcal-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=On The Web
+Enabled=true
diff --git a/data/sources/webdav-stub.in b/data/sources/webdav-stub.in
new file mode 100644
index 0000000..b61fceb
--- /dev/null
+++ b/data/sources/webdav-stub.in
@@ -0,0 +1,3 @@
+[Data Source]
+_DisplayName=WebDAV
+Enabled=true



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]