Jul 31 2009

Google Gears – Compilation

Category: Tips and trickscelogeek @ 12:34Other Languages: Français

Here the method to compile yourself the last version of Google Gears. See below for my compilation.
This method works for both 32 and 64 bits.

sudo apt-get install ia32-libs (only for 64 bits)
svn checkout http://gears.googlecode.com/svn/trunk/ gears-read-only
cd gears-read-only/
wget http://gkovacs.xvm.mit.edu/google-gears-firefox-3.5-x86_64/gears-gcc433.diff
patch -p0 -i gears-gcc433.diff
chmod +x third_party/gecko_1.9/linux/gecko_sdk/bin/xpidl
make -C gears clean
make -C gears -j3 MODE=opt #(remove MODE= to use debug version, it allow warning during compilation)
#To install :
firefox ./gears/bin-opt/installers/gears-linux-opt-*.xpi

If you want an light version, you need to remove stop on warning flag for compilation :

vim gears/tools/config.mk

Delete every referencies of “Werror”.

Here my stuff :

Save, share and enjoy :

  • Print
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • MySpace
  • Netvibes
  • PDF
  • RSS
  • Slashdot
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Digg
  • FriendFeed
  • Technorati
  • Add to favorites
  • BarraPunto
  • Bitacoras.com
  • BlinkList
  • blogmarks
  • Blogosphere News
  • Blogplay
  • blogtercimlap
  • connotea
  • Current
  • Diigo
  • DotNetKicks
  • DZone
  • eKudos
  • email
  • Fark
  • Faves
  • Fleck
  • FSDaily
  • Global Grind
  • Gwar
  • HackerNews
  • Haohao
  • HealthRanker
  • HelloTxt
  • Hemidemi
  • Hyves
  • Identi.ca
  • IndianPad
  • Internetmedia
  • Kirtsy
  • laaik.it
  • LinkaGoGo
  • LinkArena
  • LinkedIn
  • Linkter
  • Meneame
  • MisterWong
  • MisterWong.DE
  • Mixx
  • MSN Reporter
  • muti
  • MyShare
  • N4G
  • Netvouz
  • NewsVine
  • NuJIJ
  • Ping.fm
  • Posterous
  • Propeller
  • Ratimarks
  • Rec6
  • Reddit
  • Scoopeo
  • Segnalo
  • Simpy
  • Socialogs
  • SphereIt
  • Sphinn
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • ThisNext
  • Tipd
  • Tumblr
  • Upnews
  • Webnews.de
  • Webride
  • Wikio
  • Wikio FR
  • Wikio IT
  • Wists
  • Wykop
  • Xerpi
  • Yigg
  • 豆瓣
  • 豆瓣九点
  • Design Float
  • Diggita
  • LaTafanera
  • MOB
  • QQ书签
  • SheToldMe
  • viadeo FR

Tags: , ,

20 Responses to “Google Gears – Compilation”

  1. Google Gears 64 bit für Linux | FreeClan Orgies Artikel says:

    [...] User Celogeek auf seinen Blog eine mit Firefox 3.5.1 kompatible Version veröffentlicht, welche man hier downloaden kann. (thx to Celogeek for the Update & [...]

  2. Mike Lothian says:

    Have you had any luck compiling the NPAPI version for linux?

    I think this is the version that is required for Chromium 64bit

  3. celogeek says:

    hi

    nop, i’m in holidays so, could you just explain, i will try it

    is it a just an upgrade version of gears over trunk of svn repos ?

    or anything else ?

    did the xpi work on chromium or they need another compilation option ?

  4. celogeek says:

    i’m currently trying,

    i will let a new 64 bits version as soon as i can compile it properly

  5. celogeek says:

    Hi, I have compiled the r3399

  6. marshal says:

    Thanks a lot for the tip! I’ve successfully compiled the debug version of gears, but the opt version has some error reported and failed.

  7. Google Gears on Amd64 in 300 seconds « Napalmpiri says:

    [...] MODE=opt may stop your compilation as warnings are threated as errors. To avoid this, follow CeloGeek advice or apply my patch in gears-read-only/ [...]

  8. Compilar google gears « Rafael Fernández says:

    [...] a este post he podido compilar de forma sencilla google years en mi fedora de 64 bitd y poder [...]

  9. John H says:

    You rock, thanks a lot for the instructions, I wish all instructions went this smoothly! :-)

  10. John H says:

    By the way I’m running Ubuntu 9.04 (jaunty) 64-bit and installed on Shiretoko/3.5.3 (Firefox 64-bit version 3.5.3 for Ubuntu canonical – 1.0).

    If it’s that easy, I mean the diff file is quite small, why doesn’t Google just publish a 64-bit version? Maybe there are problems with other operating systems or they’re really uptight about warnings…

  11. John H says:

    You might want to combine these comments, I really should go to sleep… For the paranoid among us, the md5sum of what I compiled: d7b21468e807228e03b99a0a00b6a675 gears-linux-x86_64-opt-0.5.33.0.xpi (opt mode)

  12. Joseph says:

    Thanks!
    Yours is the only one working plugin for Firefox 3.5.3 and linux 64 bit!
    Good job! Wish you all the best!

  13. How-To: Gmail with Offline plugin, using Firefox-3.5 in Ubuntu Jaunty 9.04 « mundane idiosyncrasies says:

    [...] Well, no. It’s not supported officially yet. After a little googling, I found this blog [blog.celogeek.com] . This guy has steps on how to compile Google Gears. He’s even kind enough to upload the [...]

  14. How-To: Gmail with Offline plugin, using Firefox-3.5 in Ubuntu Jaunty 9.04 64-bit « mundane idiosyncrasies says:

    [...] Well, no. It’s not supported officially yet. After a little googling, I found this blog [blog.celogeek.com] . This guy has steps on how to compile Google Gears. He’s even kind enough to upload the [...]

  15. Blog.amhill » Linux FTW: Karmic Win pt. 4, Firefox Win says:

    [...] original source is on celogeek.com, but I have mirrored it here. It’s 3MB. You will need to click “Allow” for it to [...]

  16. Natan Yellin says:

    Thanks for the instructions! I now have Gmail working offline again. :)

  17. Mike Lothian says:

    Is there support for Chromium 64 bit yet?

  18. celogeek says:

    Don’t know, I just do it for firefox.

Leave a Reply