Date: Tue, 11 Dec 2007 12:42:48 +0100 From: Jona Joachim <jaj@hcl-club.lu> To: "Jeremy Messenger" <mezz7@cox.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: ports/118458: [UPDATE] multimedia/handbrake Message-ID: <20071211124248.6acc1382@hcl-club.lu> In-Reply-To: <op.t203zjnc9aq2h7@mezz.mezzweb.com> References: <200712060650.lB66o4kF022891@freefall.freebsd.org> <op.t2xn8ek09aq2h7@mezz.mezzweb.com> <20071207231159.7ec5cc90@spaceman.my.domain> <op.t2zmbgdp9aq2h7@mezz.mezzweb.com> <op.t203zjnc9aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 08 Dec 2007 12:22:21 -0600 "Jeremy Messenger" <mezz7@cox.net> wrote: > On Fri, 07 Dec 2007 17:03:06 -0600, Jeremy Messenger <mezz7@cox.net> > wrote: > > > On Fri, 07 Dec 2007 16:11:59 -0600, Jona Joachim <jaj@hcl-club.lu> > > wrote: > > > >> On Thu, 06 Dec 2007 15:49:16 -0600 > >> "Jeremy Messenger" <mezz7@cox.net> wrote: > >> > >>> On Thu, 06 Dec 2007 00:50:04 -0600, Jona Joachim <jaj@hcl-club.lu> > >>> wrote: > >>> > >>> > The following reply was made to PR ports/118458; it has been > >>> > noted by GNATS. > >>> > > >>> > From: Jona Joachim <jaj@hcl-club.lu> > >>> > To: bug-followup@FreeBSD.org > >>> > Cc: > >>> > Subject: Re: ports/118458: [UPDATE] multimedia/handbrake > >>> > Date: Thu, 6 Dec 2007 07:13:02 +0100 > >>> > > >>> > Sorry for the excessive indentation in MASTER_SITES and > >>> > DISTFILES, it did look fine in vim... > >>> > >>> That's ok, I already have cleaned that in local. Thanks for update > >>> HandBrake! I like what you have done with it. > >>> > >>> I can't get your handbrake build. I keep get this build failure > >>> with and without modify of mine. I put the '-dx' back in for jam > >>> that way I can see the verbose of build. > >> > > <snip> > >> Hmm, it never did that to me. Were there any errors or any other > >> interesting messages during the built of libdvdcss? What > >> architecture are you on? I could only test it on FreeBSD 7 Beta 1 > >> and Beta 4 on i386. I couldn't test it on amd64. Could you perhaps > >> provide me a full output of the built? > > > > We have same system. :-) Don't worry, I have fixed the build when I > > took look a bit deeper. I just added these lines to fix the build. > > > > ============================= > > USE_AUTOTOOLS= libtool:15 > > LIBTOOLFILES= ${WRKSRC}/contrib/a52dec/configure \ > > ${WRKSRC}/contrib/libdvdcss/configure \ > > ${WRKSRC}/contrib/libdvdread/configure \ > > ${WRKSRC}/contrib/faac/configure \ > > ${WRKSRC}/contrib/lame/configure \ > > ${WRKSRC}/contrib/mpeg4ip/configure \ > > ${WRKSRC}/contrib/mpeg2dec/configure \ > > ${WRKSRC}/contrib/libogg/configure \ > > ${WRKSRC}/contrib/libsamplerate/configure \ > > ${WRKSRC}/contrib/libvorbis/configure > > ============================= > > > > <snip> > >>> - Add post-patch to get this port respect the > >>> CC/CXX/CFLAGS/etc in each of ./configure in contrib/Jamfile. > >>> - Modified patch-contrib-Jamfile on ffmpeg part to get respect > >>> CC/PTHREAD_LIBS. > >>> - Re-add '-dx' for verbose build in jam, easier to debug when > >>> user report build failure. > >> > >> Thanks for your changes! > > > > No problem, I will posting an update of patch this evening or > > tomorrow when I find time. I did a bit more than just add lines > > above to fix libdvdread build. > > > >>> I am not done with that, but it's far what I have right now. I am > >>> planning to remove more stuff such as remove all of these -O3, > >>> -O4, -O20, -funroll-loops and other flags as should be respect to > >>> our CFLAGS. Feel free to take this job if you want to. Also, do > >>> you want to take the maintainership? We are willing to give up the > >>> maintainership as we have no interest in HandBrake and we will > >>> leaving it in dust again in future. > >> > >> I think HandBrake is actually a great app since it has a lot of > >> interesting features like Matroska and DTS support, plus it's easy > >> to use. > >> I can take maintainership if you want. > > > > That's up to you if you want the maintainership. :-) > > > >> It would be cool if other people could test it and report if it > >> builds fine for them. > > > > I will need someone to test with my changes too, since my DVD > > drive doesn't work very well with RELENG_7. > > Update patch: http://people.freebsd.org/~mezz/diff/handbrake.diff > > - Fix the build by add USE_AUTOTOOLS/LIBTOOLFILES. > - Respect the CFLAGS, PTHREAD_LIBS, and remove some flags. > - Fix mpeg4ip/configure (s|>&/|>/|g), without it the build gets > fail. > - Fix ffmpeg's prefix. If I run "make PREFIX=/foo" and the ffmpeg > will be installed in /foo/ with /foo/bin/handbrake. Forces it to > install inside ${WRKSRC}/contrib/. > - Replace from "cd `dirname $(>)` && CONTRIB=`pwd`" to > "CONTRIB=${WRKSRC}/contrib && cd $CONTRIB/foo". It's safer way > than the dirname because the dirname is checking on tarball, but we > don't put the > tarball in the ${WRKSRC}/contrib/. See in patch-contrib-Jamfile. > > Let me know how it works for you and others too as I haven't test it > in runtime. I tested it with your latest changes on my system and everything works as expected, on-the-fly DVD ripping was also fine. However it doesn't build in tinderbox. Here is the whole output: http://www.hcl-club.lu/~jaj/stuff/handbrake-0.9.1.log The main problem is that libvorbis doesn't build because it doesn't find libogg: checking for Ogg... no ... configure: error: must have Ogg installed! (on line 6678) The are some other minor problems. Unfortunately tinderbox always cleans the work folder after it finishes. I don't know how to make it keep it to have a look at what's going wrong. -- "I am chaos. I am the substance from which your artists and scientists build rhythms. I am the spirit with which your children and clowns laugh in happy anarchy. I am chaos. I am alive, and tell you that you are free." Eris, Goddess Of Chaos, Discord & Confusion
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071211124248.6acc1382>