[Cs-dev] CPack
Date | 2013-05-11 15:25 |
From | Steven Yi |
Subject | [Cs-dev] CPack |
Hi All, Just FYI, I added some lines to get CPack included into the CMakeLists.txt. This allows calling: cpack package_source to create a source tarball (builds a zip, tar.gz, tar.bz2). An example of this is available at: http://www.kunstmusik.com/Csound-6.0.1-Source.tar.bz2 Obviously, the version numbering is wrong, I imagine it is an extra version numbering thing. There are options to format how the files are named, but I have not explored them yet. Thanks! steven ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-05-13 22:22 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] CPack |
I'm not quite sure what the advantage is over git-archive... As far as I know, there is no pre-packing processing needed in csound, which means that the straight-from-git output is sufficient. Do you plan to build binary distributions with cpack as well? On Sat, May 11, 2013 at 10:25 AM, Steven Yi |
Date | 2013-05-13 22:43 |
From | Steven Yi |
Subject | Re: [Cs-dev] CPack |
Hi Felipe, Thanks for the email. Actually, I didn't think to use git archive. :) I did find it CPack handy here,for a quick release to get the brew stuff going. Victor and I had talked about using it for PackageMaker, though I'm not sure if it'd be flexible enough. Also, as the RPM in Fedora's repo is very out of date, I thought we could maybe use CPack to publish our own RPM's. I know we've had some discussions about CPack and that you had reservations about it, especially for Debian. Are there any particular reasons you'd see using CPack for the source release as bad, and what would the alternative be if we use git archive? Would you suggest a script that will call git archive or maybe a CMake target added? Thanks! steven On Mon, May 13, 2013 at 11:22 PM, Felipe Sateler |
Date | 2013-05-14 17:09 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] CPack |
Attachments | None None |
Well, for debian it is unlikely that we can use cpack, because we do modifications on our own anyway (some stuff might get installed in different places, for example). I can't really comment if it is suitable for creating RPMs. In any case, I'm not arguing against cpack (I've never used it, so I don't know what problems could there be with it). For source releases I have no problems with it (other than maybe it is easier to just do "git archive --prefix=csound-$version/ $tag). I was just wondering if you intended to use it for other purposes besides creating a tarball.
PS: I have not checked the output of cpack, does it include files that cmake doesn't know about (like, say, Known_Problems.txt)? On Mon, May 13, 2013 at 5:43 PM, Steven Yi <stevenyi@gmail.com> wrote: Hi Felipe, Saludos, Felipe Sateler |