Droper - lightweight QT dropbox client

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Droper - lightweight QT dropbox client

#1 Post by disciple »

Not really a request, as I don't intend to install QT in the near future ;)

But someone with a QT build environment might be interested in packaging this tiny dropbox client http://lawand.github.com/droper/downloads.html
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#2 Post by Dingo »

I tried to build in these days

no missing dependencies, however:

when i type:

qmake

a warning is shown about consumerdata.cpp (not found) and an error is produced in final step

Code: Select all

WARNING: Failure to find: consumerdata.cpp

Compilation is not successful:
make: *** No rule to make target `consumerdata.cpp', needed by `consumerdata.o'.  Stop.
reading here:

https://github.com/lawand/droper/issues/1
I found an answer that redirects to: http://lawand.github.com/droper/developing.html

and it is explained that this file is really missing why not loaded in git for security reasons

however i'm still confused :oops: and I'm not able to understand how to build a proper consumeradata.cpp

if anyone can help, I think I will build a STATIC version of droper without pains
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

I'm not able to understand how to build a proper consumeradata.cpp
Yeah, I had a look at it on Windows at work, as I have QT there. I also couldn't figure it out.
But I have an idea I'll check out next week... if it doesn't work maybe I'll try contacting them for a further explanation.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#4 Post by Dingo »

Droper 0.3.4 is finally available (thanks to collaboration of program's author)
see here:
- http://www.murga-linux.com/puppy/viewto ... 166#553166
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

Ah - well done.
Are you able to share how to build a consumerdata.cpp (you don't have to show an actual consumer key and secret)?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#6 Post by Dingo »

disciple wrote:Ah - well done.
Are you able to share how to build a consumerdata.cpp (you don't have to show an actual consumer key and secret)?
this is a good question

the facts are these:

in order to use dropbox API to build an app, you must request

- first a DEVELOPER key (and a secret password) in order to build your app
- once you have built your app, you can (with developer key), ONLY access to your own dropbox account

to make app able to access to all dropbox accounts, you need a

PRODUCTION KEY to insert in consumerdata.cpp (see below a blank pattern for consumerdata.cpp) + secret

I requested a developer key and built droper

then i submitted droper-puppylinux to dropbox support to obtain a PRODUCTION KEY (with developer key and secret, app is only able to access to my own account = i.e. if you insert your mail and password you cannot connect to your dropbox account, since with a developer key the app can only access to developer dropbox account)

Dropbox support REFUSED to give to me a PRODUCTION KEY. Because their api policies are changed and now, for a DESKTOP app, the autenthication method must be web OAuth login flow and not the mobile login API (/token)

So, I wrote to droper author and he, very kindly, has offered to build, with his PRODUCTION KEY, droper for Puppy Linux

I instructed him about how build properly for puppy, received the UNSTRIPPED binary, then I stripped, upxed and properly packaged droper 0.3.4 (latest version with desktop support) and posted

in future, it will be interesting modify droper code to use web OAuth login flow, in order to have a new PRODUCTION KEY and build a new droper version with new features

the source code is here:
http://coinonedge.com/droper/

Code: Select all

/****************************************************************************
**
** Copyright 2011 Omar Lawand Dalatieh.
** Contact: see the README file.
**
** This file is part of Droper.
**
** Droper is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Droper is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with Droper. If not, see <http://www.gnu.org/licenses/>.
**
** For more information, check out the GNU General Public license found
** in the COPYING file and the README file.
**
****************************************************************************/

//corresponding headers
#include "consumerdata.h"

ConsumerData::ConsumerData() :
    key("your key"),
    secret("your secret")
{
}

replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#7 Post by DaveS »

Excuse my ignorance, but in order to use this app, does dropbox itself have to be installed?
Spup Frugal HD and USB
Root forever!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#8 Post by disciple »

No, this does not require the normal Dropbox client - it is a lightweight alternative to that.

Thanks for the information, Dingo. Lucky the Droper author is so much more helpful than the dropbox people!
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#9 Post by DaveS »

Thanks. Need to give this a try. Dropbox is currently a 39MB install, though I currently run it as an sfs.
Spup Frugal HD and USB
Root forever!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#10 Post by disciple »

disciple wrote:
I'm not able to understand how to build a proper consumeradata.cpp
Yeah, I had a look at it on Windows at work, as I have QT there. I also couldn't figure it out.
But I have an idea I'll check out next week... if it doesn't work maybe I'll try contacting them for a further explanation.
For the record:
1) That idea wasn't really working out
2) If the original author ever goes missing and we need to rebuild it for some reason, I now have a consumerdata.cpp with working production key and secret.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#11 Post by rmcellig »

I know I can download a file from my Dropbox folder with Droper, but is it possible to download multiple files from my Dropbox folder as well, can I actually download folders from my Dropbox folder using Droper? I am using Droper 0.3.4

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

Could you please clarify what you are asking? Are you asking about downloading multiple files all in one go, rather than one at a time?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#13 Post by rmcellig »

Yes. Multiple files as well as folders. It seems I can only download one file at a time? Maybe I'm wrong here? I like Droper. Very simple.

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#14 Post by disciple »

Those are features the author mentioned they were considering... after they dropped support for desktop OSs :(
http://coinonedge.com/droper/feed.xml
I looked at the changes in the code in later versions, and I think it wouldn't be too hard to get the various improvements into a desktop OS version (even I might be able to do it;)), but obviously that wouldn't help for features which aren't yet in the latest version.
BTW I remember the feature that was most obviously missing for me was drag-and-drop support.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#15 Post by rmcellig »

Yes. Drag and Drop support would be the icing on the cake. To be able to drag from/to the Droper window would be awesome for sure :)

Post Reply