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



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

    Add built-in ESource key files.

 configure.ac              |    4 ++++
 data/Makefile.am          |    2 ++
 data/sources/Makefile.am  |   19 +++++++++++++++++++
 data/sources/birthdays.in |    8 ++++++++
 data/sources/caldav.in    |    3 +++
 data/sources/contacts.in  |    3 +++
 data/sources/google.in    |    3 +++
 data/sources/ldap.in      |    3 +++
 data/sources/local.in     |    3 +++
 data/sources/system.in    |   23 +++++++++++++++++++++++
 data/sources/weather.in   |    3 +++
 data/sources/webcal.in    |    3 +++
 data/sources/webdav.in    |    3 +++
 13 files changed, 80 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index df2b396..7fea91c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1360,6 +1360,9 @@ AC_SUBST(ebook_backenddir)
 ecal_backenddir='${libdir}'/evolution-data-server/calendar-backends
 AC_SUBST(ecal_backenddir)
 
+sourcesdir='${datadir}'/evolution-data-server-$BASE_VERSION/sources
+AC_SUBST(sourcesdir)
+
 if test "x$use_gweather" = "xyes"; then
 	weatherdatadir="$privdatadir/weather"
 	AC_SUBST(weatherdatadir)
@@ -1464,6 +1467,7 @@ camel/tests/smime/Makefile
 camel/camel.pc
 camel/camel-provider.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..726e78a
--- /dev/null
+++ b/data/sources/Makefile.am
@@ -0,0 +1,19 @@
+sources_in_files = \
+	birthdays.in \
+	caldav.in \
+	contacts.in \
+	google.in \
+	ldap.in \
+	local.in \
+	system.in \
+	weather.in \
+	webcal.in \
+	webdav.in
+sources_DATA = $(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 = $(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..d344cae
--- /dev/null
+++ b/data/sources/birthdays.in
@@ -0,0 +1,8 @@
+[Data Source]
+_DisplayName=Birthdays & Anniversaries
+Parent=contacts
+
+[Calendar]
+Color=#fed4d3
+Enabled=true
+Writable=false
diff --git a/data/sources/caldav.in b/data/sources/caldav.in
new file mode 100644
index 0000000..e1a6241
--- /dev/null
+++ b/data/sources/caldav.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=caldav
+_DisplayName=CalDAV
diff --git a/data/sources/contacts.in b/data/sources/contacts.in
new file mode 100644
index 0000000..94eff2b
--- /dev/null
+++ b/data/sources/contacts.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=contacts
+_DisplayName=Contacts
diff --git a/data/sources/google.in b/data/sources/google.in
new file mode 100644
index 0000000..7a2e753
--- /dev/null
+++ b/data/sources/google.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=google
+_DisplayName=Google
diff --git a/data/sources/ldap.in b/data/sources/ldap.in
new file mode 100644
index 0000000..b47dfb7
--- /dev/null
+++ b/data/sources/ldap.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=ldap
+_DisplayName=On LDAP Servers
diff --git a/data/sources/local.in b/data/sources/local.in
new file mode 100644
index 0000000..17f2ff1
--- /dev/null
+++ b/data/sources/local.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=local
+_DisplayName=On This Computer
diff --git a/data/sources/system.in b/data/sources/system.in
new file mode 100644
index 0000000..70484f7
--- /dev/null
+++ b/data/sources/system.in
@@ -0,0 +1,23 @@
+[Data Source]
+_DisplayName=Personal
+Parent=local
+
+[Address Book]
+Color=#becedd
+Enabled=true
+Writable=true
+
+[Calendar]
+Color=#becedd
+Enabled=true
+Writable=true
+
+[Memo List]
+Color=#becedd
+Enabled=true
+Writable=true
+
+[Task List]
+Color=#becedd
+Enabled=true
+Writable=true
diff --git a/data/sources/weather.in b/data/sources/weather.in
new file mode 100644
index 0000000..f227a9d
--- /dev/null
+++ b/data/sources/weather.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=weather
+_DisplayName=Weather
diff --git a/data/sources/webcal.in b/data/sources/webcal.in
new file mode 100644
index 0000000..2725259
--- /dev/null
+++ b/data/sources/webcal.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=webcal
+_DisplayName=On The Web
diff --git a/data/sources/webdav.in b/data/sources/webdav.in
new file mode 100644
index 0000000..015b66e
--- /dev/null
+++ b/data/sources/webdav.in
@@ -0,0 +1,3 @@
+[Data Source]
+BackendName=webdav
+_DisplayName=WebDAV



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