FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Desktop

 
 
LinkBack Thread Tools
 
Old 05-17-2010, 02:04 AM
Matthias Clasen
 
Default packages using gsettings

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

--
desktop mailing list
desktop@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/desktop
 
Old 05-17-2010, 02:09 AM
Matthias Clasen
 
Default packages using gsettings

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


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

Thread Tools




All times are GMT. The time now is 08:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org