Bug 7695 - nautilus-dropbox icon does not appear in system tray
Summary: nautilus-dropbox icon does not appear in system tray
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Damien Lallement
QA Contact:
URL:
Whiteboard: 3alpha2
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-10-03 19:35 CEST by Derek Jennings
Modified: 2013-02-04 20:36 CET (History)
1 user (show)

See Also:
Source RPM: nautilus-dropbox-1.4.0-1.mga2.nonfree.src.rpm
CVE:
Status comment:


Attachments
nautilus-dropbox patch (678 bytes, patch)
2012-10-03 19:39 CEST, Derek Jennings
Details | Diff

Description Derek Jennings 2012-10-03 19:35:37 CEST
Description of problem:
This is a reopening of Bug 3641 with an alternative fix.

Nautilus-dropbox does not work with Mandriva based distros because of an incompatibilty between libz.so.1 provided by mageia, and as provided by the dropbox download.

Bug 3641 amended the package description to advise the user to delete the file
~/.dropbox/libz.so.1  which works fine but is dependent on the user seeing the message, and needs to be repeated every time dropbox update their code.

As a more complete solution I have devised a small patch to test for ~/.dropbox/libz.so.1 when nautilus-dropbox starts, and to delete it if it exists.

*** /usr/bin/dropbox    2012-05-16 19:36:42.000000000 +0100
--- dropbox     2012-10-03 18:23:56.653699882 +0100
***************
*** 700,705 ****
--- 760,769 ----

  def start_dropbox():
      db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
+     #  Patch for Mageia to remove libz.so.i from Dropbox distribution
+     if os.path.exists(os.path.expanduser(u"~/.dropbox-dist/libz.so.1")):
+	os.remove(os.path.expanduser(u"~/.dropbox-dist/libz.so.1"))
+     #  end of mageia patch
      if os.access(db_path, os.X_OK):
          f = open("/dev/null", "w")
          # we don't reap the child because we're gonna die anyway, let init do it
Derek Jennings 2012-10-03 19:38:16 CEST

Whiteboard: (none) => 3alpha2

Comment 1 Derek Jennings 2012-10-03 19:39:03 CEST
Created attachment 2907 [details]
nautilus-dropbox patch
Derek Jennings 2012-10-03 19:41:32 CEST

Summary: nautilus-dropbox icon does not appear is system tray [Patch] => nautilus-dropbox icon does not appear in system tray [Patch]

Comment 2 Thierry Vignaud 2012-10-03 20:41:12 CEST
BTW Damien: this package doesn't explain why it's in nonfree whereas its license is GPL

Keywords: (none) => PATCH
CC: (none) => thierry.vignaud
Assignee: bugsquad => mageia
Summary: nautilus-dropbox icon does not appear in system tray [Patch] => nautilus-dropbox icon does not appear in system tray

Comment 3 Damien Lallement 2012-10-08 18:11:55 CEST
(In reply to comment #1)
> Created attachment 2907 [details]
> nautilus-dropbox patch

Thank you for the patch, I will test it and apply it to the package if it's working as expected.

(In reply to comment #2)
> BTW Damien: this package doesn't explain why it's in nonfree whereas its
> license is GPL

Good question, I was against this but it was a QA request IIRC because it downloads something on the website of dropbox to finalize de installation process.

Status: NEW => ASSIGNED

Comment 4 Derek Jennings 2012-12-29 14:44:47 CET
With the current version of the downloaded dropbox distribution 1.6.11 libx.so is no longer included as a static library so neither the patch nor the text included in Bug 3641 is required any longer.
Comment 5 Derek Jennings 2012-12-29 14:45:26 CET
Sorry that should be libz.so
Comment 6 Damien Lallement 2013-02-04 20:36:37 CET
Thanks, package updated to 1.6.0.
Closing this bugs as fixed.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.