<div dir="ltr">Is there an issue on this in the bug tracker?<div>If not, could you open one and attach the patch there?</div><div><br></div><div>Thx,</div><div>Dave</div><div><br><br><div class="gmail_quote">On Mon, Sep 8, 2008 at 4:42 AM, Mathieu Malaterre <span dir="ltr">&lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Patch works for me on debian stable. Please consider.<br>
<br>
Credit goes to 0xd34df00d.<br>
<br>
Thanks<br>
-Mathieu<br>
<br>
<br>
---------- Forwarded message ----------<br>
From: 0xd34df00d &lt;<a href="mailto:0xd34df00d@gmail.com">0xd34df00d@gmail.com</a>&gt;<br>
Date: Sat, Sep 6, 2008 at 11:41 PM<br>
Subject: Re: [CMake] CPack DEB generator: Installed-Size field<br>
To: Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;<br>
<br>
<br>
Patch goes in the attachment.<br>
<br>
2008/8/15 Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;:<br>
&gt; yes. But I do not think there is any change from 2.6 branch.<br>
&gt;<br>
&gt; On Fri, Aug 15, 2008 at 5:05 PM, 0xd34df00d &lt;<a href="mailto:0xd34df00d@gmail.com">0xd34df00d@gmail.com</a>&gt; wrote:<br>
&gt;&gt; I&#39;ll try to do it today. It&#39;s better to work with trunk, right?<br>
&gt;&gt;<br>
&gt;&gt; 2008/8/13 Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt;&gt;&gt; Rudoy,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &nbsp;This must be a new requirement by newer apt-* stuff.<br>
&gt;&gt;&gt; &nbsp;Have a look at cmCPackDebGenerator.cxx. The code is pretty<br>
&gt;&gt;&gt; straighforward. You simply have to add the function that compute the<br>
&gt;&gt;&gt; size and then simply insert it at the right position.<br>
&gt;&gt;&gt; &nbsp;If you get it working, please send the patch back to the list.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt; -Mathieu<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Sat, Aug 9, 2008 at 2:15 PM, 0xd34df00d &lt;<a href="mailto:0xd34df00d@gmail.com">0xd34df00d@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; Hi there!<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; First of all, thanks for the great software you write, CMake and CPack<br>
&gt;&gt;&gt;&gt; really make development easier and more productive.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;ve noticed that .deb packages created by CPack don&#39;t contain<br>
&gt;&gt;&gt;&gt; Installed-Size field, so dpkg (and, consequently, aptitude and other<br>
&gt;&gt;&gt;&gt; package managers) think that installed size of the package is 0 bytes.<br>
&gt;&gt;&gt;&gt; Is there a way to make CPack write that field to the control file?<br>
&gt;&gt;&gt;&gt; That would be very useful, especially because CPack could<br>
&gt;&gt;&gt;&gt; automatically calculate the size of install targets and keep the field<br>
&gt;&gt;&gt;&gt; up-to-date.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Kind regards,<br>
&gt;&gt;&gt;&gt; Rudoy Georg.<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; CMake mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
&gt;&gt;&gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Mathieu<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div></div>&gt;&gt; --<br>
&gt;&gt; &nbsp;Rudoy Georg<br>
&gt;&gt; &nbsp;LeechCraft — <a href="http://sourceforge.net/projects/leechcraft" target="_blank">http://sourceforge.net/projects/leechcraft</a> and<br>
&gt;&gt; <a href="http://deviant-soft.ws" target="_blank">http://deviant-soft.ws</a><br>
&gt;&gt; &nbsp;Spicy — <a href="http://deviant-soft.ws" target="_blank">http://deviant-soft.ws</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mathieu<br>
&gt;<br>
<br>
<br>
<br>
--<br>
&nbsp;Rudoy Georg<br>
&nbsp;LeechCraft — <a href="http://sourceforge.net/projects/leechcraft" target="_blank">http://sourceforge.net/projects/leechcraft</a> and<br>
<a href="http://deviant-soft.ws" target="_blank">http://deviant-soft.ws</a><br>
&nbsp;Spicy — <a href="http://deviant-soft.ws" target="_blank">http://deviant-soft.ws</a><br>
<br>
<br>
<br>
--<br>
<font color="#888888">Mathieu<br>
</font><br>_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div></div>