Bug 265152
| Summary: | [GTK] Cannot build with USE_GTK4=OFF on Debian 12 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Diego Pino
Building WebKitGTK on Debian 12 with flag -DUSE_GTK4=OFF (requires libgtk-3-dev) fails with the following error:
```
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GTK (missing: GTK_VERSION) (Required is at least version
"3.22.0")
```
The reason is that after https://commits.webkit.org/270775@main, if libgtk-4-dev is present in an OS then libgtk3-dev is not installed. However, it should still be possible to build using GTK3.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/webkit/webkit/pull/20756
EWS
Committed 271009@main (f2d7213b34a3): <https://commits.webkit.org/271009@main>
Reviewed commits have been landed. Closing PR #20756 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/118682882>