<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"><<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>></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 <<a href="mailto:0xd34df00d@gmail.com">0xd34df00d@gmail.com</a>><br>
Date: Sat, Sep 6, 2008 at 11:41 PM<br>
Subject: Re: [CMake] CPack DEB generator: Installed-Size field<br>
To: Mathieu Malaterre <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>><br>
<br>
<br>
Patch goes in the attachment.<br>
<br>
2008/8/15 Mathieu Malaterre <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>>:<br>
> yes. But I do not think there is any change from 2.6 branch.<br>
><br>
> On Fri, Aug 15, 2008 at 5:05 PM, 0xd34df00d <<a href="mailto:0xd34df00d@gmail.com">0xd34df00d@gmail.com</a>> wrote:<br>
>> I'll try to do it today. It's better to work with trunk, right?<br>
>><br>
>> 2008/8/13 Mathieu Malaterre <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">>>> Rudoy,<br>
>>><br>
>>> This must be a new requirement by newer apt-* stuff.<br>
>>> Have a look at cmCPackDebGenerator.cxx. The code is pretty<br>
>>> straighforward. You simply have to add the function that compute the<br>
>>> size and then simply insert it at the right position.<br>
>>> If you get it working, please send the patch back to the list.<br>
>>><br>
>>> Thanks<br>
>>> -Mathieu<br>
>>><br>
>>> On Sat, Aug 9, 2008 at 2:15 PM, 0xd34df00d <<a href="mailto:0xd34df00d@gmail.com">0xd34df00d@gmail.com</a>> wrote:<br>
>>>> Hi there!<br>
>>>><br>
>>>> First of all, thanks for the great software you write, CMake and CPack<br>
>>>> really make development easier and more productive.<br>
>>>><br>
>>>> I've noticed that .deb packages created by CPack don't contain<br>
>>>> Installed-Size field, so dpkg (and, consequently, aptitude and other<br>
>>>> package managers) think that installed size of the package is 0 bytes.<br>
>>>> Is there a way to make CPack write that field to the control file?<br>
>>>> That would be very useful, especially because CPack could<br>
>>>> automatically calculate the size of install targets and keep the field<br>
>>>> up-to-date.<br>
>>>><br>
>>>> --<br>
>>>> Kind regards,<br>
>>>> Rudoy Georg.<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>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Mathieu<br>
>>><br>
>><br>
>><br>
>><br>
</div></div>>> --<br>
>> Rudoy Georg<br>
>> 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>
>> Spicy — <a href="http://deviant-soft.ws" target="_blank">http://deviant-soft.ws</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Mathieu<br>
><br>
<br>
<br>
<br>
--<br>
Rudoy Georg<br>
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>
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>