Merge ~morphis/snappy-hwe-snaps/+git/pulseaudio:add-initial-packaging into ~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio:master

Proposed by Simon Fels
Status: Merged
Approved by: Tony Espy
Approved revision: 8540aa16f95b46ccadeb3e27f7b802c6078d2a25
Merged at revision: 42a9fb8db8c9753f385107164911a0edc438980d
Proposed branch: ~morphis/snappy-hwe-snaps/+git/pulseaudio:add-initial-packaging
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio:master
Diff against target: 911 lines (+869/-0)
7 files modified
bin/config (+70/-0)
bin/pactl (+23/-0)
bin/paplay (+23/-0)
bin/parec (+23/-0)
bin/pulseaudio (+25/-0)
data/copyright (+604/-0)
snapcraft.yaml (+101/-0)
Reviewer Review Type Date Requested Status
Tony Espy Needs Fixing
Matteo Croce (community) Approve
Review via email: mp+298027@code.launchpad.net

Description of the change

Initial snap packaging for PulseAudio

This work is based on what David stopped with but ported to snapcraft 2.x and already integrated with the upcoming slot side interface part for pulseaudio.

To post a comment you must log in.
Revision history for this message
Robertino Benis (rbenis) wrote :

LGTM

Revision history for this message
Matteo Croce (teknoraver) :
review: Approve
Revision history for this message
Tony Espy (awe) wrote :

The config script needs some attention ( syntax errors & infinite loop ).

review: Needs Fixing
Revision history for this message
Tony Espy (awe) wrote :

OK, looks much better now.

review: Approve
Revision history for this message
Tony Espy (awe) wrote :

The build fails ( locally & on launchpad ) with the following error:

[Errno 2] No such file or directory: '/opt/dev/snappy/pulseaudio/prime/bin/config'

Adding a line for bin/config to the pulseaudio-common part in snapcraft.yaml fixes the problem.

review: Needs Fixing
Revision history for this message
Tony Espy (awe) :
Revision history for this message
Simon Fels (morphis) wrote :

