Bug 8387 - meson macros missing in Cenbuild
Summary: meson macros missing in Cenbuild
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.18.0
Assignee: Adam Halim
URL:
Keywords: ossman_tester, prosaic
Depends on:
Blocks:
 
Reported: 2024-07-17 15:45 CEST by Adam Halim
Modified: 2024-07-25 14:32 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Adam Halim cendio 2024-07-17 15:45:49 CEST
To make it easier to write .spec files in Cenbuild with meson, we should add appropriate macros like have with other build tools.
Comment 2 Adam Halim cendio 2024-07-19 13:10:26 CEST
This was completed as part of fixing bug 8156.

To verify that the macros work, I found an example project [1] that utilizes all macros and was successful in building an RPM for it.

[1] https://gitlab.com/twdev_projects/libmagick
Comment 3 Adam Halim cendio 2024-07-19 13:22:37 CEST
We probably want to add macros for ninja as well.
Comment 10 Adam Halim cendio 2024-07-24 14:35:45 CEST
The macros have been updated to be easier to use in Cenbuild. Ninja should now never be called explicitly, and cross-compilation configuration should be loaded automatically.
Comment 11 Pierre Ossman cendio 2024-07-25 14:32:11 CEST
The macros look very nice. Tested when building pixman, which is available in all platforms.

The macros give very clean .spec files with no extra input required by packagers.

Note You need to log in before you can comment on or make changes to this bug.