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

David Cole david.cole at kitware.com
Thu Sep 11 14:45:48 EDT 2008


Is there an issue on this in the bug tracker?If not, could you open one and
attach the patch there?

Thx,
Dave


On Mon, Sep 8, 2008 at 4:42 AM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:

> 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
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080911/e14b892e/attachment.htm>


More information about the CMake mailing list