Skip to content

[synocli-videodriver] add cross/libproc2 based on procps-ng #6357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 17, 2025

Conversation

hgy59
Copy link
Contributor

@hgy59 hgy59 commented Dec 23, 2024

Description

This PR updates cross/intel-gpu-tools and affects synocli-videodriver and related packages (ffmpeg*)

So far cross/intel-gpu-tools used libproc2 provided by cross/procps-ng.
The tools created by procps-ng are not used in intel-gpu-tools, only the library is required.
Additionally procps-ng v4.0.4 needs a patch to successfully build for DSM 7.2.
The recent update of procps-ng to v4.0.5 does not need this patch anymore, but is not compatible with cross/intel-gpu-tools.

While working on other packages that use tools like pgrep, I want to update procps-ng to v4.0.5 and to include the tools too.
A dedicated cross/libproc2 avoids breaking the build cross/intel-gpu-tools (and it removes the obsolete dependency of cross/ncursesw).

While updating the synocli-videodriver package, it popped up, that the changelog must be the same for all packages of the same SPK_REV.
The current package 1.2-2 shows only "1. Intel Media Driver 2022Q4 Release" in the changelog. This is the same under https://synocommunity.com/package/synocli-videodriver and in DSM Package Center (even for DSM 7.2).
This is a limitation by the design of spkrepo.

Details

  • add dedicated cross/libproc2 to build libproc2 of procps-ng and stay on version 4.0.4.
  • update cross/intel-gpu-tools
    • update from v1.29 to v1.30
    • replace dependency of cross/procps-ng by cross/libproc2
  • fix chandelog of spk/synocli-videodriver
    • avoid arch and DSM version specific change logs (not supported by spkrepo)

Fixes #

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Library update

- add dedicated cross/libproc2 to build libproc2 of procps-ng and keep version 4.0.4
- update cross/intel-gpu-tools
  - update from v1.29 to v1.30
  - replace dependency of cross/procps-ng by cross/libproc2
- fix chandelog of spk/synocli-videodriver
  - avoid package specific change logs (not supported by spkrepo)
@hgy59
Copy link
Contributor Author

hgy59 commented Dec 23, 2024

@th0ma7 my intention is not to update the synocli-videodriver package now, but to remove its the dependency of cross/procps-ng.

The original use case is to avoid the dependency of cross/busybox with BUSYBOX_CONFIG=procutils for packages that need pgrep and other tools that are provided by cross/procps-ng too.
This will affect the packages rutorrent, synocli-monitor and a new package netdata that I have WIP (not pushed yet).

- update procps-ng from v4.0.4 to v4.0.5
- optimize code
- intel-gpu-tools
- libelf
- libkmod
- libmount
- libpciaccess
- libva
- libva-utils
@th0ma7
Copy link
Contributor

th0ma7 commented Dec 30, 2024

Looking at the failures would we now need a armv5 and hi3535 rust >= 1.81 build? similarly to qoriq?

Both now being a tier 2.5 target:

Versus qoriq being a tier 3 target (powerpc-unknown-linux-gnuspe).

on-going PR: #6364

hgy59 added 4 commits July 6, 2025 21:15
- fix links in PLIST
- avoid issues with concurrent build of cross/procps-ng
- fix links in PLIST
@hgy59 hgy59 requested a review from th0ma7 July 7, 2025 19:06
@hgy59
Copy link
Contributor Author

hgy59 commented Jul 17, 2025

@th0ma7 is this PR ok?
we should publish synocli-videodriver to support the x25 archs (we allready have ffmpeg7 for x25 archs, but on x64 it depends on synocli-videodriver that is missing yet).

@th0ma7
Copy link
Contributor

th0ma7 commented Jul 17, 2025

Yes, i had a look at it and lgtm.

@hgy59 hgy59 merged commit 32b9e5c into SynoCommunity:master Jul 17, 2025
16 of 18 checks passed
@hgy59 hgy59 deleted the add_cross_libproc2 branch July 17, 2025 16:02
@hgy59 hgy59 added the status/published Published and activated (may take up to 48h until visible in DSM package manager) label Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/published Published and activated (may take up to 48h until visible in DSM package manager)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants