Page 1 of 1

Firefox 3.6.13 for YDL for CUDA

PostPosted: 23 Feb 2011, 02:28
by ppietro
(Note - the following post assumes some familiarity with the RPM build process. :D)

Hi everyone,

I was able to do an RPM build of Firefox 3.6.13 (and the corresponding xulrunner) for YDL for CUDA.

You can use the normal SRPMs from your favorite CentOS mirror:
xulrunner-1.9.2.13-3.el5.src.rpm
firefox-3.6.13-2.el5.centos.src.rpm


Just use:

rpmbuild --rebuild xulrunner-1.9.2.13-3.el5.src.rpm

install/update the resultant xulrunner and xulrunner-devel rpms, then

rpmbuild --rebuild firefox-3.6.13-2.el5.centos.src.rpm

and install the resultant firefox rpm.

One caveat. There appears to be some missing information in the spec file for xulrunner - the rpmbuild command above will terminate with a "installed (but unpackaged) file(s) found" error.

So - after I executed the command above, I had to edit the xulrunner.spec file like this. Search for %files, and where you see:

Code: Select all
%files
%defattr(-,root,root,-)
%{_bindir}/xulrunner
%{_libdir}/mozilla
%{_datadir}/mozilla


change it to

Code: Select all
%files
/usr/lib64/xulrunner-1.9.2/libfreebl3.chk
/usr/lib64/xulrunner-1.9.2/libnssdbm3.chk
/usr/lib64/xulrunner-1.9.2/libsoftokn3.chk
%defattr(-,root,root,-)
%{_bindir}/xulrunner
%{_libdir}/mozilla
%{_datadir}/mozilla


Then I used:

rpmbuild -ba xulrunner.spec

to build the xulrunner and xulrunner-devel rpms from my edited spec file.

Let me know if you're interested in the RPMs for this. I don't plan on posting them unless people want them.

Cheers,
Paul

Re: Firefox 3.6.13 for YDL for CUDA

PostPosted: 22 Mar 2011, 20:57
by Iguana
Firefox 4 is out, Maybe you could upload an x86 rpm for that, since i bet lots of people will want it, though idk who checks these forums anymore, and if there's even a chance for firefox 4 on the ppc architecture..

it's sort of sad.. :|

Re: Firefox 3.6.13 for YDL for CUDA

PostPosted: 23 Mar 2011, 01:02
by ppietro
Iguana wrote:Firefox 4 is out, Maybe you could upload an x86 rpm for that, since i bet lots of people will want it, though idk who checks these forums anymore, and if there's even a chance for firefox 4 on the ppc architecture..

it's sort of sad.. :|


If there's an SRPM on the CentOS mirrors, I'll try building it. (I'm not writing these from scratch. :D)

UPDATE: Nope - no updates to Firefox/Xulrunner yet.

Cheers,
Paul

Re: Firefox 3.6.13 for YDL for CUDA

PostPosted: 07 Apr 2011, 00:23
by ppietro
Hi everyone,

I'm practicing building 3.6.15 now for CUDA in preparation for an upcoming PPC build.

Cheers,
Paul

Re: Firefox 3.6.13 for YDL for CUDA

PostPosted: 07 Apr 2011, 19:12
by ppietro
ppietro wrote:I'm practicing building 3.6.15 now for CUDA in preparation for an upcoming PPC build.


It built successfully.

The trick is that this version is from the RHEL SRPMS, not CentOS. So far - it looks identical. I had to follow the same steps I outlined above.

I'm building the PowerPC version now, and will update the other thread.

Cheers,
Paul

Re: Firefox 3.6.13 for YDL for CUDA

PostPosted: 05 May 2011, 20:29
by ppietro
Hi everyone,

I'm starting a 3.6.17 build for CUDA right now. Expect the PowerPC build to follow in the next couple of days or so.

Cheers,
Paul

Re: Firefox 3.6.13 for YDL for CUDA

PostPosted: 05 May 2011, 21:48
by ppietro
ppietro wrote:I'm starting a 3.6.17 build for CUDA right now. Expect the PowerPC build to follow in the next couple of days or so.


CUDA build is done. I'll do a PowerPC build when I get a chance - probably in the next couple of days or so.

Cheers,
Paul