Suggestion for mint 8 Helena KDE CE

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
emorrp1

Suggestion for mint 8 Helena KDE CE

Post by emorrp1 »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Boo
Level 7
Level 7
Posts: 1633
Joined: Mon Mar 26, 2007 7:48 am

Re: Suggestion for mint 8 Helena KDE CE

Post by Boo »

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

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

Re: Suggestion for mint 8 Helena KDE CE

Post by Boo »

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!
emorrp1

Re: Suggestion for mint 8 Helena KDE CE

Post by emorrp1 »

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.
Locked

Return to “Software & Applications”