Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyncTeX version confusion #95

Open
Vectornaut opened this issue Sep 20, 2022 · 3 comments
Open

SyncTeX version confusion #95

Vectornaut opened this issue Sep 20, 2022 · 3 comments

Comments

@Vectornaut
Copy link

Vectornaut commented Sep 20, 2022

I'm using depends_on "zegervdv/zathura/synctex" in a Homebrew formula that builds another program (Gummi) from source. The SyncTeX tap seems to say it's at version 1, but act like it's at version 2, causing the build to fail unless I manually change the result of the version check. I'm raising the issue here in case it's coming from this package, rather than from Gummi.

@zegervdv
Copy link
Owner

What do you mean by version 2?

I'm using synctex from the GitHub repo at this revision: https://github.com/jlaurens/synctex/tree/a256d4835b7df2a0472cfa3d557af73a1b83f076

The version header file indicates it is 1.22. I have no idea about the content of the source files.

@Vectornaut
Copy link
Author

Vectornaut commented Sep 21, 2022

What do you mean by version 2?

Gummi has a configuration switch that triggers when SyncTeX is at version 1.99 or below (version 1). It seems to accommodate breaking changes that appear in versions 2.00 and higher. For example, it changes the expected signatures of some SyncTeX functions. When I build Gummi using the SyncTeX tap in this repository, I get signature errors unless I manually set the switch as though SyncTeX were at version 2.00 or higher.

@zegervdv
Copy link
Owner

I've just provided a way to compile it, but I don't know much about the project itself. I'm not setting any defines for the compile, so I wouldn't know how it switched to version 2.

You could ask on the linked repo if they have an idea? If I have to change something to the formula, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants