this software provides not only libraries, but also some executable files that bring some important functionality. it's these files: woff2_compress, woff2_decompress and woff2_info. unfortunately these are not installed by default cmake handle and hence are missing from the package. it would be appreciated if these could be installed too.
Appending the following snipplet to the .ebuild file may do the trick: src_install() { cd ${WORKDIR}/${P}_build dobin woff2_compress woff2_decompress || \ die "Failed to install executables 'woff2_compress' and 'woff2_decompress'" cmake-utils_src_install } The 'cd' command has a hard-coded path to where the binaries are placed. Maybe there is a better way to determine the path? I am not sure whether the Gnome Desktop Team is the right assignee, sounds more elevant to the Fonts project ...
gnome@gentoo.org is the maintainer of this package, which is why it's the assignee... What's the actual use case for these tools?
(In reply to Mart Raudsepp from comment #2) > What's the actual use case for these tools? The two command line tools seem to be the best/recommended way to convert between TTF and WOFF2 format on the command line: https://stackoverflow.com/questions/25851975/convert-font-in-woff2-format-to-something-else Furthermore, other distributions' packages for woff2 do include both binaries, thus creating expectancy among Gentoo users: https://packages.debian.org/sid/utils/woff2 https://www.archlinux.org/packages/extra/x86_64/woff2/files/ https://github.com/bramstein/homebrew-webfonttools I would like to suggest to expand my initial 'dobin' statement include even the 'woff2_info' binary which allows to retrieve (technical) information on a given .woff2 file.
Created attachment 594206 [details, diff] patch for woff2-1.0.2-r1.ebuild -> woff2-1.0.2-r2.ebuild - Update to EAPI7 - Install woff2_{compress,decompress,info} when "utils" use flag is set Signed-off-by: Wicher <wicher@gavagai.eu>
This has now been fixed in woff2-1.0.2-r2, except that we install the cli tools unconditionally.