[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: KDE and MADDE
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2011-11-19 20:33:30
Message-ID: CACcA1RqY+8nORcjr3Y6yFtExbq82TeYHm+xhOMiEARu5AnHp4w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2011/11/19 Alexander Neundorf <neundorf@kde.org>

> On Saturday 19 November 2011, Aleix Pol wrote:
> > Hi,
> > At the KDE Mobile sprint I have been trying to get madde to compile KDE
> > Applications on harmattan using cmake.
> >
> > I have got it to work but there are some problems coming from the way we
> > find KDE and I'm not sure how to fix them correctly. The problem is
> mainly
> > the two files that specify where things are installed:
> > KDELibsDependencies.cmake and KDELibs4LibraryTargets-debian.cmake. Both
> > have the same problem: they are using paths that are relative to the
> > system's root and I need them to be relative to the system targetted by
> > cmake $ENV{SYSROOT_DIR}.
>
> Is the RPATH the problem or where causes it problems exactly ?
>
> Alex
>

No, the problem is hardcoded compile-time locations.

My ugly-hack-workaround is this:
http://proli.net/meu/kde/kde_cmake_madde.patch

Aleix

[Attachment #5 (text/html)]

<div class="gmail_quote">2011/11/19 Alexander Neundorf <span dir="ltr">&lt;<a \
href="mailto:neundorf@kde.org">neundorf@kde.org</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex;">

<div class="im">On Saturday 19 November 2011, Aleix Pol wrote:<br>
&gt; Hi,<br>
&gt; At the KDE Mobile sprint I have been trying to get madde to compile KDE<br>
&gt; Applications on harmattan using cmake.<br>
&gt;<br>
&gt; I have got it to work but there are some problems coming from the way we<br>
&gt; find KDE and I&#39;m not sure how to fix them correctly. The problem is \
mainly<br> &gt; the two files that specify where things are installed:<br>
&gt; KDELibsDependencies.cmake and KDELibs4LibraryTargets-debian.cmake. Both<br>
&gt; have the same problem: they are using paths that are relative to the<br>
&gt; system&#39;s root and I need them to be relative to the system targetted by<br>
&gt; cmake $ENV{SYSROOT_DIR}.<br>
<br>
</div>Is the RPATH the problem or where causes it problems exactly ?<br>
<br>
Alex<br>
</blockquote></div><br><div>No, the problem is hardcoded compile-time \
locations.</div><div><br></div><div>My ugly-hack-workaround is this:  <a \
href="http://proli.net/meu/kde/kde_cmake_madde.patch">http://proli.net/meu/kde/kde_cmake_madde.patch</a></div>


<div><br></div><div>Aleix</div>



_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic