By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 747 - arts: jack support isn't enabled by cmake
Summary: arts: jack support isn't enabled by cmake
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: arts (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: All All
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-12-15 06:12 CST by Laurent Dard
Modified: 2012-10-19 15:53 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
RHEL/Fedora patch from Francois Andriot to enable Jack support (1.76 KB, patch)
2011-12-17 20:01 CST, Timothy Pearson
Details | Diff
ARTS: add support for OSS/ESD (4.25 KB, patch)
2011-12-21 06:00 CST, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Dard 2011-12-15 06:12:08 CST
arts has support for jack but the move from autoconf to cmake dropped the option.

See the configure script of arts-1.5.9:

JACK_CFLAGS
JACK_LIBADD
JACK_LDFLAGS

...

  --with-jack             enable support for Jack [default=check]

...

# Check whether --with-jack was given.
if test "${with_jack+set}" = set; then
  withval=$with_jack;
else
  with_jack=check
fi


if test "x$with_jack" != xno; then
  { echo "$as_me:$LINENO: checking for Jack Audio Connection Kit" >&5
echo $ECHO_N "checking for Jack Audio Connection Kit... $ECHO_C" >&6; }
  if $PKG_CONFIG --atleast-version 0.90 jack >/dev/null 2>&1 ; then
    JACK_CFLAGS="`$PKG_CONFIG --cflags jack`"
    JACK_LIBADD="`$PKG_CONFIG --libs-only-l jack`"
    JACK_LDFLAGS="`$PKG_CONFIG --libs-only-L jack`"
    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }

cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBJACK 1
_ACEOF

  else
    { echo "$as_me:$LINENO: result: not installed" >&5
echo "${ECHO_T}not installed" >&6; }
  fi




  if test "x$with_jack" != xcheck && test -z "$JACK_LIBADD"; then
    { { echo "$as_me:$LINENO: error: --with-jack was given, but test for Jack failed
See \`config.log' for more details." >&5
echo "$as_me: error: --with-jack was given, but test for Jack failed
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
  fi
fi

...

JACK_CFLAGS!$JACK_CFLAGS$ac_delim
JACK_LIBADD!$JACK_LIBADD$ac_delim
JACK_LDFLAGS!$JACK_LDFLAGS$ac_delim
Comment 1 Timothy Pearson 2011-12-17 20:01:08 CST
Created attachment 228 [details]
RHEL/Fedora patch from Francois Andriot to enable Jack support
Comment 2 Francois Andriot 2011-12-21 06:00:03 CST
Created attachment 236 [details]
ARTS: add support for OSS/ESD

Please note that the JACK patch posted above requires the OSS/ESD patch to be applied before.

If you want JACK without OSS/ESD, you need to modify the JACK patch accordingly.
Comment 3 Timothy Pearson 2012-01-12 17:29:45 CST
Fixed in GIT hashes d548013 and c85bc12.

Thanks for reporting, and for the patches!