All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][v3 00/20] Gnome cleanups & desktop patches
@ 2019-12-09  8:35 Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 01/20] gjs: initial add 1.58.3 Andreas Müller
                   ` (19 more replies)
  0 siblings, 20 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

v2 -> v3: rebased -> master-next

Andreas Müller (20):
  gjs: initial add 1.58.3
  gdm: re-add 3.34.1
  gnome-shell: initial add 3.34.1
  gnome-shell-extensions: initial add 3.34.1
  accountsservice: initial add 0.6.55
  rest: initial add 0.8.1
  gnome-online-accounts: initial add 3.34.1
  gnome-control-center: re-add 3.34.1
  gnome-session: inital add 3.34.1
  gnome-panel: (re)add 3.34.1
  gnome-flashback: initial add 3.34.1
  Add: packagegroup-gnome-apps / packagegroup-gnome-desktop
  glfw: add features_check to inherit
  stalonetray: Add x11 to required distro feature
  projucer: add x11 to required distro features
  colord-gtk: add polkit to required distro features
  yelp: add x11 to required distro features
  file-roller: remove nautilus from DEPENDS
  libgdata: add x11 to required distro features
  accountsservice: Hack musl build fix

 .../file-roller/file-roller_3.32.2.bb         |  1 -
 .../0001-Ensure-pam-file-installation.patch   | 48 ++++++++++++++
 meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb    | 56 ++++++++++++++++
 .../gjs/gjs/0001-Disable-tests-on-host.patch  | 33 ++++++++++
 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb    | 37 +++++++++++
 ...001-Add-meson-option-to-pass-sysroot.patch | 45 +++++++++++++
 .../gnome-control-center_3.34.1.bb            | 55 ++++++++++++++++
 .../gnome-flashback/gnome-flashback_3.34.1.bb | 34 ++++++++++
 .../gnome-online-accounts_3.34.1.bb           | 35 ++++++++++
 ...nd-ZONEINFO-it-tries-to-run-compiled.patch | 37 +++++++++++
 .../gnome-panel/gnome-panel_3.34.1.bb         | 28 ++++++++
 .../gnome-session/gnome-session_3.34.1.bb     | 39 +++++++++++
 .../gnome-shell-extensions_3.34.1.bb          | 29 +++++++++
 .../gnome-shell/gnome-shell_3.34.1.bb         | 64 +++++++++++++++++++
 .../libgdata/libgdata_0.17.10.bb              |  5 +-
 meta-gnome/recipes-gnome/rest/rest_0.8.1.bb   | 33 ++++++++++
 meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb  |  5 +-
 .../0001-musl-Hack-to-fix-build.patch         | 36 +++++++++++
 .../0002-musl-add-missing-fgetspent_r.patch   | 46 +++++++++++++
 .../accountsservice/accountsservice_0.6.55.bb | 33 ++++++++++
 .../colord-gtk/colord-gtk_0.2.0.bb            |  4 ++
 .../packagegroups/packagegroup-gnome-apps.bb  | 19 ++++++
 .../packagegroup-gnome-desktop.bb             | 26 ++++++++
 .../recipes-multimedia/juce/projucer.inc      |  4 +-
 meta-oe/recipes-core/glfw/glfw_3.3.bb         |  2 +-
 .../stalonetray/stalonetray_0.8.3.bb          |  4 +-
 26 files changed, 752 insertions(+), 6 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch
 create mode 100644 meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
 create mode 100644 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-session/gnome-session_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-shell/gnome-shell_3.34.1.bb
 create mode 100644 meta-gnome/recipes-gnome/rest/rest_0.8.1.bb
 create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
 create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch
 create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
 create mode 100644 meta-gnome/recipes-support/packagegroups/packagegroup-gnome-apps.bb
 create mode 100644 meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb

-- 
2.21.0



^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCH][v3 01/20] gjs: initial add 1.58.3
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-10 19:59   ` Khem Raj
  2019-12-09  8:35 ` [PATCH][v3 02/20] gdm: re-add 3.34.1 Andreas Müller
                   ` (18 subsequent siblings)
  19 siblings, 1 reply; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

* it is a dependency for upcoming gnome shell
* this is the latest stable version currently [1]

[1] http://ftp.gnome.org/pub/gnome/sources/gjs/1.63/gjs-1.63.1.news

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../gjs/gjs/0001-Disable-tests-on-host.patch  | 33 +++++++++++++++++
 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb    | 37 +++++++++++++++++++
 2 files changed, 70 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
 create mode 100644 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb

diff --git a/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
new file mode 100644
index 000000000..0953214fb
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
@@ -0,0 +1,33 @@
+From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Sat, 18 May 2019 01:14:07 +0200
+Subject: [PATCH] Disable tests on host
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
+---
+ configure.ac | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index fa4e136..056e96e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -335,9 +335,7 @@ AS_IF([test "x$with_dbus_tests" != "xno"], [
+ ])
+ AM_CONDITIONAL([DBUS_TESTS], [test "x$with_dbus_tests" != "xno"])
+ 
+-AC_MSG_CHECKING([for a suitable UTF-8 locale to run the tests in])
+-TESTS_LOCALE=$($srcdir/build/choose-tests-locale.sh)
+-AC_MSG_RESULT([$TESTS_LOCALE])
++TESTS_LOCALE=C
+ AC_SUBST([TESTS_LOCALE])
+ 
+ AC_SUBST([gjsjsdir], [\${datadir}/gjs-1.0])
+-- 
+2.20.1
+
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
new file mode 100644
index 000000000..ddd5196b2
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
@@ -0,0 +1,37 @@
+SUMMARY = "Javascript bindings for GNOME"
+LICENSE = "MIT & LGPLv2+"
+LIC_FILES_CHKSUM = " \
+    file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \
+    file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \
+"
+
+GNOMEBASEBUILDCLASS = "autotools"
+
+DEPENDS = "mozjs gtk+3"
+
+inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
+
+SRC_URI[archive.md5sum] = "bce6dea9a6583a8b3c6af5854df76aaf"
+SRC_URI[archive.sha256sum] = "ca9fcd47b95ab0fc445301b2595e51fcea24d6f3cd87c190fe07006146d773ae"
+SRC_URI += "file://0001-Disable-tests-on-host.patch"
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
+
+EXTRA_OECONF = " \
+    --without-dbus-tests \
+    --disable-installed-tests \
+"
+
+do_configure_prepend() {
+    # make configure find gobject-introspection test code. Although we set
+    # --disable-installed-tests gjs builds them
+    sed -i 's|:$GI_DATADIR|:${STAGING_DIR_NATIVE}$GI_DATADIR|g' ${S}/configure.ac
+}
+
+FILES_${PN} += "${datadir}/gjs-1.0/lsan"
+
+PACKAGES =+ "${PN}-valgrind"
+FILES_${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
+RSEPENDS_${PN}-valgrind += "valgrind"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 02/20] gdm: re-add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 01/20] gjs: initial add 1.58.3 Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 03/20] gnome-shell: initial add 3.34.1 Andreas Müller
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

GDM is a mandatory component for all types of gnome sessions. To give users the
choice to build images with gnome-session using different display-manager
without changing systemd service configuration,, mandatory parts were split
into gdm-base package.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../0001-Ensure-pam-file-installation.patch   | 48 ++++++++++++++++
 meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb    | 56 +++++++++++++++++++
 2 files changed, 104 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch
 create mode 100644 meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch b/meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch
