PTREL-546 fix: enable wayland build
authorJuan Zhao <juan.j.zhao@intel.com>
Tue, 17 Dec 2013 09:33:38 +0000 (17:33 +0800)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 12 Mar 2015 02:23:05 +0000 (11:23 +0900)
commit15235b8499a6a7638d6bcf58d655a91f3bedad38
tree5e1eef4960b6047db5099af6cf4a1b88ba49eb46
parent0d21cf8e052d42a5b00c51a8c8f765cd56e03764
PTREL-546 fix: enable wayland build

The display server based on X or Wayland, is now a choice of different profile in Tizen 3.0.
Basically and consistently, two macros were used "with wayland" and "with x".
Below summarize the combination of the macros:

    | wayland |  x  | meaning
    |---------------------------
    |   0     |  1  | pure X11 platform(no wayland)
    |   1     |  0  | pure wayland platform (no X11)
    |   1     |  1  | wayland but X compatibility
    |   0     |  0  | no X and no wayland

This method unifies the meaning and usage. Deploy this method to elementary package.

Change-Id: I761ef5a9b03493fe7e867282d4d3cd2a812d7482
packaging/elementary.spec