-
Notifications
You must be signed in to change notification settings - Fork 250
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
lensfun: errors related to locale_t type #2390
Comments
Is anyone able to try ^ this pull request? |
I am having this same problem... I've been trying to resolve it for hours... literally... Help would greatly be appreciated... I'm now running on Fedora 37... Oh, I see a response above... I'm going to look into that, now... |
How would one amend the m-ab-s/media-autobuild_suite script to pass this parameter over to the lensfun build? build_lensfun() { Could I just add "-CMAKE_SYSTEM_NAME=Windows" to CMAKE_STATIC_LINKER_FLAGS='-lws2_32 -pthread' ??? |
There is a script build/media-suite_deps.sh with all the URLs to the repositories. I'm just testing if it works with |
It will not work because that link will pull the main/master branch from my repository. You can try to add the following line --- a/build/media-suite_compile.sh
+++ b/build/media-suite_compile.sh
@@ -1856,6 +1856,7 @@ if [[ $ffmpeg != no ]] && enabled liblensfun &&
grep_or_sed liconv "$MINGW_PREFIX/lib/pkgconfig/glib-2.0.pc" 's;-lintl;& -liconv;g'
do_patch "https://github.com/m-ab-s/mabs-patches/raw/master/lensfun/0001-CMake-exclude-mingw-w64-from-some-msvc-exclusive-thi.patch" am
do_patch "https://github.com/m-ab-s/mabs-patches/raw/master/lensfun/0002-CMake-don-t-add-glib2-s-includes-as-SYSTEM-dirs.patch" am
+ do_patch "https://github.com/lensfun/lensfun/pull/1999.patch" am
grep_or_sed Libs.private libs/lensfun/lensfun.pc.cmake '/Libs:/ a\Libs.private: -lstdc++'
do_uninstall "bin-video/lensfun" "${_check[@]}"
CFLAGS+=" -DGLIB_STATIC_COMPILATION" CXXFLAGS+=" -DGLIB_STATIC_COMPILATION" \ |
Ah, will try that then... |
Where in the media-suite_compile.sh file do you add/change that? |
I'm relatively new to this github, compiling, and linux... If your changes to lensfun script become "commit" ... how long before the actual source code is updated with this change? |
As soon as you can read from Biswa96 that he published it, you can revert your local changes to the suite scripts. |
And, do you have to actually delete the entire media-suite_compile folder, redownload it, and run it from scratch to test it? Alternatively, can you just erase the sandbox folder, or is it enough to just erase the lensfun folder in the sandbox. Thus far, with these proposed changes, I've just been deleting the lensfun folder, and re-running the script. |
Thank you all for helping... I have seriously been trying to resolve this for most of the night, on my own... lol... Was getting close to just giving up... |
No need to delete anything. Just use the original scripts again. |
Does his proposed fix correct the problem, for you? Did you just change the media-suite_compile.sh with his proposal above? If so, where in the script do you add that, and do you replace something else with it? |
Okie dokie... I'll go ahead and call it a day... (I work an overnight job, so my bedtime is coming up.) Hopefully, by the time I wake up, this evening, it'll all be resolved... 8) Thank you all for helping me out... 8) |
Modifying the database.cpp and lens.cpp files, with the suggested changes, resolved the issue for me... Thank you!!! |
@1480c1 - would you add the patch until the pull request gets committed in the lensfun project? |
|
This has been fixed in upstream lensfun/lensfun@6cb00f4 |
Reported to lensfun/lensfun#1998
logs.zip
The text was updated successfully, but these errors were encountered: