WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: size of librsvg  (Read 1607 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 831
size of librsvg
« on: February 17, 2021, 04:58:23 PM »
I did a side by side comparison in TC11_32 versus TC12_32 for librsvg and the difference is huge
Code: [Select]
tc@box:/tmp$ wget http://repo.tinycorelinux.net/12.x/x86/tcz/librsvg.tcz ..... 1688 KB
so in TC_11_32 the /tmp/tcloop/librsvg/usr/local/lib/librsvg-2.so.2.40.20 is 174,688 bytes (174KB)
but in TC_12_32 the /tmp/squashfs-root/usr/local/lib/librsvg-2.so.2.46.0 is 3,631,932 Bytes (3.6 MB!)

I do not know what security was patched, (or whatever) but IMHO it is not worth this size increased.
I use the old librsvg (from TC_11_32) in abiword from TC12_32, and for my is working. The librsvg.tcz.dep is the same. YMMV.
« Last Edit: February 17, 2021, 05:00:37 PM by nick65go »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: size of librsvg
« Reply #1 on: February 18, 2021, 03:06:48 AM »
Preaching to the choir. They rewrote it in Rust, with all the consequences.
The only barriers that can stop you are the ones you create yourself.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 831
Re: size of librsvg
« Reply #2 on: February 18, 2021, 04:41:21 AM »
hm, right. "exactly" what we need for a tiny linux :)
so this is what I "love" rust for ...(rust = corrode/decay/rot <-- google translate).

following this trend, soon TC 13/14 will be named TinyCore -> MediumCore -> Medium[Linux] (without core).
« Last Edit: February 18, 2021, 04:53:13 AM by nick65go »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: size of librsvg
« Reply #3 on: February 18, 2021, 05:35:53 AM »
In addition rust requires an internet connection to download a bunch of stuff at compile time, takes 10 times longer to compile and cannot find ssl certificates without being told where to look. The last time I tried, rust itself would not compile on x86.

I informed the librsvg devs about the ten fold size increase - the dev that replied had not noticed and was not very concerned.