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 billb » 23 Mar 2012, 14:32

Also, the xulrunner RPM is 121MB, and when installed, libxul.so is 290MB!
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 Iguana » 23 Mar 2012, 19:44

So, what are the alternative options?
PS3 CECHLO1
GNOME Desktop
Yellowdog Linux 6.2
ihome keyboard
ihome gaming mouse (red)
Iguana
ydl addict
ydl addict
 
Posts: 121
Joined: 01 Apr 2010, 22:49
Location: Florida

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

Postby ppietro » 23 Mar 2012, 19:46

billb wrote:OK, I have the nspr, nss, and xulrunner packages completed and installed.

Did you have to modify the firefox.spec at all? This is what I get when I try to build it:

$ rpmbuild -ba firefox.spec
error: syntax error in expression
error: /home/bill/rpmbuild/SPECS/firefox.spec:4: parseExpressionBoolean returns -1
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)


Hmm - not for YDL for CUDA, anyway. All I had to do was: rpmbuild --rebuild firefox-10.0.3-1.el5.centos.src.rpm

Say - that's a good question. Where did you get your SRPMs? Mine were from here:

http://vault.centos.org/5.8/updates/SRP ... _8.src.rpm
http://vault.centos.org/5.8/updates/SRP ... _8.src.rpm
http://vault.centos.org/5.8/updates/SRP ... _8.src.rpm
http://vault.centos.org/5.8/updates/SRP ... os.src.rpm

I'll do a rpm -ivh firefox-10.0.3-1.el5.centos.src.rpm and take a look at the spec file.

UPDATE: Oh yeah - that spec file has the same issues as the xulrunner spec file. I'll post an updated one shortly, and rebuild on YDL for CUDA.

Billb - do you want my updated SRPM? Or is the spec file okay?

Cheers,
Paul
Attachments
firefox.spec.gz
Custom firefox.spec for CentOS 5.x/YDL 6.x. I had to gzip it to upload it.
(13.13 KiB) Downloaded 576 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 » 23 Mar 2012, 20:24

ppietro wrote:UPDATE: Oh yeah - that spec file has the same issues as the xulrunner spec file. I'll post an updated one shortly, and rebuild on YDL for CUDA.

Billb - do you want my updated SRPM? Or is the spec file okay?


Thought that might be the case -- thanks! Will try with your modified spec this evening. Even if all that works out, the huge libxul.so file still worries me, though.

I believe I got the SRPMS from the same place and they are the same versions.
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 » 23 Mar 2012, 20:59

billb wrote:
ppietro wrote:UPDATE: Oh yeah - that spec file has the same issues as the xulrunner spec file. I'll post an updated one shortly, and rebuild on YDL for CUDA.

Billb - do you want my updated SRPM? Or is the spec file okay?


Thought that might be the case -- thanks! Will try with your modified spec this evening. Even if all that works out, the huge libxul.so file still worries me, though.

I believe I got the SRPMS from the same place and they are the same versions.


Thanks, Billb! :)

I just rebuilt it on YDL for CUDA, and my firefox.spec file works okay. One caveat - since I had my "funky" firefox on there, I had to uninstall it first, since this was the same version. After uninstallation, trying a normal rpm -ivh of my corrected build gave me this:

Code: Select all
[root@localhost x86_64]# rpm -ivh firefox-10.0.3-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:firefox                ########################################### [100%]
error: unpacking of archive failed on file /usr/lib64/firefox/firefox;4f6cd26b: cpio: MD5 sum mismatch


Weird huh? I looked on-line and it suggested there were errors with pre-linking:
http://www.linux-archive.org/rpm-packag ... match.html

So - I took the easy way out and did:
Code: Select all
[root@localhost x86_64]# rpm -ivh --nomd5 firefox-10.0.3-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:firefox                ########################################### [100%]
[root@localhost x86_64]#


It's working without a hitch, now. I'm guessing you have to have some firefox on there to start.

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 » 23 Mar 2012, 21:20

Okay - update of my update. ;)

I just tried a test where I uninstalled Firefox ESR 10, installed Firefox 3.6.24, rebuilt Firefox ESR 10 and did an rpm -Uvh to install the new build.

Same md5sum error as before.

Since this error is somewhat bogus, I think we're okay - but we might want to see if it happens on YDL as well as YDL for CUDA.

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 » 23 Mar 2012, 23:57

