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