diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-10-13 12:35:34 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-10-13 13:03:52 +0100 |
commit | c4c161445d95c0a9e48b59f893988ef1f043e16a (patch) | |
tree | 10160179e75f8ee53e64cba4795551601d6687e9 /schemas | |
parent | 7610e26c3b1a2ce9bc5d686a05e223a8f6d089b1 (diff) | |
download | libgweather-c4c161445d95c0a9e48b59f893988ef1f043e16a.tar.gz |
Bump up the API version of libgweather
We're now at 4.0. The version bump requires some additional changes:
- the project version is 3.90, while we are in a development cycle
- the main gettext domain has been changed to libgweather-4.0
- the gettext domain for the locations has been changed to
libgweather-4.0-locations
- the settings schemas have been changed to org.gnome.GWeather4
- the soname of the shared library has been changed to match the
versioning scheme used by GLib and GTK
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/meson.build | 6 | ||||
-rw-r--r-- | schemas/org.gnome.GWeather4.gschema.xml (renamed from schemas/org.gnome.GWeather.gschema.xml) | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/schemas/meson.build b/schemas/meson.build index 677e4ef..3226aef 100644 --- a/schemas/meson.build +++ b/schemas/meson.build @@ -1,12 +1,12 @@ gsettingsdir = datadir / 'glib-2.0/schemas' -install_data('org.gnome.GWeather.gschema.xml', +install_data('org.gnome.GWeather4.gschema.xml', install_dir: gsettingsdir, ) -gnome.mkenums('org.gnome.GWeather.enums.xml', +gnome.mkenums('org.gnome.GWeather4.enums.xml', comments: '<!-- @comment@ -->', fhead: '<schemalist>', - vhead: '<@type@ id="org.gnome.GWeather.@EnumName@">', + vhead: '<@type@ id="org.gnome.GWeather4.@EnumName@">', vprod: '<value nick="@valuenick@" value="@valuenum@"/>', vtail: '</@type@>', ftail: '</schemalist>', diff --git a/schemas/org.gnome.GWeather.gschema.xml b/schemas/org.gnome.GWeather4.gschema.xml index 1481842..43de236 100644 --- a/schemas/org.gnome.GWeather.gschema.xml +++ b/schemas/org.gnome.GWeather4.gschema.xml @@ -1,5 +1,5 @@ -<schemalist gettext-domain="libgweather-3.0"> - <schema id="org.gnome.GWeather" path="/org/gnome/GWeather/"> +<schemalist gettext-domain="libgweather-4.0"> + <schema id="org.gnome.GWeather4" path="/org/gnome/GWeather4/"> <key name="radar" type="s"> <default>''</default> <summary>URL for the radar map</summary> @@ -8,7 +8,7 @@ for disabling radar maps. </description> </key> - <key name="temperature-unit" enum="org.gnome.GWeather.GWeatherTemperatureUnit"> + <key name="temperature-unit" enum="org.gnome.GWeather4.GWeatherTemperatureUnit"> <default>'default'</default> <summary>Temperature unit</summary> <description> @@ -16,7 +16,7 @@ “centigrade” and “fahrenheit”. </description> </key> - <key name="distance-unit" enum="org.gnome.GWeather.GWeatherDistanceUnit"> + <key name="distance-unit" enum="org.gnome.GWeather4.GWeatherDistanceUnit"> <default>'default'</default> <summary>Distance unit</summary> <description> @@ -24,7 +24,7 @@ distance of important events). Valid values are “meters”, “km” and “miles”. </description> </key> - <key name="speed-unit" enum="org.gnome.GWeather.GWeatherSpeedUnit"> + <key name="speed-unit" enum="org.gnome.GWeather4.GWeatherSpeedUnit"> <default>'default'</default> <summary>Speed unit</summary> <description> @@ -33,7 +33,7 @@ per hour), “knots” and “bft” (Beaufort scale). </description> </key> - <key name="pressure-unit" enum="org.gnome.GWeather.GWeatherPressureUnit"> + <key name="pressure-unit" enum="org.gnome.GWeather4.GWeatherPressureUnit"> <default>'default'</default> <summary>Pressure unit</summary> <description> |