On Fri, Aug 24, 2018 at 06:21:21PM -0500, Bruce Dubbs wrote:
> On 08/24/2018 03:40 PM, [email protected] wrote:
> > Hi,
> >
> > On Fri, 24 Aug 2018, Bruce Dubbs wrote:
>
> Comparing with the previous build logs shows: ass_*
> > requires freetype, MPlayer does not detect freetype anymore, because
> > /usr/bin/freetype-config is missing. The differences between previous
> > freetype-2.9.1 build (installing freetype-config) and current
> > freetype-2.9.1 build (not installing freetype-config any more) are
> > really minor. Looks like some relative vs absolute path change and the
> > build system not liking one of the variants. No idea whose fault this
> > is, but manually copying freetype-2.9.1/builds/unix/freetype-config to
> > /usr/bin fixes it for me and MPlayer builds fine again. [I also see some
> > libavformat version mismatch, but thats a runtime rather than a build
> > issue.]
>
> I'll try that... and it does let the build complete.
>
Not a package I particularly care about, but I noticed that Arch is
using a numbered development version - i.e. svn. Going to mplayer's
site and getting the latest svn snapshot, then looking at the log:
r38021 | al | 2018-03-20 00:56:39 +0000 (Tue, 20 Mar 2018) | 12 lines
configure: Use pkg-config if freetype-config is unavailable
Currently we only try to use freetype-config, but freetype-config
is deprecated by upstream. Starting soon freetype-config will
not be installed by typical freetype builds anymore.
Use pkg-config if freetype-config is not available. This
is identical to how we treat dvdnav-config and dvdread-config.
Fixes ticket #2340
So, after reminding myself how to look at what changed in a
particular revision:
ken@milliways /scratch/ken/mplayer-subversion/mplayer-checkout-2018-08-24 $svn
diff -c r38021 .
Index: configure
===================================================================
--- configure (revision 38020)
+++ configure (revision 38021)
@@ -839,7 +839,8 @@
_macosx_finder=no
_macosx_bundle=auto
_sortsub=yes
-_freetypeconfig='freetype-config'
+_freetypeconfig='pkg-config freetype2'
+type freetype-config >/dev/null 2>&1 && _freetypeconfig=freetype-config
_fribidi=auto
_enca=auto
_inet6=auto
Obviously, I haven't tried building with that, but it seems simpler
than hacking freetype-config!
ĸen
--
Entropy not found, thump keyboard to continue
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page