Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601866 - >=media-fonts/stix-fonts-2: SLOT or not?
Summary: >=media-fonts/stix-fonts-2: SLOT or not?
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2016-12-07 00:57 UTC by Michael Hofmann
Modified: 2021-03-21 19:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stix-fonts-2.0.0.ebuild (stix-fonts-2.0.0.ebuild,710 bytes, text/plain)
2016-12-25 21:11 UTC, July Tikhonov
Details
stix-fonts-2.0.1.ebuild (stix-fonts-2.0.1.ebuild,731 bytes, text/plain)
2019-06-09 16:01 UTC, Jason Oliveira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hofmann 2016-12-07 00:57:36 UTC
STIX Version 2.0.0 was released on 2016-12-01.

http://stixfonts.org/


Reproducible: Always
Comment 1 Tim Harder gentoo-dev 2016-12-09 06:17:36 UTC
Added to the tree.
Comment 2 July Tikhonov 2016-12-25 21:11:39 UTC
Created attachment 457386 [details]
stix-fonts-2.0.0.ebuild

I think that this version bump should be more considerate:

1) First, STIX-2.0.0 provides new family names «STIX Two Text» and «STIX Two Math» explicitly to support coexistance with STIX-1. I suggest putting this ebuild in a different slot, and take care to install in a different directory (maybe /usr/share/fonts/stix-fonts-2/ ?).
I.e.
put
  FONT_PN="stix-fonts-2"
before "inherit font" line — that will redefine installation directory,
and use
  SLOT="2"

2) Second, configuration file 61-stix.conf seems outdated. The current font does not define «STIXGeneral» font family, or any other family mentioned in this conf file. I'm not really into fontconfig conf files, but release notes of STIX-2.0.0 read that «The STIX-General packaging of the fonts is no longer supported» which suggests that 61-stix.conf is no longer relevant in its current form.
I suggest removing
  FONT_CONF=( "${FILESDIR}"/61-stix.conf )
line. Or maybe I'm missing the importance of this file, in wich case it probably should be edited to reflect changes in font packaging.

Suggested ebuild tested (including coinstallation with STIX-1.1.1) and attached.
Comment 3 Michael Hofmann 2016-12-25 22:34:17 UTC
July is right - 'STIX Two' is indeed a NEW font.

Additional information can be found here: https://sourceforge.net/p/stixfonts/tracking/78/

I'm not sure about the best solution. We could have a slotted ebuild as suggested by July. We could also have an ebuild that installs both versions (STIX and STIX TWO). Or we could have two different ebuilds: 'stix' and 'stix-two'...

I change the status back to 'open'.
Comment 4 Jason Oliveira 2019-06-09 16:01:52 UTC
Created attachment 579326 [details]
stix-fonts-2.0.1.ebuild

All the hand-wringing over whether or not this is Stix Two is a moot point in 2019, as Stix One is unable to be found on the internet anymore. Looks like this is the 2.0 of Stix, and there has been a 2.0.1 release, so have another version bump. Perhaps we can now close this open bug from 2016?
Comment 5 Jason Oliveira 2019-06-09 17:09:40 UTC
from the Styx Fonts website: https://github.com/stipub/stixfonts

Version 2 of the STIX fonts, now known as “STIX Two”, is a thorough revision of version 1 undertaken by the renowned type house Tiro Typeworks. The STIX Two fonts consist of four text fonts (Regular, Italic, Bold, and Bold Italic) and one Math font. Together, they provide a uniform set of fonts that can be used throughout the production process, whether that be a traditional print-only process, an entirely electronic one, or a combination of the two.

As it says, it's just a revision, not a new font. Let's close this bug after the version is bumped.
Comment 6 July Tikhonov 2019-06-09 18:39:51 UTC
Jason, I disagree.

It is a revision, but not “just a revision”. It goes with a new font family name. Which is probably irrelevant, okay.

But it also removed some font families, something around “STIXGeneral”, which apparently were installed by STIX 1 and are not installed by STIX 2.

Because of this, the file 61-stix.conf is obsolete, since it references those font families that do not exist anymore. I still suggest that this file should be updated before ebuild is stabilised.
Comment 7 Jason Oliveira 2019-06-09 23:24:42 UTC
Slotting is best.
There does seem to be a copy of 1.1.1 living on the author's git repository. I hesitate to pull down the entire git repo just for less than 1/5th of the overall code, but everything that requires the previous fontconfig file still exists there. the 1.1.1 ebuild needs to be rebuilt to point at this repo as well, as the ebuild is currently broken and is blocking dev-python/matplotlib from building.
Comment 8 Larry the Git Cow gentoo-dev 2021-03-21 19:06:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102f93bd01c974876866bd06671646fc528a78c1

commit 102f93bd01c974876866bd06671646fc528a78c1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-03-20 22:55:26 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-03-21 19:05:35 +0000

    media-fonts/stix-fonts: 2.11 version bump, EAPI-7, new upstream repo
    
    Bug: https://bugs.gentoo.org/601866
    Closes: https://bugs.gentoo.org/670280
    Closes: https://bugs.gentoo.org/740256
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-fonts/stix-fonts/Manifest               |  4 +++
 media-fonts/stix-fonts/stix-fonts-2.11.ebuild | 36 +++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)