Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788136 - x11-misc/xplanet - fails with >=media-libs/freetype-2.9.1-r2 because of missing /usr/bin/freetype-config
Summary: x11-misc/xplanet - fails with >=media-libs/freetype-2.9.1-r2 because of missi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: freetype-config
  Show dependency tree
 
Reported: 2021-05-04 11:59 UTC by Derrier Dominique
Modified: 2021-05-04 13:36 UTC (History)
0 users

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


Attachments
Ebuild to add autoreconf (xplanet-1.3.1-r2.ebuild,1.64 KB, text/plain)
2021-05-04 12:02 UTC, Derrier Dominique
Details
Patched acinclude to check freetype2 (xplanet-freetype2.patch,966 bytes, patch)
2021-05-04 12:03 UTC, Derrier Dominique
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)