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

Install all headers for pdf2htmlEX #17

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Conversation

andiwand
Copy link
Member

No description provided.

@andiwand andiwand merged commit 2ec6c47 into main Sep 16, 2024
1 check failed
@andiwand andiwand deleted the pdf2htmlex-install-all-headers branch September 16, 2024 09:50
@ViliusSutkus89
Copy link
Contributor

I'm not really sure what's the reason for this. I don't mind it, it's just that I don't see a reason for it. pdf2htmlEX library is used through the pdf2htmlEX class, which is declared in pdf2htmlEX.h. That header file is marked in CMake as PUBLIC_HEADER and installed through CMake install. All the other headers are internal use. So I'm not really seeing the reason

@andiwand
Copy link
Member Author

I am in the process of detangling the patched pdf2htmlEX files and just use vanilla. That requires getting access to all the headers

@ViliusSutkus89
Copy link
Contributor

but vanilla pdf2htmlEX has no library, only the binary executable

@andiwand
Copy link
Member Author

Right I think that is the only patch we need. We do not need to touch the code

@andiwand
Copy link
Member Author

opendocument-app/OpenDocument.core#387 I haven't followed up with this in a while but want to come back to it

@ViliusSutkus89
Copy link
Contributor

Agree on the 387, but #9 is more problematic right now.

As for the library code, I think current patches here are missing the pdf2htmlEX class. ( https://github.com/ViliusSutkus89/pdf2htmlEX/blob/library/pdf2htmlEX/src/pdf2htmlEX.h and https://github.com/ViliusSutkus89/pdf2htmlEX/blob/library/pdf2htmlEX/src/libpdf2htmlEX.cc ). That class is a recreation of main() function from https://github.com/opendocument-app/pdf2htmlEX/blob/odr/main/pdf2htmlEX/src/pdf2htmlEX.cc

@ViliusSutkus89
Copy link
Contributor

387 depends on this, because ERROR: Package 'pdf2htmlex/0.18.8.rc1-20240905-git' not resolved: Unable to find 'pdf2htmlex/0.18.8.rc1-20240905-git' in remotes. I'll try to clean up the patches to have the library available

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

Successfully merging this pull request may close these issues.

2 participants