summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-21 17:50:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-21 17:50:20 +0000
commit13d17ced85228a69d22ac1f128892be1e03fc4a6 (patch)
treeca6f27e354cd4356d56b2620f838e81cc91d4a0a /media-sound
parentRemove old version and related files. (diff)
downloadhistorical-13d17ced85228a69d22ac1f128892be1e03fc4a6.tar.gz
historical-13d17ced85228a69d22ac1f128892be1e03fc4a6.tar.bz2
historical-13d17ced85228a69d22ac1f128892be1e03fc4a6.zip
Remove old version and related files.
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseaudio/Manifest34
-rw-r--r--media-sound/pulseaudio/files/digest-pulseaudio-0.9.23
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.2-fbsd.patch265
-rw-r--r--media-sound/pulseaudio/files/pulseaudio-0.9.2-moduledetect.patch40
-rw-r--r--media-sound/pulseaudio/files/pulseaudio.init.d37
-rw-r--r--media-sound/pulseaudio/pulseaudio-0.9.2.ebuild130
6 files changed, 7 insertions, 502 deletions
diff --git a/media-sound/pulseaudio/Manifest b/media-sound/pulseaudio/Manifest
index 9855e1cf3b9d..2aa31251f222 100644
--- a/media-sound/pulseaudio/Manifest
+++ b/media-sound/pulseaudio/Manifest
@@ -5,54 +5,34 @@ AUX pulseaudio-0.9.2-esdcompat.patch 1047 RMD160 6fe3a3dfaa8fcbb85f6d765c703a0b6
MD5 9a380dd5a93494a7c1df3ac2f40a6452 files/pulseaudio-0.9.2-esdcompat.patch 1047
RMD160 6fe3a3dfaa8fcbb85f6d765c703a0b67fa4036b8 files/pulseaudio-0.9.2-esdcompat.patch 1047
SHA256 1b96565a6a7bbe185cbd21452470e9b8a1b8e256be994abf58791a986df60172 files/pulseaudio-0.9.2-esdcompat.patch 1047
-AUX pulseaudio-0.9.2-fbsd.patch 7798 RMD160 9539fc01a304ad7336cc738ebf0e0cc7cbe3eb76 SHA1 cdac2487f198fb7c068ce1cc7ecf008a386c634e SHA256 b3a6d9b5cebceaed986d2aaf06af34846efe9819cb12f4dae2c8d838dbc3ee4e
-MD5 8adda20be20f1e0443ff9d404a51ff4a files/pulseaudio-0.9.2-fbsd.patch 7798
-RMD160 9539fc01a304ad7336cc738ebf0e0cc7cbe3eb76 files/pulseaudio-0.9.2-fbsd.patch 7798
-SHA256 b3a6d9b5cebceaed986d2aaf06af34846efe9819cb12f4dae2c8d838dbc3ee4e files/pulseaudio-0.9.2-fbsd.patch 7798
-AUX pulseaudio-0.9.2-moduledetect.patch 1345 RMD160 21f145ac391f707819b2f68386e8fa23060a2af9 SHA1 9351d0cacc243da942935de5423dcde186daa208 SHA256 e0b148d7aa99b2826f06da6a451683206f328553403dd4f690d722a7387b3e91
-MD5 c5e0f26882cdaba00e98d218a364e04e files/pulseaudio-0.9.2-moduledetect.patch 1345
-RMD160 21f145ac391f707819b2f68386e8fa23060a2af9 files/pulseaudio-0.9.2-moduledetect.patch 1345
-SHA256 e0b148d7aa99b2826f06da6a451683206f328553403dd4f690d722a7387b3e91 files/pulseaudio-0.9.2-moduledetect.patch 1345
AUX pulseaudio.conf.d 151 RMD160 7d7a735f8b6cec8484c6339be86cf7cdbcf38309 SHA1 689340a72e46269861a4d24dff8a0b1f8a0acace SHA256 99f8e923e249ad64a8dcc3084a3300988a42412f8160476184115d5f3580a667
MD5 11af5c707a0734a787dbf776b3f52dda files/pulseaudio.conf.d 151
RMD160 7d7a735f8b6cec8484c6339be86cf7cdbcf38309 files/pulseaudio.conf.d 151
SHA256 99f8e923e249ad64a8dcc3084a3300988a42412f8160476184115d5f3580a667 files/pulseaudio.conf.d 151
-AUX pulseaudio.init.d 902 RMD160 88ce25e76a738cbd03af92f283ae52c28cc0d871 SHA1 9321ec6de848ddc8d73bdeec02b35f5146eda5d7 SHA256 2b75e9e60ecd0a40ef32d15720430fccbacdb39cbd1fc21a778018f8fee68c8c
-MD5 1a47348d1e4c15c4c844f532f36bc57b files/pulseaudio.init.d 902
-RMD160 88ce25e76a738cbd03af92f283ae52c28cc0d871 files/pulseaudio.init.d 902
-SHA256 2b75e9e60ecd0a40ef32d15720430fccbacdb39cbd1fc21a778018f8fee68c8c files/pulseaudio.init.d 902
AUX pulseaudio.init.d-2 456 RMD160 55215b87dff432e1bdc919a327a3b41386bc7ff5 SHA1 30b2b37346d1dca520f3f6f68857f8adf5622077 SHA256 0171096817367df4fd639d6122832ffaf49073848827f519857d04d64f855f31
MD5 3dd0ae11af8d212ae5b6f711fc3d3ed5 files/pulseaudio.init.d-2 456
RMD160 55215b87dff432e1bdc919a327a3b41386bc7ff5 files/pulseaudio.init.d-2 456
SHA256 0171096817367df4fd639d6122832ffaf49073848827f519857d04d64f855f31 files/pulseaudio.init.d-2 456
-DIST pulseaudio-0.9.2.tar.gz 1100971 RMD160 32005e876868a507963d6ced53722dd9dd52cc78 SHA1 726a54651656c7d2bcfc6e4d45c7e0839c0519ff SHA256 b0e39ffffa19e0745da6ef2be1df353c3466991c82a191d83bdf4421387a463a
DIST pulseaudio-0.9.3.tar.gz 1111287 RMD160 88ce7f6f55a4ece7620d148912bc6efed8c807f6 SHA1 d3c528acf5d84cf207e4e1e9a41b5efd59dece9a SHA256 f07bd02e1769485c72bd299e4eb28f9eb29a96fb943267e26e49b6ba34d377fc
-EBUILD pulseaudio-0.9.2.ebuild 4044 RMD160 5467e94f92b9ac33deb20c8a94bcd3b8e0add59f SHA1 2c60c13624d453452eb505f669fe35f4893236e0 SHA256 30c99f7072aed3eb2a1213a1f8e534126aa54008451721aadd8cbedd7cad5cfa
-MD5 8885c635a9d6a658ff4ea0ea9b1d04f3 pulseaudio-0.9.2.ebuild 4044
-RMD160 5467e94f92b9ac33deb20c8a94bcd3b8e0add59f pulseaudio-0.9.2.ebuild 4044
-SHA256 30c99f7072aed3eb2a1213a1f8e534126aa54008451721aadd8cbedd7cad5cfa pulseaudio-0.9.2.ebuild 4044
EBUILD pulseaudio-0.9.3.ebuild 3145 RMD160 f4bb32177927cf31b8f6a6f834cb96a97886377c SHA1 d84f3ecd3ff645037115148f580112bfd890844c SHA256 1f64b730a29896ae3f566ddc6884c47c7af0a903be5871585d14306e055dbe09
MD5 b10b544ca6b33213333e89d6f1db93a0 pulseaudio-0.9.3.ebuild 3145
RMD160 f4bb32177927cf31b8f6a6f834cb96a97886377c pulseaudio-0.9.3.ebuild 3145
SHA256 1f64b730a29896ae3f566ddc6884c47c7af0a903be5871585d14306e055dbe09 pulseaudio-0.9.3.ebuild 3145
-MISC ChangeLog 3191 RMD160 4da67bdd07eca17a07a63ea9333dbf284cd9b3d0 SHA1 2916edb77f0378196da465d36452283229adf2e0 SHA256 c80910e4509fe8e1a26db6b1272307fa2f995bb0e5aeb8c119c4445fbb63eab9
-MD5 8c46735b0a836b741da756ef39830926 ChangeLog 3191
-RMD160 4da67bdd07eca17a07a63ea9333dbf284cd9b3d0 ChangeLog 3191
-SHA256 c80910e4509fe8e1a26db6b1272307fa2f995bb0e5aeb8c119c4445fbb63eab9 ChangeLog 3191
+MISC ChangeLog 3423 RMD160 0076c55b51a7e81a598f1417c3a828140209047d SHA1 a8a0917d3fcfdfb1f404176752639fe75db672a0 SHA256 0479fb5719514e2d21e7d256a8c49aed2f7e4675249fbdda2f9dee92937fa564
+MD5 10f405e280d608d2845f552cb5ac2958 ChangeLog 3423
+RMD160 0076c55b51a7e81a598f1417c3a828140209047d ChangeLog 3423
+SHA256 0479fb5719514e2d21e7d256a8c49aed2f7e4675249fbdda2f9dee92937fa564 ChangeLog 3423
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
-MD5 ad341acaed1587d615eec6d1f1a45533 files/digest-pulseaudio-0.9.2 253
-RMD160 9d8db999060db50f2a7da3df84f5643f2982ca2c files/digest-pulseaudio-0.9.2 253
-SHA256 1b50b0a6de74d80653dd9c4ef669d42e2ffb109e12b3e125a7e9b7f6573aee9b files/digest-pulseaudio-0.9.2 253
MD5 24e8d97acc4531bb49f749c953d46060 files/digest-pulseaudio-0.9.3 253
RMD160 4f363587c83de1c7e99e3c02cd4ef5b7a71b7511 files/digest-pulseaudio-0.9.3 253
SHA256 0f9ad61c4a77222a914e24850dca93af82a4bbfaa8e0d1f33d12352ebb4b2ea3 files/digest-pulseaudio-0.9.3 253
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFEwCAwAiZjviIA2XgRAp2mAJ4iNn+vYhQ+TWMOwcvcm5wrpDEMWACfZqlj
-TeatR3yGr8z0JLbwV/gc40s=
-=b9qc
+iD8DBQFEwRPXAiZjviIA2XgRAreBAJwJ96SSYd+T2E/eqMVC/IpnhvaPCQCg2N3S
+QpB12clNJzWSRPPPAA/NlWs=
+=X9as
-----END PGP SIGNATURE-----
diff --git a/media-sound/pulseaudio/files/digest-pulseaudio-0.9.2 b/media-sound/pulseaudio/files/digest-pulseaudio-0.9.2
deleted file mode 100644
index 2e8062f19c88..000000000000
--- a/media-sound/pulseaudio/files/digest-pulseaudio-0.9.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9d3cb3002c338bcd0cab63e3516fb1fd pulseaudio-0.9.2.tar.gz 1100971
-RMD160 32005e876868a507963d6ced53722dd9dd52cc78 pulseaudio-0.9.2.tar.gz 1100971
-SHA256 b0e39ffffa19e0745da6ef2be1df353c3466991c82a191d83bdf4421387a463a pulseaudio-0.9.2.tar.gz 1100971
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.2-fbsd.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.2-fbsd.patch
deleted file mode 100644
index 478c8f5fa5ca..000000000000
--- a/media-sound/pulseaudio/files/pulseaudio-0.9.2-fbsd.patch
+++ /dev/null
@@ -1,265 +0,0 @@
-Index: pulseaudio-0.9.2/configure.ac
-===================================================================
---- pulseaudio-0.9.2.orig/configure.ac
-+++ pulseaudio-0.9.2/configure.ac
-@@ -247,6 +247,9 @@ ACX_PTHREAD
-
- AC_SYS_LARGEFILE
-
-+# Check for open64 to know if the current system does have open64() and similar functions
-+AC_CHECK_FUNCS([open64])
-+
- #### [lib]iconv ####
-
- AM_ICONV
-Index: pulseaudio-0.9.2/src/utils/padsp.c
-===================================================================
---- pulseaudio-0.9.2.orig/src/utils/padsp.c
-+++ pulseaudio-0.9.2/src/utils/padsp.c
-@@ -36,6 +36,7 @@
- #include <pthread.h>
- #include <unistd.h>
- #include <sys/socket.h>
-+#include <sys/stat.h>
- #include <dlfcn.h>
- #include <errno.h>
- #include <fcntl.h>
-@@ -44,12 +45,19 @@
- #include <stdio.h>
- #include <signal.h>
-
-+#ifdef __linux__
- #include <linux/sockios.h>
-+#endif
-
- #include <pulse/pulseaudio.h>
- #include <pulsecore/llist.h>
- #include <pulsecore/gccmacro.h>
-
-+/* On some systems SIOCINQ isn't defined, but FIONREAD is just an alias */
-+#if !defined(SIOCINQ) && defined(FIONREAD)
-+# define SIOCINQ FIONREAD
-+#endif
-+
- typedef enum {
- FD_INFO_MIXER,
- FD_INFO_STREAM,
-@@ -101,8 +109,10 @@ static int (*_ioctl)(int, int, void*) =
- static int (*_close)(int) = NULL;
- static int (*_open)(const char *, int, mode_t) = NULL;
- static FILE* (*_fopen)(const char *path, const char *mode) = NULL;
-+#ifdef HAVE_OPEN64
- static int (*_open64)(const char *, int, mode_t) = NULL;
- static FILE* (*_fopen64)(const char *path, const char *mode) = NULL;
-+#endif
- static int (*_fclose)(FILE *f) = NULL;
- static int (*_access)(const char *, int) = NULL;
-
-@@ -1302,7 +1312,11 @@ static int sndstat_open(int flags, int *
-
- debug(DEBUG_LEVEL_NORMAL, __FILE__": sndstat_open()\n");
-
-- if (flags != O_RDONLY && flags != (O_RDONLY|O_LARGEFILE)) {
-+ if (flags != O_RDONLY
-+#ifdef O_LARGEFILE
-+ && flags != (O_RDONLY|O_LARGEFILE)
-+#endif
-+ ) {
- *_errno = EACCES;
- debug(DEBUG_LEVEL_NORMAL, __FILE__": bad access!\n");
- goto fail;
-@@ -1349,8 +1363,12 @@ int open(const char *filename, int flags
- debug(DEBUG_LEVEL_VERBOSE, __FILE__": open(%s)\n", filename);
-
- va_start(args, flags);
-- if (flags & O_CREAT)
-+ if (flags & O_CREAT) {
-+ if (sizeof(mode_t) < sizeof(int))
-+ mode = va_arg(args, int);
-+ else
- mode = va_arg(args, mode_t);
-+ }
- va_end(args);
-
- if (!function_enter()) {
-@@ -1587,6 +1605,7 @@ static int map_format_back(pa_sample_for
- }
-
- static int dsp_flush_fd(int fd) {
-+#ifdef SIOCINQ
- int l;
-
- if (ioctl(fd, SIOCINQ, &l) < 0) {
-@@ -1605,6 +1624,10 @@ static int dsp_flush_fd(int fd) {
- }
-
- return 0;
-+#else
-+# warning "Your platform does not support SIOCINQ, something might not work as intended."
-+ return 0;
-+#endif
- }
-
- static int dsp_flush_socket(fd_info *i) {
-@@ -1629,6 +1652,7 @@ static int dsp_flush_socket(fd_info *i)
- }
-
- static int dsp_empty_socket(fd_info *i) {
-+#ifdef SIOCINQ
- int ret = -1;
-
- /* Empty the socket */
-@@ -1652,6 +1676,10 @@ static int dsp_empty_socket(fd_info *i)
- }
-
- return ret;
-+#else
-+# warning "Your platform does not support SIOCINQ, something might not work as intended."
-+ return 0;
-+#endif
- }
-
- static int dsp_drain(fd_info *i) {
-@@ -1864,7 +1892,11 @@ static int dsp_ioctl(fd_info *i, unsigne
- case SNDCTL_DSP_GETCAPS:
- debug(DEBUG_LEVEL_NORMAL, __FILE__": SNDCTL_DSP_CAPS\n");
-
-- *(int*) argp = DSP_CAP_DUPLEX | DSP_CAP_MULTI;
-+ *(int*) argp = DSP_CAP_DUPLEX
-+#ifdef DSP_CAP_MULTI
-+ | DSP_CAP_MULTI
-+#endif
-+ ;
- break;
-
- case SNDCTL_DSP_GETODELAY: {
-@@ -1895,11 +1927,15 @@ static int dsp_ioctl(fd_info *i, unsigne
- }
-
- exit_loop:
--
-+
-+#ifdef SIOCINQ
- if (ioctl(i->thread_fd, SIOCINQ, &l) < 0)
- debug(DEBUG_LEVEL_NORMAL, __FILE__": SIOCINQ failed: %s\n", strerror(errno));
- else
- *(int*) argp += l;
-+#else
-+# warning "Your platform does not support SIOCINQ, something might not work as intended."
-+#endif
-
- pa_threaded_mainloop_unlock(i->mainloop);
-
-@@ -1946,7 +1982,7 @@ static int dsp_ioctl(fd_info *i, unsigne
- case SNDCTL_DSP_GETOSPACE:
- case SNDCTL_DSP_GETISPACE: {
- audio_buf_info *bi = (audio_buf_info*) argp;
-- int l;
-+ int l = 0;
- size_t k = 0;
-
- if (request == SNDCTL_DSP_GETOSPACE)
-@@ -1965,10 +2001,14 @@ static int dsp_ioctl(fd_info *i, unsigne
- } else
- k = i->fragment_size * i->n_fragments;
-
-+#ifdef SIOCINQ
- if (ioctl(i->thread_fd, SIOCINQ, &l) < 0) {
- debug(DEBUG_LEVEL_NORMAL, __FILE__": SIOCINQ failed: %s\n", strerror(errno));
- l = 0;
- }
-+#else
-+# warning "Your platform does not dsp_flush_fd, something might not work as intended."
-+#endif
-
- bi->bytes = k > (size_t) l ? k - l : 0;
- } else {
-@@ -1978,11 +2018,14 @@ static int dsp_ioctl(fd_info *i, unsigne
- } else
- k = 0;
-
-+#ifdef SIOCINQ
- if (ioctl(i->app_fd, SIOCINQ, &l) < 0) {
- debug(DEBUG_LEVEL_NORMAL, __FILE__": SIOCINQ failed: %s\n", strerror(errno));
- l = 0;
- }
--
-+#else
-+# warning "Your platform does not dsp_flush_fd, something might not work as intended."
-+#endif
- bi->bytes = k + l;
- }
-
-@@ -2104,6 +2147,8 @@ int access(const char *pathname, int mod
- return 0;
- }
-
-+#ifdef HAVE_OPEN64
-+
- int open64(const char *filename, int flags, ...) {
- va_list args;
- mode_t mode = 0;
-@@ -2126,6 +2171,8 @@ int open64(const char *filename, int fla
- return open(filename, flags, mode);
- }
-
-+#endif
-+
- FILE* fopen(const char *filename, const char *mode) {
- FILE *f = NULL;
- int fd;
-@@ -2168,6 +2215,8 @@ FILE* fopen(const char *filename, const
- return f;
- }
-
-+#ifdef HAVE_OPEN64
-+
- FILE *fopen64(const char *filename, const char *mode) {
-
- debug(DEBUG_LEVEL_VERBOSE, __FILE__": fopen64(%s)\n", filename);
-@@ -2183,6 +2232,8 @@ FILE *fopen64(const char *filename, cons
- return fopen(filename, mode);
- }
-
-+#endif
-+
- int fclose(FILE *f) {
- fd_info *i;
-
-Index: pulseaudio-0.9.2/src/modules/rtp/sap.c
-===================================================================
---- pulseaudio-0.9.2.orig/src/modules/rtp/sap.c
-+++ pulseaudio-0.9.2/src/modules/rtp/sap.c
-@@ -28,6 +28,7 @@
- #include <stdlib.h>
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <netinet/in.h>
- #include <arpa/inet.h>
- #include <errno.h>
- #include <string.h>
-Index: pulseaudio-0.9.2/src/modules/rtp/sdp.c
-===================================================================
---- pulseaudio-0.9.2.orig/src/modules/rtp/sdp.c
-+++ pulseaudio-0.9.2/src/modules/rtp/sdp.c
-@@ -28,6 +28,7 @@
- #include <stdlib.h>
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <netinet/in.h>
- #include <arpa/inet.h>
- #include <string.h>
-
-Index: pulseaudio-0.9.2/src/modules/rtp/module-rtp-recv.c
-===================================================================
---- pulseaudio-0.9.2.orig/src/modules/rtp/module-rtp-recv.c
-+++ pulseaudio-0.9.2/src/modules/rtp/module-rtp-recv.c
-@@ -236,7 +236,7 @@ static int mcast_socket(const struct soc
- struct ipv6_mreq mr6;
- memset(&mr6, 0, sizeof(mr6));
- mr6.ipv6mr_multiaddr = ((const struct sockaddr_in6*) sa)->sin6_addr;
-- r = setsockopt(fd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, &mr6, sizeof(mr6));
-+ r = setsockopt(fd, IPPROTO_IPV6, IPV6_JOIN_GROUP, &mr6, sizeof(mr6));
- }
-
- if (r < 0) {
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.2-moduledetect.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.2-moduledetect.patch
deleted file mode 100644
index bcb18c185a34..000000000000
--- a/media-sound/pulseaudio/files/pulseaudio-0.9.2-moduledetect.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Index: pulseaudio-0.9.2/src/modules/module-detect.c
-===================================================================
---- pulseaudio-0.9.2.orig/src/modules/module-detect.c
-+++ pulseaudio-0.9.2/src/modules/module-detect.c
-@@ -135,23 +135,28 @@ static int detect_oss(pa_core *c, int ju
- line[strcspn(line, "\r\n")] = 0;
-
- if (!b) {
-- b = strcmp(line, "Audio devices:") == 0;
-+ b = strcmp(line, "Audio devices:") == 0 || strcmp(line, "Installed devices:") == 0;
- continue;
- }
-
- if (line[0] == 0)
- break;
-
-- if (sscanf(line, "%u: ", &device) != 1)
-- continue;
--
-- if (device == 0)
-+ if (sscanf(line, "%u: ", &device) == 1) {
-+ if (device == 0)
- snprintf(args, sizeof(args), "device=/dev/dsp");
-- else
-+ else
- snprintf(args, sizeof(args), "device=/dev/dsp%u", device);
-
-- if (!pa_module_load(c, "module-oss", args))
-+ if (!pa_module_load(c, "module-oss", args))
-+ continue;
-+ } else if (sscanf(line, "pcm%u: ", &device) == 1) {
-+ /* FreeBSD support, the device are named /dev/dsp0.0, dsp0.1 and so on */
-+ snprintf(args, sizeof(args), "device=/dev/dsp%u.0", device);
-+
-+ if (!pa_module_load(c, "module-oss", args))
- continue;
-+ }
-
- n++;
-
diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d b/media-sound/pulseaudio/files/pulseaudio.init.d
deleted file mode 100644
index 65a947466c01..000000000000
--- a/media-sound/pulseaudio/files/pulseaudio.init.d
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-
-depend() {
- use net@extradepend@
-}
-
-start() {
- ebegin "Starting pulseaudio"
- HOME=/var/run/pulse
-
- PA_ALL_OPTS="${PA_OPTS} --fail=1 --daemonize=1 --use-pid-file=0
- -n -F /etc/pulse/system.pa"
- start-stop-daemon --start --chuid pulse:pulse \
- --exec /usr/bin/pulseaudio -- ${PA_ALL_OPTS}
- eend $?
-
- if [[ -S /var/run/pulse/native ]]; then
- chgrp -R pulse-access /var/run/pulse
- chmod 0750 /var/run/pulse
- chmod 0660 /var/run/pulse/native
- fi
-
- if [[ $(readlink /usr/bin/esd | xargs basename) == "esdcompat" ]] && [[ -S /tmp/.esd/socket ]]; then
- chgrp -R pulse-access /tmp/.esd
- chmod 0750 /tmp/.esd
- chmod 0660 /tmp/.esd/socket
- fi
-}
-
-stop() {
- ebegin "Stopping pulseaudio"
- start-stop-daemon --stop --quiet --exec /usr/bin/pulseaudio
- eend $?
-}
diff --git a/media-sound/pulseaudio/pulseaudio-0.9.2.ebuild b/media-sound/pulseaudio/pulseaudio-0.9.2.ebuild
deleted file mode 100644
index efc448c17232..000000000000
--- a/media-sound/pulseaudio/pulseaudio-0.9.2.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.2.ebuild,v 1.9 2006/07/19 11:58:24 flameeyes Exp $
-
-inherit eutils libtool autotools
-
-DESCRIPTION="A networked sound server with an advanced plugin system"
-HOMEPAGE="http://0pointer.de/lennart/projects/pulseaudio/"
-SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86-fbsd"
-
-IUSE="alsa avahi caps howl jack lirc oss tcpd X"
-
-RDEPEND="X? ( || ( x11-libs/libX11 <virtual/x11-7 ) )
- caps? ( sys-libs/libcap )
- >=media-libs/audiofile-0.2.6-r1
- >=media-libs/libsamplerate-0.1.1-r1
- >=media-libs/libsndfile-1.0.10
- >=dev-libs/liboil-0.3.6
- alsa? ( >=media-libs/alsa-lib-1.0.10 )
- >=dev-libs/glib-2.4.0
- howl? ( !avahi? ( >=net-misc/howl-0.9.8 )
- avahi? ( net-dns/avahi ) )
- >=dev-libs/liboil-0.3.0
- jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
- tcpd? ( sys-apps/tcp-wrappers )
- lirc? ( app-misc/lirc )
- app-admin/eselect-esd"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-pkg_setup() {
- if use howl && use avahi && ! built_with_use net-dns/avahi howl-compat ; then
- echo
- eerror "In order to compile polypaudio, you need to have net-dns/avahi emerged"
- eerror "with 'howl-compat' in your USE flags. Please add that flag, re-emerge"
- eerror "avahi, and then emerge polypaudio."
- die "net-dns/avahi is missing the HOWL compatibility layer."
- fi
-
- enewgroup audio 18 # Just make sure it exists
- enewgroup pulse-access
- enewgroup pulse
- enewuser pulse -1 -1 /var/run/pulse pulse,audio
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-fbsd.patch"
- epatch "${FILESDIR}/${P}-moduledetect.patch"
- epatch "${FILESDIR}/${P}-esdcompat.patch"
-
- eautoreconf
- elibtoolize
-}
-
-src_compile() {
- local myconf
-
- if use howl; then
- myconf="${myconf} --enable-howl"
- if use avahi; then
- append-flags -I/usr/include/avahi-compat-howl
- fi
- fi
-
- econf \
- --enable-largefile \
- --enable-glib2 \
- --disable-glib1 \
- --disable-solaris \
- --disable-asyncns \
- $(use_enable oss) \
- $(use_enable alsa) \
- $(use_enable lirc) \
- $(use_enable tcpd tcpwrap) \
- $(use_enable jack) \
- $(use_enable lirc) \
- $(use_with caps) \
- $(use_with X x) \
- --disable-ltdl-install \
- --disable-dependency-tracking \
- ${myconf} \
- || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- local extradepend
-
- emake DESTDIR="${D}" install || die "make install failed"
-
- newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio
-
- use alsa && extradepend="$extradepend alsasound"
- sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/pulseaudio.init.d" > "${T}/pulseaudio"
- doinitd "${T}/pulseaudio"
-
- # This section changes the configuration files so that they are ready for
- # the system-wide pulseaudio daemon. The changes are:
- # - use socket at /var/run/pulse/native
- # - enable anonymous access (relies on filesystem-level access to the socket)
- # - changes the dafault server path for the clients
- sed -e '/load-module module-\(native\|esound\)-protocol-unix/s:$: auth-anonymous=1 socket=/var/run/pulse/native:' \
- "${D}/etc/pulse/default.pa" > "${D}/etc/pulse/system.pa"
- cp "${D}"/etc/pulse/client.conf{,.system}
- sed -i -e '/default-server/d' "${D}/etc/pulse/client.conf.system"
- echo "default-server = unix:/var/run/pulse/native" >> \
- "${D}/etc/pulse/client.conf.system"
-
- dohtml -r doc
- dodoc README doc/todo
-}
-
-pkg_postinst() {
- elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon."
- elog "This support is enabled by starting the pulsedaemon init.d and is configured"
- elog "to read the settings from /etc/pulse/system.pa ."
- elog "To be able to use that global daemon, you need also to replace the configuration"
- elog "file /etc/pulse/client.conf with the copy in /etc/pulse/client.conf.system"
- elog "(or to put it in your ~/.pulse/client.conf)."
- elog "To be able to access that you need to be in the group pulse-access."
-
- eselect esd update --if-unset
-}