aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2020-12-29Add libsensors supportLeandro Pereira
Fixes #590
2020-12-29Use paths provided by GNUInstallDirs everywhereAlexander Kapshuna
2020-08-13Make json-glib a requirement regardless if libsoup has been foundLeandro Pereira
2020-08-09Fix man page directoryDan Church
Use the standard variable from GNUInstallDirs.
2020-06-22Fix minimum required libsoup version to enable syncmanagerLeandro Pereira
Closes #562
2020-06-14E2K: added initial support of MCST Elbrus 2000 CPU architectureentityfx
E2K (Elbrus 2000) - this is VLIW/EPIC architecture, like Intel Itanium (IA-64) architecture. Ref: https://en.wikipedia.org/wiki/Elbrus_2000
2020-05-25Ensure benchmark.so is linked against json-glibLeandro Pereira
This is a workaround; the problem lies elsewhere.
2020-05-25Remove HARDINFO_NOSYNC option and use libsoup presence to enable itLeandro Pereira
2020-05-25Fix linking with JSON-Glib in the GTK3 versionLeandro Pereira
2020-05-18Only require json-glib if HARDINFO_NOSYNC is disabledLeandro Pereira
2020-05-18Do not break build on -Wformat and -Wformat-securityLeandro Pereira
2020-05-17Fix more formatting errorsLeandro Pereira
2020-05-15Don't forget to install benchmark.dataLeandro Pereira
2020-05-09Make more data files updatable by moving them to data/Leandro Pereira
2020-05-09Update SyncManager to use the new APILeandro Pereira
2020-05-09Add generated benchmark.jsonLeandro Pereira
2020-05-09Require json-glib to buildLeandro Pereira
2020-05-03Disable warnings about deprecated functionsLeandro Pereira
Until we port this to GTK4 or something, we'll have to live with those.
2020-01-17shell: new flag/funcs for escaping label part in keysBurt P
Will allow formerly forbidden characters in a label, "#$=" See: https://github.com/lpereira/hardinfo/issues/509 Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-04pci: include a minimum pci.ids with classes, note when pci.ids is missingBurt P
Noticed that the RPi4 has a PCIe bus, but pci.ids is not included with the standard Raspbian image, so everything is "(Unknown)." Now there will be some basic information about what the device is, and a note about installing pci.ids for more information. Signed-off-by: Burt P <pburt0@gmail.com>
2020-01-03use newer cpubits.{h,c} from sysobjBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-27shell: add key flag for strings expected to contian vendorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-26computer/display: add notes for wanted extern utilsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-28monitors: add ieee_oui lookup, link for vendor nameBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-18Link sysobj_early with -whole-archiveBurt P
2019-08-18Devices/MonitorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Devices/FirmwareBurt P
As requested in: https://github.com/lpereira/hardinfo/issues/420 firmware: translatable labels, parse flags, link vendors firmware: attempt using struct Info, issues exist firmware: add flag definitions firmware: remove <-... from guid when run with sudo firmware: map lvfs icons to hardinfo pixmaps firmware: cleanup, add hinote when not available. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Add wrapper for Alexey Kopytov's sysbench, memory benchmarksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Benchmark: fixes, user_note, verifiable test dataBurt P
* fix zlib display order * fix cryptohash MiB/s calculation * revision and params for other benchmarks * allow attaching user note to bench result with -u * don't inlcude the new result value bits if they are empty/invalid in bench_value_to_str(). bench_value_from_str() doesn't need to be modified. * bench_results: clean old result cpu name for x86 * use problem_marker() from dmi_memory to mark old version bench results * benchmark: verifiable test data size and content - The test data benchmark.data is stored in a file that could be edited to change the size or content. /* to guarantee size */ gchar *get_test_data(gsize min_size); /* to checksum content */ char *md5_digest_str(const char *data, unsigned int len); Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10Merge branch 'master' into usb3Leandro A. F. Pereira
2019-08-10name cleanup for x86 model strings and intel pci device stringsBurt P
x86 CPU: * Remove (R), (TM), etc * AMD: remove redundant "X2 Dual Core", "X4 Quad Core", etc * Move vendor to front if not already * Remove speed, as the actual speed is usually right next to it * Remove "CPU", "APU", "Processor" to shorten * Compress space Intel GPU: * Remove (R) * Abbreviate "Generation": "Gen" * Remove "Processor", "Controller", and "Device" to shorten * Compress space Some examples: x86 CPU: 'AMD Turion(tm) 64 Mobile Technology ML-32' ---> 'AMD Turion 64 Mobile ML-32' 'Cyrix MediaGXtm MMXtm Enhanced' ---> 'Cyrix MediaGX MMX Enhanced' 'Transmeta(tm) Crusoe(tm) Processor TM5800' ---> 'Transmeta Crusoe TM5800' 'VIA Nano X2 L4350 @ 1.6+ GHz' ---> 'VIA Nano X2 L4350' 'AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53' ---> 'AMD Athlon 64 X2 TK-53' 'Embedded AMD Opteron(tm) Processor 23KS EE' ---> 'AMD Embedded Opteron 23KS EE' 'Intel(R) Atom(TM) x5-Z8300 CPU @ 1.44GHz' ---> 'Intel Atom x5-Z8300' 'Intel(R) Pentium(R) III CPU - S 1400MHz' ---> 'Intel Pentium III - S' 'Dual Core AMD Opteron(tm) Processor 165' ---> 'AMD Dual Core Opteron 165' 'Genuine Intel(R) CPU T1350 @ 1.86GHz' ---> 'Intel T1350' 'AMD Phenom(tm) 9350e Quad-Core Processor' ---> 'AMD Phenom 9350e Quad-Core' Intel GPU: 'Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller' ---> 'Atom/Celeron/Pentium x5-E8000/J3xxx/N3xxx Integrated Graphics' '4th Generation Core Processor Family Integrated Graphics Controller' ---> '4th Gen Core Family Integrated Graphics' 'Mobile GM965/GL960 Integrated Graphics Controller (secondary)' ---> 'Mobile GM965/GL960 Integrated Graphics (secondary)' 'Mobile 915GM/GMS/910GML Express Graphics Controller' ---> 'Mobile 915GM/GMS/910GML Express Graphics' Also: Fix/replace the appf() and SEQ() that were peppered about. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10arm: use arm.ids for implementer/part lookupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-10vendor.ids: update and move to sysobj_earlyBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-04usb: added usb.ids parsingOndrej Čerman
2019-07-29udisks2: get sdcard oem/manufacturerBurt P
udisks doesn't provide, but it can be looked up using attributes from sysfs. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29replace idle_free() with auto_free() from sysobjBurt P
* auto_free() works in both report mode and gui mode. * auto_free() only creates one recuring event for the whole system rather than idle_free()'s one event per call. * auto_free_ex() allows specifying the free function to use. * auto_free() is thread-aware, free_auto_free_thread_final() can be used to clean up on thread exit. * auto_free() has some tweakability. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29uri_handler functions from sysobjBurt P
This allows link clicks to be intercepted so that they might be used by the application internally before falling back to the system uri handler. I've also found the default GTK label link handler to be unreliable outside of GNOME Shell, and this will use xdg-open instead. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-29vendor.ids update and vendor.{h,c} improvements from sysobj versionBurt P
* more fields in struct Vendor. * match_case -> match_rule and new match rule "exact". match_rule remains compatible with match_case for old conf format. * matches must be "whole word" matches so "Harmony" no longer hits for "ARM". * Parts outside of () are checked first, so "Foo (formerly Barly)" matches Foo before Barly, even though Barly is longer and would otherwise match first. * vendor_list type (a blessed GSList*) and helper functions to manage it. Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10computer/os: Ubuntu flavorsBurt P
See: https://github.com/lpereira/hardinfo/issues/404 Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-06Memory devices: enable more warnings and cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-29Memory Devices: a little name cleanupBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-28Combine Memory DMI and Memory SPD into "Memory Devices"Burt P
Combines the information from DMI and SPD into a single Memory Devices section. Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-27GTK3/Benchmarks disable guibench onlyJuro Bystricky
GTK3 build inadvertably disabled all benchmarking. At present, the GTK3 build intentionally avoids building of "guibench" due to non-trivial changes from GTK2 to GTK3. However, all other benchmarks were disabled as well. This was not by design, as non-gui benchmarks have no GTK3 dependencies. The reason benchmarks were diasbled (did not show up in the menus) was that the code for "benchark_gui" still referenced the missing "guibench" routine. This routine was not present in the "benchmark.so", so the library would not load due to the missing entry point. This patch addresses the issue. All benchmarks (except guibench) show/work fine with GTK3. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2019-06-26devices/dmi_memory.c: shell viewtype=1 version, other tweaksBurt P
* add -std=c99 for dmi_memory.c to use unicode * -std=c99 is picky about inline functions Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-22DMI socket/module information moved from Processor to Memory DMIBurt P
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-20move devices/memory to computer/memory usageBurt P
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-04Replaces the uber-graph submodule with a local forkBurt P
Includes the hardinfo-required source files directly instead of using a git submodule. The original is unmaintained. Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02dt_util: enable and fix warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02enable and fix some warningsBurt P
Part of (#298). Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-30devices/storage: added udisks2 supportOndrej Čerman