WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: vim.tcz is broken - Core 4.x  (Read 628 times)

Offline lcof

  • Newbie
  • *
  • Posts: 4
vim.tcz is broken - Core 4.x
« on: March 07, 2012, 02:56:45 AM »
The vim.tcz package needs to list Xlibs.tcz as a dependency because it is linked against libXext.so.6.

Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 606
  • I can make it disappear, have no fear!
    • remembrance blog
Re: vim.tcz is broken - Core 4.x
« Reply #1 on: March 07, 2012, 03:21:50 AM »
fixed, thanks!
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 7327
Re: vim.tcz is broken - Core 4.x
« Reply #2 on: March 07, 2012, 04:33:32 AM »
This brings up the question of whether we want to put Xlibs.tcz in the dep files of all apps that need X.   If we do, I guess it could be scripted to where if a dep file contains Xorg-7.6-lib.tcz, then Xlibs.tcz can be echoed into it.  Or, an ldd check can be run and that info used for a more fine tuned result. 


Offline gutmensch

  • Administrator
  • Hero Member
  • *****
  • Posts: 606
  • I can make it disappear, have no fear!
    • remembrance blog
Re: vim.tcz is broken - Core 4.x
« Reply #3 on: March 07, 2012, 05:03:17 AM »
Hmmm, indeed. After all the X libs are just like any other library as a dependency, it would be illogical IMHO to make an exception just for Xlibs.tcz, so I'd opt for putting Xlibs.tcz additionally to all .dep files already containing Xorg-7.6-lib.tcz...
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 7327
Re: vim.tcz is broken - Core 4.x
« Reply #4 on: March 07, 2012, 02:06:55 PM »
Ok, I guess the thing that would benefit are apps that need libpng or similar that can run in either X or without, I think links is like this.    Otherwise Xlibs.tcz is a given with an X session running, but still a depenency.

Offline lcof

  • Newbie
  • *
  • Posts: 4
Re: vim.tcz is broken - Core 4.x
« Reply #5 on: March 08, 2012, 12:34:52 AM »
Quote
Or, an ldd check can be run and that info used for a more fine tuned result.

IMHO, it sure would be a good thing to add an automated ldd dependency check on all executable files of a tcz, using the hosted .tcz.list files, for example into the checkdep() function of http://forum.tinycorelinux.net/index.php?topic=2475.0 - Though this may already have been suggested.
Not the first time I see a broken package around here...

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4261
Re: vim.tcz is broken - Core 4.x
« Reply #6 on: March 08, 2012, 07:42:24 AM »
Hi lcof
There is a script to aid in dependency checking. Do a search for   lddout   in the forum.

Offline DG12

  • Newbie
  • *
  • Posts: 8
Re: vim.tcz is broken - Core 4.x
« Reply #7 on: March 08, 2012, 12:29:20 PM »
from vim.org: Vim 7.3 is the latest stable version. It is highly recommended, many bugs have been fixed since 7.2