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 Development

 
 
LinkBack Thread Tools
 
Old 10-24-2008, 12:46 PM
"Jonathan Roberts"
 
Default GConf .schema packaging procedure

Hi,

Could anyone point me at some guidelines for packaging .schemas files?

I'm packaging:

http://jonrob.fedorapeople.org/RPMS/go-home-applet.spec

And review bug is at:

https://bugzilla.redhat.com/show_bug.cgi?id=451768

.schemas is being installed in /etc/ for this package, triggering
non-conffile-in-etc warning.

Kindly,

Jon

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 10-24-2008, 01:13 PM
Matthias Clasen
 
Default GConf .schema packaging procedure

On Fri, 2008-10-24 at 13:46 +0100, Jonathan Roberts wrote:
> Hi,
>
> Could anyone point me at some guidelines for packaging .schemas files?
>
> I'm packaging:
>
> http://jonrob.fedorapeople.org/RPMS/go-home-applet.spec
>
> And review bug is at:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=451768
>
> .schemas is being installed in /etc/ for this package, triggering
> non-conffile-in-etc warning.
>


I think most of it should be covered in the packaging guidelines, but
what I always do is to find a simple spec to copy from, e.g. this one

http://cvs.fedoraproject.org/viewvc/rpms/gcalctool/devel/gcalctool.spec?view=markup

There is a few parts here, you need to have %post, %preun and %preun
sections that handle the installation and deinstallation, and
corresponding Requires for GConf2.

Schema files are definitively not conffiles, so the non-conffile warning
should be ignored.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 10-24-2008, 04:35 PM
Ville Skyttä
 
Default GConf .schema packaging procedure

On Friday 24 October 2008, Matthias Clasen wrote:

> Schema files are definitively not conffiles, so the non-conffile warning
> should be ignored.

There's a rpmlint bug open about this: https://bugzilla.redhat.com/235487

Repeating the question from the bug: if they are not configuration files, why
are they being installed in /etc/gconf/schemas instead of let's
say /usr/share/gconf/schemas? FWIW, Debian installs them to the latter.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 10-24-2008, 04:56 PM
Bill Nottingham
 
Default GConf .schema packaging procedure

Ville Skyttä (ville.skytta@iki.fi) said:
> On Friday 24 October 2008, Matthias Clasen wrote:
>
> > Schema files are definitively not conffiles, so the non-conffile warning
> > should be ignored.
>
> There's a rpmlint bug open about this: https://bugzilla.redhat.com/235487
>
> Repeating the question from the bug: if they are not configuration files, why
> are they being installed in /etc/gconf/schemas instead of let's
> say /usr/share/gconf/schemas? FWIW, Debian installs them to the latter.

Well, once they're processed, the mandatory/defaults/so forth are all
in /etc, as they should be as system-specific configuration.

Bill

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 10-24-2008, 05:02 PM
Matthias Clasen
 
Default GConf .schema packaging procedure

On Fri, 2008-10-24 at 19:35 +0300, Ville Skyttä wrote:
> On Friday 24 October 2008, Matthias Clasen wrote:
>
> > Schema files are definitively not conffiles, so the non-conffile warning
> > should be ignored.
>
> There's a rpmlint bug open about this: https://bugzilla.redhat.com/235487
>
> Repeating the question from the bug: if they are not configuration files, why
> are they being installed in /etc/gconf/schemas instead of let's
> say /usr/share/gconf/schemas? FWIW, Debian installs them to the latter.
>

Because changing this now would be a giant amount of busy work, while a
gconf replacement is already under development, which will do away with
the need for schema installation.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 09:28 AM.

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