
Flickr KIO
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
First release of a flickr KIO.
KIO slave for browsing Flickr from within KDE. Access files directly from dolphin or gwenview.
Originally started to help someone out on KDE Brainstorm, but no-one gave any feedback at all so I promptly got bored and started something else.
Decided I should upload this (as it works) in case anyone finds it useful or wants to continue it.
http://dev.sharpley.org.uk/temp/flickrk ... 0.1.tar.gz
Requires libQJson
Standard compile instructions:
Make the direktory build: mkdir build
Change into the directory: cd build
run:
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
change to root:
make install
visit flickr:// in dolphin
you can also do
flickr://some username@/
(you sometimes need to do this when it forgets who you are too)
I'd like to support galleries as well as photosets, and some sort of searching. The code is pretty straightforward from now if someone else is willing to take it on, I'd be happy to be a mentor.
kiwibird
10 years ago
-----
Also, I'm trying to make an Arch Linux AUR package for this, but I'm getting a warning that the compiled .so file has a reference to the source dir where I compiled it:
==> Making package: flickrkio 0.1-1 (ty. 17. aug. 17:40:15 +0200 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found flickrkio_0.1.tar.gz
==> Validating source files with md5sums...
flickrkio_0.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting flickrkio_0.1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiwibird/builds/flickrkio/src/build
[ 0%] Built target kio_flickr_automoc
[100%] Built target kio_flickr
==> Entering fakeroot environment...
==> Starting package()...
[ 0%] Built target kio_flickr_automoc
[100%] Built target kio_flickr
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/kiwibird/builds/flickrkio/pkg/usr/lib/kde4/kio_flickr.so
-- Set runtime path of "/home/kiwibird/builds/flickrkio/pkg/usr/lib/kde4/kio_flickr.so" to "/usr/lib"
-- Installing: /home/kiwibird/builds/flickrkio/pkg/usr/share/kde4/services/flickr.protocol
==> Tidying install...
-> Purging other files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> WARNING: Package contains reference to $srcdir
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: flickrkio 0.1-1 (ty. 17. aug. 17:40:16 +0200 2010)
Process makepkg finished
(and indeed grepping for my home dir in the so-file matches). I have no idea whether this is dangerous though...
Report
DavidEdmundson
10 years ago
About <username> / Full Name
on your profile page.
KIO can get itself a bit confused with cached login details.
Try visiting directly
flickr://<username>:@/
As for the second question, I really don't know. I'm not aware of having coded up anything strange.
Report
unhammer
10 years ago
http://aur.archlinux.org/packages.php?ID=40028
Report
DavidEdmundson
10 years ago
Report
unhammer
10 years ago
&{}~
in them :-) I really hope you consider extending this KIO with more features. Some things I'd like to see:
Sounds simple:
* ability to find the img URL for a certain image (eg. direct links to all sizes, if I have license rights or am logged in as the owner of this image)
Sounds difficult:
* ability to change image info like tags, title, etc.
Report
DavidEdmundson
10 years ago
Given it's only had ~25 downloads, it's not one of my more important projects to maintain.
Sorry.
Report
unhammer
10 years ago
Report
unhammer
10 years ago
But for authenticating, it looks like having to copy a whole lot of the kipi-plugin code, not sure I'm up to that quite yet.
Report