Build against the SyncTeX shared library if available
Bug #1338797 reported by
Benjamin Eltzner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Fix Released
|
Wishlist
|
Adam Reichold |
Bug Description
Hi, a bug was reported in the Debian BTS:
https:/
"qpdfview currently contains a copy of synctex parser from texlive-bin. This code is now provided as shared library by libsynctex1/
Since the shared library version of synctex seems to be quite recent and apparently it has not yet been adopted anywhere outside Debian, I think a compile time option would be great for the time being.
Changed in qpdfview: | |
status: | New → Incomplete |
summary: |
- please add an option to compile against the shared library libsynctex- - dev + Build against the SyncTeX shared library if available |
Changed in qpdfview: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Benjamin,
I think this will become a Won't Fix for the time being since the shared library is not part of any upstream TeXLive release yet but is built by Debian as a distribution patch. Even though, there have been corresponding commits within the upstream repository [1], the naming of libraries and pkg-config modules differs so that I am not yet willing to commit this to my trunk. Or did I misinterpret the situation?
I will however provide you with a possible patch that the Debian package can carry for now. I could not test it since I can't access a corresponding TeXLive installation outside of Debian unstable, but I think it won't work since the pkg-config metadata shipped by Debian tries to link to "libsynctex_ parser. so" but installs "libsynctex.so". (Maybe I just misunderstood something, not sure there.) In any case, I try to detect whether a package is installed via "pkg-config" and if so link with it instead of building the inline version of the SyncTeX parser, so the migration should be completely automatic as soon as correct pkg-config files are shipped. (But again, naming seems to differ upstream with the pkg-config files even missing for now.)
Best regards, Adam.