Firefox 3.6 end of life and options for CentOS/YDL

General discussion Forum. All YDL related question which are not Install or Beginner questions.

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 26 Mar 2012, 18:30

billb wrote:
ppietro wrote:UPDATE: Interesting. Although HTML5 support is in this build, it doesn't look like webm support was included. (h.264 will never be included in Firefox for reasons I detailed here: A possible solution to the YouTube issue + boo hiss)


Yes I noticed that ... wasn't sure how to enable it in a rebuild, though. That spec file is a monster. :wink:


Almost have webm working. Stay tuned.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 26 Mar 2012, 20:08

Notes to myself....

Sidebar: After running /sbin/prelink --undo --all, you may want to run /etc/cron.daily/prelink to re-prelink your libraries. Otherwise, just wait a day. :) That might make the error message re-appear until you unlink all, though.

More notes:

To get webm to work: You'll need to install yasm - it should be in whichever EPEL you're using.

Also - you'll have to install libvpx-devel and libvpx.

Next, edit the xulrunner.spec and look for this:
Code: Select all
# Enable webm
%define enable_webm       0


Change the 0 to a 1:
Code: Select all
# Enable webm
%define enable_webm       1


GAH - hit a big snag. Firefox ESR is expecting libvpx >= v0.9.7, but we only get 0.9.6 in EPEL by default. Gah... thinking about it some more, then.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 27 Mar 2012, 03:10

ppietro wrote:GAH - hit a big snag. Firefox ESR is expecting libvpx >= v0.9.7, but we only get 0.9.6 in EPEL by default.


Doesn't look too hard to build 0.9.7. I'll tackle that tomorrow - ran out of time today.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 27 Mar 2012, 18:46

I saw that in atrpms testing but didn't have a chance to try it yet.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 27 Mar 2012, 21:48

billb wrote:I saw that in atrpms testing but didn't have a chance to try it yet.


I'd say - beware of the atrpms testing version. In some google searches, they've used alternate numbering. However...

I got it to build as an RPM.

I had to figure out some of the logic, so it's not as smooth as it could be - but it looks like it's working. I basically used the 0.9.6 SRPM to create the 0.9.7 SPRM, adding the 0.9.7 tarball, updating the SPEC file, fixing the one patch file to work with the new source and removing a pkgconfig file that seems to be included with the source now

Kicking off an webm enabled xulrunner build now. Stay tuned.

Cheers,
Paul
Attachments
libvpx-0.9.7-1.1.src.rpm.bz2
libvpx-0.9.7 SRPM. I had to bzip2 it to attach it to this post.
(1.2 MiB) Downloaded 577 times
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 28 Mar 2012, 00:02

Not directly related, and you may have already used this, but sometimes when building an updated package and working on the spec file there will be files added/changed/removed in the update. So you get a rpmbuild error due to files not found or not included that were listed in the spec. Instead of having to go through the whole build process again after trying to fix the .spec you can use:

rpmbuild -bl foo.spec

Which skips the prep, build, and install stages and goes directly to the file list check. Or you may need to use -bi so it starts at the install stage ... anyway you get the idea. :) Then when the .spec is OK you can -ba with confidence that you don't end up with a fail at the very end.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 28 Mar 2012, 03:10

Thanks for the tip, billb - I'll keep that in mind.

In the meantime, here's the xulrunner.spec that turns on webm.

It doesn't appear that you need to rebuild firefox - just xulrunner. I'm going to verify this on my other YDL for CUDA installation, and report back.

Cheers,
Paul
Attachments
xulrunner.spec.bz2
Updated xulrunner.spec file with webm support enabled. I had to bzip2 it to upload it here.
(7.99 KiB) Downloaded 621 times
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 28 Mar 2012, 03:32

And - it works. I'm watching HTML5 videos on YouTube even as we speak. (NOTE: Just to be clear - this is my YDL for CUDA box - not my PS3)

So - in summary - what you'll need to do:

  1. Install YASM. You should be able to do this with YUM from one of the EPEL repos.
  2. Build and install libvpx-0.9.7 and libvpx-devel-0.9.7. Use the SRPM I posted above.
  3. Rebuild xulrunner with the xulrunner.spec file I posted above.

Let me know if you have any questions, billb. There's a lot to follow here. :)

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 28 Mar 2012, 14:19

Thanks -- will give this a shot today. I'm afraid I might run into problems building on PowerPC or at least with performance due to WebM only using x86 optimizations ... we'll see. :)
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 29 Mar 2012, 14:58

Didn't get around to trying that yesterday -- long day. ;) Will most likely try it today.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 31 Mar 2012, 00:56

OK ... libvpx 0.9.7 RPMs built and installed, and started the xulrunner build (on PowerMac)...
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 31 Mar 2012, 07:00

Great -- it works! Haven't had a chance to test much yet and only on the PowerMac ... will check it out on PS3 and put it in ps3bodega-testing tomorrow. Err... today.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 31 Mar 2012, 22:14

It works on the PS3, but videos are very choppy like it is unable to keep up. Anyway, the updated xulrunner and new libvpx packages are available from ps3b-bodega testing now.

If you're installing the firefox update for the first time it should grab everything you need with (as root):
Code: Select all
yum install firefox --enablerepo=PS3Bodega-testing


If you just need the updated xulrunner and libvpx packages:
Code: Select all
yum install xulrunner --enablerepo=PS3Bodega-testing


And the files are available directly from here:

http://pleasantfiction.ipower.com/ps3li ... 2/testing/
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby billb » 02 Apr 2012, 14:32

@paul, have you tried getting a Java plugin working on 10.0.3 ESR yet? I checked briefly this morning and the usual method doesn't seem to work. It says:

For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Firefox 3.6 end of life and options for CentOS/YDL

Postby ppietro » 02 Apr 2012, 21:45

billb wrote:@paul, have you tried getting a Java plugin working on 10.0.3 ESR yet? I checked briefly this morning and the usual method doesn't seem to work. It says:

For your safety, Firefox has disabled your outdated version of Java. Please upgrade to the latest version.


Heh - sorry - I'm on vacation right now, so I don't have access to my PS3 or my YDLforCUDA virtual. I'll be back Thursday or so - I'll give it a shot then.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests

cron