Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183492 - Google Desktop (new ebuild)
Summary: Google Desktop (new ebuild)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://desktop.google.com/linux/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-06-28 08:23 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2015-08-07 15:07 UTC (History)
34 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Draft ebuild (googledesktop-1.0.1.0060.ebuild,610 bytes, text/plain)
2007-06-28 10:17 UTC, Vladimir Pouzanov
Details
google-desktop-1.0.1.0060.ebuild (google-desktop-1.0.1.0060.ebuild,2.95 KB, text/plain)
2007-06-28 14:42 UTC, Raphael Borg Ellul Vincenti
Details
google-desktop-1.0.1.0060.ebuild (google-desktop-1.0.1.0060.ebuild,3.02 KB, text/plain)
2007-06-28 15:08 UTC, Raphael Borg Ellul Vincenti
Details
Fixed ebuild for app-misc/google-desktop (google-desktop-1.0.1.0060.ebuild,4.06 KB, text/plain)
2007-06-29 18:31 UTC, Nirbheek Chauhan (RETIRED)
Details
patch for eclass/mozextension.eclass (mozextension_emid.patch,917 bytes, patch)
2007-06-29 18:32 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff
Updated ebuild for v1.0.2 of the Google desktop (google-desktop-1.0.2.0061.ebuild,4.06 KB, text/plain)
2007-08-27 17:36 UTC, Robert Clark
Details
google-desktop-1.2.0.0088.ebuild (google-desktop-1.2.0.0088.ebuild,4.11 KB, text/plain)
2008-08-14 19:16 UTC, Dave Armstrong
Details
env.d file gets created (google-desktop-1.2.0.0088.ebuild,4.32 KB, text/plain)
2009-06-04 10:49 UTC, Miguel Sanjurjo
Details
ebuild which works with amd64 (google-desktop-1.2.ebuild,4.03 KB, text/plain)
2011-03-22 09:20 UTC, P Purkayastha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-06-28 08:23:25 UTC
They just released Google Desktop for Linux - it would be awesome to have an ebuild for this!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-28 09:51:55 UTC
I tried to download the source code but unfortunately the repository is empty... :P Looks like you'll have to wait.

http://code.google.com/p/google-desktop-for-linux-mirror/source
Comment 2 Vladimir Pouzanov 2007-06-28 10:03:52 UTC
> http://code.google.com/p/google-desktop-for-linux-mirror/source

that seems to be mirror of dependencies, not the google desktop itself. Why don't make same ebuild like in googlearth?
Comment 3 Vladimir Pouzanov 2007-06-28 10:17:02 UTC
Created attachment 123290 [details]
Draft ebuild