new file mode 100644
index 000000000..6362d5ee6
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch
@@ -0,0 +1,48 @@
+From f7bba53adf8a26f900442a05bb98326747c392b4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Tue, 3 Dec 2019 00:24:27 +0100
+Subject: [PATCH] Ensure pam-file installation
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+All the detection magic does not work for us
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
+---
+ data/Makefile.am | 12 +-----------
+ 1 file changed, 1 insertion(+), 11 deletions(-)
+
+diff --git a/data/Makefile.am b/data/Makefile.am
+index bda9160..dbc3ea3 100644
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -296,22 +296,12 @@ endif
+ 		chown root:root $(DESTDIR)$(logdir) || : ; \
+ 	fi
+ 
+-	system=`uname`; \
+-	if test -f /usr/include/security/pam_appl.h; then \
+-	  if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
+ 		$(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+ 		chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+-	   fi; \
+-	   if test $$system = Linux; then \
+ 	     for pamfile in $(pam_files); do \
+ 	       bn=$$(basename $$pamfile .pam); \
+ 	       $(INSTALL_DATA) $(srcdir)/$$pamfile $(DESTDIR)$(PAM_PREFIX)/pam.d/$$bn; \
+-	     done; \
+-	   fi; \
+-	   if test $$system = SunOS; then \
+-		echo "Please add PAM authentication for gdm, gdm-autologin and gdm-welcome in $(PAM_PREFIX)/pam.conf!"; \
+-	   fi; \
+-	fi
++	     done;
+ 
+ 	if test '!' -d $(DESTDIR)$(xauthdir); then \
+ 		$(mkinstalldirs) $(DESTDIR)$(xauthdir); \
+-- 
+2.21.0
+
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb b/meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb
new file mode 100644
index 000000000..a47bf6fcf
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb
@@ -0,0 +1,56 @@
+SUMMARY = "GNOME Display Manager"
+LICENSE="GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = " \
+    dconf-native \
+    gtk+3 \
+    accountsservice \
+    libcanberra \
+    libpam \
+"
+
+REQUIRED_DISTRO_FEATURES = "x11 systemd pam"
+
+inherit gnomebase gsettings gobject-introspection gettext systemd useradd upstream-version-is-even features_check
+
+SRC_URI[archive.md5sum] = "65d1fd4bb85e8b133d1cbffb80ecf62e"
+SRC_URI[archive.sha256sum] = "e85df657aa8d9361af4fb122014d8f123a93bfe45a7662fba2b373d839dbd8d3"
+SRC_URI += "file://0001-Ensure-pam-file-installation.patch"
+
+EXTRA_OECONF = " \
+    --without-plymouth \
+    --with-default-pam-config=openembedded \
+    --with-pam-mod-dir=${base_libdir}/security \
+"
+
+do_install_append() {
+    rm -rf ${D}/run ${D}${localstatedir}/run
+}
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM_${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"
+
+SYSTEMD_SERVICE_${PN} = "${BPN}.service"
+
+# Some gnome components - as gnome-panel and gnome-shell (!!) - require gdm
+# components. To allow gnome-images using different display-manager, split them
+# out into a seperate package.
+PACKAGE_BEFORE_PN = "${PN}-base"
+FILES_${PN}-base = " \
+    ${datadir}/glib-2.0 \
+    ${datadir}/gnome-session \
+    ${libdir}/lib*${SOLIBS} \
+    ${libdir}/girepository-1.0 \
+"
+
+CONFFILES_${PN} += "${sysconfdir}/gdm/custom.conf"
+FILES_${PN} += " \
+    ${datadir}/dconf \
+    ${base_libdir}/security/pam_gdm.so \
+    ${localstatedir} \
+    ${systemd_unitdir} \
+"
+
+RDEPENDS_${PN} += "${PN}-base"
+
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 03/20] gnome-shell: initial add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 01/20] gjs: initial add 1.58.3 Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 02/20] gdm: re-add 3.34.1 Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 04/20] gnome-shell-extensions: " Andreas Müller
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../gnome-shell/gnome-shell_3.34.1.bb         | 64 +++++++++++++++++++
 1 file changed, 64 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-shell/gnome-shell_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_3.34.1.bb
new file mode 100644
index 000000000..d0b3af83d
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell_3.34.1.bb
@@ -0,0 +1,64 @@
+SUMMARY = "GNOME Shell is the graphical shell of the GNOME desktop environment"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gsettings gettext gobject-introspection features_check upstream-version-is-even bash-completion
+
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
+
+DEPENDS = " \
+    libxml2-native \
+    sassc-native \
+    gtk+3 \
+    mutter \
+    evolution-data-server \
+    gcr \
+    gjs \
+    gnome-autoar \
+    polkit \
+    libcroco \
+    startup-notification \
+    ibus \
+    gsettings-desktop-schemas \
+"
+
+GTKDOC_MESON_OPTION = "gtk_doc"
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
+
+SRC_URI[archive.md5sum] = "2e00c22673d069d6b919b2ca1b225d89"
+SRC_URI[archive.sha256sum] = "ccd86559b9c897c219d2d2ebfdb8413efa4c1bee846427c750cb8a301b3f6d1e"
+
+PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
+PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false, networkmanager"
+PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
+
+EXTRA_OEMESON = " \
+    -Dman=false \
+"
+
+do_install_append() {
+    # fix shebangs
+    for tool in `find ${D}${bindir} -name '*-tool'`; do
+        sed -i 's:#!${PYTHON}:#!${bindir}/${PYTHON_PN}:' $tool
+    done
+}
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${datadir}/gnome-control-center \
+    ${datadir}/xdg-desktop-portal \
+    ${systemd_user_unitdir} \
+"
+
+RDEPENDS_${PN} += "gsettings-desktop-schemas gdm-base librsvg-gtk"
+
+PACKAGES =+ "${PN}-tools"
+FILES_${PN}-tools = "${bindir}/*-tool"
+RDEPENDS_${PN}-tools = "python3-core"
+
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 04/20] gnome-shell-extensions: initial add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (2 preceding siblings ...)
  2019-12-09  8:35 ` [PATCH][v3 03/20] gnome-shell: initial add 3.34.1 Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 05/20] accountsservice: initial add 0.6.55 Andreas Müller
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../gnome-shell-extensions_3.34.1.bb          | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_3.34.1.bb
new file mode 100644
index 000000000..8625a7b32
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_3.34.1.bb
@@ -0,0 +1,29 @@
+SUMMARY = "GNOME Shell Extensions"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4cb3a392cbf81a9e685ec13b88c4c101"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gettext gsettings features_check upstream-version-is-even
+
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
+
+SRC_URI[archive.md5sum] = "09e64640bbf0e978171d581e2086a0c6"
+SRC_URI[archive.sha256sum] = "b0ad51143b1bf40def4a10f8fd0ab0ffb47218304800794e62cadd29d0acc75b"
+
+DEPENDS += " \
+    sassc-native \
+"
+
+EXTRA_OEMESON += " \
+    -Dextension_set=all \
+    -Dclassic_mode=true \
+"
+
+RDEPENDS_${PN} += "gnome-shell"
+
+FILES_${PN} += " \
+    ${datadir}/gnome-shell \
+    ${datadir}/gnome-session \
+    ${datadir}/xsessions \
+"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 05/20] accountsservice: initial add 0.6.55
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (3 preceding siblings ...)
  2019-12-09  8:35 ` [PATCH][v3 04/20] gnome-shell-extensions: " Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-10 19:57   ` Khem Raj
  2019-12-09  8:35 ` [PATCH][v3 06/20] rest: initial add 0.8.1 Andreas Müller
                   ` (14 subsequent siblings)
  19 siblings, 1 reply; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

It is a dependency for upcoming gnome-control-center

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../accountsservice/accountsservice_0.6.55.bb | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb

diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
new file mode 100644
index 000000000..bf603b3bc
--- /dev/null
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "D-Bus interfaces for querying and manipulating user account information"
+HOMEPAGE = "https://www.freedesktop.org/wiki/Software/AccountsService/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+DEPENDS = " \
+    dbus \
+    polkit \
+"
+
+inherit meson gobject-introspection gtk-doc features_check systemd
+
+REQUIRED_DISTRO_FEATURES = "polkit"
+
+SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "6e4c6fbd490260cfe17de2e76f5d803a"
+SRC_URI[sha256sum] = "ff2b2419a7e06bd9cb335ffe391c7409b49a0f0130b890bd54692a3986699c9b"
+
+GTKDOC_MESON_OPTION = "gtk_doc"
+
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
+
+SYSTEMD_SERVICE_${PN} = "accounts-daemon.service"
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${datadir}/polkit-1 \
+"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 06/20] rest: initial add 0.8.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (4 preceding siblings ...)
  2019-12-09  8:35 ` [PATCH][v3 05/20] accountsservice: initial add 0.6.55 Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-09  8:35 ` [PATCH][v3 07/20] gnome-online-accounts: initial add 3.34.1 Andreas Müller
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

