Category:Gnome Audit TODO: GConf2

From the Fink Wiki

Jump to: navigation, search

Fink packages that install .omf files must disable their gconf schemas installation (gconftool-2 calls) during build time: modern ./configure scripts usually have a --disable-schemas-install flag. They then must list all of the schemas files as ConfFiles and add gconftool-2 calls in PostInstallScript to install each one.

If a package has foo.schemas and bar.schemas, a typical .info might contain:

 ConfigureParams: --disable-schemas-install
 ConfFiles: <<
   /sw/etc/gconf/schemas/foo.schemas
   /sw/etc/gconf/schemas/bar.schemas
 <<
 PostInstScript: <<
   if [ configure = "$1" ]; then
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
     export schemadir=/sw/etc/gconf/schemas
     gconftool-2 --makefile-install-rule $schemadir/foo.schemas >/dev/null
     gconftool-2 --makefile-install-rule $schemadir/bar.schemas >/dev/null
   endif
 <<

(previous 200) (next 200)

Articles in category "Gnome Audit TODO: GConf2"

There are 200 articles in this category.

A

B

C

D

E

F

G

G cont.

G cont.

(previous 200) (next 200)
Personal tools