Seems to work for me.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-28 11:06:40 UTC
(In reply to comment #2)
> that seems to be mirror of dependencies, not the google desktop itself. Why
> don't make same ebuild like in googlearth?

Because we compile stuff from source in Gentoo? And because Google is supposed to provide source code since they are using GPL-ed and other opensource stuff in this package?
Comment 5 Vladimir Pouzanov 2007-06-28 11:13:27 UTC
GoolgeDeskop is closed-source and it links to libraries on LGPL basis. The only thing we can do is provide local versions for libs in lib/
Comment 6 Michael Lelli 2007-06-28 13:53:12 UTC
Also, just something we might want to look out for.

http://groups.google.com/group/Google-Desktop-Linux-Requests-and-Suggestions/browse_thread/thread/d86efbe801479791
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-06-28 14:09:32 UTC
(In reply to comment #6)
> Also, just something we might want to look out for.
> 
> http://groups.google.com/group/Google-Desktop-Linux-Requests-and-Suggestions/browse_thread/thread/d86efbe801479791
> 

IMHO in case of Gentoo we can simply remove the cron script. It would be messy if it updated Google Desktop without portage knowing about it.
Comment 8 Raphael Borg Ellul Vincenti 2007-06-28 14:42:50 UTC
Created attachment 123314 [details]
google-desktop-1.0.1.0060.ebuild

I have cooked up an ebuild which is more complete for inclusion in portage. Please comment
Comment 9 Raphael Borg Ellul Vincenti 2007-06-28 15:08:52 UTC
Created attachment 123317 [details]
google-desktop-1.0.1.0060.ebuild

Fixed header
Added /var/cache/google/desktop inc permissions
Comment 10 Nilton Volpato 2007-06-28 16:24:02 UTC
This ebuild should call:
$ domenu google-gdl.desktop
So that .desktop file is installed in the right place, and google desktop appears as an application in kde/gnome/etc. See, for instance realplayer ebuild.

And should also call xpi_install to install the firefox plugin. See x11-plugins/noscript for an example.
Comment 11 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-06-29 18:31:00 UTC
Created attachment 123409 [details]
Fixed ebuild for app-misc/google-desktop

Fixed ebuild for google-desktop; changes:

1. Category should be app-misc/google-desktop (same as beagle)
2. New USE flags, "firefox thunderbird"
3. Uses xpi_install for installing extensions if use is set
4. Fixed possible path problems in src_install
5. domenu google-gdl.desktop et al

The ebuild won't work with the current version of mozextension.eclass, the way the eclass gets the em:id from install.rdf is incorrect and works only with the older extensions (noscript being one of them).
The eclass has to be patched for this ebuild to work. Patch is attached in the next comment.
Comment 12 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-06-29 18:32:35 UTC
Created attachment 123411 [details, diff]
patch for eclass/mozextension.eclass

em:id patch for mozextension.eclass
Comment 13 Kim Seongcheol 2007-06-30 02:32:09 UTC
How about just making symlinks?
If you want to index webpages and emails:
ln -s /opt/google/desktop/plugin/firefox ~/.mozilla/firefox/xxxxxxx/extensions/desktop@google.com
ln -s /opt/google/desktop/plugin/thunderbird ~/.thunderbird/xxxxxxx/extensions/desktop@google.com

http://desktop.google.com/support/linux/bin/answer.py?answer=66149&topic=11738
Comment 14 Nirbheek Chauhan (RETIRED) gentoo-dev 2007-06-30 02:52:10 UTC
(In reply to comment #13)

How do we know which user to install for? Hence the plugin is installed in /usr/lib/mozilla-{firefox,thundebird}/extensions by xpi_install
Comment 15 Robert Clark 2007-08-27 17:36:28 UTC
Created attachment 129342 [details]
Updated ebuild for v1.0.2 of the Google desktop

I've added an ebuild for the 1.0.2 version of Google's desktop. This is
just a copy of the existing 1.0.1 ebuild when the path to the download 
updated.
Comment 16 rob miller 2007-09-05 06:40:49 UTC
is there some correct way/place to integrate gdlinux so that it starts automatically?  on my kde environ I've found I have to start it manually after powering up.  thanks, rob.
Comment 17 rob miller 2007-09-07 13:05:50 UTC
the firefox plugin did not register until I did "ln -s . desktop@google.com" in /usr/lib/mozilla-firefox/extensions.  I first-time installed using the v1.0.2 ebuild.  rob.

Comment 18 Andrey Melentyev 2007-10-14 15:53:35 UTC
http://googledesktop.blogspot.com/2007/10/google-desktop-for-linux-11-beta.html

Google Desktop for Linux 1.1 Beta
Comment 19 Nigel Drego 2007-10-17 03:40:35 UTC
(In reply to comment #18)
> http://googledesktop.blogspot.com/2007/10/google-desktop-for-linux-11-beta.html
> 
> Google Desktop for Linux 1.1 Beta
> 

For those of you who've had problems with Thunderbird being extremely slow (documented problem, see: http://groups.google.com/group/Google-Desktop-Linux-Something-Broken/browse_thread/thread/c499f285eeb265b1?fwc=1),
this release seems to fix the issue, at least for me.
Comment 20 Julien 2008-04-07 19:20:35 UTC
A newer version is available and is full amd64 compatible.
Comment 21 mikopp 2008-04-22 09:37:06 UTC
A new version is available: 1.2.0.0088. the existing ebuild seams to work.
Comment 22 Dave Armstrong 2008-08-14 19:16:19 UTC
Created attachment 162921 [details]
google-desktop-1.2.0.0088.ebuild


I added a USE flag "msoffice" to pull in the following packages, required for indexing MS Word, Excel, and PowerPoint files: app-text/catdoc app-text/wv

http://desktop.google.com/support/linux/bin/answer.py?answer=76816&ctx=sibling

I'm attaching the ebuild I use, which appears to work fine with version 1.2.0.0088 (the latest version as of writing) of Google Desktop, in case anyone might find it useful.
Comment 23 Markos Chandras (RETIRED) gentoo-dev 2008-09-28 18:26:43 UTC
Thanks for this ebuild. Im gonna take a look on it an put it for review on sunrise. Cheers
Comment 24 Matt 2008-12-16 19:06:13 UTC
any update on this package ?

thanks
Comment 25 Valery Novikov 2009-02-15 06:32:35 UTC
Ebuild contains some syntax errors:

# ebuild google-desktop-1.2.0.0088.ebuild digest
Error(s) in metadata for 'app-misc/google-desktop-1.2.0.0088':
  DEPEND: virtual/libc x86? ( x11-libs/libX11 x11-libs/libXi) msoffice? (app-text/catdoc app-text/wv) dev-libs/atk dev-libs/glib x11-libs/gtk+ x11-libs/pango amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 ) >=app-arch/rpm2targz-9.0-r1 app-arch/unzip
    missing space by parenthesis: 'i)'
  RDEPEND: virtual/libc x86? ( x11-libs/libX11 x11-libs/libXi) msoffice? (app-text/catdoc app-text/wv) dev-libs/atk dev-libs/glib x11-libs/gtk+ x11-libs/pango amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )
    missing space by parenthesis: 'i)'

Portage version - 2.2_rc23
Comment 26 DeusEx 2009-02-18 11:47:45 UTC
Plus, it seems the lib32 directory is not inserted in the ld.so.conf list, preventing the app from starting (it claims libgdl.so was not found). As I added it and ran ldconfig, it then started.
Comment 27 Miguel Sanjurjo 2009-06-04 10:49:22 UTC
Created attachment 193489 [details]
env.d file gets created

The mentioned lb.so.conf problem is solved
Comment 28 bravecobra 2009-10-28 19:43:47 UTC
Hi,

still a problem with thunderbird and firefox extensions. According to Google's Faq (http://desktop.google.com/support/linux/bin/answer.py?hl=en&answer=66149) the extensions need to be installed in a subdirectory called "desktop@google.com"

That would make the xpi_install command something like 

xpi_install ${S}/opt/google/desktop/plugin/firefox/desktop@google.com \
			|| die "xpi install for firefox-bin failed!"

This makes it work for thunderbird, but firefox is still a no-no. The max version, set in its install.rdf, is too low (2.0.0.*, which looks like a thunderbird version). Set it to * (That would become a patch) and the extension work there as well.
Comment 29 P Purkayastha 2011-03-22 09:20:08 UTC
Created attachment 266819 [details]
ebuild which works with amd64

This is an ebuild which I have been using for a couple of years. I had written it to work properly with amd64. 

I have only amd64 installs and so I could never test it on x86 and the requests to people who have x86 boxes to test it never got any replies (See http://forums.gentoo.org/viewtopic-p-6095780.html ). So, I am just putting it in this bug so that someone can test it and report it.

This is one file indexer that "just works", doesn't bog down your system, and is fast. Hence my interest in continuing to use it, even with no new upstream releases.
Comment 30 Marco Di Fresco 2011-09-05 22:14:02 UTC
(In reply to comment #29)
> Created attachment 266819 [details]
> ebuild which works with amd64
> 
> This is an ebuild which I have been using for a couple of years. I had written
> it to work properly with amd64. 
> 
> I have only amd64 installs and so I could never test it on x86 and the requests
> to people who have x86 boxes to test it never got any replies (See
> http://forums.gentoo.org/viewtopic-p-6095780.html ). So, I am just putting it
> in this bug so that someone can test it and report it.
> 
> This is one file indexer that "just works", doesn't bog down your system, and
> is fast. Hence my interest in continuing to use it, even with no new upstream
> releases.

Hi,
I am trying to use your ebuild, but I get the following error:
# ebuild /usr/portage/app-misc/google-desktop/google-desktop-linux-1.2.ebuild digest
!!! /usr/portage/app-misc/google-desktop/google-desktop-linux-1.2.ebuild does not seem to have a valid PORTDIR structure.

In theory I should have placed in the right position:
# emerge --info | grep PORTDIR
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"

How can I fix it?

Thank in advance.
Comment 31 Vladimir Rusinov 2011-09-06 07:48:32 UTC
You need to rename google-desktop-linux-1.2.ebuild to google-desktop-1.2.ebuild (or dir from google-desktop to google-desktop-linux).

BTW, google desktop is no longer supported and would be removed from google websites soon. It's probably not very good idea to use it anymore.
Comment 32 Marco Di Fresco 2011-09-06 17:26:54 UTC
(In reply to comment #31)
> You need to rename google-desktop-linux-1.2.ebuild to google-desktop-1.2.ebuild
> (or dir from google-desktop to google-desktop-linux).
> 
> BTW, google desktop is no longer supported and would be removed from google
> websites soon. It's probably not very good idea to use it anymore.

Of course!!! Why I didn't notice that. :D

Thank you very much. :)
Comment 33 Markus Rathgeb 2015-08-07 07:12:55 UTC
Shouldn't we close this?

Quote: http://googledesktop.blogspot.de/2011/09/google-desktop-update.html
Friday, September 02, 2011 12:48 PM
As of September 14, Google Desktop will no longer be available for download, and existing installations will not be updated to include new features or fixes.
Comment 34 Michael Palimaka (kensington) gentoo-dev 2015-08-07 15:07:28 UTC
Thanks for the info.