[Neurodebian-devel] packages for iqr

Yaroslav Halchenko debian at onerussian.com
Sun Mar 18 02:39:36 UTC 2012


Hi Ulysses,

> I'm not sure I can follow you completely:  At the moment I'm creating
> binary debian packages by invoking cpack from cmake. What would be the
> next step? Create a source package?

yes.  AFAIK cpack has no capabilities to generate source packages, so it
requires some manual work of preparing debian/ directory with packaging
materials.  Source package consists of .orig.tar.gz file with your
source release, .debian.tar.gz (or .diff.gz for older bust still
acceptable although less preferable format, and .dsc file which
is (d)ebian (s)ource (c)ontrol files which describes the source package
and usually automatically generated by dpkg-source command.

just look into any other package (apt-get source PACKAGE   to get
a source package for your favorite PACKAGE -- look what it consists of).
More information is in those references I have provided you with before.

> On Thu, Mar 15, 2012 at 20:55, Yaroslav Halchenko <debian at onerussian.com> wrote:

> > NB are you on the list already so we could drop you off CC?

> > > > why only binary???
> > > Just wanted to get your attention :)  But seriously; I remember a long
> > > while ago there was a discussion about the source tags and the
> > > binaries not matching on sourceforge. This should be solved now. What
> > > are the steps I should take?

> > ultimate goal -- debian source package

> > since you are using cmake (and as Michael pointed in a year ago thread)
> > packaging should be quite straightforward... you can go through few
> > tutorials available online (links below) or just see how packaging was
> > done (content of debian/) for other packages we maintain, e.g. Michael's
> > fslview which uses cmake:
> > http://git.debian.org/?p=pkg-exppsy/fslview.git
> > (just build yours against qt4 not discontinued qt3)

> > Alternatively here is another one which might be similar and a bit
> > freshier: http://git.debian.org/?p=pkg-exppsy/libgdf.git
> > etc

> > so -- tutorials... let me just quote my reply elsewhere:

> >    well -- usually it starts with dh_make ;)  alternatively you can look at
> >    sources of any other similar package (apt-get source NAME   should get
> >    the sources for you -- look into debian/ directory inside) and
> >    proceed in similar fashion constructing your debian/ .  Also please skim
> >    through Lucas' tutorial on debian packaging
> >    http://www.lucas-nussbaum.net/blog/?p=676 to get a generic sense of it
> >    and tools which are in use

> >    also for generic topics please glance over our recent blog post
> >    http://neuro.debian.net/blog/2011/2011-08-23_getting_stuff_packaged.html
> >    although I think those issues (versioning/licensing) do not
> >    concern you already ;-)

> >    to better assist you,  please let me know: do you have a
> >    Debian-based system anywhere? otherwise what distro are you using
> >    usually?


> > --
> > =------------------------------------------------------------------=
> > Keep in touch                                     www.onerussian.com
> > Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic
-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



More information about the Neurodebian-devel mailing list