Date: Fri, 24 Oct 2025 14:25:38 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e640cda1d3bc - main - graphics/libskiasharp: unbundle libjpeg_turbo Message-ID: <202510241425.59OEPckN003901@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=e640cda1d3bc70f513765fa5df23ddc5f4537f44 commit e640cda1d3bc70f513765fa5df23ddc5f4537f44 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2025-10-24 14:19:07 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2025-10-24 14:25:35 +0000 graphics/libskiasharp: unbundle libjpeg_turbo With the upgrade, we now have a skia version which works with libjpeg-turbo from ports[1]. Using the system libjpeg_turbo, seems to make jellyfin scan faster the libraries. This also fixes some warning in the logs about jellyfin "System.IO.InvalidDataException: Skia unable to read image" [1]: https://issues.skia.org/issues/379669745 --- graphics/libskiasharp/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/graphics/libskiasharp/Makefile b/graphics/libskiasharp/Makefile index fc157e26f49e..634d3da32c45 100644 --- a/graphics/libskiasharp/Makefile +++ b/graphics/libskiasharp/Makefile @@ -1,11 +1,9 @@ PORTNAME= libskiasharp DISTVERSIONPREFIX= v DISTVERSION= 116 -PORTREVISION= 1 +PORTREVISION= 2 PORTREPOCH= 1 CATEGORIES= graphics -MASTER_SITES= LOCAL/bapt:libjpeg_turbo -DISTFILES= libjpeg_turbo-${LIBJPEG_TURBO_REV}.tar.gz:libjpeg_turbo MAINTAINER= bapt@FreeBSD.org COMMENT= Complete 2D graphic library for drawing Text, Geometries, and Images @@ -28,14 +26,11 @@ GH_ACCOUNT= mono GH_PROJECT= skia GH_TAGNAME= c16e913577083761d847146db7a04b8d3b3bf755 -LIBJPEG_TURBO_REV= 9b894306ec3b28cea46e84c32b56773a98c483da - USE_LDCONFIG= yes USE_BINUTILS= yes SOVERSION= 116.0.0 -# -# see https://github.com/libjpeg-turbo/libjpeg-turbo/issues/795#issuecomment-2484148592 + GN_ARGS= is_official_build=true \ skia_enable_tools=false \ target_os="linux" \ @@ -45,12 +40,13 @@ GN_ARGS= is_official_build=true \ skia_use_harfbuzz=false \ skia_use_wuffs=false \ skia_use_system_expat=true \ - skia_use_system_libjpeg_turbo=false \ + skia_use_system_libjpeg_turbo=true \ skia_use_system_freetype2=true \ skia_use_system_libpng=true \ skia_use_system_libwebp=true \ skia_use_system_zlib=true \ skia_enable_gpu=true \ + ska_enable_ganesh=true \ skia_enable_skottie=true \ skia_enable_pdf=true \ skia_use_dng_sdk=false \ @@ -58,7 +54,8 @@ GN_ARGS= is_official_build=true \ "-DSKIA_C_DLL", \ "-I${LOCALBASE}/include", \ "-I${LOCALBASE}/include/freetype2"] \ - extra_ldflags=["-L${LOCALBASE}/lib"] \ + extra_ldflags=["-L${LOCALBASE}/lib", \ + "-Wl,--version-script=${FILESDIR}/libskiasharp.map" ] \ linux_soname_version="${SOVERSION}" BINARY_ALIAS= python3=${PYTHON_CMD} \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510241425.59OEPckN003901>
