Commit Graph

644 Commits (migrate-to-meson-build)

Author SHA1 Message Date
nirenjan 02f50d62f5 Fix path to bugreport in CI script 2024-09-05 12:32:55 -07:00
nirenjan 3b7ad75c54 Update gitattributes 2024-06-25 18:39:26 -07:00
nirenjan 41d927504e Move meson files into subdirectories 2024-06-25 18:38:42 -07:00
nirenjan 5bf5ff02f4 Use disabler instead of checks for cmocka 2024-06-25 13:05:02 -07:00
nirenjan eddf7340f7 Fix meson setup arguments 2024-06-24 10:26:33 -07:00
nirenjan 27467ac7b4 Add build for doxygen documentation 2024-06-21 12:34:05 -07:00
nirenjan caafb2d93f Fix matrix build to use 24.04 2024-06-21 12:13:46 -07:00
nirenjan a615662ba0 Remove kwargs from compiler calls 2024-06-21 11:54:10 -07:00
nirenjan b5cdb0f777 Fix config.h contents 2024-06-21 11:51:44 -07:00
nirenjan e9d04efeb3 Add x52bugreport to tests to get code coverage 2024-06-21 09:55:34 -07:00
nirenjan a11b6a3160 Cleanup feature flags 2024-06-21 09:52:36 -07:00
nirenjan c0f4a8ae12 build: Add daemon test cases 2024-06-20 01:05:26 -07:00
nirenjan 0d7972dbc1 build: Add language files to Meson build 2024-06-20 00:56:26 -07:00
nirenjan 1d78cf4349 Fix installation for executables 2024-06-13 22:54:28 -07:00
nirenjan c753f20c64 Handle older meson version 2024-06-13 21:05:54 -07:00
nirenjan 1dc7a24a10 Handle non-positional argument 2024-06-13 20:59:17 -07:00
nirenjan cd2bbcacb5 Fix syntax for subproject 2024-06-13 20:53:48 -07:00
nirenjan a8c18411a1 Fix default subproject options syntax 2024-06-13 20:49:48 -07:00
nirenjan 2804236be0 Add options 2024-06-13 20:44:47 -07:00
nirenjan 0c0a6c1228 feat: Add udev rules to meson.build 2024-06-13 20:18:35 -07:00
nirenjan 726b5ba21f feat: Add additional files 2024-06-13 19:46:28 -07:00
nirenjan 5c16e90a35 feat: Add x52cli and test to meson 2024-06-13 18:20:40 -07:00
nirenjan f04e772590 fix: Use ninja to build and test 2024-06-13 18:11:40 -07:00
nirenjan 9f3d697e87 fix: Save version in meson.build to allow for older meson versions 2024-06-13 18:04:23 -07:00
nirenjan 88256480af Add mesondefine files 2024-06-13 14:56:27 -07:00
nirenjan a684d2e08b refactor: Add additional libraries and programs to meson.build 2024-06-13 14:55:45 -07:00
nirenjan dcdee29ddb fix: Syntax for version file 2024-06-13 12:11:17 -07:00
nirenjan 0712de1a05 fix: Meson syntax 2024-06-13 12:08:27 -07:00
nirenjan db07b8888e fix: Handle hidapi fallback for older Meson versions 2024-06-13 12:06:08 -07:00
nirenjan ccd8fa4dc2 feat: Add meson.build 2024-06-13 12:03:45 -07:00
nirenjan 9d77da7698 refactor: Declare pinelog dependency 2024-06-13 12:00:32 -07:00
nirenjan 6b3743359c ci: Update build scripts to use meson instead of autotools 2024-06-13 11:57:10 -07:00
nirenjan f464c0b6d3 refactor: Use Wrap dependency for inih 2024-06-13 11:51:58 -07:00
nirenjan 29d6b64d18 refactor: Move support libraries to subprojects directory
This change is necessary to support Meson subprojects
2024-06-13 11:11:43 -07:00
nirenjan 20804c6830 feat: Add meson.build for pinelog 2024-06-13 10:58:18 -07:00
nirenjan 1902ca0d27 build: update PO files to reflect new version 2024-06-09 20:24:45 -07:00
nirenjan 6330d28c4d fix: Update Version metadata
Version metadata was not updated to reflect the new version. This fixes
the version metadata and updates the changelog file to reflect the
reason why the older version was deprecated.
2024-06-09 20:21:54 -07:00
nirenjan 5c37c4a9db doc: Update changelog for v0.3.1 2024-06-08 22:24:46 -07:00
nirenjan 863e43e4ad ci: Update stable OS versions for LKM build 2024-06-08 21:51:48 -07:00
nirenjan 49c57f4a6a Update workflows to use actions/checkout@v4
Since Node 16 has been deprecated, Github is requiring all Actions users
to migrate to Node 20, and therefore use actions/checkout@v4. This also
applies to other jobs that use Node 16 as their runtime.

See: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-06-08 21:38:34 -07:00
nirenjan b0b9123a2e fix: Add CMOCKA_CFLAGS to test program CFLAGS
In macos-14, programs that rely on cmocka need to specify CMOCKA_CFLAGS
as part of their CFLAGS. This has not been an issue so far on older
versions of macOS, or on any release of Ubuntu, but it should be done to
ensure that the library headers can be found.
2024-06-08 21:25:42 -07:00
nirenjan 50a911160f fix: Disable macos-12 builds
macos-12 builds fail with the following error message:

    ld: warning: -undefined dynamic_lookup may not work with chained fixups

This causes the overall build status to be marked as fail, even though
macOS builds are not treated as failing the build. Also, macOS 12 is
going to effectively be end-of-lifed in November 2024, so it's not worth
spending the time to look into this.
2024-06-08 20:57:53 -07:00
nirenjan 7a56af032b fix: Disable mouse tests if cmocka is not present
Cmocka is optional for the builds, but the absence of cmocka causes the
Daemon build to fail when running `make check`. This commit addresses
that issue, while keeping tests that don't need cmocka.
2024-06-05 09:18:01 -07:00
nirenjan c46cec3138 ci: Disable macos-11 and add newer versions
Github has deprecated macos-11 runners and will stop them towards the
end of June 2024.
2024-06-05 09:16:22 -07:00
nirenjan 21050e40a8 Fix syntax of calloc calls in pinelog.c
`calloc` requires the count to be the first argument, and the size
parameter to be the second argument. However, this has not really caused
issues in the past, and older compilers were not so strict about it.

However, newer compilers (at least GCC 14) triggers a warning on this
and causes the build to fail.

Fixes #52
2024-06-04 15:02:27 -07:00
nirenjan 9e2e8cb8ff Add compiler details to bugreport 2023-06-02 00:02:05 -07:00
nirenjan 5f4dfe4c01 Add host details to version-info 2023-06-01 23:33:54 -07:00
nirenjan 0870518598 Disable builds on macOS 12
macOS 12 builds are currently failing with the following error:

    ld: warning: -undefined dynamic_lookup may not work with chained fixups

This is causing the overall CI to fail, therefore, I am disabling it
until such time that this can be fixed.
2023-01-21 02:49:45 -08:00
nirenjan d7b4a694fa Update Github action workflows to use actions/checkout@v3
Due to the Node 12 runtime being deprecated, jobs are required to move
to actions/checkout@v3 which uses Node 16 runtime.

See: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2023-01-21 02:39:59 -08:00
nirenjan 326ac992ac Fix hyperlink for ChangeLog.md
[skip ci] [skip doxy]
2023-01-21 02:34:17 -08:00