User:Madcat

Revision as of 16:54, 21 July 2008 by Madcat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I'm working on KDE-Nepomuk for my internship at Mandriva, France


Nepomuk-peopletag

I first focused on allowing the user to link people to files in Dolphin and Konqueror. Akonadi exports its contacts in Nepomuk, so linking pictures to contacts becomes very easy. You can also add the contacts directly into Nepomuk from the tagging window.

Giving it a try

I don't have an svn account (yet), so I host all my code in a git repo on gitorious : http://gitorious.org/projects/nepomuk-peopletag/repos/mainline

Note : I'm constantly adding new features, and sometimes break everything. If it doesn't work, catch me on IRC (webustany on freenode, I usually hang on #qt and #kde-devel), or write me a mail !

Here are step by step instructions to test the code.

You'll need Nepomuk installed, plus all the stuf in playground/base/nepoumuk-kde . I use KDE svn, so you'll need a pretty recent version of KDE if you want it to work, 4.1 should be fine.

1. Checkout the code :
git clone git://gitorious.org/nepomuk-peopletag/mainline.git
2. Compile the lib first :
cd mainline && mkdir build-lib && cd build-lib && cmake -DCMAKE_INSTALL_PREFIX=/your/prefix ../lib && make && make install

3. Tagging regions on pictures : build the kpeopletag component (same procedure as for the lib) and install it. You should now have a "tag people on this picture" action in the right click menu in Dolphin and Konqueror.

3. Dolphin panel integration : That's a bit trickier, as you need to patch dolphin : first build the dolphin component, then use the provided patch dolphin_nepomuk_linkwidget.patch and apply it in the kdebase folder :
patch -p0 < dolphin_nepomuk_linkwidget.patch

Rebuild dolphin, and you should now have a "link to" line field in the panel. This widget can do more than kpeopletag can do : It can link resources to any file, and also knows about tags, and webpages.

Other information


This page was last modified on 21 July 2008, at 16:54. This page has been accessed 1,909 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal