> i attempted to install lilypond-9999 gentoo ebuild but it fails because it > does not detect fontforge version correctly: > > # ./configure > ... > configure: creating ./config.status > config.status: creating config.make > config.status: creating config.hh > configure: WARNING: unrecognized options: --with-ncsb-dir > > WARNING: Please consider installing optional programs or files: dblatex > pdflatex epsf.tex lh CTAN package (texlive-lang-cyrillic or texlive-texmf- > fonts) > > ERROR: Please install required programs: /usr/bin/fontforge >= 20110222 > (installed: 99da6faa1ea3b4f80ecd333f596ea7dab205325) > > See INSTALL.txt for more information on how to build LilyPond > ... > > here is the output of fontforge: > > # fontforge --version > Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > with many parts BSD <http://fontforge.org/license.html>. Please read > LICENSE. > Based on sources from 10:14 CEST 19-Aug-2015-ML-D. > Based on source from git with hash: > 99da6faa1ea3b4f80ecd333f596ea7dab205325e > no xdefs_filename! > TESTING: getPixmapDir:/usr/share/fontforge/pixmaps > TESTING: getShareDir:/usr/share/fontforge > TESTING: GResourceProgramDir:/usr/bin > trying default theme:/usr/share/fontforge/pixmaps/resources > fontforge 10:14 CEST 19-Aug-2015 > libfontforge 20150819 > > > it apparently catches git hash instead of the date version.
Would you try the attached patch? It is necessary `./autogen.sh' before `./configure'.
>From a0f236e881b4b52088cc51bcd52049c44e42387c Mon Sep 17 00:00:00 2001 From: Masamichi Hosoda <truer...@trueroad.jp> Date: Sat, 22 Aug 2015 21:20:17 +0900 Subject: [PATCH] Fix fontforge version detection Newer fontforge shows git hash in `fontforge --version`. In that case, configure script might recognize it as date (version). --- aclocal.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aclocal.m4 b/aclocal.m4 index 48d0b77..0037c58 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -42,7 +42,8 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [ if test -z "$_ver"; then ## If empty, try date [fontforge] - eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\{6,8\}' \ + eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 \ + | grep '\(^\|[^0-9a-f]\)[0-9]\{6,8\}\([^0-9a-f]\|$\)' \ | head -n 1 \ | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\" fi -- 2.4.5
_______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond