Yeah, it definitely seems like there's a bit too much here. I think
some of these dependencies are obsolete, in that we used to build
extensions against gtk and wx in order to transfer image data to those
backends, but those are no longer needed with current versions of those
libraries.
I looked up the direct dependencies of the package (since I think many
on the list you provided are probably secondary dependencies.) I have
some comments below. Maybe Sandro Tosi, who I know has done some Debian
packaging of matplotlib in the past, has some thoughts.
debhelper (>= 7) - probably needed to build a debian package
dvipng - to build the documentation
graphviz - to build the documentation
ipython - **seems unnecessary**
libfreetype6-dev - legit
libgtk2.0-dev - **no longer necessary**
libpng-dev - legit
python-all-dbg (>= 2.4.4-6) - **not strictly necessary, but helpful for
debugging**
python-all-dev (>= 2.3.5-7) - legit
python-configobj - **necessary only for a long abandoned experimental version
of matplotlib**
python-dateutil - legit
python-epydoc - **obsolete**
python-gtk2-dev - **obsolete**
python-imaging - legit
python-numpy (>= 1:1.3.0) - legit
python-numpy-dbg (>= 1:1.3.0) - legit
python-pkg-resources - legit
python-qt4 - **not needed for build**
python-qt4-dev - **not needed for build**
python-qt-dev - **obsolete**
python-setuptools - legit
python-sphinx (>= 0.5.1) - to build the documentation
python-support (>= 1.0.0) - not sure what this is
python-tk (>= 2.5.2-1.1) - legit
python-traits (>= 2.0) - **not needed -- matplotlib doesn't use traits**
python-tz - legit
python-wxgtk2.8 - **not needed for build**
python-wxgtk2.8-dbg - **not needed for build**
tcl8.5-dev - legit
texlive-fonts-recommended - needed for PDF doc build
texlive-latex-extra - needed for PDF doc build
texlive-latex-recommended - needed for PDF doc build
tk8.5-dev - legit
zlib1g-dev - legit
Mike
On 05/02/2012 07:09 PM, Benjamin Root wrote:
On Wednesday, May 2, 2012, Alexis Praga wrote:
Here is the result of "apt-get build-dep python-matplotlib" :
The following NEW packages will be installed:
blt debhelper doc-base docbook-xsl docbook-xsl-doc-html dvipng
global graphviz html2text intltool-debian ipython javascript-common
libatk1.0-dev libcairo2-dev libcgraph5 libfreezethaw-perl
libgtk2.0-dev libgvpr1 libjs-jquery libmail-sendmail-perl
libmldbm-perl libpango1.0-dev libphonon4 libpixman-1-dev
libqt4-assistant libqt4-help libqt4-scripttools libqt4-svg libqt4-test
libqt4-webkit
libqt4-xmlpatterns libsys-hostname-long-perl libwxbase2.8-dbg
libwxgtk2.8-dbg libxcb-render-util0-dev libxcb-render0-dev
libxcomposite-dev libxcursor-dev libxdamage-dev libxfixes-dev
libxi-dev
libxrandr-dev libxss-dev po-debconf preview-latex-style python-all
python-all-dbg python-all-dev python-apptools python-dateutil
python-dbg python-docutils python-enthoughtbase python-epydoc
python-foolscap python-gobject-dev python-gtk2-dev python-gtk2-doc
python-jinja2 python-lxml python-numpy-dbg python-pygments
python-qt-dev python-qt4 python-qt4-dev python-roman python-setuptools
python-sip python-sip-dev python-sphinx python-tk python-traits
python-twisted-names python-tz python-wxgtk2.8 python-wxgtk2.8-dbg
python-wxversion python2.5 python2.5-dbg python2.5-dev
python2.5-minimal python2.6-dbg tcl8.5-dev texlive-fonts-recommended
texlive-fonts-recommended-doc texlive-latex-extra
texlive-latex-extra-doc texlive-pictures texlive-pictures-doc texpower
texpower-manual tipa tk8.5-dev wwwconfig-common wx2.8-headers
x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev
x11proto-randr-dev x11proto-scrnsaver-dev
0 upgraded, 100 newly installed, 0 to remove and 2 not upgraded.
Need to get 298 MB/369 MB of archives.
After this operation, 818 MB of additional disk space will be used.
Now, with "apt-rdepends python-matplotlib | head -n 24", I can have
the "true" dependencies :
python-matplotlib
Depends: libatk1.0-0 (>= 1.29.3)
Depends: libc6 (>= 2.3.6-6~)
Depends: libcairo2 (>= 1.2.4)
Depends: libfontconfig1 (>= 2.8.0)
Depends: libfreetype6 (>= 2.2.1)
Depends: libgcc1 (>= 1:4.1.1)
Depends: libglib2.0-0 (>= 2.16.0)
Depends: libgtk2.0-0 (>= 2.8.0)
Depends: libpango1.0-0 (>= 1.14.0)
Depends: libpng12-0 (>= 1.2.13-4)
Depends: libstdc++6 (>= 4.4.0)
Depends: python (>= 2.5)
Depends: python-cairo
Depends: python-dateutil
Depends: python-gobject
Depends: python-matplotlib-data (>= 0.99.3-1)
Depends: python-numpy (>= 1:1.3.0)
Depends: python-pyparsing
Depends: python-support (>= 0.90.0)
Depends: python-tz
Depends: tcl8.5 (>= 8.5.0)
Depends: tk8.5 (>= 8.5.0)
Depends: zlib1g (>= 1:1.1.4)
--
Alexis Praga
Interesting, ipython is not a dependency of mpl. This repo is
packaging mpl incorrectly.
Ben Root
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users