diff options
Diffstat (limited to 'meta-openembedded/meta-gnome')
13 files changed, 645 insertions, 21 deletions
diff --git a/meta-openembedded/meta-gnome/conf/layer.conf b/meta-openembedded/meta-gnome/conf/layer.conf index 5e92cdbd7..ba2d59948 100644 --- a/meta-openembedded/meta-gnome/conf/layer.conf +++ b/meta-openembedded/meta-gnome/conf/layer.conf @@ -17,7 +17,7 @@ LAYERVERSION_gnome-layer = "1" LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer" -LAYERSERIES_COMPAT_gnome-layer = "gatesgarth hardknott" +LAYERSERIES_COMPAT_gnome-layer = " hardknott" SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += "\ faenza-icon-theme->gdk-pixbuf \ diff --git a/meta-openembedded/meta-gnome/recipes-connectivity/libnma/libnma_1.8.30.bb b/meta-openembedded/meta-gnome/recipes-connectivity/libnma/libnma_1.8.30.bb index 3f3cb90b7..c0a7dd63d 100644 --- a/meta-openembedded/meta-gnome/recipes-connectivity/libnma/libnma_1.8.30.bb +++ b/meta-openembedded/meta-gnome/recipes-connectivity/libnma/libnma_1.8.30.bb @@ -20,7 +20,8 @@ PACKAGECONFIG[mobile_broadband_provider_info] = "-Dmobile_broadband_provider_inf # go introspection is not supported for mipsn32/riscv32, but vapi needs it # -EXTRA_OEMESON_mipsarchn32_append = " -Dvapi=false" -EXTRA_OEMESON_riscv32_append = " -Dvapi=false" +EXTRA_OEMESON_append_mipsarchn32 = " -Dvapi=false" +EXTRA_OEMESON_append_riscv32 = " -Dvapi=false" +EXTRA_OEMESON_append_powerpc64le = " -Dvapi=false" GTKDOC_MESON_OPTION = "gtk_doc" diff --git a/meta-openembedded/meta-gnome/recipes-gimp/gimp/gimp_2.10.22.bb b/meta-openembedded/meta-gnome/recipes-gimp/gimp/gimp_2.10.22.bb index 2d75d6011..aa5112add 100644 --- a/meta-openembedded/meta-gnome/recipes-gimp/gimp/gimp_2.10.22.bb +++ b/meta-openembedded/meta-gnome/recipes-gimp/gimp/gimp_2.10.22.bb @@ -54,6 +54,7 @@ EXTRA_OECONF = "--disable-python \ --without-wmf" EXTRA_OECONF_append_libc-musl_mipsarch = " --disable-vector-icons" +EXTRA_OECONF_append_libc-musl_riscv32 = " --disable-vector-icons" EXTRA_OECONF_append_arm = " --disable-vector-icons" do_configure_append() { diff --git a/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor/0001-Don-t-alter-or-try-to-write-GtkChild-fields.patch b/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor/0001-Don-t-alter-or-try-to-write-GtkChild-fields.patch new file mode 100644 index 000000000..7c83ae339 --- /dev/null +++ b/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor/0001-Don-t-alter-or-try-to-write-GtkChild-fields.patch @@ -0,0 +1,522 @@ +From ba4a39b74067b73c9bed64dad7be3d53e837dd8d Mon Sep 17 00:00:00 2001 +From: Rico Tzschichholz <ricotz@ubuntu.com> +Date: Sat, 16 Jan 2021 13:26:32 +0100 +Subject: [PATCH] Don't alter or try to write GtkChild fields + +See https://gitlab.gnome.org/GNOME/vala/issues/1121 + +Upstream-Status: Backport [https://github.com/GNOME/dconf-editor/commit/9272e9fb6867e71426bfd0aa5edce5ec39cf0ad4] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + editor/bookmarks-headerbar.vala | 4 +-- + editor/bookmarks-list.vala | 4 +-- + editor/bookmarks.vala | 12 +++---- + editor/delayed-setting-view.vala | 54 ++++++++++++++++---------------- + editor/overlayed-list.vala | 38 +++++++++++----------- + editor/pathentry.vala | 24 +++++++------- + editor/registry-list.vala | 6 ++-- + editor/registry-search.vala | 6 ++-- + editor/registry-view.vala | 2 +- + 9 files changed, 75 insertions(+), 75 deletions(-) + +diff --git a/editor/bookmarks-headerbar.vala b/editor/bookmarks-headerbar.vala +index 54848a5..0522c37 100644 +--- a/editor/bookmarks-headerbar.vala ++++ b/editor/bookmarks-headerbar.vala +@@ -24,7 +24,7 @@ private abstract class BookmarksHeaderBar : BrowserHeaderBar, AdaptativeWidget + install_action_entries (); + + add_bookmarks_revealer (out bookmarks_revealer, +- out bookmarks_button, ref center_box); ++ out bookmarks_button, center_box); + connect_bookmarks_signals (); + add_bookmarks_controller (out bookmarks_controller, ref this); + +@@ -58,7 +58,7 @@ private abstract class BookmarksHeaderBar : BrowserHeaderBar, AdaptativeWidget + private Bookmarks bookmarks_button; + private BookmarksController bookmarks_controller; + +- private static void add_bookmarks_revealer (out Revealer bookmarks_revealer, out Bookmarks bookmarks_button, ref Box center_box) ++ private static void add_bookmarks_revealer (out Revealer bookmarks_revealer, out Bookmarks bookmarks_button, Box center_box) + { + bookmarks_revealer = new Revealer (); + bookmarks_revealer.transition_type = RevealerTransitionType.SLIDE_LEFT; +diff --git a/editor/bookmarks-list.vala b/editor/bookmarks-list.vala +index 393973b..c9280d5 100644 +--- a/editor/bookmarks-list.vala ++++ b/editor/bookmarks-list.vala +@@ -146,10 +146,10 @@ private class BookmarksList : OverlayedList + + internal bool create_bookmark_rows (Variant bookmarks_variant) + { +- _create_bookmark_rows (bookmarks_variant, view_mode, ref main_list_store, ref main_list_box, ref bookmarks_hashtable); ++ _create_bookmark_rows (bookmarks_variant, view_mode, ref main_list_store, main_list_box, ref bookmarks_hashtable); + return n_items == 0; + } +- private static void _create_bookmark_rows (Variant bookmarks_variant, bool view_mode, ref GLib.ListStore main_list_store, ref ListBox main_list_box, ref HashTable<string, Bookmark> bookmarks_hashtable) ++ private static void _create_bookmark_rows (Variant bookmarks_variant, bool view_mode, ref GLib.ListStore main_list_store, ListBox main_list_box, ref HashTable<string, Bookmark> bookmarks_hashtable) + { + string saved_bookmark_name = ""; + ListBoxRow? selected_row = main_list_box.get_selected_row (); +diff --git a/editor/bookmarks.vala b/editor/bookmarks.vala +index 153af10..d8cea7c 100644 +--- a/editor/bookmarks.vala ++++ b/editor/bookmarks.vala +@@ -84,7 +84,7 @@ private class Bookmarks : MenuButton + + construct + { +- update_switch_label (ViewType.SEARCH, ViewType.FOLDER, ref switch_label); // init text with "Bookmark this Location" ++ update_switch_label (ViewType.SEARCH, ViewType.FOLDER, switch_label); // init text with "Bookmark this Location" + + install_action_entries (); + +@@ -184,7 +184,7 @@ private class Bookmarks : MenuButton + + internal void set_path (ViewType type, string path) + { +- update_switch_label (current_type, type, ref switch_label); ++ update_switch_label (current_type, type, switch_label); + + current_path = path; + current_type = type; +@@ -392,7 +392,7 @@ private class Bookmarks : MenuButton + * * Bookmarks management + \*/ + +- private static void update_switch_label (ViewType old_type, ViewType new_type, ref Label switch_label) ++ private static void update_switch_label (ViewType old_type, ViewType new_type, Label switch_label) + { + if (new_type == ViewType.SEARCH && old_type != ViewType.SEARCH) + switch_label.label = bookmark_this_search_text; +@@ -414,18 +414,18 @@ private class Bookmarks : MenuButton + { + if (bookmarks_icon.icon_name != "starred-symbolic") + bookmarks_icon.icon_name = "starred-symbolic"; +- update_switch_state (true, ref bookmarked_switch); ++ update_switch_state (true, bookmarked_switch); + bookmarked_switch.set_detailed_action_name ("bookmarks.unbookmark(" + variant.print (true) + ")"); + } + else + { + if (bookmarks_icon.icon_name != "non-starred-symbolic") + bookmarks_icon.icon_name = "non-starred-symbolic"; +- update_switch_state (false, ref bookmarked_switch); ++ update_switch_state (false, bookmarked_switch); + bookmarked_switch.set_detailed_action_name ("bookmarks.bookmark(" + variant.print (true) + ")"); + } + } +- private static void update_switch_state (bool bookmarked, ref Switch bookmarked_switch) ++ private static void update_switch_state (bool bookmarked, Switch bookmarked_switch) + { + if (bookmarked == bookmarked_switch.active) + return; +diff --git a/editor/delayed-setting-view.vala b/editor/delayed-setting-view.vala +index add6852..b1f774c 100644 +--- a/editor/delayed-setting-view.vala ++++ b/editor/delayed-setting-view.vala +@@ -41,24 +41,24 @@ private class DelayedSettingView : OverlayedListRow + { + // at row creation, key is never ghost + _update_dconf_key_current_value (key_value, +- ref key_value_label, +- ref key_value_default); ++ key_value_label, ++ key_value_default); + + _update_dconf_key_planned_value (cool_planned_value, +- ref planned_value_label, +- ref planned_value_default); ++ planned_value_label, ++ planned_value_default); + } + else + { + _update_gsettings_key_current_value (key_value, + has_schema_and_is_default, +- ref key_value_label, +- ref key_value_default); ++ key_value_label, ++ key_value_default); + + _update_gsettings_key_planned_value (cool_planned_value, + (!) cool_default_value, +- ref planned_value_label, +- ref planned_value_default); ++ planned_value_label, ++ planned_value_default); + } + } + +@@ -74,23 +74,23 @@ private class DelayedSettingView : OverlayedListRow + + private static inline void _update_gsettings_key_planned_value (string? cool_planned_value, + string cool_default_value, +- ref Label planned_value_label, +- ref Label planned_value_default) ++ Label planned_value_label, ++ Label planned_value_default) + { + bool is_default = cool_planned_value == null; + planned_value_label.label = is_default ? cool_default_value : (!) cool_planned_value; +- update_value_default_label (is_default, ref planned_value_default); ++ update_value_default_label (is_default, planned_value_default); + } + + private static inline void _update_dconf_key_planned_value (string? cool_planned_value, +- ref Label planned_value_label, +- ref Label planned_value_default) ++ Label planned_value_label, ++ Label planned_value_default) + { + if (cool_planned_value == null) +- update_labels_dconf_key_erased (ref planned_value_label, ref planned_value_default); ++ update_labels_dconf_key_erased (planned_value_label, planned_value_default); + else + update_labels_dconf_key_values ((!) cool_planned_value, +- ref planned_value_label, ref planned_value_default); ++ planned_value_label, planned_value_default); + } + + /*\ +@@ -99,37 +99,37 @@ private class DelayedSettingView : OverlayedListRow + + internal void update_gsettings_key_current_value (Variant key_value, bool is_default) + { +- _update_gsettings_key_current_value (key_value, is_default, ref key_value_label, ref key_value_default); ++ _update_gsettings_key_current_value (key_value, is_default, key_value_label, key_value_default); + } + private static void _update_gsettings_key_current_value (Variant key_value, + bool is_default, +- ref Label key_value_label, +- ref Label key_value_default) ++ Label key_value_label, ++ Label key_value_default) + { + key_value_label.label = Key.cool_text_value_from_variant (key_value); +- update_value_default_label (is_default, ref key_value_default); ++ update_value_default_label (is_default, key_value_default); + } + + internal void update_dconf_key_current_value (Variant? key_value_or_null) + { +- _update_dconf_key_current_value (key_value_or_null, ref key_value_label, ref key_value_default); ++ _update_dconf_key_current_value (key_value_or_null, key_value_label, key_value_default); + } + private static void _update_dconf_key_current_value (Variant? key_value_or_null, +- ref Label key_value_label, +- ref Label key_value_default) ++ Label key_value_label, ++ Label key_value_default) + { + if (key_value_or_null == null) +- update_labels_dconf_key_erased (ref key_value_label, ref key_value_default); ++ update_labels_dconf_key_erased (key_value_label, key_value_default); + else + update_labels_dconf_key_values (Key.cool_text_value_from_variant ((!) key_value_or_null), +- ref key_value_label, ref key_value_default); ++ key_value_label, key_value_default); + } + + /*\ + * * common utilities + \*/ + +- private static void update_labels_dconf_key_erased (ref Label value_label, ref Label value_default) ++ private static void update_labels_dconf_key_erased (Label value_label, Label value_default) + { + value_label.visible = false; + /* Translators: displayed in the list of pending changes (could be an in-window panel, or in the popover of the bottom bar); for dconf keys */ +@@ -137,14 +137,14 @@ private class DelayedSettingView : OverlayedListRow + value_default.visible = true; + } + +- private static void update_labels_dconf_key_values (string key_value, ref Label value_label, ref Label value_default) ++ private static void update_labels_dconf_key_values (string key_value, Label value_label, Label value_default) + { + value_default.visible = false; + value_label.label = key_value; // TODO move Key.cool_text_value_from_variant here? + value_label.visible = true; + } + +- private static void update_value_default_label (bool is_default, ref Label value_default) ++ private static void update_value_default_label (bool is_default, Label value_default) + { + if (is_default) + /* Translators: displayed in the list of pending changes (could be an in-window panel, or in the popover of the bottom bar); for gsettings keys */ +diff --git a/editor/overlayed-list.vala b/editor/overlayed-list.vala +index 8b0ec51..bcdfc3a 100644 +--- a/editor/overlayed-list.vala ++++ b/editor/overlayed-list.vala +@@ -89,11 +89,11 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + internal void set_window_size (AdaptativeWidget.WindowSize new_size) + { + if (!AdaptativeWidget.WindowSize.is_extra_thin (new_size) && AdaptativeWidget.WindowSize.is_extra_flat (new_size)) +- set_horizontal (ref main_context, ref edit_mode_box); ++ set_horizontal (ref main_context, edit_mode_box); + else +- set_vertical (ref main_context, ref edit_mode_box); ++ set_vertical (ref main_context, edit_mode_box); + } +- private static inline void set_horizontal (ref StyleContext main_context, ref Box edit_mode_box) ++ private static inline void set_horizontal (ref StyleContext main_context, Box edit_mode_box) + { + main_context.remove_class ("vertical"); + edit_mode_box.halign = Align.END; +@@ -102,7 +102,7 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + edit_mode_box.width_request = 160; + main_context.add_class ("horizontal"); + } +- private static inline void set_vertical (ref StyleContext main_context, ref Box edit_mode_box) ++ private static inline void set_vertical (ref StyleContext main_context, Box edit_mode_box) + { + main_context.remove_class ("horizontal"); + edit_mode_box.halign = Align.CENTER; +@@ -118,9 +118,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + internal bool next_match () + { +- return _next_match (ref main_list_box); ++ return _next_match (main_list_box); + } +- private static inline bool _next_match (ref ListBox main_list_box) ++ private static inline bool _next_match (ListBox main_list_box) + { + ListBoxRow? row = main_list_box.get_selected_row (); // TODO multiple rows and focus-only lists + if (row == null) +@@ -130,7 +130,7 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + if (row == null) + { +- _scroll_bottom (ref main_list_box); ++ _scroll_bottom (main_list_box); + return false; + } + main_list_box.select_row ((!) row); +@@ -140,9 +140,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + internal bool previous_match () + { +- return _previous_match (ref main_list_box); ++ return _previous_match (main_list_box); + } +- private static inline bool _previous_match (ref ListBox main_list_box) ++ private static inline bool _previous_match (ListBox main_list_box) + { + uint n_items = main_list_box.get_children ().length (); // FIXME OverlayedList.n_items is unreliable + if (n_items == 0) +@@ -189,9 +189,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + protected int [] get_selected_rows_indices () + { +- return _get_selected_rows_indices (ref main_list_box); ++ return _get_selected_rows_indices (main_list_box); + } +- private static inline int [] _get_selected_rows_indices (ref ListBox main_list_box) ++ private static inline int [] _get_selected_rows_indices (ListBox main_list_box) + { + int [] indices = new int [0]; + main_list_box.selected_foreach ((_list_box, selected_row) => { +@@ -205,9 +205,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + protected void scroll_top () + { +- _scroll_top (ref main_list_box); ++ _scroll_top (main_list_box); + } +- private static inline void _scroll_top (ref ListBox main_list_box) ++ private static inline void _scroll_top (ListBox main_list_box) + { + Adjustment adjustment = main_list_box.get_adjustment (); + adjustment.set_value (adjustment.get_lower ()); +@@ -215,9 +215,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + protected void scroll_bottom () + { +- _scroll_bottom (ref main_list_box); ++ _scroll_bottom (main_list_box); + } +- private static inline void _scroll_bottom (ref ListBox main_list_box) ++ private static inline void _scroll_bottom (ListBox main_list_box) + { + Adjustment adjustment = main_list_box.get_adjustment (); + adjustment.set_value (adjustment.get_upper ()); +@@ -225,9 +225,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + internal bool handle_copy_text (out string copy_text) + { +- return _handle_copy_text (out copy_text, ref main_list_box); ++ return _handle_copy_text (out copy_text, main_list_box); + } +- private static inline bool _handle_copy_text (out string copy_text, ref ListBox main_list_box) ++ private static inline bool _handle_copy_text (out string copy_text, ListBox main_list_box) + { + List<weak ListBoxRow> selected_rows = main_list_box.get_selected_rows (); + OverlayedListRow row; +@@ -283,9 +283,9 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget + + internal SelectionState get_selection_state () + { +- return _get_selection_state (ref main_list_box, ref main_list_store); ++ return _get_selection_state (main_list_box, ref main_list_store); + } +- private static inline SelectionState _get_selection_state (ref ListBox main_list_box, ref GLib.ListStore main_list_store) ++ private static inline SelectionState _get_selection_state (ListBox main_list_box, ref GLib.ListStore main_list_store) + { + List<weak ListBoxRow> selected_rows = main_list_box.get_selected_rows (); + uint n_selected_rows = selected_rows.length (); +diff --git a/editor/pathentry.vala b/editor/pathentry.vala +index 5000b21..5c7efc5 100644 +--- a/editor/pathentry.vala ++++ b/editor/pathentry.vala +@@ -133,9 +133,9 @@ private class PathEntry : Box, AdaptativeWidget + + internal void entry_grab_focus_without_selecting () + { +- _entry_grab_focus_without_selecting (ref search_entry); ++ _entry_grab_focus_without_selecting (search_entry); + } +- private static void _entry_grab_focus_without_selecting (ref BrowserEntry search_entry) ++ private static void _entry_grab_focus_without_selecting (BrowserEntry search_entry) + { + if (search_entry.text_length != 0) + { +@@ -172,36 +172,36 @@ private class PathEntry : Box, AdaptativeWidget + requires (search_changed_handler != 0) + { + SignalHandler.block (search_entry, search_changed_handler); +- _prepare (mode, nullable_search, ref current_path, ref search_entry); ++ _prepare (mode, nullable_search, ref current_path, search_entry); + SignalHandler.unblock (search_entry, search_changed_handler); + } + + private static inline void _prepare (SearchMode mode, + string? nullable_search, + ref string current_path, +- ref BrowserEntry search_entry) ++ BrowserEntry search_entry) + { + string search; + switch (mode) + { + case SearchMode.EDIT_PATH_MOVE_END: + search = nullable_search == null ? current_path : (!) nullable_search; +- _prepare_move_end (ref search, ref search_entry); ++ _prepare_move_end (ref search, search_entry); + return; + + case SearchMode.EDIT_PATH_SELECT_ALL: + search = nullable_search == null ? current_path : (!) nullable_search; +- _prepare_search (ref search, ref search_entry); ++ _prepare_search (ref search, search_entry); + return; + + case SearchMode.EDIT_PATH_SELECT_LAST_WORD: + search = current_path; +- _prepare_select_last_word (ref search, ref search_entry); ++ _prepare_select_last_word (ref search, search_entry); + return; + + case SearchMode.SEARCH: + search = ""; +- _prepare_search (ref search, ref search_entry); ++ _prepare_search (ref search, search_entry); + return; + + case SearchMode.UNCLEAR: +@@ -210,19 +210,19 @@ private class PathEntry : Box, AdaptativeWidget + } + } + +- private static inline void _prepare_move_end (ref string text, ref BrowserEntry search_entry) ++ private static inline void _prepare_move_end (ref string text, BrowserEntry search_entry) + { + search_entry.text = text; +- _entry_grab_focus_without_selecting (ref search_entry); ++ _entry_grab_focus_without_selecting (search_entry); + } + +- private static inline void _prepare_search (ref string text, ref BrowserEntry search_entry) ++ private static inline void _prepare_search (ref string text, BrowserEntry search_entry) + { + search_entry.text = text; + search_entry.grab_focus (); + } + +- private static inline void _prepare_select_last_word (ref string current_path, ref BrowserEntry search_entry) ++ private static inline void _prepare_select_last_word (ref string current_path, BrowserEntry search_entry) + { + search_entry.move_cursor (MovementStep.DISPLAY_LINE_ENDS, -1, false); + search_entry.text = current_path; +diff --git a/editor/registry-list.vala b/editor/registry-list.vala +index 74b7f99..54aa6fa 100644 +--- a/editor/registry-list.vala ++++ b/editor/registry-list.vala +@@ -291,9 +291,9 @@ private abstract class RegistryList : Grid, BrowsableView, AdaptativeWidget + + internal bool handle_copy_text (out string copy_text) // can compile with "private", but is public 1/2 + { +- return _handle_copy_text (out copy_text, ref key_list_box); ++ return _handle_copy_text (out copy_text, key_list_box); + } +- private bool _handle_copy_text (out string copy_text, ref ListBox key_list_box) ++ private bool _handle_copy_text (out string copy_text, ListBox key_list_box) + { + ListBoxRow? selected_row = (ListBoxRow?) key_list_box.get_selected_row (); + if (selected_row == null) +@@ -1138,7 +1138,7 @@ private abstract class RegistryList : Grid, BrowsableView, AdaptativeWidget + * * headers + \*/ + +- protected static bool is_first_row (int row_index, ref unowned ListBoxRow? before) ++ protected static bool is_first_row (int row_index, ListBoxRow? before) + { + bool is_first_row = row_index == 0; + if (is_first_row != (before == null)) +diff --git a/editor/registry-search.vala b/editor/registry-search.vala +index 220583f..eb8e6f2 100644 +--- a/editor/registry-search.vala ++++ b/editor/registry-search.vala +@@ -48,7 +48,7 @@ private class RegistrySearch : RegistryList + + internal bool handle_alt_copy_text (out string copy_text) + { +- return _handle_alt_copy_text (out copy_text, ref key_list_box); ++ return _handle_alt_copy_text (out copy_text, key_list_box); + } + + internal void clean () +@@ -145,7 +145,7 @@ private class RegistrySearch : RegistryList + * * Keyboard calls + \*/ + +- private static bool _handle_alt_copy_text (out string copy_text, ref ListBox key_list_box) ++ private static bool _handle_alt_copy_text (out string copy_text, ListBox key_list_box) + { + ListBoxRow? selected_row = key_list_box.get_selected_row (); + if (selected_row == null) +@@ -521,7 +521,7 @@ private class RegistrySearch : RegistryList + private void update_row_header (ListBoxRow row, ListBoxRow? before) + { + int row_index = row.get_index (); +- if (is_first_row (row_index, ref before)) ++ if (is_first_row (row_index, before)) + return; + + if (search_is_path_search) +diff --git a/editor/registry-view.vala b/editor/registry-view.vala +index e0ff379..7d9eb1f 100644 +--- a/editor/registry-view.vala ++++ b/editor/registry-view.vala +@@ -114,7 +114,7 @@ private class RegistryView : RegistryList + + private void update_row_header (ListBoxRow row, ListBoxRow? before) + { +- if (is_first_row (row.get_index (), ref before)) ++ if (is_first_row (row.get_index (), before)) + return; + update_row_header_with_context (row, (!) before, modifications_handler.model, /* local search header */ false); + } +-- +2.30.1 + diff --git a/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor_3.38.2.bb b/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor_3.38.2.bb index 02e604f0c..776558ebf 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor_3.38.2.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf-editor_3.38.2.bb @@ -8,6 +8,8 @@ DEPENDS = "dconf gtk+3" inherit gnomebase vala gettext gsettings bash-completion +SRC_URI += "file://0001-Don-t-alter-or-try-to-write-GtkChild-fields.patch" + SRC_URI[archive.sha256sum] = "1253dad87e6213fbf313ff9ec9dc4358aa1b10261f28072c1dc0e0997b92f835" FILES_${PN} += " \ diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs/0001-maint-Avoid-g_once_init_enter-error-in-GCC-11.patch b/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs/0001-maint-Avoid-g_once_init_enter-error-in-GCC-11.patch new file mode 100644 index 000000000..6343a24a2 --- /dev/null +++ b/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs/0001-maint-Avoid-g_once_init_enter-error-in-GCC-11.patch @@ -0,0 +1,77 @@ +From dae0055be61937fe70252f3f4ee09b355aba2b8f Mon Sep 17 00:00:00 2001 +From: Philip Chimento <philip.chimento@gmail.com> +Date: Sun, 14 Feb 2021 12:20:09 -0800 +Subject: [PATCH] maint: Avoid g_once_init_enter error in GCC 11 + +On platforms where g_once_init_enter() is defined to use C11 atomic +builtins, passing a pointer to a volatile value is an error in GCC 11 and +later, in C++. + +More info about the GCC change: +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95378 +https://gcc.gnu.org/pipermail/gcc-patches/2020-June/548283.html + +However, it's my understanding that in modern C++ there is no longer a +need to guard the initialization of these variables. Since C++11, static +local variables in a function are guaranteed to be initialized only once, +the first time control passes through that function. So we can just remove +the g_once_init_enter guard. + +More info: +https://en.cppreference.com/w/cpp/language/storage_duration#Static_local_variables + +Stack Overflow answers with quotations from the C++ standard: +https://stackoverflow.com/a/58804/172999 +https://stackoverflow.com/a/8102145/172999 + +Closes: #376 +--- + gjs/error-types.cpp | 32 +++++++++++++------------------- + 1 file changed, 13 insertions(+), 19 deletions(-) + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gjs/-/commit/f02eaf3a9d3465915eb849428c2d9615e2184a4c] +diff --git a/gjs/error-types.cpp b/gjs/error-types.cpp +index 86cb878..5eba61b 100644 +--- a/gjs/error-types.cpp ++++ b/gjs/error-types.cpp +@@ -31,24 +31,18 @@ G_DEFINE_QUARK(gjs-js-error-quark, gjs_js_error) + // clang-format on + + GType gjs_js_error_get_type(void) { +- static volatile GType g_type_id; +- +- if (g_once_init_enter(&g_type_id)) { +- static GEnumValue errors[] = { +- { GJS_JS_ERROR_ERROR, "Error", "error" }, +- { GJS_JS_ERROR_EVAL_ERROR, "EvalError", "eval-error" }, +- { GJS_JS_ERROR_INTERNAL_ERROR, "InternalError", "internal-error" }, +- { GJS_JS_ERROR_RANGE_ERROR, "RangeError", "range-error" }, +- { GJS_JS_ERROR_REFERENCE_ERROR, "ReferenceError", "reference-error" }, +- { GJS_JS_ERROR_STOP_ITERATION, "StopIteration", "stop-iteration" }, +- { GJS_JS_ERROR_SYNTAX_ERROR, "SyntaxError", "syntax-error" }, +- { GJS_JS_ERROR_TYPE_ERROR, "TypeError", "type-error" }, +- { GJS_JS_ERROR_URI_ERROR, "URIError", "uri-error" }, +- { 0, nullptr, nullptr } +- }; +- +- g_type_id = g_enum_register_static("GjsJSError", errors); +- } +- ++ static const GEnumValue errors[] = { ++ {GJS_JS_ERROR_ERROR, "Error", "error"}, ++ {GJS_JS_ERROR_EVAL_ERROR, "EvalError", "eval-error"}, ++ {GJS_JS_ERROR_INTERNAL_ERROR, "InternalError", "internal-error"}, ++ {GJS_JS_ERROR_RANGE_ERROR, "RangeError", "range-error"}, ++ {GJS_JS_ERROR_REFERENCE_ERROR, "ReferenceError", "reference-error"}, ++ {GJS_JS_ERROR_STOP_ITERATION, "StopIteration", "stop-iteration"}, ++ {GJS_JS_ERROR_SYNTAX_ERROR, "SyntaxError", "syntax-error"}, ++ {GJS_JS_ERROR_TYPE_ERROR, "TypeError", "type-error"}, ++ {GJS_JS_ERROR_URI_ERROR, "URIError", "uri-error"}, ++ {0, nullptr, nullptr}}; ++ // Initialization of static local variable guaranteed only once in C++11 ++ static GType g_type_id = g_enum_register_static("GjsJSError", errors); + return g_type_id; + } +-- +2.31.1 + diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb b/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb index dbb04ef8e..678ba9c4c 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/gjs/gjs_1.58.8.bb @@ -12,7 +12,9 @@ DEPENDS = "mozjs gtk+3" inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even SRC_URI[archive.sha256sum] = "7fb3eb746c17363d9ee47f4a5d0bb048f0075611763eb0da11d85e0e57aff381" -SRC_URI += "file://0001-Disable-tests-on-host.patch" +SRC_URI += "file://0001-Disable-tests-on-host.patch \ + file://0001-maint-Avoid-g_once_init_enter-error-in-GCC-11.patch \ +" # gobject-introspection is mandatory and cannot be configured REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gnome-autoar/gnome-autoar_0.2.4.bb b/meta-openembedded/meta-gnome/recipes-gnome/gnome-autoar/gnome-autoar_0.3.1.bb index afeda3e93..5e833a91a 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/gnome-autoar/gnome-autoar_0.2.4.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/gnome-autoar/gnome-autoar_0.3.1.bb @@ -9,8 +9,8 @@ DEPENDS = " \ inherit gnomebase gobject-introspection gtk-doc vala -SRC_URI[archive.md5sum] = "36ab263f477eeee3c95c9381766eb3c2" -SRC_URI[archive.sha256sum] = "0a34c377f8841abbf4c29bc848b301fbd8e4e20c03d7318c777c58432033657a" +SRC_URI[archive.md5sum] = "3149496d0189623a8e1289bbab4d8385" +SRC_URI[archive.sha256sum] = "0e78713e6f0de339fdee16bab82753ae290fe80fa7b4ba6e3db8c1465b81d0f8" do_compile_prepend() { export GIR_EXTRA_LIBS_PATH="${B}/gnome-autoar/.libs" diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.36.0.bb b/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.36.0.bb index 8f318bb15..3fc16bb0a 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.36.0.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_3.36.0.bb @@ -43,10 +43,8 @@ FILES_${PN} += " \ ${base_libdir}/security/*${SOLIBSDEV} \ ${libdir}/pkcs11/gnome-keyring-pkcs11.so \ " - # fix | gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used -# This does not make it through pseudo so perform on-target - sigh -pkg_postinst_ontarget_${PN} () { - setcap cap_ipc_lock+ep `which gnome-keyring-daemon` +pkg_postinst_${PN} () { + setcap cap_ipc_lock+ep $D/${bindir}/gnome-keyring-daemon } -RDEPENDS_${PN} += "libcap-bin" +PACKAGE_WRITE_DEPS += "libcap-native" diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_3.36.1.bb b/meta-openembedded/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_3.36.1.bb index e14891a23..a532ae749 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_3.36.1.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_3.36.1.bb @@ -29,15 +29,6 @@ SRC_URI[archive.sha256sum] = "3e33dbd319b562a5ab602dcab6de3ca81b85f8346672e90ec6 UNKNOWN_CONFIGURE_WHITELIST = "introspection" -# allow cross build mixed with build of native tools -do_write_config_append() { - cat >${WORKDIR}/meson.native <<EOF -[binaries] -pkgconfig = 'pkg-config-native' -EOF -} -EXTRA_OEMESON = "--native-file ${WORKDIR}/meson.native" - PACKAGECONFIG ??= " \ cups nm \ alsa gudev \ diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch b/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch new file mode 100644 index 000000000..ffccfd56f --- /dev/null +++ b/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound/0001-Set-vapidir.patch @@ -0,0 +1,28 @@ +From 0a790273aca3ba07dfa6d2f61e3aaa7157c1a3bb Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sat, 20 Mar 2021 09:22:18 -0700 +Subject: [PATCH] Set vapidir + +Use parentheses instead of braces, it makes automake and perl happy +newer perl does not like ${} for VALAFLAGS + +Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^${ <-- HERE abs_top_builddir}/gsound$/ at TOPDIR/build/tmp/work/mips32r2-yoe-linux/gsound/1.0.2-r0/recipe-sysroot-native/usr/bin/automake line 5759. +autoreconf: error: automake failed with exit status: 255 + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + tools/Makefile.am | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/tools/Makefile.am ++++ b/tools/Makefile.am +@@ -8,7 +8,7 @@ bin_PROGRAMS = gsound-play + gsound_play_SOURCES = gsound-play.vala + + gsound_play_VALAFLAGS = \ +- --vapidir ${abs_top_builddir}/gsound \ ++ --vapidir $(abs_top_builddir)/gsound \ + --pkg gsound \ + ${NULL} + diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb b/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb index e4478e14a..65ee1e1c1 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/gsound/gsound_1.0.2.bb @@ -9,5 +9,7 @@ DEPENDS = " \ inherit gnomebase gettext gobject-introspection vala +SRC_URI += "file://0001-Set-vapidir.patch" + SRC_URI[archive.md5sum] = "c26fd21c21b9ef6533a202a73fab21db" SRC_URI[archive.sha256sum] = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53" diff --git a/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.5.bb b/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.5.bb index 097bcdb6f..07fa10a0e 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.5.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.5.bb @@ -23,7 +23,7 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" PACKAGECONFIG ??= " \ - ffmpeg \ + ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "ffmpeg", "", d)} \ flac \ gexiv2 \ gstreamer \ |