Merge lp:~nik90/cliffhanger/debian-packaging into lp:~flashback-dev/cliffhanger/trunk

Proposed by Nekhelesh Ramananthan
Status: Merged
Merged at revision: 45
Proposed branch: lp:~nik90/cliffhanger/debian-packaging
Merge into: lp:~flashback-dev/cliffhanger/trunk
Diff against target: 204 lines (+87/-53)
10 files modified
Flashback.desktop (+2/-1)
Makefile (+0/-3)
debian/changelog (+16/-0)
debian/compat (+1/-0)
debian/control (+23/-0)
debian/copyright (+28/-0)
debian/install (+9/-0)
debian/rules (+7/-0)
debian/source/format (+1/-0)
tests/unit/tst_hellocomponent.qml (+0/-49)
To merge this branch: bzr merge lp:~nik90/cliffhanger/debian-packaging
Reviewer Review Type Date Requested Status
Nekhelesh Ramananthan Needs Information
Daniel Holbach (community) Needs Information
Review via email: mp+211272@code.launchpad.net

Commit message

Added debian packaging.

Description of the change

Added debian packaging.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Regarding the licenses:
 - in debian/copyright you mention GPL-3+ but all the files' headers mention just GPL-3 (no "or later")
 - in debian/copyright you mention CC-BY-SA - which files are under this license?

review: Needs Information
46. By Nekhelesh Ramananthan

Fixed copyright file

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

I copied the copyright file from the dropping-letters package and forgot to remove CC-BY-SA license. It should be fixed now.

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

One thing that I am not unsure about is the debian changelog versioning,

32 +flashback (0.3.2) UNRELEASED; urgency=medium

I am targeting trusty. However since it is not released, I have set the distribution to UNRELEASED. This is also done in the music app. Is this correct? Or should I change this to trusty?

In the desktop file, I did,
+Exec=flashback

This works when I install the deb package on the desktop. However when I run the click lint, it complains that
found unexpected Exec with architecture 'all': flashback

How can I fix this?

review: Needs Information
Revision history for this message
Daniel Holbach (dholbach) wrote :

Yes, please use 'trusty' for an actual upload to trusty, just bear in mind that for actual inclusion into trusty, you might want to follow: https://wiki.ubuntu.com/FreezeExceptionProcess#FeatureFreeze_for_new_packages

Ignore the click-reviewers-tools lint check, as it's just a test for click packages. For Debian packages you can run 'lintian' instead. Here's the output of lintian if you run it against my branch of cliffhanger (sent MP a minute ago): http://paste.ubuntu.com/7107578/

Revision history for this message
Daniel Holbach (dholbach) wrote :

And feel free to ignore the manpage warning for now.

47. By Nekhelesh Ramananthan

Merged lp:~dholbach/cliffhanger/packaging-fixes

48. By Nekhelesh Ramananthan

Added keywords to desktop file

49. By Nekhelesh Ramananthan

Changed ubuntu version to trusty

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

> Yes, please use 'trusty' for an actual upload to trusty, just bear in mind
> that for actual inclusion into trusty, you might want to follow:
> https://wiki.ubuntu.com/FreezeExceptionProcess#FeatureFreeze_for_new_packages
>

I changed it to trusty. I have no intention of an actual upload to trusty since the PPA is intended for testers to try out Flashback on their desktop and provide feedback on the convergent designs that will be implemented in the near future.

> Ignore the click-reviewers-tools lint check, as it's just a test for click
> packages. For Debian packages you can run 'lintian' instead. Here's the output
> of lintian if you run it against my branch of cliffhanger (sent MP a minute
> ago): http://paste.ubuntu.com/7107578/

Fixed the keywords issue.

50. By Nekhelesh Ramananthan

Fixed desktop file exec line

51. By Nekhelesh Ramananthan

Removed flashbin executable file

52. By Nekhelesh Ramananthan

