[kdevplatform] d3af706 Increase KDE requirement to 4.4 to fix the build f

Niko Sams niko.sams at gmail.com
Sat Jun 19 10:02:56 UTC 2010


On Sat, Jun 19, 2010 at 11:45, Andreas Pakulat <apaku at gmx.de> wrote:
> On 19.06.10 08:38:15, Niko Sams wrote:
>> > And guys, it's rather easy to get Kate from 4.5 setup nowadays thanks to the
>> > Kate on Git repo:
>> >
>> > http://gitorious.org/kate
>> >
>> > All you need to do in order to link against it properly is symlinking it's
>> > headers (dunno about the libs) into your (maybe stable) kdelibs. I do that
>> > since some time and it works like a charm.
>> I have installed kate in my home, what symlinks do I have to create so that
>> it is used by kdevelop?
>
> I guess easiest is to rm -r include/interfaces/ktexteditor and then
> re-create it as symlink pointing to kate-git's ktexteditor directory. And
> you'd also might want to remove the katepart.so in lib/kde4 so the one in
> kate-git installation is used. And don't forget to add the kate-git install
> prefix to KDEDIRS.
.so files are picked up already correctly.
So it's just the includes:
rm -r /usr/include/KDE/KTextEditor
ln -s /home/niko/kdesvn/kdevelop/kate/includes/KTextEditor
/usr/include/KDE/KTextEditor
rm -r /usr/include/ktexteditor
ln -s /home/niko/kde/include/ktexteditor /usr/include/ktexteditor
rm -r /usr/include/ktexteditor_codesnippets_core
ln -s /home/niko/kde/include/ktexteditor_codesnippets_core
/usr/include/ktexteditor_codesnippets_core


>> If it is really that easy to use kate git + kde 4.4 I'd say it's no problem to
>> have that as a requirement for master.
>
> Problem is that there's no way to depend on a specific kte version (afaik),
> other than kdelibs version.
what about adding a KTE version (to git only) - that way kdevelop could depend
on KDE 4.5 _or_ KDE 4.4 + KTE x.x?

Niko




More information about the KDevelop-devel mailing list