And a vim mystery

As if that wasn’t bad enough, I am having a hard time figuring out why it is necessary to include Mercurial, gtk2, gpm, libxt, libsm and desktop-file-utils in the construction of vim.

This all comes about because, in the process of stripping the guts out of ConnochaetOS and converting it to a framebuffer speed demon, I realized that vim choked without gtk2.

And libxt, and almost all the rest of that stuff above. And the dependencies, of course.

Mystifying, but I am no expert. I tried to rewrite (with considerable effort) the vim PKGBUILD to omit all that stuff, use the 7.3 tarball, and lose a little weight.

It’s not going very well though. Big, complex applications like this always seem to spin out of control and turn ugly when I write my own PKGBUILDs. I do better with simpler stuff.

I’ve searched AUR for something like a “vim-nogui” or Debian’s vim.tiny, but there are quite a lot to skim through. I’ll keep trying and keep searching. Maybe something has already been done. :|

About these ads

8 Responses to “And a vim mystery”


  1. 1 Kaleb Elwert 2011/04/14 at 9:48 AM

    You shouldn’t even need to look in the AUR. The Arch ABS has a package for vim (which doesn’t even use X or the X libs) and a package for gvim (which needs gtk+), though both should use the same source package.

  2. 2 IsaacG 2011/04/14 at 3:25 PM

    Yeah… something’s wrong. What Kaleb said. I’m running vim without GTK or much else.

    http://www.archlinux.org/packages/extra/i686/vim/
    Depends: gpm, perl, vim-runtime=7.3.138-1

    When I want to make a package lighter, I get the PKGBUILD, run `makepkg -o`, enter the src directory and do: `./configure –help | less` and find what I can –disable to turn off dependencies.

  3. 3 IsaacG 2011/04/14 at 3:26 PM

    (How do I sign up for notifies without posting?)

  4. 4 Barthalion 2011/04/14 at 3:28 PM

    Maybe check vim-stripped in AUR? You can easily add sth, what I removed. I probably stripped to much. ;)

  5. 5 Kaleb Elwert 2011/04/14 at 10:15 PM

    You could always check out the gentoo ebuilds. They’re really useful when figuring out how to build certain packages.

  6. 6 Sara 2011/04/20 at 9:58 AM

    You’ll need mercurial if you’re compiling vim from source because that is what vim uses for version control. I think only if you install the package from source all those dependencies are pulled in; otherwise, it’s just vim-runtime, gpm, and perl as others have mentioned.

  7. 7 Sara 2011/04/20 at 10:00 AM

    gpm definitely can be stripped out, I forgot to mention (had done so myself when I was using vim… but now I’m using plain vi :) ). It’s the “–enable-gpm” option in the default configure line that requires that dependency.


  1. 1 A note of thanks: vim-stripped « Motho ke motho ka botho Trackback on 2011/05/01 at 7:41 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,962,770 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: