Suggestion for mint 8 Helena KDE CE

Forum rules
Before you post please read this

Suggestion for mint 8 Helena KDE CE

Postby emorrp1 on Thu Jun 11, 2009 9:22 am

Ok, so the Gloria KDE is nearing RC, so this has missed the boat for that, but I think it would be great to have a QT interface to mintUpload for mint 8 Helena to make it fit in nicely with the rest of KDE. What do you think?

I've spent a lot of effort abstracting the gtk gui parts from the core functions, so that a CLI and a QT interface could be written. This is now stable in mintUpload v3.5 available from my ppa: https://launchpad.net/~emorrp1/+archive/ppa with the code being hosted on github: http://github.com/emorrp1/mintupload and I've created an "issue" for tracking the progress of this idea: http://github.com/emorrp1/mintupload/issues/#issue/40
EDIT: installation instructions are here: http://emorrp1.github.com/mintupload/
Last edited by emorrp1 on Sat Jun 13, 2009 4:21 am, edited 1 time in total.
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm

Linux Mint is funded by ads and donations.
 

Re: Suggestion for mint 8 Helena KDE CE

Postby Boo on Thu Jun 11, 2009 8:52 pm

Awsome man, ill check it out when i get home.

Boo
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Re: Suggestion for mint 8 Helena KDE CE

Postby Boo on Sat Jun 13, 2009 3:31 am

the repo only shows up your meta package and the gnome mintupdate package.
but via the web it shows 3 packages.

Boo
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Re: Suggestion for mint 8 Helena KDE CE

Postby emorrp1 on Sat Jun 13, 2009 4:21 am

Sorry, should have warned, basically, because it's replacing an already installed tool, and mint prioritises packages from it's own repositories (for update reasons) you have to "Force Version" in synaptic to install it and receive updates from my repo instead. Note that at the moment there're few new end-user features (though see the changelog), it was more of a "build off this" release. Also be aware that we're very early in the development cycle for Helena now, so I expect many things to change, but the basic method (API?) shouldn't. Keep me updated with your progress (if possible, use github - just fork my copy of the project, and I'll add you as a contributor) You should also keep up to date with our progress on github, as there're lots of "issues" (suggestions) that affect the GUI, whether gtk or qt (e.g. mutli-file upload support)

As a quick summary of what integration you'd need to do for a qt interface (as I haven't documented anything yet):
Provide an error handler to override CustomError.__init__ - It should take a single "detail" argument and call CustomError.error(self, detail) at the end (for console prints)
Provide a space-checker class which inherits from mintSpaceChecker providing a single function called run with no arguments, at some point it needs to call self.check(). This is so connecting to the internet is done in a separate thread, so as not to slow down the app itself. This should be called as in lines 515/516.
Provide an uploader class which inherits from mintUploader providing a run function as before, at some point calling self.upload() Provide an asciicallback function taking a single buffer argument, which deals with a progress bar. Provide a progress function taking a single message argument for reporting info to the user. This should be called as in lines 522/523.
Your own error handling for the above functions.

If there's any other info you need, let me know.
If you have a question that has been answered and solved, then please edit your original post and put a [SOLVED] at the end of your subject header
Hint - use a google search including the search term site:forums.linuxmint.com
emorrp1
Level 8
Level 8
 
Posts: 2322
Joined: Thu Feb 26, 2009 8:58 pm


Return to KDE

Who is online

Users browsing this forum: oxygenfarm and 4 guests