Merge lp:~zyga/cdts/packaging into lp:~registry/cdts/ppa-packaging-cdts

Proposed by Zygmunt Krynicki
Status: Merged
Approved by: Daniel Manrique
Approved revision: 70
Merged at revision: 70
Proposed branch: lp:~zyga/cdts/packaging
Merge into: lp:~registry/cdts/ppa-packaging-cdts
Diff against target: 219 lines (+75/-72)
8 files modified
debian/canonical-driver-test-suite.install (+2/-0)
debian/changelog (+10/-0)
debian/compat (+1/-1)
debian/control (+41/-49)
debian/copyright (+3/-3)
debian/extras/config/plainbox.conf (+0/-8)
debian/plainbox-provider-canonical-driver-test-suite.install (+3/-4)
debian/rules (+15/-7)
To merge this branch: bzr merge lp:~zyga/cdts/packaging
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+217143@code.launchpad.net
To post a comment you must log in.
lp:~zyga/cdts/packaging updated
70. By Zygmunt Krynicki

* debian/control: Convert to a launcher + provider. Update long descriptions
  build and runtime dependencies. Switch to arch: all
* debian/rules: Build and validate the provider
* debian/compat: bump to 9
* debian/copyright: rename to cdts

Revision history for this message
Daniel Manrique (roadmr) wrote :

