Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110580 - rdesktop sound support
Summary: rdesktop sound support
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 14:58 UTC by tomas charvat
Modified: 2005-10-27 13:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomas charvat 2005-10-26 14:58:41 UTC
rdesktop is client for MS terminal server. It is supposed to be able to map
sounds from server to client. However even with alsa USE flag, ebuild do not
pass --enable-audio flag (i guessed name of the flag) during compilation.

Reproducible: Always
Steps to Reproduce:
1.emerge rdesktop
2. rdesktop -r sound:local server.aloha.com
3.

Actual Results:  
Rdesktop say:
WARNING: Not compiled with sound support

Expected Results:  
Rdesktop should say... 
Jaj... lets rock`n`roll
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-27 06:30:03 UTC
What version of rdesktop are you trying?

Please post the output of your emerge info.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-27 06:34:08 UTC
Ehh... actually...

This is completely invalid...

~/tmp/rdesktop-1.4.1 $ ./configure --help
`configure' configures rdesktop 1.4.1 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-static-openssl link OpenSSL statically

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-x                use the X Window System
  --with-openssl=DIR          look for OpenSSL at DIR/include, DIR/lib
  --with-egd-socket=PATH  look for Entropy Gathering Daemon socket at PATH
  --with-libvncserver-config=CMD  use CMD as libvncserver-config
  --with-libvncserver     make rdp2vnc
  --with-libao=DIR        look for libao at DIR/include, DIR/lib
  --with-sound            select sound system ("oss", "sgi", "sun" or "libao")
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
  --with-ipv6             enable IPv6-support
  --with-debug            enable protocol debugging output
  --with-debug-kbd        enable debugging of keyboard handling
  --with-debug-rdp5       enable debugging of RDP5 code
  --with-debug-clipboard  enable debugging of clipboard code

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.


There is not --enable-audio *in* rdesktop, at least not in portage.  Also,
there's no use of the alsa USE flag in the ebuild, anyway.  It uses oss since
rdesktop only works with oss sound.
Comment 3 tomas charvat 2005-10-27 12:54:09 UTC
so my rdesktop version is 1.4.1 on amd64 2005.1 profile.
From your post i would guess, that config option is --with-sound   

And yes i do expect, that things will merge with OSS support, while we can use
OSS emulation in ALSA, at least untill there will be native ALSA support by rdesktop

Btw.: that text in () behind --enable-audio..  ( i guessed name of the flag)
realy mean, that i have no clue, whats the name of the flag.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-27 13:21:13 UTC
You'll have to excuse me, but what you just wrote made exactly zero sense to me.

At any rate, you never posted your "emerge info" so I can't possibly help you. 
I can tell you that it builds with sound support perfectly fine, as I use it
daily.  I would be willing to bet that the issue you're experiencing is a
configuration issue of ALSA for OSS emulation.