Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1028397
| From | Jonas Smedegaard <jonas@jones.dk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#971830: fonts-jetbrains-mono: please advertise which scripts are covered |
| Date | 2020-10-12 22:40 +0200 |
| Message-ID | <AZcLT-5Ve-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <AXASm-2P3-11@gated-at.bofh.it> <AXASm-2P3-11@gated-at.bofh.it> <AZcLT-5Ve-3@gated-at.bofh.it> <AXASm-2P3-11@gated-at.bofh.it> <AZcLT-5Ve-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Quoting Romain Porte (2020-10-12 16:04:52)
> On Thu, 08 Oct 2020 11:50:47 +0200 Jonas Smedegaard <dr@jones.dk> wrote:
> > Long description emphasizes script coverage as notable feature, yet
> > does not tell _which_ scripts are covered.
> >
> > The purpose of package long description is to aid a user unfamiliar
> > with a package to decide if relevant to install, and most users will
> > likely want to know if their own script is covered rather than
> > simply "many".
> >
> > Please therefore consider including in long description which
> > scripts is covered by fonts-jetbrains-mono.
> >
> > I can recommend to look at how such information is automated in the
> > source package fonts-noto.
> After looking the debian/control file of fonts-noto [1], I only was
> able to find out that the "${fonts:scriptfonts}" variable was used in
> the long description of the package to list how many scripts were
> supported by the package.
>
> I however failed to see how the full list of scripts was included in
> the long description of the package — can you guide me to where this
> is done, and how?
The data is resolved in rules file:
https://salsa.debian.org/fonts-team/fonts-noto/-/blob/master/debian/rules#L91
Sorry, I had forgotten that fonts-noto still uses cdbs which is alien to
many and not recommended for new packaging work.
Totally untested, it should look something like the following rewritten
to instead use short-form dh sequencer:
override_dh_dh_gencontrol:
printf fonts:familylist= \
>> debian/fonts-jetbrains-mono.substvars
otfinfo -a $(wildcard src/*.ttf) | cut -d: -f2 \
| LC_ALL=C sort -u \
| $$(substvars-list-encode) \
>> debian/fonts-jetbrains-mono.substvars
dh_gencontrol -- -Vfonts:scriptcount="$(fonts-scriptcount)"
Hope that helps,
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#971830: fonts-jetbrains-mono: please advertise which scripts are covered Jonas Smedegaard <dr@jones.dk> - 2020-10-08 12:00 +0200 Bug#971830: fonts-jetbrains-mono: please advertise which scripts are covered Jonas Smedegaard <jonas@jones.dk> - 2020-10-12 22:40 +0200
csiph-web