capi-system-device
vconf
capi-ui-efl-util
- ecore-wayland)
+ ecore-wl2)
ELSEIF("$ENV{CFLAGS}" MATCHES "-DTIZEN_PROFILE_MOBILE")
pkg_check_modules(pkgs REQUIRED
capi-appfw-application
edbus
vconf
capi-ui-efl-util
- ecore-wayland)
+ ecore-wl2)
ENDIF()
FOREACH(flag ${pkgs_CFLAGS})
Name: org.tizen.bt-syspopup
Summary: bluetooth system-popup application (bluetooth system popup)
-Version: 0.3.2
+Version: 0.5.1
Release: 0
Group: main
License: Flora-1.1
BuildRequires: pkgconfig(deviced)
BuildRequires: pkgconfig(capi-network-bluetooth)
BuildRequires: pkgconfig(vconf)
-BuildRequires: pkgconfig(ecore-wayland)
+BuildRequires: pkgconfig(ecore-wl2)
BuildRequires: pkgconfig(capi-ui-efl-util)
BuildRequires: cmake
export CXXFLAGS="$CXXFLAGS_BASE -DTIZEN_ENGINEER_MODE"
export FFLAGS="$FFLAGS_BASE -DTIZEN_ENGINEER_MODE"
+export CFLAGS+=" -DEFL_BETA_API_SUPPORT "
cmake .. \
-DCMAKE_INSTALL_PREFIX=%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup \
%if %{with wayland}
export CXXFLAGS="$CXXFLAGS_BASE -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS_BASE -DTIZEN_DEBUG_ENABLE"
+export CFLAGS+=" -DEFL_BETA_API_SUPPORT "
cmake . \
-DCMAKE_INSTALL_PREFIX=%{TZ_SYS_RO_APP}/org.tizen.bt-syspopup \
%if %{with wayland}
#include <gio/gio.h>
#include <gio/giotypes.h>
#include <efl_util.h>
-#include <Ecore_Wayland.h>
+#include <Ecore_Wl2.h>
#include "bt-syspopup-m.h"
ret_if(!parent);
BT_DBG("Setting window type");
- Ecore_Wl_Window * wl_win = NULL;
+ Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(parent));
+ Ecore_Wl2_Window *wl_win = ecore_evas_wayland2_window_get(ee);
- wl_win = elm_win_wl_window_get(parent);
ret_if(!wl_win);
- ecore_wl_window_type_set(wl_win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
+ ecore_wl2_window_type_set(wl_win, ECORE_WL2_WINDOW_TYPE_NOTIFICATION);
efl_util_set_notification_window_level(parent, EFL_UTIL_NOTIFICATION_LEVEL_HIGH);
}
#include <glib.h>
#include <gio/gio.h>
#include <efl_util.h>
-#include <Ecore_Wayland.h>
+#include <Ecore_Wl2.h>
#define COLOR_TABLE "/usr/apps/org.tizen.bt-syspopup/shared/res/tables/com.samsung.bt-syspopup_ChangeableColorTable.xml"
#define FONT_TABLE "/usr/apps/org.tizen.bt-syspopup/shared/res/tables/com.samsung.bt-syspopup_FontInfoTable.xml"
static void __bluetooth_set_win_level(Evas_Object *parent)
{
- Ecore_Wl_Window * wl_win = NULL;
-
- wl_win = (void *)elm_win_wl_window_get(parent);
+ Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(parent));
+ Ecore_Wl2_Window *wl_win = ecore_evas_wayland2_window_get(ee);
ret_if(!wl_win);
- ecore_wl_window_type_set(wl_win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
+ ecore_wl2_window_type_set(wl_win, ECORE_WL2_WINDOW_TYPE_NOTIFICATION);
efl_util_set_notification_window_level(parent, EFL_UTIL_NOTIFICATION_LEVEL_HIGH);
}