-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 12.04.2015 um 13:35 schrieb Nils Kneuper:
> * When building latest master with fribidi (after some hacking on the
> cmake recipe) I get an error with strict compilation turned on:
> 
>> /src/wesnoth-master/src/font.cpp: In member function 'void font: 
>> {anonymous}::text_surface::bidi_cvt()': 
>> /src/wesnoth-master/src/font.cpp:631:2: error: 'FriBidiLevel 
>> fribidi_log2vis(const FriBidiChar*, FriBidiStrIndex, FriBidiParType*, 
>> FriBidiChar*, FriBidiStrIndex*, FriBidiStrIndex*, FriBidiLevel*)' is 
>> deprecated (declared at /usr/include/fribidi/fribidi-deprecated.h:198) 
>> [-Werror=deprecated-declarations] fribidi_log2vis(bidi_logical, n, 
>> &base_dir, bidi_visual, NULL, NULL, NULL);
> 
> So the question is: 1) Am I the only one trying to build fribidi support
> with a recent fribidi (I am using 0.19.6, oldest available for gentoo is
> 0.19.5)? 2) Is scons not using the depcrecated-declarations for strict
> builds?

Someone with scons and a recent FriBiDi (e.g. 0.19.6 as in gentoo ~amd64)
please test if compiling with FriBiDi support actually works there or not. If
- -Wall is set, I had to deactivate two warning types for font.cpp...

> To actually fix the detection for me for fribidi I would have to change
> some more things in the Find script. The question is: * Who is using
> FriBiDi? Which version are you using? * Who uses cmake and can help me test
> the result?

I fixed the detection of FriBiDi in cmake by getting rid of our homegrown
FindFriBiDi file and instead using pkg config. Please check if finding and
using fribidi works for you now. Over here things seem to be working nicely
this way and the change should be considered for backporting to 1.12 even
though it increases the version requirement of FriBiDi to 0.10.9 when using 
cmake.

That is no idea what was working or not working in the 1.12 tree anyway. Is
there any user of a pre 0.19.x version of FriBiDi who can still build the 1.12
tree?

Cheers,
Nils Kneuper aka Ivanovic
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVKnA9AAoJECGQYXu6c8NeVxUP+gO9+rA6rfL9r0LTCYVQaUuB
YGZI1LJ6vfClaQcAEKa4j0LKSIEp6yKcUx7Q0BwjKZeHlKiupNyqRMPO/jNaww0f
Cenew1CBIdSFpfmFpbUUhWE7vi15Ijv9Ji281WVuCqG2g3JJ0T6dK00F7uqI9++G
wy+uEoxYrJ15UIR4zslty34OSRci2ytSx+dMdSTtz75FVTv4jsHtZ1WZnXQUTvbg
ZVZVdmg/8Q/8/cQNytUv8nwTR0dtVU8svq6QecJKHLfZ5MT28gV+n3OHWmRBsKxS
XZxaCMMLZKfXRGrZjy1Q7knE/Se7XfffWGDW2ToUQV+otN23juTVtruWUTazh1Kb
Sqrj7K4O7TfCbgkzpTvJAKgA1ftdFjQw37qPmWPJ7a47CNGbyQt/9bdNiICqKSGh
nVLHMULRbbwww2ozVdjj8w224G5VP238SfzH2BI6WTJcCCmsJa+0KGKH+79bF4xA
SKeHuiUg3l4T5ZNG/L8Mj2W5Vx0U660s6lyC8l50ZUMrTpv4xEGrBl+L0bpBSQxT
f5/yV92vPx1dMZoWr3vNpEAY0SZH4uVEV1IUD+oMWogxeJ3wLkwRRECsEQvMbUiI
fc0hyup40IgX5keymFSQRIZ1OyICnfb+4dhLSgdaTRsrJPLqr1kpT8zEdGIWNhgV
z2TDIwgFVs7d2wNNbQcZ
=E4TA
-----END PGP SIGNATURE-----

_______________________________________________
Wesnoth-dev mailing list
Wesnoth-dev@gna.org
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to