Summary: | x11-misc/xfe-1.37 - configure: error: "ftheader.h not found" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | Current packages | Assignee: | Desktop Misc. Team <desktop-misc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creideiki+gentoo-bugzilla, rdalek1967, toralf |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 493570, 536308 | ||
Attachments: |
xfe-1.37.ebuild.patch
emerge-info.txt emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 x11-misc:xfe-1.42:20180510-150211.log |
Description
Patrick Lauer
2014-06-24 02:51:51 UTC
copy x11-misc/xfe/xfe-1.37.ebuild (anf 'files' dir) to local overlay and change: src_prepare() { ... sed -i -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac || die +if [ -e "${EROOT}"usr/include/freetype2 ]; then +sed -i -e 's|freetype/config/ftheader.h|freetype2/config/ftheader.h|' configure.ac || die "change include path for >=media-libs/freetype-2.5.1 failed" +fi eautoreconf } right this way or no, but this build and work for >=media-libs/freetype-2.5.1 blocks 493570 Created attachment 386220 [details, diff] xfe-1.37.ebuild.patch This ebuild patch was inspired by AlexOmskiy@yandex.ru's suggestion, but I check for ft2build.h instead of ftheader.h, which seems to conform to the freetype documentation better: http://www.freetype.org/freetype2/docs/tutorial/step1.html Other notes: - I can't easily test it with older freetype (ebuild no longer in tree), but I expect it probably works with any version of freetype without looking for specific paths. - Stable xfe-1.34 does not build, and hasn't since freetype was upgraded, so once this is working, patched 1.37 should probably be stabilized. Or backport it. - Not sure why configure is checking for freetype at all. Xfe does not seem to directly include any freetype stuff, although maybe it is indirectly needed due to other library headers? Fixed without a revision bump. Thanks for the patch. *** Bug 536176 has been marked as a duplicate of this bug. *** got at the unstable amd64 chroot image 17.0-systemd_20180501-115151 this : configure: error: ftheader.h not found Created attachment 530746 [details]
emerge-info.txt
Created attachment 530748 [details]
emerge-history.txt
Created attachment 530750 [details]
environment
Created attachment 530752 [details]
etc.portage.tbz2
Created attachment 530754 [details]
logs.tbz2
Created attachment 530756 [details]
temp.tbz2
Created attachment 530758 [details]
x11-misc:xfe-1.42:20180510-150211.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e0c700f0c0aa406e84d7dd300557c0eb3c4a3d commit 56e0c700f0c0aa406e84d7dd300557c0eb3c4a3d Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-05-10 20:16:05 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-05-10 20:16:22 +0000 x11-misc/xfe: Use pkg-cofing to find freetype and xft. Closes: https://bugs.gentoo.org/514800 Package-Manager: Portage-2.3.36, Repoman-2.3.9 ...e-1.42-use_pkgconfig_for_freetype_and_xft.patch | 57 ++++++++++++++++++++++ x11-misc/xfe/xfe-1.42.ebuild | 16 +++--- 2 files changed, 66 insertions(+), 7 deletions(-) |