[tldistro] [tlbuild] problems with synctex - warning to others

Norbert Preining preining at logic.at
Fri Apr 20 09:47:17 CEST 2018


Only quick  being outdoor

It is not the definition in the headers, but only the number in synctex_parser_version.txt that determines the soname. Changing only that to 2.0 is enough

More later

Norbert

On April 20, 2018 2:29:41 PM GMT+09:00, "Dr. Werner Fink" <werner at suse.de> wrote:
>On Thu, Apr 19, 2018 at 11:40:58PM +0900, Norbert Preining wrote:
>> HI all,
>> 
>> it is worse than I thought ...
>> 
>> > * it changes API without bumping so (synctex_nex_result is
>renamed!)
>> 
>> Unfortunately, synctex_next_result wasn't only renamed to 
>> synctex_parser_next_result (that would be easy to fix), but all the
>> types and structs have changed.
>> 
>> That means, everyone distributing shared libraries of synctex need to
>> bump the so number as this is not fixable unless all programs are
>> recompiled against the new version of synctex.
>
>Ouch ... such a major change requires a change of the major so number
>(IMHO)
>but AFAICS upstream does ignore this:
>
>#   define SYNCTEX_VERSION_MAJOR 1
>#   define SYNCTEX_VERSION_STRING "1.21"
>#   define SYNCTEX_CLI_VERSION_STRING "1.5"
>
>Beside texlive-synctex-bin I found zathura as a package which depends
>on
>libsynctex.so.1 :(
>
>Werner


--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the tldistro mailing list