It is an optional dependency for upcoming gnome-online-accounts

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-gnome/recipes-gnome/rest/rest_0.8.1.bb | 33 +++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/rest/rest_0.8.1.bb

diff --git a/meta-gnome/recipes-gnome/rest/rest_0.8.1.bb b/meta-gnome/recipes-gnome/rest/rest_0.8.1.bb
new file mode 100644
index 000000000..33b8744eb
--- /dev/null
+++ b/meta-gnome/recipes-gnome/rest/rest_0.8.1.bb
@@ -0,0 +1,33 @@
+SUMMARY = "library to access web services that claim to be "RESTful""
+HOMPAGE = "https://wiki.gnome.org/Projects/Librest"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+GNOMEBASEBUILDCLASS = "autotools"
+
+DEPENDS = " \
+    libxml2-native \
+    glib-2.0-native \
+    glib-2.0 \
+    libsoup-2.4 \
+"
+
+inherit gnomebase gobject-introspection gtk-doc vala
+
+SRC_URI[archive.md5sum] = "ece4547298a81105f307369d73c21b9d"
+SRC_URI[archive.sha256sum] = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9"
+
+# * gnome environment requires libsoup build with in gnome PACKAGECONFIG
+# * libsoup-gnome support was removed upstream three years ago [1]
+# [1] https://gitlab.gnome.org/GNOME/librest/commit/8f904a8e2bb38a7bf72245cdf2f1ecad17e9a720
+EXTRA_OECONF = "--without-gnome"
+
+do_configure_prepend() {
+    # rest expects introspection.m4 at custom location (see aclocal.m4).
+    cp -f ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/build
+}
+
+do_compile_prepend() {
+    export GIR_EXTRA_LIBS_PATH="${B}/rest/.libs"
+}
+
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 07/20] gnome-online-accounts: initial add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (5 preceding siblings ...)
  2019-12-09  8:35 ` [PATCH][v3 06/20] rest: initial add 0.8.1 Andreas Müller
@ 2019-12-09  8:35 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 08/20] gnome-control-center: re-add 3.34.1 Andreas Müller
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:35 UTC (permalink / raw)
  To: openembedded-devel

It is a mandatory dependency for upcoming gnome-control-center

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../gnome-online-accounts_3.34.1.bb           | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.34.1.bb
new file mode 100644
index 000000000..74d71ec81
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.34.1.bb
@@ -0,0 +1,35 @@
+SUMMARY = "GNOME Online Accounts - Single sign-on framework for GNOME"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=34c88b124db5fb2762c1676be7dadd36"
+
+GNOMEBASEBUILDCLASS = "autotools"
+
+inherit gnomebase gsettings gobject-introspection gsettings gtk-doc vala gettext upstream-version-is-even features_check
+
+# for webkitgtk
+REQUIRED_DISTRO_FEATURES = "x11"
+
+DEPENDS = "glib-2.0"
+
+SRC_URI[archive.md5sum] = "aa94d1dd07ca53729a036b5df1c78c05"
+SRC_URI[archive.sha256sum] = "4832ca8e48d3a497fc676e7b6f146009ab4206995362977b9805aa39f164783a"
+
+# backend is required for gnome-control-center
+PACKAGECONFIG = "backend other"
+
+PACKAGECONFIG[backend] = "--enable-backend,--disable-backend,gtk+3 webkitgtk libsoup-2.4 json-glib libsecret rest libxml2"
+PACKAGECONFIG[krb5] = "--enable-kerberos, --disable-kerberos , krb5 gcr"
+
+# no extra dependencies!
+PACKAGECONFIG[other] = " \
+    --enable-facebook  --enable-foursquare  --enable-exchange  --enable-flickr  --enable-google  --enable-imap-smtp  --enable-owncloud  --enable-windows-live,\
+    --disable-facebook --disable-foursquare --disable-exchange --disable-flickr --disable-google --disable-imap-smtp --disable-owncloud --disable-windows-live, \
+"
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${libdir}/goa-1.0/web-extensions/*.so \
+"
+
+# looked into pkg-config file: it is not a bug - they mean it
+FILES_${PN}-dev += "${libdir}/goa-1.0/include"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 08/20] gnome-control-center: re-add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (6 preceding siblings ...)
  2019-12-09  8:35 ` [PATCH][v3 07/20] gnome-online-accounts: initial add 3.34.1 Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 09/20] gnome-session: inital add 3.34.1 Andreas Müller
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 ...001-Add-meson-option-to-pass-sysroot.patch | 45 +++++++++++++++
 .../gnome-control-center_3.34.1.bb            | 55 +++++++++++++++++++
 2 files changed, 100 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
new file mode 100644
index 000000000..7f82a152c
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
@@ -0,0 +1,45 @@
+From ba8aebe1259ae3f7f5a4827e5a47bb95c568b218 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Tue, 21 May 2019 16:07:46 +0200
+Subject: [PATCH] Add meson option to pass sysroot
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We need to pass this to meson to help it finding gdesktop-enums.h:
+
+| panels/background/meson.build:38:0: ERROR: File /usr/include/gsettings-desktop-schemas/gdesktop-enums.h does not exist.
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
+---
+ meson_options.txt             | 1 +
+ panels/background/meson.build | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/meson_options.txt b/meson_options.txt
+index a347168..2cd8121 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,3 +1,4 @@
++option('oe_sysroot', type: 'string', value: '', description: 'Directory for OE-sysroot')
+ option('cheese', type: 'boolean', value: true, description: 'build with cheese webcam support')
+ option('documentation', type: 'boolean', value: false, description: 'build documentation')
+ option('gnome_session_libexecdir', type: 'string', value: '', description: 'Directory for gnome-session\'s libexecdir')
+diff --git a/panels/background/meson.build b/panels/background/meson.build
+index bb34b69..f22722e 100644
+--- a/panels/background/meson.build
++++ b/panels/background/meson.build
+@@ -36,7 +36,7 @@ common_sources = []
+ 
+ enums = 'gdesktop-enums-types'
+ enums_header = files(
+-  gsettings_desktop_dep.get_pkgconfig_variable('prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
++  get_option('oe_sysroot') + gsettings_desktop_dep.get_pkgconfig_variable('prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
+   'cc-background-item.h'
+ )
+ 
+-- 
+2.20.1
+
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb
new file mode 100644
index 000000000..5d58879c5
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb
@@ -0,0 +1,55 @@
+SUMMARY = "GNOME Settings"
+DESCRIPTION = "GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gsettings gettext vala upstream-version-is-even bash-completion features_check
+
+DEPENDS = " \
+    gdk-pixbuf-native \
+    colord-gtk \
+    udisks2 \
+    upower \
+    polkit \
+    pulseaudio \
+    accountsservice \
+    samba \
+    gsettings-desktop-schemas \
+    gnome-settings-daemon \
+    gnome-desktop3 \
+    gnome-online-accounts \
+    network-manager-applet \
+    gnome-bluetooth \
+    grilo \
+    libgtop \
+    gsound \
+    libpwquality \
+"
+
+REQUIRED_DISTRO_FEATURES += "polkit pulseaudio systemd x11"
+
+SRC_URI[archive.md5sum] = "8b0f0baea34fbe937efd0ad1be4b451b"
+SRC_URI[archive.sha256sum] = "5f82ecd5554136c462248ec5363b82d95358b39dfd6787006d8307b4504e515e"
+SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"
+
+PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
+PACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus"
+PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland"
+
+# Once we have (lib)cheese we can make cheese a PACKAGECONFIG
+EXTRA_OEMESON = " \
+    -Doe_sysroot=${STAGING_DIR_HOST} \
+    -Dcheese=false \
+"
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1 \
+    ${datadir}/gnome-shell \
+    ${datadir}/metainfo \
+"
+
+FILES_${PN}-dev += "${datadir}/gettext"
+
+RDEPENDS_${PN} += "gsettings-desktop-schemas"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 09/20] gnome-session: inital add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (7 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 08/20] gnome-control-center: re-add 3.34.1 Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 10/20] gnome-panel: (re)add 3.34.1 Andreas Müller
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../gnome-session/gnome-session_3.34.1.bb     | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-session/gnome-session_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-session/gnome-session_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-session/gnome-session_3.34.1.bb
new file mode 100644
index 000000000..e1bf16b5c
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-session/gnome-session_3.34.1.bb
@@ -0,0 +1,39 @@
+SUMMARY = "GNOME session"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = " \
+    glib-2.0-native \
+    libxslt-native \
+    xmlto-native \
+    xtrans \
+    libice \
+    libsm \
+    virtual/libx11 \
+    gtk+3 \
+    gnome-desktop3 \
+    gsettings-desktop-schemas \
+    json-glib \
+"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gettext gsettings upstream-version-is-even features_check
+
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
+
+SRC_URI[archive.md5sum] = "1a9c10d5468b3ba8abee94653692fe0d"
+SRC_URI[archive.sha256sum] = "d7801fe2d5a751b19cb58081771316a76aabd5c550cd58d4e4c6a5a4ed356660"
+
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit',d)}"
+
+PACKAGECONFIG[consolekit] = "-Dconsolekit=true, -Dconsolekit=false, consolekit"
+PACKAGECONFIG[systemd] = "-Dsystemd=true -Dsystemd_journal=true, -Dsystemd=false -Dsystemd_journal=false, systemd"
+
+FILES_${PN} += " \
+    ${datadir}/xsessions \
+    ${datadir}/wayland-sessions \
+    ${systemd_user_unitdir} \
+"
+
+RDEPENDS_${PN} += "gnome-shell gnome-settings-daemon gsettings-desktop-schemas"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 10/20] gnome-panel: (re)add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (8 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 09/20] gnome-session: inital add 3.34.1 Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 11/20] gnome-flashback: initial add 3.34.1 Andreas Müller
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

