Csound Csound-dev Csound-tekno Search About

[Cs-dev] CPack

Date2013-05-11 15:25
FromSteven 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

Date2013-05-13 22:22
FromFelipe Sateler
SubjectRe: [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  wrote:
> 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
> https://lists.sourceforge.net/lists/listinfo/csound-devel



--

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-13 22:43
FromSteven Yi
SubjectRe: [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  wrote:
> 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  wrote:
>> 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
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-05-14 17:09
FromFelipe Sateler
SubjectRe: [Cs-dev] CPack
AttachmentsNone  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,

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 <fsateler@gmail.com> wrote:
> 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 <stevenyi@gmail.com> wrote:
>> 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
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--

Saludos,
Felipe Sateler