Import Debian changes 3.3.2-9
rplay (3.3.2-9) unstable; urgency=low
* removed "transitional" rplay package (closes: 308703)
* removed bogus and unused inetd decl (closes: 288437)
* include errno.h instead of extern definition (closes: 280274)
* no longer creates the /usr/doc link (closes: 322834)
* applied patch for gnu and kfreebsd-gnu (closes: 267997)
lantz moore authored 18 years ago
Thorsten Alteholz committed 5 years ago
206 | 206 | AC_MSG_CHECKING(for FreeBSD) |
207 | 207 | AC_EGREP_CPP(yes, |
208 | 208 | [ |
209 | #ifdef __FreeBSD__ | |
209 | #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) | |
210 | 210 | yes |
211 | 211 | #endif |
212 | 212 | ], is_freebsd=yes, is_freebsd=no) |
217 | 217 | fi |
218 | 218 | |
219 | 219 | dnl |
220 | dnl Check for the Hurd | |
221 | dnl | |
222 | if test -z "$RPLAY_TARGET"; then | |
223 | AC_MSG_CHECKING(for the Hurd) | |
224 | AC_EGREP_CPP(yes, | |
225 | [ | |
226 | #ifdef __GNU__ | |
227 | yes | |
228 | #endif | |
229 | ], is_gnu=yes, is_gnu=no) | |
230 | AC_MSG_RESULT($is_gnu) | |
231 | if test $is_gnu = "yes"; then | |
232 | RPLAY_TARGET="gnu" | |
233 | fi | |
234 | fi | |
235 | ||
236 | dnl | |
237 | 220 | dnl *** Add new systems before this line *** |
238 | 221 | dnl |
239 | 222 | |
242 | 225 | dnl |
243 | 226 | if test -z "$RPLAY_TARGET"; then |
244 | 227 | echo 'Sorry, I could not figure out what type of system you have.' |
245 | echo -n 'Would you like to try the generic configuration? ' | |
246 | read ans | |
247 | case "$ans" in | |
248 | y|Y|yes|Yes|YES|sure|ok|okay) RPLAY_TARGET="generic" ;; | |
249 | *) echo configuration aborted; exit 1; | |
250 | esac | |
228 | echo 'Will try the generic configuration.' | |
229 | sleep 5 | |
230 | RPLAY_TARGET="generic" | |
251 | 231 | fi |
252 | 232 | |
253 | 233 | echo "using $RPLAY_TARGET configuration" |
273 | 253 | |
274 | 254 | BUILD_TARGETS="$BUILD_TARGETS librplay rplayd rplay rptp doc" |
275 | 255 | |
276 | if test $RPLAY_TARGET = "oss" -o $RPLAY_TARGET = "gnu"; then | |
277 | BUILD_TARGETS="$BUILD_TARGETS devrplay" | |
278 | fi | |
256 | case "$RPLAY_TARGET" in | |
257 | oss|FreeBSD|generic) BUILD_TARGETS="$BUILD_TARGETS devrplay";; | |
258 | esac | |
279 | 259 | |
280 | 260 | AC_SUBST(BUILD_TARGETS) |
281 | 261 |
0 | rplay (3.3.2-9) unstable; urgency=low | |
1 | ||
2 | * removed "transitional" rplay package (closes: 308703) | |
3 | * removed bogus and unused inetd decl (closes: 288437) | |
4 | * include errno.h instead of extern definition (closes: 280274) | |
5 | * no longer creates the /usr/doc link (closes: 322834) | |
6 | * applied patch for gnu and kfreebsd-gnu (closes: 267997) | |
7 | ||
8 | -- lantz moore <lmoore@debian.org> Wed, 24 Aug 2005 16:56:50 -0700 | |
9 | ||
0 | 10 | rplay (3.3.2-8) unstable; urgency=low |
1 | 11 | |
2 | 12 | * better arg passing in rplaydsp. (closes: Bug#133199) |
1 | 1 | Section: sound |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: lantz moore <lmoore@debian.org> |
4 | Standards-Version: 3.5.6.1 | |
5 | Build-Depends: libgsm1-dev, libreadline4-dev, debhelper | |
6 | ||
7 | Package: rplay | |
8 | Architecture: any | |
9 | Depends: rplay-server, rplay-client, rplay-contrib, librplay3, librplay3-dev, rplay-perl | |
10 | Description: A fake transitional package. | |
11 | Contains a set of dependencies designed to mitigate upgrade problems. | |
12 | This package will cause all of the rplay packages to be installed, after | |
13 | which time it can safely be removed. | |
14 | . | |
15 | rplay-server contains the rplay server. | |
16 | rplay-client contains the rplay clients. | |
17 | librplay3{,-dev} contains the rplay libraries. | |
18 | rplay-perl contains the rplay perl modules. | |
19 | rplay-contrib currently only contains the mailsound stuff. | |
20 | . | |
21 | RPlay allows sounds to be played to and from local and remote Unix | |
22 | systems. Sounds can be played with or without sending audio data over | |
23 | the network using either UDP or TCP/IP. RPlay audio servers can be | |
24 | configured to share sound files with each other. | |
25 | . | |
26 | Support for RPlay is included in several applications. These include | |
27 | xpilot, xlockmore, xboing, fvwm, and ctwm. | |
4 | Standards-Version: 3.6.1.1 | |
5 | Build-Depends: libgsm1-dev, libreadline4-dev, debhelper (>> 4.0.0) | |
28 | 6 | |
29 | 7 | Package: rplay-client |
30 | 8 | Architecture: any |
31 | 9 | Depends: ${shlibs:Depends} |
32 | Conflicts: rplay (<< 3.3.2-2) | |
33 | Replaces: rplay (<< 3.3.2-2) | |
34 | Description: The basic rplay clients. | |
10 | Conflicts: rplay (<< 3.3.2-9) | |
11 | Replaces: rplay (<< 3.3.2-9) | |
12 | Description: The basic rplay clients | |
35 | 13 | This package contains the basic rplay clients (rplay, rptp). The clients |
36 | 14 | are used to play sounds on the local host or remote systems. |
37 | 15 | . |
46 | 24 | Package: rplay-server |
47 | 25 | Architecture: any |
48 | 26 | Depends: ${shlibs:Depends} |
49 | Conflicts: rplay (<< 3.3.2-2) | |
50 | Replaces: rplay (<< 3.3.2-2) | |
27 | Conflicts: rplay (<< 3.3.2-9) | |
28 | Replaces: rplay (<< 3.3.2-9) | |
51 | 29 | Suggests: mpg123, vorbis-tools |
52 | Description: The rplay network audio system server. | |
30 | Description: The rplay network audio system server | |
53 | 31 | This package contains the rplay server. The rplay server allows sounds |
54 | 32 | to be played on the system. |
55 | 33 | . |
64 | 42 | Package: librplay3 |
65 | 43 | Architecture: any |
66 | 44 | Depends: ${shlibs:Depends} |
67 | Conflicts: rplay (<< 3.3.2-2) | |
68 | Replaces: rplay (<< 3.3.2-2) | |
69 | Description: Shared libraries for the rplay network audio system. | |
45 | Conflicts: rplay (<< 3.3.2-9) | |
46 | Replaces: rplay (<< 3.3.2-9) | |
47 | Section: libs | |
48 | Description: Shared libraries for the rplay network audio system | |
70 | 49 | Contains shared libraries for the rplay network audio system. |
71 | 50 | . |
72 | 51 | RPlay allows sounds to be played to and from local and remote Unix |
79 | 58 | |
80 | 59 | Package: librplay3-dev |
81 | 60 | Architecture: any |
82 | Conflicts: rplay (<< 3.3.2-2) | |
83 | Replaces: rplay (<< 3.3.2-2) | |
61 | Conflicts: rplay (<< 3.3.2-9) | |
62 | Replaces: rplay (<< 3.3.2-9) | |
84 | 63 | Depends: librplay3 (= ${Source-Version}) |
85 | 64 | Section: devel |
86 | Description: Development libraries for the rplay network audio system. | |
65 | Description: Development libraries for the rplay network audio system | |
87 | 66 | Contains header files and development libraries for the rplay network |
88 | 67 | audio system. |
89 | 68 | . |
98 | 77 | Package: rplay-contrib |
99 | 78 | Architecture: any |
100 | 79 | Depends: ${shlibs:Depends}, rplay-perl, ${perl:Depends} |
101 | Conflicts: rplay (<< 3.3.2-2) | |
102 | Replaces: rplay (<< 3.3.2-2) | |
103 | Description: Contributed binaries for the rplay network audio system. | |
80 | Conflicts: rplay (<< 3.3.2-9) | |
81 | Replaces: rplay (<< 3.3.2-9) | |
82 | Description: Contributed binaries for the rplay network audio system | |
104 | 83 | Contains mailsounds and Mailsounds each of which can be used to play |
105 | 84 | sounds on a system when new mail arrives. |
106 | 85 | . |
114 | 93 | |
115 | 94 | Package: rplay-perl |
116 | 95 | Architecture: any |
117 | Conflicts: rplay (<< 3.3.2-2) | |
118 | Replaces: rplay (<< 3.3.2-2) | |
96 | Conflicts: rplay (<< 3.3.2-9) | |
97 | Replaces: rplay (<< 3.3.2-9) | |
119 | 98 | Depends: ${perl:Depends} |
120 | Description: Perl modules for the rplay network audio system. | |
99 | Description: Perl modules for the rplay network audio system | |
121 | 100 | Contains perl modules which aid in creating rplay-aware perl scripts. |
122 | 101 | . |
123 | 102 | RPlay allows sounds to be played to and from local and remote Unix |
0 | 0 | #!/bin/sh -e |
1 | 1 | |
2 | pkg=librplay3-dev | |
3 | ||
4 | if [ "$1" = "configure" ]; then | |
5 | if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then | |
6 | ln -sf ../share/doc/$pkg /usr/doc/$pkg | |
7 | fi | |
8 | fi | |
9 | ||
10 | 2 | #DEBHELPER# |
0 | 0 | #!/bin/sh -e |
1 | 1 | |
2 | pkg=rplay | |
3 | ||
4 | if [ "$1" = "configure" ]; then | |
5 | if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then | |
6 | ln -sf ../share/doc/$pkg /usr/doc/$pkg | |
7 | fi | |
8 | fi | |
9 | ||
10 | 2 | #DEBHELPER# |
0 | 0 | #!/bin/sh -e |
1 | 1 | |
2 | pkg=rplay-contrib | |
3 | ||
4 | if [ "$1" = "configure" ]; then | |
5 | if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then | |
6 | ln -sf ../share/doc/$pkg /usr/doc/$pkg | |
7 | fi | |
8 | fi | |
9 | ||
10 | 2 | #DEBHELPER# |
0 | usr/lib/perl5/RPlay.pm | |
1 | usr/lib/perl5/RPTP.pm | |
2 | usr/lib/perl5/rplay.ph | |
0 | usr/share/perl5/RPlay.pm | |
1 | usr/share/perl5/RPTP.pm | |
2 | usr/share/perl5/rplay.ph |
0 | /etc/rplay/rplay.conf | |
1 | /etc/rplay/rplay.servers | |
2 | /etc/rplay/rplay.helpers | |
3 | /etc/rplay/rplay.hosts | |
4 | /etc/init.d/rplay |
2 | 2 | pkg=rplayd |
3 | 3 | |
4 | 4 | if [ "$1" = "configure" ]; then |
5 | if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then | |
6 | ln -sf ../share/doc/$pkg /usr/doc/$pkg | |
7 | fi | |
8 | ||
9 | 5 | if [ -e /etc/init.d/rplayd ]; then |
10 | 6 | rm /etc/init.d/rplayd |
11 | 7 | fi |
0 | #!/bin/sh -e | |
1 | ||
2 | pkg=rplay | |
3 | ||
4 | if [ "$1" = "configure" ]; then | |
5 | if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then | |
6 | ln -sf ../share/doc/$pkg /usr/doc/$pkg | |
7 | fi | |
8 | fi | |
9 | ||
10 | #DEBHELPER# |
0 | #!/bin/sh -e | |
1 | ||
2 | pkg=rplay | |
3 | ||
4 | if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$pkg ]; then | |
5 | rm -f /usr/doc/$pkg | |
6 | fi | |
7 | ||
8 | #DEBHELPER# |
38 | 38 | infodir=$(i)/usr/share/info \ |
39 | 39 | mandir=$(i)/usr/share/man |
40 | 40 | install -s contrib/mailsound/mailsound $(i)/usr/bin |
41 | mkdir -p $(i)/usr/lib/perl5 | |
42 | install -m 664 perl/{RPlay.pm,rplay.ph,RPTP.pm} $(i)/usr/lib/perl5 | |
41 | mkdir -p $(i)/usr/share/perl5 | |
42 | install -m 664 perl/{RPlay.pm,rplay.ph,RPTP.pm} $(i)/usr/share/perl5 | |
43 | 43 | install perl/Mailsound $(i)/usr/bin |
44 | 44 | install -m 644 contrib/mailsound/mailsound.1 $(i)/usr/share/man/man1 |
45 | 45 | install -m 644 perl/Mailsound.1 $(i)/usr/share/man/man1 |
70 | 70 | # dh_installcron |
71 | 71 | dh_installman |
72 | 72 | dh_installinfo |
73 | dh_undocumented | |
74 | 73 | dh_installchangelogs |
75 | 74 | dh_strip |
76 | 75 | dh_link |
34 | 34 | #include <sys/ioctl.h> |
35 | 35 | #include <sys/errno.h> |
36 | 36 | #include <errno.h> |
37 | #include <machine/soundcard.h> | |
37 | #include <sys/soundcard.h> | |
38 | 38 | |
39 | 39 | /* |
40 | 40 | * for the poor folks who don't have a sound card, but use the pc speaker |
72 | 72 | extern fd_set read_mask; |
73 | 73 | extern fd_set write_mask; |
74 | 74 | extern int debug; |
75 | extern int inetd; | |
76 | 75 | extern int rptp_timeout; |
77 | 76 | extern char hostname[]; |
78 | 77 | extern char *hostaddr; |
132 | 131 | extern int monitor_count; |
133 | 132 | extern BUFFER *monitor_buffers; |
134 | 133 | |
135 | extern int errno; | |
134 | #include <errno.h> | |
136 | 135 | |
137 | 136 | #ifdef __STDC__ |
138 | 137 | extern void usage (); |