You are not logged in.
Pages: 1
Are there any plans for implementing optional dependencies? These are dependencies that are not required for a package to work but they will be used if installed.
For example, I do not need arts installed with K3B.
Offline
You can get a more slackware style install by usind the "d" option in pacman, this will make pacman ignore the dependencies and only install the package(s) you specify
pacman -Sd k3b
Offline
i think he is talking about the "suggest" in debian packages. for example xarchiver doesn't need rar, zip or arj installed to work, but it is suggested to have those packages, because then you get more functionality.
it's not ignoring required dependencies (what -d does).
Offline
The way optional dependencies are currently handled is through post-installation messages saying: "If you want support for X, install libfoo". IMO, it's agood way to do that as it's simple and does the job.
Offline
The way optional dependencies are currently handled is through post-installation messages saying: "If you want support for X, install libfoo". IMO, it's agood way to do that as it's simple and does the job.
Hm, I suppose. I don't think they are used enough, though. I would prefer that everything that was optional was listed as such. I guess that would require re-writing a lot of packages...so nevermind. :?
What I want doesn't appear to be plausible.
Offline
The problem is that your assumption, that an app will use a lib if it's installed, is wrong. Most apps, I would say, to be able to use the lib will need to be compiled with that support built-in. However, it will usually link itself to the library and will refuse to run if the library isn't installed. So the depends isn't optional anymore. That's the reason behind the amarok-base and amarok-mysql packages.
Debian has optional depends but also it seperates packages in small pieces. So the optional depends could be docs or devel packages.
BTW, the k3b/arts example is a bad one for optional depends because k3b doesn't depnds on arts. It depends on kdelibs that in turns depends on arts. It's more of a dependency chain problem than optional depends.
Offline
Pages: 1