%EB%A5%BC%20%EC%A7%80%EC%9B%90%ED%95%98%EC%A7%80%20%EC%95%8A%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
답변1
비슷한 것이 있습니다. 계산기 앱에 대한 버그 신고:
여러 장치(arale, rc 제안을 실행하는 krillin) 및 소매 OTA-5를 실행하는 krillin에서 테스트되었습니다.
계산기를 시작하면 실행 창이 표시되고 앱은 계산기 창을 그리지 않고 종료됩니다.
앱이 데스크톱에서 제대로 실행됩니다.
r182(현재 매장에 있음)와 r217 사이에 문제가 발생했습니다.
로그에는 다음이 포함됩니다:-
phablet@ubuntu-phablet:~/.cache/upstart$ cat application-click-com.ubuntu.calculator_ubuntu-calculator-app_2.0.217.log
libust[27746/27749]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[27746/27749]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[27746/27748]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[27746/27748]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
UbuntuWindow - regular geometry
UbuntuWindow - regular geometry
UbuntuWindow - regular geometry
This plugin does not support propagateSizeHints()
브랜치에 커밋된 수정 사항(rev 218):lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-install-fix (rev 218)
차이점:
=== modified file 'app/CMakeLists.txt'
--- app/CMakeLists.txt 2015-07-20 19:23:20 +0000
+++ app/CMakeLists.txt 2015-07-31 11:54:58 +0000
@@ -3,14 +3,8 @@
add_custom_target(ubuntu-calculator-app_QMlFiles ALL SOURCES ${QML_JS_FILES})
endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
-if(CLICK_MODE)
- install(FILES graphics/${ICON_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX})
- install(FILES ${MAIN_QML} DESTINATION ${CMAKE_INSTALL_PREFIX})
-else (CLICK_MODE)
- install(FILES graphics/${ICON_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CALCULATOR-APP_DIR})
- install(FILES ${MAIN_QML} DESTINATION ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CALCULATOR-APP_DIR})
-endif(CLICK_MODE)
-
+install(FILES graphics/${ICON_FILE} DESTINATION ${UBUNTU-CALCULATOR-APP_DIR})
+install(FILES ${MAIN_QML} DESTINATION ${UBUNTU-CALCULATOR-APP_DIR})
add_subdirectory(engine)
add_subdirectory(graphics)
=== modified file 'manifest.json.in'
--- manifest.json.in 2015-07-09 20:39:32 +0000
+++ manifest.json.in 2015-07-31 11:54:58 +0000
@@ -4,7 +4,7 @@
"description": "Powerful and easy to use calculator.",
"framework": "ubuntu-sdk-14.10",
"hooks": {
- "@APP_HARDCODE@": {
+ "calculator": {
"apparmor": "@[email protected]",
"desktop": "@CMAKE_INSTALL_DATADIR@/applications/ubuntu-calculator-app.desktop"
}