[Lunar-commits] <moonbase> dropbox: resubmit

Paul Bredbury brebs at lunar-linux.org
Wed Feb 16 11:04:12 CET 2011


commit ad65876ccd8f336c3e3399488f6e9dee65e4ddaa
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Wed Feb 16 17:04:12 2011 +0700

    dropbox: resubmit
    
    one doesn't need nautilus-dropbox to run dropbox:
    I found a headless CLI guide:
    http://wiki.amahi.org/index.php/DropBox
    
    now nautilus-dropbox should depend on this
    (see my nautilus-dropbox submission)
    
    I added the x86_64 tarball because the x86 one failed on my box
---
 zbeta/dropbox/BUILD          |   13 +++++++++----
 zbeta/dropbox/DEPENDS        |    7 +++----
 zbeta/dropbox/DETAILS        |    7 +++++--
 zbeta/dropbox/DETAILS.x86_64 |   22 ++++++++++++++++++++++
 4 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/zbeta/dropbox/BUILD b/zbeta/dropbox/BUILD
index 1b461cb..3dcab52 100644
--- a/zbeta/dropbox/BUILD
+++ b/zbeta/dropbox/BUILD
@@ -1,11 +1,16 @@
 (
 
-  rm libstdc++.so.6 &&
+  rm libstdc++.so.6       &&
 
-  prepare_install &&
+  prepare_install         &&
 
-  mkdir -p /opt/dropbox &&
-  cp -Ra * /opt/dropbox/ &&
+  mkdir -p /opt/dropbox   &&
+  cp -Ra * /opt/dropbox/  &&
   ln -sfn /opt/dropbox/dropboxd /usr/bin/dropboxd
 
+  if in_depends dropbox Python ; then
+    cp /var/spool/lunar/dropbox.py /usr/bin/dropbox
+    chmod 755 /usr/bin/dropbox
+  fi
+
 ) > $C_FIFO 2>&1
diff --git a/zbeta/dropbox/DEPENDS b/zbeta/dropbox/DEPENDS
index 1184559..000f35b 100644
--- a/zbeta/dropbox/DEPENDS
+++ b/zbeta/dropbox/DEPENDS
@@ -1,6 +1,5 @@
 depends dbus-glib
-depends gtk+-2
-depends libSM
 
-# Not strictly required, but everyone should want it
-depends nautilus-dropbox
+optional_depends "Python" "" "" "for the CLI"
+optional_depends "gtk+-2" "" "" "for the GUI"
+optional_depends "libSM"  "" "" "for the GUI"
diff --git a/zbeta/dropbox/DETAILS b/zbeta/dropbox/DETAILS
index c6c4385..fc90319 100644
--- a/zbeta/dropbox/DETAILS
+++ b/zbeta/dropbox/DETAILS
@@ -1,12 +1,15 @@
           MODULE=dropbox
          VERSION=1.0.20
-          SOURCE=dropbox-lnx.x86-$VERSION.tar.gz
+          SOURCE=$MODULE-lnx.x86-$VERSION.tar.gz
+         SOURCE2=dropbox.py
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/.dropbox-dist
       SOURCE_URL=http://dl-web.getdropbox.com/u/17
+     SOURCE2_URL=http://www.dropbox.com/download?dl=packages
       SOURCE_VFY=sha1:71c343d67f91d2de584ef0d9eb4bc059d4222328
+     SOURCE2_VFY=sha1:183263fe474dffb0098ddc6925a7aea068f44b7e
         WEB_SITE=http://www.dropbox.com/
          ENTERED=20110109
-         UPDATED=20110211
+         UPDATED=20110214
            SHORT="Secure backup, sync and sharing made easy"
 
 cat << EOF
diff --git a/zbeta/dropbox/DETAILS.x86_64 b/zbeta/dropbox/DETAILS.x86_64
new file mode 100644
index 0000000..5606ab5
--- /dev/null
+++ b/zbeta/dropbox/DETAILS.x86_64
@@ -0,0 +1,22 @@
+          MODULE=dropbox
+         VERSION=1.0.20
+          SOURCE=$MODULE-lnx.x86_64-$VERSION.tar.gz
+         SOURCE2=dropbox.py
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/.dropbox-dist
+      SOURCE_URL=http://dl-web.getdropbox.com/u/17
+     SOURCE2_URL=http://www.dropbox.com/download?dl=packages
+      SOURCE_VFY=sha1:9191bf6e16adeab520cdc7e9d135a82dbed0bbae
+     SOURCE2_VFY=sha1:183263fe474dffb0098ddc6925a7aea068f44b7e
+        WEB_SITE=http://www.dropbox.com/
+         ENTERED=20110109
+         UPDATED=20110214
+           SHORT="Secure backup, sync and sharing made easy"
+
+cat << EOF
+Put your files into your Dropbox folder on one computer, and they'll
+automatically appear on any of your other computers that also have
+Dropbox installed (Windows, Mac, and Linux too!). You can even download
+Dropbox apps for your smartphone or mobile device (iPhone, iPad,
+Android, and Blackberry). Everything in your Dropbox is available from
+the Dropbox website, too.
+EOF


More information about the Lunar-commits mailing list