Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36606 - patch to allow gnome-cd to work with ppc cd-roms
Summary: patch to allow gnome-cd to work with ppc cd-roms
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard: sound
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-27 15:46 UTC by Jonathan Nall
Modified: 2006-02-04 06:04 UTC (History)
1 user (show)

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


Attachments
tarball containing ebuild, new source code and patch (gnome-media_with_gstreamer_gnome-cd.tgz,9.25 KB, application/octet-stream)
2003-12-27 16:01 UTC, Jonathan Nall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Nall 2003-12-27 15:46:32 UTC
the cd-roms on most (all?) iBooks/powerbooks don't have a cable from the cd-rom to the sound card. this completely b0rks most cd players. i'm atatching a patch against gnome-media-2.4.1.1 to allow gnome-cd to use the gstreamer infrastructure in order to have the digital audio support needed on this hardware. 

currently, the ebuild just blindly does this for any ppc hardware. it should work on all hardware, i think, but many people probably want don't want to take the hit of doing so much work in software.

it also added gst-plugins-cdparanoia as a depend to gnome-media. this probably isn't a big deal.

this is also probably better assigned to the gnome team, but i figured the PPC guys could nudge them a bit since firing up xmms to play CDs is a pain.
Comment 1 Jonathan Nall 2003-12-27 16:01:19 UTC
Created attachment 22719 [details]
tarball containing ebuild, new source code and patch

filelist:

gnome-media/
gnome-media/Manifest
gnome-media/files/
gnome-media/files/gstreamer-gnome-cd.patch
gnome-media/files/gst-cdparanoia-cdrom.c
gnome-media/files/gst-cdparanoia-cdrom.h
gnome-media/files/digest-gnome-media-2.4.1.1-r1
gnome-media/gnome-media-2.4.1.1-r1.ebuild
Comment 2 Spider (RETIRED) gentoo-dev 2003-12-27 18:55:38 UTC
hmm, I kinda like the idea of having this default, mainly cause I dont' have a cable between my cdrom and the soundcards....
Comment 3 Jonathan Nall 2003-12-28 07:07:15 UTC
FYI: i've also posted this patch against gnome-cd itself. that bug is at:
http://bugzilla.gnome.org/show_bug.cgi?id=86331

hopefully the gnome-media is open to the patch.
Comment 4 foser (RETIRED) gentoo-dev 2003-12-28 07:52:29 UTC
hmm well, it is going the gstreamer way anyway, so in that sense i wouldn't mind much.

After a quick look @ the patch here's a few questions i had :

* It uses cdparanoia over the sys cdrom element because the latter would do what it does now (play needing a cable) ?
* It includes linux/cdrom.h for info gathering i suppose, wouldn't it be nicer to have that done via gstreamer as well (don't think there's an element though) ?
* It use a gconf call for getting the audiosink, why not use gst_gconf_get_default_audio_sink ?
Comment 5 Jonathan Nall 2003-12-28 08:12:11 UTC
* It uses cdparanoia over the sys cdrom element because the latter would do what it does now (play needing a cable) ?
i'm not sure what you mean by "the sys cdrom element". 

* It includes linux/cdrom.h for info gathering i suppose, wouldn't it be nicer to have that done via gstreamer as well (don't think there's an element though) ?
yeah, i don't know of an element. i agree doing it all in gstreamer would be ideal.

* It use a gconf call for getting the audiosink, why not use gst_gconf_get_default_audio_sink ?
good point. i didn't know about that call. i've modified the source locally to reflect that change. thanks.
Comment 6 Spider (RETIRED) gentoo-dev 2004-02-15 09:43:33 UTC
a new tarball then perhaps?
Comment 7 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 17:31:11 UTC
What's the current status on this bug. Does it still needs testing on ppc?
Comment 8 foser (RETIRED) gentoo-dev 2004-08-20 05:39:25 UTC
if gnome-cd works with ppc cd-roms it isn't ..
Comment 9 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 14:43:06 UTC
Ok , so we need a Gnome user, with working audio, to test gnome-cd.

I don't have audio on the G5. Any takers?
Comment 10 Santiago Gala 2005-01-09 02:17:54 UTC
gnome-media-2.8.0 (current ~pcc) does not play CDs. Rather, it plays them, but no sound 
comes from the loudspeakers.

xmms (xmms-1.2.10-r9 xmms-cdread-0.14a-r2) plays them without problem
Comment 11 foser (RETIRED) gentoo-dev 2005-04-04 15:23:26 UTC
can someone test gnome-cd from gnome-media on ppc ? If that works then this can be closed.
Comment 12 Mike Gardiner (RETIRED) gentoo-dev 2005-04-04 19:24:14 UTC
gnome-media-2.8  - plays audio cds, no sound
gnome-media-2.10 - plays audio cds, with sound

In other words, it looks to be fixed in >=2.10.
Comment 13 Lars Weiler (RETIRED) gentoo-dev 2005-05-07 16:40:51 UTC
Should we leave that bug open until gnome-2.10 hits stable in the future?
Comment 14 Joe Jezak (RETIRED) gentoo-dev 2005-07-20 18:52:51 UTC
Works for me, closing.