Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: lcof on March 07, 2012, 02:56:45 AM

Title: vim.tcz is broken - Core 4.x
Post by: lcof 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.
Title: Re: vim.tcz is broken - Core 4.x
Post by: gutmensch on March 07, 2012, 03:21:50 AM
fixed, thanks!
Title: Re: vim.tcz is broken - Core 4.x
Post by: Jason W 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. 

Title: Re: vim.tcz is broken - Core 4.x
Post by: gutmensch 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...
Title: Re: vim.tcz is broken - Core 4.x
Post by: Jason W 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.
Title: Re: vim.tcz is broken - Core 4.x
Post by: lcof 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...
Title: Re: vim.tcz is broken - Core 4.x
Post by: Rich 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.
Title: Re: vim.tcz is broken - Core 4.x
Post by: DG12 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