fix build error: <Elementary.h> not found 14/68514/1
authorRoman Peresipkyn <r.peresipkyn@samsung.com>
Thu, 5 May 2016 10:52:45 +0000 (13:52 +0300)
committerRoman Peresipkyn <r.peresipkyn@samsung.com>
Thu, 5 May 2016 10:53:05 +0000 (13:53 +0300)
Change-Id: Idb74b44ab2a015ade6eb9609f07ad50018091d99
Signed-off-by: Roman Peresipkyn <r.peresipkyn@samsung.com>
configure.ac
packaging/e-mod-tizen-eom.spec
src/e_mod_main.c

index e46bc02..37a7a06 100644 (file)
@@ -35,7 +35,7 @@ fi
 
 PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner)
 PKG_CHECK_MODULES(WAYLAND, [wayland-server])
-PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, eom])
+PKG_CHECK_MODULES(ENLIGHTENMENT, [enlightenment, elementary, eom])
 
 dnl ========================================================================
 # checks for wayland only argument
index 02242d1..e0b15fa 100644 (file)
@@ -10,6 +10,7 @@ Group: Graphics & UI Framework/Other
 Source0: %{name}-%{version}.tar.gz
 License: BSD-2-Clause
 BuildRequires: pkgconfig(enlightenment)
+BuildRequires: pkgconfig(elementary)
 BuildRequires: pkgconfig(eom)
 BuildRequires:  gettext
 %if %{with x}
index 8527b1a..3c216e4 100644 (file)
@@ -1,18 +1,20 @@
 #define E_COMP_WL
-#include "e.h"
-#include "e_mod_main.h"
-#include "eom-server-protocol.h"
-#include <Eina.h>
-#include <Ecore.h>
-#include <Evas.h>
-#include "Ecore_Drm.h"
+
+#include <tdm.h>
+#include <eom.h>
 #include <Ecore_Evas.h>
 #include <Evas_Engine_Drm.h>
 #include <tbm_bufmgr.h>
 #include <tbm_surface.h>
+#include <Eina.h>
+#include <Ecore.h>
+#include <Evas.h>
+
+#include "e.h"
+#include "e_mod_main.h"
+#include "eom-server-protocol.h"
+#include "Ecore_Drm.h"
 
-#include <tdm.h>
-#include <eom.h>
 
 #define NUM_MAIN_BUF 2
 #define NUM_ATTR 3