Re: Transcode and FC9
Dominik 'Rathann' Mierzejewski <[email protected]> Tue, 17 Jun 2008 12:25:08 +0200
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, 17 June 2008 at 09:02, Fabio Bizzi wrote:
> David Timms ha scritto:
> >Fabio Bizzi wrote:
> >>1) I have corrected the include ffmpeg paths in the file
> >>transcode-1.0.5-ffmpeg.patch (attached)
> >did it have lib64 as part of the path ?
>
> No, I have only add the prefix "ffmpeg" to all the include files ".h"
> The problem is that the ffmpeg includes have changed again the path eg:
>
> from libavcodec/avcodec.h
>
> to ffmpeg/libavcodec/avcodec.h
No. What actually happened was that they changed their include paths
from /usr/include/ffmpeg/*.h to /usr/include/ffmpeg/lib<name>/*.h.
So the necessary change is, for example
#include <avcodec.h>
to
#include <libavcodec/avcodec.h>
> and also for libpostproc/postprocess.h that became
> ffmpeg/libpostproc/postprocess.h
That's correct.
> No "lib64" in any path of the original patch file.
>
> >
> >>2) modified the file /usr/include/ffmpeg/libavcodec/avcodec.h
> >I think that it'll stop other packages that link against ffmpeg from
> >working {i think}.
> >
>
> Maybe, I think so.
>
> >Being a livna user as well, I noticed that there is some changes to
> >ffmpeg layout, I haven't found a solution yet myself {for a different
> >package}.
> >
> >diff -u orig to new, and post so we can get wider feedback.
>
> I have attached the diff of the modified spec and ffmpeg patch for the
> transcode rpm.
> I have also attached the diff for the avcodec.h file from ffmpeg.
The patch is incorrect. You just need to use pkg-config to add correct
flags to CFLAGS and LDFLAGS.
Regards,
R.
--
Fedora http://fedoraproject.org/wiki/User:Rathann
Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"