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.
What exactly is meant by "username" here? Is it the yahoo login? Or the NSID? Or the string that is in the flickr user page path? I tried using my login name and page path with no luck.
-----
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...
It should be the name in
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.
Wow, that worked great! Even with strange usernames with characters like
&{}~
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.
I really don't have time to do any work on here right now. I'm busy helping out with KTelepathy, and I'm moving house/job too.
Given it's only had ~25 downloads, it's not one of my more important projects to maintain.
Sorry.
Well, if anyone's interested, I made a version that solves my immediate problem at http://github.com/unhammer/flickrkio ;-) looks like http://img194.imageshack.us/img194/6186/flickrkio.png
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.
Ratings & Comments
8 Comments
What exactly is meant by "username" here? Is it the yahoo login? Or the NSID? Or the string that is in the flickr user page path? I tried using my login name and page path with no luck. ----- 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...
It should be the name in 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.
Wow, that worked great! Even with strange usernames with characters like &{}~ 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.
I really don't have time to do any work on here right now. I'm busy helping out with KTelepathy, and I'm moving house/job too. Given it's only had ~25 downloads, it's not one of my more important projects to maintain. Sorry.
Alright, very understandable :-)
Well, if anyone's interested, I made a version that solves my immediate problem at http://github.com/unhammer/flickrkio ;-) looks like http://img194.imageshack.us/img194/6186/flickrkio.png 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.
btw it's now in Arch Linux: http://aur.archlinux.org/packages.php?ID=40028
Cool thanks.