Re: packages using gsettings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 16 May 2010 09:09:11 pm Matthias Clasen wrote:
> Hey,
> 
> GConf is finally on the way out, it is being replaced by
> GSettings/DConf. From a packaging perspective, the following facts are
> important to know if your package starts using GSettings:
> 
> GSettings uses schemas. These are installed as xml files
> in /usr/share/glib-2.0/schemas. The schemas need to be compiled into
> binary form using glib-compile-schemas, so you will have to add the
> following to your spec:
> 
> %postun
> glib-compile-schemas /usr/share/glib-2.0/schemas ||:
> 
> %posttrans
> glib-compile-schemas /usr/share/glib-2.0/schemas ||:
> 
> If the schema is ported 1-1 from a GConf schema and uses key names
> including _ or other characters outside [a-z0-9-], you need to use the
> --allow-any-name option when calling glib-compile-schemas
> 
> You can look at the rawhide evince package for an example.
> 
> 
> Matthias

And you have a proposal you have sent to the fpc so this can be documented in 
the packaging guidelines?

Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux