diff options
-rw-r--r-- | meta-gnome/recipes-gnome/metacity/metacity/0001-drop-zenity-detection.patch | 12 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/metacity/metacity/0001-fix-build-with-disable-dependency-tracking.patch | 65 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/metacity/metacity_3.42.0.bb (renamed from meta-gnome/recipes-gnome/metacity/metacity_3.40.0.bb) | 7 |
3 files changed, 8 insertions, 76 deletions
diff --git a/meta-gnome/recipes-gnome/metacity/metacity/0001-drop-zenity-detection.patch b/meta-gnome/recipes-gnome/metacity/metacity/0001-drop-zenity-detection.patch index 3493e511be..315d4e4366 100644 --- a/meta-gnome/recipes-gnome/metacity/metacity/0001-drop-zenity-detection.patch +++ b/meta-gnome/recipes-gnome/metacity/metacity/0001-drop-zenity-detection.patch | |||
@@ -13,10 +13,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
13 | 1 file changed, 5 deletions(-) | 13 | 1 file changed, 5 deletions(-) |
14 | 14 | ||
15 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
16 | index 5f9e7e9..80b32c7 100644 | 16 | index 528b7d2..8932ae6 100644 |
17 | --- a/configure.ac | 17 | --- a/configure.ac |
18 | +++ b/configure.ac | 18 | +++ b/configure.ac |
19 | @@ -359,11 +359,6 @@ fi | 19 | @@ -337,11 +337,6 @@ fi |
20 | 20 | ||
21 | AM_CONDITIONAL(HAVE_SM, test "$found_sm" = "yes") | 21 | AM_CONDITIONAL(HAVE_SM, test "$found_sm" = "yes") |
22 | 22 | ||
@@ -25,9 +25,9 @@ index 5f9e7e9..80b32c7 100644 | |||
25 | - AC_MSG_ERROR([zenity not found in your path - needed for dialogs]) | 25 | - AC_MSG_ERROR([zenity not found in your path - needed for dialogs]) |
26 | -fi | 26 | -fi |
27 | - | 27 | - |
28 | dnl ************************************************************************** | 28 | AC_SEARCH_LIBS([dlsym], [dl], [], [ |
29 | dnl Check for Vulkan support | 29 | AC_MSG_ERROR([unable to find the dlsym() function]) |
30 | dnl ************************************************************************** | 30 | ]) |
31 | -- | 31 | -- |
32 | 1.8.3.1 | 32 | 2.31.1 |
33 | 33 | ||
diff --git a/meta-gnome/recipes-gnome/metacity/metacity/0001-fix-build-with-disable-dependency-tracking.patch b/meta-gnome/recipes-gnome/metacity/metacity/0001-fix-build-with-disable-dependency-tracking.patch deleted file mode 100644 index 864d0baa2a..0000000000 --- a/meta-gnome/recipes-gnome/metacity/metacity/0001-fix-build-with-disable-dependency-tracking.patch +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | From 632670273cc880917e78a152a3ae39e209b57864 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= | ||
3 | <zboszor@gmail.com> | ||
4 | Date: Sat, 28 Aug 2021 05:58:25 +0200 | ||
5 | Subject: [PATCH] fix build with --disable-dependency-tracking | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | With split build and source directories AND --disable-dependency-tracking | ||
11 | (like the way Yocto builds are done) there's a reproducible make | ||
12 | failure on my Fedora 33 build host: | ||
13 | |||
14 | | Making all in src | ||
15 | | make[2]: Entering directory '.../metacity/1_3.40.0-r0/build/src' | ||
16 | | .../metacity/1_3.40.0-r0/recipe-sysroot-native/usr/bin/glib-mkenums --template ../../metacity-3.40.0/src/core/meta-enum-types.c.in ../../metacity-3.40.0/src/core/window-private.h ../../metacity-3.40.0/src/include/meta-compositor.h > \ | ||
17 | | meta-enum-types.c.tmp && mv meta-enum-types.c.tmp core/meta-enum-types.c | ||
18 | | .../metacity/1_3.40.0-r0/recipe-sysroot-native/usr/bin/glib-mkenums --template ../../metacity-3.40.0/src/core/meta-enum-types.h.in ../../metacity-3.40.0/src/core/window-private.h ../../metacity-3.40.0/src/include/meta-compositor.h > \ | ||
19 | | meta-enum-types.h.tmp && mv meta-enum-types.h.tmp core/meta-enum-types.h | ||
20 | | mv: cannot move 'meta-enum-types.c.tmp' to 'core/meta-enum-types.c'mv: cannot move 'meta-enum-types.h.tmp' to 'core/meta-enum-types.h': No such file or directory | ||
21 | | : No such file or directory | ||
22 | | make[2]: *** [Makefile:2240: core/meta-enum-types.c] Error 1 | ||
23 | |||
24 | https://gitlab.gnome.org/GNOME/metacity/-/merge_requests/24 | ||
25 | |||
26 | Upstream-Status: Pending | ||
27 | |||
28 | Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> | ||
29 | --- | ||
30 | configure.ac | 1 + | ||
31 | src/Makefile.am | 2 ++ | ||
32 | 2 files changed, 3 insertions(+) | ||
33 | |||
34 | diff --git a/configure.ac b/configure.ac | ||
35 | index ebb00b85..04aafb94 100644 | ||
36 | --- a/configure.ac | ||
37 | +++ b/configure.ac | ||
38 | @@ -139,6 +139,7 @@ dnl ************************************************************************** | ||
39 | AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}") | ||
40 | |||
41 | AC_PROG_CC | ||
42 | +AC_PROG_MKDIR_P | ||
43 | AC_ISC_POSIX | ||
44 | AC_HEADER_STDC | ||
45 | |||
46 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
47 | index f86af600..4aa3fdae 100644 | ||
48 | --- a/src/Makefile.am | ||
49 | +++ b/src/Makefile.am | ||
50 | @@ -204,10 +204,12 @@ ENUM_TYPES = \ | ||
51 | $(NULL) | ||
52 | |||
53 | core/meta-enum-types.c: core/meta-enum-types.c.in $(ENUM_TYPES) Makefile.am | ||
54 | + $(MKDIR_P) core | ||
55 | $(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/core/meta-enum-types.c.in $(ENUM_TYPES) > \ | ||
56 | meta-enum-types.c.tmp && mv meta-enum-types.c.tmp core/meta-enum-types.c | ||
57 | |||
58 | core/meta-enum-types.h: core/meta-enum-types.h.in $(ENUM_TYPES) Makefile.am | ||
59 | + $(MKDIR_P) core | ||
60 | $(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/core/meta-enum-types.h.in $(ENUM_TYPES) > \ | ||
61 | meta-enum-types.h.tmp && mv meta-enum-types.h.tmp core/meta-enum-types.h | ||
62 | |||
63 | -- | ||
64 | 2.31.1 | ||
65 | |||
diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.40.0.bb b/meta-gnome/recipes-gnome/metacity/metacity_3.42.0.bb index e7570ec597..58479cf7b3 100644 --- a/meta-gnome/recipes-gnome/metacity/metacity_3.40.0.bb +++ b/meta-gnome/recipes-gnome/metacity/metacity_3.42.0.bb | |||
@@ -23,11 +23,8 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
23 | 23 | ||
24 | inherit gnomebase gsettings gettext upstream-version-is-even features_check | 24 | inherit gnomebase gsettings gettext upstream-version-is-even features_check |
25 | 25 | ||
26 | SRC_URI[archive.sha256sum] = "224c1f65487eac21f0c1d9856152343768ee726c48b1a8a2835a46a8ad9015b5" | 26 | SRC_URI[archive.sha256sum] = "d89d679dcfed9b5eef18f06e2dcb33a7ab543d53b358fa89ce65593c231eeebc" |
27 | SRC_URI += " \ | 27 | SRC_URI += "file://0001-drop-zenity-detection.patch" |
28 | file://0001-drop-zenity-detection.patch \ | ||
29 | file://0001-fix-build-with-disable-dependency-tracking.patch \ | ||
30 | " | ||
31 | 28 | ||
32 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama" | 29 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama" |
33 | # enable as neccessary until new warnings are dealt with | 30 | # enable as neccessary until new warnings are dealt with |