diff options
| author | Markus Volk <f_l_k@t-online.de> | 2024-02-20 08:19:30 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-19 23:22:19 -0800 |
| commit | 67b383eee49b8b3ec43effa5491baef9cd349e7b (patch) | |
| tree | 1a8ae7132534b90bb98fbb666bb2e58ed2556fc3 | |
| parent | e685a6049cecb0256a1b0b7c3fe8d1c80db9123b (diff) | |
| download | meta-openembedded-67b383eee49b8b3ec43effa5491baef9cd349e7b.tar.gz | |
gedit: update 46.1 -> 46.2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gnome/gedit/gedit/0001-fix-for-clang-18.patch | 32 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/gedit/gedit_46.2.bb (renamed from meta-gnome/recipes-gnome/gedit/gedit_46.1.bb) | 3 |
2 files changed, 34 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/gedit/gedit/0001-fix-for-clang-18.patch b/meta-gnome/recipes-gnome/gedit/gedit/0001-fix-for-clang-18.patch new file mode 100644 index 0000000000..40fd93b984 --- /dev/null +++ b/meta-gnome/recipes-gnome/gedit/gedit/0001-fix-for-clang-18.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
| 2 | Upstream-Status: Inappropriate [https://gitlab.gnome.org/GNOME/gedit/-/issues/588] | ||
| 3 | |||
| 4 | Temporary workaround to fix build: | ||
| 5 | ../plugins/quickhighlight/gedit-quick-highlight-plugin.c: In function ‘gedit_quick_highlight_plugin_load_style’: | ||
| 6 | ../plugins/quickhighlight/gedit-quick-highlight-plugin.c:96:47: error: implicit declaration of function ‘gtk_source_style_copy’; did you mean ‘gtk_source_style_apply’? [-Wimplicit-function-declaration] | ||
| 7 | |||
| 8 | 96 | plugin->priv->style = gtk_source_style_copy (style); | ||
| 9 | | ^~~~~~~~~~~~~~~~~~~~~ | ||
| 10 | | gtk_source_style_apply | ||
| 11 | ../plugins/quickhighlight/gedit-quick-highlight-plugin.c:96:47: warning: nested extern declaration of ‘gtk_source_style_copy’ [-Wnested-externs] | ||
| 12 | ../plugins/quickhighlight/gedit-quick-highlight-plugin.c:96:45: error: assignment to ‘GtkSourceStyle *’ {aka ‘struct _GtkSourceStyle *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | ||
| 13 | 96 | plugin->priv->style = gtk_source_style_copy (style); | ||
| 14 | | ^ | ||
| 15 | |||
| 16 | --- a/plugins/quickhighlight/gedit-quick-highlight-plugin.c 2024-02-20 08:11:47.925749255 +0100 | ||
| 17 | +++ b/plugins/quickhighlight/gedit-quick-highlight-plugin.c 2024-02-20 08:12:16.218594067 +0100 | ||
| 18 | @@ -90,11 +90,12 @@ | ||
| 19 | if (style_scheme != NULL) | ||
| 20 | { | ||
| 21 | style = gtk_source_style_scheme_get_style (style_scheme, "quick-highlight-match"); | ||
| 22 | - | ||
| 23 | +#if 0 | ||
| 24 | if (style != NULL) | ||
| 25 | { | ||
| 26 | plugin->priv->style = gtk_source_style_copy (style); | ||
| 27 | } | ||
| 28 | +#endif | ||
| 29 | } | ||
| 30 | } | ||
| 31 | |||
| 32 | |||
diff --git a/meta-gnome/recipes-gnome/gedit/gedit_46.1.bb b/meta-gnome/recipes-gnome/gedit/gedit_46.2.bb index c0221b9a72..6cdc33c1cc 100644 --- a/meta-gnome/recipes-gnome/gedit/gedit_46.1.bb +++ b/meta-gnome/recipes-gnome/gedit/gedit_46.2.bb | |||
| @@ -23,7 +23,8 @@ inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc get | |||
| 23 | def gnome_verdir(v): | 23 | def gnome_verdir(v): |
| 24 | return oe.utils.trim_version(v, 1) | 24 | return oe.utils.trim_version(v, 1) |
| 25 | 25 | ||
| 26 | SRC_URI[archive.sha256sum] = "a1a6e37f041765dff7227a1f5578b6f49faaf016b1e17e869caf5bfb94c6aa4e" | 26 | SRC_URI += "file://0001-fix-for-clang-18.patch" |
| 27 | SRC_URI[archive.sha256sum] = "c0866412bad147ebace2d282ffcbb5a0e9a304b20fd55640bee21c81e6d501ef" | ||
| 27 | 28 | ||
| 28 | # gobject-introspection is mandatory and cannot be configured | 29 | # gobject-introspection is mandatory and cannot be configured |
| 29 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | 30 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
