First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 192579
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo SuperH Porters <sh@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Samuli Suominen <ssuominen@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192579 depends on: 192577 192601 193563 Show dependency tree
Bug 192579 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-15 07:38 0000
media-libs/libdts is deprecated and apps should be using libdca now, renamed by
upstream so moving on.. please do xine-lib-1.1.8 bug same time with this one,
as current stable doesn't support libdca. thanks.

------- Comment #1 From Samuli Suominen 2007-09-15 07:40:40 0000 -------
Site http://www.sr.se/cgi-bin/mall/index.asp?programid=2445 has some example
DTS files you can use for testing.

------- Comment #2 From Kenneth Prugh 2007-09-15 15:36:43 0000 -------
media-libs/libdca-0.0.5 on AMD64:

Emerges fine, no collisions. Works, tested with
media-video/mplayer-1.0_rc1_p20070824 with dts USE flag and the included dtsdec
program.

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4,
2.6.23-rc1 x86_64)
=================================================================
System uname: 2.6.23-rc1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sat, 15 Sep 2007 13:00:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict sandbox
sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://www.gtlib.gatech.edu/pub/gentoo "
MAKEOPTS="-j3"
PKGDIR="/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus dri
examples flac fortran gdbm gpm hal iconv isdnlog jpeg kde kdeenablefinal mad
midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam
pcre perl png pppd python qt4 readline reflection session spl sse sse2 ssl
symlink tcpd test truetype truetype-fonts type1-fonts unicode vorbis xml xorg
zlib" ALSA_CARDS="usb-audio hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Jeroen Roovers 2007-09-15 15:51:34 0000 -------
Hmm, why does media-libs/libdca block media-libs/libdts, but not the other way
round?

------- Comment #4 From Christoph Mende 2007-09-15 16:15:50 0000 -------
amd64 stable

------- Comment #5 From Samuli Suominen 2007-09-15 17:09:08 0000 -------
(In reply to comment #3)
> Hmm, why does media-libs/libdca block media-libs/libdts, but not the other way
> round?
> 

Because Portage can handle reverse blockers I believe.

------- Comment #6 From Jeroen Roovers 2007-09-15 17:32:32 0000 -------
Stable for HPPA.

------- Comment #7 From Jurek Bartuszek 2007-09-16 00:00:39 0000 -------
x86 stable

------- Comment #8 From Ferris McCormick 2007-09-16 22:26:15 0000 -------
On Sparc, this builds and installs routinely.  However, it has no built-in
tests and I have no way to test it, so I myself cannot keyword it without some
help.  From the description, I suppose this would be verification as a libdts
replacement.  But that doesn't help because my systems have no use for
supporting soundstreams --- no audio support.

------- Comment #9 From Lars Weiler (RETIRED) 2007-09-17 12:29:35 0000 -------
ppc stable.

------- Comment #10 From Alexis Ballier 2007-09-17 17:08:29 0000 -------
(In reply to comment #8)
> On Sparc, this builds and installs routinely.  However, it has no built-in
> tests and I have no way to test it, so I myself cannot keyword it without some
> help.  From the description, I suppose this would be verification as a libdts
> replacement.  But that doesn't help because my systems have no use for
> supporting soundstreams --- no audio support.
> 

In order to test it you can grab samples at : 
http://samples.mplayerhq.hu/A-codecs/DTS/

I've patched vlc 0.8.6b_beta1 to be compatible with this version, so you can
just try USE="dts" emerge vlc and then run "vlc your_just_grabbed_dts_file"

you can also try dcadec that is shipped with libdca, "dcadec -o wav my_dts_file
> foo.wav" and then just play it with your favorite audio player ;)
(betware of the ">", it outputs binary to stdout and made unusable my $TERM
several times)


(copy/paste from bug #175164)

------- Comment #11 From Ferris McCormick 2007-09-17 18:12:21 0000 -------
Um, my main point was that I do not have audio devices in any of my systems. :)

------- Comment #12 From Alexis Ballier 2007-09-17 19:40:49 0000 -------
(In reply to comment #11)
> Um, my main point was that I do not have audio devices in any of my systems. :)

Bah... I missed the 's' ;) shame on me

Then I dunno how I could help you, besides providing you md5's of decoded wav
files to mimic a test.

------- Comment #13 From Ferris McCormick 2007-09-17 20:14:24 0000 -------
Going through the dcadec procedure you suggest with a file from
http://samples.mplayerhq.hu/A-codecs/DTS/ runs and produces an output file. 
I'm going to play with the resulting file on a system with good sound support. 
It's just that that system is not sparc --- that doesn't matter, I think. 
Surely the resulting .wav file from "dcadec -o wav ... > ..." is
system-neutral.

I don't need sound on the system where I make the file; the file I make has to
play on a system with sound. :)

