FS#74859 - chromium package is not built with system's freetype due to a missing build flag

Attached to Project: Arch Linux
Opened by rk (ryuukk_) - Thursday, 26 May 2022, 17:03 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 26 May 2022, 17:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

chromium is built with a missing flag, as a result it is not using system's freetype

PKGBUILD diff:

@@ -173,6 +173,7 @@ build() {
'enable_widevine=true'
'enable_nacl=false'
"google_api_key=\"$_google_api_key\""
+ 'use_system_freetype=true'
)

if [[ -n ${_system_libs[icu]+set} ]]; then



Additional info:
* package version(s): 102.0.5005.61-1
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 26 May 2022, 17:38 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Chromium already uses the system's freetype library.
Comment by Evangelos Foutras (foutrelis) - Thursday, 26 May 2022, 17:38 GMT
It sets use_system_freetype=true via https://source.chromium.org/chromium/chromium/src/+/main:build/linux/unbundle/freetype.gn

$ readelf -d /usr/lib/chromium/chromium | grep freetype
0x0000000000000001 (NEEDED) Shared library: [libfreetype.so.6]

Loading...