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

List:       kde-panel-devel
Subject:    Re: Review Request 129731: man: generate gperf output at build time
From:       Martin Koller <kollix () aon ! at>
Date:       2016-12-31 6:46:07
Message-ID: 20161231064607.26347.86629 () mimi ! kde ! org
[Download RAW message or body]

--===============0268245301549710621==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129731/#review101677
-----------------------------------------------------------


Ship it!




Ship It!

- Martin Koller


On Dec. 31, 2016, 12:09 a.m., Pino Toscano wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129731/
> -----------------------------------------------------------
> 
> (Updated Dec. 31, 2016, 12:09 a.m.)
> 
> 
> Review request for Plasma and Martin Koller.
> 
> 
> Repository: kio-extras
> 
> 
> Description
> -------
> 
> Look for gperf, and use it to generate the hash-based lookup for the
> requests table; this replaces the static generated file in the sources,
> adding a build time only dependency on gperf to the man kioslave.
> 
> The new FindGperf.cmake module is a local copy of the newly proposed
> module for ECM [1], which will need to stay here until the module is
> included in ECM, and the build time ECM dependency is risen to the
> version containing it.
> 
> The output file is now named as header, since it is used a bit like
> that, and surely is better than C++ code with a .c extension.
> 
> [1] https://phabricator.kde.org/D3830
> 
> 
> Diffs
> -----
> 
> CMakeLists.txt edc2639e5aef00ef48bab8359bed34633fab26ee 
> cmake/FindGperf.cmake PRE-CREATION 
> man/CMakeLists.txt cb4585a289d3f69b8a16429ce87bfce115d1cc27 
> man/request_gperf.c aa8bc04333ad869751fad277b8c8e0ac71a00cf8 
> man/request_hash.cpp 0e9c0ecbdbec1dd03cc7891f0aa8a81eba872b9a 
> man/tests/CMakeLists.txt 9612b648dec868222e0c160d4839150a7fa2916f 
> 
> Diff: https://git.reviewboard.kde.org/r/129731/diff/
> 
> 
> Testing
> -------
> 
> Builds fine as before, and the gperf output in the build directory matches the \
> removed generated source. 
> 
> Thanks,
> 
> Pino Toscano
> 
> 


--===============0268245301549710621==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit




<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  \
<tr>  <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/129731/">https://git.reviewboard.kde.org/r/129731/</a>
  </td>
    </tr>
   </table>
   <br />



<p>

Ship it!

</p>



 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Ship It!</pre>  <br />









<p>- Martin Koller</p>


<br />
<p>On December 31st, 2016, 12:09 a.m. UTC, Pino Toscano wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for Plasma and Martin Koller.</div>
<div>By Pino Toscano.</div>


<p style="color: grey;"><i>Updated Dec. 31, 2016, 12:09 a.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kio-extras
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Look for gperf, and use it to generate the hash-based lookup for the \
requests table; this replaces the static generated file in the sources, adding a \
build time only dependency on gperf to the man kioslave.

The new FindGperf.cmake module is a local copy of the newly proposed
module for ECM [1], which will need to stay here until the module is
included in ECM, and the build time ECM dependency is risen to the
version containing it.

The output file is now named as header, since it is used a bit like
that, and surely is better than C++ code with a .c extension.

[1] https://phabricator.kde.org/D3830</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Builds fine as before, and the gperf output in the \
build directory matches the removed generated source.</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>CMakeLists.txt <span style="color: \
grey">(edc2639e5aef00ef48bab8359bed34633fab26ee)</span></li>

 <li>cmake/FindGperf.cmake <span style="color: grey">(PRE-CREATION)</span></li>

 <li>man/CMakeLists.txt <span style="color: \
grey">(cb4585a289d3f69b8a16429ce87bfce115d1cc27)</span></li>

 <li>man/request_gperf.c <span style="color: \
grey">(aa8bc04333ad869751fad277b8c8e0ac71a00cf8)</span></li>

 <li>man/request_hash.cpp <span style="color: \
grey">(0e9c0ecbdbec1dd03cc7891f0aa8a81eba872b9a)</span></li>

 <li>man/tests/CMakeLists.txt <span style="color: \
grey">(9612b648dec868222e0c160d4839150a7fa2916f)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/129731/diff/" style="margin-left: \
3em;">View Diff</a></p>






  </td>
 </tr>
</table>







  </div>
 </body>
</html>


--===============0268245301549710621==--


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

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