[CMake] Fwd: Questions about CPack Debian generator

Eric Noulard eric.noulard at gmail.com
Fri Feb 12 04:13:42 EST 2010


I dif forgot thet list...

2010/2/12 Thawan Kooburat <kthawan at gmail.com>:
> Hi,
>
> I am trying to create a Debian binary package using CMake/CPack and it
> is quite a nice tool. I understand that CMake/CPack try to rely on
> external tools as little as possible but there are 2 issues that I
> encountered while using the Debian generator
>
> 1. Dependency list - It would save a lot of effort if I can hook a
> call to dpkg-shlibdeps during the package generation. So that
> dependency list can be filled.
> 2. File owner - Since the generator compress the file by itself, so
> the owner of the files is user who compile them. However, a Debian
> binary package is normally created by using "fakeroot dpkg-deb
> --build", so that the owner of the files is root/root
>
> Do you have any suggestion about these issues?

Did you dig the mailing list I think the "file owner" part has been
discussed already.
Concerning the dpkg-shlibs may be it's worth a feature request?
And may be even a contribution?
The code of Deb Generator is in:
CMake/Source/CPack/cmCPackDebGenerator.cxx

--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list