4 ms·
That's rich coming from PHK, whose software requires a full C compiler as a runtime dependency. The reason Firefox pulls libtiff is simply because it uses a ge
by icebraining 10y ago
That's rich coming from PHK, whose software requires a full C compiler as a runtime dependency.
The reason Firefox pulls libtiff is simply because it uses a generic image manipulation library (libgdk-pixbuf), which in my system it's also used by many other applications - which do require TIFF support. I guess if you have a desktop with only FF installed that may be a waste, but how many people really have FF and not any kind of image viewer installed?
- justinlardinois 10y ago> That's rich coming from PHK, whose software requires a full C compiler as a runtime dependency. What software? And what does it use it for?
- icebraining 10y agoVarnish. It's in their FAQ: https://www.varnish-cache.org/docs/2.1/faq/general.html#why https://www.varnish-cache.org/docs/2.1/faq/general.html#why
- dkarapetyan 10y agoThat's a very sensible requirement. It says in the docs exactly what they use it for. Not like they put in a bunch of other dependencies and some 3rd degree dependency pulled in a C compiler.
- icebraining 10y agoThe C compiler in question pulls in a bunch of libraries for dealing with math problems (libgmp, libisl, libmpc, libmpfr) and zlib. Does their config language need support for "integer points bounded by linear constraints"? And why are they pulling zlib, when they also bundle it? I don't see the difference. Instead of including a specific compiler for their needs, they are bazaar-ing a full generic C compiler (along with irrelevant libraries) just like Mozilla is doing with a generic image manipulation library, which pulls libtiff since many packages that also use it need TIFF support.
- dkarapetyan 10y agoI mean I guess they could bundle tiny C compiler but your point about the C compiler is more about how modern distributions bundle and distribute compilers more than about varnish depending on a C compiler. You can choose to install the smallest subset of the libraries required to enable varnish to perform its job. Not like varnish explicitly requires libgmp to do bignum arithmetic. It's how your distribution of choice installs gcc and pulls in all the stuff with it.
- icebraining 10y agoNo, gcc requires libgmp, it's not just a choice by the distribution. But even if it was, that is exactly why Firefox pulls libtiff - it's not like it explicitly requires the library, it's just how the distribution installs libgdk-pixbuf. Yet PHK uses that as an example of the waste created by the development model.