On 09.08.23 11:29, Simon McVittie wrote:
On Wed, 09 Aug 2023 at 10:37:40 +0200, Matthias Geiger wrote:
On 08.08.23 20:04, Simon McVittie wrote:
What are the differences between the mips64el content and the others?
How can I do that ?
Download the mips64el .deb, download the .deb for one of the other
architectures (for example amd64), unpack, diff the GIR files (they're
XML text).
sorry, tried to create a diff from the typelibs :(
The long-term solution depends on what the per-architecture differences
actually are.
I'd like to fix it properly.
So would I, but if the differences reflect a genuine difference in
content between the architectures, the long-term solution requires
work that I have been doing in gobject-introspection to give it an
architecture-specific search path element for GIR XML, which requires
some relatively delicate upstream-politics, because one of the main
upstream maintainers doesn't like multiarch or multilib and believes
they are unnecessary.

It's on my list, but my list is not short, and handing it off to a new
contributor who would need to catch up with the situation seems like it
will make upstream more likely to lose patience and block the whole thing.
Ok. diff included, I'll remove the MA: same annotation for now.


Matthias

diff --git a/Shumate-1.0.gir b/home/werdahias/libshumate-dev_1.0.5-1_amd64/data/usr/share/gir-1.0/Shumate-1.0.gir
index 7215dc1..01f490d 100644
--- a/Shumate-1.0.gir
+++ b/home/werdahias/libshumate-dev_1.0.5-1_amd64/data/usr/share/gir-1.0/Shumate-1.0.gir
@@ -1088,7 +1088,8 @@ operation.</doc>
                 writable="1"
                 construct-only="1"
                 transfer-ownership="none"
-                getter="get_cache_dir">
+                getter="get_cache_dir"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-file-cache.c"
              line="323">The directory where the tile database is stored.</doc>
@@ -1098,7 +1099,8 @@ operation.</doc>
                 writable="1"
                 construct-only="1"
                 transfer-ownership="none"
-                getter="get_cache_key">
+                getter="get_cache_key"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-file-cache.c"
              line="335">The key used to store and retrieve tiles from the cache. Different keys
@@ -1110,7 +1112,8 @@ can be used to store multiple tilesets in the same cache directory.</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_size_limit"
-                getter="get_size_limit">
+                getter="get_size_limit"
+                default-value="100000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-file-cache.c"
              line="307">The cache size limit in bytes.
@@ -1392,7 +1395,8 @@ map's licence when displayed. Use "\n" to separate the lines.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_extra_text"
-                getter="get_extra_text">
+                getter="get_extra_text"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-license.c"
              line="144">Sets additional text to be displayed in the license area.  The map's
@@ -1404,7 +1408,8 @@ license will be added below it. Your text can have multiple lines, just use
                 writable="1"
                 transfer-ownership="none"
                 setter="set_xalign"
-                getter="get_xalign">
+                getter="get_xalign"
+                default-value="0.500000">
         <doc xml:space="preserve"
              filename="shumate/shumate-license.c"
              line="158">The license's horizontal alignment</doc>
@@ -1577,7 +1582,8 @@ and longitude and can be used to specify location on the map.</doc>
       <property name="latitude"
                 writable="1"
                 transfer-ownership="none"
-                getter="get_latitude">
+                getter="get_latitude"
+                default-value="0.000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-location.c"
              line="51">The latitude coordonate in degrees</doc>
@@ -1586,7 +1592,8 @@ and longitude and can be used to specify location on the map.</doc>
       <property name="longitude"
                 writable="1"
                 transfer-ownership="none"
-                getter="get_longitude">
+                getter="get_longitude"
+                default-value="0.000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-location.c"
              line="37">The longitude coordonate in degrees</doc>
@@ -2383,7 +2390,8 @@ animation was stopped.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_animate_zoom"
-                getter="get_animate_zoom">
+                getter="get_animate_zoom"
+                default-value="TRUE">
         <doc xml:space="preserve"
              filename="shumate/shumate-map.c"
              line="730">Animate zoom change when zooming in/out.</doc>
@@ -2393,7 +2401,8 @@ animation was stopped.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_go_to_duration"
-                getter="get_go_to_duration">
+                getter="get_go_to_duration"
+                default-value="0">
         <doc xml:space="preserve"
              filename="shumate/shumate-map.c"
              line="756">The duration of an animation when going to a location, in milliseconds.
@@ -2403,7 +2412,10 @@ Please note that animation of #shumate_map_ensure_visible also
 involves a 'go-to' animation.</doc>
         <type name="guint" c:type="guint"/>
       </property>
-      <property name="state" transfer-ownership="none" getter="get_state">
+      <property name="state"
+                transfer-ownership="none"
+                getter="get_state"
+                default-value="SHUMATE_STATE_NONE">
         <doc xml:space="preserve"
              filename="shumate/shumate-map.c"
              line="742">The view's global state. Useful to inform using if the view is busy loading
@@ -2423,7 +2435,8 @@ etc. of the map.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_zoom_on_double_click"
-                getter="get_zoom_on_double_click">
+                getter="get_zoom_on_double_click"
+                default-value="TRUE">
         <doc xml:space="preserve"
              filename="shumate/shumate-map.c"
              line="718">Should the view zoom in and recenter when the user double click on the map.</doc>
@@ -3332,7 +3345,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_id"
-                getter="get_id">
+                getter="get_id"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="192">The id of the map source</doc>
@@ -3343,7 +3357,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_license"
-                getter="get_license">
+                getter="get_license"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="216">The usage license of the map source</doc>
@@ -3354,7 +3369,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_license_uri"
-                getter="get_license_uri">
+                getter="get_license_uri"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="228">The usage license's uri for more information</doc>
@@ -3365,7 +3381,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_max_zoom_level"
-                getter="get_max_zoom_level">
+                getter="get_max_zoom_level"
+                default-value="18">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="252">The maximum zoom level</doc>
@@ -3376,7 +3393,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_min_zoom_level"
-                getter="get_min_zoom_level">
+                getter="get_min_zoom_level"
+                default-value="0">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="240">The minimum zoom level</doc>
@@ -3387,7 +3405,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_name"
-                getter="get_name">
+                getter="get_name"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="204">The name of the map source</doc>
@@ -3398,7 +3417,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_projection"
-                getter="get_projection">
+                getter="get_projection"
+                default-value="SHUMATE_MAP_PROJECTION_MERCATOR">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="276">The map projection of the map source</doc>
@@ -3409,7 +3429,8 @@ at this zoom level</doc>
                 construct="1"
                 transfer-ownership="none"
                 setter="set_tile_size"
-                getter="get_tile_size">
+                getter="get_tile_size"
+                default-value="256">
         <doc xml:space="preserve"
              filename="shumate/shumate-map-source.c"
              line="264">The tile size of the map source</doc>
@@ -3908,7 +3929,8 @@ a [class@Gtk.Popover] with the description of the marker.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_selectable"
-                getter="get_selectable">
+                getter="get_selectable"
+                default-value="FALSE">
         <doc xml:space="preserve"
              filename="shumate/shumate-marker.c"
              line="249">The selectable state of the marker</doc>
@@ -4253,7 +4275,8 @@ program, from unselecting a marker.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_selection_mode"
-                getter="get_selection_mode">
+                getter="get_selection_mode"
+                default-value="GTK_SELECTION_NONE">
         <doc xml:space="preserve"
              filename="shumate/shumate-marker-layer.c"
              line="312">Determines the type of selection that will be performed.</doc>
@@ -4900,7 +4923,8 @@ Pass %NULL to use solid line.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_closed"
-                getter="get_closed">
+                getter="get_closed"
+                default-value="FALSE">
         <doc xml:space="preserve"
              filename="shumate/shumate-path-layer.c"
              line="313">The shape is a closed path</doc>
@@ -4910,7 +4934,8 @@ Pass %NULL to use solid line.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_fill"
-                getter="get_fill">
+                getter="get_fill"
+                default-value="FALSE">
         <doc xml:space="preserve"
              filename="shumate/shumate-path-layer.c"
              line="325">The shape should be filled</doc>
@@ -4940,7 +4965,8 @@ Pass %NULL to use solid line.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_outline_width"
-                getter="get_outline_width">
+                getter="get_outline_width"
+                default-value="0.000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-path-layer.c"
              line="399">The path's outline width (in pixels)</doc>
@@ -4950,7 +4976,8 @@ Pass %NULL to use solid line.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_stroke"
-                getter="get_stroke">
+                getter="get_stroke"
+                default-value="TRUE">
         <doc xml:space="preserve"
              filename="shumate/shumate-path-layer.c"
              line="337">The shape should be stroked</doc>
@@ -4970,7 +4997,8 @@ Pass %NULL to use solid line.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_stroke_width"
-                getter="get_stroke_width">
+                getter="get_stroke_width"
+                default-value="2.000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-path-layer.c"
              line="373">The path's stroke width (in pixels)</doc>
@@ -5437,7 +5465,8 @@ childs different labels.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_max_width"
-                getter="get_max_width">
+                getter="get_max_width"
+                default-value="150">
         <doc xml:space="preserve"
              filename="shumate/shumate-scale.c"
              line="303">The size of the map scale on screen in pixels.</doc>
@@ -5447,7 +5476,8 @@ childs different labels.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_unit"
-                getter="get_unit">
+                getter="get_unit"
+                default-value="SHUMATE_UNIT_BOTH">
         <doc xml:space="preserve"
              filename="shumate/shumate-scale.c"
              line="315">The scale's units.</doc>
@@ -5793,7 +5823,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_show_zoom_buttons"
-                getter="get_show_zoom_buttons">
+                getter="get_show_zoom_buttons"
+                default-value="TRUE">
         <type name="gboolean" c:type="gboolean"/>
       </property>
       <property name="viewport"
@@ -6372,7 +6403,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_fade_in"
-                getter="get_fade_in">
+                getter="get_fade_in"
+                default-value="FALSE">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile.c"
              line="248">Specifies whether the tile should fade in when loading</doc>
@@ -6392,7 +6424,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_size"
-                getter="get_size">
+                getter="get_size"
+                default-value="256">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile.c"
              line="221">The size of the tile in pixels</doc>
@@ -6402,7 +6435,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_state"
-                getter="get_state">
+                getter="get_state"
+                default-value="SHUMATE_STATE_NONE">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile.c"
              line="235">The state of the tile</doc>
@@ -6412,7 +6446,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_x"
-                getter="get_x">
+                getter="get_x"
+                default-value="0">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile.c"
              line="179">The x position of the tile</doc>
@@ -6422,7 +6457,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_y"
-                getter="get_y">
+                getter="get_y"
+                default-value="0">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile.c"
              line="193">The y position of the tile</doc>
@@ -6432,7 +6468,8 @@ to it.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_zoom_level"
-                getter="get_zoom_level">
+                getter="get_zoom_level"
+                default-value="0">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile.c"
              line="207">The zoom level of the tile</doc>
@@ -6488,7 +6525,8 @@ See [property@TileDownloader:url-template] for the format of the URL template.</
       <property name="url-template"
                 writable="1"
                 construct-only="1"
-                transfer-ownership="none">
+                transfer-ownership="none"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-tile-downloader.c"
              line="160">A template for construting the URL to download a tile from.
@@ -6717,7 +6755,8 @@ along with the main style JSON.</doc>
       <property name="style-json"
                 writable="1"
                 construct-only="1"
-                transfer-ownership="none">
+                transfer-ownership="none"
+                default-value="NULL">
         <doc xml:space="preserve"
              filename="shumate/shumate-vector-renderer.c"
              line="208">A map style, in [Mapbox Style Specification](https://docs.mapbox.com/mapbox-gl-js/style-spec/)
@@ -7114,7 +7153,8 @@ longitude.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_max_zoom_level"
-                getter="get_max_zoom_level">
+                getter="get_max_zoom_level"
+                default-value="20">
         <doc xml:space="preserve"
              filename="shumate/shumate-viewport.c"
              line="246">The highest allowed level of zoom of the content.</doc>
@@ -7124,7 +7164,8 @@ longitude.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_min_zoom_level"
-                getter="get_min_zoom_level">
+                getter="get_min_zoom_level"
+                default-value="0">
         <doc xml:space="preserve"
              filename="shumate/shumate-viewport.c"
              line="234">The lowest allowed level of zoom of the content.</doc>
@@ -7144,7 +7185,8 @@ longitude.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_rotation"
-                getter="get_rotation">
+                getter="get_rotation"
+                default-value="0.000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-viewport.c"
              line="270">The rotation of the map view, in radians clockwise from up being due north</doc>
@@ -7154,7 +7196,8 @@ longitude.</doc>
                 writable="1"
                 transfer-ownership="none"
                 setter="set_zoom_level"
-                getter="get_zoom_level">
+                getter="get_zoom_level"
+                default-value="3.000000">
         <doc xml:space="preserve"
              filename="shumate/shumate-viewport.c"
              line="222">The level of zoom of the content.</doc>

Attachment: OpenPGP_0x18BD106B3B6C5475.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to