Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788136

Summary: x11-misc/xplanet - fails with >=media-libs/freetype-2.9.1-r2 because of missing /usr/bin/freetype-config
Product: Gentoo Linux Reporter: Derrier Dominique <derrierdo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20680
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 654792    
Attachments: Ebuild to add autoreconf
Patched acinclude to check freetype2

Description Derrier Dominique 2021-05-04 11:59:54 UTC
Default configuration checks for "freetype-config" for path information.
"freetype-config" seems to be removed on last version.

In my opinion:
"freetype-config" should be replace by: "pkg-config xxxx freetype2"

Reproducible: Always

Steps to Reproduce:
ebuild /usr/portage/x11-misc/xplanet/xplanet-1.3.1-r1.ebuild
With flags : X gif jpeg png tiff truetype
Comment 1 Derrier Dominique 2021-05-04 12:02:27 UTC
Created attachment 705972 [details]
Ebuild  to add autoreconf

Patched Ebuild  to add autoreconf
Comment 2 Derrier Dominique 2021-05-04 12:03:37 UTC
Created attachment 705975 [details, diff]
Patched acinclude to check freetype2

Change freetype-config to pkg-config --xxxx freetype2
Comment 3 Derrier Dominique 2021-05-04 12:06:01 UTC
I'm not a developer, so you could update my patches as needed.
Comment 4 Larry the Git Cow gentoo-dev 2021-05-04 13:35:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d912ff9ad0a450e9250e8224866ca172926b60

commit 17d912ff9ad0a450e9250e8224866ca172926b60
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-04 13:25:36 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-04 13:35:40 +0000

    x11-misc/xplanet: Revbump to fix freetype detection
    
    Bumped to EAPI-7
    Overhauled src_configure function
    
    Closes: https://bugs.gentoo.org/788136
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/xplanet-1.3.1-freetype_pkgconfig.patch   | 40 +++++++++++++++
 x11-misc/xplanet/xplanet-1.3.1-r1.ebuild           | 57 +++++++++-------------
 2 files changed, 63 insertions(+), 34 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2021-05-04 13:36:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4891d682041caf0e92e1a4b8c408f3ed0bceb8

commit 7e4891d682041caf0e92e1a4b8c408f3ed0bceb8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-04 13:36:40 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-04 13:36:40 +0000

    x11-misc/xplanet: Really do the revbump this time
    
    Bug: https://bugs.gentoo.org/788136
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 x11-misc/xplanet/{xplanet-1.3.1-r1.ebuild => xplanet-1.3.1-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)