WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Google Chrome Web Browser on TinyCore?  (Read 34320 times)

Offline baz

  • Full Member
  • ***
  • Posts: 216
Google Chrome Web Browser on TinyCore?
« on: December 12, 2009, 08:56:54 PM »
I find Google Chrome to be much faster and lighter than other browsers and would love to have it on TinyCore. What can I do to make that happen?

Offline julianb

  • Newbie
  • *
  • Posts: 41
Re: Google Chrome Web Browser on TinyCore?
« Reply #1 on: December 14, 2009, 09:14:38 AM »
I was thinking about trying to compile Chrome, but I don't have time right now. I think someone has to compile it for TC for it to work (I don't think you can just install from a .deb)

To compile, you'll want to get the extension "tc-compile".

The "google chrome source" web site can provide the source code for download and it'll tell you what libraries/dependencies need to be present at compile-time.

All of the how-to's on making a tinycore extension seem to require more indepth Linux knowlege than I have,* but I've been trying to make sense of them. You can learn more by reading the forums and the wiki.

*specifically, after having compiled a kernel extension I didn't know where the files created by "make" were, and you can't "tar" a file without knowing where it is or what it's name is.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Google Chrome Web Browser on TinyCore?
« Reply #2 on: December 14, 2009, 10:10:56 AM »
nss-nspr requirement does not meet in tiny core it needs to be updated first

http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites#Software_Requirements

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Google Chrome Web Browser on TinyCore?
« Reply #3 on: December 14, 2009, 10:28:25 AM »
I will update nss-nspr soon.  I followed linux from scratch build which packaged them together, but the newer LFS builds them seperate.  I will for now keep them together as to not break existing dep files and tce directory installations, and will seperate them for TC 3.0.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Google Chrome Web Browser on TinyCore?
« Reply #4 on: December 14, 2009, 01:59:20 PM »
I will update nss-nspr soon.  I followed linux from scratch build which packaged them together, but the newer LFS builds them seperate.  I will for now keep them together as to not break existing dep files and tce directory installations, and will seperate them for TC 3.0.

i have successfully compiled chrome from source after updating nss-nspr myself
posting from chrome at the moment :) :) :)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Google Chrome Web Browser on TinyCore?
« Reply #5 on: December 14, 2009, 02:08:32 PM »
If you already have an updated nss-nspr, please feel free to submit it as there it no need to duplicate work.  :)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Google Chrome Web Browser on TinyCore?
« Reply #7 on: December 14, 2009, 02:24:54 PM »
If you already have an updated nss-nspr, please feel free to submit it as there it no need to duplicate work.  :)

when it comes to packaging i am not too good :D

i will submit it with chrome in a few days
« Last Edit: December 14, 2009, 02:27:40 PM by Arslan S. »

Offline baz

  • Full Member
  • ***
  • Posts: 216
Re: Google Chrome Web Browser on TinyCore?
« Reply #8 on: December 14, 2009, 02:28:57 PM »
WHAT!!!!!!!!! How amazing is this community!!

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Google Chrome Web Browser on TinyCore?
« Reply #9 on: December 14, 2009, 03:57:51 PM »
Arslan, I think your packaging will be fine.  It will be nice to have a chrome built from source into /usr/local as opposed to the Debian/Fedora packages they supply.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Google Chrome Web Browser on TinyCore?
« Reply #10 on: December 14, 2009, 04:46:01 PM »
it just runs where it is located provided that some other files alongside with it
it doesnt have an auto install option
i was thinking of puting those files under /usr/local/share/chromium
and creating a wrapper script in /usr/local/bin
for flash player support creating a symlink  $CHROME_ROOT/plugins/libflashplayer.so

but i have for now problems with licencing and how can i build it for i486
i set compiler flags in environment but dunno if building system respected those flags  

this is the link i followed with compiling
http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
« Last Edit: December 14, 2009, 04:47:57 PM by Arslan S. »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Google Chrome Web Browser on TinyCore?
« Reply #11 on: December 14, 2009, 05:05:19 PM »
The other Mozilla browsers are installed to /usr/local/browsername.  So /usr/local/chromium would fall in line with that, with a wrapper in /usr/local/bin.

I built Shiretoko optimized for i686, a 586 or lower machine is not going to even be able to run any of these browsers.  So I think that i686 is acceptable for apps that must have a more modern machine to run.

Licensing does seem a little unclear, and I am not sure if one can distribute a non official build as chrome or if another name must be used.  I will look further.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Google Chrome Web Browser on TinyCore?
« Reply #12 on: December 14, 2009, 05:12:15 PM »

I built Shiretoko optimized for i686, a 586 or lower machine is not going to even be able to run any of these browsers. 


Just curious, did you try it?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Google Chrome Web Browser on TinyCore?
« Reply #13 on: December 14, 2009, 05:22:29 PM »
Though I built the original Shiretoko as i686, the subsequent builds have been -march=i486 -mtune=i686 as I have used the standard TC build flags for it. 

I will test on my 400mhz Athlon that is a 586 as I am curious, the machine I was using in the past to test i586 compatibility.   It would run Shiretoko that was built for i486, though anyone using a machine of that spec to surf the modern web with a modern browser would be quickly frustrated by it.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Google Chrome Web Browser on TinyCore?
« Reply #14 on: December 15, 2009, 03:46:47 AM »
i have found the licence is BSD and third party libs has own licences
http://code.google.com/intl/tr-TR/chromium/terms.html