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

Upgrade muPDF to version 1.22.0 #44

Closed

Conversation

nickolay168
Copy link

I have made some minor changes to Orion Viewer to upgrade muPDF.

@@ -9,8 +9,25 @@ buildscript {
/*DJVU CHAIN*/
task downloadDjvu {
doLast {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you put new exec instuction in doLast and kept

        exec {
            workingDir file(djvu)
            commandLine = ['git', 'checkout', '32ff0948c5bc27c0b7507dba90e726fc941fcc42'/*current master*/]
        }

out of it?

Copy link
Author

@nickolay168 nickolay168 Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I am trying to handle the edge case if we are trying to checkout the commit later then the one known by currently checked out repository. So we first move HEAD by fetching the latest master and then switching to the pinned commit. So we either clone or fetch master before switching to detached HEAD.

@max-kammerer
Copy link
Owner

@nickolay168 I've merged part of this request in 8a4a011

There are still some question above for remaining part

@max-kammerer
Copy link
Owner

@nickolay168, @nick863 Thank you! Merged manually with small changes

@nickolay168 nickolay168 deleted the nrovinskiy/upgrade_mupdf branch February 11, 2024 01:28
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.

3 participants