Re: [Zinf-users] Cannot make Zinf play an audio cd.
Brought to you by:
kgk,
mayhemchaos
From: David H. <da...@th...> - 2004-05-26 20:41:23
|
On Wed, 26 May 2004 20:16:40 +0100, Matt Smith <smi...@ti...> wrote: > On Wed, 26 May 2004 19:30:47 +0100 > "David Hough" <da...@th...> wrote: > >> >> >> >> I'm pretty sure that the previous version 2.2.4(the last Gtk+ 1 >> release) >> >> doesn't have this problem, or you could recompile 2.2.5 after >> applying >> >> the >> >> patch from the devel list >> >> http://sourceforge.net/mailarchive/message.php?msg_id=7577994 >> >> >> >> David >> > >> > Thanks very much for your reply David. I was using version 2.2.5 >> which >> > I have uninstalled using RpmDrake so that I can compile it from source >> > after applying the patch. The problem I encountered is that I don't >> > actually know how to apply the patch to the source code. I cut and >> > paste the text of the patch into a new file (I called it zinf-patch). >> I >> > then unpacked the zinf source code archive, cd'd into the zinf-2.2.5 >> > directory and typed: >> > >> > patch -i zinf-patch >> >> Looking at the patch you also need to add -p1 or --strip=1 option >> so you should be able to just execute >> >> patch -p1 -i zinf-patch > > I tried to patch using the above command as suggested and it gave the > following error: > > Hunk #1 FAILED at 59. > 1 out of 1 hunk FAILED -- saving rejects to file > io/cd/unix/include/cdpmo.h.rej > patching file io/cd/unix/src/cdpmo.cpp > Hunk #1 FAILED at 106. > 1 out of 1 hunk FAILED -- saving rejects to file > io/cd/unix/src/cdpmo.cpp.rej > > It appears that the patching process has failed. Is there anything else > I could try? > > Thanks, > Matt. Hmmm, no idea whats going wrong there, maybe it something went wrong when copying into the file. You could of course make the changes yourself as it is a very small patch. The patch is formated such that the original contents of a line is marked by "-" at the start and the new version of the line is marked by "+". So to apply the first half you would change the line virtual Error SetTo(const char *url); which is in the file io/cd/unix/include/cdpmo.h, around line 59, to virtual Error SetUrl(const std::string& track_url); and so on. David -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |