|Monument (marnanel) wrote,|
@ 2011-01-16 11:38 am UTC
|Entry tags:||code, pccu, pgo, pmo|
So when you open a picture, you have a menu option that uploads it and opens a browser at the right page, with no configuration, thus:
You have to turn on the plugin in eog after installation (Edit > Preferences > Plugins > Post to imgur.com). If I package this, I may make it turn on automatically, since it's a little hard to find this.
As originally conceived, it would have also allowed you to use libsocialweb to tweet/dent the resulting URL. I took this out for now because libsocialweb also has API to post pictures, and I wasn't sure how best to do it. There is still a rather useless dependency on libsocialweb. Sorry about that.
eog seems not to look in /usr/local/share/eog/plugins, only /usr/share/eog/plugins. You may therefore have to set --prefix appropriately, or simply copy the files from /usr/local to /usr by hand after installation. Sorry about that, too.
There was a partially-written libsharing plugin for Maemo which used the imgur DBus service, but it's not finished. It could be finished, if people would like it.
Other thoughts on how the program could develop are in the README. You can download the program or look at the source control. This is quite a rough draft. Patches and suggestions are, as always, welcome.