------- Comment #14 From Markus Ullmann 2007-09-17 21:15:14 0000 -------
sparc stable

------- Comment #15 From Matthew Schultz 2007-09-21 21:16:00 0000 -------
If media-libs/libdts is deprecated, you need to stabilize
>ffmpeg/ffmpeg-0.4.9_p20070330 since this version has a dependency on
media-libs/libdts.

------- Comment #16 From Raúl Porcel 2007-09-24 11:39:10 0000 -------
alpha/ia64 stable, thanks Tobias

------- Comment #17 From Markus Rothe 2007-10-08 17:33:16 0000 -------
ppc64 stable

------- Comment #18 From Jey 2007-10-20 09:38:26 0000 -------
Ok.If libdts is deprecated, I understand now why package with the dts USE flag
enabled try to install the dca package. But then I guess in this context, there
should be a new "dca" USE flag. Of course "dts" should still exist for a while
and continue to redirect to dca for compatibility for current portage's
configuration. But a "(deprecated: use dca now)" should be add to its
description.

------- Comment #19 From Alexis Ballier 2007-10-20 11:01:19 0000 -------
(In reply to comment #18)
> Ok.If libdts is deprecated, I understand now why package with the dts USE flag
> enabled try to install the dca package. But then I guess in this context, there
> should be a new "dca" USE flag. Of course "dts" should still exist for a while
> and continue to redirect to dca for compatibility for current portage's
> configuration. But a "(deprecated: use dca now)" should be add to its
> description.
> 

imho we should only update the use flag description, dts is a format afaik,
thus dts useflag makes sense.
but the description might be a bit confusing:
dts - Enables libdts (DTS Coherent Acoustics decoder) support

I'd suggest changing it to:
dts - Enables DTS Coherent Acoustics decoder support


@other sound people: any thoughts ?

------- Comment #20 From Jey 2007-10-20 11:13:31 0000 -------
This sounds ok for me.

------- Comment #21 From Jey 2007-10-20 11:29:55 0000 -------
Oh a question that I wondered after I made some search about what was precisely
this DTS Coherent Acoustics technology (thanks Wikipedia ;-). Apparently libdca
is not another library providing same service, but the new name of the libdts
library. In this case, isn't there a mean through portage that -- even though
they have different names -- libdca can be considered as an upgrade of libdts?

The reason of this question is that as libdts was already installed, libdca's
installation was blocked by presence of libdts. I had then to unmerge it first
(so 2 steps instead of one and some time checking dependencies, and wondering
what was exactly this library). So I was thinking that maybe portage could do
it itself if there could be some flag telling it that this is simply a name
change...

But maybe is it difficult if the name change was also accompanied by some API
change? Or maybe simply dependency problems because any build before and after
the upgrade would look for different named library (but for this, if API is
similar, I was thinking that some symlink could solve the issue, could it?)?
Bye.

------- Comment #22 From Alexis Ballier 2007-10-20 11:40:49 0000 -------
yes, we can do a packagemove so that it can be considered as an upgrade; but if
we do so, that'll probably break arm and sh stable systems since they don't
have any libdca stable. (please correct me if I'm wrong on the packagemove
behavior though)

------- Comment #23 From Samuli Suominen 2007-10-20 14:26:48 0000 -------
(In reply to comment #19)
> I'd suggest changing it to:
> dts - Enables DTS Coherent Acoustics decoder support
> @other sound people: any thoughts ?

I've just changed it per your suggestion. Just do it(tm) ;-)

------- Comment #24 From Samuli Suominen 2007-11-03 10:58:02 0000 -------
arm stable

First Last Prev Next    No search results available      Search page      Enter new bug