users > neurodebian cmtk depends on sri24-atlas
Showing 1-2 of 2 posts
Display:
Results per page:
Feb 19, 2014  08:02 PM | Greg Jefferis
neurodebian cmtk depends on sri24-atlas
Recently we have been setting up continuous integration with travis for a CMTK-dependent R package.

https://travis-ci.org/jefferis/nat

We are installing cmtk from neurodebian. Unfortunately 90% of the build time is spent downloading 60Mb of sri24-atlas, which is irrelevant for our tests. It appears that cmtk depends on sri24-atlas but I don't see why it should (I would have thought sri24-atlas would be a suggested package). Is there any reason for this dependency? Was it discussed at the time of the neurodebian package creation? Is there any way I can avoid it?

I guess I should also ask on neurodebian-users.

Many thanks,

Greg. 


$ sudo apt-get install cmtk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdcmtk2 libfftw3-3 neurodebian-popularity-contest popularity-contest
sri24-atlas
Suggested packages:
numdiff libfftw3-dev anacron
The following NEW packages will be installed:
cmtk libdcmtk2 libfftw3-3 neurodebian-popularity-contest popularity-contest
sri24-atlas

0 upgraded, 6 newly installed, 0 to remove and 102 not upgraded.
Need to get 68.7 MB of archives.
After this operation, 86.7 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main popularity-contest all 1.53ubuntu1 [30.4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise/universe libdcmtk2 amd64 3.6.0-9 [3,855 kB]
Get:3 http://neurodebian.g-node.org/ precise/main neurodebian-popularity-contest all 0.32~nd12.04+1 [6,848 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise/main libfftw3-3 amd64 3.3-1ubuntu1 [1,611 kB]
Get:5 http://neurodebian.g-node.org/ precise/main cmtk amd64 3.0.0-1~nd12.04+1 [4,175 kB]
Get:6 http://neurodebian.g-node.org/ data/main sri24-atlas all 1.02-1 [59.0 MB]
Fetched 68.7 MB in 12min 38s (90.6 kB/s)
Feb 21, 2014  12:02 AM | Greg Jefferis
RE: neurodebian cmtk depends on sri24-atlas
Answering my own question based on a response from Yaroslav Halchenko on neurodebian-users
Originally posted by Greg Jefferis:
Recently we have been setting up continuous integration with travis for a CMTK-dependent R package.

https://travis-ci.org/jefferis/nat
This specific setup can be simplified by using a script by neurodebian. See https://github.com/jefferis/nat/compare/...
We are installing cmtk from neurodebian. Unfortunately 90% of the build time is spent downloading 60Mb of sri24-atlas, which is irrelevant for our tests. It appears that cmtk depends on sri24-atlas but I don't see why it should (I would have thought sri24-atlas would be a suggested package). Is there any reason for this dependency? Was it discussed at the time of the neurodebian package creation? Is there any way I can avoid it?
For some reason I thought this was a strict dependency, but it was just recommended so this does the trick:


sudo apt-get install cmtk --no-install-recommends

Greg.