Opened 17 years ago
Closed 17 years ago
Last modified 17 years ago
#3833 closed patch (fixed)
Mythtv should allow linking with -ldca, instead of forced -ldts.
Reported by: | Owned by: | Janne Grunau | |
---|---|---|---|
Priority: | trivial | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
libdts development has stopped, and new name for library is libdca. It's API compatible with libdts, libdca also installs libdts.pc (same as libdca.pc), dts.h (same as dca.h) but does not install libdts, but libdca instead. So trivial fix would be to allow linking also with -ldca.
[1] http://download.videolan.org/pub/videolan/libdca/0.0.5/ [2] http://www.videolan.org/developers/libdca.html
Untested / suggested patch:
--- configure.orig 2007-08-15 19:52:13.000000000 +0300 +++ configure 2007-08-15 19:55:52.000000000 +0300 @@ -2322,7 +2322,9 @@
die "Only one of amr_nb and amr_nb_fixed may be enabled."
if enabled libdts; then
- if has_library libdts_pic; then
+ if has_library libdca; then + dtslib="-ldca" + elif has_library libdts_pic; then
dtslib="-ldts_pic"
elif has_library libdts; then
dtslib="-ldts"
(janneg said he will look at this issue, but opening this so we can track it more easily.)
Attachments (1)
Change History (7)
Changed 17 years ago by
Attachment: | configure.patch added |
---|
comment:1 Changed 17 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to Janne Grunau |
Version: | unknown → head |
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 17 years ago by
The error message emitted by configure should also be fixed as it is now misleading. The error message at about line 2330 refers to the 'libdts' library, which clearly may no longer exist. See my attempt to note this in closed ticket 3860. IJR rejected this amendment as distribution specific. It appears that that may not be the case. Upstream (videolan) has changed the name. The error message should refer to both possibilities.
(In [14234]) Refs #3833. use libdca for DTS decoding if no libdts is available