~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to data/org.foxtrotgps.gschema.xml

  • 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
<schemalist>
 
2
  <schema id="org.foxtrotgps" path="/org/foxtrotgps/" gettext-domain="foxtrotgps">
 
3
    <key name="gpsd-host" type="s">
 
4
      <default>'localhost'</default>
 
5
      <summary>GPSD host</summary>
 
6
    </key>
 
7
    <key name="gpsd-port" type="s">
 
8
      <default>'2947'</default>
 
9
      <summary>GPSD port</summary>
 
10
    </key>
 
11
    <key name="latlon-unit" type="i">
 
12
      <default>0</default>
 
13
      <summary>Latitude/longitude unit</summary>
 
14
    </key>
 
15
    <key name="alt-unit" type="i">
 
16
      <default>0</default>
 
17
      <summary>Altitude unit</summary>
 
18
    </key>
 
19
    <key name="speed-unit" type="i">
 
20
      <default>0</default>
 
21
      <summary>Speed unit</summary>
 
22
    </key>
 
23
    <key name="repo-name" type="s">
 
24
      <default>'OSM'</default>
 
25
      <summary>The active map-repository</summary>
 
26
    </key>
 
27
    <key name="repos" type="as">
 
28
      <default>[]</default>
 
29
      <summary>Map-repository definitions</summary>
 
30
    </key>
 
31
    <key name="auto-download" type="b">
 
32
      <default>true</default>
 
33
      <summary>Automatically download map-tiles as needed</summary>
 
34
    </key>
 
35
    <key name="no-redownload" type="b">
 
36
      <default>false</default>
 
37
      <summary>Avoid re-downloading cached tiles</summary>
 
38
    </key>
 
39
    <key name="tracklog-on" type="b">
 
40
      <default>false</default>
 
41
      <summary>Log tracks to a local file</summary>
 
42
    </key>
 
43
    <key name="track-dir" type="s">
 
44
      <default>''</default>
 
45
      <summary>The directory into which track-files are written</summary>
 
46
    </key>
 
47
    <key name="global-x" type="i">
 
48
      <default>890</default>
 
49
      <summary>Horizontal viewport-coordinate</summary>
 
50
    </key>
 
51
    <key name="global-y" type="i">
 
52
      <default>515</default>
 
53
      <summary>Vertical viewport-coordinate</summary>
 
54
    </key>
 
55
    <key name="global-zoom" type="i">
 
56
      <default>3</default>
 
57
      <summary>Viewport zoom-level</summary>
 
58
    </key>
 
59
    <key name="global-detail-zoom" type="i">
 
60
      <default>0</default>
 
61
      <summary>Detail scale-factor</summary>
 
62
    </key>
 
63
    <key name="myposition-lat" type="d">
 
64
      <default>0</default>
 
65
      <summary>`My position', latitude</summary>
 
66
    </key>
 
67
    <key name="myposition-lon" type="d">
 
68
      <default>0</default>
 
69
      <summary>`My position', longitude</summary>
 
70
    </key>
 
71
    <key name="fftimer-running" type="b">
 
72
      <default>false</default>
 
73
      <summary>Publish your location &amp; show others' locations</summary>
 
74
    </key>
 
75
    <key name="ffupdate-interval-minutes" type="d">
 
76
      <default>5</default>
 
77
      <summary>Friend-finder update interval, in minutes</summary>
 
78
    </key>
 
79
    <key name="me-msg" type="s">
 
80
      <default>''</default>
 
81
      <summary>Status-message to publish in the friend-finder</summary>
 
82
    </key>
 
83
    <key name="nick" type="s">
 
84
      <default>''</default>
 
85
      <summary>Friend-finder username</summary>
 
86
    </key>
 
87
    <key name="pass" type="s">
 
88
      <default>''</default>
 
89
      <summary>Friend-finder password</summary>
 
90
    </key>
 
91
    <key name="geocode-correction" type="i">
 
92
      <default>0</default>
 
93
      <summary>Number of seconds by which photo timestamps must be corrected for geocoding</summary>
 
94
    </key>
 
95
    <key name="geocode-timezone" type="i">
 
96
      <default>13</default>
 
97
      <summary>Treat photo-timestamps as being relative to this timezone (UTC=13)</summary>
 
98
    </key>
 
99
    <key name="hrm-bt-addr" type="s">
 
100
      <default>''</default>
 
101
      <summary>The Bluetooth address of your heartrate-monitor</summary>
 
102
    </key>
 
103
    <key name="hrm-on" type="b">
 
104
      <default>false</default>
 
105
      <summary>Use the heartrate-monitor specified in hrm_bt_addr</summary>
 
106
    </key>
 
107
  </schema>
 
108
</schemalist>