Re: Can I use 'apt-get source' from debian/rules ?
Dirk Eddelbuettel <email@example.com> writes:
> I have packaged the Ra extension for just-in-time compilation to GNU R (see
> ITP #479233 for details). It comes as a tarball to be installed on top of
> the GNU R sources.
> So I created a new hybird tarball of the two sources. Not elegant as it
> creates a 16mb tarball containing a copy of GNU R's 16mb tarball when we'd
> just need the 372kb of 'new' Ra files.
> As an alternative, could I just start from Ra source, and then in
> debian/rules obtain r-base's orig.tar.gz, untar it and then apply the Ra
> sources to it? Or is that too fragile?
> Comments, anyone?
You can't assume that buildds have deb-src lines or even network
But there are 2 things you can do:
1) Become a comaintainer of r-base and add the JIT patches to the
package. You would then build r-base and r-base-jit (for example) from
the same source.
2) You can do is convince the r-base maintainer to create an
r-base-source.deb containing the source and Build-Depend on that.