Tiny Core Linux
General TC => General TC Talk => Topic started by: lindsay on January 05, 2017, 01:03:32 PM
-
I am building a pure CLI tc instance, primary use will be as an opensssl client.
Why does vim.tcz pull in a lot of Xorg and a bunch of libX..tcz's as a dependency?
/Lindsay
-
Hi lindsay
Did you read the .info file for vim? It mentions:
Adds backspace support, ruler, incseach, history, syntax highlighting,
auto indent, number, nowrap). Use mouse for cut & paste between windows.
I'm guessing it's the cut and paste support that require those dependencies. According to the change log the last update was
in 2009 suggesting it was just copied over going back to at least TC4.x. The TC4.x repository has vim-7.2-bin.tcz which only
depends on ncurses. You might want to see if that will run for you.
-
Thanks Rich.
I'd read it, but did not get the implication on first reading.
I had found gpm.tcz and the 'multivt' bootcode which prompted the idea for a minimal+ cli sandbox.
Regards,
/lindsay
-
Hi lindsay
Like I said, grab a copy of vim-7.2-bin.tcz and its .dep file and see if it runs. If it does, report it and also mention which
version number of TC you are running and someone will copy it over to that repository.
-
When I built / submitted vim 8 for 64 bit TC vim and gvim are separate extensions, so the vim cli-only doesn't have any X or GTK dependencies. You could use the build script for the 64-bit extension to build it yourself on 32-bit for instant gratification, or wait a few days for me to build it and submit it. I don't usually work in the 32-bit environment so I don't keep things like that up to date there.
-
I don't mind building it from sources. Have a tc compile instance just for that.. :)
However, Is there a script to make the minimal tcz? If so, Where would I find that?
/Lindsay
-
Hi,
this seems to be for vim and gvim :
http://tinycorelinux.net/7.x/x86_64/tcz/src/vim/
-
I have the 32 bit version of vim 8.0.0142 built, I just need to submit it. My 32 bit environment was woefully out of date. Kinda felt like I was mirroring the repo with all the extensions I needed :o
-
Thanks. It is very informative to see how the release tcz's are built.
Some good idioms to follow with my own efforts ,when necessary.
/Lindsay
-
Just in case you missed it, the tinycore base has the busybox version of vim, "vi".
-
Thanks.
vim is a bit more functional for code dev.
I saw the simple vi in busybox and checked out the other provided functions there as well.
I ended up installing the coreutils.tcz.
/Lindsay
-
For the record I've now compiled vim 8 from latest source for cli no problem:
I created a tinycore virtualbox instance just to build stuff on... compiletc.tcz, git.tcz etc.
git clone https://github.com/vim/vim.git
cd vim/src
./configure prefix=/temp/vim
make install
The resulting bin runs like a champ on a minimal tc cli instance.
...now to squashfs it...I really like the idea of splitting out bin from the docs when building tcz's.
Regards
/Lindsay