[meta-gnome][PATCHv2 06/14] mutter: update 42.0 -> 43.1
Markus Volk
- build with gtk4
Signed-off-by: Markus Volk <f_l_k@...> --- .../mutter/{mutter_42.0.bb =3D> mutter_43.1.bb} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename meta-gnome/recipes-gnome/mutter/{mutter_42.0.bb =3D> mutter_43.1.= bb} (92%) diff --git a/meta-gnome/recipes-gnome/mutter/mutter_42.0.bb b/meta-gnome/= recipes-gnome/mutter/mutter_43.1.bb similarity index 92% rename from meta-gnome/recipes-gnome/mutter/mutter_42.0.bb rename to meta-gnome/recipes-gnome/mutter/mutter_43.1.bb index 785536280..9b764c666 100644 --- a/meta-gnome/recipes-gnome/mutter/mutter_42.0.bb +++ b/meta-gnome/recipes-gnome/mutter/mutter_43.1.bb @@ -7,7 +7,7 @@ DEPENDS =3D " \ wayland-native \ virtual/libx11 \ graphene \ - gtk+3 \ + gtk4 \ gdk-pixbuf \ cairo \ pango \ @@ -17,7 +17,7 @@ DEPENDS =3D " \ gnome-settings-daemon \ libxtst \ libxkbfile \ - xinerama \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xinerama', '', d)} \ xwayland \ " =20 @@ -25,7 +25,7 @@ GNOMEBASEBUILDCLASS =3D "meson" =20 inherit gnomebase gsettings gobject-introspection gettext features_check =20 -SRC_URI[archive.sha256sum] =3D "d1e240446b7f8cd8a3ff9daae336c1c9016193ba= 7e0769c79a5e6c03849022e5" +SRC_URI[archive.sha256sum] =3D "f2f08b252783948a5ecc82f00e9e935a61ebbf85= 64844bdd92788ab44aa78264" =20 # x11 is still manadatory - see meson.build REQUIRED_DISTRO_FEATURES =3D "wayland x11 polkit" @@ -60,7 +60,7 @@ PACKAGECONFIG[sm] =3D "-Dsm=3Dtrue, -Dsm=3Dfalse, libsm= " PACKAGECONFIG[profiler] =3D "-Dprofiler=3Dtrue,-Dprofiler=3Dfalse,syspro= f" PACKAGECONFIG[startup-notification] =3D "-Dstartup_notification=3Dtrue, = -Dstartup_notification=3Dfalse, startup-notification, startup-notificatio= n" =20 -MUTTER_API_NAME =3D "mutter-10" +MUTTER_API_NAME =3D "mutter-11" =20 do_install:append() { # Add gir links in standard paths. That makes dependents life much e= asier @@ -78,6 +78,7 @@ PACKAGES =3D+ "${PN}-tests ${PN}-gsettings" =20 FILES:${PN} +=3D " \ ${datadir}/gnome-control-center \ + ${datadir}/gir-1.0 \ ${libdir}/${MUTTER_API_NAME}/lib*${SOLIBS} \ ${libdir}/${MUTTER_API_NAME}/*.typelib \ ${libdir}/${MUTTER_API_NAME}/plugins \ --=20 2.34.1 |
|
[meta-gnome][PATCHv2 05/14] libgdata: use gcr3
Markus Volk
Signed-off-by: Markus Volk <f_l_k@...>
--- meta-gnome/recipes-gnome/libgdata/libgdata_0.18.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/libgdata/libgdata_0.18.1.bb b/meta-= gnome/recipes-gnome/libgdata/libgdata_0.18.1.bb index bd9180e8a..126ef712d 100644 --- a/meta-gnome/recipes-gnome/libgdata/libgdata_0.18.1.bb +++ b/meta-gnome/recipes-gnome/libgdata/libgdata_0.18.1.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM =3D "file://COPYING;md5=3Dfbc093901857fc= d118f065f900982c24 \ file://gdata/gdata.h;endline=3D20;md5=3D079a554efcf6= 5d46f96a515806e7e99a \ file://gdata/gdata-types.h;endline=3D20;md5=3D7399b1= 11aac8718da13888fc634be6ef" =20 -DEPENDS =3D "libxml2 glib-2.0 libsoup-2.4 intltool-native liboauth gcr j= son-glib" +DEPENDS =3D "libxml2 glib-2.0 libsoup-2.4 intltool-native liboauth gcr3 = json-glib" =20 GTKDOC_MESON_OPTION =3D "gtk_doc" GNOMEBASEBUILDCLASS =3D "meson" --=20 2.34.1 |
|
[meta-gnome][PATCHv2 04/14] gjs: update 1.72.2 -> 1.75.1
Markus Volk
- build with mozjs-102
Signed-off-by: Markus Volk <f_l_k@...> --- meta-gnome/recipes-gnome/gjs/{gjs_1.72.2.bb =3D> gjs_1.75.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-gnome/recipes-gnome/gjs/{gjs_1.72.2.bb =3D> gjs_1.75.1.bb} (= 90%) diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.72.2.bb b/meta-gnome/reci= pes-gnome/gjs/gjs_1.75.1.bb similarity index 90% rename from meta-gnome/recipes-gnome/gjs/gjs_1.72.2.bb rename to meta-gnome/recipes-gnome/gjs/gjs_1.75.1.bb index 317034156..b2c2b583b 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.72.2.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.75.1.bb @@ -4,11 +4,11 @@ LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D8dcea832f6ac= f45d856abfeb2d51ec48" =20 GNOMEBASEBUILDCLASS =3D "meson" =20 -DEPENDS =3D "mozjs-91 cairo" +DEPENDS =3D "mozjs-102 cairo" =20 inherit gnomebase gsettings gobject-introspection vala gettext features_= check upstream-version-is-even pkgconfig =20 -SRC_URI[archive.sha256sum] =3D "ddee379bdc5a7d303a5d894be2b281beb8ac5450= 8604e7d3f20781a869da3977" +SRC_URI[archive.sha256sum] =3D "81dcdf49d2665d08fa7e251700ea36466d778774= 18e9186d3a7e7efcd31aa960" SRC_URI +=3D " \ file://0001-Support-cross-builds-a-bit-better.patch \ file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.pat= ch \ --=20 2.34.1 |
|
[meta-gnome][PATCHv2 03/14] evolution-data-server: update 3.44.2 -> 3.46.1
Markus Volk
- build with libsoup-3.0
- dont add gtk4 exclusively, because some projects still stick to gcr3 Signed-off-by: Markus Volk <f_l_k@...> --- .../evolution-data-server.bb | 17 +++++++++-------- .../evolution-data-server.inc | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-dat= a-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-da= ta-server.bb index 64774b0fe..681ff677a 100644 --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.bb +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.bb @@ -2,8 +2,8 @@ require ${BPN}.inc =20 DEPENDS =3D " \ ${BPN}-native intltool-native gperf-native \ - glib-2.0 gtk+3 libgdata libxml2 icu \ - dbus db virtual/libiconv zlib libsoup-2.4 libical nss libsecret \ + glib-2.0 gtk+3 gtk4 libgdata libxml2 icu \ + dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \ " =20 inherit pkgconfig gsettings gobject-introspection features_check cmake g= tk-doc gettext perlnative vala @@ -24,10 +24,6 @@ LKSTRFTIME:libc-musl =3D "HAVE_LKSTRFTIME=3DOFF" =20 EXTRA_OECMAKE =3D " \ -DSYSCONF_INSTALL_DIR=3D${sysconfdir} \ - -DWITH_KRB5=3DOFF \ - -DENABLE_GOA=3DOFF \ - -DENABLE_GOOGLE_AUTH=3DOFF \ - -DENABLE_WEATHER=3DOFF \ -DVAPIGEN=3D${STAGING_BINDIR_NATIVE}/vapigen \ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECT= ION=3DON -DENABLE_VALA_BINDINGS=3DON', '-DENABLE_INTROSPECTION=3DOFF', d)= } \ -D${LKSTRFTIME} \ @@ -37,13 +33,18 @@ EXTRA_OECMAKE =3D " \ EXTRA_OECMAKE:append:class-target =3D " -DG_IR_COMPILER=3D${STAGING_BIND= IR}/g-ir-compiler-wrapper" EXTRA_OECMAKE:append:class-target =3D " -DG_IR_SCANNER=3D${STAGING_BINDI= R}/g-ir-scanner-wrapper" =20 +PACKAGECONFIG ?=3D "oauth" + PACKAGECONFIG[canberra] =3D "-DENABLE_CANBERRA=3DON,-DENABLE_CANBERRA=3D= OFF,libcanberra" -PACKAGECONFIG[oauth] =3D "-DENABLE_OAUTH2=3DON,-DENABLE_OAUTH2=3DOFF,= webkitgtk json-glib" +# ENABLE_OAUTH2_WEBKITGTK4 would require webkit to be built with gtk4 +PACKAGECONFIG[oauth] =3D "-DENABLE_OAUTH2_WEBKITGTK=3DON -DENABLE_OAU= TH2_WEBKITGTK4=3DOFF,-DENABLE_OAUTH2_WEBKITGTK=3DOFF,webkitgtk json-glib" PACKAGECONFIG[goa] =3D "-DENABLE_GOA=3DON,-DENABLE_GOA=3DOFF,gnome-on= line-accounts" - +PACKAGECONFIG[kerberos] =3D "-DWITH_KRB5=3DON,-DWITH_KRB5=3DOFF,krb5" # BROKEN: due missing pkg-config in openldap eds' cmake finds host-libs = when # searching for openldap-libs PACKAGECONFIG[openldap] =3D "-DWITH_OPENLDAP=3DON,-DWITH_OPENLDAP=3DOFF,= openldap" +PACKAGECONFIG[weather] =3D "-DENABLE_WEATHER=3DON,-DENABLE_WEATHER=3DOFF= ,libgweather4" + =20 # -ldb needs this on some platforms LDFLAGS +=3D "-lpthread -lgmodule-2.0 -lgthread-2.0" diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-dat= a-server.inc b/meta-gnome/recipes-gnome/evolution-data-server/evolution-d= ata-server.inc index 78efee004..e3c09f211 100644 --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.inc +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.inc @@ -9,5 +9,5 @@ LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D6a6e689d19255c= f0557f3fe7d7068212 \ =20 inherit gnomebase upstream-version-is-even =20 -SRC_URI[archive.sha256sum] =3D "2ed72afe4d6bb170f8728faea0907fee10212dfd= e7a9fab82fbcc83d0f22f028" -PV =3D "3.44.2" +SRC_URI[archive.sha256sum] =3D "c55e72cff4190b42e63dd6eabc6dce48a1a1f790= 40531f1af6d51c1efa4aa6eb" +PV =3D "3.46.1" --=20 2.34.1 |
|
[meta-gnome][PATCHv2 02/14] geocode-glib: build with libsoup-3.0
Markus Volk
Signed-off-by: Markus Volk <f_l_k@...>
--- meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb= b/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb index 2b1ecad97..42659d0f6 100644 --- a/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb +++ b/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb @@ -11,9 +11,9 @@ inherit gnomebase gobject-introspection gettext gtk-doc= upstream-version-is-even =20 DEPENDS =3D " \ json-glib \ - libsoup-2.4 \ + libsoup-3.0 \ " =20 SRC_URI[archive.sha256sum] =3D "2d9a6826d158470449a173871221596da0f83ebd= cff98b90c7049089056a37aa" =20 -EXTRA_OEMESON =3D "-Denable-installed-tests=3Dfalse" +EXTRA_OEMESON =3D "-Denable-installed-tests=3Dfalse -Dsoup2=3Dfalse" --=20 2.34.1 |
|
[meta-gnome][PATCHv2 01/14] libgweather: update 4.0.0 -> 4.2.0
Markus Volk
- use gtk4
- build with libsoup-3.0 Signed-off-by: Markus Volk <f_l_k@...> --- ...w-building-gir-in-cross-environments.patch | 21 +++++++------------ ...eather4_4.0.0.bb => libgweather4_4.2.0.bb} | 6 +++--- 2 files changed, 10 insertions(+), 17 deletions(-) rename meta-gnome/recipes-gnome/libgweather/{libgweather4_4.0.0.bb => libgweather4_4.2.0.bb} (82%) diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch b/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch index 6c6a643ed..3a075de65 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch @@ -11,23 +11,16 @@ For us this works perfectly fine Upstream-Status: Inappropriate [OE-specific] Signed-off-by: Andreas Müller <schnitzeltony@...> ---- - libgweather/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) +Signed-off-by: Markus Volk <f_l_k@...> -diff --git a/libgweather/meson.build b/libgweather/meson.build -index 08311af..ef554f2 100644 ---- a/libgweather/meson.build -+++ b/libgweather/meson.build -@@ -208,7 +208,7 @@ lib_libgweather = library('gweather-4', - ) +--- a/meson.build 2022-09-18 14:48:53.000000000 +0200 ++++ b/meson.build 2022-11-26 14:05:13.302487232 +0100 +@@ -51,7 +51,7 @@ + gen_locations_variant = find_program('build-aux/meson/gen_locations_variant.py') g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection')) -build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build() +build_gir = get_option('introspection') and g_ir_scanner.found() + build_docs = get_option('gtk_doc') and build_gir - enable_vala = get_option('enable_vala') - vapigen = find_program('vapigen', required: enable_vala == 'true') --- -2.34.1 - + schemas_srcdir = meson.project_source_root() / 'schemas' diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.0.0.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb similarity index 82% rename from meta-gnome/recipes-gnome/libgweather/libgweather4_4.0.0.bb rename to meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb index 708d27a61..34d259ff3 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.0.0.bb +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb @@ -10,15 +10,15 @@ S = "${WORKDIR}/${GNOMEBN}-${PV}" inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch" -SRC_URI[archive.sha256sum] = "440d44801b6f72b48c676e5e37f9109cfee1394fd74cc92725e1b1ba4fae834c" +SRC_URI[archive.sha256sum] = "af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203" GTKDOC_MESON_OPTION = "gtk_doc" DEPENDS = " \ geocode-glib \ - gtk+3 \ + gtk4 \ json-glib \ - libsoup-2.4 \ + libsoup-3.0 \ python3-pygobject-native \ " -- 2.34.1 |
|
Re: [meta-gnome][PATCH 1/4] geary: use gtk4 by default
Markus Volk
Am Sa, 26. Nov 2022 um 14:16:09 +0100 schrieb Markus Volk <f_l_k@...>:
The geary patch is wrong. I updated gnome-shell this afternoon and needed to update some more gnome recipes. I think its best to drop this 4 patches. I'll send a v2 and will include them. Will be quite an invasive change and also would need patching in oe-core. No hurry for merging them. |
|
Re: [meta-oe][kirkstone][PATCH 1/1] Nodejs - Upgrade to 16.18.1
On 11/24/22 2:18 PM, Martin Jansa wrote:
On Thu, Nov 24, 2022 at 7:06 PM Randy MacLeod <randy.macleod@...> wrote:Noted. will remove from kirkstone-next -armin
|
|
[meta-gnome][PATCH 4/4] evolution-data-server: update 3.44.2 -> 3.46.1
Markus Volk
- build with libsoup-3.0
- use gtk4 Signed-off-by: Markus Volk <f_l_k@...> --- .../evolution-data-server.bb | 17 +++++++++-------- .../evolution-data-server.inc | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-dat= a-server.bb b/meta-gnome/recipes-gnome/evolution-data-server/evolution-da= ta-server.bb index 64774b0fe..6a631d20b 100644 --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.bb +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.bb @@ -2,8 +2,8 @@ require ${BPN}.inc =20 DEPENDS =3D " \ ${BPN}-native intltool-native gperf-native \ - glib-2.0 gtk+3 libgdata libxml2 icu \ - dbus db virtual/libiconv zlib libsoup-2.4 libical nss libsecret \ + glib-2.0 gtk4 libgdata libxml2 icu \ + dbus db virtual/libiconv zlib libsoup-3.0 libical nss libsecret \ " =20 inherit pkgconfig gsettings gobject-introspection features_check cmake g= tk-doc gettext perlnative vala @@ -24,10 +24,6 @@ LKSTRFTIME:libc-musl =3D "HAVE_LKSTRFTIME=3DOFF" =20 EXTRA_OECMAKE =3D " \ -DSYSCONF_INSTALL_DIR=3D${sysconfdir} \ - -DWITH_KRB5=3DOFF \ - -DENABLE_GOA=3DOFF \ - -DENABLE_GOOGLE_AUTH=3DOFF \ - -DENABLE_WEATHER=3DOFF \ -DVAPIGEN=3D${STAGING_BINDIR_NATIVE}/vapigen \ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECT= ION=3DON -DENABLE_VALA_BINDINGS=3DON', '-DENABLE_INTROSPECTION=3DOFF', d)= } \ -D${LKSTRFTIME} \ @@ -37,13 +33,18 @@ EXTRA_OECMAKE =3D " \ EXTRA_OECMAKE:append:class-target =3D " -DG_IR_COMPILER=3D${STAGING_BIND= IR}/g-ir-compiler-wrapper" EXTRA_OECMAKE:append:class-target =3D " -DG_IR_SCANNER=3D${STAGING_BINDI= R}/g-ir-scanner-wrapper" =20 +PACKAGECONFIG ?=3D "" + PACKAGECONFIG[canberra] =3D "-DENABLE_CANBERRA=3DON,-DENABLE_CANBERRA=3D= OFF,libcanberra" -PACKAGECONFIG[oauth] =3D "-DENABLE_OAUTH2=3DON,-DENABLE_OAUTH2=3DOFF,= webkitgtk json-glib" +# for builtin oauth authentification webkitgtk needs to be built with gt= k4 also. +PACKAGECONFIG[oauth] =3D "-DENABLE_OAUTH2_WEBKITGTK4=3DON,-DENABLE_OA= UTH2_WEBKITGTK4=3DOFF,webkitgtk json-glib" PACKAGECONFIG[goa] =3D "-DENABLE_GOA=3DON,-DENABLE_GOA=3DOFF,gnome-on= line-accounts" - +PACKAGECONFIG[kerberos] =3D "-DWITH_KRB5=3DON,-DWITH_KRB5=3DOFF,krb5" # BROKEN: due missing pkg-config in openldap eds' cmake finds host-libs = when # searching for openldap-libs PACKAGECONFIG[openldap] =3D "-DWITH_OPENLDAP=3DON,-DWITH_OPENLDAP=3DOFF,= openldap" +PACKAGECONFIG[weather] =3D "-DENABLE_WEATHER=3DON,-DENABLE_WEATHER=3DOFF= ,libgweather4" + =20 # -ldb needs this on some platforms LDFLAGS +=3D "-lpthread -lgmodule-2.0 -lgthread-2.0" diff --git a/meta-gnome/recipes-gnome/evolution-data-server/evolution-dat= a-server.inc b/meta-gnome/recipes-gnome/evolution-data-server/evolution-d= ata-server.inc index 78efee004..e3c09f211 100644 --- a/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.inc +++ b/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-serve= r.inc @@ -9,5 +9,5 @@ LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D6a6e689d19255c= f0557f3fe7d7068212 \ =20 inherit gnomebase upstream-version-is-even =20 -SRC_URI[archive.sha256sum] =3D "2ed72afe4d6bb170f8728faea0907fee10212dfd= e7a9fab82fbcc83d0f22f028" -PV =3D "3.44.2" +SRC_URI[archive.sha256sum] =3D "c55e72cff4190b42e63dd6eabc6dce48a1a1f790= 40531f1af6d51c1efa4aa6eb" +PV =3D "3.46.1" --=20 2.34.1 |
|
[meta-gnome][PATCH 3/4] geocode-glib: build with libsoup-3.0
Markus Volk
Signed-off-by: Markus Volk <f_l_k@...>
--- meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb= b/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb index 2b1ecad97..42659d0f6 100644 --- a/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb +++ b/meta-gnome/recipes-gnome/geocode-glib/geocode-glib_3.26.4.bb @@ -11,9 +11,9 @@ inherit gnomebase gobject-introspection gettext gtk-doc= upstream-version-is-even =20 DEPENDS =3D " \ json-glib \ - libsoup-2.4 \ + libsoup-3.0 \ " =20 SRC_URI[archive.sha256sum] =3D "2d9a6826d158470449a173871221596da0f83ebd= cff98b90c7049089056a37aa" =20 -EXTRA_OEMESON =3D "-Denable-installed-tests=3Dfalse" +EXTRA_OEMESON =3D "-Denable-installed-tests=3Dfalse -Dsoup2=3Dfalse" --=20 2.34.1 |
|
[meta-gnome][PATCH 2/4] libgweather: update 4.0.0 -> 4.2.0
Markus Volk
- use gtk4
- build with libsoup-3.0 Signed-off-by: Markus Volk <f_l_k@...> --- ...w-building-gir-in-cross-environments.patch | 21 +++++++------------ ...eather4_4.0.0.bb => libgweather4_4.2.0.bb} | 6 +++--- 2 files changed, 10 insertions(+), 17 deletions(-) rename meta-gnome/recipes-gnome/libgweather/{libgweather4_4.0.0.bb => libgweather4_4.2.0.bb} (82%) diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch b/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch index 6c6a643ed..3a075de65 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4/0001-Allow-building-gir-in-cross-environments.patch @@ -11,23 +11,16 @@ For us this works perfectly fine Upstream-Status: Inappropriate [OE-specific] Signed-off-by: Andreas Müller <schnitzeltony@...> ---- - libgweather/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) +Signed-off-by: Markus Volk <f_l_k@...> -diff --git a/libgweather/meson.build b/libgweather/meson.build -index 08311af..ef554f2 100644 ---- a/libgweather/meson.build -+++ b/libgweather/meson.build -@@ -208,7 +208,7 @@ lib_libgweather = library('gweather-4', - ) +--- a/meson.build 2022-09-18 14:48:53.000000000 +0200 ++++ b/meson.build 2022-11-26 14:05:13.302487232 +0100 +@@ -51,7 +51,7 @@ + gen_locations_variant = find_program('build-aux/meson/gen_locations_variant.py') g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection')) -build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build() +build_gir = get_option('introspection') and g_ir_scanner.found() + build_docs = get_option('gtk_doc') and build_gir - enable_vala = get_option('enable_vala') - vapigen = find_program('vapigen', required: enable_vala == 'true') --- -2.34.1 - + schemas_srcdir = meson.project_source_root() / 'schemas' diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.0.0.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb similarity index 82% rename from meta-gnome/recipes-gnome/libgweather/libgweather4_4.0.0.bb rename to meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb index 708d27a61..34d259ff3 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.0.0.bb +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb @@ -10,15 +10,15 @@ S = "${WORKDIR}/${GNOMEBN}-${PV}" inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch" -SRC_URI[archive.sha256sum] = "440d44801b6f72b48c676e5e37f9109cfee1394fd74cc92725e1b1ba4fae834c" +SRC_URI[archive.sha256sum] = "af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203" GTKDOC_MESON_OPTION = "gtk_doc" DEPENDS = " \ geocode-glib \ - gtk+3 \ + gtk4 \ json-glib \ - libsoup-2.4 \ + libsoup-3.0 \ python3-pygobject-native \ " -- 2.34.1 |
|
[meta-gnome][PATCH 1/4] geary: use gtk4 by default
Markus Volk
---
meta-gnome/recipes-connectivity/geary/geary_43.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-gnome/recipes-connectivity/geary/geary_43.0.bb b/meta-g= nome/recipes-connectivity/geary/geary_43.0.bb index 8dd0ea67d..6d18867cf 100644 --- a/meta-gnome/recipes-connectivity/geary/geary_43.0.bb +++ b/meta-gnome/recipes-connectivity/geary/geary_43.0.bb @@ -15,7 +15,7 @@ DEPENDS =3D " \ gnome-online-accounts \ gsound \ gspell \ - gtk+3 \ + gtk4 \ icu \ iso-codes \ json-glib \ --=20 2.34.1 |
|
Re: [master][PATCH v2] python3-inotify: add ptest
Qiu, Zheng
While further investigating it, I start doubting if the tests are failing because of some issue in the base code.
Furthermore, if I remember correctly, there are actually more failing tests with later commits.
I will double-check to find the best strategy.
|
|
Re: langdale merge request Nov 24th
merged thanks
toggle quoted message
Show quoted text
On Thu, Nov 24, 2022 at 4:16 AM akuster808 <akuster808@...> wrote:
|
|
Re: [master][PATCH v2] python3-inotify: add ptest
On 2022-11-25 14:56, Zheng Qiu wrote:
Add ptest provided from the source code, and run it using pytest.As you mentioned elsewhere: The two of the test are trying to make notifification using the package when a new directory has been created or a directory has been renamed. The issue occurs because the result in a list (i.e. ['IN_ISDIR', 'IN_CREATE']) is in different order but contains same components. The other test that is always failing is a test that makes a directory and trying to access those directories. The test is failing because a bunch of “width” variable is not as expected. so while the tests should be fixed, they don't seem to problems with the underlying functionality. We'll send fixes to upstream should they ever come out of open source hibernation. I still think we should use the git/HEAD as I'm suggested in other email. ../Randy Signed-off-by: Zheng Qiu <zheng.qiu@...>-- # Randy MacLeod # Wind River Linux |
|
Re: [master][PATCH] python3-inotify: add ptest -> v2 please
Qiu, Zheng
I will submit another patch for this…because I am worried about if some commit in between will produce further bugs.
This package seems like have very limited support right now.
|
|
Re: [master][PATCH] python3-inotify: add ptest -> v2 please
On 2022-11-25 14:55, Qiu, Zheng wrote:
Hmmm, here are the commits, most of which don't affect runtime:Will change it to the head of 0.2.10This is the current head, which is fine but add a note in the long log $ git log --oneline 0.2.10... f77596a (HEAD -> master, origin/master, origin/HEAD) Add Dockerfile 9be6a51 Fix constant in adapter to match with DELETE events ^^^^^-------- seems like a bug fix that we should pick up. <<---- 269d541 etup.cfg: Add missing newline 8e79335 tests/test_inotify.py: Canonicalize import f844ea2 Added setup.cfg option to make bdist_wheel create a universal wheel. 53fd4ea Increase test coverage of Inotify initializer (#76) 0d802dc Update README.rst f0d5b98 Update README.rst 9075acc Fix for issue #66, removing 'nose' as a production requirement. 82d1439 .travis.yml: Use 4.x version of coverage package ebffda0 .travis.yml: Drop 3.3 support. Add 3.6, 3.7, 3.8 983049a .gitignore: Add ignore cd7b276 requirements.txt: Remove nose from requirements 7202fc4 Propagate superficial parameter to remove_watch_with_id Here's that one, reformatted, patch: commit 9be6a51d1660991562eefaaddefa757ca0e0e00f Author: Raphaël Beamonte <raphael.beamonte@...> Date: Sun Jul 29 01:24:52 2018 Fix constant in adapter to match with DELETE events The previous behavior was duplicating a block of code and making one of the two useless. This fixes that by replacing the constant to IN_DELETE instead of IN_MOVED_FROM in one of the two blocks. Signed-off-by: Raphaël Beamonte <raphael.beamonte@...> diff --git a/inotify/adapters.py b/inotify/adapters.py index 7f3f708..e8301da 100644 --- a/inotify/adapters.py +++ b/inotify/adapters.py @@ -299,7 +299,7 @@ class _BaseTree(object): self._i.add_watch(full_path, self._mask) - if header.mask & inotify.constants.IN_MOVED_FROM: + if header.mask & inotify.constants.IN_DELETE: _LOGGER.debug("A directory has been removed. We're " "being recursive, but it would have " "automatically been deregistered: [%s]", What's the impact to users of not having this fix? It seems like a bug fix that we should pick up by backport of user _git and HEAD. -- # Randy MacLeod # Wind River Linux |
|
[master][PATCH v2] python3-inotify: add ptest
Qiu, Zheng
Add ptest provided from the source code, and run it using pytest.
Since the tarball provided with pypi does not include ptest, switch the source to be its git repo. ptest result: PASS FAIL SKIP qemux86-64 5 3 1 qemuarm64 5 3 1 This issue exists since inotify adds unit test support, and it is reported here: https://github.com/dsoprea/PyInotify/issues/95 Signed-off-by: Zheng Qiu <zheng.qiu@...> --- .../python/python3-inotify/run-ptest | 3 ++ .../python/python3-inotify_0.2.10.bb | 14 -------- .../python/python3-inotify_git.bb | 35 +++++++++++++++++++ 3 files changed, 38 insertions(+), 14 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-inotify/run-ptest delete mode 100644 meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb create mode 100644 meta-python/recipes-devtools/python/python3-inotify_git.bb diff --git a/meta-python/recipes-devtools/python/python3-inotify/run-ptest b/meta-python/recipes-devtools/python/python3-inotify/run-ptest new file mode 100644 index 000000000..3385d6893 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inotify/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb b/meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb deleted file mode 100644 index 524c3a0d2..000000000 --- a/meta-python/recipes-devtools/python/python3-inotify_0.2.10.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "An adapter to Linux kernel support for inotify directory-watching." -AUTHOR = "Dustin Oprea" -HOMEPAGE = "https://pypi.org/project/inotify/" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://setup.py;md5=79b7ec72aa0d446a552d3cceb5799e41;beginline=28;endline=28" - -SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6c02a07" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - python3-ctypes \ - python3-logging \ -" diff --git a/meta-python/recipes-devtools/python/python3-inotify_git.bb b/meta-python/recipes-devtools/python/python3-inotify_git.bb new file mode 100644 index 000000000..22615a97e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-inotify_git.bb @@ -0,0 +1,35 @@ +SUMMARY = "An adapter to Linux kernel support for inotify directory-watching." +AUTHOR = "Dustin Oprea" +HOMEPAGE = "https://pypi.org/project/inotify/" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://setup.py;md5=79b7ec72aa0d446a552d3cceb5799e41;beginline=28;endline=28" + +SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6c02a07" + +SRC_URI = " \ + git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ + file://run-ptest \ +" + +SRCREV = "288a2b01fd4a726dc68d960f8351630aee788a13" + +S = "${WORKDIR}/git" + +inherit setuptools3 ptest +PIP_INSTALL_PACKAGE = "inotify" +PIP_INSTALL_DIST_PATH = "${S}/dist" + + +RDEPENDS:${PN} += " \ + python3-ctypes \ + python3-logging \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- 2.33.0 |
|
Re: [master][PATCH] python3-inotify: add ptest -> v2 please
Qiu, Zheng
Sure.
OK.
Will change it to the head of 0.2.10
Since this recipe does not inherit pypi anymore, setting this would help wheel build.
|
|
Re: [master][PATCH] python3-inotify: add ptest -> v2 please
On 2022-11-25 12:10, Zheng Qiu wrote:
Add ptest provided from the source code, and run it using pytest.Super, can you add the ptest result summary in this log. If any of the tests are failing also add upstream issue links. s/does not include ptest/does not include the test code/ source to be its git repo.This should be renamed from python3-inotify_0.2.10.bb to something like python3-inotify_git.bb 2 files changed, 25 insertions(+), 1 deletion(-)This is the current head, which is fine but add a note in the long log about that choice. It's $ git log --oneline 0.2.10... | wc -l 14 commits ahead of 0.2.10 +Mostly harmless, I suppose. Any pippy pythonistas want to comment/explain? +v2 please. -- # Randy MacLeod # Wind River Linux |
|