Narf, should do such work late in the evening. Had that change pending locally too.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/bin/config b/bin/config
0new file mode 1007550new file mode 100755
index 0000000..86b115c
--- /dev/null
+++ b/bin/config
@@ -0,0 +1,70 @@
1#!/bin/bash
2#
3# Copyright (C) 2016 Canonical Ltd
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 3 as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17export PATH="$PATH:$SNAP/sbin"
18
19show_help() {
20 echo "Usage: $0 COMMAND..."
21 echo
22 echo "Commands:"
23 echo " enable-debug Enable verbose debugging."
24 echo " disable-debug Disable verbose debugging."
25}
26
27if [ "$1" = "" ]; then
28 show_help
29 exit
30fi
31
32while [ "$1" != '' ]; do
33 case "$1" in
34 --help)
35 show_help
36 exit
37 ;;
38 enable-debug|disable-debug)
39 commands="$commands $1"
40 shift
41 ;;
42 *)
43 echo "Unknown command: $1"
44 exit 1
45 ;;
46 esac
47done
48
49if [ ! -d $SNAP_DATA/config ] ; then
50 mkdir $SNAP_DATA/config
51fi
52
53run_commands() {
54 while [ -n "$1" ]; do
55 case "$1" in
56 disable-debug)
57 if [ -e $SNAP_DATA/config/debug ] ; then
58 rm $SNAP_DATA/config/debug
59 fi
60 shift
61 ;;
62 enable-debug)
63 touch $SNAP_DATA/config/debug
64 shift
65 ;;
66 esac
67 done
68}
69
70run_commands $commands
diff --git a/bin/pactl b/bin/pactl
0new file mode 10075571new file mode 100755
index 0000000..ad5e799
--- /dev/null
+++ b/bin/pactl
@@ -0,0 +1,23 @@
1#!/bin/sh
2#
3# Copyright (C) 2016 Canonical Ltd
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 3 as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNAP/usr/lib/pulseaudio:$SNAP/usr/lib/pulse-8.0/modules/
18export PULSE_CLIENTCONFIG=$SNAP/etc/pulse/client.conf
19export HOME=$SNAP_DATA/home
20
21mkdir -p $HOME
22
23$SNAP/usr/bin/pactl $@
diff --git a/bin/paplay b/bin/paplay
0new file mode 10075524new file mode 100755
index 0000000..4f83d77
--- /dev/null
+++ b/bin/paplay
@@ -0,0 +1,23 @@
1#!/bin/sh
2#
3# Copyright (C) 2016 Canonical Ltd
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 3 as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNAP/usr/lib/pulseaudio:$SNAP/usr/lib/pulse-8.0/modules/
18export PULSE_CLIENTCONFIG=$SNAP/etc/pulse/client.conf
19export HOME=$SNAP_DATA/home
20
21mkdir -p $HOME
22
23$SNAP/usr/bin/paplay $@
diff --git a/bin/parec b/bin/parec
0new file mode 10075524new file mode 100755
index 0000000..0c1cafd
--- /dev/null
+++ b/bin/parec
@@ -0,0 +1,23 @@
1#!/bin/sh
2#
3# Copyright (C) 2016 Canonical Ltd
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 3 as
7# published by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNAP/usr/lib/pulseaudio:$SNAP/usr/lib/pulse-8.0/modules/
18export PULSE_CLIENTCONFIG=$SNAP/etc/pulse/client.conf
19export HOME=$SNAP_DATA/home
20
21mkdir -p $HOME
22
23$SNAP/usr/bin/parec $@
diff --git a/bin/pulseaudio b/bin/pulseaudio
0new file mode 10075524new file mode 100755
index 0000000..ff69475
--- /dev/null
+++ b/bin/pulseaudio
@@ -0,0 +1,25 @@
1#!/bin/sh
2set -e
3set -x
4
5export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNAP/usr/lib/pulseaudio:$SNAP/usr/lib/pulse-8.0/modules/
6export PULSE_STATE_PATH=$SNAP_DATA/state
7export ALSA_CONFIG_UCM=$SNAP/usr/share/alsa/ucm
8export ALSA_CONFIG_PATH=$SNAP/usr/share/alsa/alsa.conf
9
10mkdir -p $PULSE_STATE_PATH
11
12EXTRA_ARGS=
13
14if [ -e $SNAP_DATA/config/debug ] ; then
15 EXTRA_ARGS="$EXTRA_ARGS -vvv"
16fi
17
18$SNAP/usr/bin/pulseaudio \
19 --exit-idle-time=-1 \
20 --disallow-exit=yes \
21 --system \
22 -F $SNAP/etc/pulse/default.pa \
23 -p $SNAP/usr/lib/pulse-8.0/modules \
24 -n \
25 $EXTRA_ARGS
diff --git a/data/copyright b/data/copyright
0new file mode 10064426new file mode 100644
index 0000000..970053b
--- /dev/null
+++ b/data/copyright
@@ -0,0 +1,604 @@
1This package was debianized by CJ van den Berg <cj@vdbonline.com> on
2Thu, 10 Aug 2006 15:59:43 +0200.
3
4It was downloaded from <http://pulseaudio.org/wiki/DownloadPulseAudio>.
5
6 Upstream Authors
7 ================
8
9 Lennart Poettering <lennart@poettering.net>
10 Pierre Ossman <drzeus@drzeus.cx>,
11 through his employer Cendio <http://www.cendio.com/>
12
13Files: *
14Copyright:
15 Copyright (C) 2004-2009 Lennart Poettering
16 Copyright (C) 2006-2007 Pierre Ossman <ossman@cendio.se> for Cendio AB
17License: LGPL-2.1+
18 The upstream license clarifies pretty well that the sources of pulseaudio are
19 LGPL (please see LGPL license grant below), but that some parts will be
20 effectively GPL since they rely on GPL libraries, quoting the upstream
21 LICENSE:
22
23 """All PulseAudio source files are licensed under the GNU Lesser General
24 Public License. (see file LGPL for details)
25
26 However, the server side links to the GPL-only library 'libsamplerate'
27 which practically downgrades the license of the server part to GPL (see
28 file GPL for details), exercising section 3 of the LGPL.
29
30 Hence you should treat the client library ('libpulse') of PulseAudio as
31 being LGPL licensed and the server part ('libpulsecore') as being GPL
32 licensed. Since the PulseAudio daemon and the modules link to
33 'libpulsecore' they are of course also GPL licensed.
34
35 -- Lennart Poettering, April 20th, 2006."""
36
37 On Debian systems, the complete text of the LGPL-2.1 can be found in
38 /usr/share/common-licenses/LGPL-2.1.
39
40File: src/pulsecore/g711.c
41Copyright:
42 Copyright (C) Sun Microsystems, Inc
43License:
44 This source code is a product of Sun Microsystems, Inc. and is provided
45 for unrestricted use. Users may copy or modify this source code without
46 charge.
47
48 SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
49 THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
50 PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
51
52 Sun source code is provided with no support and without any obligation on
53 the part of Sun Microsystems, Inc. to assist in its use, correction,
54 modification or enhancement.
55
56 SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
57 INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
58 OR ANY PART THEREOF.
59
60 In no event will Sun Microsystems, Inc. be liable for any lost revenue
61 or profits or other special, indirect and consequential damages, even if
62 Sun has been advised of the possibility of such damages.
63
64Files: src/pulsecore/g711.h
65Copyright:
66 Copyright (C) 2001 Chris Bagwell
67Licence:
68 Permission to use, copy, modify, and distribute this software and its
69 documentation for any purpose and without fee is hereby granted, provided
70 that the above copyright notice appear in all copies and that both that
71 copyright notice and this permission notice appear in supporting
72 documentation. This software is provided "as is" without express or
73 implied warranty.
74
75Files: src/pulsecore/poll.*
76Copyright:
77 Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
78 Copyright (C)1994,96,97,98,99,2000,2001,2004 Free Software Foundation, Inc.
79License: LGPL-2.1+
80 On Debian systems, the complete text of the LGPL-2.1 can be found in
81 /usr/share/common-licenses/LGPL-2.1.
82
83Files: src/pulse/utf8.c
84Copyright:
85 Copyright (C) 1999 Tom Tromey
86 Copyright (C) 2000 Red Hat, Inc.
87License: LGPL-2.1+
88 On Debian systems, the complete text of the LGPL-2.1 can be found in
89 /usr/share/common-licenses/LGPL-2.1.
90
91Files: src/modules/bluetooth/ipc.*, src/modules/bluetooth/rtp.*
92Copyright:
93 Copyright (C) 2004-2009 Marcel Holtmann <marcel@holtmann.org>
94License: LGPL-2.1+
95 On Debian systems, the complete text of the LGPL-2.1 can be found in
96 /usr/share/common-licenses/LGPL-2.1.
97
98Files: src/modules/bluetooth/module-bluetooth-{device,discover}.c,
99 src/modules/bluetooth/bluetooth-util.*
100Copyright:
101 Copyright (C) 2008-2009 Joao Paulo Rechi Vita
102License: LGPL-2.1+
103 On Debian systems, the complete text of the LGPL-2.1 can be found in
104 /usr/share/common-licenses/LGPL-2.
105
106File: src/modules/bluetooth/proximity-helper.c
107Copyright:
108 Copyright (C) 2000-2001 Qualcomm Incorporated
109 Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
110 Copyright (C) 2002-2007 Marcel Holtmann <marcel@holtmann.org>
111License: GPL-2+
112 On Debian systems, the complete text of the GPL-2 can be found in
113 /usr/share/common-licenses/GPL-2.
114
115Files: src/modules/bluetooth/sbc*
116Copyright:
117 Copyright (C) 2004-2009 Marcel Holtmann <marcel@holtmann.org>
118 Copyright (C) 2004-2005 Henryk Ploetz <henryk@ploetzli.ch>
119 Copyright (C) 2005-2006 Brad Midgley <bmidgley@xmission.com>
120License: LGPL-2.1+
121 On Debian systems, the complete text of the LGPL-2.1 can be found in
122 /usr/share/common-licenses/LGPL-2.1.
123
124File: src/modules/dbus/iface-{client,stream}.c:
125Copyright:
126 Copyright 2009 Tanu Kaskinen
127 Copyright 2009 Vincent Filali-Ansary <filali.v@azurdigitalnetworks.net>
128License: LGPL-2.1+
129 On Debian systems, the complete text of the LGPL-2.1 can be found in
130 /usr/share/common-licenses/LGPL-2.1.
131
132File: src/modules/dbus/module-dbus-protocol.c
133Copyright:
134 Copyright 2009 Tanu Kaskinen
135 Copyright 2006 Lennart Poettering
136 Copyright 2006 Shams E. King
137License: LGPL-2.1+
138 On Debian systems, the complete text of the LGPL-2.1 can be found in
139 /usr/share/common-licenses/LGPL-2.1.
140
141Files: src/modules/dbus/*
142Copyright:
143 Copyright 2009 Tanu Kaskinen
144License: LGPL-2.1+
145 On Debian systems, the complete text of the LGPL-2.1 can be found in
146 /usr/share/common-licenses/LGPL-2.1.
147
148Files: src/modules/echo-cancel/adrian*.*
149Copyright:
150 Copyright (C) DFS Deutsche Flugsicherung (2004). All Rights Reserved.
151License:
152 You are allowed to use this source code in any open source or closed
153 source software you want. You are allowed to use the algorithms for a
154 hardware solution. You are allowed to modify the source code.
155 You are not allowed to remove the name of the author from this memo or
156 from the source code files. You are not allowed to monopolize the
157 source code or the algorithms behind the source code as your
158 intellectual property. This source code is free of royalty and comes
159 with no warranty.
160
161File: src/modules/echo-cancel/echo-cancel.h
162Copyright:
163 Copyright 2010 Arun Raghavan <arun.raghavan@collabora.co.uk>
164License: LGPL-2.1+
165 On Debian systems, the complete text of the LGPL-2.1 can be found in
166 /usr/share/common-licenses/LGPL-2.1.
167
168File: src/modules/echo-cancel/module-echo-cancel.c
169Copyright:
170 Copyright 2010 Wim Taymans <wim.taymans@gmail.com>
171License: LGPL-2.1+
172 On Debian systems, the complete text of the LGPL-2.1 can be found in
173 /usr/share/common-licenses/LGPL-2.1.
174
175File: src/modules/echo-cancel/speex.c
176Copyright:
177 Copyright 2010 Wim Taymans <wim.taymans@gmail.com>
178 Contributor: Arun Raghavan <arun.raghavan@collabora.co.uk>
179License: LGPL-2.1+
180 On Debian systems, the complete text of the LGPL-2.1 can be found in
181 /usr/share/common-licenses/LGPL-2.1.
182
183File: src/modules/jack/module-jackdbus-detect.c
184Copyright:
185 Written by David Henningsson <david.henningsson@canonical.com>
186 Copyright 2010 Canonical Ltd.
187License: LGPL-2.1+
188 On Debian systems, the complete text of the LGPL-2.1 can be found in
189 /usr/share/common-licenses/LGPL-2.1.
190
191Files: src/modules/module-device-manager.*
192Copyright:
193 Copyright 2006-2008 Lennart Poettering
194 Copyright (C) 2009 Colin Guthrie
195License: LGPL-2.1+
196 On Debian systems, the complete text of the LGPL-2.1 can be found in
197 /usr/share/common-licenses/LGPL-2.1.
198
199File: src/modules/module-equalizer-sink.c
200Copyright:
201 Copyright 2004-2008 Lennart Poettering
202 Copyright 2009 Jason Newton <nevion@gmail.com>
203License: LGPL-2.1+
204 On Debian systems, the complete text of the LGPL-2.1 can be found in
205 /usr/share/common-licenses/LGPL-2.1.
206
207Files: src/pulsecore/dbus-*.*, src/modules/module-hal-detect.c
208Copyright:
209 Copyright 2006 Lennart Poettering
210 Copyright 2006 Shams E. King
211License: LGPL-2.1+
212 On Debian systems, the complete text of the LGPL-2.1 can be found in
213 /usr/share/common-licenses/LGPL-2.1.
214
215File: src/modules/ladspa.h
216Copyright:
217 Copyright (C) 2000-2002 Richard W.E. Furse, Paul Barton-Davis, Stefan
218 Westerfeld.
219License: LGPL-2.1+
220 On Debian systems, the complete text of the LGPL-2.1 can be found in
221 /usr/share/common-licenses/LGPL-2.1.
222
223Files: src/modules/module-always-sink.c, src/modules/rtp/rtsp_client.*
224Copyright:
225 Copyright (C) 2008 Colin Guthrie
226License: LGPL-2.1+
227 On Debian systems, the complete text of the LGPL-2.1 can be found in
228 /usr/share/common-licenses/LGPL-2.1.
229
230Files: src/modules/module-detect.c
231Copyright:
232 Copyright 2006 Lennart Poettering
233 Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
234 Copyright 2006 Diego Petteno
235License: LGPL-2.1+
236 On Debian systems, the complete text of the LGPL-2.1 can be found in
237 /usr/share/common-licenses/LGPL-2.1.
238
239Files: src/modules/roap/*roap*, src/modules/rtp/headerlist.*
240Copyright:
241 Copyright 2005-2007 Lennart Poettering
242 Copyright (C) 2008 Colin Guthrie
243License: LGPL-2.1+
244 On Debian systems, the complete text of the LGPL-2.1 can be found in
245 /usr/share/common-licenses/LGPL-2.1.
246
247Files: src/modules/roap/base64.*
248Copyright:
249 Copyright (C) 2008 Colin Guthrie
250 Copyright (C) Kungliga Tekniska Hogskolan
251License: LGPL-2.1+
252 On Debian systems, the complete text of the LGPL-2.1 can be found in
253 /usr/share/common-licenses/LGPL-2.1.
254
255Files: src/modules/module-device-manager.c
256Copyright:
257 Copyright 2006-2008 Lennart Poettering
258 Copyright 2009 Colin Guthrie
259License: LGPL-2.1+
260 On Debian systems, the complete text of the LGPL-2.1 can be found in
261 /usr/share/common-licenses/LGPL-2.1.
262
263Files: src/modules/module-filter-{apply,heuristics}*.c
264Copyright:
265 Copyright 2011 Colin Guthrie
266License: LGPL-2.1+
267 On Debian systems, the complete text of the LGPL-2.1 can be found in
268 /usr/share/common-licenses/LGPL-2.1.
269
270Files: src/modules/module-solaris.c
271Copyright:
272 Copyright 2006 Lennart Poettering
273 Copyright 2006-2007 Pierre Ossman <ossman@cendio.se> for Cendio AB
274 Copyright 2009 Finn Thain
275License: LGPL-2.1+
276 On Debian systems, the complete text of the LGPL-2.1 can be found in
277 /usr/share/common-licenses/LGPL-2.1.
278
279File: src/modules/module-switch-on-connect.c
280Copyright:
281 Copyright 2006 Lennart Poettering
282 Copyright 2009 Canonical Ltd
283License: LGPL-2.1+
284 On Debian systems, the complete text of the LGPL-2.1 can be found in
285 /usr/share/common-licenses/LGPL-2.1.
286
287Files: src/modules/module-virtual-s{ink,ource}.c
288Copyright:
289 Copyright 2010 Intel Corporation
290 Contributor: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
291License: LGPL-2.1+
292 On Debian systems, the complete text of the LGPL-2.1 can be found in
293 /usr/share/common-licenses/LGPL-2.1.
294
295Files: src/modules/reserve.*
296Copyright:
297 Copyright 2009 (C) Lennart Poettering
298License:
299 Permission is hereby granted, free of charge, to any person
300 obtaining a copy of this software and associated documentation files
301 (the "Software"), to deal in the Software without restriction,
302 including without limitation the rights to use, copy, modify, merge,
303 publish, distribute, sublicense, and/or sell copies of the Software,
304 and to permit persons to whom the Software is furnished to do so,
305 subject to the following conditions:
306
307 The above copyright notice and this permission notice shall be
308 included in all copies or substantial portions of the Software.
309
310 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
311 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
312 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
313 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
314 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
315 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
316 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
317 SOFTWARE.
318
319Files: src/pulsecore/atomic.h
320Copyright:
321 Copyright (C) 2006-2008 Lennart Poettering
322 Copyright (C) 2008 Nokia Corporation
323License: LGPL-2.1+
324 On Debian systems, the complete text of the LGPL-2.1 can be found in
325 /usr/share/common-licenses/LGPL-2.1.
326
327File: src/pulsecore/core-util.c
328Copyright:
329 Copyright (C) 2004-2006 Lennart Poettering
330 Copyright (C) 2004 Joe Marcus Clarke
331 Copyright (C) 2006-2007 Pierre Ossman <ossman@cendio.se> for Cendio AB
332License: LGPL-2.1+
333 On Debian systems, the complete text of the LGPL-2.1 can be found in
334 /usr/share/common-licenses/LGPL-2.1.
335
336Files: src/pulse/ext-device-manager.*
337Copyright:
338 Copyright (C) 2008 Lennart Poettering
339 Copyright (C) 2009 Colin Guthrie
340License: LGPL-2.1+
341 On Debian systems, the complete text of the LGPL-2.1 can be found in
342 /usr/share/common-licenses/LGPL-2.1.
343
344File: src/pulsecore/ffmpeg/avcodec.h
345Copyright:
346 Copyright (c) 2001 Fabrice Bellard
347License: LGPL-2.1+
348 On Debian systems, the complete text of the LGPL-2.1 can be found in
349 /usr/share/common-licenses/LGPL-2.1.
350
351File: src/pulsecore/ffmpeg/resample2.c
352Copyright:
353 Copyright (c) 2004 Michael Niedermayer <michaelni@gmx.at>
354License: LGPL-2.1+
355 On Debian systems, the complete text of the LGPL-2.1 can be found in
356 /usr/share/common-licenses/LGPL-2.1.
357
358File: src/pulsecore/socket-util.c
359Copyright:
360 Copyright (C) 2004-2006 Lennart Poettering
361 Copyright (C) 2004 Joe Marcus Clarke
362 Copyright (C) 2006-2007 Pierre Ossman <ossman@cendio.se> for Cendio AB
363License: LGPL-2.1+
364 On Debian systems, the complete text of the LGPL-2.1 can be found in
365 /usr/share/common-licenses/LGPL-2.1.
366
367File: man/xmltoman
368Copyright:
369 Copyright (C) 2000-2002 Oliver Kurth <oku@masqmail.cx>
370 Copyright (C) 2003 Lennart Poettering <mzkzygbzna@0pointer.de>
371License: LGPL-2+
372 On Debian systems, the complete text of the LGPL-2 can be found in
373 /usr/share/common-licenses/LGPL-2.
374
375File: po/ca.po
376Copyright:
377 Copyright (C) 2008 Xavier Conde Rueda <xavi.conde@gmail.com>
378 Copyright (C) 2009 Agustí Grau <fletxa@gmail.com>, 2009.
379 Copyright (C) Judith Pintó Subirada <judithp@gmail.com>
380 Copyright (C) 2009 Josep Torné Llavall <josep.torne@gmail.com>
381
382License: LGPL-2.1+
383 On Debian systems, the complete text of the LGPL-2.1 can be found in
384 /usr/share/common-licenses/LGPL-2.1.
385
386File: po/cs.po
387Copyright:
388 Copyright (C) 2008,2009 Petr Kovar <pknbe@volny.cz>
389License: LGPL-2.1+
390 On Debian systems, the complete text of the LGPL-2.1 can be found in
391 /usr/share/common-licenses/LGPL-2.1.
392
393File: po/de.po
394Copyright:
395 Copyright (C) 2008,2009 Fabian Affolter <fab@fedoraproject.org>
396 Copyright (C) 2008,2009 Micha Pietsch <barney@fedoraproject.org>
397License: LGPL-2.1+
398 On Debian systems, the complete text of the LGPL-2.1 can be found in
399 /usr/share/common-licenses/LGPL-2.1.
400
401File: po/de_CH.po
402Copyright:
403 Copyright (C) 2008, 2009 Fabian Affolter <fab@fedoraproject.org>
404 Copyright (C) 2008, 2009 Micha Pietsch <barney@fedoraproject.org>
405License: LGPL-2.1+
406 On Debian systems, the complete text of the LGPL-2.1 can be found in
407 /usr/share/common-licenses/LGPL-2.1.
408
409File: po/el.po
410Copyright:
411 Copyright (C) 2008 Dimitris Glezos <dimitris@glezos.com>
412 Copyright (C) 2009 Thalia Papoutsaki <saliyath@gmail.com>
413License: LGPL-2.1+
414 On Debian systems, the complete text of the LGPL-2.1 can be found in
415 /usr/share/common-licenses/LGPL-2.1.
416
417File: po/es.po
418Copyright:
419 Copyright (C) 2009 Domingo Becker <domingobecker@gmail.com>
420 Copyright (C) 2008 Hector Daniel Cabrera <h.daniel.cabrera@gmail.com>
421 Copyright (C) 2009 Fernando Gonzalez Blanco <fgonz@fedoraproject.org>
422License: LGPL-2.1+
423 On Debian systems, the complete text of the LGPL-2.1 can be found in
424 /usr/share/common-licenses/LGPL-2.1.
425
426File: po/fi.po
427Copyright:
428 Copyright (C) 2009 Timo Jyrinki <timo.jyrinki@iki.fi>
429 Copyright (C) 2009 Ville-Pekka Vainio <vpivaini@cs.helsinki.fi>
430License: LGPL-2.1+
431 On Debian systems, the complete text of the LGPL-2.1 can be found in
432 /usr/share/common-licenses/LGPL-2.1.
433
434File: po/fr.po
435Copyright:
436 Copyright (C) 2008 Robert-Andre Mauchin <zebob.m@pengzone.org>
437 Copyright (C) 2008 Michael Ughetto <telimektar esraonline com>
438 Copyright (C) 2008 Pablo Martin-Gomez <pablo.martin-gomez@laposte.net>
439 Copyright (C) 2009 Corentin Perard <corentin.perard@gmail.com>
440License: LGPL-2.1+
441 On Debian systems, the complete text of the LGPL-2.1 can be found in
442 /usr/share/common-licenses/LGPL-2.1.
443
444File: po/gu.po
445Copyright:
446 Copyright (C) 2009 Sweta Kothari <swkothar@redhat.com>
447License: LGPL-2.1+
448 On Debian systems, the complete text of the LGPL-2.1 can be found in
449 /usr/share/common-licenses/LGPL-2.1.
450
451File: po/hi.po
452Copyright:
453 Copyright (C) 2009 Rajesh Ranjan <rajesh672@gmail.com>
454License: LGPL-2.1+
455 On Debian systems, the complete text of the LGPL-2.1 can be found in
456 /usr/share/common-licenses/LGPL-2.1.
457
458File: po/it.po
459Copyright:
460 Copyright (C) 2008,2009 Luca Ferretti <elle.uca@libero.it>
461 Copyright (C) 2009 Milo Casagrande <milo@ubuntu.com>
462 Copyright (C) 2009 ario_santagiuliana <mario at marionline.it>
463 Copyright (C) 2009 Milo Casagrande <milo@ubuntu.com>
464
465License: LGPL-2.1+
466 On Debian systems, the complete text of the LGPL-2.1 can be found in
467 /usr/share/common-licenses/LGPL-2.1.
468
469File: po/ja.po
470Copyright:
471 Copyright (C) 2009 Hyu_gabaru Ryu_ichi <hyu_gabaru@yahoo.co.jp>
472License: LGPL-2.1+
473 On Debian systems, the complete text of the LGPL-2.1 can be found in
474 /usr/share/common-licenses/LGPL-2.1.
475
476File: po/kn.po
477Copyright:
478 Copyright (C) 2009 Shankar Prasad <svenkate@redhat.com>
479License: LGPL-2.1+
480 On Debian systems, the complete text of the LGPL-2.1 can be found in
481 /usr/share/common-licenses/LGPL-2.1.
482
483File: po/mr.po
484Copyright:
485 Copyright (C) 2009 Sandeep Shedmake <sandeep.shedmake@gmail.com>
486 Copyright (C) 2009 Sandeep Shedmake <sshedmak@redhat.com>
487License: LGPL-2.1+
488 On Debian systems, the complete text of the LGPL-2.1 can be found in
489 /usr/share/common-licenses/LGPL-2.1.
490
491File: po/nl.po
492Copyright:
493 Copyright (C) 2009 Geert Warrink <geert.warrink@onsnet.nu>
494 Copyright (C) 2009 Reinout van Schouwen <reinout@gmail.com>
495License: LGPL-2.1+
496 On Debian systems, the complete text of the LGPL-2.1 can be found in
497 /usr/share/common-licenses/LGPL-2.1.
498
499File: po/or.po
500Copyright:
501 Copyright (C) 2009 Manoj Kumar Giri <mgiri@redhat.com>
502License: LGPL-2.1+
503 On Debian systems, the complete text of the LGPL-2.1 can be found in
504 /usr/share/common-licenses/LGPL-2.1.
505
506File: po/pa.po
507Copyright:
508 Copyright (C) 2009 Amanpreet Singh Alam <aalam@users.sf.net>
509 Copyright (C) 2009 Jaswinder Singh <jsingh@redhat.com>
510 Copyright (C) 2009 A S Alam <aalam@users.sf.net>
511License: LGPL-2.1+
512 On Debian systems, the complete text of the LGPL-2.1 can be found in
513 /usr/share/common-licenses/LGPL-2.1.
514
515File: po/pl.po
516Copyright:
517 Copyright (C) 2008 Piotr Drag <piotrdrag@gmail.com>
518License: LGPL-2.1+
519 On Debian systems, the complete text of the LGPL-2.1 can be found in
520 /usr/share/common-licenses/LGPL-2.1.
521
522File: po/pt_BR.po
523Copyright:
524 Copyright (C) 2008 Fabian Affolter <fab@fedoraproject.org>
525License: LGPL-2.1+
526 On Debian systems, the complete text of the LGPL-2.1 can be found in
527 /usr/share/common-licenses/LGPL-2.1.
528
529File: po/sr.po, po/sr@latin.po
530Copyright:
531 Copyright (C) 2009 Igor Miletic (Игор Милетић) <grejigl-gnomeprevod@yahoo.ca>, 2009.
532 Copyright (C) 2009 Miloš Komarčević <kmilos@gmail.com>, 2009.
533License: LGPL-2.1+
534 On Debian systems, the complete text of the LGPL-2.1 can be found in
535 /usr/share/common-licenses/LGPL-2.1.
536
537File: po/sv.po
538Copyright:
539 Copyright (C) 2008 Daniel Nylander <po@danielnylander.se>
540License: LGPL-2.1+
541 On Debian systems, the complete text of the LGPL-2.1 can be found in
542 /usr/share/common-licenses/LGPL-2.1.
543
544File: po/ta.po
545Copyright:
546 Copyright (C) 2009 I. Felix <ifelix@redhat.com>
547License: LGPL-2.1+
548 On Debian systems, the complete text of the LGPL-2.1 can be found in
549 /usr/share/common-licenses/LGPL-2.1.
550
551File: po/te.po
552Copyright:
553 Copyright (C) 2009 Krishna Babu K <kkrothap@redhat.com>
554License: LGPL-2.1+
555 On Debian systems, the complete text of the LGPL-2.1 can be found in
556 /usr/share/common-licenses/LGPL-2.1.
557
558File: po/uk.po
559Copyright:
560 Copyright (C) 2009 Yuri Chornoivan <yurchor@ukr.net>
561License: LGPL-2.1+
562 On Debian systems, the complete text of the LGPL-2.1 can be found in
563 /usr/share/common-licenses/LGPL-2.1.
564
565File: po/zh_CN.po
566Copyright:
567 Copyright (C) 2008 闫丰刚 (sainry)<sainry@gmail.com>
568License: LGPL-2.1+
569 On Debian systems, the complete text of the LGPL-2.1 can be found in
570 /usr/share/common-licenses/LGPL-2.1.
571
572Files: debian/*
573Copyright:
574 Copyright 2006-2009 Sjoerd Simons <sjoerd@debian.org>
575 Copyright 2006-2008 CJ van den Berg <cj@vdbonline.com>
576License: GPL-2+
577 On Debian systems, the complete text of the GPL-2 can be found in
578 /usr/share/common-licenses/GPL-2.
579
580Files: src/pulsecore/cpu-*, src/pulsecore/remap*,
581 src/pulsecore/svolume_{arm,mmx,sse}.c
582Copyright:
583 Copyright 2004-2006 Lennart Poettering
584 Copyright 2009 Wim Taymans <wim.taymans@collabora.co.uk>
585License: LGPL-2.1+
586 On Debian systems, the complete text of the LGPL-2.1 can be found in
587 /usr/share/common-licenses/LGPL-2.1.
588
589
590Files: src/pulsecore/sconv_sse.c
591Copyright:
592 Copyright 2004-2006 Lennart Poettering
593 Copyright 2006 Pierre Ossman <ossman@cendio.se> for Cendio AB
594License: LGPL-2.1+
595 On Debian systems, the complete text of the LGPL-2.1 can be found in
596 /usr/share/common-licenses/LGPL-2.1.
597
598
599Files: src/pulsecore/usergroup.*
600Copyright:
601 Copyright 2009 Ted Percival
602License: LGPL-2.1+
603 On Debian systems, the complete text of the LGPL-2.1 can be found in
604 /usr/share/common-licenses/LGPL-2.1.
diff --git a/snapcraft.yaml b/snapcraft.yaml
0new file mode 100644605new file mode 100644
index 0000000..59d636f
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,101 @@
1name: pulseaudio
2version: 8.0-1
3summary: PulseAudio sound server
4description: |
5 PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
6 WIN32 systems. It is a drop in replacement for the ESD sound server with
7 much better latency, mixing/re-sampling quality and overall architecture.
8
9 Please find the source code for this snap at:
10 https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio
11confinement: strict
12
13apps:
14 pulseaudio:
15 command: bin/pulseaudio
16 daemon: simple
17 slots:
18 - pulseaudio
19 pactl:
20 command: bin/pactl
21 plugs:
22 - pulseaudio
23 paplay:
24 command: bin/paplay
25 plugs:
26 - pulseaudio
27 parec:
28 command: bin/parec
29 plugs:
30 - pulseaudio
31 config:
32 command: bin/config
33
34parts:
35 pulseaudio-common:
36 plugin: copy
37 files:
38 bin/pulseaudio: bin/pulseaudio
39 bin/pactl: bin/pactl
40 bin/paplay: bin/paplay
41 bin/parec: bin/parec
42 bin/config: bin/config
43 data/copyright: usr/share/doc/pulseaudio/copyright
44
45 pulseaudio:
46 plugin: autotools
47
48 source: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/pulseaudio
49 source-type: git
50 source-branch: pulseaudio/8.0
51
52 build-packages:
53 - intltool
54 - libasound2-dev
55 - libdbus-1-dev
56 - libjson-c-dev
57 - libglib2.0-dev
58 - libspeexdsp-dev
59 - libbluetooth-dev
60 - libwebrtc-audio-processing-dev
61 - libltdl-dev
62 - libsndfile1-dev
63 - libx11-xcb-dev
64 - libx11-dev
65 - libtdb-dev
66 - libudev-dev
67 - libasyncns-dev
68 - libxcb1-dev
69
70 stage-packages:
71 # Needed for various ALSA related configuration files the alsa
72 # module inside PulseAudio requires to use any available audio
73 # device properly
74 - libasound2-data
75
76 configflags:
77 - --prefix=/usr
78 - --sysconfdir=/etc
79 - --libexec=/usr/lib
80 - --libdir=/usr/lib
81 - --localstatedir=/var
82 - --enable-udev
83 - --disable-rpath
84 - --disable-orc
85 - --disable-gconf
86 - --disable-bluez4
87 - --disable-bluez5
88 - --disable-esound
89 - --disable-adrian-aec
90 - --disable-gtk3
91 - --disable-hal-compat
92 - --disable-systemd-login
93 - --without-caps
94 - --disable-webrtc-aec
95 - --disable-dbus
96 - --disable-oss-output
97 - --disable-oss-wrapper
98 - --disable-jack
99 - --disable-x11
100 - --with-system-user=root
101 - --with-system-group=root

Subscribers

People subscribed via source and target branches

to all changes: