ui-gadget-1
bundle
capi-appfw-application
+ capi-system-info
)
FOREACH(flag ${pkgs_CFLAGS})
+starter (0.4.58) unstable; urgency=low
+
+ * Git: slp/pkgs/s/starter
+ * Tag: starter_0.4.58
+
+ * Remove an unused vconf setting
+
+ -- Jin Yoon <jinny.yoon@samsung.com> Mon, 11 Mar 2013 16:23:50 +0900
+
starter (0.4.56) unstable; urgency=low
* Git: slp/pkgs/s/starter
* limitations under the License.
*/
+
+
#include <vconf.h>
#include <vconf-keys.h>
#include <ui-gadget.h>
Name: starter
Summary: starter
-Version: 0.4.56
-Release: 1
+Version: 0.4.58
+Release: 2
Group: TO_BE/FILLED_IN
License: TO_BE/FILLED_IN
Source0: starter-%{version}.tar.gz
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(capi-system-info)
BuildRequires: cmake
BuildRequires: edje-bin
BuildRequires: gettext-tools
vconftool set -t bool db/lockscreen/clock_display 1 $GOPTION
vconftool set -t bool db/lockscreen/help_text_display 0 $GOPTION
-vconftool set -t string memory/menuscreen/desktop "0" -i -f
vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -f
vconftool set -t int memory/idle-screen/top "0" -i -f
vconftool set -t int memory/idle-screen/safemode "0" -i -f
for (i = 0; i < CONF_PATH_NUMBER; i ++) {
if (paths[i].wd) {
if (inotify_rm_watch(s_desktop_notifier.ifd, paths[i].wd) < 0) {
- char log[BUFSZE] = {0,};
- int ret;
-
- ret = strerror_r(errno, log, sizeof(log));
- _E("Error: %s", ret == 0? log : "unknown error");
+ _E("Error: %s", strerror(errno));
}
paths[i].wd = 0;
}
#include <vconf.h>
#include <heynoti.h>
#include <signal.h>
+#include <system_info.h>
#include "starter.h"
#include "starter-util.h"
#define DEFAULT_THEME "tizen"
#define PWLOCK_PATH "/usr/apps/org.tizen.pwlock/bin/pwlock"
#define PWLOCK_PKG_NAME "org.tizen.pwlock"
+#define QP_EMUL_STR "Emulator"
static void lock_menu_screen(void)
{
free(vstr);
}
+static int _check_emul()
+{
+ int is_emul = 0;
+ char *info = NULL;
+
+ if (system_info_get_value_string(SYSTEM_INFO_KEY_MODEL, &info) == 0) {
+ if (info == NULL) return 0;
+ if (!strncmp(QP_EMUL_STR, info, strlen(info))) {
+ is_emul = 1;
+ }
+ }
+
+ if (info != NULL) free(info);
+
+ return is_emul;
+}
+
static int _launch_pwlock(void)
{
int r;
_DBG("%s", __func__);
+ if(_check_emul()) {
+ _DBG("Emulator => skip pwlock");
+ vconf_set_int(VCONFKEY_STARTER_SEQUENCE, 1);
+ return 0;
+ }
+
r = aul_launch_app(PWLOCK_PKG_NAME, NULL);
if (r < 0) {
_ERR("PWLock launch error: error(%d)", r);
{
int r;
struct sigaction act;
- char *file = NULL;
memset(&act,0x00,sizeof(struct sigaction));
act.sa_sigaction = _signal_handler;
<filesystem path="/usr/bin/starter" label="starter" exec_label="starter" />
<filesystem path="/etc/init.d/rd3starter" label="_" exec_label="none" />
<filesystem path="/etc/init.d/rd4starter" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/user/starter.path" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/user/starter.service" label="_" exec_label="none" />
+ <filesystem path="/usr/lib/systemd/user/core-efl.target.wants/starter.path" label="_" exec_label="none" />
</assign>
</manifest>