ubuntu-touch-coreapps-reviewers team mailing list archive
-
ubuntu-touch-coreapps-reviewers team
-
Mailing list archive
-
Message #03124
Re: [Merge] lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-desktop-install-fix into lp:ubuntu-calculator-app
Review: Approve
Added an inline comment to the debian/changelog, but approving nevertheless. Good work!
Diff comments:
> === modified file 'CMakeLists.txt'
> --- CMakeLists.txt 2015-04-14 16:42:56 +0000
> +++ CMakeLists.txt 2015-06-25 20:39:01 +0000
> @@ -31,18 +31,17 @@
> set(APP_HARDCODE ubuntu-calculator-app)
> set(AUTOPILOT_DIR ubuntu_calculator_app)
> set(MAIN_QML ${APP_HARDCODE}.qml)
> -set(ICON "${APP_HARDCODE}.png")
> +set(ICON_FILE "${APP_HARDCODE}.png")
> set(DESKTOP_FILE "${APP_HARDCODE}.desktop")
> -set(AUTOPILOT_DIR ubuntu_calculator_app)
> set(APP_VERSION 2.0)
> +set(AUTOPILOT_DIR ubuntu_calculator_app)
>
> if(CLICK_MODE)
> set(CMAKE_INSTALL_PREFIX "/")
> set(UBUNTU-CALCULATOR-APP_DIR "${CMAKE_INSTALL_DATADIR}/qml")
>
> set(QT_IMPORTS_DIR "${CMAKE_INSTALL_LIBDIR}")
> - set(EXEC "qmlscene $@ ${UBUNTU-CALCULATOR-APP_DIR}/${MAIN_QML}")
> - set(MODULE_PATH ${QT_IMPORTS_DIR})
> + set(EXEC "qmlscene -qt5 $@ ${UBUNTU-CALCULATOR-APP_DIR}/${MAIN_QML}")
> if(NOT BZR_REVNO)
> execute_process(
> COMMAND bzr revno
> @@ -76,8 +75,14 @@
> configure_file(${UBUNTU_MANIFEST_PATH} ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
> install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json DESTINATION ${CMAKE_INSTALL_PREFIX})
> install(FILES "${APP_HARDCODE}.apparmor" DESTINATION ${CMAKE_INSTALL_PREFIX})
> + set(ICON ${ICON_FILE})
> else(CLICK_MODE)
> - set(EXEC "qmlscene $@ -I ${MODULE_PATH} ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CALCULATOR-APP_DIR}/${MAIN_QML}")
> + set(ICON ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CALCULATOR-APP_DIR}/${ICON_FILE})
> + set(EXEC ${APP_NAME})
> + configure_file(app/${APP_HARDCODE}.in
> + ${CMAKE_CURRENT_BINARY_DIR}/${APP_HARDCODE})
> + install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${APP_HARDCODE}
> + DESTINATION ${CMAKE_INSTALL_BINDIR})
> endif(CLICK_MODE)
>
> file(GLOB_RECURSE I18N_SRC_FILES
>
> === modified file 'app/CMakeLists.txt'
> --- app/CMakeLists.txt 2015-04-14 16:42:56 +0000
> +++ app/CMakeLists.txt 2015-06-25 20:39:01 +0000
> @@ -3,12 +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)
> - set(ICON ${ICON})
> - install(FILES graphics/${ICON} DESTINATION ${CMAKE_INSTALL_PREFIX})
> -endif(CLICK_MODE)
> -
> -install(FILES ${MAIN_QML} DESTINATION ${UBUNTU-CALCULATOR-APP_DIR})
> +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})
>
> add_subdirectory(engine)
> add_subdirectory(graphics)
>
> === added file 'app/ubuntu-calculator-app.in'
> --- app/ubuntu-calculator-app.in 1970-01-01 00:00:00 +0000
> +++ app/ubuntu-calculator-app.in 2015-06-25 20:39:01 +0000
> @@ -0,0 +1,3 @@
> +#!/bin/sh
> +export QT_SELECT=qt5
> +exec qmlscene @CMAKE_INSTALL_PREFIX@/@UBUNTU-CALCULATOR-APP_DIR@/@MAIN_QML@
>
> === modified file 'debian/changelog'
> --- debian/changelog 2014-12-11 11:09:09 +0000
> +++ debian/changelog 2015-06-25 20:39:01 +0000
> @@ -1,3 +1,39 @@
> +ubuntu-calculator-app (2.0.197) UNRELEASED; urgency=low
> +
> + [ Bartosz Kosiorek ]
> + * Fixes in creating .deb package (LP: #1466518) (LP: #1466530) (LP: #1468385)
In the future, it would be better to have a bullet point for each bug. Each one of these are related, but they are all different.
> + * Do not allow swiping in Landscape mode (LP: #1466635)
> + * Fix keyboard shortcuts (eg. Ctrl+C) (LP: #1466634)
> + * Add additional comments to logaritm and modulo
> + to avoid confusion during translation (LP: #1465297)
> + * Fix display issue (LP: #1465996)
> +
> + [ Nicholas Skaggs ]
> + * Fix testability for screen components.
> +
> + [ Niklas Wenzel ]
> + * Use longer swipe in autopilot tests for
> + revealing the scientific keyboard (LP: #1464571)
> + * Fix typing special characters on hardware keyboards (LP: #1449037)
> +
> + [ Victor Thompson ]
> + * Change favorites translatable string (LP: #1464463)
> +
> + -- Bartosz Kosiorek <gang65@xxxxxxxxxxxxxx> Thu, 25 Jun 2015 19:56:42 +0200
> +
> +ubuntu-calculator-app (2.0.182) vivid; urgency=medium
> + * Add haptic feedback to buttons
> + * Update math.js library (LP: #1439846)
> + * Enable 'bug number' support to fix floating point math (LP: #1445152)
> + * Modify splash screen. (LP: #1377638)
> + * Fix keyboard focus and disappearing cursor bug. (LP: #1431548)
> + * Fix directory layout for AP tests. (LP: #1443680)
> + * Modified layout to fit design
> + * Fix issue with building which corrupted translations
> + * Updated translations
> +
> + -- Bartosz Kosiorek <gang65@xxxxxxxxxxxxxx> Thu, 15 Jun 2015 12:00:05 +0100
> +
> ubuntu-calculator-app (0.1) vivid; urgency=low
>
> * Initial release
>
--
https://code.launchpad.net/~gang65/ubuntu-calculator-app/ubuntu-calculator-app-desktop-install-fix/+merge/262799
Your team Ubuntu Calculator Developers is subscribed to branch lp:ubuntu-calculator-app.
References