C_FILES = $(shell cat tslist)
-PKGS = eina ecore ecore-con eet ecore-file ecore-ipc check ecore-evas evas ecore-input ecore-imf ecore-fb ecore-buffer ecore-imf-evas ecore-wl2 egl
+PKGS = eina ecore ecore-con eet ecore-file ecore-ipc check ecore-evas evas ecore-input ecore-imf ecore-fb ecore-buffer ecore-imf-evas ecore-wl2 egl capi-system-info
EXTRA_LDFLAGS = `pkg-config --libs $(PKGS)`
C_FILES = $(shell cat tslist)
-PKGS = eina ecore ecore-wl2 check egl
+PKGS = eina ecore ecore-wl2 check egl capi-system-info
EXTRA_LDFLAGS = `pkg-config --libs $(PKGS)`
--- /dev/null
+#ifndef UTC_ECORE_WL2_COMMON_H_
+#define UTC_ECORE_WL2_COMMON_H_
+
+#include <system_info.h>
+
+//TV profile don't wait sync when display connecting.
+//There is a problem in TV waiting for sync done from englightenment
+//Fir this reason, in the case of TV profile sync must be explicitly called
+//in case of using ecore_wl2 API immediately after display connect.
+#define CHECK_TV_PROFILE() \
+({ \
+ int check_ret; \
+ do { \
+ char *profile; \
+ system_info_get_platform_string("http://tizen.org/feature/profile", &profile); \
+ if ((!strcmp(profile, "tv")) || (!strcmp(profile, "TV"))) check_ret = 1; \
+ else check_ret = 0; \
+ free(profile); \
+ } while (0); \
+ check_ret; \
+})
+
+#endif /* UTC_ECORE_WL2_COMMON_H_ */
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Input *default_input = NULL;
default_input = ecore_wl2_input_default_input_get(ewd);
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
#include <EGL/egl.h>
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
return ECORE_CALLBACK_DONE;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
#include <Eina.h>
#include <Ecore.h>
#include <Ecore_Wl2.h>
+#include "utc_ecore_wl2_common.h"
static Eina_Bool startup_status = EINA_FALSE;
static Ecore_Timer *timer_exit = NULL;
goto quit_main_loop;
}
+ if (CHECK_TV_PROFILE()) ecore_wl2_display_sync(ewd);
+
Ecore_Wl2_Window *win = NULL;
win = ecore_wl2_window_new(ewd, NULL, 0, 0, 1, 1);
if (!win)
BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(ecore-wl2)
BuildRequires: pkgconfig(egl)
+BuildRequires: pkgconfig(capi-system-info)
%global debug_package %{nil}
%global __debug_install_post %{nil}