Merge lp:~vthompson/ubuntu-weather-app/build-reboot into lp:ubuntu-weather-app

Proposed by Victor Thompson
Status: Merged
Approved by: Martin Borho
Approved revision: 5
Merged at revision: 2
Proposed branch: lp:~vthompson/ubuntu-weather-app/build-reboot
Merge into: lp:ubuntu-weather-app
Diff against target: 499 lines (+255/-117)
14 files modified
CMakeLists.txt (+75/-62)
app/CMakeLists.txt (+15/-0)
app/components/CMakeLists.txt (+5/-0)
app/ubuntu-weather-app.qml (+49/-0)
backend/CMakeLists.txt (+29/-0)
click/CMakeLists.txt (+0/-15)
manifest.json.in (+3/-3)
po/CMakeLists.txt (+33/-0)
po/com.ubuntu.weather.pot (+32/-0)
tests/CMakeLists.txt (+3/-0)
tests/autopilot/CMakeLists.txt (+8/-0)
ubuntu-weather-app.apparmor (+3/-2)
ubuntu-weather-app.in (+0/-3)
ubuntu-weather-app.qmlproject (+0/-32)
To merge this branch: bzr merge lp:~vthompson/ubuntu-weather-app/build-reboot
Reviewer Review Type Date Requested Status
Martin Borho Approve
Nekhelesh Ramananthan (community) Approve
Review via email: mp+247372@code.launchpad.net

This proposal supersedes a proposal from 2015-01-23.

Commit message

* Fill out file structure to allow CMake to build, using the file structure typical in QtCreator.

Description of the change

* Fill out file structure to allow CMake to build, assuming old file layout.

Let's decide how we want to organize the code for our components/plugins/etc. This currently assumes we will use the structure that the Weather app used previously:

components/
resources/
plugins/
po/
tests/

I'm A-OK with that if we want to keep things that way, otherwise I'd suggest the following (which is how QtCreator lays out a C++/QML application):

app/components/
app/graphics/
app/tests/
apps/ui/
backend/modules/
backend/tests/
po/

To post a comment you must log in.
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

I would also recommend going with the 2nd folder structure (which is also how QtC lays out) since personally I think it is more organized. Waiting for a decision from m-b-o.

Revision history for this message
Martin Borho (martin-borho) wrote :

Yes, second folder structure seems much more organized, let us go with that one!

3. By Victor Thompson

Update file structure

Revision history for this message
Martin Borho (martin-borho) wrote :

Looks good!

Should we add a blueprint "ubuntu-weather-app.qml" at start too?

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Please move "tests" outside the app directory as it is not something we will include in our click package.

23 +add_subdirectory(tests)

review: Needs Fixing
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

@Victor, I made the necessary fixes and changes to https://code.launchpad.net/~nik90/ubuntu-weather-app/weather-reboot-fixes/+merge/247495. Please merge it into this MP.

4. By Victor Thompson

Merge nik90's changes

5. By Victor Thompson

Remove last Clock app reference

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

LGTM! I think the basic stuff needed to start development and running on phone is now complete with this MR. We can do debian and autopilot setup in separate MPs.

review: Approve
Revision history for this message
Martin Borho (martin-borho) wrote :

Looks good for me too! Let's go! :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2015-01-22 21:56:55 +0000
+++ CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -1,95 +1,108 @@
1project(com.ubuntu.weather)1project(com.ubuntu.weather)
2cmake_minimum_required(VERSION 2.8.9)2cmake_minimum_required(VERSION 2.8.9)
3
3find_program(INTLTOOL_MERGE intltool-merge)4find_program(INTLTOOL_MERGE intltool-merge)
5if(NOT INTLTOOL_MERGE)
6 message(FATAL_ERROR "Could not find intltool-merge, please install the intltool package")
7endif()
4find_program(INTLTOOL_EXTRACT intltool-extract)8find_program(INTLTOOL_EXTRACT intltool-extract)
9if(NOT INTLTOOL_EXTRACT)
10 message(FATAL_ERROR "Could not find intltool-extract, please install the intltool package")
11endif()
12
13set (UBUNTU_MANIFEST_PATH "manifest.json.in" CACHE INTERNAL "Relative path to the manifest file")
14set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra")
515
6find_package(Qt5Core REQUIRED)16find_package(Qt5Core REQUIRED)
7find_package(Qt5Qml REQUIRED)17find_package(Qt5Qml REQUIRED)
8find_package(Qt5Quick REQUIRED)18find_package(Qt5Quick REQUIRED)
19
20# Automatically create moc files
9set(CMAKE_AUTOMOC ON)21set(CMAKE_AUTOMOC ON)
1022
23option(INSTALL_TESTS "Install the tests on make install" on)
24option(CLICK_MODE "Build as a click package" on)
25
26# Tests
27enable_testing()
28
11# Standard install paths29# Standard install paths
12include(GNUInstallDirs)30include(GNUInstallDirs)
1331
14option(INSTALL_TESTS "Install the tests on make install" on)
15option(CLICK_MODE "Installs to a contained location" on)
16
17set(APP_NAME weather)32set(APP_NAME weather)
18set(DESKTOP_FILE "${PROJECT_NAME}_${APP_NAME}.desktop")
19set(APP_HARDCODE ubuntu-weather-app)33set(APP_HARDCODE ubuntu-weather-app)
20set(MAIN_QML ubuntu-weather-app.qml)34set(MAIN_QML ${APP_HARDCODE}.qml)
21set(ICON_FILE weather-app@30.png)35set(DESKTOP_FILE "${APP_HARDCODE}.desktop")
36set(ICON weather-app@30.png)
22set(AUTOPILOT_DIR ubuntu_weather_app)37set(AUTOPILOT_DIR ubuntu_weather_app)
23set(UBUNTU_MANIFEST_PATH "click/manifest.json.in" CACHE INTERNAL "Relative path to the manifest file")38
2439# Set install paths
25# components PATH
26execute_process(
27 COMMAND dpkg-architecture -qDEB_HOST_MULTIARCH
28 OUTPUT_VARIABLE ARCH_TRIPLET
29 OUTPUT_STRIP_TRAILING_WHITESPACE
30)
31set(QT_IMPORTS_DIR "lib/${ARCH_TRIPLET}")
32execute_process(
33 COMMAND dpkg-architecture -qDEB_HOST_ARCH
34 OUTPUT_VARIABLE CLICK_ARCH
35 OUTPUT_STRIP_TRAILING_WHITESPACE
36)
37
38if(CLICK_MODE)40if(CLICK_MODE)
39 if(NOT DEFINED BZR_SOURCE)41 set(CMAKE_INSTALL_PREFIX "/")
40 set(BZR_SOURCE "lp:${APP_HARDCODE}")42 set(UBUNTU-WEATHER_APP_DIR "${CMAKE_INSTALL_DATADIR}/qml")
41 message("-- Setting BZR_SOURCE to ${BZR_SOURCE}")43
42 endif(NOT DEFINED BZR_SOURCE)44 set(QT_IMPORTS_DIR "${CMAKE_INSTALL_LIBDIR}")
43 set(CMAKE_INSTALL_PREFIX /)45 set(EXEC "qmlscene $@ ${UBUNTU-WEATHER_APP_DIR}/${MAIN_QML}")
44 set(CMAKE_INSTALL_BINDIR /)46 set(MODULE_PATH ${QT_IMPORTS_DIR})
45 set(DATA_DIR /)47 if(NOT BZR_REVNO)
46 set(ICON ${ICON_FILE})48 execute_process(
47 set(EXEC "qmlscene $@ ${MAIN_QML}")49 COMMAND bzr revno
48 set(DESKTOP_DIR ${DATA_DIR})50 OUTPUT_VARIABLE BZR_REVNO
51 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
52 OUTPUT_STRIP_TRAILING_WHITESPACE
53 )
54 endif(NOT BZR_REVNO)
55 if(NOT BZR_SOURCE)
56 set(BZR_SOURCE "lp:${APP_HARDCODE}/reboot")
57 message("-- Setting BZR_SOURCE to ${BZR_SOURCE}")
58 endif(NOT BZR_SOURCE)
49else(CLICK_MODE)59else(CLICK_MODE)
50 set(DATA_DIR ${CMAKE_INSTALL_DATADIR}/${APP_HARDCODE})60 set(UBUNTU-WEATHER_APP_DIR "${CMAKE_INSTALL_DATADIR}/ubuntu-weather-app")
51 set(EXEC ${APP_HARDCODE})61 execute_process(
52 set(ICON ${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON_FILE})62 COMMAND qmake -query QT_INSTALL_QML
53 configure_file(${APP_HARDCODE}.in63 OUTPUT_VARIABLE QT_IMPORTS_DIR
54 ${CMAKE_CURRENT_BINARY_DIR}/${APP_HARDCODE})64 OUTPUT_STRIP_TRAILING_WHITESPACE
55 install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${APP_HARDCODE}65 )
56 DESTINATION ${CMAKE_INSTALL_BINDIR})66 set(MODULE_PATH ${QT_IMPORTS_DIR}/WeatherApp)
57 set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications)
58endif(CLICK_MODE)67endif(CLICK_MODE)
5968
69if(${CLICK_MODE})
70 message("-- Configuring manifest.json")
71
72 execute_process(
73 COMMAND dpkg-architecture -qDEB_HOST_ARCH
74 OUTPUT_VARIABLE CLICK_ARCH
75 OUTPUT_STRIP_TRAILING_WHITESPACE
76 )
77
78 configure_file(${UBUNTU_MANIFEST_PATH} ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
79 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json DESTINATION ${CMAKE_INSTALL_PREFIX})
80 install(FILES "${APP_HARDCODE}.apparmor" DESTINATION ${CMAKE_INSTALL_PREFIX})
81else(CLICK_MODE)
82 set(EXEC "qmlscene $@ -I ${MODULE_PATH} ${CMAKE_INSTALL_PREFIX}/${UBUNTU-WEATHER_APP_DIR}/${MAIN_QML}")
83endif()
84
85
60file(GLOB_RECURSE I18N_SRC_FILES86file(GLOB_RECURSE I18N_SRC_FILES
61 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/po87 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/po
62 components/*.qml components/*.js *.qml)88 *.qml *.js)
63list(APPEND I18N_SRC_FILES ${DESKTOP_FILE}.in.in.h)89list(APPEND I18N_SRC_FILES ${DESKTOP_FILE}.in.in.h)
64list(SORT I18N_SRC_FILES)90list(SORT I18N_SRC_FILES)
65message("Found ${I18N_SRC_FILES}")
66
67file(GLOB SRC_FILES
68 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
69 *.qml *.js *.png *.js)
70install(DIRECTORY components resources DESTINATION ${DATA_DIR})
71install(FILES key.js DESTINATION ${DATA_DIR})
72install(FILES ${MAIN_QML} ${ICON_FILE} DESTINATION ${DATA_DIR})
7391
74configure_file(${DESKTOP_FILE}.in.in ${DESKTOP_FILE}.in)92configure_file(${DESKTOP_FILE}.in.in ${DESKTOP_FILE}.in)
7593
76add_custom_target(${DESKTOP_FILE} ALL94add_custom_target(${DESKTOP_FILE} ALL
77 COMMENT "Merging translations into ${DESKTOP_FILE}"95 COMMENT "Merging translations into ${DESKTOP_FILE}..."
78 COMMAND LC_ALL=C ${INTLTOOL_MERGE} -d -u ${CMAKE_SOURCE_DIR}/po ${DESKTOP_FILE}.in ${DESKTOP_FILE} >/dev/null96 COMMAND LC_ALL=C ${INTLTOOL_MERGE} -d -u ${CMAKE_SOURCE_DIR}/po ${DESKTOP_FILE}.in ${DESKTOP_FILE}
79)97)
8098
81install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE}99install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE}
82 DESTINATION ${DESKTOP_DIR})100 DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
83101
84# Tests102add_subdirectory(app)
85enable_testing()103add_subdirectory(backend)
86
87file(GLOB QML_JS_FILES *.qml *.js)
88add_custom_target(ubuntu-weather-app_QMlFiles ALL SOURCES ${QML_JS_FILES})
89
90add_subdirectory(click)
91add_subdirectory(po)104add_subdirectory(po)
92add_subdirectory(tests)105add_subdirectory(tests)
93add_subdirectory(components)106
94add_subdirectory(plugins)107# TODO: Add custom target for autopilot and run.
95108
96109
=== added directory 'app'
=== added file 'app/CMakeLists.txt'
--- app/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ app/CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -0,0 +1,15 @@
1if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
2 file(GLOB QML_JS_FILES *.qml *.js)
3 add_custom_target(ubuntu-weather-app_QMlFiles ALL SOURCES ${QML_JS_FILES})
4endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
5
6
7if(CLICK_MODE)
8 set(ICON ${ICON})
9 install(FILES ${ICON} DESTINATION ${CMAKE_INSTALL_PREFIX})
10endif(CLICK_MODE)
11
12install(FILES ${MAIN_QML} DESTINATION ${UBUNTU-WEATHER_APP_DIR})
13
14add_subdirectory(components)
15
016
=== added directory 'app/components'
=== added file 'app/components/CMakeLists.txt'
--- app/components/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ app/components/CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -0,0 +1,5 @@
1file(GLOB COMPONENTS_QML_JS_FILES *.qml *.js)
2
3add_custom_target(ubuntu-weather-app_components_QMlFiles ALL SOURCES ${COMPONENTS_QML_JS_FILES})
4
5install(FILES ${COMPONENTS_QML_JS_FILES} DESTINATION ${UBUNTU-WEATHER_APP_DIR}/components)
06
=== added file 'app/ubuntu-weather-app.qml'
--- app/ubuntu-weather-app.qml 1970-01-01 00:00:00 +0000
+++ app/ubuntu-weather-app.qml 2015-01-24 00:41:21 +0000
@@ -0,0 +1,49 @@
1/*
2 * Copyright (C) 2015 Canonical Ltd
3 *
4 * This file is part of Ubuntu Weather App
5 *
6 * Ubuntu Weather App is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 3 as
8 * published by the Free Software Foundation.
9 *
10 * Ubuntu Weather App is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19import QtQuick 2.3
20import Ubuntu.Components 1.1
21
22MainView {
23 id: weatherApp
24
25 objectName: "weather"
26
27 applicationName: "com.ubuntu.weather"
28
29 automaticOrientation: false
30
31 width: units.gu(40)
32 height: units.gu(70)
33
34 backgroundColor: "#F5F5F5"
35
36 useDeprecatedToolbar: false
37 anchorToKeyboard: true
38
39
40 Page {
41 title: "Weather Reboot"
42
43 Label {
44 anchors.centerIn: parent
45 text: "Let the awesomeness begin :)"
46 }
47
48 }
49}
050
=== renamed file 'weather-app@30.png' => 'app/weather-app@30.png'
=== added directory 'backend'
=== added file 'backend/CMakeLists.txt'
--- backend/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ backend/CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -0,0 +1,29 @@
1project(backend)
2
3include_directories(
4 ${CMAKE_CURRENT_SOURCE_DIR}
5)
6
7#set(
8# timeZone_SRCS
9# TimeZone/timezone.cpp
10# TimeZone/timezone_plugin.cpp
11#)
12
13#add_library(TimeZoneBackend MODULE
14# ${timeZone_SRCS}
15#)
16#set_target_properties(TimeZoneBackend PROPERTIES
17# LIBRARY_OUTPUT_DIRECTORY TimeZone)
18
19#qt5_use_modules(TimeZoneBackend Gui Qml Quick)
20
21# Copy qmldir file to build dir for running in QtCreator
22#add_custom_target(TimeZoneBackend-qmldir ALL
23# COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/TimeZone/qmldir ${CMAKE_CURRENT_BINARY_DIR}/TimeZone
24# DEPENDS ${QML_JS_FILES}
25#)
26
27# Install plugin file
28#install(TARGETS TimeZoneBackend DESTINATION ${QT_IMPORTS_DIR}/qt5/qml/UbuntuWeather/TimeZone/)
29#install(FILES TimeZone/qmldir DESTINATION ${QT_IMPORTS_DIR}/qt5/qml/UbuntuWeather/TimeZone/)
030
=== removed directory 'click'
=== removed file 'click/CMakeLists.txt'
--- click/CMakeLists.txt 2015-01-22 21:56:55 +0000
+++ click/CMakeLists.txt 1970-01-01 00:00:00 +0000
@@ -1,15 +0,0 @@
1if(CLICK_MODE)
2 if(NOT BZR_REVNO)
3 set(BZR_REVNO "latest")
4 endif(NOT BZR_REVNO)
5 configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
6 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json weather.apparmor
7 DESTINATION ${CMAKE_INSTALL_PREFIX})
8
9 # make the click files visible in qtcreator
10 file(GLOB CLICK_FILES
11 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
12 *.json *.json.in *.apparmor)
13
14 add_custom_target(com_ubuntu_weather_CLICKFiles ALL SOURCES ${CLICK_FILES})
15endif(CLICK_MODE)
160
=== renamed file 'click/manifest.json.in' => 'manifest.json.in'
--- click/manifest.json.in 2015-01-22 21:56:55 +0000
+++ manifest.json.in 2015-01-24 00:41:21 +0000
@@ -4,15 +4,15 @@
4 "framework": "ubuntu-sdk-14.10",4 "framework": "ubuntu-sdk-14.10",
5 "hooks": {5 "hooks": {
6 "weather": {6 "weather": {
7 "apparmor": "weather.apparmor",7 "apparmor": "ubuntu-weather-app.apparmor",
8 "desktop": "@DESKTOP_FILE@"8 "desktop": "@CMAKE_INSTALL_DATADIR@/applications/ubuntu-weather-app.desktop"
9 }9 }
10 },10 },
11 "icon": "@ICON@",11 "icon": "@ICON@",
12 "maintainer": "Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>",12 "maintainer": "Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>",
13 "name": "@PROJECT_NAME@",13 "name": "@PROJECT_NAME@",
14 "title": "Weather",14 "title": "Weather",
15 "version": "2.0.@BZR_REVNO@",15 "version": "3.0.@BZR_REVNO@",
16 "x-source": {16 "x-source": {
17 "vcs-bzr": "@BZR_SOURCE@",17 "vcs-bzr": "@BZR_SOURCE@",
18 "vcs-bzr-revno": "@BZR_REVNO@"18 "vcs-bzr-revno": "@BZR_REVNO@"
1919
=== added directory 'po'
=== added file 'po/CMakeLists.txt'
--- po/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ po/CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -0,0 +1,33 @@
1include(FindGettext)
2find_program(GETTEXT_XGETTEXT_EXECUTABLE xgettext)
3
4set(DOMAIN ${PROJECT_NAME})
5set(POT_FILE ${DOMAIN}.pot)
6file(GLOB PO_FILES *.po)
7
8# Creates the .pot file containing the translations template
9add_custom_target(${POT_FILE} ALL
10 COMMENT "Generating translation template"
11 COMMAND ${INTLTOOL_EXTRACT} --update --type=gettext/ini
12 --srcdir=${CMAKE_SOURCE_DIR} ${DESKTOP_FILE}.in.in
13 COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} -o ${POT_FILE}
14 -D ${CMAKE_CURRENT_SOURCE_DIR}
15 -D ${CMAKE_CURRENT_BINARY_DIR}
16 --from-code=UTF-8
17 --c++ --qt --add-comments=TRANSLATORS
18 --keyword=tr --keyword=tr:1,2 --keyword=N_
19 --package-name='${APP_HARDCODE}'
20 --copyright-holder='Canonical Ltd.'
21 ${I18N_SRC_FILES}
22 COMMAND ${CMAKE_COMMAND} -E copy ${POT_FILE} ${CMAKE_CURRENT_SOURCE_DIR})
23
24# Builds the binary translations catalog for each language
25# it finds source translations (*.po) for
26foreach(PO_FILE ${PO_FILES})
27 get_filename_component(LANG ${PO_FILE} NAME_WE)
28 gettext_process_po_files(${LANG} ALL PO_FILES ${PO_FILE})
29 set(INSTALL_DIR ${CMAKE_INSTALL_LOCALEDIR}/${LANG}/LC_MESSAGES)
30 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG}.gmo
31 DESTINATION ${INSTALL_DIR}
32 RENAME ${DOMAIN}.mo)
33endforeach(PO_FILE)
034
=== added file 'po/com.ubuntu.weather.pot'
--- po/com.ubuntu.weather.pot 1970-01-01 00:00:00 +0000
+++ po/com.ubuntu.weather.pot 2015-01-24 00:41:21 +0000
@@ -0,0 +1,32 @@
1# SOME DESCRIPTIVE TITLE.
2# Copyright (C) YEAR Canonical Ltd.
3# This file is distributed under the same license as the PACKAGE package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5#
6#, fuzzy
7msgid ""
8msgstr ""
9"Project-Id-Version: ubuntu-weather-app\n"
10"Report-Msgid-Bugs-To: \n"
11"POT-Creation-Date: 2015-01-24 00:26+0100\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n"
15"Language: \n"
16"MIME-Version: 1.0\n"
17"Content-Type: text/plain; charset=CHARSET\n"
18"Content-Transfer-Encoding: 8bit\n"
19
20#: ubuntu-weather-app.desktop.in.in.h:1
21msgid "Weather"
22msgstr ""
23
24#: ubuntu-weather-app.desktop.in.in.h:2
25msgid ""
26"A weather forecast application for Ubuntu with support for multiple online "
27"weather data sources"
28msgstr ""
29
30#: ubuntu-weather-app.desktop.in.in.h:3
31msgid "weather;forecast;twc;openweathermap;the weather channel;"
32msgstr ""
033
=== added directory 'tests'
=== added file 'tests/CMakeLists.txt'
--- tests/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ tests/CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -0,0 +1,3 @@
1if(NOT CLICK_MODE)
2 add_subdirectory(autopilot)
3endif(NOT CLICK_MODE)
04
=== added directory 'tests/autopilot'
=== added file 'tests/autopilot/CMakeLists.txt'
--- tests/autopilot/CMakeLists.txt 1970-01-01 00:00:00 +0000
+++ tests/autopilot/CMakeLists.txt 2015-01-24 00:41:21 +0000
@@ -0,0 +1,8 @@
1if(INSTALL_TESTS)
2execute_process(COMMAND python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
3 OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
4
5install(DIRECTORY ${AUTOPILOT_DIR}
6 DESTINATION ${PYTHON_PACKAGE_DIR}
7 )
8endif(INSTALL_TESTS)
09
=== added directory 'tests/autopilot/ubuntu_weather_app'
=== renamed file 'click/weather.apparmor' => 'ubuntu-weather-app.apparmor'
--- click/weather.apparmor 2015-01-22 21:56:55 +0000
+++ ubuntu-weather-app.apparmor 2015-01-24 00:41:21 +0000
@@ -1,5 +1,6 @@
1{1{
2 "policy_groups": ["networking"2 "policy_groups": [
3 ], 3 "networking"
4 ],
4 "policy_version": 1.25 "policy_version": 1.2
5}6}
67
=== renamed file 'com.ubuntu.weather_weather.desktop.in.in' => 'ubuntu-weather-app.desktop.in.in'
=== removed file 'ubuntu-weather-app.in'
--- ubuntu-weather-app.in 2015-01-22 21:56:55 +0000
+++ ubuntu-weather-app.in 1970-01-01 00:00:00 +0000
@@ -1,3 +0,0 @@
1#!/bin/bash
2export QT_SELECT=qt5
3exec qmlscene @CMAKE_INSTALL_PREFIX@/@DATA_DIR@/@MAIN_QML@
40
=== removed file 'ubuntu-weather-app.qmlproject'
--- ubuntu-weather-app.qmlproject 2015-01-22 21:56:55 +0000
+++ ubuntu-weather-app.qmlproject 1970-01-01 00:00:00 +0000
@@ -1,32 +0,0 @@
1/* File generated by Qt Creator, version 2.6.1 */
2
3import QmlProject 1.1
4
5Project {
6 mainFile: "ubuntu-weather-app.qml"
7
8 /* Include .qml, .js, and image files from current directory and subdirectories */
9 QmlFiles {
10 directory: "."
11 }
12 JavaScriptFiles {
13 directory: "."
14 }
15 ImageFiles {
16 directory: "."
17 }
18 /* Shows the README files in the project view */
19 Files {
20 filter: "README*"
21 }
22 /* Shows the translation files and the .pro file used to generate the .pot template */
23 Files {
24 filter: "*.po*"
25 }
26 /* Shows the CMake files */
27 Files {
28 filter: "CMakeLists.txt"
29 }
30 /* List of plugin directories passed to QML runtime */
31 importPaths: [ "." ,"/usr/lib/x86_64-linux-gnu/qt5/qml" ]
32}

Subscribers

People subscribed via source and target branches

to all changes: