Replace the package name to data-provider-master
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 4 Mar 2013 03:32:52 +0000 (03:32 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 4 Mar 2013 03:32:52 +0000 (03:32 +0000)
remove prefix "org.tizen."

Change-Id: Iece033f79fd5d7793a477ad4f7944f60ba16055f

CMakeLists.txt
data-provider-master.desktop [moved from org.tizen.data-provider-master.desktop with 84% similarity]
data-provider-master.manifest [moved from org.tizen.data-provider-master.manifest with 100% similarity]
include/conf.h
packaging/data-provider-master.spec [moved from packaging/org.tizen.data-provider-master.spec with 96% similarity]
src/script_handler.c
src/server.c

index 73584be..1393c21 100644 (file)
@@ -31,7 +31,6 @@ pkg_check_modules(pkg REQUIRED
 )
 
 SET(PACKAGE "${PROJECT_NAME}")
-#SET(LOCALEDIR "/opt/apps/org.tizen.${PROJECT_NAME}/res/locale")
 SET(CMAKE_C_FLAGS "-Wall -fpie -Winline -Werror -fno-builtin-malloc -fno-omit-frame-pointer -g")
 SET(CMAKE_EXE_LINKER_FLAGS "-pie")
 
@@ -83,14 +82,12 @@ ADD_EXECUTABLE(${PROJECT_NAME}
 )
 
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkg_LDFLAGS} "-ldl")
-#INSTALL(FILES ${CMAKE_SOURCE_DIR}/org.tizen.data-provider-master.desktop DESTINATION /opt/share/applications)
-#INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /opt/apps/org.tizen.${PROJECT_NAME}/bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/abi.ini DESTINATION /usr/share/data-provider-master PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
 
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/${PRODUCT}.conf.ini DESTINATION /usr/share/data-provider-master RENAME "conf.ini" PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
 
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/resolution.ini DESTINATION /usr/share/data-provider-master PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME "org.tizen.${PROJECT_NAME}")
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME "${PROJECT_NAME}")
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION /usr/bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE SETUID)
 
 # INCLUDE FOR BUILD & INSTALL .PO FILES
similarity index 84%
rename from org.tizen.data-provider-master.desktop
rename to data-provider-master.desktop
index 253c8b9..77d74ae 100644 (file)
@@ -1,7 +1,7 @@
 Name=Live Data Provider - Master
 Type=Application
 Exec=/usr/bin/data-provider-master
-Icon=org.tizen.data-provider-master.png
+Icon=data-provider-master.png
 NoDisplay=True
 Network=True
 Comment=Homescreen-Live Box content data provider (master)
index c748a26..98a479a 100644 (file)
@@ -111,8 +111,8 @@ extern int conf_loader(void);
 #define DEFAULT_SCRIPT         g_conf.default_conf.script
 #define DEFAULT_ABI            g_conf.default_conf.abi
 #define DEFAULT_GROUP          g_conf.default_conf.pd_group
-#define NO_CHANGE              g_conf.default_conf.period
 #define DEFAULT_PERIOD         g_conf.default_conf.period
+#define PRIORITY_NO_CHANGE     -1.0f
 
 #define BUNDLE_SLAVE_NAME      g_conf.launch_key.name
 #define BUNDLE_SLAVE_SECURED   g_conf.launch_key.secured
similarity index 96%
rename from packaging/org.tizen.data-provider-master.spec
rename to packaging/data-provider-master.spec
index a297f42..e8520e5 100644 (file)
@@ -1,6 +1,6 @@
-Name: org.tizen.data-provider-master
+Name: data-provider-master
 Summary: Master service provider for liveboxes.
-Version: 0.16.15
+Version: 0.17.0
 Release: 1
 Group: framework/livebox
 License: Flora License
@@ -82,8 +82,8 @@ chmod 640 /opt/dbspace/.livebox.db-journal
 echo "Successfully installed. Please start a daemon again manually"
 echo "%{_sysconfdir}/init.d/data-provider-master start"
 
-%files -n org.tizen.data-provider-master
-%manifest org.tizen.data-provider-master.manifest
+%files -n data-provider-master
+%manifest data-provider-master.manifest
 %defattr(-,root,root,-)
 %{_sysconfdir}/rc.d/init.d/data-provider-master
 %{_sysconfdir}/rc.d/rc3.d/S99data-provider-master
index 9c49c3f..116c220 100644 (file)
@@ -653,7 +653,7 @@ static int update_info(struct inst_info *inst, struct block *block, int is_pd)
                                 * Each livebox uses the LB_SIZE_TYPE_XXX for its size.
                                 */
                                resized = (instance_lb_width(inst) != w) || (instance_lb_height(inst) != h);
-                               instance_set_lb_info(inst, w, h, NO_CHANGE, CONTENT_NO_CHANGE, TITLE_NO_CHANGE);
+                               instance_set_lb_info(inst, w, h, PRIORITY_NO_CHANGE, CONTENT_NO_CHANGE, TITLE_NO_CHANGE);
                        }
 
                        if (resized)
index b0351d4..85a7f28 100644 (file)
@@ -4466,7 +4466,7 @@ static struct packet *slave_acquire_buffer(pid_t pid, int handle, const struct p
                        if (ret == 0) {
                                int resized;
                                resized = (instance_lb_width(inst) != w) || (instance_lb_height(inst) != h);
-                               instance_set_lb_info(inst, w, h, -1.0f, NULL, NULL);
+                               instance_set_lb_info(inst, w, h, PRIORITY_NO_CHANGE, CONTENT_NO_CHANGE, TITLE_NO_CHANGE);
                                id = buffer_handler_id(info);
                                if (resized)
                                        instance_send_resized_event(inst, IS_LB, w, h, 0);
@@ -4607,7 +4607,7 @@ static struct packet *slave_resize_buffer(pid_t pid, int handle, const struct pa
 
                                        id = buffer_handler_id(info);
                                        resized = (instance_lb_width(inst) != w) || (instance_lb_height(inst) != h);
-                                       instance_set_lb_info(inst, w, h, -1.0f, NULL, NULL);
+                                       instance_set_lb_info(inst, w, h, PRIORITY_NO_CHANGE, CONTENT_NO_CHANGE, TITLE_NO_CHANGE);
                                        if (resized)
                                                instance_send_resized_event(inst, IS_LB, w, h, 0);
                                }