Date: Sun, 31 Mar 2024 23:45:53 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org> To: Po-Chuan Hsieh <sunpoet@freebsd.org> Cc: "Tobias C. Berner" <tcberner@gmail.com>, Gleb Popov <arrowd@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 28472e9722d8 - main - Revert "x11-fonts/noto*: Restructure and update" Message-ID: <20240331234553.1793b816@hal.tijl.coosemans.org> In-Reply-To: <CAMHz58QZ0bQh51s4j9CNt7yRZX8=uQi-cDp3ok6FN8ie0v=Gbw@mail.gmail.com> References: <202403231404.42NE4baU095633@gitrepo.freebsd.org> <CALH631=Q0Hc%2BYnvREbe0aNR%2BVeWaNv3YdekKmeUe_Kf6tXD6TQ@mail.gmail.com> <2567403.0dHE6SNnxz@angua.firefly> <CAMHz58Qa2pyN6qs-mFr9aHgtQoGrd1hbhF=ahx5ahR-0CB-7uQ@mail.gmail.com> <20240324202715.5d18838d@hal.tijl.coosemans.org> <CAMHz58QZ0bQh51s4j9CNt7yRZX8=uQi-cDp3ok6FN8ie0v=Gbw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Apr 2024 04:17:09 +0800 Po-Chuan Hsieh wrote: > On Mon, Mar 25, 2024 at 3:27=E2=80=AFAM T=C4=B3l Coosemans <tijl@freebsd.= org> wrote: >> - You are using upstream distfiles that are quite large. The distfiles >> for the common (Latin, Greek, Cyrillic) fonts Sans, Sans Mono, and >> Serif add up to 234MB. These fonts will be installed by almost every >> user that uses FreeBSD as a desktop now that DejaVu appears to have >> been abandoned. My proposal was to create our own distfiles and I >> integrated that into makesum so the only extra step compared to a >> normal version update was to upload the generated distfile to >> freefall. I was willing to take over maintainership in case you >> didn't want to deal with that. These distfiles add up to 27MB. And >> if we put the extra weights (ExtraBold,...) and widths (Condensed,...) >> in a separate port like you did it would be only 2MB. =20 >=20 > The committed one is my second version of noto fonts update. > The previous version is to use the individual file from github.com just > like those Noto CJK ports. > I changed to upstream tarball because it's clearer/simpler and easier to > track. > I could change it back to the previous version for a smaller distfile > footprint. > Give me several days to clean up the Makefiles. Okay. >> - Some fonts have been split into x11-fonts/<font>-basic providing Bold, >> BoldItalic, Italic, and Regular, and x11-fonts/<font>-extra providing >> additional styles. Only some of these have x11-fonts/<font> as a >> metaport currently. This needs to be made consistent. I think it >> would be best to drop the metaports and move x11-fonts/<font>-basic to >> x11-fonts/<font>. That way pkg install <font> installs the common >> styles for all fonts. I think that this would be the most >> intuitive/convenient. >> (I was hoping to use subpackages for this instead of extra ports.) >=20 > The -basic/-extra structure was kept for minimal change. > I agree with you that it would be better to be consistent with all other > noto ports. > I could merge the following ports: > - noto-sans-basic/-extra > - noto-sans-mono-basic/-extra > - noto-sans-symbols-basic/-extra > - noto-serif-basic/-extra > However, what should be noto-basic's dependencies after the merge? It's okay to keep the -extra ports. What I meant was to rename the -basic ports so noto-sans-basic becomes noto-sans for example. >> - x11/noto-emoji now installs the COLRv1 version of Noto Color Emoji but >> this isn't supported yet by graphics/cairo so emoji are broken now in >> gtk applications. I think Ghostscript doesn't support it either. It >> has to be removed again for now. >=20 > It is handled in PR 278019 and > ports 2878ca490586207c3cd7bb3ff94d1274f52013b0. Okay. >> - Besides Noto Color Emoji there's also the monochrome Noto Emoji that >> can be useful in print. I think we should let x11-fonts/noto-emoji >> install the monochrome font and move the existing x11-fonts/noto-emoji >> to x11-fonts/noto-color-emoji so the names match. >=20 > How about putting all emoji in the existing port (x11-fonts/noto-emoji)? That's up to you as maintainer. I would keep them apart because they have different releases, version numbers and different upstreams. For NotoEmoji there are also additional weights you could put in an -extra port: NotoEmoji-Light.ttf (extra) https://fonts.gstatic.com/s/notoemoji/v47/bMrnmSyK7YY-MEu6aWjPDs-ar6uWaGWuo= b_10jwvS-FGJCMY.ttf NotoEmoji-Regular.ttf (basic) https://fonts.gstatic.com/s/notoemoji/v47/bMrnmSyK7YY-MEu6aWjPDs-ar6uWaGWuo= b-r0jwvS-FGJCMY.ttf NotoEmoji-Medium.ttf (extra) https://fonts.gstatic.com/s/notoemoji/v47/bMrnmSyK7YY-MEu6aWjPDs-ar6uWaGWuo= b-Z0jwvS-FGJCMY.ttf NotoEmoji-SemiBold.ttf (extra) https://fonts.gstatic.com/s/notoemoji/v47/bMrnmSyK7YY-MEu6aWjPDs-ar6uWaGWuo= b911TwvS-FGJCMY.ttf NotoEmoji-Bold.ttf (basic) https://fonts.gstatic.com/s/notoemoji/v47/bMrnmSyK7YY-MEu6aWjPDs-ar6uWaGWuo= b9M1TwvS-FGJCMY.ttf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240331234553.1793b816>