Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7406)

Issue 6215062: dconf: use text-based key file and dconf update (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by Daiki Ueno
Modified:
11 years, 11 months ago
Reviewers:
shawn.p.huang, fujiwara, Peng
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

dconf: use text-based key file and dconf update BUG=none TEST=manually

Patch Set 1 #

Patch Set 2 : separate org.freedesktop.ibus.general and org.freedesktop.ibus.general.hotkey #

Total comments: 2

Patch Set 3 : separate each schema with empty line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -16 lines) Patch
M data/dconf/Makefile.am View 2 chunks +11 lines, -7 lines 0 comments Download
M data/dconf/make-dconf-override-db.sh View 1 2 1 chunk +24 lines, -9 lines 0 comments Download

Messages

Total messages: 11
Daiki Ueno
Currently "make install" directly puts a binary DB file in /etc/dconf/db/ibus. It does not support ...
11 years, 11 months ago (2012-05-18 06:13:31 UTC) #1
fujiwara
On 2012/05/18 06:13:31, Daiki Ueno wrote: > Currently "make install" directly puts a binary DB ...
11 years, 11 months ago (2012-05-18 06:42:16 UTC) #2
Daiki Ueno
On 2012/05/18 06:42:16, fujiwara wrote: > On 2012/05/18 06:13:31, Daiki Ueno wrote: > > Currently ...
11 years, 11 months ago (2012-05-18 07:09:42 UTC) #3
fujiwara
https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh File data/dconf/make-dconf-override-db.sh (right): https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh#newcode36 data/dconf/make-dconf-override-db.sh:36: echo $schema | sed 's/org\.freedesktop\(.*\)/[desktop\1]/' | tr '.' '/' ...
11 years, 11 months ago (2012-05-18 07:31:07 UTC) #4
Daiki Ueno
https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh File data/dconf/make-dconf-override-db.sh (right): https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh#newcode36 data/dconf/make-dconf-override-db.sh:36: echo $schema | sed 's/org\.freedesktop\(.*\)/[desktop\1]/' | tr '.' '/' ...
11 years, 11 months ago (2012-05-18 08:42:59 UTC) #5
Peng
On 2012/05/18 08:42:59, Daiki Ueno wrote: > https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh > File data/dconf/make-dconf-override-db.sh (right): > > https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh#newcode36 ...
11 years, 11 months ago (2012-05-18 14:58:37 UTC) #6
fujiwara
On 2012/05/18 08:42:59, Daiki Ueno wrote: > https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh > File data/dconf/make-dconf-override-db.sh (right): > > https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-override-db.sh#newcode36 ...
11 years, 11 months ago (2012-05-19 03:33:09 UTC) #7
fujiwara
On 2012/05/19 03:33:09, fujiwara wrote: > On 2012/05/18 08:42:59, Daiki Ueno wrote: > > > ...
11 years, 11 months ago (2012-05-25 02:25:53 UTC) #8
Daiki Ueno
On 2012/05/25 02:25:53, fujiwara wrote: > On 2012/05/19 03:33:09, fujiwara wrote: > > On 2012/05/18 ...
11 years, 11 months ago (2012-05-25 02:41:21 UTC) #9
fujiwara
On 2012/05/25 02:41:21, Daiki Ueno wrote: > On 2012/05/25 02:25:53, fujiwara wrote: > > On ...
11 years, 11 months ago (2012-05-25 02:52:53 UTC) #10
Daiki Ueno
11 years, 11 months ago (2012-05-25 03:09:39 UTC) #11
On 2012/05/25 02:52:53, fujiwara wrote:
> On 2012/05/25 02:41:21, Daiki Ueno wrote:
> > On 2012/05/25 02:25:53, fujiwara wrote:
> > > On 2012/05/19 03:33:09, fujiwara wrote:
> > > > On 2012/05/18 08:42:59, Daiki Ueno wrote:
> > > > >
> > > >
> > >
> >
>
https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-overri...
> > > > > File data/dconf/make-dconf-override-db.sh (right):
> > > > > 
> > > > >
> > > >
> > >
> >
>
https://codereview.appspot.com/6215062/diff/4001/data/dconf/make-dconf-overri...
> > > > > data/dconf/make-dconf-override-db.sh:36: echo $schema | sed
> > > > > 's/org\.freedesktop\(.*\)/[desktop\1]/' | tr '.' '/'
> > > > > On 2012/05/18 07:31:07, fujiwara wrote:
> > > > > > Maybe it's good to call 'echo ""' before 'echo [foo]' for the
readable
> > > text.
> > > > > 
> > > > > Done.
> > > > 
> > > > lgtm
> > > 
> > > I think 00-upstream-settings needs to be inclueded in DISTCLEANFILES for
> make
> > > dist.
> > 
> > I thought that it might be better to add the file to MAINTAINERCLEANFILES so
> > that tarball users don't need to regenerate it after make distclean (like
> > *.vapi).
> > 
> > What's the actual error you see when make dist?
> 
> You could run 'make distcheck'.
> 
> ERROR: files left in build directory after distclean:
> ./data/dconf/00-upstream-settings

OK, then I would rather make the $(gsettings_SCHEMAS) dependency to order-only:

--- a/data/dconf/Makefile.am
+++ b/data/dconf/Makefile.am
@@ -55,7 +55,7 @@ org.freedesktop.ibus.gschema.xml.in: $(top_srcdir)/data/ibus.s
                --schema-id "org.freedesktop.ibus" \
                --output $@ $<
 
-00-upstream-settings: $(srcdir)/make-dconf-override-db.sh $(gsettings_SCHEMAS)
+00-upstream-settings: $(srcdir)/make-dconf-override-db.sh | $(gsettings_SCHEMAS
        @$(MKDIR_P) db
        $(AM_V_GEN) $(srcdir)/make-dconf-override-db.sh > $@ || \
                { rc=$$?; $(RM) -rf $@; exit $$rc; }
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b