Created attachment 529716 [details, diff] dia-0.97.3-freetype_pkgconfig.patch checking for FT_Init_FreeType in -lfreetype... ./configure: line 17442: freetype -config: command not found yes checking if FreeType version is 2.0.9 or higher... ./configure: line 17482: free type-config: command not found configure: error: Need FreeType library version 2.0.9 or higher The attached patch changes configure.in to use pkg-config instead.
Can you upstream this? https://bugzilla.gnome.org/enter_bug.cgi?product=dia Though they have configure.ac there in git (git.gnome.org/browse/dia), but looks to still be using freetype-config. Mostly stalled project though, unfortunately.
This patch works for me, thank you.
Can the ebuild be updated to EAPI=6 with an eapply_user directive? My brief attempt left me with a GCONF_DEBUG error.
*** Bug 657700 has been marked as a duplicate of this bug. ***
*** Bug 657960 has been marked as a duplicate of this bug. ***
(In reply to Mart Raudsepp from comment #1) > Can you upstream this? > https://bugzilla.gnome.org/enter_bug.cgi?product=dia Done: https://gitlab.gnome.org/GNOME/dia/issues/9
If you are confident of the patch, you may merge it in now. Make sure to point at the upstream bug report in bash comments alongside the PATCHES or eapply entry.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b743707ba1ffaaaadfbf44f1bd9ad0accd61334a commit b743707ba1ffaaaadfbf44f1bd9ad0accd61334a Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-07-02 09:48:12 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-07-02 09:48:12 +0000 app-office/dia: Use pkg-config instead of freetype-config Commit permission kindly granted by leio. Closes: https://bugs.gentoo.org/654814 Package-Manager: Portage-2.3.41, Repoman-2.3.9 app-office/dia/dia-0.97.3.ebuild | 3 +- .../dia/files/dia-0.97.3-freetype_pkgconfig.patch | 66 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-)