It is required for gnome-flashback

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 ...nd-ZONEINFO-it-tries-to-run-compiled.patch | 37 +++++++++++++++++++
 .../gnome-panel/gnome-panel_3.34.1.bb         | 28 ++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch
new file mode 100644
index 000000000..6ab4daf02
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch
@@ -0,0 +1,37 @@
+From d4b2f0922dfdd6040e5e9f62a2565452cf855c42 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Mon, 21 Oct 2019 22:10:56 +0200
+Subject: [PATCH] Do not try to find ZONEINFO - it tries to run compiled code
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Missing configutation does not cause issues: The fallback in modules/clock/system-timezone.c
+matches our default.
+
+Inappropriate [embedded specific]
+
+Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
+---
+ configure.ac | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c75a9fa..0c9d945 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -249,11 +249,6 @@ dnl yelp-tools stuff
+ 
+ YELP_HELP_INIT
+ 
+-dnl **************************************************************************
+-dnl Find zoneinfo directory
+-dnl **************************************************************************
+-
+-AX_ZONEINFO
+ 
+ dnl **************************************************************************
+ dnl Process .in files
+-- 
+2.21.0
+
diff --git a/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.34.1.bb
new file mode 100644
index 000000000..4d5fdb65a
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.34.1.bb
@@ -0,0 +1,28 @@
+SUMMARY = "GNOME flashback panel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+inherit gnomebase gsettings itstool gnome-help gtk-icon-cache gtk-doc gettext upstream-version-is-even features_check
+
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
+
+DEPENDS += " \
+    yelp-tools-native \
+    libwnck3 \
+    polkit \
+    dconf \
+    libgweather \
+    gnome-menus3 \
+    gnome-desktop3 \
+    gdm \
+"
+
+SRC_URI[archive.md5sum] = "cfd5d3fd548a2afdd8bd3bbdf9646bbd"
+SRC_URI[archive.sha256sum] = "a6bc0255252eeb4b964bcbe55fd7908b69f914c062c5ec8dff5ac0262d29b90d"
+SRC_URI += " \
+    file://0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch \
+"
+
+PACKAGECONFIG[eds] = "--enable-eds,--disable-eds,evolution-data-server"
+
+RDEPENDS_${PN} += "gdm-base"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 11/20] gnome-flashback: initial add 3.34.1
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (9 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 10/20] gnome-panel: (re)add 3.34.1 Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 12/20] Add: packagegroup-gnome-apps / packagegroup-gnome-desktop Andreas Müller
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

For all those wanting GNOME 2 e.g on targets without graphics acceleration

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../gnome-flashback/gnome-flashback_3.34.1.bb | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.34.1.bb

diff --git a/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.34.1.bb b/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.34.1.bb
new file mode 100644
index 000000000..637f83715
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.34.1.bb
@@ -0,0 +1,34 @@
+SUMMARY = "GNOME Flashback (GNOME 2) session"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+inherit gnomebase gsettings gtk-icon-cache gettext upstream-version-is-even features_check
+
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
+
+DEPENDS += " \
+    upower \
+    ibus \
+    libxkbfile \
+    polkit \
+    metacity \
+    gnome-desktop3 \
+    gnome-bluetooth \
+"
+
+SRC_URI[archive.md5sum] = "e328a51b69d97e291709458dfd8c0a1a"
+SRC_URI[archive.sha256sum] = "ddba0c9661ad93b58ccbde267f6ecbc02da2c15f9d38d87d5504f4670c2fbc77"
+
+do_install_append() {
+    # no oe-layer has compiz -> remove dead session
+    rm -f ${D}${datadir}/xsessions/gnome-flashback-compiz.desktop
+}
+
+FILES_${PN} += " \
+    ${datadir}/xsessions \
+    ${datadir}/desktop-directories \
+    ${datadir}/gnome-session \
+    ${systemd_user_unitdir} \
+"
+
+RDEPENDS_${PN} += "metacity gnome-panel"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 12/20] Add: packagegroup-gnome-apps / packagegroup-gnome-desktop
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (10 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 11/20] gnome-flashback: initial add 3.34.1 Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 13/20] glfw: add features_check to inherit Andreas Müller
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../packagegroups/packagegroup-gnome-apps.bb  | 19 ++++++++++++++
 .../packagegroup-gnome-desktop.bb             | 26 +++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 meta-gnome/recipes-support/packagegroups/packagegroup-gnome-apps.bb
 create mode 100644 meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb

diff --git a/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-apps.bb b/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-apps.bb
new file mode 100644
index 000000000..642e02680
--- /dev/null
+++ b/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-apps.bb
@@ -0,0 +1,19 @@
+SUMMARY = "GNOME applications"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+inherit packagegroup features_check
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+RDEPENDS_${PN} = " \
+    evolution-data-server \
+    evince \
+    file-roller \
+    gedit \
+    gnome-font-viewer \
+    gnome-terminal \
+    libwnck3 \
+    nautilus \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'gnome-system-monitor', '', d)} \
+"
diff --git a/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb b/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb
new file mode 100644
index 000000000..e27678c89
--- /dev/null
+++ b/meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Basic GNOME desktop"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+inherit packagegroup features_check
+
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
+
+RDEPENDS_${PN} = " \
+    adwaita-icon-theme \
+    adwaita-icon-theme-cursors \
+    evolution-data-server \
+    gnome-backgrounds \
+    gnome-bluetooth \
+    gnome-control-center \
+    gnome-desktop3 \
+    gnome-flashback \
+    gnome-keyring \
+    gnome-menus3 \
+    gnome-session \
+    gnome-settings-daemon \
+    gnome-shell \
+    gnome-shell-extensions \
+    gmime \
+    gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \
+"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 13/20] glfw: add features_check to inherit
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (11 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 12/20] Add: packagegroup-gnome-apps / packagegroup-gnome-desktop Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 14/20] stalonetray: Add x11 to required distro feature Andreas Müller
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Without this REQUIRED_DISTRO_FEATURES is a noop

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-oe/recipes-core/glfw/glfw_3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.bb b/meta-oe/recipes-core/glfw/glfw_3.3.bb
index e3853a201..da2bae37a 100644
--- a/meta-oe/recipes-core/glfw/glfw_3.3.bb
+++ b/meta-oe/recipes-core/glfw/glfw_3.3.bb
@@ -8,7 +8,7 @@ LICENSE  = "Zlib"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=98d93d1ddc537f9b9ea6def64e046b5f"
 SECTION = "lib"
 
