Merge lp:~saviq/qtmir/gles-update-packaging into lp:qtmir/gles

Proposed by Michał Sawicz
Status: Merged
Approved by: Gerry Boland
Approved revision: 128
Merged at revision: 124
Proposed branch: lp:~saviq/qtmir/gles-update-packaging
Merge into: lp:qtmir/gles
Diff against target: 126 lines (+25/-16)
6 files modified
debian/control (+6/-7)
debian/copyright (+4/-4)
debian/rules (+2/-4)
debian/source/format (+0/-1)
debian/tests/control (+3/-0)
debian/tests/run-tests (+10/-0)
To merge this branch: bzr merge lp:~saviq/qtmir/gles-update-packaging
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
Review via email: mp+275875@code.launchpad.net

Commit message

Bring packaging in line with upstream and add autopkgtest

To post a comment you must log in.
128. By Michał Sawicz

Drop --fail-missing, as we only package part of the build

Revision history for this message
Gerry Boland (gerboland) wrote :

Tested locally, works good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2015-10-09 14:51:02 +0000
3+++ debian/control 2015-10-28 09:34:54 +0000
4@@ -6,16 +6,14 @@
5 cmake-extras (>= 0.3),
6 debhelper (>= 9),
7 google-mock (>= 1.6.0+svn437),
8- libboost-system-dev,
9 libfontconfig1-dev,
10 libgles2-mesa-dev,
11 libglib2.0-dev,
12 libgsettings-qt-dev,
13 liblttng-ust-dev,
14- libmirclient-dev (>= 0.16.0),
15- libmircommon-dev (>= 0.16.0),
16- libmirserver-dev (>= 0.16.0),
17- mir-renderer-gl-dev (>= 0.16.0),
18+ libmirclient-dev (>= 0.17.0),
19+ libmircommon-dev (>= 0.17.0),
20+ libmirserver-dev (>= 0.17.0),
21 libmtdev-dev,
22 libprocess-cpp-dev,
23 libqt5gui5-gles,
24@@ -29,12 +27,12 @@
25 libubuntu-app-launch2-dev,
26 libubuntu-application-api-dev (>= 2.1.0),
27 libudev-dev,
28- libunity-api-dev (>= 7.100),
29+ libunity-api-dev (>= 7.101),
30 liburl-dispatcher1-dev,
31 libxkbcommon-dev,
32 libxrender-dev,
33+ mir-renderer-gl-dev (>= 0.17.0),
34 pkg-config,
35- protobuf-compiler,
36 # lttng-gen-ts needs python3, but doesn't depend on it itself: bug 1359147
37 python3:any,
38 qt5-default,
39@@ -49,6 +47,7 @@
40 # upstream branch
41 Vcs-Bzr: lp:qtmir/gles
42 Vcs-Browser: http://bazaar.launchpad.net/~mir-team/qtmir/gles/files
43+Xs-Testsuite: autopkgtest
44
45 Package: qtmir-android
46 Architecture: amd64 i386
47
48=== modified file 'debian/copyright'
49--- debian/copyright 2014-07-16 11:21:02 +0000
50+++ debian/copyright 2015-10-28 09:34:54 +0000
51@@ -1,16 +1,16 @@
52 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
53-Upstream-Name: unity-mir
54+Upstream-Name: qtmir-gles
55
56 Files: *
57-Copyright: 2013 Canonical Ltd.
58+Copyright: 2013-2015 Canonical Ltd.
59 License: LGPL-3
60
61 Files: debian/*
62-Copyright: 2013 Canonical Ltd.
63+Copyright: 2013-2015 Canonical Ltd.
64 License: GPL-3
65
66 Files: tests/*
67-Copyright: 2013 Canonical Ltd.
68+Copyright: 2013-2015 Canonical Ltd.
69 License: GPL-3
70
71 License: LGPL-3
72
73=== modified file 'debian/rules'
74--- debian/rules 2015-10-09 17:30:30 +0000
75+++ debian/rules 2015-10-28 09:34:54 +0000
76@@ -21,7 +21,7 @@
77 dh_clean
78
79 override_dh_auto_configure:
80- mkdir -p $(ANDROID_DIR) && dh_auto_configure -B$(ANDROID_DIR) -- $(CURDIR) -DCMAKE_INSTALL_PREFIX=$(TMP1_DIR)/usr/ -DUSE_OPENGLES=1
81+ mkdir -p $(ANDROID_DIR) && dh_auto_configure -B$(ANDROID_DIR) -- $(FLAGS) $(CURDIR) -DUSE_OPENGLES=1
82
83 override_dh_auto_build:
84 dh_auto_build -B$(ANDROID_DIR)
85@@ -30,9 +30,7 @@
86 dh_auto_test -B$(ANDROID_DIR)
87
88 override_dh_auto_install:
89- mkdir -p $(TMP1_DIR) && cd $(ANDROID_DIR) && INSTALL_ROOT=$(TMP1_DIR) make install
90- cd $(CURDIR)
91+ dh_auto_install -B$(ANDROID_DIR) --destdir=$(TMP1_DIR)
92
93 override_dh_install:
94 dh_install --sourcedir=$(TMP1_DIR) -pqtmir-android
95-
96
97=== removed directory 'debian/source'
98=== removed file 'debian/source/format'
99--- debian/source/format 2014-07-16 11:21:02 +0000
100+++ debian/source/format 1970-01-01 00:00:00 +0000
101@@ -1,1 +0,0 @@
102-1.0
103
104=== added directory 'debian/tests'
105=== added file 'debian/tests/control'
106--- debian/tests/control 1970-01-01 00:00:00 +0000
107+++ debian/tests/control 2015-10-28 09:34:54 +0000
108@@ -0,0 +1,3 @@
109+Tests: run-tests
110+Restrictions: build-needed
111+Depends: @
112
113=== added file 'debian/tests/run-tests'
114--- debian/tests/run-tests 1970-01-01 00:00:00 +0000
115+++ debian/tests/run-tests 2015-10-28 09:34:54 +0000
116@@ -0,0 +1,10 @@
117+#!/bin/sh
118+
119+set -ex
120+
121+# Do nothing here. We don't need to run the tests multiple times, and they
122+# are already being run during the build phase of the autopkgtest, as we
123+# require a built tree to run them, and the tests are run as part of the
124+# normal package build process. We do want to test that things install, though
125+# and at least one test is actually required, for autopkgtest to work.
126+

Subscribers

People subscribed via source and target branches