[Tizen-submit] 21487: Changes to Tizen:IVI/ui-gadget-1

noreply at tizen.org noreply at tizen.org
Fri Feb 21 10:39:01 GMT 2014


Hi,
Stephane Desneux have made the following changes to ui-gadget-1 in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21487

  submit:       Tizen:IVI:build/ui-gadget-1(cleanup) -> Tizen:IVI


Message:
Submitter: Stephane Desneux <stephane.desneux at open.eurogiciel.org>
Comments: add multiuser support
Git project: platform/core/appfw/ui-gadget-1
Tag: submit/tizen/20140221.103828
Commit: f0e0a08562a88cac22640384e1f8cadbec9f4ce1 Remove hardcoded path for multiuser support

State:   new        2014-02-21T10:38:41 tizenrobot
Comment: <no comment>
spec files:
-----------
--- ui-gadget-1.spec
+++ ui-gadget-1.spec
@@ -2,7 +2,7 @@
 %bcond_with wayland
 
 Name:       ui-gadget-1
-VCS:        platform/core/appfw/ui-gadget-1#db3a1d59af5970efaf7f2578d641484965e831b7
+VCS:        platform/core/appfw/ui-gadget-1#f0e0a08562a88cac22640384e1f8cadbec9f4ce1
 Summary:    UI Gadget Library
 Version:    0.1.25
 Release:    1
@@ -26,6 +26,7 @@
 BuildRequires:  pkgconfig(capi-appfw-app-manager)
 BuildRequires:  cmake
 BuildRequires:  edje-bin
+BuildRequires: pkgconfig(libtzplatform-config)
 
 %description
 UI gadget library (development headers)
@@ -47,6 +48,7 @@
 
 %build
 %cmake . \
+-DTZ_SYS_ETC=%TZ_SYS_ETC \
 %if %{with wayland} && !%{with x}
 -Dwith_wayland=TRUE
 %else
@@ -61,7 +63,7 @@
 
 %post 
 /sbin/ldconfig
-ln -sf /usr/bin/ug-client /usr/bin/ug-launcher
+ln -sf %{TZ_SYS_BIN}/ug-client %{TZ_SYS_BIN}/ug-launcher
 
 %postun -p /sbin/ldconfig
 
@@ -73,7 +75,7 @@
 /usr/share/edje/ug_effect.edj
 %{_bindir}/ug-client
 /usr/share/edje/ug-client/*.edj
-/opt/etc/smack/accesses.d/ui-gadget-1.rule
+%{TZ_SYS_ETC}/smack/accesses.d/ui-gadget-1.rule
 
 %files devel
 %manifest %{name}.manifest

other changes:
--------------

++++++ ui-gadget-1-0.1.25.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -26,7 +26,7 @@
 
 ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
 
-SET(PKGS_CHECK_MODULES "glib-2.0 bundle dlog capi-appfw-application appsvc capi-appfw-app-manager ecore")
+SET(PKGS_CHECK_MODULES "glib-2.0 bundle dlog capi-appfw-application appsvc capi-appfw-app-manager ecore libtzplatform-config")
 IF (with_x)
        PKG_CHECK_MODULES(PKGS REQUIRED ${PKGS_CHECK_MODULES} utilX x11)
 ENDIF(with_x)
@@ -54,7 +54,7 @@
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/ui-gadget-engine.h DESTINATION ${INCLUDE_INSTALL_DIR}/ug-1)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/ui-gadget.h DESTINATION ${INCLUDE_INSTALL_DIR}/ug-1)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/SLP_UI_Gadget_PG.h DESTINATION ${INCLUDE_INSTALL_DIR}/ug-1)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/ui-gadget-1.rule DESTINATION  /opt/etc/smack/accesses.d)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/ui-gadget-1.rule DESTINATION  ${TZ_SYS_ETC}/smack/accesses.d)
 
 ADD_SUBDIRECTORY(ug-efl-engine)
 ADD_SUBDIRECTORY(client)
--- client/CMakeLists.txt
+++ client/CMakeLists.txt
@@ -1,7 +1,7 @@
 SET(CLIENT ug-client)
 SET(CLIENT_SRCS ug-client.c)
 SET(CLIENT_VENDOR samsung)
-SET(CLIENT_DIR /usr/bin)
+SET(CLIENT_DIR ${TZ_SYS_BIN})
 SET(CLIENT_LOCALEDIR /usr/share/locale)
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
--- client/ug-client.c
+++ client/ug-client.c
@@ -35,10 +35,14 @@

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list