~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to data/org.foxtrotgps.convert

  • Committer: Paul Wise
  • Date: 2018-01-02 09:22:28 UTC
  • mto: This revision was merged to the branch mainline in revision 303.
  • Revision ID: pabs3@bonedaddy.net-20180102092228-nkr9nnphastt3ae3
Convert GConf schema and build to GSettings

Schema-conversion-by:
gsettings-schema-convert --gconf --xml --schema-id "org.foxtrotgps" --output org.foxtrotgps.gschema.xml apps_foxtrotgps.schemas.in
sed -i 's|/apps/|/org/|;s|<schema [^>]*|& gettext-domain="foxtrotgps"|' org.foxtrotgps.gschema.xml
sed -n 's| ||g;s|</\?applyto>||gp' apps_foxtrotgps.schemas.in > gconf
sed -n 's|.*name="\([^"]*\)".*|\1|p' org.foxtrotgps.gschema.xml > gsettings
echo '[org.foxtrotgps:/org/foxtrotgps/]' > org.foxtrotgps.convert
paste -d = gsettings gconf | sed 's/=/ = /' >> org.foxtrotgps.convert
rm -f gconf gsettings apps_foxtrotgps.schemas.in

Source-conversion-by:
sed "s|^\([^ ]*\) = /apps/foxtrotgps/\(.*\)|git sed '\"\2\"' '\"\1\"'|" data/org.foxtrotgps.convert | tail -n +2 | sh

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[org.foxtrotgps:/org/foxtrotgps/]
 
2
gpsd-host = /apps/foxtrotgps/gpsd_host
 
3
gpsd-port = /apps/foxtrotgps/gpsd_port
 
4
latlon-unit = /apps/foxtrotgps/latlon_unit
 
5
alt-unit = /apps/foxtrotgps/alt_unit
 
6
speed-unit = /apps/foxtrotgps/speed_unit
 
7
repo-name = /apps/foxtrotgps/repo_name
 
8
repos = /apps/foxtrotgps/repos
 
9
auto-download = /apps/foxtrotgps/auto_download
 
10
no-redownload = /apps/foxtrotgps/no_redownload
 
11
tracklog-on = /apps/foxtrotgps/tracklog_on
 
12
track-dir = /apps/foxtrotgps/track_dir
 
13
global-x = /apps/foxtrotgps/global_x
 
14
global-y = /apps/foxtrotgps/global_y
 
15
global-zoom = /apps/foxtrotgps/global_zoom
 
16
global-detail-zoom = /apps/foxtrotgps/global_detail_zoom
 
17
myposition-lat = /apps/foxtrotgps/myposition_lat
 
18
myposition-lon = /apps/foxtrotgps/myposition_lon
 
19
fftimer-running = /apps/foxtrotgps/fftimer_running
 
20
ffupdate-interval-minutes = /apps/foxtrotgps/ffupdate_interval_minutes
 
21
me-msg = /apps/foxtrotgps/me_msg
 
22
nick = /apps/foxtrotgps/nick
 
23
pass = /apps/foxtrotgps/pass
 
24
geocode-correction = /apps/foxtrotgps/geocode_correction
 
25
geocode-timezone = /apps/foxtrotgps/geocode_timezone
 
26
hrm-bt-addr = /apps/foxtrotgps/hrm_bt_addr
 
27
hrm-on = /apps/foxtrotgps/hrm_on