2012-04-23 18:54:26 -07:00
|
|
|
# Geary build script
|
|
|
|
|
# Copyright 2011-2012 Yorba Foundation
|
|
|
|
|
|
|
|
|
|
set(COMMON_SRC
|
|
|
|
|
common/common-arrays.vala
|
|
|
|
|
common/common-async.vala
|
2012-06-26 11:14:38 -07:00
|
|
|
common/common-international.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
common/common-yorba-application.vala
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(ENGINE_SRC
|
2012-07-12 18:55:47 -07:00
|
|
|
engine/abstract/geary-abstract-account.vala
|
|
|
|
|
engine/abstract/geary-abstract-folder.vala
|
|
|
|
|
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/api/geary-account.vala
|
|
|
|
|
engine/api/geary-account-information.vala
|
2012-06-08 12:39:27 -07:00
|
|
|
engine/api/geary-attachment.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/api/geary-composed-email.vala
|
2012-07-20 17:51:28 -07:00
|
|
|
engine/api/geary-contact.vala
|
|
|
|
|
engine/api/geary-contact-importance.vala
|
|
|
|
|
engine/api/geary-contact-store.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/api/geary-conversation.vala
|
2012-05-24 12:34:39 -07:00
|
|
|
engine/api/geary-conversation-monitor.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/api/geary-credentials.vala
|
2013-01-25 16:13:46 -08:00
|
|
|
engine/api/geary-credentials-mediator.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/api/geary-email-flag.vala
|
|
|
|
|
engine/api/geary-email-flags.vala
|
|
|
|
|
engine/api/geary-email-identifier.vala
|
|
|
|
|
engine/api/geary-email-properties.vala
|
|
|
|
|
engine/api/geary-email.vala
|
|
|
|
|
engine/api/geary-endpoint.vala
|
|
|
|
|
engine/api/geary-engine-error.vala
|
|
|
|
|
engine/api/geary-engine.vala
|
|
|
|
|
engine/api/geary-folder.vala
|
2012-06-27 18:25:45 -07:00
|
|
|
engine/api/geary-folder-path.vala
|
|
|
|
|
engine/api/geary-folder-supports-archive.vala
|
|
|
|
|
engine/api/geary-folder-supports-copy.vala
|
|
|
|
|
engine/api/geary-folder-supports-create.vala
|
|
|
|
|
engine/api/geary-folder-supports-mark.vala
|
|
|
|
|
engine/api/geary-folder-supports-move.vala
|
|
|
|
|
engine/api/geary-folder-supports-remove.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/api/geary-logging.vala
|
|
|
|
|
engine/api/geary-service-provider.vala
|
2012-06-27 18:28:53 -07:00
|
|
|
engine/api/geary-special-folder-type.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
|
|
|
|
|
engine/common/common-message-data.vala
|
|
|
|
|
|
Remove SQLHeavy: Closes #5034
It is done.
Initial implementation of the new database subsystem
These pieces represent the foundation for ticket #5034
Expanded transactions, added VersionedDatabase
Further expansions of the async code.
Moved async pool logic into Database, where it realistically
belongs.
Further improvements. Introduced geary-db-test.
Added SQL create and update files for Geary.Db
version-001 to version-003 are exact copies of the SQLHeavy scripts
to ensure no slight changes when migrating. version-004 upgrades
the database to remove the ImapFolderPropertiesTable and
ImapMessagePropertiesTable, now that the database code is pure
IMAP.
When we support other messaging systems (such as POP3), those
subsystems will need to code their own database layers OR rely on
the IMAP schema and simply ignore the IMAP-specific fields.
ImapDB.Account fleshed out
ImapDB.Folder is commented out, however. Need to port next.
ImapDB.Folder fleshed out
MessageTable, MessageLocationTable, and AttachementTable are now
handled inside ImapDB.Folder.
chmod -x imap-db-database.vala
OutboxEmailIdentifier/Properties -> SmtpOutboxEmailIdentifier/Properties
Moved SmtpOutboxFolderRoot into its own source file
SmtpOutboxFolder ported to new database code
Move Engine implementations to ImapDB.
Integration and cleanup of new database code with main source
This commit performs the final integration steps to move Geary
completely over to the new database model. This also cleans out
the old SQLHeavy-based code and fixes a handful of small bugs that
were detected during basic test runs.
Moved Outbox to ImapDB
As the Outbox is tied to the database that ImapDB runs, move the
Outbox code into that folder.
Outbox fixes and better parameter checking
Bumped Database thread pool count and made them exclusive
My reasoning is that there may be a need for a lot of threads at
once (when a big batch of commands comes in, especially at
startup). If performance looks ok, we might consider relaxing
this later.
2012-06-14 14:47:53 -07:00
|
|
|
engine/db/db.vala
|
|
|
|
|
engine/db/db-connection.vala
|
|
|
|
|
engine/db/db-context.vala
|
|
|
|
|
engine/db/db-database.vala
|
2012-07-12 19:17:12 -07:00
|
|
|
engine/db/db-database-error.vala
|
Remove SQLHeavy: Closes #5034
It is done.
Initial implementation of the new database subsystem
These pieces represent the foundation for ticket #5034
Expanded transactions, added VersionedDatabase
Further expansions of the async code.
Moved async pool logic into Database, where it realistically
belongs.
Further improvements. Introduced geary-db-test.
Added SQL create and update files for Geary.Db
version-001 to version-003 are exact copies of the SQLHeavy scripts
to ensure no slight changes when migrating. version-004 upgrades
the database to remove the ImapFolderPropertiesTable and
ImapMessagePropertiesTable, now that the database code is pure
IMAP.
When we support other messaging systems (such as POP3), those
subsystems will need to code their own database layers OR rely on
the IMAP schema and simply ignore the IMAP-specific fields.
ImapDB.Account fleshed out
ImapDB.Folder is commented out, however. Need to port next.
ImapDB.Folder fleshed out
MessageTable, MessageLocationTable, and AttachementTable are now
handled inside ImapDB.Folder.
chmod -x imap-db-database.vala
OutboxEmailIdentifier/Properties -> SmtpOutboxEmailIdentifier/Properties
Moved SmtpOutboxFolderRoot into its own source file
SmtpOutboxFolder ported to new database code
Move Engine implementations to ImapDB.
Integration and cleanup of new database code with main source
This commit performs the final integration steps to move Geary
completely over to the new database model. This also cleans out
the old SQLHeavy-based code and fixes a handful of small bugs that
were detected during basic test runs.
Moved Outbox to ImapDB
As the Outbox is tied to the database that ImapDB runs, move the
Outbox code into that folder.
Outbox fixes and better parameter checking
Bumped Database thread pool count and made them exclusive
My reasoning is that there may be a need for a lot of threads at
once (when a big batch of commands comes in, especially at
startup). If performance looks ok, we might consider relaxing
this later.
2012-06-14 14:47:53 -07:00
|
|
|
engine/db/db-result.vala
|
|
|
|
|
engine/db/db-statement.vala
|
|
|
|
|
engine/db/db-synchronous-mode.vala
|
|
|
|
|
engine/db/db-transaction-async-job.vala
|
|
|
|
|
engine/db/db-transaction-outcome.vala
|
|
|
|
|
engine/db/db-transaction-type.vala
|
|
|
|
|
engine/db/db-versioned-database.vala
|
|
|
|
|
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/imap/api/imap-account.vala
|
|
|
|
|
engine/imap/api/imap-email-flags.vala
|
|
|
|
|
engine/imap/api/imap-email-identifier.vala
|
|
|
|
|
engine/imap/api/imap-email-properties.vala
|
|
|
|
|
engine/imap/api/imap-folder-properties.vala
|
|
|
|
|
engine/imap/api/imap-folder.vala
|
|
|
|
|
engine/imap/command/imap-command-response.vala
|
|
|
|
|
engine/imap/command/imap-commands.vala
|
|
|
|
|
engine/imap/command/imap-command.vala
|
|
|
|
|
engine/imap/command/imap-fetch-command.vala
|
2012-05-09 17:34:15 -07:00
|
|
|
engine/imap/decoders/imap-capabilities.vala
|
|
|
|
|
engine/imap/decoders/imap-capability-results.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/imap/decoders/imap-command-results.vala
|
|
|
|
|
engine/imap/decoders/imap-fetch-data-decoder.vala
|
|
|
|
|
engine/imap/decoders/imap-fetch-results.vala
|
|
|
|
|
engine/imap/decoders/imap-list-results.vala
|
|
|
|
|
engine/imap/decoders/imap-select-examine-results.vala
|
|
|
|
|
engine/imap/decoders/imap-status-results.vala
|
|
|
|
|
engine/imap/imap-error.vala
|
|
|
|
|
engine/imap/message/imap-data-format.vala
|
|
|
|
|
engine/imap/message/imap-fetch-data-type.vala
|
|
|
|
|
engine/imap/message/imap-fetch-body-data-type.vala
|
|
|
|
|
engine/imap/message/imap-flag.vala
|
|
|
|
|
engine/imap/message/imap-message-data.vala
|
|
|
|
|
engine/imap/message/imap-message-set.vala
|
|
|
|
|
engine/imap/message/imap-parameter.vala
|
|
|
|
|
engine/imap/message/imap-tag.vala
|
|
|
|
|
engine/imap/response/imap-continuation-response.vala
|
|
|
|
|
engine/imap/response/imap-response-code-type.vala
|
|
|
|
|
engine/imap/response/imap-response-code.vala
|
|
|
|
|
engine/imap/response/imap-server-data-type.vala
|
|
|
|
|
engine/imap/response/imap-server-data.vala
|
|
|
|
|
engine/imap/response/imap-server-response.vala
|
|
|
|
|
engine/imap/response/imap-status-data-type.vala
|
|
|
|
|
engine/imap/response/imap-status-response.vala
|
|
|
|
|
engine/imap/response/imap-status.vala
|
|
|
|
|
engine/imap/response/imap-unsolicited-server-data.vala
|
|
|
|
|
engine/imap/transport/imap-client-connection.vala
|
|
|
|
|
engine/imap/transport/imap-client-session-manager.vala
|
|
|
|
|
engine/imap/transport/imap-client-session.vala
|
|
|
|
|
engine/imap/transport/imap-deserializer.vala
|
|
|
|
|
engine/imap/transport/imap-mailbox.vala
|
|
|
|
|
engine/imap/transport/imap-serializable.vala
|
|
|
|
|
engine/imap/transport/imap-serializer.vala
|
|
|
|
|
|
Remove SQLHeavy: Closes #5034
It is done.
Initial implementation of the new database subsystem
These pieces represent the foundation for ticket #5034
Expanded transactions, added VersionedDatabase
Further expansions of the async code.
Moved async pool logic into Database, where it realistically
belongs.
Further improvements. Introduced geary-db-test.
Added SQL create and update files for Geary.Db
version-001 to version-003 are exact copies of the SQLHeavy scripts
to ensure no slight changes when migrating. version-004 upgrades
the database to remove the ImapFolderPropertiesTable and
ImapMessagePropertiesTable, now that the database code is pure
IMAP.
When we support other messaging systems (such as POP3), those
subsystems will need to code their own database layers OR rely on
the IMAP schema and simply ignore the IMAP-specific fields.
ImapDB.Account fleshed out
ImapDB.Folder is commented out, however. Need to port next.
ImapDB.Folder fleshed out
MessageTable, MessageLocationTable, and AttachementTable are now
handled inside ImapDB.Folder.
chmod -x imap-db-database.vala
OutboxEmailIdentifier/Properties -> SmtpOutboxEmailIdentifier/Properties
Moved SmtpOutboxFolderRoot into its own source file
SmtpOutboxFolder ported to new database code
Move Engine implementations to ImapDB.
Integration and cleanup of new database code with main source
This commit performs the final integration steps to move Geary
completely over to the new database model. This also cleans out
the old SQLHeavy-based code and fixes a handful of small bugs that
were detected during basic test runs.
Moved Outbox to ImapDB
As the Outbox is tied to the database that ImapDB runs, move the
Outbox code into that folder.
Outbox fixes and better parameter checking
Bumped Database thread pool count and made them exclusive
My reasoning is that there may be a need for a lot of threads at
once (when a big batch of commands comes in, especially at
startup). If performance looks ok, we might consider relaxing
this later.
2012-06-14 14:47:53 -07:00
|
|
|
engine/imap-db/imap-db-account.vala
|
2012-07-20 17:51:28 -07:00
|
|
|
engine/imap-db/imap-db-contact.vala
|
Remove SQLHeavy: Closes #5034
It is done.
Initial implementation of the new database subsystem
These pieces represent the foundation for ticket #5034
Expanded transactions, added VersionedDatabase
Further expansions of the async code.
Moved async pool logic into Database, where it realistically
belongs.
Further improvements. Introduced geary-db-test.
Added SQL create and update files for Geary.Db
version-001 to version-003 are exact copies of the SQLHeavy scripts
to ensure no slight changes when migrating. version-004 upgrades
the database to remove the ImapFolderPropertiesTable and
ImapMessagePropertiesTable, now that the database code is pure
IMAP.
When we support other messaging systems (such as POP3), those
subsystems will need to code their own database layers OR rely on
the IMAP schema and simply ignore the IMAP-specific fields.
ImapDB.Account fleshed out
ImapDB.Folder is commented out, however. Need to port next.
ImapDB.Folder fleshed out
MessageTable, MessageLocationTable, and AttachementTable are now
handled inside ImapDB.Folder.
chmod -x imap-db-database.vala
OutboxEmailIdentifier/Properties -> SmtpOutboxEmailIdentifier/Properties
Moved SmtpOutboxFolderRoot into its own source file
SmtpOutboxFolder ported to new database code
Move Engine implementations to ImapDB.
Integration and cleanup of new database code with main source
This commit performs the final integration steps to move Geary
completely over to the new database model. This also cleans out
the old SQLHeavy-based code and fixes a handful of small bugs that
were detected during basic test runs.
Moved Outbox to ImapDB
As the Outbox is tied to the database that ImapDB runs, move the
Outbox code into that folder.
Outbox fixes and better parameter checking
Bumped Database thread pool count and made them exclusive
My reasoning is that there may be a need for a lot of threads at
once (when a big batch of commands comes in, especially at
startup). If performance looks ok, we might consider relaxing
this later.
2012-06-14 14:47:53 -07:00
|
|
|
engine/imap-db/imap-db-database.vala
|
|
|
|
|
engine/imap-db/imap-db-folder.vala
|
2012-07-20 17:51:28 -07:00
|
|
|
engine/imap-db/imap-db-message-addresses.vala
|
Remove SQLHeavy: Closes #5034
It is done.
Initial implementation of the new database subsystem
These pieces represent the foundation for ticket #5034
Expanded transactions, added VersionedDatabase
Further expansions of the async code.
Moved async pool logic into Database, where it realistically
belongs.
Further improvements. Introduced geary-db-test.
Added SQL create and update files for Geary.Db
version-001 to version-003 are exact copies of the SQLHeavy scripts
to ensure no slight changes when migrating. version-004 upgrades
the database to remove the ImapFolderPropertiesTable and
ImapMessagePropertiesTable, now that the database code is pure
IMAP.
When we support other messaging systems (such as POP3), those
subsystems will need to code their own database layers OR rely on
the IMAP schema and simply ignore the IMAP-specific fields.
ImapDB.Account fleshed out
ImapDB.Folder is commented out, however. Need to port next.
ImapDB.Folder fleshed out
MessageTable, MessageLocationTable, and AttachementTable are now
handled inside ImapDB.Folder.
chmod -x imap-db-database.vala
OutboxEmailIdentifier/Properties -> SmtpOutboxEmailIdentifier/Properties
Moved SmtpOutboxFolderRoot into its own source file
SmtpOutboxFolder ported to new database code
Move Engine implementations to ImapDB.
Integration and cleanup of new database code with main source
This commit performs the final integration steps to move Geary
completely over to the new database model. This also cleans out
the old SQLHeavy-based code and fixes a handful of small bugs that
were detected during basic test runs.
Moved Outbox to ImapDB
As the Outbox is tied to the database that ImapDB runs, move the
Outbox code into that folder.
Outbox fixes and better parameter checking
Bumped Database thread pool count and made them exclusive
My reasoning is that there may be a need for a lot of threads at
once (when a big batch of commands comes in, especially at
startup). If performance looks ok, we might consider relaxing
this later.
2012-06-14 14:47:53 -07:00
|
|
|
engine/imap-db/imap-db-message-row.vala
|
|
|
|
|
engine/imap-db/outbox/smtp-outbox-email-identifier.vala
|
|
|
|
|
engine/imap-db/outbox/smtp-outbox-email-properties.vala
|
|
|
|
|
engine/imap-db/outbox/smtp-outbox-folder.vala
|
|
|
|
|
engine/imap-db/outbox/smtp-outbox-folder-root.vala
|
|
|
|
|
|
2012-07-17 16:34:08 -07:00
|
|
|
engine/imap-engine/imap-engine-batch-operations.vala
|
|
|
|
|
engine/imap-engine/imap-engine-email-flag-watcher.vala
|
|
|
|
|
engine/imap-engine/imap-engine-email-prefetcher.vala
|
|
|
|
|
engine/imap-engine/imap-engine-generic-account.vala
|
2012-09-07 20:29:35 -07:00
|
|
|
engine/imap-engine/imap-engine-generic-all-mail-folder.vala
|
2012-07-17 16:34:08 -07:00
|
|
|
engine/imap-engine/imap-engine-generic-folder.vala
|
2012-09-07 20:29:35 -07:00
|
|
|
engine/imap-engine/imap-engine-generic-sent-mail-folder.vala
|
|
|
|
|
engine/imap-engine/imap-engine-generic-trash-folder.vala
|
2012-07-17 16:34:08 -07:00
|
|
|
engine/imap-engine/imap-engine-receive-replay-operation.vala
|
|
|
|
|
engine/imap-engine/imap-engine-replay-operation.vala
|
|
|
|
|
engine/imap-engine/imap-engine-replay-queue.vala
|
|
|
|
|
engine/imap-engine/imap-engine-send-replay-operation.vala
|
|
|
|
|
engine/imap-engine/gmail/imap-engine-gmail-account.vala
|
|
|
|
|
engine/imap-engine/gmail/imap-engine-gmail-folder.vala
|
|
|
|
|
engine/imap-engine/other/imap-engine-other-account.vala
|
|
|
|
|
engine/imap-engine/other/imap-engine-other-folder.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-copy-email.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-expunge-email.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-fetch-email.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-list-email.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-list-email-by-id.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-list-email-by-sparse-id.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-mark-email.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-move-email.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-replay-append.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-replay-disconnect.vala
|
|
|
|
|
engine/imap-engine/replay-ops/imap-engine-replay-removal.vala
|
|
|
|
|
engine/imap-engine/yahoo/imap-engine-yahoo-account.vala
|
|
|
|
|
engine/imap-engine/yahoo/imap-engine-yahoo-folder.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
|
|
|
|
|
engine/nonblocking/nonblocking-abstract-semaphore.vala
|
|
|
|
|
engine/nonblocking/nonblocking-batch.vala
|
|
|
|
|
engine/nonblocking/nonblocking-mailbox.vala
|
|
|
|
|
engine/nonblocking/nonblocking-mutex.vala
|
2012-09-13 16:17:58 -07:00
|
|
|
engine/nonblocking/nonblocking-reporting-semaphore.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/nonblocking/nonblocking-variants.vala
|
|
|
|
|
|
|
|
|
|
engine/rfc822/rfc822-error.vala
|
2012-06-27 15:30:29 -07:00
|
|
|
engine/rfc822/rfc822-gmime-filter-flowed.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/rfc822/rfc822-mailbox-addresses.vala
|
|
|
|
|
engine/rfc822/rfc822-mailbox-address.vala
|
|
|
|
|
engine/rfc822/rfc822-message.vala
|
|
|
|
|
engine/rfc822/rfc822-message-data.vala
|
|
|
|
|
engine/rfc822/rfc822-utils.vala
|
|
|
|
|
|
|
|
|
|
engine/smtp/smtp-abstract-authenticator.vala
|
|
|
|
|
engine/smtp/smtp-authenticator.vala
|
2012-06-07 14:44:47 -07:00
|
|
|
engine/smtp/smtp-capabilities.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/smtp/smtp-client-connection.vala
|
|
|
|
|
engine/smtp/smtp-client-session.vala
|
|
|
|
|
engine/smtp/smtp-command.vala
|
|
|
|
|
engine/smtp/smtp-data-format.vala
|
|
|
|
|
engine/smtp/smtp-error.vala
|
|
|
|
|
engine/smtp/smtp-greeting.vala
|
|
|
|
|
engine/smtp/smtp-login-authenticator.vala
|
|
|
|
|
engine/smtp/smtp-plain-authenticator.vala
|
|
|
|
|
engine/smtp/smtp-request.vala
|
|
|
|
|
engine/smtp/smtp-response.vala
|
|
|
|
|
engine/smtp/smtp-response-code.vala
|
|
|
|
|
engine/smtp/smtp-response-line.vala
|
|
|
|
|
|
|
|
|
|
engine/state/state-machine-descriptor.vala
|
|
|
|
|
engine/state/state-machine.vala
|
|
|
|
|
engine/state/state-mapping.vala
|
|
|
|
|
|
|
|
|
|
engine/util/util-collection.vala
|
|
|
|
|
engine/util/util-converter.vala
|
2013-02-04 19:26:48 -08:00
|
|
|
engine/util/util-files.vala
|
2012-07-17 16:34:08 -07:00
|
|
|
engine/util/util-generic-capabilities.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
engine/util/util-html.vala
|
|
|
|
|
engine/util/util-inet.vala
|
|
|
|
|
engine/util/util-interfaces.vala
|
|
|
|
|
engine/util/util-memory.vala
|
|
|
|
|
engine/util/util-numeric.vala
|
|
|
|
|
engine/util/util-reference-semantics.vala
|
|
|
|
|
engine/util/util-scheduler.vala
|
|
|
|
|
engine/util/util-singleton.vala
|
|
|
|
|
engine/util/util-stream.vala
|
|
|
|
|
engine/util/util-string.vala
|
|
|
|
|
engine/util/util-trillian.vala
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(CLIENT_SRC
|
|
|
|
|
client/geary-application.vala
|
2012-09-18 15:31:59 -07:00
|
|
|
client/geary-args.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
client/geary-config.vala
|
|
|
|
|
client/geary-controller.vala
|
2013-01-25 16:13:46 -08:00
|
|
|
client/gnome-keyring-mediator.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
client/main.vala
|
|
|
|
|
|
2013-01-22 18:23:07 -08:00
|
|
|
client/accounts/account-dialog.vala
|
|
|
|
|
client/accounts/account-dialog-account-list-pane.vala
|
|
|
|
|
client/accounts/account-dialog-add-edit-pane.vala
|
2013-02-04 19:26:48 -08:00
|
|
|
client/accounts/account-dialog-remove-confirm-pane.vala
|
2013-02-08 11:59:27 -08:00
|
|
|
client/accounts/account-dialog-remove-fail-pane.vala
|
2013-01-22 18:23:07 -08:00
|
|
|
client/accounts/account-spinner-page.vala
|
|
|
|
|
client/accounts/add-edit-page.vala
|
|
|
|
|
client/accounts/login-dialog.vala
|
|
|
|
|
|
2012-09-07 18:55:38 -07:00
|
|
|
client/composer/composer-window.vala
|
|
|
|
|
client/composer/contact-entry-completion.vala
|
|
|
|
|
client/composer/email-entry.vala
|
|
|
|
|
client/composer/webview-edit-fixer.vala
|
|
|
|
|
|
|
|
|
|
client/dialogs/alert-dialog.vala
|
|
|
|
|
client/dialogs/password-dialog.vala
|
|
|
|
|
client/dialogs/preferences-dialog.vala
|
|
|
|
|
|
2013-02-14 16:01:51 -08:00
|
|
|
client/folder-list/folder-list-account-branch.vala
|
|
|
|
|
client/folder-list/folder-list-folder-entry.vala
|
|
|
|
|
client/folder-list/folder-list-tree.vala
|
|
|
|
|
client/folder-list/folder-list-inboxes-branch.vala
|
|
|
|
|
client/folder-list/folder-list-inbox-folder-entry.vala
|
|
|
|
|
client/folder-list/folder-list-special-grouping.vala
|
|
|
|
|
|
2012-09-07 20:01:12 -07:00
|
|
|
client/models/conversation-list-store.vala
|
2012-09-07 18:55:38 -07:00
|
|
|
|
2012-08-15 17:21:03 -07:00
|
|
|
client/notification/libindicate.vala
|
2012-09-20 15:54:50 -07:00
|
|
|
client/notification/libmessagingmenu.vala
|
2012-08-15 17:21:03 -07:00
|
|
|
client/notification/new-messages-indicator.vala
|
2012-08-16 18:33:28 -07:00
|
|
|
client/notification/new-messages-monitor.vala
|
2012-08-15 17:21:03 -07:00
|
|
|
client/notification/notification-bubble.vala
|
|
|
|
|
client/notification/null-indicator.vala
|
2012-08-16 18:33:28 -07:00
|
|
|
client/notification/unity-launcher.vala
|
2012-08-15 17:21:03 -07:00
|
|
|
|
2012-09-07 18:55:38 -07:00
|
|
|
client/sidebar/sidebar-branch.vala
|
|
|
|
|
client/sidebar/sidebar-common.vala
|
|
|
|
|
client/sidebar/sidebar-entry.vala
|
|
|
|
|
client/sidebar/sidebar-tree.vala
|
|
|
|
|
|
2012-05-22 13:44:57 -07:00
|
|
|
client/ui/folder-menu.vala
|
2012-09-07 18:55:38 -07:00
|
|
|
client/ui/icon-factory.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
client/ui/main-toolbar.vala
|
|
|
|
|
client/ui/main-window.vala
|
|
|
|
|
|
2012-09-03 18:55:57 -07:00
|
|
|
client/util/util-date.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
client/util/util-email.vala
|
2012-09-03 18:55:57 -07:00
|
|
|
client/util/util-files.vala
|
2012-06-14 16:47:54 -07:00
|
|
|
client/util/util-gravatar.vala
|
2012-09-19 17:23:02 -07:00
|
|
|
client/util/util-gtk.vala
|
2012-04-25 17:07:43 -07:00
|
|
|
client/util/util-webkit.vala
|
2012-09-07 18:55:38 -07:00
|
|
|
|
2012-09-07 20:01:12 -07:00
|
|
|
client/views/formatted-conversation-data.vala
|
|
|
|
|
client/views/conversation-list-cell-renderer.vala
|
|
|
|
|
client/views/conversation-list-view.vala
|
|
|
|
|
client/views/conversation-viewer.vala
|
|
|
|
|
client/views/conversation-web-view.vala
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(CONSOLE_SRC
|
|
|
|
|
console/main.vala
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(MAILER_SRC
|
|
|
|
|
mailer/main.vala
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(DBUSSERVICE_SRC
|
|
|
|
|
dbusservice/controller.vala
|
|
|
|
|
dbusservice/database.vala
|
|
|
|
|
dbusservice/dbus-conversation.vala
|
|
|
|
|
dbusservice/dbus-conversations.vala
|
|
|
|
|
dbusservice/dbus-email.vala
|
|
|
|
|
dbusservice/main.vala
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# Vala
|
|
|
|
|
find_package(Vala REQUIRED)
|
|
|
|
|
include(ValaVersion)
|
2012-08-07 11:52:36 -07:00
|
|
|
ensure_vala_version("0.17.4" MINIMUM)
|
2012-04-23 18:54:26 -07:00
|
|
|
include(ValaPrecompile)
|
|
|
|
|
|
2012-08-17 17:14:27 -07:00
|
|
|
# Packages
|
|
|
|
|
if (LIBINDICATE_FOUND)
|
2012-09-20 15:54:50 -07:00
|
|
|
message(STATUS "Unity indicate support: ON")
|
2012-08-15 17:21:03 -07:00
|
|
|
set(EXTRA_CLIENT_PKG_CONFIG
|
2012-08-16 18:33:28 -07:00
|
|
|
${EXTRA_CLIENT_PKG_CONFIG}
|
2012-08-17 17:14:27 -07:00
|
|
|
indicate-0.7
|
2012-08-15 17:21:03 -07:00
|
|
|
)
|
2012-08-17 17:14:27 -07:00
|
|
|
|
2012-08-15 17:21:03 -07:00
|
|
|
set(EXTRA_CLIENT_PACKAGES
|
2012-08-16 18:33:28 -07:00
|
|
|
${EXTRA_CLIENT_PACKAGES}
|
2012-08-17 17:14:27 -07:00
|
|
|
Dbusmenu-0.4
|
|
|
|
|
Indicate-0.7
|
2012-08-15 17:21:03 -07:00
|
|
|
)
|
2012-08-17 17:14:27 -07:00
|
|
|
|
2012-08-15 17:21:03 -07:00
|
|
|
set(EXTRA_VALA_OPTIONS
|
2012-08-16 18:33:28 -07:00
|
|
|
${EXTRA_VALA_OPTIONS}
|
2012-08-15 17:21:03 -07:00
|
|
|
-D HAVE_LIBINDICATE
|
|
|
|
|
)
|
2012-09-20 15:54:50 -07:00
|
|
|
else ()
|
|
|
|
|
message(STATUS "Unity indicate support: OFF")
|
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
|
|
if (LIBMESSAGINGMENU_FOUND)
|
|
|
|
|
message(STATUS "Unity messaging menu support: ON")
|
|
|
|
|
set(EXTRA_CLIENT_PKG_CONFIG
|
|
|
|
|
${EXTRA_CLIENT_PKG_CONFIG}
|
|
|
|
|
messaging-menu
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(EXTRA_CLIENT_PACKAGES
|
|
|
|
|
${EXTRA_CLIENT_PACKAGES}
|
|
|
|
|
MessagingMenu-1.0
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(EXTRA_VALA_OPTIONS
|
|
|
|
|
${EXTRA_VALA_OPTIONS}
|
|
|
|
|
-D HAVE_LIBMESSAGINGMENU
|
|
|
|
|
)
|
2012-08-17 17:14:27 -07:00
|
|
|
else ()
|
|
|
|
|
message(STATUS "Unity messaging menu support: OFF")
|
2012-08-15 17:21:03 -07:00
|
|
|
endif ()
|
|
|
|
|
|
2012-08-17 17:14:27 -07:00
|
|
|
if (LIBUNITY_FOUND)
|
|
|
|
|
message(STATUS "Unity launcher support: ON")
|
2012-08-16 18:33:28 -07:00
|
|
|
set(EXTRA_CLIENT_PKG_CONFIG
|
|
|
|
|
${EXTRA_CLIENT_PKG_CONFIG}
|
2012-08-17 17:14:27 -07:00
|
|
|
unity
|
2012-08-16 18:33:28 -07:00
|
|
|
)
|
2012-08-17 17:14:27 -07:00
|
|
|
|
2012-08-16 18:33:28 -07:00
|
|
|
set(EXTRA_CLIENT_PACKAGES
|
|
|
|
|
${EXTRA_CLIENT_PACKAGES}
|
|
|
|
|
unity
|
|
|
|
|
)
|
2012-08-17 17:14:27 -07:00
|
|
|
|
2012-08-16 18:33:28 -07:00
|
|
|
set(EXTRA_VALA_OPTIONS
|
|
|
|
|
${EXTRA_VALA_OPTIONS}
|
|
|
|
|
-D HAVE_LIBUNITY
|
|
|
|
|
)
|
2012-08-17 17:14:27 -07:00
|
|
|
else ()
|
|
|
|
|
message(STATUS "Unity launcher support: OFF")
|
2012-08-16 18:33:28 -07:00
|
|
|
endif ()
|
|
|
|
|
|
2012-09-24 16:31:31 -07:00
|
|
|
if (LIBGRANITE_FOUND)
|
|
|
|
|
message(STATUS "Granite support: ON")
|
|
|
|
|
set(EXTRA_CLIENT_PKG_CONFIG
|
|
|
|
|
${EXTRA_CLIENT_PKG_CONFIG}
|
|
|
|
|
granite
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(EXTRA_CLIENT_PACKAGES
|
|
|
|
|
${EXTRA_CLIENT_PACKAGES}
|
|
|
|
|
granite
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(EXTRA_VALA_OPTIONS
|
|
|
|
|
${EXTRA_VALA_OPTIONS}
|
|
|
|
|
-D HAVE_LIBGRANITE
|
|
|
|
|
)
|
|
|
|
|
else ()
|
|
|
|
|
message(STATUS "Granite support: OFF")
|
|
|
|
|
endif ()
|
|
|
|
|
|
2012-09-11 15:10:21 -07:00
|
|
|
set(TARGET_GLIB 2.32)
|
|
|
|
|
|
2012-10-03 19:06:03 -07:00
|
|
|
pkg_check_modules(DEPS REQUIRED
|
2012-04-23 18:54:26 -07:00
|
|
|
gthread-2.0
|
2012-09-11 15:10:21 -07:00
|
|
|
glib-2.0>=${TARGET_GLIB}.0
|
2012-04-23 18:54:26 -07:00
|
|
|
gio-2.0>=2.28.0
|
2012-09-11 11:29:27 -07:00
|
|
|
gtk+-3.0>=3.4.0
|
2012-04-23 18:54:26 -07:00
|
|
|
gee-1.0>=0.6.0
|
|
|
|
|
unique-3.0>=3.0.0
|
2012-06-14 16:47:54 -07:00
|
|
|
libnotify>=0.7.5
|
|
|
|
|
libcanberra>=0.28
|
2012-04-23 18:54:26 -07:00
|
|
|
sqlite3>=3.7.4
|
2012-04-26 18:45:37 -07:00
|
|
|
gmime-2.6>=2.6.0
|
2012-08-07 15:35:24 -07:00
|
|
|
gnome-keyring-1>=3.2.2
|
2012-08-15 09:23:21 -07:00
|
|
|
webkitgtk-3.0>=1.8.0
|
2012-08-15 17:21:03 -07:00
|
|
|
${EXTRA_CLIENT_PKG_CONFIG}
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(ENGINE_PACKAGES
|
Remove SQLHeavy: Closes #5034
It is done.
Initial implementation of the new database subsystem
These pieces represent the foundation for ticket #5034
Expanded transactions, added VersionedDatabase
Further expansions of the async code.
Moved async pool logic into Database, where it realistically
belongs.
Further improvements. Introduced geary-db-test.
Added SQL create and update files for Geary.Db
version-001 to version-003 are exact copies of the SQLHeavy scripts
to ensure no slight changes when migrating. version-004 upgrades
the database to remove the ImapFolderPropertiesTable and
ImapMessagePropertiesTable, now that the database code is pure
IMAP.
When we support other messaging systems (such as POP3), those
subsystems will need to code their own database layers OR rely on
the IMAP schema and simply ignore the IMAP-specific fields.
ImapDB.Account fleshed out
ImapDB.Folder is commented out, however. Need to port next.
ImapDB.Folder fleshed out
MessageTable, MessageLocationTable, and AttachementTable are now
handled inside ImapDB.Folder.
chmod -x imap-db-database.vala
OutboxEmailIdentifier/Properties -> SmtpOutboxEmailIdentifier/Properties
Moved SmtpOutboxFolderRoot into its own source file
SmtpOutboxFolder ported to new database code
Move Engine implementations to ImapDB.
Integration and cleanup of new database code with main source
This commit performs the final integration steps to move Geary
completely over to the new database model. This also cleans out
the old SQLHeavy-based code and fixes a handful of small bugs that
were detected during basic test runs.
Moved Outbox to ImapDB
As the Outbox is tied to the database that ImapDB runs, move the
Outbox code into that folder.
Outbox fixes and better parameter checking
Bumped Database thread pool count and made them exclusive
My reasoning is that there may be a need for a lot of threads at
once (when a big batch of commands comes in, especially at
startup). If performance looks ok, we might consider relaxing
this later.
2012-06-14 14:47:53 -07:00
|
|
|
glib-2.0 gee-1.0 gio-2.0 gmime-2.6 unique-3.0 posix sqlite3
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(CLIENT_PACKAGES
|
2013-01-08 11:55:08 -08:00
|
|
|
gtk+-3.0 gnome-keyring-1 WebKit-3.0 libnotify libcanberra ${EXTRA_CLIENT_PACKAGES}
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(CONSOLE_PACKAGES
|
|
|
|
|
gtk+-3.0
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(DBUSSERVICE_PACKAGES
|
|
|
|
|
gee-1.0 glib-2.0
|
|
|
|
|
)
|
|
|
|
|
|
2012-08-27 18:08:38 -07:00
|
|
|
set(GSETTINGS_DIR ${CMAKE_SOURCE_DIR}/desktop)
|
2012-04-23 18:54:26 -07:00
|
|
|
|
|
|
|
|
set(CFLAGS
|
|
|
|
|
${DEPS_CFLAGS}
|
|
|
|
|
${DEPS_CFLAGS_OTHER}
|
2012-05-01 19:27:23 -07:00
|
|
|
-D_VERSION=\"${VERSION}\"
|
2012-04-23 18:54:26 -07:00
|
|
|
-D_INSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\"
|
|
|
|
|
-D_SOURCE_ROOT_DIR=\"${CMAKE_SOURCE_DIR}\"
|
|
|
|
|
-D_GSETTINGS_DIR=\"${CMAKE_BINARY_DIR}/gsettings\"
|
2012-06-26 11:14:38 -07:00
|
|
|
-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"
|
|
|
|
|
-DLANGUAGE_SUPPORT_DIRECTORY=\"${LANGUAGE_SUPPORT_DIRECTORY}\"
|
2012-06-19 18:15:21 -07:00
|
|
|
-g
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
2012-09-21 11:18:41 -07:00
|
|
|
if (NOT DEBUG)
|
|
|
|
|
set(CFLAGS
|
|
|
|
|
${CFLAGS}
|
|
|
|
|
-O2
|
|
|
|
|
)
|
|
|
|
|
endif ()
|
|
|
|
|
|
2012-04-23 18:54:26 -07:00
|
|
|
set(LIB_PATHS ${DEPS_LIBRARY_DIRS})
|
|
|
|
|
link_directories(${LIB_PATHS})
|
|
|
|
|
add_definitions(${CFLAGS})
|
|
|
|
|
|
2012-07-16 18:14:19 -07:00
|
|
|
set(VALAC_OPTIONS
|
2013-01-15 13:04:30 -08:00
|
|
|
--vapidir=${CMAKE_SOURCE_DIR}/bindings/vapi
|
|
|
|
|
--metadatadir=${CMAKE_SOURCE_DIR}/bindings/metadata
|
|
|
|
|
--girdir=${CMAKE_SOURCE_DIR}/bindings/gir
|
2012-09-11 15:10:21 -07:00
|
|
|
--target-glib=${TARGET_GLIB}
|
2012-07-16 18:14:19 -07:00
|
|
|
--thread
|
|
|
|
|
--enable-checking
|
|
|
|
|
--debug
|
|
|
|
|
--fatal-warnings
|
2012-08-15 17:21:03 -07:00
|
|
|
${EXTRA_VALA_OPTIONS}
|
2012-07-16 18:14:19 -07:00
|
|
|
)
|
|
|
|
|
|
2012-08-16 17:55:11 -07:00
|
|
|
# Engine (static library used for building)
|
2012-04-23 18:54:26 -07:00
|
|
|
#################################################
|
2012-08-16 17:55:11 -07:00
|
|
|
vala_precompile(ENGINE_VALA_C geary-static
|
2012-04-23 18:54:26 -07:00
|
|
|
${ENGINE_SRC}
|
|
|
|
|
${COMMON_SRC}
|
|
|
|
|
PACKAGES
|
|
|
|
|
${CONSOLE_PACKAGES}
|
|
|
|
|
${ENGINE_PACKAGES}
|
2012-08-16 17:55:11 -07:00
|
|
|
GENERATE_VAPI
|
|
|
|
|
geary-static
|
2012-04-23 18:54:26 -07:00
|
|
|
OPTIONS
|
2012-07-16 18:14:19 -07:00
|
|
|
${VALAC_OPTIONS}
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
2012-08-16 17:55:11 -07:00
|
|
|
add_library(geary-static STATIC ${ENGINE_VALA_C})
|
|
|
|
|
target_link_libraries(geary-static ${DEPS_LIBRARIES} gthread-2.0)
|
2012-04-23 18:54:26 -07:00
|
|
|
|
|
|
|
|
# Geary client app
|
|
|
|
|
#################################################
|
2012-08-16 17:55:11 -07:00
|
|
|
vala_precompile(GEARY_VALA_C geary
|
2012-04-23 18:54:26 -07:00
|
|
|
${CLIENT_SRC}
|
2012-08-16 17:55:11 -07:00
|
|
|
PACKAGES
|
2012-04-23 18:54:26 -07:00
|
|
|
${CLIENT_PACKAGES}
|
2012-08-16 17:55:11 -07:00
|
|
|
${ENGINE_PACKAGES}
|
|
|
|
|
CUSTOM_VAPIS
|
|
|
|
|
"${CMAKE_BINARY_DIR}/src/geary-static.vapi"
|
|
|
|
|
OPTIONS
|
|
|
|
|
${VALAC_OPTIONS}
|
|
|
|
|
--vapidir=${CMAKE_BINARY_DIR}/src
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_executable(geary ${GEARY_VALA_C})
|
|
|
|
|
target_link_libraries(geary ${DEPS_LIBRARIES} gthread-2.0 geary-static)
|
|
|
|
|
install(TARGETS geary RUNTIME DESTINATION bin)
|
|
|
|
|
add_custom_command(
|
|
|
|
|
TARGET
|
|
|
|
|
geary
|
|
|
|
|
POST_BUILD
|
|
|
|
|
COMMAND
|
|
|
|
|
${CMAKE_COMMAND} -E copy geary ${CMAKE_BINARY_DIR}/
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
2012-08-22 11:49:16 -07:00
|
|
|
# GSettings
|
2012-08-27 18:08:38 -07:00
|
|
|
# This needs to be here and not in desktop/CMakeLists.txt in order for Geary to run in the build
|
2012-08-22 11:49:16 -07:00
|
|
|
# directory
|
|
|
|
|
include(GSettings)
|
|
|
|
|
add_schemas(geary ${GSETTINGS_DIR})
|
|
|
|
|
|
2012-08-29 15:30:06 -07:00
|
|
|
IF (XGETTEXT_FOUND)
|
2012-10-02 12:43:23 -07:00
|
|
|
MESSAGE("Creating POT file")
|
|
|
|
|
GETTEXT_CREATE_POT(${GETTEXT_PACKAGE}.pot OPTION ${XGETTEXT_OPTIONS} SRC ${CLIENT_SRC} ${ENGINE_SRC} ${COMMON_SRC} GLADE ${GLADE_FILES})
|
2012-08-29 15:30:06 -07:00
|
|
|
ELSE ()
|
|
|
|
|
message(STATUS "xgettext not found")
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
2012-04-23 18:54:26 -07:00
|
|
|
# Console app
|
|
|
|
|
#################################################
|
2012-08-16 17:55:11 -07:00
|
|
|
vala_precompile(CONSOLE_VALA_C geary-console
|
2012-04-23 18:54:26 -07:00
|
|
|
${CONSOLE_SRC}
|
2012-08-16 17:55:11 -07:00
|
|
|
PACKAGES
|
2012-04-23 18:54:26 -07:00
|
|
|
${CONSOLE_PACKAGES}
|
2012-08-16 17:55:11 -07:00
|
|
|
${ENGINE_PACKAGES}
|
|
|
|
|
CUSTOM_VAPIS
|
|
|
|
|
"${CMAKE_BINARY_DIR}/src/geary-static.vapi"
|
|
|
|
|
OPTIONS
|
|
|
|
|
${VALAC_OPTIONS}
|
|
|
|
|
--vapidir=${CMAKE_BINARY_DIR}/src
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_executable(geary-console ${CONSOLE_VALA_C})
|
|
|
|
|
target_link_libraries(geary-console ${DEPS_LIBRARIES} gthread-2.0 geary-static)
|
|
|
|
|
add_custom_command(
|
|
|
|
|
TARGET
|
|
|
|
|
geary-console
|
|
|
|
|
POST_BUILD
|
|
|
|
|
COMMAND
|
|
|
|
|
${CMAKE_COMMAND} -E copy geary-console ${CMAKE_BINARY_DIR}/
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# Mailer app
|
|
|
|
|
#################################################
|
2012-08-16 17:55:11 -07:00
|
|
|
vala_precompile(MAILER_VALA_C geary-mailer
|
2012-04-23 18:54:26 -07:00
|
|
|
${MAILER_SRC}
|
2012-08-16 17:55:11 -07:00
|
|
|
PACKAGES
|
|
|
|
|
${ENGINE_PACKAGES}
|
|
|
|
|
CUSTOM_VAPIS
|
|
|
|
|
"${CMAKE_BINARY_DIR}/src/geary-static.vapi"
|
|
|
|
|
OPTIONS
|
|
|
|
|
${VALAC_OPTIONS}
|
|
|
|
|
--vapidir=${CMAKE_BINARY_DIR}/src
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_executable(geary-mailer ${MAILER_VALA_C})
|
|
|
|
|
target_link_libraries(geary-mailer ${DEPS_LIBRARIES} gthread-2.0 geary-static)
|
|
|
|
|
add_custom_command(
|
|
|
|
|
TARGET
|
|
|
|
|
geary-mailer
|
|
|
|
|
POST_BUILD
|
|
|
|
|
COMMAND
|
|
|
|
|
${CMAKE_COMMAND} -E copy geary-mailer ${CMAKE_BINARY_DIR}/
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# DBus Service
|
|
|
|
|
#################################################
|
2012-08-16 17:55:11 -07:00
|
|
|
vala_precompile(DBUS_VALA_C gearyd
|
2012-04-23 18:54:26 -07:00
|
|
|
${DBUSSERVICE_SRC}
|
2012-08-16 17:55:11 -07:00
|
|
|
PACKAGES
|
2012-04-23 18:54:26 -07:00
|
|
|
${DBUSSERVICE_PACKAGES}
|
2012-08-16 17:55:11 -07:00
|
|
|
${ENGINE_PACKAGES}
|
|
|
|
|
CUSTOM_VAPIS
|
|
|
|
|
"${CMAKE_BINARY_DIR}/src/geary-static.vapi"
|
|
|
|
|
OPTIONS
|
|
|
|
|
${VALAC_OPTIONS}
|
|
|
|
|
--vapidir=${CMAKE_BINARY_DIR}/src
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_executable(gearyd ${DBUS_VALA_C})
|
|
|
|
|
target_link_libraries(gearyd ${DEPS_LIBRARIES} gthread-2.0 geary-static)
|
|
|
|
|
add_custom_command(
|
|
|
|
|
TARGET
|
|
|
|
|
gearyd
|
|
|
|
|
POST_BUILD
|
|
|
|
|
COMMAND
|
|
|
|
|
${CMAKE_COMMAND} -E copy gearyd ${CMAKE_BINARY_DIR}/
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
## Make clean: remove copied files
|
|
|
|
|
##################################################
|
|
|
|
|
set_property(
|
|
|
|
|
DIRECTORY ..
|
|
|
|
|
APPEND
|
|
|
|
|
PROPERTY ADDITIONAL_MAKE_CLEAN_FILES
|
|
|
|
|
geary
|
|
|
|
|
geary-console
|
|
|
|
|
geary-mailer
|
|
|
|
|
gearyd
|
2012-04-23 18:54:26 -07:00
|
|
|
)
|
|
|
|
|
|