Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 835 by [email protected]: Add --disable-gconf option to configure
http://code.google.com/p/ibus/issues/detail?id=835

The attached is a patch to add --disable-gconf option to configure.

If the option is specified, configure does not check the existence of the gconf program, and does not generate
Makefiles for gconf related code.

The change was made for Chromium OS but we are hoping it would be useful for other platforms.

I tested this patch with and without --disable-gconf.

WITH --disable-gconf
% ./autogen.sh&& ./configure --disable-gconf --prefix=/tmp/ibus/nogconf/usr |& tee log.nogconf.configure && make clean && make |& tee log.nogconf.make && make install |& tee log.nogconf.install

WITHOUT --disable-gconf
% ./autogen.sh&& ./configure --prefix=/tmp/ibus/gconf/usr |& tee log.gconf.configure && make clean && make |&
tee log.gconf.make && make install |& tee log.gconf.install

Both worked fine. I checked the log files and the diffs looked good.

The followings are differences in the two trees created with and without --disable-gconf

% cd /tmp/ibus
% diff =(cd gconf && find) =(cd nogconf && find)
43,45d42
< ./usr/etc/gconf
< ./usr/etc/gconf/schemas
< ./usr/etc/gconf/schemas/ibus.schemas
55d51
< ./usr/libexec/ibus-gconf
211d206
< ./usr/share/ibus/component/gconf.xml


See also http://code.google.com/p/ibus/issues/detail?id=823 for a similar change that added --disable-python


Attachments:
        disable-gconf.diff  2.3 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

To unsubscribe from this group, send email to ibus-devel+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

回复