-
Notifications
You must be signed in to change notification settings - Fork 282
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
cmake+conan with -DEXIV2_ENABLE_LIBSSH=On is broken on msvc #603
Comments
There is not official conan recipe for libssh, neither an official FindSSH.cmake provided by CMake. There is however a conan package for libssh2: https://bintray.com/bincrafters/public-conan/libssh2%3Abincrafters I actually never tried to use compile libSSH on Mac or Windows. Let's see if this is something in which exiv2 windows users are interested. |
Uh, I thought we were using libssh2 and not libssh?
(We could drop libssh support anyway as curl provides that too.)
Luis Díaz Más <[email protected]> writes:
… There is not official conan recipe for libssh, neither an official FindSSH.cmake provided by CMake. There is however a conan package for libssh2:
https://bintray.com/bincrafters/public-conan/libssh2%3Abincrafters
I actually never tried to use compile libSSH on Mac or Windows. Let's see if this is something in which exiv2 windows users are interested.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#603 (comment)
|
Ha! I did not know that. If we can do the same with libcurl I would vote for dropping one of the dependencies. The less dependencies the better. |
We could just drop this. I tried to use it on the Mac earlier this week and it didn't seem to be working. There were test scripts for this that operation on a (free) AWS node in Singapore. It hasn't been tested for several years and nobody has ever mentioned it in issues or on the forum. If we remove it, it's unlikely to be missed. I think we should remove the Video and EPS code as well. However support for http is useful and valuable. That's implemented in two ways. When curl is available, it's used and support http and https. There's a "no thrills" implementation of the http protocol in http.cpp, so all every build of exiv2 supports http. I don't know that ftp and ftps is useful. |
I am always happy to drop things we do not need, specially if they add an external dependency. If you agree, we can keep that code in 0.27 (since it has been already released) and drop it from master. |
I think we should remove several relics from v0.28 (EPS, Video, ftp, ssh). The product "road-map" is to maintain v0.27 for a couple of years with security fixes. When we arrive at 0.28.0.1 (RC1), we'll publish a list of deprecated features and users will speak up. The relics (deprecated features) will be in every "dot" edition of Exiv2 0.27. I can list the "deprecated" features in "the dots" to give users plenty of warning. |
I was going to try to use libssh2 after @D4N 's comment, but I think we are using libssh. We have these inclusions:
Which are different to the headers provided with libssh2: @clanmills If I understood correctly, CMake can find libssh on Mac if the system package is installed right? I think there is not an issue here ... we do not have a libssh recipe in conan because it does not exist. If somebody wants to use the SSH features, they will need to use a system package or compile the library by their owns. If you agree with this observation, please close the issue. And please, when you guys have some time, I would like to reminds you that #617 has been open for review for few weeks. |
cmake/FindSSH.cmake reports being unable to find libssh. There doesn't seem to be any code in conanfile.py to find libssh. It's working OK on MacOS-X because I build using "pure" CMake (no conan) and libssh is install in /usr/local/
The work-around is to not request this feature in v0.27 We can fix this in 0.27.1
The text was updated successfully, but these errors were encountered: