Merge lp:~renatofilho/ubuntu-calendar-app/snappy-runtime into lp:ubuntu-calendar-app

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Merged at revision: 895
Proposed branch: lp:~renatofilho/ubuntu-calendar-app/snappy-runtime
Merge into: lp:ubuntu-calendar-app
Diff against target: 110 lines (+10/-63)
3 files modified
setup/gui/ubuntu-calendar-app.desktop (+1/-1)
snapcraft.yaml (+9/-36)
ubuntu-calendar-app.wrapper (+0/-26)
To merge this branch: bzr merge lp:~renatofilho/ubuntu-calendar-app/snappy-runtime
Reviewer Review Type Date Requested Status
Timo Jyrinki Needs Fixing
Review via email: mp+310200@code.launchpad.net
To post a comment you must log in.
900. By Renato Araujo Oliveira Filho

Use new launcher.

901. By Renato Araujo Oliveira Filho

Added 'mir-graphics-drivers-desktop' as deb. (Temporary solution)

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

(mir-graphics-driver-desktop now in platform snap)

review: Needs Fixing
902. By Renato Araujo Oliveira Filho

Update app icon path.
Remove use of wrapper.

903. By Renato Araujo Oliveira Filho

Remove unecessary code from snapcraft.yaml file.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'setup/gui/ubuntu-calendar-app.desktop'
--- setup/gui/ubuntu-calendar-app.desktop 2016-09-29 13:53:06 +0000
+++ setup/gui/ubuntu-calendar-app.desktop 2016-11-11 19:20:32 +0000
@@ -3,7 +3,7 @@
3Type=Application3Type=Application
4Terminal=false4Terminal=false
5Exec=ubuntu-calendar-app %u5Exec=ubuntu-calendar-app %u
6Icon=/snap/ubuntu-calendar-app/current/calendar-app@30.png6Icon=/snap/ubuntu-calendar-app/current/meta/gui/icon.png
7Name=Calendar7Name=Calendar
8Name[aa]=Aysalu8Name[aa]=Aysalu
9Name[am]=የቀን መቁጠሪያ9Name[am]=የቀን መቁጠሪያ
1010
=== added directory 'snap'
=== added directory 'snap/ubuntu-app-platform'
=== modified file 'snapcraft.yaml'
--- snapcraft.yaml 2016-10-07 14:33:55 +0000
+++ snapcraft.yaml 2016-11-11 19:20:32 +0000
@@ -7,15 +7,14 @@
77
8apps:8apps:
9 ubuntu-calendar-app:9 ubuntu-calendar-app:
10 command: desktop-launch $SNAP/bin/ubuntu-calendar-app --desktop_file_hint=unity8 "$@"10 command: desktop-launch qmlscene --desktop_file_hint=unity8 $SNAP/usr/share/calendar-app/calendar.qml
11 plugs: [home, gsettings, opengl, platform, unity7]
1112
12plugs:13plugs:
13 gsettings:14 platform:
14 interface: gsettings15 interface: content
15 unity7:16 content: ubuntu-app-platform1
16 interface: unity717 target: ubuntu-app-platform
17 opengl:
18 interface: opengl
19# eds-calendar and address-book not available yet. 18# eds-calendar and address-book not available yet.
20# FIXME: Fixt that after these interfaces appear on syncd19# FIXME: Fixt that after these interfaces appear on syncd
21# eds-calendar:20# eds-calendar:
@@ -32,35 +31,9 @@
32 build-packages:31 build-packages:
33 - cmake32 - cmake
34 - intltool33 - intltool
35 stage-packages:34 stage-packages: []
36 - accountsservice35 after: [desktop-ubuntu-app-platform]
37 - accountsservice-ubuntu-schemas
38 - account-plugin-google
39 - qmlscene
40 - qml-module-qt-labs-settings
41 - qml-module-qtcontacts
42 - qml-module-qtorganizer
43 - qml-module-ubuntu-components
44 - qml-module-ubuntu-onlineaccounts
45 - qml-module-ubuntu-onlineaccounts-client
46 - qtdeclarative5-ubuntu-content1
47 - qtdeclarative5-ubuntu-syncmonitor0.1
48 - qtcontact5-galera
49 - qtorganizer5-eds
50 - qtubuntu-desktop
51 - suru-icon-theme
52 - mir-graphics-drivers-desktop
53 stage:
54 - -usr/share/pkgconfig/xkeyboard-config.pc
55 - -usr/share/pkgconfig/shared-mime-info.pc
56 snap:
57 - -usr/lib/python3
58 - -usr/share/doc
59 - -usr/include
60 after: [desktop-gtk3]
6136
62 environment:37 environment:
63 source: .38 source: snap/
64 plugin: dump39 plugin: dump
65 organize:
66 ubuntu-calendar-app.wrapper: bin/ubuntu-calendar-app
6740
=== removed file 'ubuntu-calendar-app.wrapper'
--- ubuntu-calendar-app.wrapper 2016-09-29 14:58:50 +0000
+++ ubuntu-calendar-app.wrapper 1970-01-01 00:00:00 +0000
@@ -1,26 +0,0 @@
1#!/bin/sh
2
3if [ "$SNAP_ARCH" = "amd64" ]; then
4 ARCH="x86_64-linux-gnu"
5elif [ "$SNAP_ARCH" = "armhf" ]; then
6 ARCH="arm-linux-gnueabihf"
7else
8 ARCH="$SNAP_ARCH-linux-gnu"
9fi
10
11export QTCHOOSER_NO_GLOBAL_DIR=1
12export QT_SELECT=snappy-qt5
13
14# Qt Libs
15export LD_LIBRARY_PATH=$SNAP/usr/lib/$ARCH/qt5/libs:$LD_LIBRARY_PATH
16
17# Qt Modules
18export QT_PLUGIN_PATH=$SNAP/usr/lib/$ARCH/qt5/plugins
19export QML2_IMPORT_PATH=$QML2_IMPORT_PATH:$SNAP/usr/lib/$ARCH/qt5/qml
20export QML2_IMPORT_PATH=$QML2_IMPORT_PATH:$SNAP/lib/$ARCH
21
22# Necessary for the SDK to find the translations directory
23export APP_DIR=$SNAP
24
25exec "$SNAP/bin/desktop-launch" "$SNAP/usr/lib/$ARCH/qt5/bin/qmlscene" "$@" $SNAP/usr/share/calendar-app/calendar.qml
26

Subscribers

People subscribed via source and target branches

to status/vote changes: