Merge lp:~dholbach/qtgrilo/packaging-fixes into lp:qtgrilo

Proposed by Daniel Holbach
Status: Merged
Approved by: David Planella
Approved revision: no longer in the source branch.
Merged at revision: 6
Proposed branch: lp:~dholbach/qtgrilo/packaging-fixes
Merge into: lp:qtgrilo
Diff against target: 99 lines (+25/-36)
3 files modified
debian/changelog (+2/-2)
debian/control (+2/-2)
debian/copyright (+21/-32)
To merge this branch: bzr merge lp:~dholbach/qtgrilo/packaging-fixes
Reviewer Review Type Date Requested Status
Timo Jyrinki Needs Fixing
David Planella Approve
Ken VanDine Pending
Review via email: mp+184514@code.launchpad.net
To post a comment you must log in.
Revision history for this message
David Planella (dpm) wrote :

Looks good to me, waiting for Mirv's comments to top-approve, thanks!

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

Ken, if you could help with the names of the package, that'd be great. This is the conversation we had earlier:

<Mirv> dholbach: it looks fine otherwise, but kenvandine has asked the new QML plugins to have package name with version number, ie. qtdeclarative-qtgrilo0.1, and that the files would be installed in a directory where the version number is appended, so that we define some sort of API and bump the version number when we take a new upstream snapshot or such - see qtdeclarative5-friends0.2 for example
<Mirv> dholbach: and dropping of the "plugin" word. other examples qtdeclarative5-gsettings1.0 gtdeclarative5-hud1.0 qtdeclarative-ubuntu-*0.1

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

It looks fine otherwise, but kenvandine has asked the new QML plugins to have package name with version number, ie. qtdeclarative-qtgrilo0.1, and that the files would be installed in a directory where the version number is appended. So that we define some sort of API and bump the version number when we take a new upstream snapshot or such - see qtdeclarative5-friends0.2 for example.

other examples qtdeclarative5-gsettings1.0 qtdeclarative5-hud1.0 qtdeclarative-ubuntu-*0.1

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

Sorry for the noise Ken, it's all right.

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

I tested building it now.

1) Sorry I didn't notice this, but it shouldn't be a native package. So version 0.1-0ubuntu1 instead. To enable building with bzr builddeb, add .bzr-builddeb as instructed here https://wiki.ubuntu.com/DailyRelease/InlinePackaging

2) The installation directory should end in "grilo.0.1", so that when a newer version comes, it can be co-installed. See again eg. dpkg -L qtdeclarative5-friends0.2. This probably needs some qmake .pro files

So:

=== 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 2013-09-09 08:53:42 +0000
@@ -0,0 +1,3 @@
+[BUILDDEB]
+split = True
+

=== modified file 'debian/changelog'
--- debian/changelog 2013-09-09 08:17:06 +0000
+++ debian/changelog 2013-09-09 08:52:42 +0000
@@ -1,4 +1,4 @@
-qtgrilo (0.1) saucy; urgency=low
+qtgrilo (0.1-0ubuntu1) saucy; urgency=low

   * Initial release.

=== modified file 'declarative/declarative.pro'
--- declarative/declarative.pro 2013-08-15 23:52:19 +0000
+++ declarative/declarative.pro 2013-09-09 08:58:18 +0000
@@ -11,7 +11,7 @@
 OTHER_FILES += $${EXAMPLE}

 TARGET = qmlgriloplugin
-PLUGIN_IMPORT_PATH = org/nemomobile/grilo
+PLUGIN_IMPORT_PATH = org/nemomobile/grilo0.1

 SOURCES += griloplugin.cpp grilomodel.cpp griloregistry.cpp grilomedia.cpp grilodatasource.cpp \
            grilobrowse.cpp grilosearch.cpp griloquery.cpp grilomultisearch.cpp

review: Needs Fixing
lp:~dholbach/qtgrilo/packaging-fixes updated
6. By Daniel Holbach

Merged packaging fixes

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

