-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Update to work with vte 2.91 as well as 2.90 #371
Conversation
Thanks for the patch, would you mind preparing and testing the patch also with "next" ? Meanwhile I'm going to test and merge it in master. Thanks in advance! |
@iainlane @giox069 -DVTE_INCLUDE_DIR=/usr/include/vte-2.90 -DVTE_LIBRARY=/usr/lib64/vte-2.90 I'm not yet sure that is an issue with the patch or with Fedora. -- package 'vte-2.91' not found I'll take a look better later, or the next days, meanwhile if you have any comments... |
The patch looks interesting for the "next" branch also. But I have the same problem as @antenore when compiling Remmina master branch on Debian 8 (both vte 2.90 and 2.91 are installed, but the -dev package installed is 2.90, so headers/libraries are for 2.90)
|
Yes it's because of _VTE_VERSION_NUM. It sounds like you would like this to be dynamically detected, so let me do that. |
Okay, how about that? I had to hand-roll it a little bit (not too much) because find_optional_package bails if the package can't be found... |
FWIW it now works out of the box for me with either libvte-2.90-dev or libvte-2.91-dev on Debian |
Tested on Debian 8: compiles correctly and links with vte 2.90. Seems also to be running fine. |
Tomorrow I'll test this also on fedora and then I'll merge it if you all are agree.. |
merged with master as well as promised. |
Cheers! |
I #ifdefed the code to work with 2.90 too - perhaps it's a good idea to make the version build-time detected.