[Fontconfig] fixes in 2.13

Eduard Braun eduard.braun2 at gmx.de
Thu Mar 8 19:17:31 UTC 2018


Yes, that works...


Am 08.03.2018 um 04:35 schrieb Akira TAGOH:
> Hm, okay. how about this?
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 1ff065b..2111ce0 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -82,7 +82,7 @@ AM_CPPFLAGS =
>           \
>          -DFC_CACHEDIR='"$(FC_CACHEDIR)"'                \
>          -DFONTCONFIG_PATH='"$(BASECONFIGDIR)"'          \
>          -DFC_TEMPLATEDIR='"$(TEMPLATEDIR)"'
> -LDADD  = $(INTLLIBS)
> +LDADD  = $(LIBINTL)
>
>   EXTRA_DIST += makealias
>
> @@ -168,7 +168,7 @@ lib_LTLIBRARIES = libfontconfig.la
>   libfontconfig_la_LDFLAGS =                     \
>          -version-info @LIBT_VERSION_INFO@ -no-undefined $(export_symbols)
>
> -libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS)
> $(LIBXML2_LIBS) $(EXPAT_LIBS) $(UUID_LIBS) $(INTLLIBS)
> +libfontconfig_la_LIBADD = $(ICONV_LIBS) $(FREETYPE_LIBS)
> $(LIBXML2_LIBS) $(EXPAT_LIBS) $(UUID_LIBS) $(LTLIBINTL)
>
>   libfontconfig_la_DEPENDENCIES = $(fontconfig_def_dependency)
>
>
> On Thu, Mar 8, 2018 at 5:50 AM, Eduard Braun <eduard.braun2 at gmx.de> wrote:
>> Relevant entries from Makefile::
>>
>> INTLLIBS = /mingw64/lib/libintl.dll.a -L/mingw64/lib
>> LIBINTL = /mingw64/lib/libintl.dll.a -L/mingw64/lib
>> LTLIBINTL = -L/mingw64/lib -lintl -R/mingw64/lib
>>
>> (I also attached the full Makefile)
>>
>>
>>
>> Am 07.03.2018 um 04:08 schrieb Akira TAGOH:
>>> weird. that works for me here. please give me more info. try grep INTL
>>> src/Makefile on your tree.
>>>
>>> On Wed, Mar 7, 2018 at 11:39 AM, Eduard Braun <eduard.braun2 at gmx.de>
>>> wrote:
>>>> Let's try again...
>>>>
>>>> I used the 2.13.0 release this time.
>>>>
>>>> Appending "-lintl" to "libfontconfig_la_LIBADD" variable allows to build
>>>> the
>>>> release.
>>>>
>>>>
>>>>
>>>> Am 07.03.2018 um 03:30 schrieb Akira TAGOH:
>>>>> Apparently no logs attached in your mail though, if Makefile.in hasn't
>>>>> been updated after pulling that change, you may need to run autoreconf
>>>>> to apply them. or have you tried to build 2.13.0 yet?
>>>>>
>>>>> On Wed, Mar 7, 2018 at 5:30 AM, Eduard Braun <eduard.braun2 at gmx.de>
>>>>> wrote:
>>>>>> Am 02.03.2018 um 05:21 schrieb Akira TAGOH:
>>>>>>> Fixed in git. thanks for reporting.
>>>>>>>
>>>>>>> On Fri, Mar 2, 2018 at 5:59 AM, Eduard Braun <eduard.braun2 at gmx.de>
>>>>>>> wrote:
>>>>>>>> Am 01.03.2018 um 11:35 schrieb Akira TAGOH:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm planning to release 2.13 tthis weekend or early next week.
>>>>>>>>> please
>>>>>>>>> let me know if anything else needs to be fixed in 2.13.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>> When building 0.92.3 using MSYS2's mingw-w64 toolchain I'm getting
>>>>>>>> linker
>>>>>>>> errors like:
>>>>>>>> fcarch.o:fcarch.c:(.text.startup+0x18): undefined reference to
>>>>>>>> `__printf__'
>>>>>>>>
>>>>>>>> They seem to be related to gettext somehow as configuring with
>>>>>>>> --disable-nls
>>>>>>>> works.
>>>>>>>>
>>>>>>>> Build logs are attached.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Eduard
>>>>>>>>
>>>>>> Thanks, unfortunately I still seem to be missing an "-lintl" linker
>>>>>> flag
>>>>>> to
>>>>>> link the shared libfontconfig. If I add it manually compilation
>>>>>> succeeds,
>>>>>> otherwise it still fails (find build log attached).
>>>>>>
>>>>>> Regards,
>>>>>> Eduard
>>>>>
>>>>>
>>>
>
>



More information about the Fontconfig mailing list