Reduce libslang.so.2 library footprint
Open
@kylerankin is already working on this.
Since Apr 13, 2019.
enhancement / improvement
help wanted
- Dominant language
- Makefile
- Stars
- 1.6k
- Forks
- 211
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 6
Description
@kylerankin : doing some tests to reduce libraries footprints, since x200 and other hardware that don't have a TPM also tend to have smaller SPI flash chips (4mb on some, 8mb on others).
Whiptail depends on a 1.1M libslang.so.2 library, which is the biggest of all, with currently deactivated features:
--with-z=no \
--with-png=no \
--with-pcre=no \
--with-onig=no \
Can we deactivate some other unneeded features? Here is the list:
--with-terminfo=no \
--with-readline=no \
--with-slsyswrap=no \
--with-x=no \
--with-pcre=no \
--with-pcrelib=no \
--with-pcreinc=no \
--with-onig=no \
--with-oniglib=no \
--with-oniginc=no \
--with-png=no \
--with-pnglib=no \
--with-pnginc=no \
--with-z=no \
--with-zlib=no \
--with-zinc=no \
--with-iconv=no \
--with-iconvlib=no \
--with-iconvinc=no \
Edit: even if all of those are turned off, the library still pounds 1.1M. Any advice?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.