6 Commits
Author SHA1 Message Date
Khem Raj 787d1b73e2 meta-oe: repair broken recipe upstream version-checks
A full check-upgrade-status sweep of meta-oe found 121 recipes reporting
UNKNOWN_BROKEN: their upstream version check resolved no version. This
adds the correct check metadata to each so the version check works again.

Fixes, by mechanism:
 - wget/tarball recipes: add UPSTREAM_CHECK_URI + UPSTREAM_CHECK_REGEX
   pointing at the real release listing (SourceForge files pages, GitHub
   releases pages, GNU/ftp mirrors, distro pools).
 - git recipes with release tags in a non-default format: add
   UPSTREAM_CHECK_GITTAGREGEX matching the actual tag scheme.
 - git repos with no tags at all: UPSTREAM_CHECK_COMMITS = "1".
 - recipes whose upstream has no checkable release channel, or whose PV
   format cannot be compared against upstream tags (CPAN zero-padded
   versions, AUTOINC "git" PVs, dash-separated tags the checker cannot
   convert): UPSTREAM_VERSION_UNKNOWN = "1" with an explanatory comment.

Also override GITHUB_BASE_URI for libppd's sibling libcupsfilters where the
github-releases class default pointed at a non-existent org (404).

Only version-check metadata is touched; no SRC_URI, SRCREV, PV, or checksum
is changed, so nothing that gets built is affected. Each fix was verified
with devtool check-upgrade-status: 120 of 121 now resolve (MATCH, UPDATE,
COMMITS, or an honestly-declared UNKNOWN). The remaining recipe (libubox)
already has correct metadata and only fails locally because the git://
port to git.openwrt.org is firewalled on the build host.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-03 18:09:53 -07:00
Leon Anavi c8ef8ccd8d ssd1306: Update to newer version
Update to the latest version of the source code in GitHub:

- Use snprintf to replace strncpy without null string at last

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-02 08:57:40 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Richard Purdie bd6a1bb278 recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Leon Anavi 6aab924b38 ssd1306: Update and remove patch
Update ssd1306_linux, OLED SSD1306 Linux user space driver, to the
latest version and remove a patch that has been merged in upstream
of the project in GitHub.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-08 19:54:41 -08:00
Leon Anavi 13a1b1b1a5 ssd1306_git.bb: Add ssd1306_linux
Add ssd1306_linux, a simple OLED I2C SSD1306 Linux driver based on
the i2c library libi2c from i2c-tools. Example usage for a
compatible display with resolution 128x64 pixels:

ssd1306_bin -n 1 -I 128x64
ssd1306_bin -n 1 -c
ssd1306_bin -n 1 -r 0
ssd1306_bin -n 1 -x 1 -y 1
ssd1306_bin -n 1 -l "Hello World"

Pending GitHub pull request to the upstream of the project:
https://github.com/armlabs/ssd1306_linux/pull/4

After fixing the upstream 0001-Use-include-filename.patch should
be removed from the recipe.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-02 11:09:07 -08:00