-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Intake #171
Intake #171
Conversation
… and renamed overlap to tileOverlap
Hi Victor, the Are you able to rebase against lovell:master first then squash your changes into a single commit? |
'include_dirs': [ | ||
'<!(PKG_CONFIG_PATH="<(PKG_CONFIG_PATH)" pkg-config --cflags vips glib-2.0)', | ||
'<!(node -e "require(\'nan\')")' | ||
'conditions': [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this conditionality required? pkg-config --cflags vips
already includes the openslide dependency (when present).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to test that, I think you are right.
I'd like to take John's advice and use The compile-time Would you like me to add the generic |
No I did not rebase and squash my changes into a single commit, I just created a pull request. I will do it in my next pull request. Yes please, add a hasFeature method, so I can handle the rebase conflicts. |
I am also working on an install script for openslide, (like this one), do you want this to be incorporated into the preinstall script? In that case, every time you run preinstall you install openslide and then vips. Another option would be being optional as an argument. For example, you run Or it can be a completely new script, ex. preinstall-openslide.sh |
I've started on the "hasFeature" API this morning, which for file-formats will hopefully re-use the existing I will also add openslide for loading and libgsf for saving deepzoom as dependencies to the existing Once these are done your very useful additions should fit more neatly - sorry this has been a bit messy. |
@lovell, I actually already added openslide support in the preinstall.sh script. You can see it here: They way it works is as follows: To install vips with openslide support: I have tested the script on all platforms EXCEPT Macports and Amazon cloud, since I don't have any of those around. I am currently working on adding openSuse, since this is the distro we use in our servers. One last thing: regarding your comment for the pre-compiled version of openslide, remember that the pre-compiled version of vips on all platforms has not been compiled with openslide support, so you will need to compile it anyways. Hope my comment got there in time, so you don't have to re-write the script! |
Of course, we can make openslide mandatory and get rid of the "--with-openslide" option. That is up to you to decide. |
Pre-compiled libgsf-1-dev(el) seems to be universally available and I was going to add (lib)openslide-dev(el) only where the package was readily available for a given version of Linux. I like your idea of an optional Getting openSUSE support in there too would be fantastic, thank you! |
Commit c7ccf68 should hopefully make things a little easier, albeit with a few conflicts when you rebase. The new format attribute allows things like: if (sharp.format.magick.input.buffer) {
// I can load GIF images from a Buffer
sharp(gifBuffer)...
} ... which you'll see the tests are using too - much simpler than the semver logic before. You might even be able to remove most if not all of the You'll see the Commit 1565522 makes libgsf a dependency, no big deal as it's pre-compiled for all the Linux varieties and homebrew already includes it. Finally, I need to configure Snap CI to use a modern compiler as it's still using g++ 4.4, which can't handle C++11 properly, hence the failures we're seeing there. |
Great, thank you! |
Also have you had the chance to test on Windows too? |
(Lack of) Windows support will be covered by #19 - it's proving the trickiest OS to get everything working on. |
Great, thanks! |
Superseded by #146. |
New pull request based on the changes that we discussed.
There is no intake branch anymore?