[BRLTTY] cannot install brltty 5.4 latest git on gentoo
Dave Mielke
dave at mielke.cc
Sat Jul 23 17:49:05 EDT 2016
[quoted lines by Chris Brannon on 2016/07/23 at 14:30 -0700]
>With the 0.8 series of Speech Dispatcher, all of the headers moved down
>into /usr/include/speech-dispatcher.
>This is also when the pkg-config file was added.
>The first convention was adopted, either implicitly or explicitly.
>With version 0.8.4, they added the library-specific subdirectory back to
>the include path, so you could do
>#include <libspeechd.h>
>once again, just like you could do in versions 0.7.x and prior, when
>there was only one header and it was under /usr/include.
So from 0.8 to just before 0.8.4 it's not backward compatible? If so, I'd say
that that's a bug that they fixed in 0.8.4.
To me, including the subdirectory in the #include statement is better, but it's
even more important to be backward compatible. That's probably why there are
those two conventions.
Now that I'm looking at it, the Speech Dispatcher .pc file I was sent to test
with is for 0.8.3, and contains:
includedir=${prefix}/include/speech-dispatcher
Cflags: -I${includedir}
To me, this is right as it's backward compatible. How else can generic
configuration/source code keep it straight.
--
Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada K2A 1H7 | http://FamilyRadio.org/
More information about the BRLTTY
mailing list