lockscreen bg problem quickfix 05/65305/1 accepted/tizen/common/20160408.190414 accepted/tizen/ivi/20160411.005542 accepted/tizen/mobile/20160411.005736 accepted/tizen/tv/20160411.005458 accepted/tizen/wearable/20160411.005527 submit/tizen/20160408.145736
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 8 Apr 2016 08:57:45 +0000 (10:57 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 8 Apr 2016 08:57:45 +0000 (10:57 +0200)
Inlucde default background in lockscreen package directly. This code
will be compleately refactored so such solution is good enough for now.

Change-Id: I66971ee1f11563ade845ff90591e3e821da5f673

data/images/Default.jpg [new file with mode: 0644]
include/lockscreen.h
packaging/org.tizen.lockscreen.spec

diff --git a/data/images/Default.jpg b/data/images/Default.jpg
new file mode 100644 (file)
index 0000000..10f4b14
Binary files /dev/null and b/data/images/Default.jpg differ
index bd46f61..dc40d20 100755 (executable)
 
 #define LOCK_EDJE_FILE EDJE_DIR"lockscreen.edj"
 
-#ifdef TIZEN_BUILD_EMULATOR
-#define LOCK_DEFAULT_BG_PATH "/opt/share/settings/Wallpapers/Default.jpg"
-#else
-#define LOCK_DEFAULT_BG_PATH "/opt/share/settings/Wallpapers/Lock_default.png"
-#endif
+#define LOCK_DEFAULT_BG_PATH "/usr/apps/org.tizen.lockscreen/res/images/Default.jpg"
 
 #define _EDJ(x) elm_layout_edje_get(x)
 #define _X(x) ELM_SCALE_SIZE(x)
index 34755f4..56a57bf 100755 (executable)
@@ -58,12 +58,7 @@ BuildRequires:  edje-tools
 BuildRequires:  gettext-tools
 #BuildRequires:  model-build-features
 
-%if %{with wayland}
 BuildRequires:  pkgconfig(ecore-wayland)
-%else
-BuildRequires:  pkgconfig(ecore-x)
-BuildRequires:  pkgconfig(utilX)
-%endif
 
 %description
 Lockscreen application for Tizen.
@@ -113,6 +108,7 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %{AppInstallPath}/bin/lockscreen
 %{AppInstallPath}/res/images/*.png
+%{AppInstallPath}/res/images/*.jpg
 %{AppInstallPath}/res/edje/*.edj
 %{AppInstallPath}/res/locale/*/LC_MESSAGES/*
 /usr/share/packages/org.tizen.lockscreen.xml