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

version defined in 2024 branch #94

Open
fedelibre opened this issue Mar 1, 2025 · 1 comment
Open

version defined in 2024 branch #94

fedelibre opened this issue Mar 1, 2025 · 1 comment

Comments

@fedelibre
Copy link

I'm trying to build synctex to use it in a flatpak package.
If I understand correctly, the stable branch is currently the 2024 branch, which has two problems:

  1. The meson.build file states that it's version 1.3, but 1.3 seems too old. In fact it should be 1.22, shouldn't?
  2. The meson syntax is probably outdated so the built library results undefined. I had to patch meson.build:
diff --git a/meson.build b/meson.build
index a940709..e6b3c5a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('synctex', 'c')
+project('synctex', 'c', version: '1.22')
 
 version = '1.3'

@fedelibre
Copy link
Author

Another possible problem is that the built .so file doesn't have a version in the file name. How can I be sure that I've installed the right version library?

Here's what I see in flatpak build directory:

$ ls build/files/lib/libsynctex.so*
build/files/lib/libsynctex.so
$ file build/files/lib/libsynctex.so*
build/files/lib/libsynctex.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b05051e8aebfb0dc26f777994f04d692fd7e9859, stripped

libsyntex.so is a file, but normally it should be a symlink to the versioned file, e.g. libsyntex.so.1.22.

The application I'm building is this one.

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

1 participant