Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2015 06:17:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 197191] [patch] devel/dconf: hardcoded "/etc"  causes ibus-dconf failure, leading to engine preferences not saved
Message-ID:  <bug-197191-6497-aC2G2ViBl0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197191-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197191-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Hall <christopherhall.hsw@gmail.com> has reassigned Bugzilla
Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to
gnome@FreeBSD.org:
Bug 197191: [patch] devel/dconf: hardcoded "/etc"  causes ibus-dconf failur=
e,
leading to engine preferences not saved
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197191



--- Description ---
Created attachment 152364
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D152364&action=
=3Dedit
patch port Makefile to substitute "/etc"

Basically devel/dconf does not read profiles from /usr/local/etc/dconf/prof=
ile

Here is the problem that lead to this:

I found that ibus engine preferences are not saved e.g. from a Chinese Bopo=
mofo
selecting traditional mode would not be retained and engine would always re=
turn
to default when switching between English and Chinese.

The main settings panel (ibus-settings) is fine and not affected by this.

here is a small sample of truss output:

open("/etc/dconf/profile/ibus",O_RDONLY,0666)	 ERR#2 'No such file or
directory'
open("/share/dconf/profile/ibus",O_RDONLY,0666)  ERR#2 'No such file or
directory'
open("/usr/share/dconf/profile/ibus",O_RDONLY,0666) ERR#2 'No such file or
directory'
open("/usr/local/share/dconf/profile/ibus",O_RDONLY,0666) ERR#2 'No such fi=
le
or directory'
getpid()					 =3D 35300 (0x89e4)
write(2,"\n(ibus-dconf:35300): dconf-WARNING **: unable to open named profi=
le
(ibus): using the null configuration.\n",106) =3D 106 (0x6a)

The textproc/ibus port actually installs this file as:
/usr/local/etc/dconf/profile/ibus

The real cause is that the devel/dconf file: engine/dconf-engine-profile.c =
hard
codes "/etc" and the sed command in port Makefile looks only for /etc/
therefore add an additional s/// to change all "/etc" (with quotes for safe=
ty)

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer gnome@FreeBSD.org=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197191-6497-aC2G2ViBl0>