Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654962 - media-libs/freetype-2.9.1-r1 disables freetype-config
Summary: media-libs/freetype-2.9.1-r1 disables freetype-config
Status: RESOLVED DUPLICATE of bug 654792
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-05 11:47 UTC by farmboy0
Modified: 2018-05-11 09:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description farmboy0 2018-05-05 11:47:38 UTC
This is needed to build software i.e. ScummVM.
This is the first ebuild that disables this without any need.
2.8 and 2.9 dont disable that option.
Comment 1 Mart Raudsepp gentoo-dev 2018-05-05 11:54:58 UTC
This is intended and also done upstream. Software building against freetype should use pkg-config, not freetype-config.
File specific bugs about specific software still using freetype-config and make it blocking bug 654792; well, if one doesn't exist already there on depend line :)
Comment 2 farmboy0 2018-05-05 18:54:37 UTC
This has nothing to do with building software from the Gentoo repos.

Besides upstream made it optional to build freetype-config not disabling it outright what Gentoo has done.
Comment 3 Mart Raudsepp gentoo-dev 2018-05-05 19:11:45 UTC
Ok, assigning to maintainer for a final verdict with non-repository compiling considered
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-05 20:25:20 UTC
freetype-config will not come back.

*** This bug has been marked as a duplicate of bug 654792 ***
Comment 5 farmboy0 2018-05-05 23:31:56 UTC
Is there a reason for this?
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-06 17:45:23 UTC
(In reply to farmboy0 from comment #5)
> Is there a reason for this?

Yes,

freetype-config is deprecated and not cross-compile safe. Now that upstream finally no longer installs freetype-config by default, we are just following what upstream's intention is.
Comment 7 Nikos Chantziaras 2018-05-10 07:20:12 UTC
Upstream provides a configure switch. Gentoo supports these in the form of USE flags.

Please add a USE flag for this until all in-tree packages have been adapted? Right now, portage will simply downgrade to an old freetype version which has some unfixed bugs, because ebuilds need to depend on old versions. If you add a USE flag (disabled by default), ebuilds can instead depend on the USE flag instead of forcing an old freetype version.
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-10 10:05:59 UTC
(In reply to Nikos Chantziaras from comment #7)
> Upstream provides a configure switch. Gentoo supports these in the form of
> USE flags.
> 
> Please add a USE flag for this until all in-tree packages have been adapted?
> Right now, portage will simply downgrade to an old freetype version which
> has some unfixed bugs, because ebuilds need to depend on old versions. If
> you add a USE flag (disabled by default), ebuilds can instead depend on the
> USE flag instead of forcing an old freetype version.

No, because that would simply give package maintainers an excuse to never fix their packages. 
Furthermore, once I gonna remove that USE flag again I'd had extra work burden to make sure no package depends on that USE flag anymore.
Comment 9 Nikos Chantziaras 2018-05-10 17:09:00 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #8)
> No, because that would simply give package maintainers an excuse to never
> fix their packages.
This hasn't changed. They can simply depend on the previous freetype version.

> Furthermore, once I gonna remove that USE flag again I'd had extra work
> burden to make sure no package depends on that USE flag anymore.
I think the best way here would have been to mask the USE flag instead of removing it. The polite steps to remove something is to deprecate it, mask it, finally remove it.

Currently the only people "punished" here are users, not package maintainers. So I'd say the plan has failed :-P
Comment 10 Mart Raudsepp gentoo-dev 2018-05-10 18:16:32 UTC
Welcome to ~arch... that said, I find the transitioning done in a way that delays a security stabilization rather concerning here. Otherwise I fully support the freetype-config removal. The security fix should be backported or a revision that ships freetype-config (and always enables it) stabilized for security, with the removal of freetype-config continuing in its own pace in ~arch in a higher revision or version than one that puts it back for security stabilization.
Comment 11 Nikos Chantziaras 2018-05-11 09:19:23 UTC
(In reply to Mart Raudsepp from comment #10)
> Welcome to ~arch...
I don't understand the rationale of not masking the USE flag prior to removing it.

What is the issue?