Thanks a lot for the review. I applied all your changes.

I'm a bit stuck because https://github.com/nemomobile/qtgrilo/releases just lists 0.0.20130610 as the last release, and lp:qtgrilo contains a bunch of changes on top of that. The version number noted in debian/changelog was 0.1, which does not exist.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-08-15 23:52:19 +0000
3+++ debian/changelog 2013-09-09 08:38:33 +0000
4@@ -1,5 +1,5 @@
5-nemo-qml-plugin-qtgrilo (0.1-0ubuntu1) UNRELEASED; urgency=low
6+qtgrilo (0.1) saucy; urgency=low
7
8- * Initial release
9+ * Initial release.
10
11 -- Victor Thompson <victor.thompson@gmail.com> Thu, 15 Aug 2013 18:12:36 -0500
12
13=== modified file 'debian/control'
14--- debian/control 2013-08-15 23:52:19 +0000
15+++ debian/control 2013-09-09 08:38:33 +0000
16@@ -1,4 +1,4 @@
17-Source: nemo-qml-plugin-grilo-qt5
18+Source: qtgrilo
19 Section: libs
20 Priority: optional
21 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
22@@ -11,7 +11,7 @@
23 Standards-Version: 3.9.4
24 Homepage: http://qt-project.org/
25
26-Package: qtdeclarative5-nemo-qml-plugin-grilo
27+Package: qtdeclarative5-qtgrilo0.1
28 Architecture: any
29 Multi-Arch: same
30 Pre-Depends: ${misc:Pre-Depends}
31
32=== modified file 'debian/copyright'
33--- debian/copyright 2013-08-15 23:52:19 +0000
34+++ debian/copyright 2013-09-09 08:38:33 +0000
35@@ -1,10 +1,28 @@
36 Format: http://dep.debian.net/deps/dep5
37-Upstream-Name: nemo-qml-plugin-grilo-qt5
38-Source: https://github.com/nemomobile/nemo-qml-plugin-qtgrilo
39+Upstream-Name: qtgrilo
40+Source: https://github.com/nemomobile/qtgrilo
41
42 Files: *
43 Copyright: 2013 Nemo Mobile
44-License: BSD
45+ 2012-2013 Jolla Ltd.
46+License: LGPL-2.1+
47+
48+License: LGPL-2.1+
49+ This package is free software; you can redistribute it and/or
50+ modify it under the terms of the GNU Lesser General Public
51+ License as published by the Free Software Foundation; either
52+ version 2.1 of the License, or (at your option) any later version.
53+ .
54+ This package is distributed in the hope that it will be useful,
55+ but WITHOUT ANY WARRANTY; without even the implied warranty of
56+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57+ Lesser General Public License for more details.
58+ .
59+ You should have received a copy of the GNU General Public License
60+ along with this program. If not, see <http://www.gnu.org/licenses/>.
61+ .
62+ On Debian systems, the complete text of the GNU Lesser General
63+ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
64
65 Files: debian/*
66 Copyright: 2013 Victor Thompson <victor.thompson@gmail.com>
67@@ -26,32 +44,3 @@
68 .
69 On Debian systems, the complete text of the GNU General
70 Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
71-
72-License: BSD-3-clause
73- You may use this file under the terms of the BSD license as follows:
74- .
75- "Redistribution and use in source and binary forms, with or without
76- modification, are permitted provided that the following conditions are
77- met:
78- * Redistributions of source code must retain the above copyright
79- notice, this list of conditions and the following disclaimer.
80- * Redistributions in binary form must reproduce the above copyright
81- notice, this list of conditions and the following disclaimer in
82- the documentation and/or other materials provided with the
83- distribution.
84- * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names
85- of its contributors may be used to endorse or promote products derived
86- from this software without specific prior written permission.
87- .
88- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
89- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
90- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
91- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
92- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
93- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
94- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
95- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
96- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
97- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
98- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
99-

Subscribers

People subscribed via source and target branches