add packaging
authorAnas Nashif <anas.nashif@intel.com>
Sat, 10 Nov 2012 19:59:13 +0000 (11:59 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Thu, 11 Apr 2013 11:50:31 +0000 (04:50 -0700)
packaging/0001-disabled-start.patch [deleted file]
packaging/0002-dsuppress-socket-error.patch [deleted file]
packaging/0003-wrong-memset.patch [deleted file]
packaging/pulseaudio.spec

diff --git a/packaging/0001-disabled-start.patch b/packaging/0001-disabled-start.patch
deleted file mode 100644 (file)
index 71ad79e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-From: Anas Nashif <anas.nashif@intel.com>
-Date: Sat, 10 Nov 2012 11:20:46 -0800
-Subject: disabled start
-
----
- src/daemon/start-pulseaudio-kde.in |    6 ++++++
- src/daemon/start-pulseaudio-x11.in |    6 ++++++
- 2 files changed, 12 insertions(+), 0 deletions(-)
-
-diff --git a/src/daemon/start-pulseaudio-kde.in b/src/daemon/start-pulseaudio-kde.in
-index c319e7d..e83fdea 100755
---- a/src/daemon/start-pulseaudio-kde.in
-+++ b/src/daemon/start-pulseaudio-kde.in
-@@ -19,6 +19,12 @@
- set -e
-+. /etc/sysconfig/sound
-+
-+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
-+    exit 1
-+fi
-+
- [ -z "$PULSE_SERVER" ]
- @PA_BINARY@ --start "$@"
-diff --git a/src/daemon/start-pulseaudio-x11.in b/src/daemon/start-pulseaudio-x11.in
-index 391a6d3..401828d 100755
---- a/src/daemon/start-pulseaudio-x11.in
-+++ b/src/daemon/start-pulseaudio-x11.in
-@@ -19,6 +19,12 @@
- set -e
-+. /etc/sysconfig/sound
-+
-+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
-+    exit 1
-+fi
-+
- @PA_BINARY@ --start "$@"
- if [ x"$DISPLAY" != x ] ; then
diff --git a/packaging/0002-dsuppress-socket-error.patch b/packaging/0002-dsuppress-socket-error.patch
deleted file mode 100644 (file)
index 042aeb6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Anas Nashif <anas.nashif@intel.com>
-Date: Sat, 10 Nov 2012 11:21:15 -0800
-Subject: dsuppress socket error
-
----
- src/pulsecore/socket-client.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/pulsecore/socket-client.c b/src/pulsecore/socket-client.c
-index 23d5d88..051cf68 100644
---- a/src/pulsecore/socket-client.c
-+++ b/src/pulsecore/socket-client.c
-@@ -253,7 +253,7 @@ static int sockaddr_prepare(pa_socket_client *c, const struct sockaddr *sa, size
-     c->local = pa_socket_address_is_local(sa);
-     if ((c->fd = pa_socket_cloexec(sa->sa_family, SOCK_STREAM, 0)) < 0) {
--        pa_log("socket(): %s", pa_cstrerror(errno));
-+        /*pa_log("socket(): %s", pa_cstrerror(errno));*/
-         return -1;
-     }
diff --git a/packaging/0003-wrong-memset.patch b/packaging/0003-wrong-memset.patch
deleted file mode 100644 (file)
index a691837..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Anas Nashif <anas.nashif@intel.com>
-Date: Sat, 10 Nov 2012 11:21:51 -0800
-Subject: wrong memset
-
----
- src/modules/echo-cancel/adrian-aec.c |    2 +-
- src/modules/rtp/rtp.c                |    2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/modules/echo-cancel/adrian-aec.c b/src/modules/echo-cancel/adrian-aec.c
-index 1476ee4..9928424 100644
---- a/src/modules/echo-cancel/adrian-aec.c
-+++ b/src/modules/echo-cancel/adrian-aec.c
-@@ -163,7 +163,7 @@ static void AEC_leaky(AEC *a)
-     } else if (1 == a->hangover) {
-       --(a->hangover);
-       // My Leaky NLMS is to erase vector w when hangover expires
--      memset(a->w, 0, sizeof(a->w));
-+      memset(a->w, 0, sizeof(REAL));
-     }
-   }
- }
-diff --git a/src/modules/rtp/rtp.c b/src/modules/rtp/rtp.c
-index 178717c..5ba32c6 100644
---- a/src/modules/rtp/rtp.c
-+++ b/src/modules/rtp/rtp.c
-@@ -286,7 +286,7 @@ int pa_rtp_recv(pa_rtp_context *c, pa_memchunk *chunk, pa_mempool *pool, struct
-     if (!found_tstamp) {
-         pa_log_warn("Couldn't find SCM_TIMESTAMP data in auxiliary recvmsg() data!");
--        memset(tstamp, 0, sizeof(tstamp));
-+        memset(tstamp, 0, sizeof(struct timeval));
-     }
-     return 0;
index 693e2eb..5975954 100644 (file)
@@ -210,7 +210,6 @@ This package contains GDM integration hooks for the PulseAudio sound server.
 %setup -q -T -b0
 
 %build
-%autogen
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 # libpulse and libpulsecommon need each other - no way with as-needed
 export LD_AS_NEEDED=0