-inherit pkgconfig cmake
+inherit pkgconfig cmake features_check
 
 S = "${WORKDIR}/git"
 SRC_URI = "git://github.com/glfw/glfw.git"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 14/20] stalonetray: Add x11 to required distro feature
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (12 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 13/20] glfw: add features_check to inherit Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 15/20] projucer: add x11 to required distro features Andreas Müller
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

It depends on virtual/libx11

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb b/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb
index 8851729f5..7db70ec96 100644
--- a/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb
+++ b/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb
@@ -11,4 +11,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2"
 SRC_URI[md5sum] = "ae95dbbacc2620e032acea8abab8c9ef"
 SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c"
 
-inherit autotools
+inherit autotools features_check
+
+REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 15/20] projucer: add x11 to required distro features
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (13 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 14/20] stalonetray: Add x11 to required distro feature Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 16/20] colord-gtk: add polkit " Andreas Müller
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

It depends on many X11-libs

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-multimedia/recipes-multimedia/juce/projucer.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-multimedia/juce/projucer.inc b/meta-multimedia/recipes-multimedia/juce/projucer.inc
index 60bd0e24b..fc8baa45b 100644
--- a/meta-multimedia/recipes-multimedia/juce/projucer.inc
+++ b/meta-multimedia/recipes-multimedia/juce/projucer.inc
@@ -6,7 +6,9 @@ HOMEPAGE = "http://juce.com/"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a20f91622a47d4e4af9340d5d3f1a2d8"
 
-inherit pkgconfig
+inherit pkgconfig features_check
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 DEPENDS = "libx11 libxext libxinerama libxrandr libxcursor freetype alsa-lib curl bzip2 libpng harfbuzz glib-2.0 libpcre"
 DEPENDS_append_libc-musl = " libexecinfo"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 16/20] colord-gtk: add polkit to required distro features
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (14 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 15/20] projucer: add x11 to required distro features Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 17/20] yelp: add x11 " Andreas Müller
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb b/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb
index 8f6cd0431..7845509ba 100644
--- a/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb
+++ b/meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb
@@ -18,4 +18,8 @@ EXTRA_OEMESON = "-Dman=false"
 
 # gobject-introspection is mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+
+# colord
+REQUIRED_DISTRO_FEATURES += "polkit"
+
 UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 17/20] yelp: add x11 to required distro features
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (15 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 16/20] colord-gtk: add polkit " Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 18/20] file-roller: remove nautilus from DEPENDS Andreas Müller
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb b/meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb
index f6311965e..348727e44 100644
--- a/meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb
+++ b/meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb
@@ -4,7 +4,10 @@ LIC_FILES_CHKSUM = " \
     file://COPYING;md5=6e1b9cb787e76d7e6946887a65caa754 \
 "
 
-inherit gnomebase itstool autotools-brokensep gsettings gettext gtk-doc
+inherit gnomebase itstool autotools-brokensep gsettings gettext gtk-doc features_check
+
+# for webkitgtk
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[archive.md5sum] = "776e29bd16424c8712cbf340cfe6429b"
 SRC_URI[archive.sha256sum] = "e3d6527c5963d73206891b32f1f23363164be57de248555513bd0be77a7bd045"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 18/20] file-roller: remove nautilus from DEPENDS
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (16 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 17/20] yelp: add x11 " Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 19/20] libgdata: add x11 to required distro features Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 20/20] accountsservice: Hack musl build fix Andreas Müller
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

nautilus is added by PACKAGECONFIG[nautilus] conditionally

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb b/meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb
index 7dcf3e9ec..54acb6039 100644
--- a/meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb
+++ b/meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb
@@ -7,7 +7,6 @@ GNOMEBASEBUILDCLASS = "meson"
 DEPENDS = " \
     glib-2.0-native \
     gtk+3 \
-    nautilus \
     libarchive \
     libnotify \
 "
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 19/20] libgdata: add x11 to required distro features
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (17 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 18/20] file-roller: remove nautilus from DEPENDS Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  2019-12-09  8:36 ` [PATCH][v3 20/20] accountsservice: Hack musl build fix Andreas Müller
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb b/meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb
index 7bedd87ad..8e8e12b38 100644
--- a/meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb
+++ b/meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb
@@ -12,7 +12,10 @@ DEPENDS = "libxml2 glib-2.0 libsoup-2.4 intltool-native liboauth gcr json-glib"
 GTKDOC_MESON_OPTION = "gtk_doc"
 GNOMEBASEBUILDCLASS = "meson"
 
-inherit gnomebase pkgconfig gettext gtk-doc vala gobject-introspection manpages
+inherit gnomebase pkgconfig gettext gtk-doc vala gobject-introspection manpages features_check
+
+# gcr
+REQUIRED_DISTRO_FEATURES = "x11"
 
 do_compile_prepend() {
     export GIR_EXTRA_LIBS_PATH="${B}/gdata/.libs"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [PATCH][v3 20/20] accountsservice: Hack musl build fix
  2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
                   ` (18 preceding siblings ...)
  2019-12-09  8:36 ` [PATCH][v3 19/20] libgdata: add x11 to required distro features Andreas Müller
@ 2019-12-09  8:36 ` Andreas Müller
  19 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-09  8:36 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 .../0001-musl-Hack-to-fix-build.patch         | 36 +++++++++++++++
 .../0002-musl-add-missing-fgetspent_r.patch   | 46 +++++++++++++++++++
 .../accountsservice/accountsservice_0.6.55.bb |  4 ++
 3 files changed, 86 insertions(+)
 create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
 create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch

diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
new file mode 100644
index 000000000..c2310fe46
--- /dev/null
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch
@@ -0,0 +1,36 @@
+From 2a1c7103839c20df5ca9ce2fa863535d802f8f3a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Sun, 8 Dec 2019 23:42:00 +0100
+Subject: [PATCH] musl: Hack to fix configure
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+---
+ meson.build | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 4465a26..726c9fe 100644
+--- a/meson.build
++++ b/meson.build
+@@ -82,8 +82,14 @@ if cc.has_header_symbol('utmpx.h', 'WTMPX_FILENAME', prefix: '#define _GNU_SOURC
+ elif cc.has_header_symbol('paths.h', '_PATH_WTMPX')
+   config_h.set('PATH_WTMP', '_PATH_WTMPX')
+ else
+-  assert(run_command('test', '-e', '/var/log/utx.log').returncode() == 0, 'Do not know which filename to watch for wtmp changes')
+-  config_h.set_quoted('PATH_WTMP', '/var/log/utx.log')
++  # musl: This is just a build fix hack.
++  # As usual they know better, consider all other projects crap and offer zero
++  # alternatives: So wtmp is a dead stub only [1] (= /dev/null/wtmp - taken
++  # from musl sources).
++  # Maybe a hero comes along and adds utmps [2] to make accountsservice useful for musl
++  # [1] https://wiki.musl-libc.org/faq.html#Q:-Why-is-the-utmp/wtmp-functionality-only-implemented-as-stubs?
++  # [2] https://github.com/skarnet/utmps
++  config_h.set_quoted('PATH_WTMP', '/dev/null/wtmp')
+ endif
+ 
+ # compiler flags
+-- 
+2.21.0
+
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch b/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch
new file mode 100644
index 000000000..14161804e
--- /dev/null
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch
@@ -0,0 +1,46 @@
+From 820249ea8e38c568e6a36fbd9c852718c7665b56 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
+Date: Mon, 9 Dec 2019 00:12:08 +0100
+Subject: [PATCH] musl: add missing fgetspent_r
+
+Stolen from void-linux
+
+Upstream-Status: Inappropriate [musl-specific]
+---
+ src/daemon.c | 20 ++++++++++++++++++++
+ 1 file changed, 20 insertions(+)
+
+diff --git a/src/daemon.c b/src/daemon.c
+index c52bda3..a7676fe 100644
+--- a/src/daemon.c
++++ b/src/daemon.c
+@@ -164,6 +164,26 @@ remove_cache_files (const gchar *user_name)
+         g_remove (icon_filename);
+ }
+ 
++/* Musl libc does not support fgetspent_r(), write own
++ * wrapper
++ */
++static int fgetspent_r(FILE *fp, struct spwd *spbuf, char *buf, size_t buflen, struct spwd **spbufp) {
++       struct spwd *shadow_entry = fgetspent(fp);
++       if(!shadow_entry)
++               return -1;
++       size_t namplen = strlen(shadow_entry->sp_namp);
++       size_t pwdplen = strlen(shadow_entry->sp_pwdp);
++
++       if(namplen + pwdplen + 2 > buflen)
++               return -1;
++
++       *spbufp = memcpy(spbuf, shadow_entry, sizeof(struct spwd));
++       spbuf->sp_namp = strncpy(buf, shadow_entry->sp_namp, namplen + 1);
++       spbuf->sp_pwdp = strncpy(buf + namplen + 1, shadow_entry->sp_pwdp, pwdplen + 1);
++
++       return 0;
++}
++
+ static struct passwd *
+ entry_generator_fgetpwent (Daemon       *daemon,
+                            GHashTable   *users,
+-- 
+2.21.0
+
diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
index bf603b3bc..36fecfe11 100644
--- a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
+++ b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
@@ -13,6 +13,10 @@ inherit meson gobject-introspection gtk-doc features_check systemd
 REQUIRED_DISTRO_FEATURES = "polkit"
 
 SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz"
+SRC_URI_append_libc-musl = " \
+    file://0001-musl-Hack-to-fix-build.patch \
+    file://0002-musl-add-missing-fgetspent_r.patch \
+"
 SRC_URI[md5sum] = "6e4c6fbd490260cfe17de2e76f5d803a"
 SRC_URI[sha256sum] = "ff2b2419a7e06bd9cb335ffe391c7409b49a0f0130b890bd54692a3986699c9b"
 
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55
  2019-12-09  8:35 ` [PATCH][v3 05/20] accountsservice: initial add 0.6.55 Andreas Müller
@ 2019-12-10 19:57   ` Khem Raj
  2019-12-10 21:53     ` Andreas Müller
  0 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2019-12-10 19:57 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Mon, Dec 9, 2019 at 12:37 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> It is a dependency for upcoming gnome-control-center
>

This seems to have hard dependency on systemd ? or can it be
configured without systemd as well see

https://errors.yoctoproject.org/Errors/Details/296904/

in case it can not, then we need to exclude it from parsing when
systemd is not in DISTRO_FEATURES

> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> ---
>  .../accountsservice/accountsservice_0.6.55.bb | 29 +++++++++++++++++++
>  1 file changed, 29 insertions(+)
>  create mode 100644 meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
>
> diff --git a/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
> new file mode 100644
> index 000000000..bf603b3bc
> --- /dev/null
> +++ b/meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb
> @@ -0,0 +1,29 @@
> +DESCRIPTION = "D-Bus interfaces for querying and manipulating user account information"
> +HOMEPAGE = "https://www.freedesktop.org/wiki/Software/AccountsService/"
> +LICENSE = "GPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +DEPENDS = " \
> +    dbus \
> +    polkit \
> +"
> +
> +inherit meson gobject-introspection gtk-doc features_check systemd
> +
> +REQUIRED_DISTRO_FEATURES = "polkit"
> +
> +SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz"
> +SRC_URI[md5sum] = "6e4c6fbd490260cfe17de2e76f5d803a"
> +SRC_URI[sha256sum] = "ff2b2419a7e06bd9cb335ffe391c7409b49a0f0130b890bd54692a3986699c9b"
> +
> +GTKDOC_MESON_OPTION = "gtk_doc"
> +
> +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> +PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
> +
> +SYSTEMD_SERVICE_${PN} = "accounts-daemon.service"
> +
> +FILES_${PN} += " \
> +    ${datadir}/dbus-1 \
> +    ${datadir}/polkit-1 \
> +"
> --
> 2.21.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 01/20] gjs: initial add 1.58.3
  2019-12-09  8:35 ` [PATCH][v3 01/20] gjs: initial add 1.58.3 Andreas Müller
@ 2019-12-10 19:59   ` Khem Raj
  2019-12-10 22:13     ` Andreas Müller
  0 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2019-12-10 19:59 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Mon, Dec 9, 2019 at 12:36 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> * it is a dependency for upcoming gnome shell
> * this is the latest stable version currently [1]
>
> [1] http://ftp.gnome.org/pub/gnome/sources/gjs/1.63/gjs-1.63.1.news
>

Managed to crash qemu on mips, that said it might be fine to mark this
incompatible with mips
since there might be fewer users needing it on mips arch

https://errors.yoctoproject.org/Errors/Details/296905/

> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> ---
>  .../gjs/gjs/0001-Disable-tests-on-host.patch  | 33 +++++++++++++++++
>  meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb    | 37 +++++++++++++++++++
>  2 files changed, 70 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
>  create mode 100644 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
>
> diff --git a/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> new file mode 100644
> index 000000000..0953214fb
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> @@ -0,0 +1,33 @@
> +From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
> +Date: Sat, 18 May 2019 01:14:07 +0200
> +Subject: [PATCH] Disable tests on host
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Upstream-Status: Inappropriate [OE-specific]
> +
> +Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> +---
> + configure.ac | 4 +---
> + 1 file changed, 1 insertion(+), 3 deletions(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index fa4e136..056e96e 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -335,9 +335,7 @@ AS_IF([test "x$with_dbus_tests" != "xno"], [
> + ])
> + AM_CONDITIONAL([DBUS_TESTS], [test "x$with_dbus_tests" != "xno"])
> +
> +-AC_MSG_CHECKING([for a suitable UTF-8 locale to run the tests in])
> +-TESTS_LOCALE=$($srcdir/build/choose-tests-locale.sh)
> +-AC_MSG_RESULT([$TESTS_LOCALE])
> ++TESTS_LOCALE=C
> + AC_SUBST([TESTS_LOCALE])
> +
> + AC_SUBST([gjsjsdir], [\${datadir}/gjs-1.0])
> +--
> +2.20.1
> +
> diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> new file mode 100644
> index 000000000..ddd5196b2
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> @@ -0,0 +1,37 @@
> +SUMMARY = "Javascript bindings for GNOME"
> +LICENSE = "MIT & LGPLv2+"
> +LIC_FILES_CHKSUM = " \
> +    file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \
> +    file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \
> +"
> +
> +GNOMEBASEBUILDCLASS = "autotools"
> +
> +DEPENDS = "mozjs gtk+3"
> +
> +inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
> +
> +SRC_URI[archive.md5sum] = "bce6dea9a6583a8b3c6af5854df76aaf"
> +SRC_URI[archive.sha256sum] = "ca9fcd47b95ab0fc445301b2595e51fcea24d6f3cd87c190fe07006146d773ae"
> +SRC_URI += "file://0001-Disable-tests-on-host.patch"
> +
> +# gobject-introspection is mandatory and cannot be configured
> +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
> +UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
> +
> +EXTRA_OECONF = " \
> +    --without-dbus-tests \
> +    --disable-installed-tests \
> +"
> +
> +do_configure_prepend() {
> +    # make configure find gobject-introspection test code. Although we set
> +    # --disable-installed-tests gjs builds them
> +    sed -i 's|:$GI_DATADIR|:${STAGING_DIR_NATIVE}$GI_DATADIR|g' ${S}/configure.ac
> +}
> +
> +FILES_${PN} += "${datadir}/gjs-1.0/lsan"
> +
> +PACKAGES =+ "${PN}-valgrind"
> +FILES_${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
> +RSEPENDS_${PN}-valgrind += "valgrind"
> --
> 2.21.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55
  2019-12-10 19:57   ` Khem Raj
@ 2019-12-10 21:53     ` Andreas Müller
  2019-12-10 23:47       ` Khem Raj
  0 siblings, 1 reply; 28+ messages in thread
From: Andreas Müller @ 2019-12-10 21:53 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Tue, Dec 10, 2019 at 8:57 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Mon, Dec 9, 2019 at 12:37 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> >
> > It is a dependency for upcoming gnome-control-center
> >
>
> This seems to have hard dependency on systemd ? or can it be
> configured without systemd as well see
>
> https://errors.yoctoproject.org/Errors/Details/296904/
>
> in case it can not, then we need to exclude it from parsing when
> systemd is not in DISTRO_FEATURES
For systemd not in PACKAGECONFIG it needs
-Dsystemd_system_unit_dir='no' to avoid this error.

Test would take some hours so my question: oe-core's master has
already removed python2 from hosttools and to be honest I expect huge
fallout all over. So my question: How much time do I still have for
tests?

Andreas


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 01/20] gjs: initial add 1.58.3
  2019-12-10 19:59   ` Khem Raj
@ 2019-12-10 22:13     ` Andreas Müller
  2019-12-10 23:41       ` Khem Raj
  0 siblings, 1 reply; 28+ messages in thread
From: Andreas Müller @ 2019-12-10 22:13 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Tue, Dec 10, 2019 at 8:59 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Mon, Dec 9, 2019 at 12:36 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> >
> > * it is a dependency for upcoming gnome shell
> > * this is the latest stable version currently [1]
> >
> > [1] http://ftp.gnome.org/pub/gnome/sources/gjs/1.63/gjs-1.63.1.news
> >
>
> Managed to crash qemu on mips, that said it might be fine to mark this
> incompatible with mips
> since there might be fewer users needing it on mips arch

So upgrade to 1.58.3 did not solve (did not really expect it).

Shall I disable both? As

COMPATIBLE_HOST_mipsarchn32 = "null"
COMPATIBLE_HOST_mipsarchn64 = "null"

Andreas

>
> https://errors.yoctoproject.org/Errors/Details/296905/
>
> > Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> > ---
> >  .../gjs/gjs/0001-Disable-tests-on-host.patch  | 33 +++++++++++++++++
> >  meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb    | 37 +++++++++++++++++++
> >  2 files changed, 70 insertions(+)
> >  create mode 100644 meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> >  create mode 100644 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> >
> > diff --git a/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> > new file mode 100644
> > index 000000000..0953214fb
> > --- /dev/null
> > +++ b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> > @@ -0,0 +1,33 @@
> > +From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
> > +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
> > +Date: Sat, 18 May 2019 01:14:07 +0200
> > +Subject: [PATCH] Disable tests on host
> > +MIME-Version: 1.0
> > +Content-Type: text/plain; charset=UTF-8
> > +Content-Transfer-Encoding: 8bit
> > +
> > +Upstream-Status: Inappropriate [OE-specific]
> > +
> > +Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> > +---
> > + configure.ac | 4 +---
> > + 1 file changed, 1 insertion(+), 3 deletions(-)
> > +
> > +diff --git a/configure.ac b/configure.ac
> > +index fa4e136..056e96e 100644
> > +--- a/configure.ac
> > ++++ b/configure.ac
> > +@@ -335,9 +335,7 @@ AS_IF([test "x$with_dbus_tests" != "xno"], [
> > + ])
> > + AM_CONDITIONAL([DBUS_TESTS], [test "x$with_dbus_tests" != "xno"])
> > +
> > +-AC_MSG_CHECKING([for a suitable UTF-8 locale to run the tests in])
> > +-TESTS_LOCALE=$($srcdir/build/choose-tests-locale.sh)
> > +-AC_MSG_RESULT([$TESTS_LOCALE])
> > ++TESTS_LOCALE=C
> > + AC_SUBST([TESTS_LOCALE])
> > +
> > + AC_SUBST([gjsjsdir], [\${datadir}/gjs-1.0])
> > +--
> > +2.20.1
> > +
> > diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> > new file mode 100644
> > index 000000000..ddd5196b2
> > --- /dev/null
> > +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> > @@ -0,0 +1,37 @@
> > +SUMMARY = "Javascript bindings for GNOME"
> > +LICENSE = "MIT & LGPLv2+"
> > +LIC_FILES_CHKSUM = " \
> > +    file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \
> > +    file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \
> > +"
> > +
> > +GNOMEBASEBUILDCLASS = "autotools"
> > +
> > +DEPENDS = "mozjs gtk+3"
> > +
> > +inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
> > +
> > +SRC_URI[archive.md5sum] = "bce6dea9a6583a8b3c6af5854df76aaf"
> > +SRC_URI[archive.sha256sum] = "ca9fcd47b95ab0fc445301b2595e51fcea24d6f3cd87c190fe07006146d773ae"
> > +SRC_URI += "file://0001-Disable-tests-on-host.patch"
> > +
> > +# gobject-introspection is mandatory and cannot be configured
> > +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
> > +UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
> > +
> > +EXTRA_OECONF = " \
> > +    --without-dbus-tests \
> > +    --disable-installed-tests \
> > +"
> > +
> > +do_configure_prepend() {
> > +    # make configure find gobject-introspection test code. Although we set
> > +    # --disable-installed-tests gjs builds them
> > +    sed -i 's|:$GI_DATADIR|:${STAGING_DIR_NATIVE}$GI_DATADIR|g' ${S}/configure.ac
> > +}
> > +
> > +FILES_${PN} += "${datadir}/gjs-1.0/lsan"
> > +
> > +PACKAGES =+ "${PN}-valgrind"
> > +FILES_${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
> > +RSEPENDS_${PN}-valgrind += "valgrind"
> > --
> > 2.21.0
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 01/20] gjs: initial add 1.58.3
  2019-12-10 22:13     ` Andreas Müller
@ 2019-12-10 23:41       ` Khem Raj
  0 siblings, 0 replies; 28+ messages in thread
From: Khem Raj @ 2019-12-10 23:41 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Tue, Dec 10, 2019 at 2:13 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Tue, Dec 10, 2019 at 8:59 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Mon, Dec 9, 2019 at 12:36 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> > >
> > > * it is a dependency for upcoming gnome shell
> > > * this is the latest stable version currently [1]
> > >
> > > [1] http://ftp.gnome.org/pub/gnome/sources/gjs/1.63/gjs-1.63.1.news
> > >
> >
> > Managed to crash qemu on mips, that said it might be fine to mark this
> > incompatible with mips
> > since there might be fewer users needing it on mips arch
>
> So upgrade to 1.58.3 did not solve (did not really expect it).
>
> Shall I disable both? As
>
> COMPATIBLE_HOST_mipsarchn32 = "null"
> COMPATIBLE_HOST_mipsarchn64 = "null"
>

you could do for all mips arches with

COMPATIBLE_HOST_mipsarch = "null"

I dont know how ppc/riscv will turn out but we can keep adding
more disabling code like this as we see it.

> Andreas
>
> >
> > https://errors.yoctoproject.org/Errors/Details/296905/
> >
> > > Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> > > ---
> > >  .../gjs/gjs/0001-Disable-tests-on-host.patch  | 33 +++++++++++++++++
> > >  meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb    | 37 +++++++++++++++++++
> > >  2 files changed, 70 insertions(+)
> > >  create mode 100644 meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> > >  create mode 100644 meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> > >
> > > diff --git a/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> > > new file mode 100644
> > > index 000000000..0953214fb
> > > --- /dev/null
> > > +++ b/meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch
> > > @@ -0,0 +1,33 @@
> > > +From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
> > > +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
> > > +Date: Sat, 18 May 2019 01:14:07 +0200
> > > +Subject: [PATCH] Disable tests on host
> > > +MIME-Version: 1.0
> > > +Content-Type: text/plain; charset=UTF-8
> > > +Content-Transfer-Encoding: 8bit
> > > +
> > > +Upstream-Status: Inappropriate [OE-specific]
> > > +
> > > +Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> > > +---
> > > + configure.ac | 4 +---
> > > + 1 file changed, 1 insertion(+), 3 deletions(-)
> > > +
> > > +diff --git a/configure.ac b/configure.ac
> > > +index fa4e136..056e96e 100644
> > > +--- a/configure.ac
> > > ++++ b/configure.ac
> > > +@@ -335,9 +335,7 @@ AS_IF([test "x$with_dbus_tests" != "xno"], [
> > > + ])
> > > + AM_CONDITIONAL([DBUS_TESTS], [test "x$with_dbus_tests" != "xno"])
> > > +
> > > +-AC_MSG_CHECKING([for a suitable UTF-8 locale to run the tests in])
> > > +-TESTS_LOCALE=$($srcdir/build/choose-tests-locale.sh)
> > > +-AC_MSG_RESULT([$TESTS_LOCALE])
> > > ++TESTS_LOCALE=C
> > > + AC_SUBST([TESTS_LOCALE])
> > > +
> > > + AC_SUBST([gjsjsdir], [\${datadir}/gjs-1.0])
> > > +--
> > > +2.20.1
> > > +
> > > diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> > > new file mode 100644
> > > index 000000000..ddd5196b2
> > > --- /dev/null
> > > +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb
> > > @@ -0,0 +1,37 @@
> > > +SUMMARY = "Javascript bindings for GNOME"
> > > +LICENSE = "MIT & LGPLv2+"
> > > +LIC_FILES_CHKSUM = " \
> > > +    file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \
> > > +    file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \
> > > +"
> > > +
> > > +GNOMEBASEBUILDCLASS = "autotools"
> > > +
> > > +DEPENDS = "mozjs gtk+3"
> > > +
> > > +inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even
> > > +
> > > +SRC_URI[archive.md5sum] = "bce6dea9a6583a8b3c6af5854df76aaf"
> > > +SRC_URI[archive.sha256sum] = "ca9fcd47b95ab0fc445301b2595e51fcea24d6f3cd87c190fe07006146d773ae"
> > > +SRC_URI += "file://0001-Disable-tests-on-host.patch"
> > > +
> > > +# gobject-introspection is mandatory and cannot be configured
> > > +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
> > > +UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"
> > > +
> > > +EXTRA_OECONF = " \
> > > +    --without-dbus-tests \
> > > +    --disable-installed-tests \
> > > +"
> > > +
> > > +do_configure_prepend() {
> > > +    # make configure find gobject-introspection test code. Although we set
> > > +    # --disable-installed-tests gjs builds them
> > > +    sed -i 's|:$GI_DATADIR|:${STAGING_DIR_NATIVE}$GI_DATADIR|g' ${S}/configure.ac
> > > +}
> > > +
> > > +FILES_${PN} += "${datadir}/gjs-1.0/lsan"
> > > +
> > > +PACKAGES =+ "${PN}-valgrind"
> > > +FILES_${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
> > > +RSEPENDS_${PN}-valgrind += "valgrind"
> > > --
> > > 2.21.0
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55
  2019-12-10 21:53     ` Andreas Müller
@ 2019-12-10 23:47       ` Khem Raj
  2019-12-11  0:03         ` Andreas Müller
  0 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2019-12-10 23:47 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Tue, Dec 10, 2019 at 1:53 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Tue, Dec 10, 2019 at 8:57 PM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Mon, Dec 9, 2019 at 12:37 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> > >
> > > It is a dependency for upcoming gnome-control-center
> > >
> >
> > This seems to have hard dependency on systemd ? or can it be
> > configured without systemd as well see
> >
> > https://errors.yoctoproject.org/Errors/Details/296904/
> >
> > in case it can not, then we need to exclude it from parsing when
> > systemd is not in DISTRO_FEATURES
> For systemd not in PACKAGECONFIG it needs
> -Dsystemd_system_unit_dir='no' to avoid this error.
>
> Test would take some hours so my question: oe-core's master has
> already removed python2 from hosttools and to be honest I expect huge
> fallout all over. So my question: How much time do I still have for
> tests?

The python2 removal code is in my tree for few weeks, so your patches
should be testing against that already.

I have already built an image with gnome3 packagegrroups for
qemuarm64 it went fine. So its looking to be making good progress
thus far.

>
> Andreas


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55
  2019-12-10 23:47       ` Khem Raj
@ 2019-12-11  0:03         ` Andreas Müller
  0 siblings, 0 replies; 28+ messages in thread
From: Andreas Müller @ 2019-12-11  0:03 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Wed, Dec 11, 2019 at 12:47 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Tue, Dec 10, 2019 at 1:53 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
> >
> > On Tue, Dec 10, 2019 at 8:57 PM Khem Raj <raj.khem@gmail.com> wrote:
> > >
> > > On Mon, Dec 9, 2019 at 12:37 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> > > >
> > > > It is a dependency for upcoming gnome-control-center
> > > >
> > >
> > > This seems to have hard dependency on systemd ? or can it be
> > > configured without systemd as well see
> > >
> > > https://errors.yoctoproject.org/Errors/Details/296904/
> > >
> > > in case it can not, then we need to exclude it from parsing when
> > > systemd is not in DISTRO_FEATURES
> > For systemd not in PACKAGECONFIG it needs
> > -Dsystemd_system_unit_dir='no' to avoid this error.
> >
> > Test would take some hours so my question: oe-core's master has
> > already removed python2 from hosttools and to be honest I expect huge
> > fallout all over. So my question: How much time do I still have for
> > tests?
>
> The python2 removal code is in my tree for few weeks, so your patches
> should be testing against that already.
>
> I have already built an image with gnome3 packagegrroups for
> qemuarm64 it went fine. So its looking to be making good progress
> thus far.
>
Fantastic! Due to the fallout I saw in my other layers (meta-musicians
has loads of recipes with old code using very old waf - or even worse
waf as compiled binary..) I expected a 'game over' once that patch
lands.

Anyway patches go out in a few minutes.

Cheers

Andreas


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2019-12-11  0:03 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09  8:35 [PATCH][v3 00/20] Gnome cleanups & desktop patches Andreas Müller
2019-12-09  8:35 ` [PATCH][v3 01/20] gjs: initial add 1.58.3 Andreas Müller
2019-12-10 19:59   ` Khem Raj
2019-12-10 22:13     ` Andreas Müller
2019-12-10 23:41       ` Khem Raj
2019-12-09  8:35 ` [PATCH][v3 02/20] gdm: re-add 3.34.1 Andreas Müller
2019-12-09  8:35 ` [PATCH][v3 03/20] gnome-shell: initial add 3.34.1 Andreas Müller
2019-12-09  8:35 ` [PATCH][v3 04/20] gnome-shell-extensions: " Andreas Müller
2019-12-09  8:35 ` [PATCH][v3 05/20] accountsservice: initial add 0.6.55 Andreas Müller
2019-12-10 19:57   ` Khem Raj
2019-12-10 21:53     ` Andreas Müller
2019-12-10 23:47       ` Khem Raj
2019-12-11  0:03         ` Andreas Müller
2019-12-09  8:35 ` [PATCH][v3 06/20] rest: initial add 0.8.1 Andreas Müller
2019-12-09  8:35 ` [PATCH][v3 07/20] gnome-online-accounts: initial add 3.34.1 Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 08/20] gnome-control-center: re-add 3.34.1 Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 09/20] gnome-session: inital add 3.34.1 Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 10/20] gnome-panel: (re)add 3.34.1 Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 11/20] gnome-flashback: initial add 3.34.1 Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 12/20] Add: packagegroup-gnome-apps / packagegroup-gnome-desktop Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 13/20] glfw: add features_check to inherit Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 14/20] stalonetray: Add x11 to required distro feature Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 15/20] projucer: add x11 to required distro features Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 16/20] colord-gtk: add polkit " Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 17/20] yelp: add x11 " Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 18/20] file-roller: remove nautilus from DEPENDS Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 19/20] libgdata: add x11 to required distro features Andreas Müller
2019-12-09  8:36 ` [PATCH][v3 20/20] accountsservice: Hack musl build fix Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.