Merge lp:~mhall119/ubuntu-docviewer-app/package-fixes into lp:ubuntu-docviewer-app/trunk

Proposed by Michael Hall
Status: Merged
Approved by: Anthony Granger
Approved revision: 3
Merged at revision: 3
Proposed branch: lp:~mhall119/ubuntu-docviewer-app/package-fixes
Merge into: lp:ubuntu-docviewer-app/trunk
Diff against target: 181 lines (+35/-40)
11 files modified
.bzr-builddeb/default.conf (+2/-0)
.bzrignore (+6/-0)
debian/compat (+1/-1)
debian/control (+7/-7)
debian/copyright (+5/-5)
debian/rules (+3/-21)
debian/source/format (+1/-1)
debian/ubuntu-docviewer-app.install (+5/-3)
ubuntu-doc-viewer.qml (+1/-0)
ubuntu-docviewer-app (+1/-1)
ubuntu-docviewer-app.desktop (+3/-1)
To merge this branch: bzr merge lp:~mhall119/ubuntu-docviewer-app/package-fixes
Reviewer Review Type Date Requested Status
Anthony Granger Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+158491@code.launchpad.net

Commit message

Updates packaging for a better install

Description of the change

Updates packaging for a better install

To post a comment you must log in.
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
Anthony Granger (chocanto) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.bzr-builddeb'
2=== added file '.bzr-builddeb/default.conf'
3--- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000
4+++ .bzr-builddeb/default.conf 2013-04-11 21:07:24 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+split = True
8
9=== added file '.bzrignore'
10--- .bzrignore 1970-01-01 00:00:00 +0000
11+++ .bzrignore 2013-04-11 21:07:24 +0000
12@@ -0,0 +1,6 @@
13+*.qmlproject.user
14+
15+debian/files
16+debian/app-template/
17+debian/*.debhelper.log
18+debian/*.substvars
19
20=== modified file 'debian/compat'
21--- debian/compat 2013-02-12 16:18:48 +0000
22+++ debian/compat 2013-04-11 21:07:24 +0000
23@@ -1,1 +1,1 @@
24-8
25+9
26
27=== modified file 'debian/control'
28--- debian/control 2013-02-12 16:28:32 +0000
29+++ debian/control 2013-04-11 21:07:24 +0000
30@@ -1,18 +1,18 @@
31 Source: ubuntu-docviewer-app
32 Priority: extra
33-Maintainer: Ugo Riboni <ugo.riboni@canonical.com>
34-Build-Depends: debhelper (>= 8.0.0),
35-Standards-Version: 3.9.3
36+Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net>
37+Build-Depends: debhelper (>= 9),
38+Standards-Version: 3.9.4
39 Section: misc
40 Homepage: https://launchpad.net/ubuntu-docviewer-app
41+Vcs-Bzr: https://code.launchpad.net/~ubuntu-docviewer-dev/ubuntu-docviewer-app/trunk
42
43 Package: ubuntu-docviewer-app
44 Section: misc
45-Architecture: any
46-Depends: ${shlibs:Depends}, ${misc:Depends},
47+Architecture: all
48+Depends: ${misc:Depends},
49 qmlscene,
50- qt-components-ubuntu,
51+ qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
52 qtdeclarative5-qtquick2-plugin
53 Description: Document Viewer application
54 Core Document Viewer application
55-
56
57=== modified file 'debian/copyright'
58--- debian/copyright 2013-02-12 16:28:32 +0000
59+++ debian/copyright 2013-04-11 21:07:24 +0000
60@@ -1,16 +1,16 @@
61-Format: http://dep.debian.net/deps/dep5
62+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
63 Upstream-Name: ubuntu-docviewer-app
64 Source:
65
66 Files: *
67 Copyright: 2013 Canonical Ltd.
68-License: GPL-3.0
69+License: GPL-3
70
71 Files: debian/*
72 Copyright: 2013 Canonical Ltd.
73-License: LGPL-3.0
74+License: LGPL-3
75
76-License: GPL-3.0
77+License: GPL-3
78 This package is free software; you can redistribute it and/or
79 modify it under the terms of the GNU General Public
80 License as published by the Free Software Foundation; either
81@@ -27,7 +27,7 @@
82 On Debian systems, the complete text of the GNU General
83 Public License can be found in "/usr/share/common-licenses/GPL-3".
84
85-License: LGPL-3.0
86+License: LGPL-3
87 This package is free software; you can redistribute it and/or
88 modify it under the terms of the GNU Lesser General Public
89 License as published by the Free Software Foundation; either
90
91=== removed file 'debian/docs'
92=== modified file 'debian/rules'
93--- debian/rules 2013-02-12 16:28:32 +0000
94+++ debian/rules 2013-04-11 21:07:24 +0000
95@@ -1,29 +1,11 @@
96 #!/usr/bin/make -f
97 # -*- makefile -*-
98-# Sample debian/rules that uses debhelper.
99-# This file was originally written by Joey Hess and Craig Small.
100-# As a special exception, when this file is copied by dh-make into a
101-# dh-make output file, you may use that output file without restriction.
102-# This special exception was added by Craig Small in version 0.37 of dh-make.
103
104 # Uncomment this to turn on verbose mode.
105 #export DH_VERBOSE=1
106
107-# Work-around for some machines where INSTALL_ROOT is not set properly by
108-# dh_auto_install
109-override_dh_auto_install:
110- dh_auto_install -- INSTALL_ROOT=$(CURDIR)/debian/tmp
111-
112-# Workaround a bug in that debhelper package version
113-override_dh_install:
114- mkdir -p $(CURDIR)/debian/tmp/usr/share/applications/
115- mkdir -p $(CURDIR)/debian/tmp/usr/bin/
116- mkdir -p $(CURDIR)/debian/tmp/usr/share/ubuntu-docviewer-app/
117- cp ubuntu-docviewer-app.desktop $(CURDIR)/debian/tmp/usr/share/applications/
118- cp ubuntu-docviewer-app $(CURDIR)/debian/tmp/usr/bin/
119- cp -r *.qml *.png $(CURDIR)/debian/tmp/usr/share/ubuntu-docviewer-app/
120-
121- dh_install --sourcedir=debian/tmp --fail-missing
122-
123 %:
124 dh $@
125+
126+override_dh_install:
127+ dh_install --fail-missing
128
129=== modified file 'debian/source/format'
130--- debian/source/format 2013-02-12 16:18:48 +0000
131+++ debian/source/format 2013-04-11 21:07:24 +0000
132@@ -1,1 +1,1 @@
133-3.0 (native)
134+1.0
135
136=== modified file 'debian/ubuntu-docviewer-app.install'
137--- debian/ubuntu-docviewer-app.install 2013-02-12 16:28:32 +0000
138+++ debian/ubuntu-docviewer-app.install 2013-04-11 21:07:24 +0000
139@@ -1,3 +1,5 @@
140-usr/share/applications
141-usr/bin
142-usr/share/ubuntu-docviewer-app
143+ubuntu-docviewer-app usr/bin/
144+ubuntu-docviewer-app.desktop usr/share/applications/
145+*.qml usr/share/ubuntu-docviewer-app/
146+*.png usr/share/ubuntu-docviewer-app/
147+
148
149=== renamed file 'docviewer.qml' => 'ubuntu-doc-viewer.qml'
150--- docviewer.qml 2013-02-12 16:28:32 +0000
151+++ ubuntu-doc-viewer.qml 2013-04-11 21:07:24 +0000
152@@ -10,6 +10,7 @@
153 MainView {
154 // objectName for functional testing purposes (autopilot-qt5)
155 objectName: "docviewer"
156+ applicationName: "ubuntu-docviewer-app"
157
158 width: units.gu(50)
159 height: units.gu(75)
160
161=== modified file 'ubuntu-docviewer-app'
162--- ubuntu-docviewer-app 2013-02-12 16:28:32 +0000
163+++ ubuntu-docviewer-app 2013-04-11 21:07:24 +0000
164@@ -1,2 +1,2 @@
165 #!/bin/bash
166-qmlscene /usr/share/ubuntu-docviewer-app/docviewer.qml
167+qmlscene /usr/share/ubuntu-docviewer-app/ubuntu-docviewer-app.qml
168
169=== modified file 'ubuntu-docviewer-app.desktop'
170--- ubuntu-docviewer-app.desktop 2013-02-12 16:28:32 +0000
171+++ ubuntu-docviewer-app.desktop 2013-04-11 21:07:24 +0000
172@@ -3,6 +3,8 @@
173 Version=1.0
174 Type=Application
175 Terminal=false
176-Exec=/usr/bin/ubuntu-docviewer-app
177+Exec=qmlscene /usr/share/ubuntu-docviewer-app/ubuntu-docviewer-app.qml
178 Icon=/usr/share/ubuntu-docviewer-app/docviewer64.png
179 Name=Document Viewer
180+X-Ubuntu-Touch=true
181+X-Ubuntu-StageHint=SideStage

Subscribers

People subscribed via source and target branches