On Mon, 2002-02-18 at 13:06, Christian Marillat wrote: > >> "TK" == Takuo KITAME <kitame@northeye.org> writes: > > >>>>>> In article <[🔎] 20020217003706.H19005@cyberhqz.com>, > >>>>>> "RM" == Ryan Murray <rmurray@cyberhqz.com> wrote...: > RM> [1 <text/plain; us-ascii (quoted-printable)>] > RM> Should the gconf files made by gconftool be shipped by packages, and if so, > RM> should they be marked as configuration files? > > RM> gtranslator generates them at build time, but I'm not certain they should be > RM> shipped with the package, and perhaps they shouldn't be shipped by anything? > > > Do not include /etc/gconf/gconf.xml.defaults/* > > You should include only schema file 'gtranslator.schema' as > > /etc/gconf/schemas/gtranslator.schema > > and run gconftool --makefile-install-rule in postinst script. > > Is there a good reason to generate this file in the postinst ? > > I did some test with gnome-terminal2, and the file is exactly the same > if generated during the build process or in the postinst. So i've > packaged the file generated during the build process. GConftool notifies the gconf daemon that a new schema has been added, it is very much necessary to have it in postinst, even if you can have it at build time as well. Cheers -- /Bastien Nocera http://hadess.net
Attachment:
pgpvSxqQ6xzV_.pgp
Description: PGP signature