User:Madcat: Difference between revisions

From KDE TechBase
mNo edit summary
No edit summary
Line 8: Line 8:
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
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


Here are step by step instructions to test the code. You'll need Nepomuk installed, plus all the stuf in playground/base/nepoumuk-kde .
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 : <pre>git clone git://gitorious.org/nepomuk-peopletag/mainline.git</pre>
1. Checkout the code : <pre>git clone git://gitorious.org/nepomuk-peopletag/mainline.git</pre>

Revision as of 09:13, 21 July 2008

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

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