Xavier: > Hi, > > could you help me here ? It seems that "add_command_option" is no more > usable for dh-sequence-nodejs, how can I replace it? I didn't find from > where comes this error anywhere in debhelper code. > > Cheers, > Xavier > > > [...]
Hi, I believe you have misunderstood the request. The "dh-sequence-nodejs" works fine when put in Build-Depends. What Jonas is requesting is that dh-sequence-nodejs can moved to Build-Depends-Indep - this requires that the add-on supports the more restricted "conditional add-on" API from dh. However, not all add-ons can support this functionality because of the restricted API. >From a quick glance, I doubt that the nodejs sequence can support it at all. As an example, the moment you need to do anything in the "clean" sequence, then it is impossible (as Build-Depends-Indep is not satisfied during clean, so the add-on must not modify the clean sequence at all). My recommendation is to tag the bug wontfix for now. ~Niels