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

Bug 655032

Summary: games-engines/scummvm and games-engine/residualvm silently fail to find freetype without freetype-config
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/scummvm/scummvm/pull/1185
https://github.com/residualvm/residualvm/pull/1413
Whiteboard: Waiting for upstream approval
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 654792    

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-06 08:00:38 UTC
The hand-written configure script still uses freetype-config to find freetype which of course fails with >=freetype-2.9.1
Comment 1 Larry the Git Cow gentoo-dev 2018-05-06 08:29:52 UTC
The bug has been referenced in the following commit(s):

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

commit fdf3034423cf76c8a4ee2fc1abfc30aa539bd3dc
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-06 08:29:21 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-06 08:29:46 +0000

    games-engines/scummvm: Added experimental freetype_pkgconfig patch
    
    Bug: https://bugs.gentoo.org/655032
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../files/scummvm-2.0.0-freetype_pkgconfig.patch   | 50 ++++++++++++++++++++++
 games-engines/scummvm/scummvm-2.0.0.ebuild         |  6 ++-
 2 files changed, 54 insertions(+), 2 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2018-05-07 07:03:14 UTC
The bug has been referenced in the following commit(s):

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

commit de097e37dfa73706c033420fc8bdd147d2975788
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-07 07:03:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-07 07:03:03 +0000

    games-engines/scummvm: Added improved freetype_pkgconfig patch
    
    which should be ready for upstream inclusion.
    
    Bug: https://bugs.gentoo.org/655032
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../files/scummvm-2.0.0-freetype_pkgconfig.patch   | 117 +++++++++++++++------
 games-engines/scummvm/scummvm-2.0.0.ebuild         |   1 +
 2 files changed, 84 insertions(+), 34 deletions(-)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-07 21:21:47 UTC
Adding games-engine/residualvm as they share some code and are related to each other.
Comment 4 Larry the Git Cow gentoo-dev 2019-03-15 21:53:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cc7020a65691e5974b8c883d9e15b0a0229f49

commit 65cc7020a65691e5974b8c883d9e15b0a0229f49
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-03-15 21:50:18 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-03-15 21:53:50 +0000

    games-engines/residualvm: Revbump to fix freetype detection
    
    - Bumped to EAPI-7
    - Use provided build system to install files
    
    Bug: https://bugs.gentoo.org/655032
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../residualvm-0.3.1-freetype_pkgconfig.patch      | 145 +++++++++++++++++++++
 ...lvm-0.3.1.ebuild => residualvm-0.3.1-r1.ebuild} |  34 +++--
 2 files changed, 161 insertions(+), 18 deletions(-)
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-03-15 21:56:14 UTC
So, scummvm already put the freetype fixes into a release.

For residualvm I backported the fixes from their git repo.