bodnuti: [meta-gnome][PATCH 00/21] Upstream checks, source fixes and upgrades base: e90cdc7fcbe3 [meta-gnome][PATCH 17/21] gweather-locations: Add recipe ERROR oelint oelint.vars.dependsappend meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:18 DEPENDS should only be appended, not overwritten after an include or inherit 15 | UPSTREAM_CHECK_REGEX = "gweather-locations-(?P\d+\.\d+)\.tar" 16 | 17 | # Locations.bin is generated with python3-gi, using the target GLib typelib > 18 | DEPENDS = "glib-2.0 python3-pygobject-native" 19 | export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0" 20 | 21 | python __anonymous() { ERROR oelint oelint.vars.inconspaces meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:26 Assignment should be 'VAR += "foo"' not 'VAR += " foo"' 23 | raise bb.parse.SkipRecipe("needs the GLib introspection typelib (GI_DATA_ENABLED)") 24 | } 25 | > 26 | FILES:${PN} += " \ 27 | ${datadir}/gweather-locations \ 28 | ${libdir}/gweather-locations \ 29 | " WARNING oelint oelint.task.noanonpython meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:21 Avoid anonymous python functions as they are expensive and come with all sorts of side effects 18 | DEPENDS = "glib-2.0 python3-pygobject-native" 19 | export GI_TYPELIB_PATH = "${STAGING_LIBDIR}/girepository-1.0" 20 | > 21 | python __anonymous() { 22 | if d.getVar('GI_DATA_ENABLED') != 'True': 23 | raise bb.parse.SkipRecipe("needs the GLib introspection typelib (GI_DATA_ENABLED)") 24 | } WARNING oelint oelint.vars.filessetting.double meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:26 ${libdir}/gweather-locations is already set by default or in this recipe 23 | raise bb.parse.SkipRecipe("needs the GLib introspection typelib (GI_DATA_ENABLED)") 24 | } 25 | > 26 | FILES:${PN} += " \ 27 | ${datadir}/gweather-locations \ 28 | ${libdir}/gweather-locations \ 29 | " WARNING oelint oelint.vars.filessetting.double meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:26 ${datadir}/gweather-locations is already set by default or in this recipe 23 | raise bb.parse.SkipRecipe("needs the GLib introspection typelib (GI_DATA_ENABLED)") 24 | } 25 | > 26 | FILES:${PN} += " \ 27 | ${datadir}/gweather-locations \ 28 | ${libdir}/gweather-locations \ 29 | " [meta-gnome][PATCH 18/21] libgweather4: upgrade 4.4.4 -> 4.6.0 WARNING oelint oelint.task.noanonpython meta-gnome/recipes-gnome/libgweather/libgweather4_4.6.0.bb:32 Avoid anonymous python functions as they are expensive and come with all sorts of side effects 29 | 30 | RDEPENDS:${PN} += "gweather-locations" 31 | > 32 | python __anonymous() { 33 | if d.getVar('GI_DATA_ENABLED') != 'True': 34 | raise bb.parse.SkipRecipe("depends on gweather-locations, which needs GI_DATA_ENABLED") 35 | } style WARNING oelint oelint.var.order.DEPENDS meta-gnome/recipes-support/libuser/libuser_0.64.bb:25 'DEPENDS' should be placed before 'SRCREV' 22 | 23 | UPSTREAM_CHECK_GITTAGREGEX = "^libuser-(?P\d+(\.\d+)+)$" 24 | > 25 | DEPENDS = "bison-native popt libpam glib-2.0 python3" 26 | 27 | inherit autotools features_check gettext python3native python3-dir pkgconfig gtk-doc 28 | INFO oelint oelint.var.bbclassextend meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:1 BBCLASSEXTEND should be set if possible > 1 | SUMMARY = "Locations database for libgweather" 2 | DESCRIPTION = "The world locations database used by libgweather, as XML \ 3 | source and as a precompiled GVariant database." 4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gweather-locations" INFO oelint oelint.var.suggestedvar.CVE_PRODUCT meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:1 Variable 'CVE_PRODUCT' should be set > 1 | SUMMARY = "Locations database for libgweather" 2 | DESCRIPTION = "The world locations database used by libgweather, as XML \ 3 | source and as a precompiled GVariant database." 4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gweather-locations" INFO oelint oelint.var.suggestedvar.SECTION meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:1 Variable 'SECTION' should be set > 1 | SUMMARY = "Locations database for libgweather" 2 | DESCRIPTION = "The world locations database used by libgweather, as XML \ 3 | source and as a precompiled GVariant database." 4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gweather-locations" INFO oelint oelint.vars.multilineident meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:3 On a multiline assignment, line indent is desirable. 0 set, 15 desirable 1 | SUMMARY = "Locations database for libgweather" 2 | DESCRIPTION = "The world locations database used by libgweather, as XML \ > 3 | source and as a precompiled GVariant database." 4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gweather-locations" 5 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gweather-locations/-/issues" 6 | INFO oelint oelint.vars.notneededspace meta-gnome/recipes-gnome/libgweather/gweather-locations_2026.2.bb:26 Space at the beginning of the var is not needed 23 | raise bb.parse.SkipRecipe("needs the GLib introspection typelib (GI_DATA_ENABLED)") 24 | } 25 | > 26 | FILES:${PN} += " \ 27 | ${datadir}/gweather-locations \ 28 | ${libdir}/gweather-locations \ 29 | " WARNING oelint oelint.var.order.FILES meta-gnome/recipes-gnome/libgweather/libgweather4_4.6.0.bb:37 'FILES' should be placed before 'RDEPENDS' 34 | raise bb.parse.SkipRecipe("depends on gweather-locations, which needs GI_DATA_ENABLED") 35 | } 36 | > 37 | FILES:${PN} += " \ 38 | ${datadir}/libgweather-4 \ 39 | ${libdir}/libgweather-4 \ 40 | " patchtest: 189 pass, 0 fail, 126 skip 6 findings: 2 errors, 4 warnings, 0 info (7 style, not counted)