Merge lp:~sil2100/android-audiosystem/packaging_review into lp:android-audiosystem

Proposed by Łukasz Zemczak
Status: Merged
Approved by: Didier Roche-Tolomelli
Approved revision: 48
Merged at revision: 44
Proposed branch: lp:~sil2100/android-audiosystem/packaging_review
Merge into: lp:android-audiosystem
Diff against target: 201 lines (+69/-33)
7 files modified
.bzr-builddeb/default.conf (+2/-0)
debian/changelog (+10/-0)
debian/control (+12/-13)
debian/copyright (+35/-18)
debian/libwaudio1-dev.install (+1/-1)
debian/rules (+9/-0)
debian/source/format (+0/-1)
To merge this branch: bzr merge lp:~sil2100/android-audiosystem/packaging_review
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Didier Roche-Tolomelli Approve
Review via email: mp+158647@code.launchpad.net

Commit message

Clean up packaging to conform to our latest packaging standards

Description of the change

Branch ready for review.

A few things to notice:
- This project has no tests ran on build, as well as no integration tests (a WI?)
- There were a few missing files (two headers and a binary), I removed them since we don't use them basically - I tried looking into the build system to maybe disable them, but then thought that integration in the source code is not that cool

Waiting for review!

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

debian/copyright:
- we should follow the main license from upstream for the packaging, so Apache2 in this case.
I didn't check the license yet, did you check with licensecheck -r * --copyright that it's up to date?

debian/rules:
override_dh_auto_clean:
    ./build-component.sh --clean
-> you should add as we discussed a call to dh_clean I guess

Otherwise, looks perfect to me! You can add the bootstrap commit too (latest vcs revision is enough).

Good work ;)

review: Needs Fixing
46. By Łukasz Zemczak

As mentioned by Didier, let's use the main license from upstream for packaging.

47. By Łukasz Zemczak

Automatic snapshot from revision 44 (bootstrap)

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
48. By Łukasz Zemczak

