Open probonopd opened 3 years ago
Maybe @koobs knows or can find out whether there is any way to get a special build variant with only the minimal dependencies into FreeBSD packages? In helloSystem we would like to use this package but without all the dependencies that are not absolutely necessary. And we really would like not to build FreeBSD binary packages just for helloSystem, but rather use what is in FreeBSD packages.
You will need to do the work of untangling the dependencies -- which come straight from skanlite itself, which come from its (transitive) dependencies. Then you can ask koobs -- or anyone else -- to sort that out for you. I'd recommend looking at skanlite's own cmake output to see what it is looking for.
Bear in mind that FreeBSD's ports tree is mostly "batteries included" -- unlike Linux distro's which split everything out.
Looking at this list specifically, the sgml and docbook things could possibly be build-time dependencies rather than runtime; I'm not sure just when, which bits of documentation are generated. Boost is a bit of a surprise to me: it looks like a build-dep again. The same may be true of qt5-uitools and qt5-uiplugin.
Many packages can be mapped directly to functionality, although I don't really know what spell-checking and autocompletion are there for.
Again: if you do the work to point out which dependencies are optional or build-time only, kde@ is generally happy to lighten ports (especially leaf ports for applications like this one).
Packages are generally batteries included yes, but to the extent that there are OPTIONS (either existing, or that can be created), one can either create a special flavour ("lite" or similar) that unsets a certain set), or one can create a sub port off the main one that does the same (and/or modified the build)
For now, we are not installing Skanlite on the Live ISO. But maybe @crees could make a skanlite-lite
option (no pun intended) one day.
Because this wobbled into my notifications again, let me repeat: if you look at the port, and find unnecessary dependencies (like, first thing you see is ecm and doctools, which I mentioned in january, and which I tidied up in KDE Frameworks and Plasma for you), then send a PR with a patch and kde@ will be happy to apply. It's not rocket science; it does need you to sit down with one single problem and hammer at it (ecm needs to be build-dep in libksane as well, for instance) until it's done.
Because this wobbled into my notifications again, let me repeat: if you look at the port, and find unnecessary dependencies (like, first thing you see is ecm and doctools, which I mentioned in january, and which I tidied up in KDE Frameworks and Plasma for you), then send a PR with a patch and kde@ will be happy to apply. It's not rocket science; it does need you to sit down with one single problem and hammer at it (ecm needs to be build-dep in libksane as well, for instance) until it's done.
Worth remembering that identifying and documenting/sharing what needs to be, or can be, or should be done is, almost always the necessary condition to progress that goes unsatisfied.
Expertise kept in the heads of the experts is the blocker, not always patches
With a view to progress in mind:
1) dependency list sorted by size (descending) 2) given (1), identify the sources of said deps, their "optionality" so we can 3) produce a lite sub package with appropriate options disable