clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
524 stars 29 forks source link

Hardinfo2 #3181

Open asamarco opened 2 months ago

asamarco commented 2 months ago

Official package name: hardinfo2

License (must be an OSI approved Open Source license): GPLv2, LGPLv2.1,GPLv3

Download URL of latest release: https://github.com/hardinfo2/hardinfo2/releases/tag/release-2.1.14

Latest release date (must be recent): September 04, 2024

Description: System Information and Benchmark for Linux.

It is an useful tool to have on a performance oriented distribution and indeed, to provide reliable benchmarks, it would benefit from a native package instead of running in a container.

The old hardinfo is already available through swupd, but lacks a lot of current benchmarks added by the new maintainer. Also, the old version scores are not directly comparable to the one of this new version that starts to be available on many other distributions.

K1ngfish3r commented 2 months ago

Autospec notes - for-review.txt

build_prepend (There is probably a better way to do this)

sed -i 's|/etc/os-release|/usr/lib/os-release|g' CMakeLists.txt

cmake_args

-DCMAKE_BUILD_TYPE=Release
hwspeedy commented 2 months ago

Wau, that was fast! :)

Please remove buildrequires gtk+-2.0 and libsoup-2.4 (These are only for compatibility with old distros) - probably does no difference to the build result, but it is not correct, that these old versions are needed.

PS: My first experience with ClearLinux was today, so I am no expert on build scripts for ClearLinux nor the swupd part.

Service needs to be started when installed. You should be able to use ninja on such a new release as ClearLinux latest - if you like to.

The hardinfo2 package should install the following other packages: sysbench: is needed to run standard sysbench benchmarks. udisks2: is needed to provide NVME++ informations. dmi-decode: is needed to provide DMI informations. mesa-utils: is needed to provide opengl and run standard sysbench benchmarks. lsscsi: gives information about hard drives. lm-sensors: is needed to provide sensors values. xdg-utils: xdg_open is used to open your browser for bugs, homepage & links. iperf3: iperf3 is used to benchmark internal network speed. fwupd: fwupd is used to read and display information about firmware in system.

K1ngfish3r commented 2 months ago

Packages needed for bundling Hardinfo2

hwspeedy commented 2 months ago

sysbench building: git clone https://github.com/akopytov/sysbench --branch 1.0 cd sysbench ./autogen.sh ./configure --without-mysql make install -j

PS: no distro has the latest version 1.1.0 (master) - most uses 1.0.20 (above) or lower (not up2date)

fenrus75 commented 2 months ago

adding this now and will add the other things to the bundle

On Tue, Sep 10, 2024 at 11:00 AM hwspeedy @.***> wrote:

sysbench building: git clone https://github.com/akopytov/sysbench --branch 1.0 cd sysbench ./autogen.sh ./configure --without-mysql make install -j

PS: no distro has the latest version 1.1.0 (master) - most uses 1.0.20 (above) or lower (not up2date)

— Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/3181#issuecomment-2341627814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ54FLCZ3W623LHFT6SJWLZV4XVRAVCNFSM6AAAAABN26JN2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRGYZDOOBRGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>