From: Matthew Barnes Date: Sat, 27 Nov 2010 15:25:32 +0000 (-0500) Subject: Add built-in ESource key files. X-Git-Tag: upstream/3.7.4~874 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4afd54afbdefc514eef091d2372d0ecc7f9b2658;p=platform%2Fupstream%2Fevolution-data-server.git Add built-in ESource key files. --- diff --git a/configure.ac b/configure.ac index e1e7c41..7f7b08c 100644 --- a/configure.ac +++ b/configure.ac @@ -1643,6 +1643,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 566afe9..a31232a 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..39f91dd --- /dev/null +++ b/data/sources/Makefile.am @@ -0,0 +1,37 @@ +NULL = + +# These are non-removable and non-writable. +ro_sources_in_files = \ + caldav-stub.source.in \ + contacts-stub.source.in \ + google-stub.source.in \ + ldap-stub.source.in \ + local-stub.source.in \ + weather-stub.source.in \ + webcal-stub.source.in \ + webdav-stub.source.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.source.in \ + local.source.in \ + sendmail.source.in \ + system-address-book.source.in \ + system-calendar.source.in \ + system-memo-list.source.in \ + system-task-list.source.in \ + vfolder.source.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 $< $@ + +EXTRA_DIST = $(ro_sources_in_files) $(rw_sources_in_files) + +CLEANFILES = $(ro_sources_DATA) $(rw_sources_DATA) + +-include $(top_srcdir)/git.mk diff --git a/data/sources/birthdays.source.in b/data/sources/birthdays.source.in new file mode 100644 index 0000000..7f90f94 --- /dev/null +++ b/data/sources/birthdays.source.in @@ -0,0 +1,11 @@ + +[Data Source] +_DisplayName=Birthdays & Anniversaries +Enabled=true +Parent=contacts-stub + +[Calendar] +BackendName=contacts +Color=#fed4d3 +Enabled=true +Writable=false diff --git a/data/sources/caldav-stub.source.in b/data/sources/caldav-stub.source.in new file mode 100644 index 0000000..90081a3 --- /dev/null +++ b/data/sources/caldav-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=CalDAV +Enabled=true +Parent= diff --git a/data/sources/contacts-stub.source.in b/data/sources/contacts-stub.source.in new file mode 100644 index 0000000..f2bcb97 --- /dev/null +++ b/data/sources/contacts-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=Contacts +Enabled=true +Parent= diff --git a/data/sources/google-stub.source.in b/data/sources/google-stub.source.in new file mode 100644 index 0000000..93de6f1 --- /dev/null +++ b/data/sources/google-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=Google +Enabled=true +Parent= diff --git a/data/sources/ldap-stub.source.in b/data/sources/ldap-stub.source.in new file mode 100644 index 0000000..9c5e324 --- /dev/null +++ b/data/sources/ldap-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=On LDAP Servers +Enabled=true +Parent= diff --git a/data/sources/local-stub.source.in b/data/sources/local-stub.source.in new file mode 100644 index 0000000..bad02f0 --- /dev/null +++ b/data/sources/local-stub.source.in @@ -0,0 +1,7 @@ +# 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 +Parent= diff --git a/data/sources/local.source.in b/data/sources/local.source.in new file mode 100644 index 0000000..1c38384 --- /dev/null +++ b/data/sources/local.source.in @@ -0,0 +1,9 @@ +# Special built-in mail store. + +[Data Source] +_DisplayName=On This Computer +Enabled=true +Parent= + +[Mail Account] +BackendName=maildir diff --git a/data/sources/sendmail.source.in b/data/sources/sendmail.source.in new file mode 100644 index 0000000..ce825cb --- /dev/null +++ b/data/sources/sendmail.source.in @@ -0,0 +1,8 @@ + +[Data Source] +_DisplayName=Sendmail +Enabled=true +Parent= + +[Mail Transport] +BackendName=sendmail diff --git a/data/sources/system-address-book.source.in b/data/sources/system-address-book.source.in new file mode 100644 index 0000000..f1cea75 --- /dev/null +++ b/data/sources/system-address-book.source.in @@ -0,0 +1,9 @@ + +[Data Source] +_DisplayName=Personal +Enabled=true +Parent=local-stub + +[Address Book] +BackendName=local +Color=#becedd diff --git a/data/sources/system-calendar.source.in b/data/sources/system-calendar.source.in new file mode 100644 index 0000000..ffbe161 --- /dev/null +++ b/data/sources/system-calendar.source.in @@ -0,0 +1,11 @@ + +[Data Source] +_DisplayName=Personal +Enabled=true +Parent=local-stub + +[Calendar] +BackendName=local +Color=#becedd +Selected=true + diff --git a/data/sources/system-memo-list.source.in b/data/sources/system-memo-list.source.in new file mode 100644 index 0000000..f53f0f0 --- /dev/null +++ b/data/sources/system-memo-list.source.in @@ -0,0 +1,11 @@ + +[Data Source] +_DisplayName=Personal +Enabled=true +Parent=local-stub + +[Memo List] +BackendName=local +Color=#becedd +Selected=true + diff --git a/data/sources/system-task-list.source.in b/data/sources/system-task-list.source.in new file mode 100644 index 0000000..22f40bc --- /dev/null +++ b/data/sources/system-task-list.source.in @@ -0,0 +1,11 @@ + +[Data Source] +_DisplayName=Personal +Enabled=true +Parent=local-stub + +[Task List] +BackendName=local +Color=#becedd +Selected=true + diff --git a/data/sources/vfolder.source.in b/data/sources/vfolder.source.in new file mode 100644 index 0000000..98a9df4 --- /dev/null +++ b/data/sources/vfolder.source.in @@ -0,0 +1,9 @@ +# Special built-in mail store. + +[Data Source] +_DisplayName=Search Folders +Enabled=true +Parent= + +[Mail Account] +BackendName=vfolder diff --git a/data/sources/weather-stub.source.in b/data/sources/weather-stub.source.in new file mode 100644 index 0000000..e1a549d --- /dev/null +++ b/data/sources/weather-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=Weather +Enabled=true +Parent= diff --git a/data/sources/webcal-stub.source.in b/data/sources/webcal-stub.source.in new file mode 100644 index 0000000..178cec1 --- /dev/null +++ b/data/sources/webcal-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=On The Web +Enabled=true +Parent= diff --git a/data/sources/webdav-stub.source.in b/data/sources/webdav-stub.source.in new file mode 100644 index 0000000..78ec0c4 --- /dev/null +++ b/data/sources/webdav-stub.source.in @@ -0,0 +1,5 @@ + +[Data Source] +_DisplayName=WebDAV +Enabled=true +Parent=