diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-12-06 01:09:09 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-12-08 23:00:57 -0800 |
commit | 0467ec9587dcb8bf119dad3696e48160218b0082 (patch) | |
tree | b7ac402b2f39073532828ccc0ee14baf6952f3ad | |
parent | 279af3fbe11ad09050e07e1f8134c1b8153f9daf (diff) | |
download | meta-openembedded-0467ec9587dcb8bf119dad3696e48160218b0082.tar.gz |
metacity: upgrade 3.32.0 -> 3.34.1
This is more or less a recipe-rewrite:
* get sources from GNOME
* cleanup DEPENDS
* give up tailored configure
* make xinerama a PACKAGECONFIG
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-gnome/recipes-gnome/metacity/metacity_3.32.0.bb | 41 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/metacity/metacity_3.34.1.bb | 38 |
2 files changed, 38 insertions, 41 deletions
diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.32.0.bb b/meta-gnome/recipes-gnome/metacity/metacity_3.32.0.bb deleted file mode 100644 index 8f15c5774a..0000000000 --- a/meta-gnome/recipes-gnome/metacity/metacity_3.32.0.bb +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | SECTION = "x11/wm" | ||
2 | SUMMARY = "Metacity is the boring window manager for the adult in you" | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b4cce53560b8e619ffa7c830fb8761aa \ | ||
5 | file://src/include/main.h;endline=24;md5=72148ede07a6dadd01de6a882d20a9ad" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | DEPENDS = "gsettings-desktop-schemas startup-notification \ | ||
10 | gnome-doc-utils gdk-pixbuf-native \ | ||
11 | gtk+3 glib-2.0 libcanberra libgtop intltool-native" | ||
12 | |||
13 | inherit autotools gettext gnomebase features_check | ||
14 | # depends on startup-notification which depends on virtual/libx11 | ||
15 | REQUIRED_DISTRO_FEATURES = "x11" | ||
16 | |||
17 | SRC_URI = "git://github.com/GNOME/metacity.git;branch=master \ | ||
18 | file://0001-drop-zenity-detection.patch \ | ||
19 | " | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | SRCREV = "bf1bfbadf47eff97703df17e95b15168e2034222" | ||
23 | |||
24 | EXTRA_OECONF += "--disable-xinerama" | ||
25 | |||
26 | PACKAGECONFIG ?= "" | ||
27 | |||
28 | # enable as neccessary until new warnings are dealt with | ||
29 | PACKAGECONFIG[werror] = "--enable-Werror,--disable-Werror,," | ||
30 | |||
31 | do_configure_prepend() { | ||
32 | cd ${S} | ||
33 | aclocal --install || exit 1 | ||
34 | autoreconf --verbose --force --install -Wno-portability || exit 1 | ||
35 | cd - | ||
36 | |||
37 | } | ||
38 | |||
39 | FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" | ||
40 | RDEPENDS_${PN} += "gsettings-desktop-schemas" | ||
41 | |||
diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.34.1.bb b/meta-gnome/recipes-gnome/metacity/metacity_3.34.1.bb new file mode 100644 index 0000000000..d8c8b53896 --- /dev/null +++ b/meta-gnome/recipes-gnome/metacity/metacity_3.34.1.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SECTION = "x11/wm" | ||
2 | SUMMARY = "Metacity is the boring window manager for the adult in you" | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b4cce53560b8e619ffa7c830fb8761aa \ | ||
5 | file://src/include/main.h;endline=24;md5=72148ede07a6dadd01de6a882d20a9ad" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | DEPENDS = " \ | ||
10 | gdk-pixbuf-native \ | ||
11 | gtk+3 \ | ||
12 | gsettings-desktop-schemas \ | ||
13 | startup-notification \ | ||
14 | libcanberra \ | ||
15 | libgtop \ | ||
16 | " | ||
17 | |||
18 | |||
19 | # depends on startup-notification which depends on virtual/libx11 | ||
20 | REQUIRED_DISTRO_FEATURES = "x11" | ||
21 | |||
22 | inherit gnomebase gsettings gettext upstream-version-is-even features_check | ||
23 | |||
24 | SRC_URI[archive.md5sum] = "c0c10204e4d6d024cb413042c1de316b" | ||
25 | SRC_URI[archive.sha256sum] = "31c7d1045c390afb3bf405735b0b26c459197cbf43af37c469eb8918ce3a453d" | ||
26 | SRC_URI += "file://0001-drop-zenity-detection.patch" | ||
27 | |||
28 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama" | ||
29 | # enable as neccessary until new warnings are dealt with | ||
30 | PACKAGECONFIG[werror] = "--enable-Werror,--disable-Werror,," | ||
31 | |||
32 | FILES_${PN} += " \ | ||
33 | ${datadir}/themes \ | ||
34 | ${datadir}/gnome-control-center \ | ||
35 | ${datadir}/gnome\ | ||
36 | " | ||
37 | |||
38 | RDEPENDS_${PN} += "gsettings-desktop-schemas" | ||