Looks good, I'll approve and trigger a build later today, see what happens. It's OK as we can test it from the PPA while the official release tarballs provide a fallback for unsuspecting users.

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/canonical-driver-test-suite.install'
2--- debian/canonical-driver-test-suite.install 1970-01-01 00:00:00 +0000
3+++ debian/canonical-driver-test-suite.install 2014-04-24 21:13:25 +0000
4@@ -0,0 +1,2 @@
5+usr/bin/canonical-driver-test-suite
6+usr/share/applications/canonical-driver-test-suite.desktop
7
8=== modified file 'debian/changelog'
9--- debian/changelog 2014-04-04 01:12:37 +0000
10+++ debian/changelog 2014-04-24 21:13:25 +0000
11@@ -1,3 +1,13 @@
12+canonical-driver-test-suite (1.9~1) UNRELEASED; urgency=medium
13+
14+ * debian/control: Convert to a launcher + provider. Update long descriptions
15+ build and runtime dependencies. Switch to arch: all
16+ * debian/rules: Build and validate the provider
17+ * debian/compat: bump to 9
18+ * debian/copyright: rename to cdts
19+
20+ -- Zygmunt Krynicki <zygmunt.krynicki@canonical.com> Thu, 24 Apr 2014 22:54:44 +0200
21+
22 canonical-driver-test-suite (1.8) trusty; urgency=low
23
24 * whitelist ordering of jobs is not preserved by clients (LP: #1213893)
25
26=== modified file 'debian/compat'
27--- debian/compat 2013-08-15 12:34:56 +0000
28+++ debian/compat 2014-04-24 21:13:25 +0000
29@@ -1,1 +1,1 @@
30-8
31+9
32
33=== modified file 'debian/control'
34--- debian/control 2014-03-28 20:50:34 +0000
35+++ debian/control 2014-04-24 21:13:25 +0000
36@@ -1,67 +1,59 @@
37 Source: canonical-driver-test-suite
38-Maintainer: Checkbox IHV NG Team <brendan.donegan@canonical.com>
39+Maintainer: Checkbox Developers <checkbox-dev@lists.launchpad.net>
40 Section: misc
41 Priority: optional
42 Standards-Version: 3.9.4
43-Build-Depends: debhelper (>= 9),
44- libqt5sql5-sqlite,
45- plainbox (>= 0.5),
46- qt5-default,
47- qtbase5-dev,
48- qtdeclarative5-cordova-2.8-plugin,
49- qtdeclarative5-dev,
50- qttools5-dev-tools
51-Vcs-Bzr: https://code.launchpad.net/~checkbox-ihv-ng/checkbox-ihv-ng/packaging
52+Build-Depends:
53+ debhelper (>= 9),
54+ intltool,
55+ python3,
56+ python3-plainbox (>= 0.5.3),
57+Vcs-Bzr: https://code.launchpad.net/~checkbox-ihv-ng/cdts/packaging
58
59 Package: canonical-driver-test-suite
60-Architecture: any
61+Architecture: all
62 Conflicts: plainbox-ihv-demo-config
63 Replaces: plainbox-ihv-demo-config
64-Depends: checkbox-ng (>= 0.3~dev),
65- checkbox-ng-service (>= 0.3~dev),
66- libqt5xml5,
67- plainbox-provider-canonical-driver-test-suite,
68- plainbox-provider-resource-generic (>= 0.3~dev),
69- python3-checkbox-ng (>= 0.3~dev),
70- python3-checkbox-support (>= 0.2~dev),
71- qtdeclarative5-localstorage-plugin,
72- qtdeclarative5-qtquick2-plugin,
73- qtdeclarative5-ubuntu-ui-toolkit-plugin | qt-components-ubuntu,
74- ${misc:Depends}
75+Depends:
76+ ${misc:Depends},
77+ checkbox-gui,
78+ plainbox-provider-canonical-driver-test-suite,
79+ plainbox-provider-resource-generic (>= 0.3~dev),
80 Description: Tool for testing driver compatibility with Ubuntu.
81- The Canonical Driver Test Suite provides a user interface and
82- set of tests for verifying that hardware components work with Ubuntu.
83+ The Canonical Driver Test Suite provides a user interface and set of tests for
84+ verifying that hardware components work with Ubuntu.
85 .
86- Provides the canonical-driver-test-suite binary.
87+ Provides the canonical-driver-test-suite executable.
88
89 Package: plainbox-provider-canonical-driver-test-suite
90 Section: misc
91 Architecture: all
92 Conflicts: checkbox-ihv-audio, checkbox-ihv-graphics, checkbox-ihv-wireless
93 Replaces: checkbox-ihv-audio, checkbox-ihv-graphics, checkbox-ihv-wireless
94-Depends: fwts (>=13.09.00-0ubuntu1),
95- gir1.2-gst-plugins-base-1.0,
96- gir1.2-gstreamer-1.0,
97- glmark2,
98- globs,
99- gstreamer1.0-plugins-good,
100- gstreamer1.0-pulseaudio,
101- gtkperf,
102- iperf,
103- libgstreamer1.0-0,
104- libqt4-dev,
105- libqt4-opengl-dev,
106- mesa-utils,
107- obexftp,
108- piglit,
109- plainbox-provider-checkbox (>= 0.4~dev),
110- python3-gi,
111- qmlscene,
112- render-bench,
113- wmctrl,
114- x11-apps (>>7.7~1)
115-Description: Tool for testing driver compatibility with Ubuntu.
116- The Canonical Driver Test Suite provides a user interface and
117- set of tests for verifying that hardware components work with Ubuntu.
118+Depends:
119+ fwts (>=13.09.00-0ubuntu1),
120+ gir1.2-gst-plugins-base-1.0,
121+ gir1.2-gstreamer-1.0,
122+ glmark2,
123+ globs,
124+ gstreamer1.0-plugins-good,
125+ gstreamer1.0-pulseaudio,
126+ gtkperf,
127+ iperf,
128+ libgstreamer1.0-0,
129+ libqt4-dev,
130+ libqt4-opengl-dev,
131+ mesa-utils,
132+ obexftp,
133+ piglit,
134+ plainbox-provider-checkbox (>= 0.4~dev),
135+ python3-gi,
136+ qmlscene,
137+ render-bench,
138+ wmctrl,
139+ x11-apps (>>7.7~1)
140+Description: Tool for testing driver compatibility with Ubuntu (PlainBox Provider).
141+ The Canonical Driver Test Suite provides a user interface and set of tests for
142+ verifying that hardware components work with Ubuntu.
143 .
144 Provides the hardware test suites.
145
146=== modified file 'debian/copyright'
147--- debian/copyright 2014-01-27 20:00:02 +0000
148+++ debian/copyright 2014-04-24 21:13:25 +0000
149@@ -1,8 +1,8 @@
150 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
151-Upstream-Name: Checkbox IHV (NG)
152-Source: https://code.launchpad.net/~checkbox-ihv-ng/checkbox-ihv-ng/trunk
153+Upstream-Name: Canonical Driver Test Suite
154+Source: https://code.launchpad.net/~checkbox-ihv-ng/cdts/trunk
155
156-Files: plainbox-gui/data/dolby51.ac3
157+Files: plainbox-provider-canonical-driver-test-suite/data/dolby51.ac3
158 Copyright: Copyright 2013 Dr. Richard Marschall
159 Comment: http://quicktoots.linux-audio.com/index.php?t=4
160 License: GFDL 1.1
161
162=== removed directory 'debian/extras'
163=== removed directory 'debian/extras/config'
164=== removed file 'debian/extras/config/plainbox.conf'
165--- debian/extras/config/plainbox.conf 2013-09-26 13:03:18 +0000
166+++ debian/extras/config/plainbox.conf 1970-01-01 00:00:00 +0000
167@@ -1,8 +0,0 @@
168-; This configuration file is coming from the
169-; canonical-driver-test-suite package.
170-;
171-; Do not edit it, it is not a conffile, it WILL
172-; be automatically upgraded without asking.
173-; You have been warned.
174-[common]
175-default_provider=ihv
176
177=== modified file 'debian/plainbox-provider-canonical-driver-test-suite.install'
178--- debian/plainbox-provider-canonical-driver-test-suite.install 2014-01-31 21:04:32 +0000
179+++ debian/plainbox-provider-canonical-driver-test-suite.install 2014-04-24 21:13:25 +0000
180@@ -1,4 +1,3 @@
181-checkbox/plainbox-gui/data/* /usr/lib/plainbox-providers-1/canonical-driver-test-suite/data/
182-checkbox/plainbox-gui/jobs/* /usr/lib/plainbox-providers-1/canonical-driver-test-suite/jobs/
183-checkbox/plainbox-gui/providers-1/canonical-driver-test-suite.provider /usr/share/plainbox-providers-1/
184-checkbox/plainbox-gui/whitelists/ihv-*.whitelist /usr/lib/plainbox-providers-1/canonical-driver-test-suite/whitelists/
185+usr/share/2013.com.canonical.certification:canonical-driver-test-suite/*
186+usr/share/plainbox-providers-1/2013.com.canonical.certification.canonical-driver-test-suite.provider
187+usr/share/locale/*/LC_MESSAGES/2013_com_canonical_certification_canonical-driver-test-suite.mo
188
189=== modified file 'debian/rules'
190--- debian/rules 2013-10-31 21:19:53 +0000
191+++ debian/rules 2014-04-24 21:13:25 +0000
192@@ -1,12 +1,20 @@
193 #!/usr/bin/make -f
194+PPA_DISPLACEMENT=plainbox-provider-canonical-driver-test-suite
195
196 %:
197- dh $@
198+ dh $@ --sourcedirectory=$(PPA_DISPLACEMENT)
199+
200+override_dh_auto_clean:
201+ cd $(PPA_DISPLACEMENT) && python3 manage.py clean
202
203 override_dh_auto_build:
204- (cd $(CURDIR)/checkbox/plainbox-gui && qmake PREFIX=/usr && make)
205-
206-
207-override_dh_install:
208- (cd $(CURDIR)/checkbox/plainbox-gui && make INSTALL_ROOT=../../../debian/canonical-driver-test-suite install)
209- dh_install
210+ cd $(PPA_DISPLACEMENT) && python3 manage.py build
211+ cd $(PPA_DISPLACEMENT) && python3 manage.py i18n
212+
213+override_dh_auto_test:
214+ cd $(PPA_DISPLACEMENT) && python3 manage.py validate
215+
216+override_dh_auto_install:
217+ cd $(PPA_DISPLACEMENT) && python3 manage.py install \
218+ --prefix=/usr --layout=unix \
219+ --root=$(CURDIR)/debian/tmp/

Subscribers

People subscribed via source and target branches