diff options
-rw-r--r-- | meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch | 43 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/libwnck/files/ef0e40d59c32d7ebeb94d242436e3144cefc174a.patch | 40 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb (renamed from meta-gnome/recipes-gnome/libwnck/libwnck3_43.0.bb) | 4 |
3 files changed, 86 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch b/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch new file mode 100644 index 0000000000..91e23c785b --- /dev/null +++ b/meta-gnome/recipes-gnome/libwnck/files/0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From 1df0f4ae8fd54bc1ae940dfafa701c84d068674d Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Sun, 25 May 2025 12:24:16 +0000 | ||
4 | Subject: [PATCH] Fix build issue caused by OE-core changes to | ||
5 | startup-notification: | ||
6 | |||
7 | ../libwnck-43.2/libwnck/tasklist.c: In function 'sequence_timeout_callback': | ||
8 | ../libwnck-43.2/libwnck/tasklist.c:5034:49: error: passing argument 2 of 'sn_startup_sequence_get_last_active_time' from incompatible pointer type [-Wincompatible-pointer-types] | ||
9 | 5034 | &tv_sec, &tv_usec); | ||
10 | | ^~~~~~~ | ||
11 | | | | ||
12 | | long int * | ||
13 | In file included from /build/angstrom/build/tmp/work/armv7at2hf-neon-angstrom-linux-gnueabi/libwnck3/43.2/recipe-sysroot/usr/include/startup-notification-1.0/libsn/sn.h:32, | ||
14 | from ../libwnck-43.2/libwnck/tasklist.c:40: | ||
15 | /build/angstrom/build/tmp/work/armv7at2hf-neon-angstrom-linux-gnueabi/libwnck3/43.2/recipe-sysroot/usr/include/startup-notification-1.0/libsn/sn-monitor.h:84:79: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *' | ||
16 | 84 | time_t *tv_sec, | ||
17 | | ~~~~~~~~~~~~~~~~~~~^~~~~~ | ||
18 | |||
19 | It is caused by a patch of startup-notification in oe-core which is backported from upstream mailllist and changes the signature of function sn_startup_sequence_get_last_active_time(). | ||
20 | |||
21 | Upstream-Status: Inappropriate [oe-specific] | ||
22 | |||
23 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
24 | --- | ||
25 | libwnck/tasklist.c | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c | ||
29 | index 7418f89..460e11d 100644 | ||
30 | --- a/libwnck/tasklist.c | ||
31 | +++ b/libwnck/tasklist.c | ||
32 | @@ -5031,7 +5031,7 @@ sequence_timeout_callback (void *user_data) | ||
33 | WnckTask *task = WNCK_TASK (tmp->data); | ||
34 | |||
35 | sn_startup_sequence_get_last_active_time (task->startup_sequence, | ||
36 | - &tv_sec, &tv_usec); | ||
37 | + (time_t *) &tv_sec, &tv_usec); | ||
38 | |||
39 | elapsed = (now - (tv_sec * G_USEC_PER_SEC + tv_usec)) / 1000.0; | ||
40 | |||
41 | -- | ||
42 | 2.33.0 | ||
43 | |||
diff --git a/meta-gnome/recipes-gnome/libwnck/files/ef0e40d59c32d7ebeb94d242436e3144cefc174a.patch b/meta-gnome/recipes-gnome/libwnck/files/ef0e40d59c32d7ebeb94d242436e3144cefc174a.patch new file mode 100644 index 0000000000..2d526e7aba --- /dev/null +++ b/meta-gnome/recipes-gnome/libwnck/files/ef0e40d59c32d7ebeb94d242436e3144cefc174a.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From ef0e40d59c32d7ebeb94d242436e3144cefc174a Mon Sep 17 00:00:00 2001 | ||
2 | From: correctmost <136447-correctmost@users.noreply.gitlab.gnome.org> | ||
3 | Date: Thu, 20 Mar 2025 03:03:44 -0400 | ||
4 | Subject: [PATCH] build: fix -Wheader-guard warnings reported by clang | ||
5 | |||
6 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libwnck/-/commit/ef0e40d59c32d7ebeb94d242436e3144cefc174a] | ||
7 | --- | ||
8 | libwnck/pager-accessible-factory.h | 2 +- | ||
9 | libwnck/workspace-accessible-factory.h | 2 +- | ||
10 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/libwnck/pager-accessible-factory.h b/libwnck/pager-accessible-factory.h | ||
13 | index 8e2fe30c..25220fc2 100644 | ||
14 | --- a/libwnck/pager-accessible-factory.h | ||
15 | +++ b/libwnck/pager-accessible-factory.h | ||
16 | @@ -17,7 +17,7 @@ | ||
17 | */ | ||
18 | |||
19 | #ifndef __WNCK_PAGER_ACCESSIBLE_FACTORY_H__ | ||
20 | -#define __WBCK_PAGER_ACCESSIBLE_FACTORY_H__ | ||
21 | +#define __WNCK_PAGER_ACCESSIBLE_FACTORY_H__ | ||
22 | |||
23 | #include <atk/atk.h> | ||
24 | |||
25 | diff --git a/libwnck/workspace-accessible-factory.h b/libwnck/workspace-accessible-factory.h | ||
26 | index d2d4a84a..335b465b 100644 | ||
27 | --- a/libwnck/workspace-accessible-factory.h | ||
28 | +++ b/libwnck/workspace-accessible-factory.h | ||
29 | @@ -17,7 +17,7 @@ | ||
30 | */ | ||
31 | |||
32 | #ifndef __WNCK_WORKSPACE_ACCESSIBLE_FACTORY_H__ | ||
33 | -#define __WBCK_WORKSPACE_ACCESSIBLE_FACTORY_H__ | ||
34 | +#define __WNCK_WORKSPACE_ACCESSIBLE_FACTORY_H__ | ||
35 | |||
36 | #include <atk/atk.h> | ||
37 | |||
38 | -- | ||
39 | GitLab | ||
40 | |||
diff --git a/meta-gnome/recipes-gnome/libwnck/libwnck3_43.0.bb b/meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb index c7f7989115..4342325f11 100644 --- a/meta-gnome/recipes-gnome/libwnck/libwnck3_43.0.bb +++ b/meta-gnome/recipes-gnome/libwnck/libwnck3_43.2.bb | |||
@@ -19,7 +19,9 @@ inherit gnomebase gobject-introspection gtk-doc gettext features_check | |||
19 | def gnome_verdir(v): | 19 | def gnome_verdir(v): |
20 | return oe.utils.trim_version(v, 1) | 20 | return oe.utils.trim_version(v, 1) |
21 | 21 | ||
22 | SRC_URI[archive.sha256sum] = "905bcdb85847d6b8f8861e56b30cd6dc61eae67ecef4cd994a9f925a26a2c1fe" | 22 | SRC_URI += "file://ef0e40d59c32d7ebeb94d242436e3144cefc174a.patch;patch=1 \ |
23 | file://0001-Fix-build-issue-caused-by-OE-core-changes-to-startup.patch;patch=1" | ||
24 | SRC_URI[archive.sha256sum] = "55a7444ec1fbb95c086d40967388f231b5c0bbc8cffaa086bf9290ae449e51d5" | ||
23 | 25 | ||
24 | # gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. | 26 | # gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. |
25 | # cairo would at least needed to be built with xlib. | 27 | # cairo would at least needed to be built with xlib. |