ppietro wrote:trying a normal rpm -ivh of my corrected build gave me this:

Code: Select all
[root@localhost x86_64]# rpm -ivh firefox-10.0.3-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:firefox                ########################################### [100%]
error: unpacking of archive failed on file /usr/lib64/firefox/firefox;4f6cd26b: cpio: MD5 sum mismatch



aaaaand... I just got rid of it by re-rebuilding from my new SRPM.

So - here's what I did:
  1. rpm -ivh firefox-10.0.3-1.el5.centos.src.rpm
  2. replace the firefox.spec file with the updated one I posted above
  3. rpmbuild -ba firefox.spec
  4. After the build, look for the new SRPM that was generated
  5. rpmbuild --rebuild firefox-10.0.3-1.src.rpm
  6. look for the resultant RPM
  7. rpm -Uvh firefox-10.0.3-1.x86_64.rpm

Weird... very weird.... Billb - let me know if you see this kind of behavior.

Cheers,
Paul

P.S. For those of you following at home - don't forget - if you're building for PowerPC, you'll have to add the setarch ppc prefix and the --ppc switch to rpmbuild as you try this.
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 » 24 Mar 2012, 02:03

Firefox build started on the PowerMac with your modified spec ... will let you know how it goes. :mrgreen:
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 » 24 Mar 2012, 02:39

Ran into the same issue with the md5sum mismatch but rebuilding from the resultant SRPM didn't fix it. I was able to install using rpm --nomd5, and am running Firefox ESR 10.0.3 on the PowerMac now. Haven't tried it on the PS3 yet.

Not sure if this is relevant here:
http://vijayk.blogspot.com/2005_08_01_archive.html
(I tried modifiying etc/rpm/macros.prelink as suggested and rebuilding but that didn't fix it)

Anyway, we're getting somewhere I think! :)
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 » 24 Mar 2012, 05:52

billb wrote:Ran into the same issue with the md5sum mismatch but rebuilding from the resultant SRPM didn't fix it. I was able to install using rpm --nomd5, and am running Firefox ESR 10.0.3 on the PowerMac now. Haven't tried it on the PS3 yet.

Not sure if this is relevant here:
http://vijayk.blogspot.com/2005_08_01_archive.html
(I tried modifiying etc/rpm/macros.prelink as suggested and rebuilding but that didn't fix it)

Anyway, we're getting somewhere I think! :)


Yeah - I saw that article. I was going to try that, but then I stumbled upon my re-rebuild trick, so I didn't do it. :)

Good news about the PowerMac build. Hope it works on the PS3!

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 » 24 Mar 2012, 18:37

Trying a rebuild after running /usr/sbin/prelink --undo --all ...

EDIT: That worked! :mrgreen:

I'm uploading all these packages to the ps3bodega-testing repo now.
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 » 24 Mar 2012, 20:06

...and it's running fine on the PS3! :D

I still have it in testing for now, but users of YDL 6.2 and the ps3bodega repo can install with:

Code: Select all
su

<root password>

Code: Select all
yum install firefox --enablerepo=PS3Bodega-testing

Code: Select all
exit

(the testing repo is disabled by default, and the above command only enables it temporarily for the Firefox 10.0.3 install)

If you want to download the files individually, they are 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 Iguana » 24 Mar 2012, 20:55

w00t! ydl on the ps3 finally gets an html 5 supported web browser, too bad youtube and all those are still flash based i think? but then again there's always minitube :mrgreen:
PS3 CECHLO1
GNOME Desktop
Yellowdog Linux 6.2
ihome keyboard
ihome gaming mouse (red)
Iguana
ydl addict
ydl addict
 
Posts: 121
Joined: 01 Apr 2010, 22:49
Location: Florida

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

Postby ppietro » 26 Mar 2012, 17:24

Iguana wrote:w00t! ydl on the ps3 finally gets an html 5 supported web browser, too bad youtube and all those are still flash based i think? but then again there's always minitube :mrgreen:


Here you go!
http://www.youtube.com/html5

NOTE: This won't work if the YouTube video has the ad/commercial overlay; it only works with the non-commercial YouTube videos.

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)

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 » 26 Mar 2012, 18:15

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:

Cool that tenfourfox has PowerPC specific improvements (like Altivec accelerated WebM), but AFAIK it's for OSX only.

EDIT: this is an interesting site to checkout with this version of FF http://html5test.com/
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

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests