Merge lp:~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging into lp:ubuntu-clock-app

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Francis Ginther
Approved revision: 87
Merged at revision: 50
Proposed branch: lp:~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging
Merge into: lp:ubuntu-clock-app
Diff against target: 895 lines (+571/-78)
28 files modified
.bzr-builddeb/default.conf (+2/-0)
CMakeLists.txt (+43/-29)
app/CMakeLists.txt (+12/-5)
app/alarm/CMakeLists.txt (+1/-1)
app/clock/CMakeLists.txt (+1/-1)
app/components/CMakeLists.txt (+1/-1)
app/graphics/CMakeLists.txt (+5/-3)
app/upstreamcomponents/CMakeLists.txt (+1/-1)
app/worldclock/CMakeLists.txt (+1/-1)
backend/CMakeLists.txt (+8/-8)
cmake/Click.cmake (+0/-17)
debian/changelog (+327/-0)
debian/compat (+1/-0)
debian/control (+43/-0)
debian/copyright (+54/-0)
debian/rules (+20/-0)
debian/tests/control (+13/-0)
debian/tests/make-autopilot (+2/-0)
debian/tests/make-test (+2/-0)
debian/ubuntu-clock-app-autopilot.install (+1/-0)
debian/ubuntu-clock-app.install (+2/-0)
manifest.json (+8/-3)
tests/CMakeLists.txt (+1/-0)
tests/autopilot/CMakeLists.txt (+8/-0)
tests/autopilot/run (+3/-1)
tests/autopilot/ubuntu_clock_app/emulators.py (+2/-1)
tests/autopilot/ubuntu_clock_app/tests/__init__.py (+8/-5)
tests/unit/tst_hellocomponent.qml (+1/-1)
To merge this branch: bzr merge lp:~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Nekhelesh Ramananthan Approve
Timo Jyrinki Approve
Sergio Schvezov Pending
Review via email: mp+230530@code.launchpad.net

This proposal supersedes a proposal from 2014-08-01.

Commit message

Various changes to the packaging to make it work with the newest ubuntu-clock-app.

Description of the change

RESUBMIT under team branch.

Various changes to the packaging to make it work with the newest ubuntu-clock-app.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:42
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~dholbach/ubuntu-clock-app/reboot-packaging/+merge/229173/+edit-commit-message

http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/97/
Executed test runs:
    FAILURE: http://91.189.93.70:8080/job/generic-mediumtests-utopic/1247/console
    FAILURE: http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-utopic-amd64-ci/97/console

Click here to trigger a rebuild:
http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/97/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:48
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~dholbach/ubuntu-clock-app/reboot-packaging/+merge/229173/+edit-commit-message

http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/98/
Executed test runs:
    FAILURE: http://91.189.93.70:8080/job/generic-mediumtests-utopic/1248/console
    FAILURE: http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-utopic-amd64-ci/98/console

Click here to trigger a rebuild:
http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/98/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote : Posted in a previous version of this proposal

Can you merge trunk as it now has a working autopilot test. I will follow up with sergieusens asap.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:50
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~dholbach/ubuntu-clock-app/reboot-packaging/+merge/229173/+edit-commit-message

http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/108/
Executed test runs:
    FAILURE: http://91.189.93.70:8080/job/generic-mediumtests-utopic/1284/console
    FAILURE: http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-utopic-amd64-ci/108/console

Click here to trigger a rebuild:
http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/108/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote : Posted in a previous version of this proposal

Daniel, I got the "make autopilot" to work. The first fix needed was already done by you in rev 51 (adjusting CMakeList.txt file to point at the new test path). The second fix needed is to rename ubuntu-clock-app to ubuntu_clock_app in the tests/autopilot/run file.

=== modified file 'tests/autopilot/run' (properties changed: -x to +x)
--- tests/autopilot/run 2014-07-31 16:58:56 +0000
+++ tests/autopilot/run 2014-08-05 10:13:21 +0000
@@ -7,5 +7,5 @@

 SCRIPTPATH=`dirname $0`
 pushd ${SCRIPTPATH}
-autopilot run ubuntu-clock-app
+autopilot run ubuntu_clock_app

After which I get it passing,

nik90@nik90-devel:~/Clock/add-alarm-test/builddir$ make autopilot
[ 0%] Built target alarmsettings-qmldir
[ 7%] Automoc for target timezone
[ 7%] Built target timezone_automoc
[ 42%] Built target timezone
[ 50%] Automoc for target datetime
[ 50%] Built target datetime_automoc
[ 71%] Built target datetime
[ 78%] Automoc for target alarmsettings
[ 78%] Built target alarmsettings_automoc
[100%] Built target alarmsettings
[100%] Built target timezone-qmldir
[100%] Built target datetime-qmldir
~/Clock/add-alarm-test/tests/autopilot ~/Clock/add-alarm-test/builddir/app
Loading tests from: /home/nik90/Clock/add-alarm-test/tests/autopilot

Tests running...

Ran 1 test in 48.013s
OK
~/Clock/add-alarm-test/builddir/app
[100%] Built target autopilot

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal

A number of files are not installed in the right place or not present/installed at all:

 - backend/ directory is missing
 - files in usr/lib probably need their own, a bit more descriptive directory name
 - files for the -autopilot package are not installed anywhere
 - .desktop file.

Revision history for this message
Sergio Schvezov (sergiusens) wrote : Posted in a previous version of this proposal

one inline comment for now, more later

review: Needs Fixing
Revision history for this message
Daniel Holbach (dholbach) wrote : Posted in a previous version of this proposal
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I dropped the find_local_path as the python code was failing and I intend to propose a better solution in a future mp. No matter what we decide, this reverts to trunk and we can address the local path issue in another MP.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

FAILED: Continuous integration, rev:77
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging/+merge/230530/+edit-commit-message

http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/172/
Executed test runs:
    FAILURE: http://91.189.93.70:8080/job/generic-mediumtests-utopic-python3/4/console
    FAILURE: http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-utopic-amd64-ci/172/console

Click here to trigger a rebuild:
http://91.189.93.70:8080/job/ubuntu-clock-dev-ubuntu-clock-app-utopic-3.0-ci/172/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Sergiusens fixed the remaining issues w.r.t to the click package. Please do not merge. I want to do one final review before approving and merging to trunk.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I made some changes to be more in line with other phone packages in Ubuntu (originally instructed in https://wiki.ubuntu.com/DailyRelease/InlinePackaging).

If you want, you can keep the old version numbering as long as this is not hitting the Ubuntu archives officially. Also, "UNRELEASED" for the version is just normal what's done when wanting to have the CI Train to append it's own date format and do the official releasing, which is not applicable here.

Anyway, builds fine, looks fine.

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Lgtm now.

review: Approve (cmake and click packaging)
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Sry forgot to do one small fix which was to update cmake to point at the lp:ubuntu-clock-app/reboot branch instead of the old lp:ubuntu-clock-app branch. I fixed this in rev 87

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

Autolanding job was not correctly updated when the ci job was to used the python3 specific test runner. This has been fixed.

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory '.bzr-builddeb'
=== added file '.bzr-builddeb/default.conf'
--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
+++ .bzr-builddeb/default.conf 2014-08-13 12:03:59 +0000
@@ -0,0 +1,2 @@
1[BUILDDEB]
2split = True
03
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2014-07-26 09:34:15 +0000
+++ CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -2,7 +2,6 @@
2cmake_minimum_required(VERSION 2.8.9)2cmake_minimum_required(VERSION 2.8.9)
33
4set (UBUNTU_PROJECT_TYPE "ClickApp" CACHE INTERNAL "Tells QtCreator this is a Click application project")4set (UBUNTU_PROJECT_TYPE "ClickApp" CACHE INTERNAL "Tells QtCreator this is a Click application project")
5set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
6set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra")5set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra")
76
8find_package(Qt5Core)7find_package(Qt5Core)
@@ -20,51 +19,66 @@
20set(APP_NAME clock)19set(APP_NAME clock)
21set(APP_HARDCODE ubuntu-clock-app)20set(APP_HARDCODE ubuntu-clock-app)
22set(MAIN_QML ${APP_HARDCODE}.qml)21set(MAIN_QML ${APP_HARDCODE}.qml)
23set(ICON clock-app@30.png)22set(ICON clock-app)
23SET(AUTOPILOT_DIR ubuntu_clock_app)
24
25# Standard install paths
26include(GNUInstallDirs)
2427
25#set install paths28#set install paths
26if(${CLICK_MODE})29if(CLICK_MODE)
27 set(CMAKE_INSTALL_PREFIX /)30 set(CMAKE_INSTALL_PREFIX "/")
28 set(DATA_DIR /)31 set(UBUNTU-CLOCK_APP_DIR "${CMAKE_INSTALL_DATADIR}/qml")
29 set(DESKTOP_DIR ${DATA_DIR})
30 set(UBUNTU-CLOCK-APP_DIR "share/qml/ubuntu-clock-app")
31 set(ICON "${UBUNTU-CLOCK-APP_DIR}/${ICON}")
3232
33 execute_process(
34 COMMAND dpkg-architecture -qDEB_HOST_MULTIARCH
35 OUTPUT_VARIABLE ARCH_TRIPLET
36 OUTPUT_STRIP_TRAILING_WHITESPACE
37 )
38 set(QT_IMPORTS_DIR "lib/${ARCH_TRIPLET}")
39else()
40 set(DATA_DIR "share/clockapp")
41 set(DESKTOP_DIR ${DATA_DIR})
42 set(ICON "${DATA_DIR}/${ICON}")
43 set(UBUNTU-CLOCK-APP_DIR "share/ubuntu-clock-app/qml")
44 include(GNUInstallDirs)
45 set(QT_IMPORTS_DIR "${CMAKE_INSTALL_LIBDIR}")33 set(QT_IMPORTS_DIR "${CMAKE_INSTALL_LIBDIR}")
46endif()34 set(EXEC "qmlscene $@ ${UBUNTU-CLOCK_APP_DIR}/${MAIN_QML}")
4735 set(MODULE_PATH ${QT_IMPORTS_DIR})
48set(EXEC "qmlscene $@ ${UBUNTU-CLOCK-APP_DIR}/${MAIN_QML}")36 if(NOT BZR_REVNO)
37 execute_process(
38 COMMAND bzr revno
39 OUTPUT_VARIABLE BZR_REVNO
40 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
41 OUTPUT_STRIP_TRAILING_WHITESPACE
42 )
43 endif(NOT BZR_REVNO)
44 if(NOT BZR_SOURCE)
45 set(BZR_SOURCE lp:${APP_HARDCODE}/reboot)
46 message("-- Setting BZR_SOURCE to ${BZR_SOURCE}")
47 endif(NOT BZR_SOURCE)
48else(CLICK_MODE)
49 set(UBUNTU-CLOCK_APP_DIR "${CMAKE_INSTALL_DATADIR}/ubuntu-clock-app")
50 execute_process(
51 COMMAND qmake -query QT_INSTALL_QML
52 OUTPUT_VARIABLE QT_IMPORTS_DIR
53 OUTPUT_STRIP_TRAILING_WHITESPACE
54 )
55set(MODULE_PATH ${QT_IMPORTS_DIR}/ClockApp)
56endif(CLICK_MODE)
4957
50if(${CLICK_MODE})58if(${CLICK_MODE})
51 install(FILES manifest.json DESTINATION ${CMAKE_INSTALL_PREFIX})59 message("-- Configuring manifest.json")
60 configure_file(manifest.json manifest.json)
61 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json DESTINATION ${CMAKE_INSTALL_PREFIX})
62 install(FILES "${APP_HARDCODE}.json" DESTINATION ${CMAKE_INSTALL_PREFIX})
63else(CLICK_MODE)
64 set(EXEC "qmlscene $@ -I ${MODULE_PATH} ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CLOCK_APP_DIR}/${MAIN_QML}")
52endif()65endif()
53install(DIRECTORY "app/graphics" DESTINATION ${DATA_DIR})
54install(FILES "${APP_HARDCODE}.json" DESTINATION ${DATA_DIR})
5566
56add_subdirectory(app)67add_subdirectory(app)
57add_subdirectory(backend)68add_subdirectory(backend)
69if(NOT CLICK_MODE)
70 add_subdirectory(tests)
71endif(NOT CLICK_MODE)
5872
59add_custom_target("autopilot" chmod +x ${CMAKE_SOURCE_DIR}/app/tests/autopilot/run73add_custom_target("autopilot" chmod +x ${CMAKE_SOURCE_DIR}/tests/autopilot/run
60 COMMAND ${CMAKE_SOURCE_DIR}/app/tests/autopilot/run74 COMMAND ${CMAKE_SOURCE_DIR}/tests/autopilot/run
61 DEPENDS timezone timezone-qmldir alarmsettings alarmsettings-qmldir datetime datetime-qmldir75 DEPENDS timezone timezone-qmldir alarmsettings alarmsettings-qmldir datetime datetime-qmldir
62 WORKING_DIRECTORY ./app)76 WORKING_DIRECTORY ./app)
6377
64enable_testing()78enable_testing()
65add_test(NAME basic79add_test(NAME basic
66 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/app80 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/app
67 COMMAND /usr/bin/qmltestrunner -input ${CMAKE_SOURCE_DIR}/app/tests/unit -import ${CMAKE_BINARY_DIR}/backend81 COMMAND /usr/bin/qmltestrunner -input ${CMAKE_SOURCE_DIR}/tests/unit -import ${CMAKE_BINARY_DIR}/backend
68)82)
6983
70add_custom_target("run" /usr/bin/qmlscene -I ${CMAKE_BINARY_DIR}/backend ${CMAKE_SOURCE_DIR}/app/ubuntu-clock-app.qml84add_custom_target("run" /usr/bin/qmlscene -I ${CMAKE_BINARY_DIR}/backend ${CMAKE_SOURCE_DIR}/app/ubuntu-clock-app.qml
7185
=== modified file 'app/CMakeLists.txt'
--- app/CMakeLists.txt 2014-07-28 13:02:59 +0000
+++ app/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -1,14 +1,21 @@
1file(GLOB QML_JS_FILES *.qml *.js *.png)1if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
2
3# make the files visible on qtcreator
4add_custom_target(ubuntu-clock-app_QMlFiles ALL SOURCES ${QML_JS_FILES})2add_custom_target(ubuntu-clock-app_QMlFiles ALL SOURCES ${QML_JS_FILES})
3endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
4
5
6if(CLICK_MODE)
7 set(ICON "${ICON}@30.png")
8 install(FILES ${ICON} DESTINATION ${CMAKE_INSTALL_PREFIX})
9endif(CLICK_MODE)
510
6# substitute variables in the desktop file11# substitute variables in the desktop file
7set(DESKTOP_FILE "ubuntu-clock-app.desktop")12set(DESKTOP_FILE "ubuntu-clock-app.desktop")
13message("-- Configuring ubuntu-clock-app.desktop.in")
8configure_file(${DESKTOP_FILE}.in ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE})14configure_file(${DESKTOP_FILE}.in ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE})
915
10install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE} DESTINATION ${DESKTOP_DIR})16install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE}
11install(FILES ${QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR})17 DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
18install(FILES ${MAIN_QML} DESTINATION ${UBUNTU-CLOCK_APP_DIR})
1219
13add_subdirectory(clock)20add_subdirectory(clock)
14add_subdirectory(alarm)21add_subdirectory(alarm)
1522
=== modified file 'app/alarm/CMakeLists.txt'
--- app/alarm/CMakeLists.txt 2014-06-16 14:09:12 +0000
+++ app/alarm/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -3,4 +3,4 @@
3# make the files visible in the qtcreator tree3# make the files visible in the qtcreator tree
4add_custom_target(ubuntu-clock-app_alarm_QMlFiles ALL SOURCES ${ALARM_QML_JS_FILES})4add_custom_target(ubuntu-clock-app_alarm_QMlFiles ALL SOURCES ${ALARM_QML_JS_FILES})
55
6install(FILES ${ALARM_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR}/alarm)6install(FILES ${ALARM_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK_APP_DIR}/alarm)
77
=== modified file 'app/clock/CMakeLists.txt'
--- app/clock/CMakeLists.txt 2014-06-06 18:45:49 +0000
+++ app/clock/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -3,4 +3,4 @@
3# make the files visible in the qtcreator tree3# make the files visible in the qtcreator tree
4add_custom_target(ubuntu-clock-app_clock_QMlFiles ALL SOURCES ${CLOCK_QML_JS_FILES})4add_custom_target(ubuntu-clock-app_clock_QMlFiles ALL SOURCES ${CLOCK_QML_JS_FILES})
55
6install(FILES ${CLOCK_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR}/clock)6install(FILES ${CLOCK_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK_APP_DIR}/clock)
77
=== modified file 'app/components/CMakeLists.txt'
--- app/components/CMakeLists.txt 2014-06-06 18:45:49 +0000
+++ app/components/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -3,4 +3,4 @@
3# make the files visible in the qtcreator tree3# make the files visible in the qtcreator tree
4add_custom_target(ubuntu-clock-app_components_QMlFiles ALL SOURCES ${COMPONENTS_QML_JS_FILES})4add_custom_target(ubuntu-clock-app_components_QMlFiles ALL SOURCES ${COMPONENTS_QML_JS_FILES})
55
6install(FILES ${COMPONENTS_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR}/components)6install(FILES ${COMPONENTS_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK_APP_DIR}/components)
77
=== modified file 'app/graphics/CMakeLists.txt'
--- app/graphics/CMakeLists.txt 2014-06-06 18:45:49 +0000
+++ app/graphics/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -1,6 +1,8 @@
1file(GLOB IMAGES_PNG_FILES *.png *.jpg)1file(GLOB GRAPHICS_FILES *.png *.jpg)
22
3# make the files visible in the qtcreator tree3# make the files visible in the qtcreator tree
4add_custom_target(ubuntu-clock-app_graphics_PNGFiles ALL SOURCES ${IMAGES_PNG_FILES})4if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
5 add_custom_target(ubuntu-clock-app_graphics_PNGFiles ALL SOURCES ${IMAGES_PNG_FILES})
6endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
57
6install(FILES ${IMAGES_PNG_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR}/graphics)8install(FILES ${GRAPHICS_FILES} DESTINATION ${UBUNTU-CLOCK_APP_DIR}/graphics)
79
=== modified file 'app/upstreamcomponents/CMakeLists.txt'
--- app/upstreamcomponents/CMakeLists.txt 2014-07-28 13:02:59 +0000
+++ app/upstreamcomponents/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -3,4 +3,4 @@
3# make the files visible in the qtcreator tree3# make the files visible in the qtcreator tree
4add_custom_target(ubuntu-clock-app_upstream_components_QMlFiles ALL SOURCES ${UPSTREAM_COMPONENTS_QML_JS_FILES})4add_custom_target(ubuntu-clock-app_upstream_components_QMlFiles ALL SOURCES ${UPSTREAM_COMPONENTS_QML_JS_FILES})
55
6install(FILES ${UPSTREAM_COMPONENTS_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR}/upstreamcomponents)6install(FILES ${UPSTREAM_COMPONENTS_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK_APP_DIR}/upstreamcomponents)
77
=== modified file 'app/worldclock/CMakeLists.txt'
--- app/worldclock/CMakeLists.txt 2014-07-13 11:18:31 +0000
+++ app/worldclock/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -3,4 +3,4 @@
3# make the files visible in the qtcreator tree3# make the files visible in the qtcreator tree
4add_custom_target(ubuntu-clock-app_worldclock_QMlFiles ALL SOURCES ${WORLDCLOCK_QML_JS_FILES})4add_custom_target(ubuntu-clock-app_worldclock_QMlFiles ALL SOURCES ${WORLDCLOCK_QML_JS_FILES})
55
6install(FILES ${WORLDCLOCK_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK-APP_DIR}/worldclock)6install(FILES ${WORLDCLOCK_QML_JS_FILES} DESTINATION ${UBUNTU-CLOCK_APP_DIR}/worldclock)
77
=== modified file 'backend/CMakeLists.txt'
--- backend/CMakeLists.txt 2014-07-26 09:34:15 +0000
+++ backend/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -67,11 +67,11 @@
67)67)
6868
69# Install plugin file69# Install plugin file
70install(TARGETS timezone DESTINATION ${QT_IMPORTS_DIR}/Timezone/)70install(TARGETS timezone DESTINATION ${MODULE_PATH}/Timezone/)
71install(FILES modules/Timezone/qmldir DESTINATION ${QT_IMPORTS_DIR}/Timezone/)71install(FILES modules/Timezone/qmldir DESTINATION ${MODULE_PATH}/Timezone/)
7272
73install(TARGETS datetime DESTINATION ${QT_IMPORTS_DIR}/DateTime/)73install(TARGETS datetime DESTINATION ${MODULE_PATH}/DateTime/)
74install(FILES modules/DateTime/qmldir DESTINATION ${QT_IMPORTS_DIR}/DateTime/)74install(FILES modules/DateTime/qmldir DESTINATION ${MODULE_PATH}/DateTime/)
7575
76install(TARGETS alarmsettings DESTINATION ${QT_IMPORTS_DIR}/Alarm/Settings/)76install(TARGETS alarmsettings DESTINATION ${MODULE_PATH}/Alarm/Settings/)
77install(FILES modules/Alarm/Settings/qmldir DESTINATION ${QT_IMPORTS_DIR}/Alarm/Settings/)77install(FILES modules/Alarm/Settings/qmldir DESTINATION ${MODULE_PATH}/Alarm/Settings/)
7878
=== removed directory 'cmake'
=== removed file 'cmake/Click.cmake'
--- cmake/Click.cmake 2014-06-06 18:45:49 +0000
+++ cmake/Click.cmake 1970-01-01 00:00:00 +0000
@@ -1,17 +0,0 @@
1if(CLICK_MODE)
2 STRING(REPLACE "/usr/" "/" QT_IMPORTS_DIR ${QT_IMPORTS_DIR})
3 set(CMAKE_INSTALL_PREFIX /)
4 set(CMAKE_INSTALL_BINDIR /)
5 set(DATA_DIR /)
6 set(EXEC "qmlscene $@ -I .${QT_IMPORTS_DIR} ${UBUNTU-CLOCK-APP_DIR}/${MAIN_QML}")
7 set(DESKTOP_DIR ${DATA_DIR})
8 set(ICON ".${DATA_DIR}/${ICON}")
9 install(FILES manifest.json DESTINATION ${CMAKE_INSTALL_PREFIX})
10 install(DIRECTORY "app/graphics" DESTINATION ${DATA_DIR})
11 install(FILES "${CMAKE_PROJECT_NAME}.json" DESTINATION ${DATA_DIR})
12else(CLICK_MODE)
13 set(DATA_DIR ${CMAKE_INSTALL_DATADIR}/${APP_NAME})
14 set(EXEC "qmlscene $@ ${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/qml/${MAIN_QML}")
15 set(ICON "${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON}")
16 set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications)
17endif(CLICK_MODE)
180
=== added directory 'debian'
=== added file 'debian/changelog'
--- debian/changelog 1970-01-01 00:00:00 +0000
+++ debian/changelog 2014-08-13 12:03:59 +0000
@@ -0,0 +1,327 @@
1ubuntu-clock-app (3.0-0ubuntu1) utopic; urgency=medium
2
3 [ Daniel Holbach ]
4 * Fix debhelper-but-no-misc-depends ubuntu-clock-app-autopilot.
5 * Bump Standards-Version to 3.9.5, no changes required.
6 * Add missing build-depends.
7 * Run 'wrap-and-sort'.
8 * Don't try to install files from usr/bin, there are none.
9 * Install files from usr/lib.
10 * Fail if not all files can be installed.
11 * Make ubuntu-clock-app Arch:any.
12 * Install files into ubuntu-clock-app-autopilot again (LP: #1354074).
13 * Add ${shlibs:Depends} to Depends.
14 * Remove duplicate 'Section' definition.
15 * Relax dependency from ubuntu-clock-app-autopilot on ubuntu-clock-app
16 somewhat.
17 * Run tests as autopkgtest. (LP: #1354091)
18 * Don't ignore return code of autopilot test execution. (LP: #1354095)
19 * Fix path in Exec= line of .desktop file. (LP: #1354081)
20 * Move module files into proper place. (LP: #1354079)
21 * Make pep8 happy.
22 * Add -I argument to Exec line in .desktop file.
23
24 [ Jussi Pakkanen ]
25 * Use CMake's testing framework instead of a custom target.
26 * Only install manifest in click mode.
27 * Spaces are tabs.
28 * Add a CMake option to build both as a click app and a regular one.
29
30 [ Sergio Schvezov ]
31 * Using GnuInstallDirs takes care of the arch triplet.
32 * Used a proper qt_imports_dir (still needs qml import updates).
33 * Moved gnuinstalldirs higher up for better path management.
34 * Removed a bunch of very custom variables and build on top.
35 * Removed the install target for the gallery directory as it was a dup
36 and going to the wrong path.
37 * Not installing icon for deb and just rely on us using the desktop
38 default (we can depend on the suru icon set, it's there).
39 * Made some rules filter out if not in qtcreator.
40 * Changed the path for a couple of things to use common subpaths in most
41 cases.
42
43 -- Daniel Holbach <daniel.holbach@ubuntu.com> Wed, 13 Aug 2014 11:24:41 +0000
44
45ubuntu-clock-app (2.9) utopic; urgency=medium
46
47 [Nekhelesh Ramananthan]
48 * Added multiselect mode for alarms list as per design (LP: #1349882)
49 * Fixed a small portion of the listitem behind left behind after
50 deleting it. (LP: #1354617)
51 * Added vibration settings option for alarms (LP: #1350017)
52
53 [Michael Zanetti]
54 * Improve the performance of the world city list by creating QTimeZone
55 objects only once as they are really slow to create. (LP: #1350433)
56
57 [Nicholas Skaggs]
58 * Tweak AP setup and launching
59
60 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Mon, 11 Aug 2014 16:20:00 +0200
61
62ubuntu-clock-app (2.8) utopic; urgency=medium
63
64 [Nekhelesh Ramananthan]
65 * Implemented custom swipe delete for list items (LP: #1349881)
66 * Synced bottom edge component with upstream code
67 * Added fast scroll to the world city page (LP: #1349877)
68 * Implemented the world clock UI in the main clock page
69 * Added settings option to change system time in the clock app.
70
71 [Carla Sella]
72 * Setup autopilot infrastructure and added alarm test
73 * Added objectNames required for the AP tests
74 * Expanded alarm tests using scenarios to cover different days
75
76 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Fri, 08 Aug 2014 21:05:12 +0200
77
78ubuntu-clock-app (2.7) utopic; urgency=medium
79
80 [Nekhelesh Ramananthan]
81 * Expanded base TimeZoneModel to also take a u1db query model
82 * Added more cities to the local world city list
83 * Improved the accuracy of the clock hour hand by taking into account the
84 minutes as well.
85 * Improved minute and second hand accuracy
86 * Improved the clock hands movement. It is now more smoother.
87 * Added a delete alarm button in the edit alarm page as per design
88 * Encapsulated the settings icon into an abstract button to provide haptic
89 feedback when pressed.
90
91 [Victor Thompson]
92 * Resolve build warning related to unused variable in the AlarmSettings plugin
93
94 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Mon, 04 Aug 2014 11:23:30 +0200
95
96ubuntu-clock-app (2.6) utopic; urgency=medium
97
98 [Nekhelesh Ramananthan]
99 * Clock mode is now saved in u1db to remember the user preferences
100 * Added support for alarm setting options like alarm duration and volume
101 * Updated license headers
102 * Added support to listen to Dbus changes to the alarm settings and update
103 UI automatically.
104
105 [Victor Thompson]
106 * Update digital time every second instead of every 60 seconds
107
108 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Wed, 30 Jul 2014 10:10:23 +0200
109
110ubuntu-clock-app (2.5) utopic; urgency=medium
111
112 [Nekhelesh Ramananthan]
113 * Added a page to select world cities.
114 * World cities are filtered as the user types using the SDK SortFilterModel
115 * Added a XML file with a list of popular cities
116
117 [Victor Thompson]
118 * Center the plus icon in PullToAdd.qml
119 * Use the ok icon instead of save in the edit alarm page
120
121 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Thu, 24 Jul 2014 15:20:15 +0200
122
123ubuntu-clock-app (2.4) utopic; urgency=medium
124
125 [Nekhelesh Ramananthan]
126 * Fixed some issues that were noticed while running on the device for the first time
127 * Removed AddCityButton.qml since we use the pulltoadd component now
128 * Pulltoadd animation is now more reliable since it uses grid units instead of pixels
129 * Transition to the new headers API
130 * Removed the redundant back button definition in the alarm page since it is provided
131 by the pagestack automatically.
132 * Implemented Analog mode and allowed for switching between different modes.
133
134 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Thu, 17 Jul 2014 20:32:15 +0200
135
136ubuntu-clock-app (2.3) utopic; urgency=medium
137
138 [Nekhelesh Ramananthan]
139 * Updated framework version to ubuntu-sdk-14.10-dev2
140 * Fix apparmor issue with regards to reading the ringtone folder (LP: #1340326)
141
142 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Sat, 12 Jul 2014 14:00:00 +0200
143
144ubuntu-clock-app (2.2) utopic; urgency=medium
145
146 [Nekhelesh Ramananthan]
147 * Split labels to allow for a different color time divider.
148 * Added support for 12-hour time display.
149 * Fixed CMakeList.txt for apparmor file
150 * Returned the clock time in the proper user locale
151 * Added support to edit saved alarms
152
153 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Thu, 10 Jul 2014 14:00:00 +0200
154
155ubuntu-clock-app (2.1) utopic; urgency=medium
156
157 [Nekhelesh Ramananthan]
158 * Added support for creating new alarms
159 * Added bottom edge for alarms
160 * Added tug down add city animation
161 * Updated the font size of several UI elements according to design.
162
163 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Thu, 03 Jul 2014 10:00:00 +0200
164
165ubuntu-clock-app (2.0) utopic; urgency=medium
166
167 [Nekhelesh Ramananthan]
168 * First release of the clock app reboot
169 * Implemented Digital Mode (LP: #1267146)
170 * Fixed scrollable lists on scrollable pages (LP: #1227418)
171 * Added developer guidelines
172
173 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Thu, 26 Jun 2014 18:57:25 +0200
174
175ubuntu-clock-app (1.1) raring; urgency=medium
176
177 * New icon
178 * Add -qt5 command line option (LP: #1288885)
179 * Update framework and apparmor profile version
180
181 -- Alan Pope <popey@ubuntu.com> Fri, 02 May 2014 13:57:25 +0100
182
183ubuntu-clock-app (1.0) saucy; urgency=low
184
185 [Nekhelesh Ramananthan]
186 * World Clock list needs to inform user when results cannot be retrieved due to network error (LP: #1231106)
187 * Load premade presets for new user so user doesn't end up in blank app (LP: #1226131)
188 * Return more fine-grained territorial divisions for city search results (LP: #1230153)
189 * Improve the visual appearance of the clock, timer, stopwatch and alarm
190 * Removed hour support from timer
191
192 [Sergio Schvezov]
193 * Translation for desktop and debian package
194 * Fix click package confinement issues
195
196 [Riccardo Padovani]
197 * Alarm notifications do not appear when an alarm is triggered (LP: #1233176)
198
199 [Nicholas Skaggs]
200 * Several apps have failing tests with 20131003 ui-toolkit (LP: #1234544)
201
202 [Andrea Cerisara]
203 * Autopilot Testcase Needed: Test Add World Clock (LP: #1210196)
204 * Autopilot Testcase Needed: Test Delete World Clock (LP: #1210197)
205
206 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Fri, 11 Oct 2013 01:45:36 +0200
207
208ubuntu-clock-app (0.7) saucy; urgency=low
209
210 [Nekhelesh Ramananthan]
211 * Alarm doesn't work (LP: #1187994)
212 * Clock app does not honor timezone (LP: #1191291)
213 * Clocks need to sync better and use the same backend (LP: #1201830)
214 * Clock reports time in UTC by default (LP: #1201858)
215 * On scrolling down page, hide tab header (LP: #1226128)
216 * Very difficult to select bottom city in scrollable list of 4 or more (LP: #1227674)
217 * There is no effect on the circle shape (LP: #1215332)
218 * HUD actions should not appear for toolbar button such as save or cancel (LP: #1224891)
219
220 [Paolo Rotolo]
221 * Add error message if no cities were found (LP: #1222235)
222 * Timer label updates before the timer hand reaches destination (LP: #1172869)
223 * Cancel toolbar action needs the correct icon (LP: #1222942)
224
225 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Fri, 27 Sep 2013 12:47:21 +0200
226
227ubuntu-clock-app (0.6) saucy; urgency=low
228
229 [Nekhelesh Ramananthan]
230 * Digital clock font size is smaller than design spec (LP: #1215334)
231 * Font in world city list are too big (LP: #1200594)
232 * Timer does not inform user if there are no presets (LP: #1169182)
233 * Clicking the Add preset or add city button should reflect on the title for visual feedback (LP: #1168329)
234 * In Timer, clock face is off screen when selecting preset (LP: #1219770)
235 * Toolbar prevents text preset from accepting input (LP: #1209024)
236
237 [Paolo Rotolo]
238 * Search button icon is not as per design specifications (LP: #1221252)
239 * Search icon isn't in Ubuntu Touch Style (LP: #1202364)
240 * Reset button doesn't work while the stopwatch is running (LP: #1204861)
241 * Timer sometimes does not reset its clock hands after stopping it (LP: #1197908)
242 * Provide the ability to delete a stopwatch lap (LP: #1220375)
243 * Scrolling list of cities overlaps labels (LP: #1219768)
244 * Reset and lap icons appear pixelated on a phone (LP: #1218751)
245 * While searching world cities provide a small pause before going online to search (LP: #1200410)
246
247 [Camron]
248 * Stopwatch runs backwards (LP: #1217743)
249
250 [Andrew Starr-Bochicchio]
251 * Sunrise/Sunset Times should be retrieved online sparingly (LP: #1200410)
252
253 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Fri, 06 Sep 2013 23:26:54 +0200
254
255ubuntu-clock-app (0.5) saucy; urgency=low
256
257 [Nekhelesh Ramananthan]
258 * Added background gradients support with proper use of theme palette colors
259 * Connected Sunrise/Sunset to the current location set by the user (LP: #1195701)
260 * Fixed inaccurate timer touch input (LP: #1186396, #1168327)
261 * Fixed second hand moving erratically in mobile devices (LP: #1186279)
262 * Fixed timer being able to start without setting any time (LP: #1197914)
263 * Fixed city name going over the search box (LP: #1199379)
264
265 [Riccardo Padovani]
266 * Added support to pause timer (LP: #1166264)
267 * Added state names to world city search to distinguish cities with duplicate names (LP: #1197436)
268 * Added autopilot test to test adding a timer (LP: #1188800)
269 * Added autopilot test to run a saved timer preset (LP: #1188801)
270 * Added autopilot test to delete a saved timer preset (LP: #1188807)
271
272 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Tue, 16 Jul 2013 21:24:53 +0200
273
274ubuntu-clock-app (0.4) raring; urgency=low
275
276 * Added World Clocks
277 * Added autopilot tests for Stopwatch (LP: #1188796, #1188812, #1188794)
278 * Implemented initial visual designs for Clock
279 * Fixed Timer runs slower than expected (LP: #117655)
280 * Add city clock from toolbar (LP: #1164943)
281 * Added Animations for Clock, Timer and Stopwatch (LP: #1168325, #1169153)
282
283 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Fri, 14 Jun 2013 22:31:07 +0200
284
285ubuntu-clock-app (0.3) raring; urgency=low
286
287 * Added translations support
288
289 -- David Planella <david.planella@ubuntu.com> Tue, 07 May 2013 16:10:25 +0200
290
291ubuntu-clock-app (0.2) raring; urgency=low
292
293 [ Nekhelesh Ramananthan ]
294 * Fix Timer Label bugs (LP: #1172864, #1172865, #1173572).
295 * Add blip to the stopwatch (LP: #1168468).
296 * Tweak behavior of timer hand (LP: #1168335).
297 * Timer format should read mm:ss and count upwards into minutes and hours (LP: #1171467).
298
299 [ Alessandro Pozzi ]
300 * Stopwatch needs to show 1/10th of a second in the label for better accuracy (LP: #1163855).
301 * Add gradient to the stopwatch second hand (LP: #1168402).
302
303 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Sun, 28 Apr 2013 15:21:19 +0200
304
305ubuntu-clock-app (0.1) raring; urgency=low
306
307 [ Michael Hall ]
308 * Initial release
309
310 [ Juha Ristolainen ]
311 * Implemented basic clock layout
312
313 [ Nick Leppänen Larsson ]
314 * Implemented Analog Clock Face API
315 * Basic clock layout
316
317 [ Nekhelesh Ramananthan ]
318 * Add copyright/license headers to the clock app files (LP: #1164594)
319 * Analog clock markers around 3,6,9,12 should be differentiated from others (LP: #1163852)
320 * Clock app code style does not follow qml, javascript guidelines (LP: #1167040)
321 * No easy way to set timer for an hour or more (LP: #1163854)
322
323 [ Alessandro Pozzi ]
324 * Timer function requires design for adding and editing presets (LP: #1164443)
325 * Implemented basic stopwatch functionality
326
327 -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Thu, 11 Apr 2013 21:09:19 +0200
0328
=== added file 'debian/compat'
--- debian/compat 1970-01-01 00:00:00 +0000
+++ debian/compat 2014-08-13 12:03:59 +0000
@@ -0,0 +1,1 @@
19
02
=== added file 'debian/control'
--- debian/control 1970-01-01 00:00:00 +0000
+++ debian/control 2014-08-13 12:03:59 +0000
@@ -0,0 +1,43 @@
1Source: ubuntu-clock-app
2Priority: extra
3Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>
4Build-Depends: cmake,
5 debhelper (>= 9),
6 gettext,
7 intltool,
8 python3 | python3-all | python3-dev | python3-all-dev,
9 python3-minimal,
10 qt5-default,
11 qtbase5-dev,
12 qtdeclarative5-dev,
13Standards-Version: 3.9.5
14Section: misc
15Homepage: https://launchpad.net/ubuntu-clock-app
16Vcs-Bzr: https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0
17XS-Testsuite: autopkgtest
18
19Package: ubuntu-clock-app
20Architecture: any
21Depends: qmlscene,
22 qtdeclarative5-localstorage-plugin,
23 qtdeclarative5-qtquick2-plugin,
24 qtdeclarative5-u1db1.0,
25 qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
26 qtdeclarative5-xmllistmodel-plugin,
27 suru-icon-theme | ubuntu-mobile-icons,
28 ${misc:Depends},
29 ${shlibs:Depends},
30Description: Clock application
31 Ubuntu Core Clock application which provides Alarm, Clock and
32 World Clock functionalities.
33
34Package: ubuntu-clock-app-autopilot
35Architecture: all
36Depends: libautopilot-qt,
37 libqt5test5,
38 ubuntu-clock-app (>= ${source:Version}),
39 ubuntu-ui-toolkit-autopilot,
40 ${misc:Depends},
41 ${python3:Depends},
42Description: Autopilot tests for Ubuntu Clock Application
43 This package contains autopilot tests for the Ubuntu Clock application.
044
=== added file 'debian/copyright'
--- debian/copyright 1970-01-01 00:00:00 +0000
+++ debian/copyright 2014-08-13 12:03:59 +0000
@@ -0,0 +1,54 @@
1Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2Upstream-Name: ubuntu-clock-app
3Source: https://launchpad.net/ubuntu-clock-app
4
5Files: *
6Copyright: 2013, 2014 Canonical Ltd.
7 2013 Alessandro Pozzi <signor.hyde@gmail.com>
8 2013 Juha Ristolainen <juha.ristolainen@codemancers.fi>
9 2013 Marco Biscaro <marcobiscaro2112@gmail.com>
10 2013, 2014 Nekhelesh Ramananthan <krnekhelesh@gmail.com>
11 2013 Nick Leppänen Larsson <frals@frals.se>
12 2013 Omer Akram <om26er@ubuntu.com>
13 2013 Paolo Rotolo <paolorotolo@ubuntu.com>
14 2013, 2014 Riccardo Padovani <rpadovani@ubuntu.com>
15 2014 Bartosz Kosiorek <gang65@poczta.onet.pl>
16License: GPL-3
17
18Files: debian/*
19Copyright: 2013, 2014 Canonical Ltd.
20License: LGPL-3
21
22License: GPL-3
23 This package is free software; you can redistribute it and/or
24 modify it under the terms of the GNU General Public
25 License as published by the Free Software Foundation; either
26 version 3 of the License.
27 .
28 This package is distributed in the hope that it will be useful,
29 but WITHOUT ANY WARRANTY; without even the implied warranty of
30 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31 General Public License for more details.
32 .
33 You should have received a copy of the GNU General Public License
34 along with this program. If not, see <http://www.gnu.org/licenses/>.
35 .
36 On Debian systems, the complete text of the GNU General
37 Public License can be found in "/usr/share/common-licenses/GPL-3".
38
39License: LGPL-3
40 This package is free software; you can redistribute it and/or
41 modify it under the terms of the GNU Lesser General Public
42 License as published by the Free Software Foundation; either
43 version 3 of the License.
44 .
45 This package is distributed in the hope that it will be useful,
46 but WITHOUT ANY WARRANTY; without even the implied warranty of
47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
48 Lesser General Public License for more details.
49 .
50 You should have received a copy of the GNU General Public License
51 along with this program. If not, see <http://www.gnu.org/licenses/>.
52 .
53 On Debian systems, the complete text of the GNU Lesser General
54 Public License can be found in "/usr/share/common-licenses/LGPL-3".
055
=== added file 'debian/rules'
--- debian/rules 1970-01-01 00:00:00 +0000
+++ debian/rules 2014-08-13 12:03:59 +0000
@@ -0,0 +1,20 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3
4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=1
6
7%:
8 dh $@
9
10override_dh_auto_configure:
11 dh_auto_configure -- -DCLICK_MODE=OFF
12
13override_dh_auto_test:
14 echo
15
16override_dh_install:
17 dh_install --fail-missing
18
19override_dh_python3:
20 dh_python3 -pubuntu-clock-app-autopilot
021
=== added directory 'debian/tests'
=== added file 'debian/tests/control'
--- debian/tests/control 1970-01-01 00:00:00 +0000
+++ debian/tests/control 2014-08-13 12:03:59 +0000
@@ -0,0 +1,13 @@
1Tests: make-autopilot make-test
2Depends: autopilot-touch,
3 cmake,
4 libautopilot-qt,
5 libqt5test5,
6 python3-autopilot,
7 qml-module-qttest,
8 qt5-default,
9 qtbase5-dev,
10 qtdeclarative5-dev,
11 qtdeclarative5-dev-tools,
12 ubuntu-ui-toolkit-autopilot
13Restrictions: build-needed
014
=== added file 'debian/tests/make-autopilot'
--- debian/tests/make-autopilot 1970-01-01 00:00:00 +0000
+++ debian/tests/make-autopilot 2014-08-13 12:03:59 +0000
@@ -0,0 +1,2 @@
1#!/bin/sh
2cd obj*; make autopilot
03
=== added file 'debian/tests/make-test'
--- debian/tests/make-test 1970-01-01 00:00:00 +0000
+++ debian/tests/make-test 2014-08-13 12:03:59 +0000
@@ -0,0 +1,2 @@
1#!/bin/sh
2cd obj*; make test
03
=== added file 'debian/ubuntu-clock-app-autopilot.install'
--- debian/ubuntu-clock-app-autopilot.install 1970-01-01 00:00:00 +0000
+++ debian/ubuntu-clock-app-autopilot.install 2014-08-13 12:03:59 +0000
@@ -0,0 +1,1 @@
1/usr/lib/*/dist-packages/ubuntu_clock_app/*
02
=== added file 'debian/ubuntu-clock-app.install'
--- debian/ubuntu-clock-app.install 1970-01-01 00:00:00 +0000
+++ debian/ubuntu-clock-app.install 2014-08-13 12:03:59 +0000
@@ -0,0 +1,2 @@
1usr/lib/*/qt5/qml/ClockApp/*
2usr/share/*
03
=== modified file 'manifest.json'
--- manifest.json 2014-08-06 20:14:02 +0000
+++ manifest.json 2014-08-13 12:03:59 +0000
@@ -4,15 +4,20 @@
4 "framework": "ubuntu-sdk-14.10-dev2",4 "framework": "ubuntu-sdk-14.10-dev2",
5 "architecture": "all",5 "architecture": "all",
6 "title": "Clock Reboot",6 "title": "Clock Reboot",
7 "icon": "clock@30.png",
7 "hooks": {8 "hooks": {
8 "ubuntu-clock-app": {9 "ubuntu-clock-app": {
9 "apparmor": "ubuntu-clock-app.json",10 "apparmor": "ubuntu-clock-app.json",
10 "desktop": "ubuntu-clock-app.desktop"11 "desktop": "share/applications/ubuntu-clock-app.desktop"
11 }12 }
12 },13 },
13 "version": "0.1",14 "version": "3.0.@BZR_REVNO@",
14 "maintainer": "Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>",15 "maintainer": "Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>",
15 "x-test": {16 "x-test": {
16 "autopilot": "ubuntu_clock_app"17 "autopilot": "ubuntu_clock_app"
18 },
19 "x-source": {
20 "vcs-bzr": "@BZR_SOURCE@",
21 "vcs-bzr-revno": "@BZR_REVNO@"
17 }22 }
18}
19\ No newline at end of file23\ No newline at end of file
24}
2025
=== added file 'tests/CMakeLists.txt'
--- tests/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ tests/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -0,0 +1,1 @@
1add_subdirectory(autopilot)
02
=== added file 'tests/autopilot/CMakeLists.txt'
--- tests/autopilot/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ tests/autopilot/CMakeLists.txt 2014-08-13 12:03:59 +0000
@@ -0,0 +1,8 @@
1execute_process(COMMAND python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
2 OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
3
4if(INSTALL_TESTS)
5 install(DIRECTORY ${AUTOPILOT_DIR}
6 DESTINATION ${PYTHON_PACKAGE_DIR}
7 )
8endif(INSTALL_TESTS)
09
=== modified file 'tests/autopilot/run' (properties changed: -x to +x)
--- tests/autopilot/run 2014-07-31 16:58:56 +0000
+++ tests/autopilot/run 2014-08-13 12:03:59 +0000
@@ -7,5 +7,7 @@
77
8SCRIPTPATH=`dirname $0`8SCRIPTPATH=`dirname $0`
9pushd ${SCRIPTPATH}9pushd ${SCRIPTPATH}
10autopilot run ubuntu-clock-app10autopilot run ubuntu_clock_app
11retcode=$?
11popd12popd
13exit $retcode
1214
=== modified file 'tests/autopilot/ubuntu_clock_app/emulators.py'
--- tests/autopilot/ubuntu_clock_app/emulators.py 2014-08-09 18:09:26 +0000
+++ tests/autopilot/ubuntu_clock_app/emulators.py 2014-08-13 12:03:59 +0000
@@ -395,7 +395,8 @@
395 raise ClockEmulatorException('Error deleting alarm.')395 raise ClockEmulatorException('Error deleting alarm.')
396396
397397
398class ListItemWithActions(ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase):398class ListItemWithActions(
399 ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase):
399400
400 def swipe_to_delete(self):401 def swipe_to_delete(self):
401 x, y, width, height = self.globalRect402 x, y, width, height = self.globalRect
402403
=== modified file 'tests/autopilot/ubuntu_clock_app/tests/__init__.py'
--- tests/autopilot/ubuntu_clock_app/tests/__init__.py 2014-08-08 22:30:20 +0000
+++ tests/autopilot/ubuntu_clock_app/tests/__init__.py 2014-08-13 12:03:59 +0000
@@ -19,6 +19,7 @@
19import os.path19import os.path
20import os20import os
21import shutil21import shutil
22import glob
22import logging23import logging
23import fixtures24import fixtures
2425
@@ -41,13 +42,15 @@
41 """42 """
4243
43 local_location = os.path.dirname(os.path.dirname(os.getcwd()))44 local_location = os.path.dirname(os.path.dirname(os.getcwd()))
44 local_location_qml = os.path.join(45 local_location_qml = os.path.join(local_location,
45 local_location, 'app/ubuntu-clock-app.qml')46 'app/ubuntu-clock-app.qml')
46 local_location_backend = os.path.join(local_location, 'builddir/backend')47 local_location_backend = os.path.join(local_location, 'builddir/backend')
47 installed_location_backend = \48 installed_location_backend = ""
48 '/usr/share/ubuntu-clock-app/builddir/backend'49 if glob.glob('/usr/lib/*/qt5/qml/ClockApp'):
50 installed_location_backend = \
51 glob.glob('/usr/lib/*/qt5/qml/ClockApp')[0]
49 installed_location_qml = \52 installed_location_qml = \
50 '/usr/share/ubuntu-clock-app/app/ubuntu-clock-app.qml'53 '/usr/share/ubuntu-clock-app/ubuntu-clock-app.qml'
5154
52 # note this directory could change to com.ubuntu.clock at some point55 # note this directory could change to com.ubuntu.clock at some point
53 sqlite_dir = os.path.expanduser(56 sqlite_dir = os.path.expanduser(
5457
=== modified file 'tests/unit/tst_hellocomponent.qml'
--- tests/unit/tst_hellocomponent.qml 2014-07-31 16:58:56 +0000
+++ tests/unit/tst_hellocomponent.qml 2014-08-13 12:03:59 +0000
@@ -1,7 +1,7 @@
1import QtQuick 2.01import QtQuick 2.0
2import QtTest 1.02import QtTest 1.0
3import Ubuntu.Components 0.13import Ubuntu.Components 0.1
4import "../../components"4import "../../app/components"
55
6// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html6// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html
77

Subscribers

People subscribed via source and target branches

to all changes: