Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753788 - media-gfx/fontforge-20200314[truetype-debugger] can't compile with >=media-libs/freetype-2.10.3
Summary: media-gfx/fontforge-20200314[truetype-debugger] can't compile with >=media-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-11-10 05:46 UTC by mehw
Modified: 2020-11-16 02:44 UTC (History)
2 users (show)

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


Attachments
media-gfx/fontforge-20200314 amended for >=media-libs/freetype-2.10.3 (fontforge-20200314.ebuild,3.00 KB, text/plain)
2020-11-10 05:46 UTC, mehw
Details
media-gfx/fontforge/files/20200314-internal.patch (20200314-internal.patch,1.83 KB, patch)
2020-11-10 05:49 UTC, mehw
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mehw 2020-11-10 05:46:45 UTC
Created attachment 670655 [details]
media-gfx/fontforge-20200314 amended for >=media-libs/freetype-2.10.3

media-gfx/fontforge-20200314 truetype-debugger use flag requires >=media-libs/freetype-2.3.8:2[fontforge,-bindist(-)], but starting with media-libs/freetype-2.10.3 internal/internal.h is missing (http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=e13391333f501967db8823025ce8c63259b5d57e).

In my platform fontforge-20200314[truetype-debugger] compiles fine with media-libs/freetype-2.10.4 if the patch https://github.com/jtanx/fontforge/commit/7837530190a3b666109ba4eb9b3b76f09799057c.patch is applied.

I attach both the amended fontforge-20200314.ebuild and 20200314-internal.patch (aka commit 7837530190a3b666109ba4eb9b3b76f09799057c).

The only change in fontforge-20200314.ebuild is adding 20200314-internal.patch as patch.
Comment 1 mehw 2020-11-10 05:49:52 UTC
Created attachment 670658 [details, diff]
media-gfx/fontforge/files/20200314-internal.patch

Fixes media-gfx/fontforge-20200314[truetype-debugger] to compile with >=media-libs/freetype-2.10.3.

https://github.com/jtanx/fontforge/commit/7837530190a3b666109ba4eb9b3b76f09799057c.patch
Comment 2 Jiří Moravec 2020-11-14 09:38:15 UTC
(In reply to mehw from comment #1)
> Created attachment 670658 [details, diff] [details, diff]
> media-gfx/fontforge/files/20200314-internal.patch
> 
> Fixes media-gfx/fontforge-20200314[truetype-debugger] to compile with
> >=media-libs/freetype-2.10.3.
> 
> https://github.com/jtanx/fontforge/commit/
> 7837530190a3b666109ba4eb9b3b76f09799057c.patch

Thanks for patch. I was finally able to reemerge fontforge.
Comment 3 mehw 2020-11-16 02:25:52 UTC
(In reply to Jiří Moravec from comment #2)
> Thanks for patch. I was finally able to reemerge fontforge.

You're welcome ;)
Comment 4 Larry the Git Cow gentoo-dev 2020-11-16 02:44:44 UTC
The bug has been closed via the following commit(s):

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

commit 8115713266e50d53c31a57c8d56d5b58d62d372d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-16 02:39:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-16 02:39:48 +0000

    media-gfx/fontforge: fix build with >=media-libs/freetype-2.10.3
    
    Closes: https://bugs.gentoo.org/753788
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/fontforge-20200314-freetype-2.10.3.patch | 60 ++++++++++++++++++++++
 media-gfx/fontforge/fontforge-20200314.ebuild      |  1 +
 2 files changed, 61 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit b6f81e9816177a960149324b1c1128a5b10c5ae4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-16 02:44:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-16 02:44:37 +0000

    media-gfx/fontforge: bump to 20201107
    
    Bug: https://bugs.gentoo.org/753788
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/fontforge/Manifest                  |   1 +
 media-gfx/fontforge/fontforge-20201107.ebuild | 112 ++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)