ARPA-SIMC / wreport

C++ library and applications to work with weather reports. The library provides featureful BUFR and CREX encoding and decoding.
Other
9 stars 9 forks source link

Build RPM package with Meson #39

Closed edigiacomo closed 1 year ago

edigiacomo commented 3 years ago

As mentioned in arpa-simc/arkimet#246, we can try to build the RPM package with Meson https://docs.fedoraproject.org/en-US/packaging-guidelines/Meson/.

edigiacomo commented 3 years ago

I have made some changes to the Meson files in issue39 branch.

spanezz commented 3 years ago

I added the missing meson.build in src/

spanezz commented 3 years ago

There seem to be issues at install time: https://travis-ci.org/github/ARPA-SIMC/wreport/jobs/748764174.

libwreport.la should not be installed, and it was a bug of autotools that it did. Same for .la files for python modules.

Python modules are installed in /usr/lib64/python3.6/site-packages instead of /usr/lib/python3.6/site-packages to go alongside the compiled module.

brancomat commented 3 years ago

I pushed a fix, the issue was that the specfile prevented .la files installation with things like %exclude %{python3_sitearch}/*.la. (TIL that %exclude macro gives an error if there's nothing to exclude, but it's reasonable)

edigiacomo commented 1 year ago

This issue was fixed by PR #54