Commit 2bc905e
authored
build(arch): provide OSMesa via mesa-amber extraction (#624)
Closes #623
Arch's modern `mesa` no longer ships classic `libOSMesa`, which
BambuStudio links against (`-lOSMesa`), so the Arch build failed at link
time.
- `linux.d/arch`: extract `libOSMesa.so.8` (+ its `libglapi.so.0`
dependency) from the `mesa-amber` package during the dependency step,
without installing it (mesa-amber conflicts with mesa). This lets the
link succeed while keeping modern mesa.
- `scripts/build_pkg_arch.sh`: bundle both libs into the package so it
also runs on a stock Arch system whose mesa no longer provides them.
Verified: Arch single-distro build #14 on `ci/develop/linux-x86_64` is
green and produced `bambustudio-02.08.00.50-1-x86_64.pkg.tar.zst`.1 parent 6533354 commit 2bc905e
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
68 | 88 | | |
69 | 89 | | |
70 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
52 | 66 | | |
53 | 67 | | |
54 | 68 | | |
| |||
0 commit comments