Updated changelog due to first fail of PPA upload to launchpad

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Flashback.desktop'
2--- Flashback.desktop 2014-02-12 13:14:11 +0000
3+++ Flashback.desktop 2014-03-17 12:54:23 +0000
4@@ -2,8 +2,9 @@
5 Version=1.0
6 Name=Flashback
7 Comment=My project description
8-Exec=qmlscene $@ Flashback.qml
9+Exec=qmlscene $@ /usr/share/flashback/Flashback.qml
10 Icon=flashback.png
11 Terminal=false
12 Type=Application
13+Keywords=Movie,Film,TV,Show,Entertainment;
14 X-Ubuntu-Touch=true
15
16=== modified file 'Makefile'
17--- Makefile 2014-03-07 10:48:17 +0000
18+++ Makefile 2014-03-17 12:54:23 +0000
19@@ -14,8 +14,5 @@
20 chmod +x tests/autopilot/run
21 tests/autopilot/run
22
23-check:
24- qmltestrunner -input tests/unit
25-
26 run:
27 /usr/bin/qmlscene $@ Flashback.qml
28
29=== added directory 'debian'
30=== added file 'debian/changelog'
31--- debian/changelog 1970-01-01 00:00:00 +0000
32+++ debian/changelog 2014-03-17 12:54:23 +0000
33@@ -0,0 +1,16 @@
34+flashback (0.3.2ubuntu1) trusty; urgency=medium
35+
36+ [Nekhelesh Ramananthan]
37+ * Fixed debian packaing failnig due to missing flashback executable file
38+
39+ -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Mon, 17 Mar 2014 13:51:18 +0100
40+
41+flashback (0.3.2) trusty; urgency=medium
42+
43+ [Nekhelesh Ramananthan]
44+ * Added walkthrough feature
45+ * Added new home page search function
46+ * Improved the visual of detail carousel corner radius
47+ * Improved TV Show experience
48+
49+ -- Nekhelesh Ramananthan <krnekhelesh@gmail.com> Mon, 17 Mar 2014 09:43:01 +0100
50
51=== added file 'debian/compat'
52--- debian/compat 1970-01-01 00:00:00 +0000
53+++ debian/compat 2014-03-17 12:54:23 +0000
54@@ -0,0 +1,1 @@
55+9
56
57=== added file 'debian/control'
58--- debian/control 1970-01-01 00:00:00 +0000
59+++ debian/control 2014-03-17 12:54:23 +0000
60@@ -0,0 +1,23 @@
61+Source: flashback
62+Section: utils
63+Priority: extra
64+Maintainer: Nekhelesh Ramananthan <nik90@ubuntu.com>
65+Build-Depends: debhelper (>= 9.0.0)
66+Standards-Version: 3.9.5
67+Homepage: http://launchpad.net/cliffhanger
68+Vcs-Bzr: https://code.launchpad.net/~cliffhanger-dev/cliffhanger/trunk
69+
70+Package: flashback
71+Architecture: all
72+Depends: ${misc:Depends},
73+ qtdeclarative5-hud1.0,
74+ qtdeclarative5-qtquick2-plugin,
75+ qtdeclarative5-ubuntu-ui-toolkit-plugin,
76+ qtdeclarative5-u1db1.0,
77+ qmlscene
78+Description: Flashback application
79+ Flashback is an entertainment application that helps you manage your movie
80+ and TV show cravings. It integrates with Trakt and TMDB online services to
81+ provide a variety of features such as discovering new movie, keeping track
82+ of tv shows, adding movies and tv shows to your watchlist to watch later.
83+
84
85=== added file 'debian/copyright'
86--- debian/copyright 1970-01-01 00:00:00 +0000
87+++ debian/copyright 2014-03-17 12:54:23 +0000
88@@ -0,0 +1,28 @@
89+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
90+Upstream-Name: flashback
91+Source: https://launchpad.net/cliffhanger
92+
93+Files: *
94+Copyright: 2014 Nekhelesh Ramananthan <nik90@ubuntu.com>
95+License: GPL-3.0
96+
97+Files: debian/*
98+Copyright: 2014 Nekhelesh Ramananthan <nik90@ubuntu.com>
99+License: GPL-3.0
100+
101+License: GPL-3.0
102+ This program is free software: you can redistribute it and/or modify
103+ it under the terms of the GNU General Public License as published by
104+ the Free Software Foundation, either version 3 of the License, or
105+ (at your option) any later version.
106+ .
107+ This package is distributed in the hope that it will be useful,
108+ but WITHOUT ANY WARRANTY; without even the implied warranty of
109+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
110+ GNU General Public License for more details.
111+ .
112+ You should have received a copy of the GNU General Public License
113+ along with this program. If not, see <http://www.gnu.org/licenses/>.
114+ .
115+ On Debian systems, the complete text of the GNU General
116+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
117
118=== added file 'debian/install'
119--- debian/install 1970-01-01 00:00:00 +0000
120+++ debian/install 2014-03-17 12:54:23 +0000
121@@ -0,0 +1,9 @@
122+Flashback.desktop usr/share/applications/
123+Flashback.qml usr/share/flashback/
124+flashback.png usr/share/icons/hicolor/256x256/apps/
125+backend usr/share/flashback/
126+components usr/share/flashback/
127+graphics usr/share/flashback/
128+models usr/share/flashback/
129+ui usr/share/flashback/
130+walkthrough usr/share/flashback/
131
132=== added file 'debian/rules'
133--- debian/rules 1970-01-01 00:00:00 +0000
134+++ debian/rules 2014-03-17 12:54:23 +0000
135@@ -0,0 +1,7 @@
136+#!/usr/bin/make -f
137+# -*- makefile -*-
138+# Uncomment this to turn on verbose mode.
139+#export DH_VERBOSE=1
140+
141+%:
142+ dh $@
143
144=== added directory 'debian/source'
145=== added file 'debian/source/format'
146--- debian/source/format 1970-01-01 00:00:00 +0000
147+++ debian/source/format 2014-03-17 12:54:23 +0000
148@@ -0,0 +1,1 @@
149+3.0 (native)
150
151=== removed directory 'tests/unit'
152=== removed file 'tests/unit/tst_hellocomponent.qml'
153--- tests/unit/tst_hellocomponent.qml 2013-11-09 15:54:50 +0000
154+++ tests/unit/tst_hellocomponent.qml 1970-01-01 00:00:00 +0000
155@@ -1,49 +0,0 @@
156-import QtQuick 2.0
157-import QtTest 1.0
158-import Ubuntu.Components 0.1
159-import "../../components"
160-
161-// See more details @ http://qt-project.org/doc/qt-5.0/qtquick/qml-testcase.html
162-
163-// Execute tests with:
164-// qmltestrunner
165-
166-Item {
167- // The objects
168- HelloComponent {
169- id: objectUnderTest
170- }
171-
172- TestCase {
173- name: "HelloComponent"
174-
175- function init() {
176- console.debug(">> init");
177- compare("",objectUnderTest.text,"text was not empty on init");
178- console.debug("<< init");
179- }
180-
181- function cleanup() {
182- console.debug(">> cleanup");
183- console.debug("<< cleanup");
184- }
185-
186- function initTestCase() {
187- console.debug(">> initTestCase");
188- console.debug("<< initTestCase");
189- }
190-
191- function cleanupTestCase() {
192- console.debug(">> cleanupTestCase");
193- console.debug("<< cleanupTestCase");
194- }
195-
196- function test_canReadAndWriteText() {
197- var expected = "Hello World";
198-
199- objectUnderTest.text = expected;
200-
201- compare(expected,objectUnderTest.text,"expected did not equal result");
202- }
203- }
204-}

Subscribers

People subscribed via source and target branches