Why does Vim in pkgng depend on X11 and the GTK?

Matthew Pherigo hybrid120 at gmail.com
Mon Jan 13 01:07:06 UTC 2014


Hi,

(Note: I'm not sure if this is the right mailing list or not, so if I need to go somewhere else, let me know.)

When installing Vim from pkgng, I'm forced to also install a lot of additional stuff I don't need, like so:

# pkg install vim
Updating repository catalogue
The following 90 packages will be installed:

       Installing xproto: 7.0.25
       Installing libXdmcp: 1.1.1
       Installing libXau: 1.0.8
       Installing libiconv: 1.14_1
       Installing libpthread-stubs: 0.3_4
       Installing kbproto: 1.0.6
       Installing libICE: 1.0.8,1
       Installing pixman: 0.32.4
       Installing renderproto: 0.11.1
       Installing libfontenc: 1.1.2
       Installing freetype2: 2.5.2
       Installing expat: 2.1.0
       Installing font-util: 1.3.0_1
       Installing graphite2: 1.2.4
       Installing png: 1.5.17
       Installing pcre: 8.33
       Installing libffi: 3.0.13_1
       Installing gettext: 0.18.3.1
       Installing perl5: 5.16.3_6
       Installing icu: 50.1.2
       Installing gnomehier: 3.0
       Installing randrproto: 1.4.0
       Installing xextproto: 7.2.1
       Installing xineramaproto: 1.2.1
       Installing fixesproto: 5.0
       Installing inputproto: 2.3
       Installing damageproto: 1.2.1
       Installing compositeproto: 0.4.2
       Installing cups-client: 1.5.4_1
       Installing hicolor-icon-theme: 0.12
       Installing xf86vidmodeproto: 2.3.1
       Installing dri2proto: 2.8
       Installing pciids: 20131225
       Installing jpeg: 8_4
       Installing jbigkit: 1.6
       Installing jasper: 1.900.1_12
       Installing tcl86: 8.6.1
       Installing libyaml: 0.1.4_2
       Installing libexecinfo: 1.1_3
       Installing lua: 5.1.5_6
       Installing ctags: 5.8
       Installing cscope: 15.8a
       Installing libxml2: 2.8.0_3
       Installing libSM: 1.2.2,1
       Installing mkfontscale: 1.1.1
       Installing mkfontdir: 1.0.7
       Installing fontconfig: 2.11.0_1,1
       Installing font-misc-ethiopic: 1.0.3_1
       Installing font-bh-ttf: 1.0.3_1
       Installing encodings: 1.0.4_1,1
       Installing dejavu: 2.34
       Installing python27: 2.7.6_1
       Installing python2: 2_2
       Installing libpciaccess: 0.13.2
       Installing ruby: 1.9.3.484,1
       Installing libxcb: 1.9.3
       Installing font-misc-meltho: 1.0.3_1
       Installing xcb-util: 0.3.9_1,1
       Installing glib: 2.36.3_1
       Installing shared-mime-info: 1.1
       Installing python: 2.7_1,2
       Installing libdrm: 2.4.17_1
       Installing atk: 2.8.0
       Installing libX11: 1.6.2,1
       Installing libXrender: 0.9.8
       Installing xorg-fonts-truetype: 7.7_1
       Installing libXft: 2.3.1
       Installing xcb-util-renderutil: 0.3.8
       Installing libXt: 1.1.4,1
       Installing libXext: 1.3.2,1
       Installing libXinerama: 1.1.3,1
       Installing libXfixes: 5.0.1
       Installing libXdamage: 1.1.4
       Installing libXcursor: 1.1.14
       Installing libXcomposite: 0.4.4,1
       Installing libXmu: 1.1.2,1
       Installing libXxf86vm: 1.1.3
       Installing cairo: 1.10.2_7,2
       Installing libXrandr: 1.4.2
       Installing libXi: 1.7.2,1
       Installing libGL: 7.6.1_4
       Installing harfbuzz: 0.9.25
       Installing libGLU: 9.0.0
       Installing freeglut: 2.8.1
       Installing pango: 1.34.1_1
       Installing tiff: 4.0.3
       Installing gdk-pixbuf2: 2.28.2
       Installing gtk-update-icon-cache: 2.24.22
       Installing gtk2: 2.24.22_1
       Installing vim: 7.4.110_2

The installation will require 349 MB more space

71 MB to be downloaded

Proceed with installing packages [y/N]: 

Apparently, I can compile it without these requirements from the ports tree (not to mention that no Linux distro I've used has ever required X to be installed with Vim), so the problem isn't inherently in Vim. Perhaps these settings would make sense on something like PC-BSD where the user is expected to have a graphical environment, but on FreeBSD, which is more targeted toward server usage, doesn't it make more sense for vim to not depend on X?

Thanks,
Matt


More information about the freebsd-pkg mailing list