Skip to content

Conversation

@kimberlycarvajal
Copy link

Added support for libsoup3 version.

If libsoup3 version is not found it looks for libsoup2.4 version.


libsoup_dep = dependency('libsoup-3.0', version : '>=2.99', required: false)
if not libsoup_dep.found()
libsoup_dep = dependency('libsoup-2.4', version : '>=2.4')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should emulate autoconf's behavior here. If the user doesn't have libsoup3 or libsoup2 the last message they will see is meson asking them to install libsoup2, which we don't want. Mark it as required: false and handle it manually, so that we can message the user to prefer to install libsoup3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, if libsoup2 ends up being used, please output a warning saying that libsoup2 will be deprecated in incoming releases.

@kimberlycarvajal kimberlycarvajal force-pushed the feature/add-support-to-libsoup3 branch from e208394 to 98869ef Compare October 23, 2025 14:39
@kimberlycarvajal kimberlycarvajal force-pushed the feature/add-support-to-libsoup3 branch from 98869ef to 1124525 Compare November 10, 2025 15:53
@kimberlycarvajal kimberlycarvajal force-pushed the feature/add-support-to-libsoup3 branch 5 times, most recently from 5d9c3cc to 41b3a57 Compare November 24, 2025 20:43
@kimberlycarvajal kimberlycarvajal force-pushed the feature/add-support-to-libsoup3 branch from 41b3a57 to 6b547b2 Compare November 24, 2025 21:40
@kimberlycarvajal kimberlycarvajal force-pushed the feature/add-support-to-libsoup3 branch 4 times, most recently from 9e38d37 to 30537ae Compare December 2, 2025 22:17
@kimberlycarvajal kimberlycarvajal force-pushed the feature/add-support-to-libsoup3 branch from 30537ae to da5fe4c Compare December 2, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants