--- android-audiosystem-1.8+13.10.20130807.orig/debian/libwaudio1-dev.install +++ android-audiosystem-1.8+13.10.20130807/debian/libwaudio1-dev.install @@ -0,0 +1,2 @@ +usr/include/waudio.h +usr/lib/*/libwaudio.so --- android-audiosystem-1.8+13.10.20130807.orig/debian/libandroid-audiosystem-asound2.postinst +++ android-audiosystem-1.8+13.10.20130807/debian/libandroid-audiosystem-asound2.postinst @@ -0,0 +1,32 @@ +#!/bin/sh + +DEFAULT=/etc/pulse/default.pa +DEFAULT_TMP=`mktemp` + +set -e +case "$1" in + configure) + mkdir -p /etc/pulse + # Just clean up the old file, and add the new config on top + if [ -f "$DEFAULT" ]; then + grep -v "^load-module module-alsa" $DEFAULT > $DEFAULT_TMP + echo "load-module module-alsa-sink device=android alternate_rate=16000 control=\"Master\"" >> $DEFAULT_TMP + echo "load-module module-alsa-source device=android alternate_rate=16000 channels=1" >> $DEFAULT_TMP + cp -f $DEFAULT_TMP $DEFAULT + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +ldconfig + +#DEBHELPER# + +exit 0 --- android-audiosystem-1.8+13.10.20130807.orig/debian/copyright +++ android-audiosystem-1.8+13.10.20130807/debian/copyright @@ -0,0 +1,87 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Android Audio Subsystem support for ALSA via Binder +Upstream-Contact: Ricardo Salveti de Araujo +Source: lp:android-audiosystem + +Files: lib/binder/* lib/libcutils/* lib/libmedia/* lib/liblog/* lib/utils/* + include/android/* include/binder/* include/cutils/* include/linux/* + include/machine/* include/media/* include/private/* include/unicode/* + include/utils/* +Copyright: Copyright (C) 2005-2012 The Android Open Source Project +License: Apache-2.0 + +Files: lib/waudio/* lib/include/waudio.h include/waudio/* app/* +Copyright: Copyright (C) 2010, Motorola +License: Apache-2.0 + +Files: lib/wctlplugin/* lib/wpcmplugin/* +Copyright: Copyright (C) 2010, Motorola + Copyright (C) 2012, Canonical Ltd +License: LGPL-2.1+ + +Files: include/machine/* +Copyright: Copyright (C) 2008-2010, The Android Open Source Project + Copyright (C) 1988-1990, The Regents of the University of California + Copyright (C) 1993, Christopher G. Demetriou +License: BSD + +Files: debian/* +Copyright: Copyright (C) 2012, Canonical Ltd +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +License: BSD + Copyright (c) The Regents of the University of California. + All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. --- android-audiosystem-1.8+13.10.20130807.orig/debian/libwaudio1.install +++ android-audiosystem-1.8+13.10.20130807/debian/libwaudio1.install @@ -0,0 +1 @@ +usr/lib/*/libwaudio.so.1* --- android-audiosystem-1.8+13.10.20130807.orig/debian/libandroid-audiosystem-asound2.install +++ android-audiosystem-1.8+13.10.20130807/debian/libandroid-audiosystem-asound2.install @@ -0,0 +1,3 @@ +etc/asound.conf /etc +usr/lib/*/alsa-lib/libasound_module_ctl_android.so +usr/lib/*/alsa-lib/libasound_module_pcm_android.so --- android-audiosystem-1.8+13.10.20130807.orig/debian/control +++ android-audiosystem-1.8+13.10.20130807/debian/control @@ -0,0 +1,43 @@ +Source: android-audiosystem +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 9), + libasound2-dev, + pkg-config, + zlib1g-dev, +Standards-Version: 3.9.4 +Homepage: https://launchpad.net/android-audiosystem +# If you aren't a member of ~phablet-team but need to upload packaging changes, +# just go ahead. ~phablet-team will notice and sync up the code again. +Vcs-Bzr: https://code.launchpad.net/~phablet-team/android-audiosystem/trunk + +Package: libwaudio1 +Architecture: armhf i386 +Multi-Arch: same +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Android Audio Subsystem wrapper + This package contains the Android Audio Subsystem wrapper that uses binder to + connect with Android's AudioFlinger. + +Package: libwaudio1-dev +Section: libdevel +Architecture: armhf i386 +Multi-Arch: same +Depends: libwaudio1 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: Android Audio Subsystem wrapper (development files) + This package contains the development files needed to compile applications + which uses libwaudio. + +Package: libandroid-audiosystem-asound2 +Architecture: armhf i386 +Multi-Arch: same +Depends: pulseaudio, + ${misc:Depends}, + ${shlibs:Depends}, +Description: Android Audio Subsystem support for ALSA via Binder + ALSA pcm and ctl audio io plugin that routes data to the Android AudioFlinger + service using Binder (libwaudio1). --- android-audiosystem-1.8+13.10.20130807.orig/debian/compat +++ android-audiosystem-1.8+13.10.20130807/debian/compat @@ -0,0 +1 @@ +9 --- android-audiosystem-1.8+13.10.20130807.orig/debian/rules +++ android-audiosystem-1.8+13.10.20130807/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_build: + ./build-component.sh --compile + +override_dh_auto_clean: + ./build-component.sh --clean + +override_dh_auto_install: + ./build-component.sh --install + +override_dh_install: + # We don't need those right now, so remove them + rm debian/tmp/usr/bin/audiotest + rm debian/tmp/usr/include/alsa/asound_module_pcm_android.h + rm debian/tmp/usr/include/alsa/asound_module_ctl_android.h + dh_install --fail-missing --- android-audiosystem-1.8+13.10.20130807.orig/debian/changelog +++ android-audiosystem-1.8+13.10.20130807/debian/changelog @@ -0,0 +1,177 @@ +android-audiosystem (1.8+13.10.20130807-0ubuntu1) saucy; urgency=low + + [ Ricardo Salveti de Araujo ] + * waudio.h: adding external C . + + [ Ubuntu daily release ] + * Automatic snapshot from revision 51 + + -- Ubuntu daily release Wed, 07 Aug 2013 01:54:27 +0000 + +android-audiosystem (1.8daily13.06.12-0ubuntu1) saucy; urgency=low + + [ Ricardo Salveti de Araujo ] + * Enabling build for i386. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 49 + + -- Ubuntu daily release Wed, 12 Jun 2013 00:02:35 +0000 + +android-audiosystem (1.8daily13.05.31-0ubuntu1) saucy; urgency=low + + * Automatic snapshot from revision 47 + + -- Ubuntu daily release Fri, 31 May 2013 00:02:00 +0000 + +android-audiosystem (1.8daily13.05.30-0ubuntu1) saucy; urgency=low + + * Automatic snapshot from revision 46 + + -- Ubuntu daily release Thu, 30 May 2013 00:24:08 +0000 + +android-audiosystem (1.8daily13.05.29ubuntu.unity.next-0ubuntu1) saucy; urgency=low + + * Automatic snapshot from revision 45 (ubuntu-unity/next) + + -- Ubuntu daily release Wed, 29 May 2013 16:55:40 +0000 + +android-audiosystem (1.8daily13.04.17ubuntu.unity.next-0ubuntu1) raring; urgency=low + + [ Ɓukasz 'sil2100' Zemczak ] + * debian/control, debian/rules, debian/copyright, + debian/libwaudio1-dev.install: + - Modifications to conform better to our packaging standards + * Removed debian/source/format + * Automatic snapshot from revision 44 (bootstrap) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 44 (ubuntu-unity/next) + + -- Ubuntu daily release Wed, 17 Apr 2013 00:01:44 +0000 + +android-audiosystem (1.8) quantal; urgency=low + + * Tuning default pulse alsa modules to allow recording and playing at 16kHz + + -- Ricardo Salveti de Araujo Mon, 11 Feb 2013 17:35:39 -0200 + +android-audiosystem (1.7) quantal; urgency=low + + * Enabling audio input support + * Updating packages to better fit Ubuntu's standards + + -- Ricardo Salveti de Araujo Fri, 08 Feb 2013 05:34:08 -0200 + +android-audiosystem (1.6) quantal; urgency=low + + * Making code compatible with JB 4.2.1 + * Dropping verbose log output at stdout and android log system + * Drop dependency on gcc 4.6 + + -- Ricardo Salveti de Araujo Sat, 26 Jan 2013 04:19:11 -0200 + +android-audiosystem (1.5) quantal; urgency=low + + * Fixing master and pulse mixer mute to be at the same mixer (LP: #1092379) + * Pulseaudio stream should now be 100% by default (after boot) + (LP: #1092379) + * Fixing ctl name to make pulse to properly use the mixer (LP: #1092377) + * Fixing ctl mute values (needs to be inverted for alsa) + + -- Ricardo Salveti de Araujo Wed, 19 Dec 2012 23:55:42 -0200 + +android-audiosystem (1.4) quantal; urgency=low + + * Export interface for get/set device parameters + + -- Ricardo Salveti de Araujo Wed, 19 Dec 2012 00:30:15 -0200 + +android-audiosystem (1.3) quantal; urgency=low + + * Exporting more AudioFlinger entry points (like setmode for ofono) + * Enabling proper volume and mute support for master and pulse + + -- Ricardo Salveti de Araujo Wed, 05 Dec 2012 15:38:49 +0000 + +android-audiosystem (1.2) unstable; urgency=low + + * Adding pulseaudio as dependency of libandroid-audiosystem-asound2: + - The current hackish implementation needs /etc/pulse/default.pa to be + available in order to change the default audio sink + + -- Ricardo Salveti de Araujo Mon, 05 Nov 2012 18:01:19 -0200 + +android-audiosystem (1.1) unstable; urgency=low + + * Forcing GCC/G++ to 4.6 to avoid incompatibilities with the Android code + * Fixing build for proper SONAME and static linking + * debian/rules: cleaning up to use dh + * debian/copyright: updating copyright to use copyright format 1.0 + * debian/compat: bump to compat 9 + * debian/control: + - Updating to reflect current branch and maintainer + - Breaking down into separated packages for the wrapper and alsa plugin + + -- Ricardo Salveti de Araujo Fri, 02 Nov 2012 12:16:53 +0100 + +android-audiosystem (1.0-1-newyork9) precise; urgency=low + + * Rename alsa plugins from moto to android. LP#1028006. + + -- Michael Frey Mon, 23 Jul 2012 14:57:46 -0400 + +android-audiosystem (1.0-1-newyork8) precise; urgency=low + + * Fix install of pulse and alsa config files. + + -- Michael Frey Tue, 12 Jun 2012 10:12:00 -0400 + +android-audiosystem (1.0-1-newyork7) precise; urgency=low + + * Fix alsa libs install paths + * Prevent installation of pulseaudio conf files + + -- Ricardo Mendoza Wed, 06 Jun 2012 15:57:21 -0430 + +android-audiosystem (1.0-1-newyork6) precise; urgency=low + + * Expand internal build support for armhf targers + * Release newyork6 + + -- Ricardo Mendoza Tue, 05 Jun 2012 16:18:55 -0430 + +android-audiosystem (1.0-1-newyork5) precise; urgency=low + + * Release under correct pocket + + -- Ricardo Mendoza Tue, 05 Jun 2012 11:07:56 -0430 + +android-audiosystem (1.0-1-newyork4) quantal; urgency=low + + * Add armhf to supported architectures + + -- Ricardo Mendoza Tue, 05 Jun 2012 10:21:36 -0430 + +android-audiosystem (1.0-1-newyork3) precise; urgency=low + + * Change prefix to /usr and remove empty dirs + + -- Ricardo Mendoza Mon, 04 Jun 2012 14:44:25 -0430 + +android-audiosystem (1.0-1-newyork2) precise; urgency=low + + * Recreate package structure + - Collapsed both rootfs/src directories + - Fix installation paths for config files + - Create links for newly installed libraries + - Cleanup of various control files + - Change alsa libraries installation target + + -- Ricardo Mendoza Fri, 01 Jun 2012 15:02:24 -0430 + +android-audiosystem (1.0-1-newyork1) precise; urgency=medium + + * Initial release pulled from the Motorola upstream (version 1.0-1) and merged with Android 4.0 libraries. + + -- Lorenzo Polidori Wed, 30 May 2012 12:37:52 +0100