retitle 197154 xutils: want postinst script to walk all font directories tag 197154 + moreinfo thanks
On Thu, Jun 12, 2003 at 06:31:32PM +0300, Anton Zinoviev wrote: > Now all font packages depend on xutils and invoke > update-fonts-{dirs,alias,scale} by themselves. Yes. > Thats why packages providing Type1 fonts (as gsfonts and > scalable-cyrfonts) have to be doubled -- one version for defoma and > another for X. I do not understand why this is so. Your conclusion seems hasty, and does not follow from the sole identified premise. > If xutils cares to setup the font directories properly there will be > no need to double these font packages. There can be only one version > which depends on defoma and invokes update-fonts-* _only if_ these > commands are installed. In that case if xutils gets installed latter > it cares to setup the font directories. In general, a package in Debian is expected to do everything necessary in its maintainer scripts to ensure that it is usable as intended once it is marked "configured". Your proposal would undermine that. Font packages could be installed but not usable, or all font packages would have to Pre-Depend on xutils. Actually, that wouldn't do it, either. A "trigger" mechanism to tell xutils to run its postinst script again would be necessary. > I decided to split scalable-cyrfonts as type1-cyrillic, type1-teams > and type1-oldslavic. For now these packages depend on xutils but it > would be nice if I could remove this dependency. Unless you can provide me with a more persuasive case I'm going to reject this request. Packages need to ensure that they get themselves into a usable, configured state. They can't count on some other package's postinst script to do it for them. Also, I do not see why you consider removing a dependency on xutils to be so important. -- G. Branden Robinson | People are equally horrified at Debian GNU/Linux | hearing the Christian religion [EMAIL PROTECTED] | doubted, and at seeing it http://people.debian.org/~branden/ | practiced. -- Samuel Butler
pgp00000.pgp
Description: PGP signature