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

List:       kde-release-team
Subject:    Re: kde-runtime patches for cmake 2.8.9
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2014-05-12 23:33:46
Message-ID: CACcA1RpaTZHQo91GJ5c4vGV45W6b3yxDoaMYeMg4O-vyf2L3kw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Mon, May 12, 2014 at 8:09 AM, Andreas Schneider <asn@cryptomilk.org>wrote:

> On Monday 12 May 2014 00:29:23 Albert Astals Cid wrote:
> > Hi guys, can you all confirm that
> > 0f9b161c3d244219a8df7e5263b1d89e9750c657
> > and
> > b4165b12e3a72057cd770cb53448b1f251aa8e65
> > 
> > Still work/do what they should do and on top of that works in cmake
> 2.8.9?
> > 
> > If so i'll repackkage the tarballs for 4.13.1
> > 
> > Cheers,
> > Albert
> > 
> > 
> http://quickgit.kde.org/?p=kde-runtime.git&a=commit&h=b4165b12e3a72057cd770c
> > b53448b1f251aa8e65
> > 
> http://quickgit.kde.org/?p=kde-runtime.git&a=commit&h=0f9b161c3d244219a8df7
> > e5263b1d89e9750c657
> 
> No, cause in kioslave/CMakelists.txt we have
> 
> if (LIBSSH_FOUND)
> add_subdirectory(sftp)
> endif (LIBSSH_FOUND)
> 
> 
> See
> http://quickgit.kde.org/?p=kde-runtime.git&a=blob&h=b150290c4eff34d9f997cad1c9344577 \
> 47e28ff5&hb=952de1ce1493713f6e798a80d20e9dec89a07688&f=kioslave%2FCMakeLists.txt#l47
>  
> 
> So libssh is never built, even if cmake finds it ...
> 
> 
> Please fix it, thanks!
> 
> 
> Cheers,
> 
> -- andreas
> 
> _______________________________________________
> release-team mailing list
> release-team@kde.org
> https://mail.kde.org/mailman/listinfo/release-team
> 


It's actually not because of any specification of the cmake documentation
or any black magic. In FindLibSSH.cmake:74 it's specifically
defining LIBSSH_FOUND not LibSSH_FOUND.

The variable is defined automatically for *Config.cmake files.

The current code seems correct and works here. +1

Aleix


[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 12, 2014 \
at 8:09 AM, Andreas Schneider <span dir="ltr">&lt;<a href="mailto:asn@cryptomilk.org" \
target="_blank">asn@cryptomilk.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
class="">On Monday 12 May 2014 00:29:23 Albert Astals Cid wrote:<br>


&gt; Hi guys, can you all confirm that<br>
&gt; 0f9b161c3d244219a8df7e5263b1d89e9750c657<br>
&gt; and<br>
&gt; b4165b12e3a72057cd770cb53448b1f251aa8e65<br>
&gt;<br>
&gt; Still work/do what they should do and on top of that works in cmake 2.8.9?<br>
&gt;<br>
&gt; If so i&#39;ll repackkage the tarballs for 4.13.1<br>
&gt;<br>
&gt; Cheers,<br>
&gt;    Albert<br>
&gt;<br>
&gt; <a href="http://quickgit.kde.org/?p=kde-runtime.git&amp;a=commit&amp;h=b4165b12e3a72057cd770c" \
target="_blank">http://quickgit.kde.org/?p=kde-runtime.git&amp;a=commit&amp;h=b4165b12e3a72057cd770c</a><br>
 &gt; b53448b1f251aa8e65<br>
&gt; <a href="http://quickgit.kde.org/?p=kde-runtime.git&amp;a=commit&amp;h=0f9b161c3d244219a8df7" \
target="_blank">http://quickgit.kde.org/?p=kde-runtime.git&amp;a=commit&amp;h=0f9b161c3d244219a8df7</a><br>
 &gt; e5263b1d89e9750c657<br>
<br>
</div>No, cause in kioslave/CMakelists.txt we have<br>
<br>
if (LIBSSH_FOUND)<br>
   add_subdirectory(sftp)<br>
endif (LIBSSH_FOUND)<br>
<br>
<br>
See <a href="http://quickgit.kde.org/?p=kde-runtime.git&amp;a=blob&amp;h=b150290c4eff3 \
4d9f997cad1c934457747e28ff5&amp;hb=952de1ce1493713f6e798a80d20e9dec89a07688&amp;f=kioslave%2FCMakeLists.txt#l47" \
target="_blank">http://quickgit.kde.org/?p=kde-runtime.git&amp;a=blob&amp;h=b150290c4e \
ff34d9f997cad1c934457747e28ff5&amp;hb=952de1ce1493713f6e798a80d20e9dec89a07688&amp;f=kioslave%2FCMakeLists.txt#l47</a><br>



<br>
<br>
So libssh is never built, even if cmake finds it ...<br>
<br>
<br>
Please fix it, thanks!<br>
<br>
<br>
Cheers,<br>
<br>
            -- andreas<br>
<div class=""><div class="h5"><br>
_______________________________________________<br>
release-team mailing list<br>
<a href="mailto:release-team@kde.org">release-team@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/release-team" \
target="_blank">https://mail.kde.org/mailman/listinfo/release-team</a><br> \
</div></div></blockquote></div><br></div><div class="gmail_extra"><br></div><div \
class="gmail_extra">It&#39;s actually not because of any specification of the cmake \
documentation or any black magic. In FindLibSSH.cmake:74 it&#39;s specifically \
defining  LIBSSH_FOUND not LibSSH_FOUND.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">The variable is defined \
automatically for *Config.cmake files.</div><div class="gmail_extra"><br></div><div \
class="gmail_extra">The current code seems correct and works here. +1</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div></div>



_______________________________________________
release-team mailing list
release-team@kde.org
https://mail.kde.org/mailman/listinfo/release-team


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

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