[CMake] Fwd: CPack DEB generator: Installed-Size field

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Sep 8 04:42:29 EDT 2008


Patch works for me on debian stable. Please consider.

Credit goes to 0xd34df00d.

Thanks
-Mathieu


---------- Forwarded message ----------
From: 0xd34df00d <0xd34df00d at gmail.com>
Date: Sat, Sep 6, 2008 at 11:41 PM
Subject: Re: [CMake] CPack DEB generator: Installed-Size field
To: Mathieu Malaterre <mathieu.malaterre at gmail.com>


Patch goes in the attachment.

2008/8/15 Mathieu Malaterre <mathieu.malaterre at gmail.com>:
> yes. But I do not think there is any change from 2.6 branch.
>
> On Fri, Aug 15, 2008 at 5:05 PM, 0xd34df00d <0xd34df00d at gmail.com> wrote:
>> I'll try to do it today. It's better to work with trunk, right?
>>
>> 2008/8/13 Mathieu Malaterre <mathieu.malaterre at gmail.com>:
>>> Rudoy,
>>>
>>>  This must be a new requirement by newer apt-* stuff.
>>>  Have a look at cmCPackDebGenerator.cxx. The code is pretty
>>> straighforward. You simply have to add the function that compute the
>>> size and then simply insert it at the right position.
>>>  If you get it working, please send the patch back to the list.
>>>
>>> Thanks
>>> -Mathieu
>>>
>>> On Sat, Aug 9, 2008 at 2:15 PM, 0xd34df00d <0xd34df00d at gmail.com> wrote:
>>>> Hi there!
>>>>
>>>> First of all, thanks for the great software you write, CMake and CPack
>>>> really make development easier and more productive.
>>>>
>>>> I've noticed that .deb packages created by CPack don't contain
>>>> Installed-Size field, so dpkg (and, consequently, aptitude and other
>>>> package managers) think that installed size of the package is 0 bytes.
>>>> Is there a way to make CPack write that field to the control file?
>>>> That would be very useful, especially because CPack could
>>>> automatically calculate the size of install targets and keep the field
>>>> up-to-date.
>>>>
>>>> --
>>>> Kind regards,
>>>> Rudoy Georg.
>>>> _______________________________________________
>>>> CMake mailing list
>>>> CMake at cmake.org
>>>> http://www.cmake.org/mailman/listinfo/cmake
>>>>
>>>
>>>
>>>
>>> --
>>> Mathieu
>>>
>>
>>
>>
>> --
>>  Rudoy Georg
>>  LeechCraft — http://sourceforge.net/projects/leechcraft and
>> http://deviant-soft.ws
>>  Spicy — http://deviant-soft.ws
>>
>
>
>
> --
> Mathieu
>



--
 Rudoy Georg
 LeechCraft — http://sourceforge.net/projects/leechcraft and
http://deviant-soft.ws
 Spicy — http://deviant-soft.ws



-- 
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debsize.patch
Type: text/x-diff
Size: 1079 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080908/ad7e5ae0/attachment.patch>


More information about the CMake mailing list