Update build instructions for bubblewrap#746
Conversation
Add lipcap dep, and fix `meson setup` warning Signed-off-by: Ted Robertson <10043369+tredondo@users.noreply.github.com>
|
|
||
| If you need to build bubblewrap from source, you can do this with meson: | ||
| If you need to build bubblewrap from source, first make sure you | ||
| have `lipcap-dev` installed, then use meson: |
There was a problem hiding this comment.
Typo (“libcap”), but libcap-dev is a distro-specific package name.
|
|
||
| If you need to build bubblewrap from source, you can do this with meson: | ||
| If you need to build bubblewrap from source, first make sure you | ||
| have `lipcap-dev` installed, then use meson: |
There was a problem hiding this comment.
Fedora does not provide libcap-dev, can I build bubblewrap on Fedora?
(Rhetorical question)
There was a problem hiding this comment.
Yes, that. I'd prefer a distro-neutral instruction:
| have `lipcap-dev` installed, then use meson: | |
| have `libcap` development files installed, then use meson: |
or more generically
| have `lipcap-dev` installed, then use meson: | |
| have the build-time dependencies installed, then use meson: |
Or just fix the meson → meson setup and don't say anything about the required libraries, because Meson will tell you if they're missing anyway, and "you need the dependencies before you can build a project" is a universal fact about building any project. It scales poorly if every project is expected to teach new developers the basics of compiling software.
|
|
||
| If you need to build bubblewrap from source, you can do this with meson: | ||
| If you need to build bubblewrap from source, first make sure you | ||
| have `lipcap-dev` installed, then use meson: |
There was a problem hiding this comment.
Yes, that. I'd prefer a distro-neutral instruction:
| have `lipcap-dev` installed, then use meson: | |
| have `libcap` development files installed, then use meson: |
or more generically
| have `lipcap-dev` installed, then use meson: | |
| have the build-time dependencies installed, then use meson: |
Or just fix the meson → meson setup and don't say anything about the required libraries, because Meson will tell you if they're missing anyway, and "you need the dependencies before you can build a project" is a universal fact about building any project. It scales poorly if every project is expected to teach new developers the basics of compiling software.
Fixes "WARNING: Running the setup command as
meson [options]instead ofmeson setup [options]is ambiguous and deprecated."