Skip to contentSkip to conversation

Gnome cleanups & desktop patches

PATCH In review Andreas Müller 2 participants 28 messages Dec 9, 2019 – Dec 11, 2019 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

v3 cover Gnome cleanups & desktop patches

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
Signature · 1 line
2.21.0
#1 lore raw

PATCH v3 1/20 gjs: initial add 1.58.3

* 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

---
 .../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
meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch new file +33 -0
new file mode 100644
index 000000000..0953214fb
@@ -0,0 +1,33 @@
+From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb new file +37 -0
new file mode 100644
index 000000000..ddd5196b2
@@ -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"
Signature · 1 line
2.21.0
#2 lore raw

Re: [PATCH][v3 01/20] gjs: initial add 1.58.3

Quoted 6 lines · Andreas Müller

* 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/

Quoted 98 lines
---
 .../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
meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch new file +33 -0
new file mode 100644
index 000000000..0953214fb
@@ -0,0 +1,33 @@
+From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb new file +37 -1
new file mode 100644
index 000000000..ddd5196b2
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Re: [PATCH][v3 01/20] gjs: initial add 1.58.3

Quoted 6 lines · Khem Raj
Quoted 4 lines · Andreas Müller

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

Quoted 6 lines
Quoted 2 lines

[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

Quoted 101 lines

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

Quoted 98 lines
---
 .../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
meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch new file +33 -0
new file mode 100644
index 000000000..0953214fb
@@ -0,0 +1,33 @@
+From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb new file +37 -1
new file mode 100644
index 000000000..ddd5196b2
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

Re: [PATCH][v3 01/20] gjs: initial add 1.58.3

Quoted 15 lines · Andreas Müller
Quoted 6 lines · Khem Raj
Quoted 4 lines · Andreas Müller

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

Quoted 6 lines
Quoted 2 lines

[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

Quoted 7 lines

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.

Quoted 103 lines

Andreas

Quoted 101 lines

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

Quoted 98 lines
---
 .../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
meta-gnome/recipes-gnome/gjs/gjs/0001-Disable-tests-on-host.patch new file +33 -0
new file mode 100644
index 000000000..0953214fb
@@ -0,0 +1,33 @@
+From 95379de2132786f855e8caec1fd5869225774d02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gjs/gjs_1.58.3.bb new file +37 -1
new file mode 100644
index 000000000..ddd5196b2
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw

PATCH v3 2/20 gdm: re-add 3.34.1

In reply to Andreas Müller

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.

---
 .../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
meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch new file +48 -0
new file mode 100644
index 000000000..6362d5ee6
@@ -0,0 +1,48 @@
+From f7bba53adf8a26f900442a05bb98326747c392b4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gdm/gdm_3.34.1.bb new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.21.0
#6 lore raw

PATCH v3 3/20 gnome-shell: initial add 3.34.1

In reply to Andreas Müller
---
 .../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
meta-gnome/recipes-gnome/gnome-shell/gnome-shell_3.34.1.bb new file +64 -0
new file mode 100644
index 000000000..d0b3af83d
@@ -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"
+
Signature · 1 line
2.21.0
#7 lore raw

PATCH v3 4/20 gnome-shell-extensions: initial add 3.34.1

In reply to Andreas Müller
---
 .../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
meta-gnome/recipes-gnome/gnome-shell/gnome-shell-extensions_3.34.1.bb new file +29 -0
new file mode 100644
index 000000000..8625a7b32
@@ -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 \
+"
Signature · 1 line
2.21.0
#8 lore raw

PATCH v3 5/20 accountsservice: initial add 0.6.55

In reply to Andreas Müller

It is a dependency for upcoming gnome-control-center

---
 .../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
meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb new file +29 -0
new file mode 100644
index 000000000..bf603b3bc
@@ -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 \
+"
Signature · 1 line
2.21.0
#9 lore raw

Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55

Quoted 3 lines · Andreas Müller

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

Quoted 49 lines
---
 .../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
meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb new file +29 -1
new file mode 100644
index 000000000..bf603b3bc
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#10 lore raw

Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55

Quoted 6 lines · Khem Raj
Quoted 3 lines · Andreas Müller

It is a dependency for upcoming gnome-control-center

Quoted 7 lines

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

#11 lore raw

Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55

Quoted 15 lines · Andreas Müller
Quoted 6 lines · Khem Raj
Quoted 3 lines · Andreas Müller

It is a dependency for upcoming gnome-control-center

Quoted 7 lines

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

Quoted 7 lines

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.

Quoted 2 lines

Andreas

#12 lore raw

Re: [PATCH][v3 05/20] accountsservice: initial add 0.6.55

Quoted 25 lines · Khem Raj
Quoted 15 lines · Andreas Müller
Quoted 6 lines · Khem Raj
Quoted 3 lines · Andreas Müller

It is a dependency for upcoming gnome-control-center

Quoted 7 lines

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

Quoted 7 lines

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?

Quoted 7 lines

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

#13 lore raw

PATCH v3 6/20 rest: initial add 0.8.1

In reply to Andreas Müller

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

---
 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
meta-gnome/recipes-gnome/rest/rest_0.8.1.bb new file +33 -0
new file mode 100644
index 000000000..33b8744eb
@@ -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"
+}
+
Signature · 1 line
2.21.0
#14 lore raw

PATCH v3 7/20 gnome-online-accounts: initial add 3.34.1

In reply to Andreas Müller

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

---
 .../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
meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.34.1.bb new file +35 -0
new file mode 100644
index 000000000..74d71ec81
@@ -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"
Signature · 1 line
2.21.0
#15 lore raw

PATCH v3 8/20 gnome-control-center: re-add 3.34.1

In reply to Andreas Müller
---
 ...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
meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch new file +45 -0
new file mode 100644
index 000000000..7f82a152c
@@ -0,0 +1,45 @@
+From ba8aebe1259ae3f7f5a4827e5a47bb95c568b218 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_3.34.1.bb new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
2.21.0
#16 lore raw

PATCH v3 9/20 gnome-session: inital add 3.34.1

In reply to Andreas Müller
---
 .../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
meta-gnome/recipes-gnome/gnome-session/gnome-session_3.34.1.bb new file +39 -0
new file mode 100644
index 000000000..e1bf16b5c
@@ -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"
Signature · 1 line
2.21.0
#17 lore raw

PATCH v3 10/20 gnome-panel: (re)add 3.34.1

In reply to Andreas Müller

It is required for gnome-flashback

---
 ...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
meta-gnome/recipes-gnome/gnome-panel/gnome-panel/0001-Do-not-try-to-find-ZONEINFO-it-tries-to-run-compiled.patch new file +37 -0
new file mode 100644
index 000000000..6ab4daf02
@@ -0,0 +1,37 @@
+From d4b2f0922dfdd6040e5e9f62a2565452cf855c42 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gnome-panel/gnome-panel_3.34.1.bb new file +28 -0
new file mode 100644
index 000000000..4d5fdb65a
@@ -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"
Signature · 1 line
2.21.0
#18 lore raw

PATCH v3 11/20 gnome-flashback: initial add 3.34.1

In reply to Andreas Müller

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

---
 .../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
meta-gnome/recipes-gnome/gnome-flashback/gnome-flashback_3.34.1.bb new file +34 -0
new file mode 100644
index 000000000..637f83715
@@ -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"
Signature · 1 line
2.21.0
#19 lore raw

PATCH v3 12/20 Add: packagegroup-gnome-apps / packagegroup-gnome-desktop

In reply to Andreas Müller
---
 .../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
meta-gnome/recipes-support/packagegroups/packagegroup-gnome-apps.bb new file +19 -0
new file mode 100644
index 000000000..642e02680
@@ -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)} \
+"
meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb new file +26 -0
new file mode 100644
index 000000000..e27678c89
@@ -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 \
+"
Signature · 1 line
2.21.0
#20 lore raw

PATCH v3 13/20 glfw: add features_check to inherit

In reply to Andreas Müller

Without this REQUIRED_DISTRO_FEATURES is a noop

---
 meta-oe/recipes-core/glfw/glfw_3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/glfw/glfw_3.3.bb +1 -1
index e3853a201..da2bae37a 100644
@@ -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"
Signature · 1 line
2.21.0
#21 lore raw

PATCH v3 14/20 stalonetray: Add x11 to required distro feature

In reply to Andreas Müller

It depends on virtual/libx11

---
 meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb +3 -1
index 8851729f5..7db70ec96 100644
@@ -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"
Signature · 1 line
2.21.0
#22 lore raw

PATCH v3 15/20 projucer: add x11 to required distro features

In reply to Andreas Müller

It depends on many X11-libs

---
 meta-multimedia/recipes-multimedia/juce/projucer.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-multimedia/recipes-multimedia/juce/projucer.inc +3 -1
index 60bd0e24b..fc8baa45b 100644
@@ -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"
Signature · 1 line
2.21.0
#23 lore raw

PATCH v3 16/20 colord-gtk: add polkit to required distro features

In reply to Andreas Müller
---
 meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-gnome/recipes-support/colord-gtk/colord-gtk_0.2.0.bb +4 -0
index 8f6cd0431..7845509ba 100644
@@ -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"
Signature · 1 line
2.21.0
#24 lore raw

PATCH v3 17/20 yelp: add x11 to required distro features

In reply to Andreas Müller
---
 meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/yelp/yelp_3.34.0.bb +4 -1
index f6311965e..348727e44 100644
@@ -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"
Signature · 1 line
2.21.0
#25 lore raw

PATCH v3 18/20 file-roller: remove nautilus from DEPENDS

In reply to Andreas Müller

nautilus is added by PACKAGECONFIG[nautilus] conditionally

---
 meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb | 1 -
 1 file changed, 1 deletion(-)
meta-gnome/recipes-gnome/file-roller/file-roller_3.32.2.bb +0 -1
index 7dcf3e9ec..54acb6039 100644
@@ -7,7 +7,6 @@ GNOMEBASEBUILDCLASS = "meson"
 DEPENDS = " \
     glib-2.0-native \
     gtk+3 \
-    nautilus \
     libarchive \
     libnotify \
 "
Signature · 1 line
2.21.0
#26 lore raw

PATCH v3 19/20 libgdata: add x11 to required distro features

In reply to Andreas Müller
---
 meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/libgdata/libgdata_0.17.10.bb +4 -1
index 7bedd87ad..8e8e12b38 100644
@@ -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"
Signature · 1 line
2.21.0
#27 lore raw

PATCH v3 20/20 accountsservice: Hack musl build fix

In reply to Andreas Müller
---
 .../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
meta-gnome/recipes-support/accountsservice/accountsservice/0001-musl-Hack-to-fix-build.patch new file +36 -0
new file mode 100644
index 000000000..c2310fe46
@@ -0,0 +1,36 @@
+From 2a1c7103839c20df5ca9ce2fa863535d802f8f3a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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
+
meta-gnome/recipes-support/accountsservice/accountsservice/0002-musl-add-missing-fgetspent_r.patch new file +46 -0

46 lines not on this page · raw message

meta-gnome/recipes-support/accountsservice/accountsservice_0.6.55.bb +4 -0
index bf603b3bc..36fecfe11 100644
@@ -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"
 
Signature · 1 line
2.21.0