Some BSD licensed files added

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Nice work!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

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-12 16:30:32 +0000
5@@ -0,0 +1,2 @@
6+[BUILDDEB]
7+split = True
8
9=== modified file 'debian/changelog'
10--- debian/changelog 2013-02-11 20:01:09 +0000
11+++ debian/changelog 2013-04-12 16:30:32 +0000
12@@ -1,3 +1,13 @@
13+android-audiosystem (1.8-0ubuntu1) UNRELEASED; urgency=low
14+
15+ * debian/control, debian/rules, debian/copyright,
16+ debian/libwaudio1-dev.install:
17+ - Modifications to conform better to our packaging standards
18+ * Removed debian/source/format
19+ * Automatic snapshot from revision 44 (bootstrap)
20+
21+ -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com> Fri, 12 Apr 2013 11:38:23 +0200
22+
23 android-audiosystem (1.8) quantal; urgency=low
24
25 * Tuning default pulse alsa modules to allow recording and playing at 16kHz
26
27=== modified file 'debian/control'
28--- debian/control 2013-02-08 07:54:14 +0000
29+++ debian/control 2013-04-12 16:30:32 +0000
30@@ -1,21 +1,22 @@
31 Source: android-audiosystem
32 Section: libs
33-Priority: extra
34+Priority: optional
35 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
36 Build-Depends: debhelper (>= 9),
37+ libasound2-dev,
38+ pkg-config,
39 zlib1g-dev,
40- libasound2-dev,
41- pkg-config
42 Standards-Version: 3.9.4
43-Vcs-Bzr: lp:android-audiosystem
44+Homepage: https://launchpad.net/android-audiosystem
45+# If you aren't a member of ~phablet-team but need to upload packaging changes,
46+# just go ahead. ~phablet-team will notice and sync up the code again.
47+Vcs-Bzr: https://code.launchpad.net/~phablet-team/android-audiosystem/trunk
48
49 Package: libwaudio1
50-Section: libs
51 Architecture: armel armhf
52-Pre-Depends: multiarch-support
53 Multi-Arch: same
54 Depends: ${misc:Depends},
55- ${shlibs:Depends}
56+ ${shlibs:Depends},
57 Description: Android Audio Subsystem wrapper
58 This package contains the Android Audio Subsystem wrapper that uses binder to
59 connect with Android's AudioFlinger.
60@@ -24,21 +25,19 @@
61 Section: libdevel
62 Architecture: armel armhf
63 Multi-Arch: same
64-Depends: ${misc:Depends},
65+Depends: libwaudio1 (= ${binary:Version}),
66+ ${misc:Depends},
67 ${shlibs:Depends},
68- libwaudio1 (= ${binary:Version})
69 Description: Android Audio Subsystem wrapper (development files)
70 This package contains the development files needed to compile applications
71 which uses libwaudio.
72
73 Package: libandroid-audiosystem-asound2
74-Section: libs
75 Architecture: armel armhf
76-Pre-Depends: multiarch-support
77 Multi-Arch: same
78-Depends: ${shlibs:Depends},
79+Depends: pulseaudio,
80 ${misc:Depends},
81- pulseaudio
82+ ${shlibs:Depends},
83 Description: Android Audio Subsystem support for ALSA via Binder
84 ALSA pcm and ctl audio io plugin that routes data to the Android AudioFlinger
85 service using Binder (libwaudio1).
86
87=== modified file 'debian/copyright'
88--- debian/copyright 2013-02-08 07:54:14 +0000
89+++ debian/copyright 2013-04-12 16:30:32 +0000
90@@ -1,7 +1,7 @@
91 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
92 Upstream-Name: Android Audio Subsystem support for ALSA via Binder
93 Upstream-Contact: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
94-Source: lp:ubuntu-phablet/android-audiosystem
95+Source: lp:android-audiosystem
96
97 Files: lib/binder/* lib/libcutils/* lib/libmedia/* lib/liblog/* lib/utils/*
98 include/android/* include/binder/* include/cutils/* include/linux/*
99@@ -19,9 +19,15 @@
100 Copyright (C) 2012, Canonical Ltd
101 License: LGPL-2.1+
102
103+Files: include/machine/*
104+Copyright: Copyright (C) 2008-2010, The Android Open Source Project
105+ Copyright (C) 1988-1990, The Regents of the University of California
106+ Copyright (C) 1993, Christopher G. Demetriou
107+License: BSD
108+
109 Files: debian/*
110 Copyright: Copyright (C) 2012, Canonical Ltd
111-License: GPL-3
112+License: Apache-2.0
113
114 License: Apache-2.0
115 Licensed under the Apache License, Version 2.0 (the "License");
116@@ -52,19 +58,30 @@
117 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
118 MA 02110-1301, USA.
119
120-License: GPL-3
121- This program is free software: you can redistribute it and/or modify it
122- under the terms of the the GNU General Public License version 3, as
123- published by the Free Software Foundation.
124- .
125- This program is distributed in the hope that it will be useful, but
126- WITHOUT ANY WARRANTY; without even the implied warranties of
127- MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
128- PURPOSE. See the applicable version of the GNU Lesser General Public
129- License for more details.
130- .
131- You should have received a copy of the GNU General Public License
132- along with this program. If not, see <http://www.gnu.org/licenses/>.
133- .
134- On Debian systems, the complete text of the GNU General Public License
135- can be found in `/usr/share/common-licenses/GPL-3'
136+License: BSD
137+ Copyright (c) The Regents of the University of California.
138+ All rights reserved.
139+ .
140+ Redistribution and use in source and binary forms, with or without
141+ modification, are permitted provided that the following conditions
142+ are met:
143+ 1. Redistributions of source code must retain the above copyright
144+ notice, this list of conditions and the following disclaimer.
145+ 2. Redistributions in binary form must reproduce the above copyright
146+ notice, this list of conditions and the following disclaimer in the
147+ documentation and/or other materials provided with the distribution.
148+ 3. Neither the name of the University nor the names of its contributors
149+ may be used to endorse or promote products derived from this software
150+ without specific prior written permission.
151+ .
152+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
153+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
154+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
155+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
156+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
157+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
158+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
159+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
160+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
161+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
162+ SUCH DAMAGE.
163
164=== modified file 'debian/libwaudio1-dev.install'
165--- debian/libwaudio1-dev.install 2012-11-01 00:54:20 +0000
166+++ debian/libwaudio1-dev.install 2013-04-12 16:30:32 +0000
167@@ -1,2 +1,2 @@
168+usr/include/waudio.h
169 usr/lib/*/libwaudio.so
170-usr/include/waudio.h
171
172=== modified file 'debian/rules'
173--- debian/rules 2012-10-31 12:12:47 +0000
174+++ debian/rules 2013-04-12 16:30:32 +0000
175@@ -1,6 +1,8 @@
176 #!/usr/bin/make -f
177 # -*- makefile -*-
178
179+export DPKG_GENSYMBOLS_CHECK_LEVEL=4
180+
181 # Uncomment this to turn on verbose mode.
182 #export DH_VERBOSE=1
183
184@@ -15,3 +17,10 @@
185
186 override_dh_auto_install:
187 ./build-component.sh --install
188+
189+override_dh_install:
190+ # We don't need those right now, so remove them
191+ rm debian/tmp/usr/bin/audiotest
192+ rm debian/tmp/usr/include/alsa/asound_module_pcm_android.h
193+ rm debian/tmp/usr/include/alsa/asound_module_ctl_android.h
194+ dh_install --fail-missing
195
196=== removed directory 'debian/source'
197=== removed file 'debian/source/format'
198--- debian/source/format 2012-11-01 10:34:20 +0000
199+++ debian/source/format 1970-01-01 00:00:00 +0000
200@@ -1,1 +0,0 @@
201-3.0 (native)

Subscribers

People subscribed via source and target branches