Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2022 09:07:25 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Chris <portmaster@bsdforge.com>
Cc:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, dev-commits-ports-main@freebsd.org, samy.mahmoudi@gmail.com
Subject:   Re: git: d631449922df - main - compiz: disable gconf support
Message-ID:  <20220609070725.eiofrpl62stmcets@aniel.nours.eu>
In-Reply-To: <651c37c4f675755a081994293003d69d@bsdforge.com>
References:  <20220609104754.277f2b4af83e8005898fb500@dec.sakura.ne.jp> <651c37c4f675755a081994293003d69d@bsdforge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 08, 2022 at 10:28:36PM -0700, Chris wrote:
> On 2022-06-08 18:47, Tomoaki AOKI wrote:
> > Hi.
> > 
> > How can I convert settings stored in gconf backend?
> > 
> > Maybe needs migrating to ~/.config/compiz/compizconfig/Default.ini,
> > for each user, but not sure how to do so.
> > The mapping of each entry on Default.ini are unclear.
> I approved the proposal as Gconf will no longer be available. I'm
> going to take a look at this to see what's possible. Then implement/document
> it. In the meantime you should be able to lock your current version of
> compiz*
> to maintain it's current functionality.
> If you (or anybody else) finds a good solution/alternative before I
> do. Please open a pr(1).
> 
> Chris

So be honnest I have no idea how to convert from gconf to anything else.
I have been working on decommisionning gconf and ended up on the compiz port,
which is why I did contact the maintainer.

Generally the way to migrate out of gconf is to to move to gsettings which is
the gconf replacement (part of glib) and there is a tool that exist for that: 
gsettings-data-convert(1) provided by the latest version of gconf, which should
do the trick. (note that apparently compiz do support gsettings if I trust
https://wiki.archlinux.org/title/Compiz (don't know if it needs a tweak in the
ports or not.

Another way: as far as I know gconf is using xml so it might be possible to write
an xslt which converts from this xml to a .ini, but not sure how trivial this is.

Best regards,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220609070725.eiofrpl62stmcets>