From nobody Thu Jun 09 13:20:45 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2143F85214D for ; Thu, 9 Jun 2022 13:21:08 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJl8y1bvDz3jh7; Thu, 9 Jun 2022 13:21:06 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-85-147.area1b.commufa.jp [123.1.85.147]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 259DKkDk047828; Thu, 9 Jun 2022 22:20:46 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Thu, 9 Jun 2022 22:20:45 +0900 From: Tomoaki AOKI To: Baptiste Daroussin Cc: Chris , dev-commits-ports-main@freebsd.org, samy.mahmoudi@gmail.com Subject: Re: git: d631449922df - main - compiz: disable gconf support Message-Id: <20220609222045.11bec183e8764469b132307d@dec.sakura.ne.jp> In-Reply-To: <20220609070725.eiofrpl62stmcets@aniel.nours.eu> References: <20220609104754.277f2b4af83e8005898fb500@dec.sakura.ne.jp> <651c37c4f675755a081994293003d69d@bsdforge.com> <20220609070725.eiofrpl62stmcets@aniel.nours.eu> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LJl8y1bvDz3jh7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp X-Spamd-Result: default: False [-0.05 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[123.1.85.147:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.949]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-main]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_CC(0.00)[bsdforge.com,freebsd.org,gmail.com]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 9 Jun 2022 09:07:25 +0200 Baptiste Daroussin wrote: > 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 Unfortunately, `gsettings-data-convert --dry-run --verbose` shows nothing related with compiz. ===== Quot ===== File 'org.gnome.crypto.pgp.convert already converted, skipping File 'brasero.convert already converted, skipping File 'gvfs-smb.convert already converted, skipping File 'gsettings-desktop-schemas.convert already converted, skipping Collecting settings for schema 'org.gnome.sound-juicer' Skipping GConf key '/apps/sound-juicer/audio_profile', no user value Skipping GConf key '/apps/sound-juicer/base_uri', no user value Skipping GConf key '/apps/sound-juicer/eject', no user value Skipping GConf key '/apps/sound-juicer/file_pattern', no user value Skipping GConf key '/apps/sound-juicer/open_completed', no user value Skipping GConf key '/apps/sound-juicer/path_pattern', no user value Skipping GConf key '/apps/sound-juicer/strip-special', no user value Set key 'volume' to double '1' File 'gvfs-dns-sd.convert already converted, skipping File 'org.gnome.crypto.pgp_keyservers.convert already converted, skipping File 'totem.convert already converted, skipping File 'wm-schemas.convert already converted, skipping File 'gnome-settings-daemon.convert already converted, skipping File 'opensubtitles.convert already converted, skipping Collecting settings for schema 'org.gnome.totem.plugins.pythonconsole' Skipping GConf key '/apps/totem/plugins/pythonconsole/rpdb2_password', no user value Directory '/usr/share/GConf/gsettings' does not exist, nothing to do ===== End quot ===== Possibly, gsettings-data-convert shows nothing for sucessful job, though. Not done actual run as I'm not enough sure. Another info is that I could export gconf settings as XML data by `gconftool-2 --recursive-list /schemas/apps/compiz` for schemas and by `gconftool-2 --recursive-list /apps/compiz` for actual settings. It would be better waiting for Chris's work. Thanks in advance! P.S. gsettings-data-convert looks for /usr/share/GConf/gsettings, but it should be ${LOCALBASE}/share/GConf/gsettings on FreeBSD. But there are no data related to compiz there. -- Tomoaki AOKI