Created attachment 152364 [details] patch port Makefile to substitute "/etc" Basically devel/dconf does not read profiles from /usr/local/etc/dconf/profile Here is the problem that lead to this: I found that ibus engine preferences are not saved e.g. from a Chinese Bopomofo selecting traditional mode would not be retained and engine would always return 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 file or directory' getpid() = 35300 (0x89e4) write(2,"\n(ibus-dconf:35300): dconf-WARNING **: unable to open named profile (ibus): using the null configuration.\n",106) = 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 safety)
Auto-assigned to maintainer gnome@FreeBSD.org
So after https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186616, they moved /etc into a common variable....
Test-build on 10.1a, 9.3a, 8.4i went fine. Does gnome@ approve ?
Any progress with this?
A commit references this bug: Author: delphij Date: Wed Sep 9 01:06:57 UTC 2015 New revision: 396450 URL: https://svnweb.freebsd.org/changeset/ports/396450 Log: Replace "/etc" with $PREFIX/etc. Without this change ibus-dconf won't be able to save input method engine preferences. PR: ports/197191 Submitted by: Christopher Hall <christopherhall hsw gmail.com> Approved by: maintainer timeout (> 6 months) MFH: 2015Q3 Changes: head/devel/dconf/Makefile
A commit references this bug: Author: delphij Date: Wed Sep 9 01:07:35 UTC 2015 New revision: 396451 URL: https://svnweb.freebsd.org/changeset/ports/396451 Log: MFH: r396450 Replace "/etc" with $PREFIX/etc. Without this change ibus-dconf won't be able to save input method engine preferences. PR: ports/197191 Submitted by: Christopher Hall <christopherhall hsw gmail.com> Approved by: ports-secteam Changes: _U branches/2015Q3/ branches/2015Q3/devel/dconf/Makefile
Committed, thanks!