<commit_before>SECTION = "x11/wm"
SUMMARY = "Metacity is the boring window manager for the adult in you"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b4cce53560b8e619ffa7c830fb8761aa \
                    file://src/include/main.h;endline=24;md5=72148ede07a6dadd01de6a882d20a9ad"

PE = "1"

DEPENDS = "gsettings-desktop-schemas startup-notification \
           gnome-doc-utils gdk-pixbuf-native \
           gtk+3 glib-2.0 libcanberra libgtop intltool-native"

inherit autotools gettext gnomebase distro_features_check
# depends on startup-notification which depends on virtual/libx11
REQUIRED_DISTRO_FEATURES = "x11"

SRC_URI = "git://github.com/GNOME/metacity.git;branch=master \
           file://0001-drop-zenity-detection.patch \
"

S = "${WORKDIR}/git"
SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"

EXTRA_OECONF += "--disable-xinerama"

do_configure_prepend() {
    cd ${S}
    aclocal --install || exit 1
    autoreconf --verbose --force --install -Wno-portability || exit 1
    cd -

}

FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome"<commit_msg>metacity: allow for warnings during compilation<commit_after>SECTION = "x11/wm"
SUMMARY = "Metacity is the boring window manager for the adult in you"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b4cce53560b8e619ffa7c830fb8761aa \
                    file://src/include/main.h;endline=24;md5=72148ede07a6dadd01de6a882d20a9ad"

PE = "1"

DEPENDS = "gsettings-desktop-schemas startup-notification \
           gnome-doc-utils gdk-pixbuf-native \
           gtk+3 glib-2.0 libcanberra libgtop intltool-native"

inherit autotools gettext gnomebase distro_features_check
# depends on startup-notification which depends on virtual/libx11
REQUIRED_DISTRO_FEATURES = "x11"

SRC_URI = "git://github.com/GNOME/metacity.git;branch=master \
           file://0001-drop-zenity-detection.patch \
"

S = "${WORKDIR}/git"
SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"

EXTRA_OECONF += "--disable-xinerama"

PACKAGECONFIG ?= ""

# enable as neccessary until new warnings are dealt with
PACKAGECONFIG[werror] = "--enable-Werror,--disable-Werror,,"

do_configure_prepend() {
    cd ${S}
    aclocal --install || exit 1
    autoreconf --verbose --force --install -Wno-portability || exit 1
    cd -

}

FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome"
{'fraction_non_alphanumeric': 0.12437395659432388, 'fraction_numerical': 0.06343906510851419, 'mean_word_length': 3.8719512195121952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7584683', 'n_tokens_mistral': 986, 'n_tokens_neox': 896, 'n_words': 162}